[roll] Update third-party dart packages
Roller-URL: https://ci.chromium.org/b/8814213378182797873
Roller-Owners: chaselatta@google.com, godofredoc@google.com
Cq-Cl-Tag: roller-builder:flutter-with-deps-roller
Cq-Cl-Tag: roller-bid:8814213378182797873
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I36b404bb6dcca338fa8b19a6795abb97ecd6be5d
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/dart-pkg/+/679492
Commit-Queue: GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com>
diff --git a/mobx/BUILD.gn b/mobx/BUILD.gn
index 2b86baa..0fe58d0 100644
--- a/mobx/BUILD.gn
+++ b/mobx/BUILD.gn
@@ -1,11 +1,11 @@
-# This file is generated by package_importer.py for mobx-2.0.7
+# This file is generated by package_importer.py for mobx-2.0.7+2
import("//build/dart/dart_library.gni")
dart_library("mobx") {
package_name = "mobx"
- language_version = "2.13"
+ language_version = "2.17"
disable_analysis = true
diff --git a/mobx/CHANGELOG.md b/mobx/CHANGELOG.md
index 7429300..8db0162 100644
--- a/mobx/CHANGELOG.md
+++ b/mobx/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 2.0.7+1 - 2.0.7+2
+
+- Package upgrades
+
## 2.0.7
- Type aliases for primitive types.\
@@ -14,6 +18,7 @@
lights.toggle(); // now it has a value of false
```
Changes made by [@subzero911](https://github.com/subzero911)
+- Allow use custom context(#770) - @amondnet
## 2.0.6 - 2.0.6+1
diff --git a/mobx/analysis_options.yaml b/mobx/analysis_options.yaml
index 0948c22..7932dfe 100644
--- a/mobx/analysis_options.yaml
+++ b/mobx/analysis_options.yaml
@@ -3,5 +3,6 @@
analyzer:
exclude:
- test/*.mocks.dart
+ - example/lib/*.dart
strong-mode:
implicit-casts: false
diff --git a/mobx/lib/mobx.dart b/mobx/lib/mobx.dart
index d6b62af..9bc86ac 100644
--- a/mobx/lib/mobx.dart
+++ b/mobx/lib/mobx.dart
@@ -65,4 +65,4 @@
export 'package:mobx/src/core/atom_extensions.dart';
/// The current version as per `pubspec.yaml`
-const version = '2.0.7';
+const version = '2.0.7+2';
diff --git a/mobx/lib/src/api/async/observable_future.dart b/mobx/lib/src/api/async/observable_future.dart
index 1f5e31c..8b80143 100644
--- a/mobx/lib/src/api/async/observable_future.dart
+++ b/mobx/lib/src/api/async/observable_future.dart
@@ -3,13 +3,13 @@
enum FutureStatus { pending, rejected, fulfilled }
class FutureResult<T> {
- FutureResult(ReactiveContext context, Future<T> _future,
- dynamic initialResult, FutureStatus initialStatus, String name)
+ FutureResult(ReactiveContext context, Future<T> future, dynamic initialResult,
+ FutureStatus initialStatus, String name)
: _axnController =
ActionController(context: context, name: '$name.ActionController'),
_status = Observable(initialStatus, name: '$name.status'),
_result = Observable<dynamic>(initialResult, name: '$name.result') {
- _future.then(_fulfill, onError: _reject);
+ future.then(_fulfill, onError: _reject);
}
final ActionController _axnController;
diff --git a/mobx/lib/src/api/observable_collections/observable_set.dart b/mobx/lib/src/api/observable_collections/observable_set.dart
index 520bf49..2ae8b09 100644
--- a/mobx/lib/src/api/observable_collections/observable_set.dart
+++ b/mobx/lib/src/api/observable_collections/observable_set.dart
@@ -193,8 +193,8 @@
/// A convenience method used during unit testing. It creates an [ObservableSet] with a custom instance
/// of an [Atom]
@visibleForTesting
-ObservableSet<T> wrapInObservableSet<T>(Atom atom, Set<T> _set) =>
- ObservableSet._wrap(mainContext, atom, _set);
+ObservableSet<T> wrapInObservableSet<T>(Atom atom, Set<T> set) =>
+ ObservableSet._wrap(mainContext, atom, set);
/// An internal iterator used to ensure that every read is tracked as part of the
/// MobX reactivity system.
diff --git a/mobx/pubspec.yaml b/mobx/pubspec.yaml
index 2260f66..54bcc0e 100644
--- a/mobx/pubspec.yaml
+++ b/mobx/pubspec.yaml
@@ -1,11 +1,11 @@
name: mobx
-version: 2.0.7
+version: 2.0.7+2
description: "MobX is a library for reactively managing the state of your applications. Use the power of observables, actions, and reactions to supercharge your Dart and Flutter apps."
homepage: https://github.com/mobxjs/mobx.dart
environment:
- sdk: '>=2.13.0 <3.0.0'
+ sdk: '>=2.17.0 <3.0.0'
dependencies:
meta: ^1.3.0
@@ -15,6 +15,6 @@
collection: ^1.15.0
coverage: ^1.0.1
fake_async: ^1.2.0
- lints: ^1.0.1
- mocktail: ^0.2.0
+ lints: ^2.0.0
+ mocktail: ^0.3.0
test: ^1.17.0
diff --git a/package_config.json b/package_config.json
index 28e6e49..033e537 100644
--- a/package_config.json
+++ b/package_config.json
@@ -363,7 +363,7 @@
"rootUri": "./mime/"
},
{
- "languageVersion": "2.13",
+ "languageVersion": "2.17",
"name": "mobx",
"packageUri": "lib/",
"rootUri": "./mobx/"