Visitar URL original
[xdg_directories] Update to stable NNBD release (#291) · creatorpiyush/packages@affef0a · GitHub
Skip to content

Commit affef0a

Browse files
[xdg_directories] Update to stable NNBD release (flutter#291)
Updates all dependencies to stable versions, and updates its own version to stable. Replaces `mockito`'s Fake with the new `test` Fake to reduce dependencies (and since `mockito` doesn't yet have a stable NNBD release).
1 parent 1707eae commit affef0a

3 files changed

Lines changed: 10 additions & 16 deletions

File tree

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
## [0.2.0-nullsafety.1] - Fix getUserDirectory
2-
3-
* Fixes a regression due to the stdoutEncoding change
4-
in the null-safety migration.
5-
6-
## [0.2.0-nullsafety.0] - Migrated to null safety
1+
## 0.2.0
72

83
* Migrated to null safety.
94

10-
## [0.1.2] - Reduce dependencies on external libraries.
5+
## 0.1.2
116

127
* Broaden dependencies to allow nullsafety version of process, meta, and path to be OK.
138

14-
## [0.1.1] - Reduce dependencies on external libraries.
9+
## 0.1.1
1510

1611
* Remove flutter, flutter_test from pubspec dependencies.
1712

18-
## [0.1.0] - Initial Release
13+
## 0.1.0
1914

2015
* Initial release includes all the features described in the README.md
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
name: xdg_directories
22
description: A Dart package for reading XDG directory configuration information on Linux.
3-
version: 0.2.0-nullsafety.1
3+
version: 0.2.0
44
homepage: https://github.com/flutter/packages/tree/master/packages/xdg_directories
55

66
environment:
77
sdk: ">=2.12.0-0 <3.0.0"
88

99
dependencies:
10-
meta: ^1.3.0-nullsafety.6
11-
path: ^1.8.0-nullsafety.3
12-
process: ^4.0.0-nullsafety.4
10+
meta: ^1.3.0
11+
path: ^1.8.0
12+
process: ^4.0.0
1313

1414
dev_dependencies:
15-
mockito: ^5.0.0-nullsafety.1
16-
test: ^1.16.0-nullsafety.13
15+
test: ^1.16.0

‎packages/xdg_directories/test/xdg_directories_test.dart‎

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

8+
import 'package:test/fake.dart';
89
import 'package:test/test.dart';
910
import 'package:path/path.dart' as path;
10-
import 'package:mockito/mockito.dart' show Fake;
1111
import 'package:process/process.dart';
1212

1313
import 'package:xdg_directories/xdg_directories.dart' as xdg;

0 commit comments

Comments
 (0)