Skip to content

Commit a9e43f0

Browse files
authored
Require Dart 3, update lints (dart-archive/source_maps#79)
1 parent cee7105 commit a9e43f0

File tree

10 files changed

+10
-18
lines changed

10 files changed

+10
-18
lines changed

pkgs/source_maps/.github/workflows/test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
matrix:
4848
# Add macos-latest and/or windows-latest if relevant for this package.
4949
os: [ubuntu-latest]
50-
sdk: [2.18.0, dev]
50+
sdk: [3.0.0, dev]
5151
steps:
5252
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
5353
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f

pkgs/source_maps/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.13-wip
2+
3+
- Require Dart 3.0
4+
15
## 0.10.12
26

37
* Add additional types at API boundaries.

pkgs/source_maps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In this package we provide:
1616
original source map specification. These data types are great for tracking
1717
source locations on source maps, but they can also be used by tools to
1818
reporting useful error messages that include on source locations.
19-
* A builder that creates a source map programatically and produces the encoded
19+
* A builder that creates a source map programmatically and produces the encoded
2020
source map format.
2121
* A parser that reads the source map format and provides APIs to read the
2222
mapping information.

pkgs/source_maps/lib/src/source_map_span.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library source_maps.source_map_span;
6-
75
import 'package:source_span/source_span.dart';
86

97
/// A [SourceSpan] for spans coming from or being written to source maps.

pkgs/source_maps/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: source_maps
2-
version: 0.10.12
2+
version: 0.10.13-wip
33
description: A library to programmatically manipulate source map files.
44
repository: https://github.com/dart-lang/source_maps
55

66
environment:
7-
sdk: '>=2.18.0 <3.0.0'
7+
sdk: ^3.0.0
88

99
dependencies:
1010
source_span: ^1.8.0
1111

1212
dev_dependencies:
13-
dart_flutter_team_lints: ^0.1.0
13+
dart_flutter_team_lints: ^1.0.0
1414
term_glyph: ^1.2.0
1515
test: ^1.16.0

pkgs/source_maps/test/builder_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library test.source_maps_test;
6-
75
import 'dart:convert';
86

97
import 'package:source_maps/source_maps.dart';

pkgs/source_maps/test/end2end_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library test.end2end_test;
6-
75
import 'package:source_maps/source_maps.dart';
86
import 'package:source_span/source_span.dart';
97
import 'package:test/test.dart';

pkgs/source_maps/test/printer_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library test.printer_test;
6-
75
import 'dart:convert';
86

97
import 'package:source_maps/source_maps.dart';

pkgs/source_maps/test/refactor_test.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library polymer.test.refactor_test;
6-
7-
import 'package:source_maps/parser.dart' show parse, Mapping;
5+
import 'package:source_maps/parser.dart' show Mapping, parse;
86
import 'package:source_maps/refactor.dart';
97
import 'package:source_span/source_span.dart';
108
import 'package:term_glyph/term_glyph.dart' as term_glyph;

pkgs/source_maps/test/vlq_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
library test.vlq_test;
6-
75
import 'dart:math';
86

97
import 'package:source_maps/src/vlq.dart';

0 commit comments

Comments
 (0)