Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.2.0

* Declare compatibility with Dart 2 stable
* Update dependency on `package:test` to 1.0

### 2.1.2

* Relax sdk upper bound constraint to '<2.0.0' to allow 'edge' dart sdk use.
Expand Down
4 changes: 2 additions & 2 deletions lib/src/testing/fake_platform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class FakePlatform extends Platform {
pathSeparator: map['pathSeparator'],
operatingSystem: map['operatingSystem'],
localHostname: map['localHostname'],
environment: map['environment'],
environment: map['environment'].cast<String, String>(),
executable: map['executable'],
resolvedExecutable: map['resolvedExecutable'],
script: Uri.parse(map['script']),
executableArguments: map['executableArguments'],
executableArguments: map['executableArguments'].cast<String>(),
packageRoot: map['packageRoot'],
packageConfig: map['packageConfig'],
version: map['version'],
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: platform
version: 2.1.2
version: 2.2.0
authors:
- Todd Volkert <tvolkert@google.com>
description: A pluggable, mockable platform abstraction for Dart.
homepage: https://github.com/google/platform.dart

dev_dependencies:
test: ^0.12.10
test: ^1.0.0

environment:
sdk: '>=1.24.0-dev.0.0 <2.0.0'
sdk: '>=1.24.0-dev.0.0 <3.0.0'