Skip to content

Commit

Permalink
[os_detect] move to pkg:web, prepare publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jan 13, 2025
1 parent 2ac228b commit 60edb11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkgs/os_detect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2.0.3-wip
## 2.0.3

- Move to `package:web`.
- Require Dart 3.5

## 2.0.2
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os_detect/lib/src/osid_html.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 'dart:html';
import 'package:web/web.dart';

import 'os_kind.dart' show BrowserOS;
import 'os_override.dart';
Expand Down
3 changes: 2 additions & 1 deletion pkgs/os_detect/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: os_detect
version: 2.0.3-wip
version: 2.0.3
description: Platform independent OS detection.
repository: https://github.com/dart-lang/core/tree/main/pkgs/os_detect
issue_tracker: https://github.com/dart-lang/core/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aos_detect
Expand All @@ -9,6 +9,7 @@ environment:

dependencies:
meta: ^1.9.0
web: ^1.0.0

dev_dependencies:
dart_flutter_team_lints: ^3.0.0
Expand Down

0 comments on commit 60edb11

Please sign in to comment.