Skip to content

Commit ae5c129

Browse files
eredokevmoo
authored andcommitted
chore: set max SDK version to <3.0.0 upgrade test and remove browser … (flutter#7)
* adjust test package version constrain to support dart 1.23 * Remove 1.23.0 SDK from travis
1 parent 43494cb commit ae5c129

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: dart
33
dart:
44
- dev
55
- stable
6-
- 1.23.0
76

87
dart_task:
98
- test

example/index.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ void main() {
55
var span = querySelector('#count') as SpanElement;
66

77
HttpRequest.getString('/api').then((value) {
8-
return JSON.decode(value);
8+
return json.decode(value);
99
}).then((obj) {
1010
var count = obj['count'];
1111
span.text = count.toString();

pubspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ author: Dart Team <misc@dartlang.org>
44
description: A shelf handler for proxying requests to another server.
55
homepage: https://github.com/dart-lang/shelf_proxy
66
environment:
7-
sdk: '>=1.23.0 <2.0.0'
7+
sdk: '>=2.0.0-dev <3.0.0'
88
dependencies:
99
http: '>=0.9.0 <0.12.0'
1010
path: '>=1.0.0 <2.0.0'
1111
shelf: '>=0.5.2 <0.8.0'
1212
dev_dependencies:
13-
browser: '>=0.10.0 <0.11.0'
14-
test: '>=0.12.0 <0.13.0'
13+
test: ^1.3.0

0 commit comments

Comments
 (0)