fix: Use package:web to get HttpStatus (#749)

* Use package:web to get HttpStatus

* docs: add CHANGELOG.md entry

---------

Co-authored-by: Moritz <mosum@google.com>
This commit is contained in:
Aran Donohue 2025-02-21 01:29:12 -08:00 committed by GitHub
parent 840661415d
commit 5ba28e3a1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,7 @@
* Upgrade to `package:lints` version 5.0.0 and Dart SDK version 3.5.0.
* Upgrade `example/grpc-web` code.
* Update xhr transport to migrate off legacy JS/HTML apis.
* Use `package:web` to get `HttpStatus`
## 4.0.1

View File

@ -13,4 +13,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
export 'io_bits_io.dart' if (dart.library.html) 'io_bits_web.dart';
export 'io_bits_io.dart' if (dart.library.js_interop) 'io_bits_web.dart';

View File

@ -13,8 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// ignore: deprecated_member_use (#756)
export 'dart:html' show HttpStatus;
export 'package:web/web.dart' show HttpStatus;
/// Unavailable on the web
class InternetAddress {}