Skip to content

Commit

Permalink
chore: set max SDK version to <3.0.0 (flutter#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and kevmoo committed Jul 18, 2018
1 parent 7edabc9 commit 9166ca0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.3

* Set max SDK version to `<3.0.0`, and adjust other dependencies.

## 1.0.2

* `SpanScanner` no longer crashes when creating a span that contains a UTF-16
Expand Down
2 changes: 0 additions & 2 deletions analysis_options.yaml

This file was deleted.

22 changes: 13 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: string_scanner
version: 1.0.2
author: "Dart Team <misc@dartlang.org>"
version: 1.0.3

description: A class for parsing strings using a sequence of patterns.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/string_scanner
description: >
A class for parsing strings using a sequence of patterns.

environment:
sdk: '>=1.8.0 <3.0.0'

dependencies:
charcode: "^1.1.0"
source_span: "^1.4.0"
charcode: ^1.1.0
source_span: ^1.4.0

dev_dependencies:
test: ">=0.12.0 <0.13.0"
environment:
sdk: ">=1.8.0 <2.0.0"
test: '>=0.12.0 <2.0.0'

1 change: 1 addition & 0 deletions test/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'package:test/test.dart';
/// with the given [message].
Matcher throwsStringScannerException(String text) {
return throwsA(predicate((error) {
// ignore: deprecated_member_use
expect(error, new isInstanceOf<StringScannerException>());
expect(error.span.text, equals(text));
return true;
Expand Down

0 comments on commit 9166ca0

Please sign in to comment.