Skip to content

Commit 757438e

Browse files
authored
Bump pkg:web dependency (#1272)
Use `show` on pkg:web so it's easier to see if usage changes Tighten constraints on dev dependencies
1 parent a6d9f72 commit 757438e

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

pkgs/http/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## 1.2.2-wip
1+
## 1.2.2
2+
3+
* Require package `web: '>=0.5.0 <2.0.0'`.
24

35
## 1.2.1
46

pkgs/http/lib/src/browser_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'dart:async';
66
import 'dart:js_interop';
77

8-
import 'package:web/web.dart';
8+
import 'package:web/web.dart' show XHRGetters, XMLHttpRequest;
99

1010
import 'base_client.dart';
1111
import 'base_request.dart';

pkgs/http/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: http
2-
version: 1.2.2-wip
2+
version: 1.2.2
33
description: A composable, multi-platform, Future-based API for HTTP requests.
44
repository: https://github.com/dart-lang/http/tree/master/pkgs/http
55

@@ -15,13 +15,13 @@ dependencies:
1515
async: ^2.5.0
1616
http_parser: ^4.0.0
1717
meta: ^1.3.0
18-
web: ^0.5.0
18+
web: '>=0.5.0 <2.0.0'
1919

2020
dev_dependencies:
2121
dart_flutter_team_lints: ^3.0.0
2222
fake_async: ^1.2.0
2323
http_client_conformance_tests:
2424
path: ../http_client_conformance_tests/
2525
shelf: ^1.1.0
26-
stream_channel: ^2.1.0
27-
test: ^1.16.0
26+
stream_channel: ^2.1.1
27+
test: ^1.21.2

pkgs/http/test/html/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +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-
import 'package:web/web.dart';
5+
import 'package:web/web.dart' show window;
66

77
export '../utils.dart';
88

0 commit comments

Comments
 (0)