Unverified Commit d693d427 authored by Vyacheslav Egorov's avatar Vyacheslav Egorov Committed by GitHub

Upgrade packages to pull in newest petitparser with Dart 2 fixes. (#15558)

* Upgrade packages to pull in newest petitparser with Dart 2 fixes.

* Don't allow Dart 2 failures.

* Address new lints discovered by updated analyzer.
parent 8c75dcf1
......@@ -15,8 +15,6 @@ matrix:
env: SHARD=analyze
- os: osx
env: SHARD=docs
allow_failures:
- env: SHARD=tests_dart2
sudo: false
filter_secrets: false
......
......@@ -39,7 +39,7 @@ dependencies:
package_config: 1.0.3 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
plugin: 0.2.0+2 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
......
......@@ -25,7 +25,7 @@ dev_dependencies:
async: 2.0.6 # TRANSITIVE DEPENDENCY
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
boolean_selector: 1.0.3 # TRANSITIVE DEPENDENCY
browser: 0.10.0+2 # TRANSITIVE DEPENDENCY
browser: 0.10.0+3 # TRANSITIVE DEPENDENCY
charcode: 1.1.1 # TRANSITIVE DEPENDENCY
cli_util: 0.1.2+1 # TRANSITIVE DEPENDENCY
collection: 1.14.6 # TRANSITIVE DEPENDENCY
......@@ -49,7 +49,7 @@ dev_dependencies:
node_preamble: 1.4.0 # TRANSITIVE DEPENDENCY
package_config: 1.0.3 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
plugin: 0.2.0+2 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
......
......@@ -18,7 +18,7 @@ dev_dependencies:
async: 2.0.6 # TRANSITIVE DEPENDENCY
barback: 0.15.2+14 # TRANSITIVE DEPENDENCY
boolean_selector: 1.0.3 # TRANSITIVE DEPENDENCY
browser: 0.10.0+2 # TRANSITIVE DEPENDENCY
browser: 0.10.0+3 # TRANSITIVE DEPENDENCY
charcode: 1.1.1 # TRANSITIVE DEPENDENCY
cli_util: 0.1.2+1 # TRANSITIVE DEPENDENCY
collection: 1.14.6 # TRANSITIVE DEPENDENCY
......@@ -46,7 +46,7 @@ dev_dependencies:
package_config: 1.0.3 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
plugin: 0.2.0+2 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
......
......@@ -41,7 +41,7 @@ dev_dependencies:
package_config: 1.0.3 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
plugin: 0.2.0+2 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
......
......@@ -3,13 +3,13 @@ dependencies:
flutter:
sdk: flutter
collection: 1.14.6
device_info: 0.1.2
device_info: 0.2.0
intl: 0.15.2
connectivity: 0.2.1
connectivity: 0.3.0
string_scanner: 1.0.2
url_launcher: 2.0.2
url_launcher: 3.0.0
cupertino_icons: 0.1.1
video_player: 0.2.1
video_player: 0.3.0
# Also update dev/benchmarks/complex_layout/pubspec.yaml
flutter_gallery_assets:
......
......@@ -44,7 +44,7 @@ dev_dependencies:
package_config: 1.0.3 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
plugin: 0.2.0+2 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
......
......@@ -25,8 +25,8 @@ void main() {
});
test('Alignment.lerp()', () {
final Alignment a = Alignment.topLeft;
final Alignment b = Alignment.topCenter;
const Alignment a = Alignment.topLeft;
const Alignment b = Alignment.topCenter;
expect(Alignment.lerp(a, b, 0.25), equals(const Alignment(-0.75, -1.0)));
expect(Alignment.lerp(null, null, 0.25), isNull);
......@@ -35,11 +35,11 @@ void main() {
});
test('AlignmentGeometry invariants', () {
final AlignmentDirectional topStart = AlignmentDirectional.topStart;
final AlignmentDirectional topEnd = AlignmentDirectional.topEnd;
const AlignmentDirectional topStart = AlignmentDirectional.topStart;
const AlignmentDirectional topEnd = AlignmentDirectional.topEnd;
const Alignment center = Alignment.center;
final Alignment topLeft = Alignment.topLeft;
final Alignment topRight = Alignment.topRight;
const Alignment topLeft = Alignment.topLeft;
const Alignment topRight = Alignment.topRight;
final List<double> numbers = <double>[0.0, 1.0, -1.0, 2.0, 0.25, 0.5, 100.0, -999.75];
expect((topEnd * 0.0).add(topRight * 0.0), center);
......
......@@ -24,8 +24,8 @@ void main() {
});
test('FractionalOffset.lerp()', () {
final FractionalOffset a = FractionalOffset.topLeft;
final FractionalOffset b = FractionalOffset.topCenter;
const FractionalOffset a = FractionalOffset.topLeft;
const FractionalOffset b = FractionalOffset.topCenter;
expect(FractionalOffset.lerp(a, b, 0.25), equals(const FractionalOffset(0.125, 0.0)));
expect(FractionalOffset.lerp(null, null, 0.25), isNull);
......
......@@ -44,7 +44,7 @@ void main() {
expect(r2, const Size(40.0, 100.0));
});
test('RelativeRect.lerp', () {
final RelativeRect r1 = RelativeRect.fill;
const RelativeRect r1 = RelativeRect.fill;
const RelativeRect r2 = const RelativeRect.fromLTRB(10.0, 20.0, 30.0, 40.0);
final RelativeRect r3 = RelativeRect.lerp(r1, r2, 0.5);
expect(r3, const RelativeRect.fromLTRB(5.0, 10.0, 15.0, 20.0));
......
......@@ -18,7 +18,7 @@ dependencies:
intl: 0.15.2
json_rpc_2: 2.0.7
json_schema: 1.0.8
linter: 0.1.43
linter: 0.1.44
meta: 1.1.2
mustache: 1.0.0
package_config: 1.0.3
......@@ -67,7 +67,7 @@ dev_dependencies:
node_preamble: 1.4.0 # TRANSITIVE DEPENDENCY
package_resolver: 1.0.2 # TRANSITIVE DEPENDENCY
path: 1.5.1 # TRANSITIVE DEPENDENCY
petitparser: 1.7.5 # TRANSITIVE DEPENDENCY
petitparser: 1.7.6 # TRANSITIVE DEPENDENCY
pool: 1.3.4 # TRANSITIVE DEPENDENCY
pub_semver: 1.3.2 # TRANSITIVE DEPENDENCY
shelf: 0.7.2 # TRANSITIVE DEPENDENCY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment