Skip to content

Commit

Permalink
Bump pkg:web dependency (#1272)
Browse files Browse the repository at this point in the history
Use `show` on pkg:web so it's easier to see if usage changes
Tighten constraints on dev dependencies
  • Loading branch information
kevmoo authored Jul 16, 2024
1 parent a6d9f72 commit 757438e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion pkgs/http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 1.2.2-wip
## 1.2.2

* Require package `web: '>=0.5.0 <2.0.0'`.

## 1.2.1

Expand Down
2 changes: 1 addition & 1 deletion pkgs/http/lib/src/browser_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import 'dart:async';
import 'dart:js_interop';

import 'package:web/web.dart';
import 'package:web/web.dart' show XHRGetters, XMLHttpRequest;

import 'base_client.dart';
import 'base_request.dart';
Expand Down
8 changes: 4 additions & 4 deletions pkgs/http/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: http
version: 1.2.2-wip
version: 1.2.2
description: A composable, multi-platform, Future-based API for HTTP requests.
repository: https://github.com/dart-lang/http/tree/master/pkgs/http

Expand All @@ -15,13 +15,13 @@ dependencies:
async: ^2.5.0
http_parser: ^4.0.0
meta: ^1.3.0
web: ^0.5.0
web: '>=0.5.0 <2.0.0'

dev_dependencies:
dart_flutter_team_lints: ^3.0.0
fake_async: ^1.2.0
http_client_conformance_tests:
path: ../http_client_conformance_tests/
shelf: ^1.1.0
stream_channel: ^2.1.0
test: ^1.16.0
stream_channel: ^2.1.1
test: ^1.21.2
2 changes: 1 addition & 1 deletion pkgs/http/test/html/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:web/web.dart';
import 'package:web/web.dart' show window;

export '../utils.dart';

Expand Down

0 comments on commit 757438e

Please sign in to comment.