Skip to content

Commit 9166ca0

Browse files
chalinkevmoo
authored andcommitted
chore: set max SDK version to <3.0.0 (dart-archive#10)
1 parent 7edabc9 commit 9166ca0

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.3
2+
3+
* Set max SDK version to `<3.0.0`, and adjust other dependencies.
4+
15
## 1.0.2
26

37
* `SpanScanner` no longer crashes when creating a span that contains a UTF-16

analysis_options.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

pubspec.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: string_scanner
2-
version: 1.0.2
3-
author: "Dart Team <[email protected]>"
2+
version: 1.0.3
3+
4+
description: A class for parsing strings using a sequence of patterns.
5+
author: Dart Team <[email protected]>
46
homepage: https://github.com/dart-lang/string_scanner
5-
description: >
6-
A class for parsing strings using a sequence of patterns.
7+
8+
environment:
9+
sdk: '>=1.8.0 <3.0.0'
10+
711
dependencies:
8-
charcode: "^1.1.0"
9-
source_span: "^1.4.0"
12+
charcode: ^1.1.0
13+
source_span: ^1.4.0
14+
1015
dev_dependencies:
11-
test: ">=0.12.0 <0.13.0"
12-
environment:
13-
sdk: ">=1.8.0 <2.0.0"
16+
test: '>=0.12.0 <2.0.0'
17+

test/utils.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import 'package:test/test.dart';
99
/// with the given [message].
1010
Matcher throwsStringScannerException(String text) {
1111
return throwsA(predicate((error) {
12+
// ignore: deprecated_member_use
1213
expect(error, new isInstanceOf<StringScannerException>());
1314
expect(error.span.text, equals(text));
1415
return true;

0 commit comments

Comments
 (0)