From 619a23efcc8f5a9b7cdf8ca7651c093f47927284 Mon Sep 17 00:00:00 2001 From: Gary Roumanis Date: Wed, 19 Aug 2020 09:47:02 -0700 Subject: [PATCH 1/2] Prepare to publish --- .travis.yml | 20 +- dwds/CHANGELOG.md | 2 +- dwds/lib/src/injected/client.js | 443 ++++++++++++++++++-------------- dwds/lib/src/version.dart | 2 +- dwds/mono_pkg.yaml | 6 +- dwds/pubspec.yaml | 4 +- 6 files changed, 273 insertions(+), 204 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c9617004..bff560ade 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,10 @@ services: jobs: include: - stage: analyzer_and_format - name: "SDK: 2.9.0-19.0.dev; PKGS: dwds, example, frontend_server_common, webdev; TASKS: `dartanalyzer --fatal-warnings .`" - dart: "2.9.0-19.0.dev" + name: "SDK: 2.9.1; PKG: dwds; TASKS: `dartanalyzer --fatal-warnings .`" + dart: "2.9.1" os: linux - env: PKGS="dwds example frontend_server_common webdev" + env: PKGS="dwds" script: ./tool/travis.sh dartanalyzer_1 - stage: analyzer_and_format name: "SDK: dev; PKG: dwds; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`, `pub run test test/build/ensure_version_test.dart`]" @@ -27,6 +27,12 @@ jobs: os: linux env: PKGS="dwds" script: ./tool/travis.sh dartfmt dartanalyzer_0 test_0 + - stage: analyzer_and_format + name: "SDK: 2.9.0-19.0.dev; PKGS: example, frontend_server_common, webdev; TASKS: `dartanalyzer --fatal-warnings .`" + dart: "2.9.0-19.0.dev" + os: linux + env: PKGS="example frontend_server_common webdev" + script: ./tool/travis.sh dartanalyzer_1 - stage: analyzer_and_format name: "SDK: dev; PKGS: example, frontend_server_common; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]" dart: dev @@ -46,14 +52,14 @@ jobs: env: PKGS="webdev" script: ./tool/travis.sh dartfmt dartanalyzer_0 test_3 - stage: unit_test - name: "SDK: 2.9.0-19.0.dev; PKG: dwds; TASKS: `pub run test -x frontend-server`" - dart: "2.9.0-19.0.dev" + name: "SDK: 2.9.1; PKG: dwds; TASKS: `pub run test -x frontend-server`" + dart: "2.9.1" os: linux env: PKGS="dwds" script: ./tool/travis.sh test_1 - stage: unit_test - name: "SDK: 2.9.0-19.0.dev; PKG: dwds; TASKS: `pub run test -x frontend-server`" - dart: "2.9.0-19.0.dev" + name: "SDK: 2.9.1; PKG: dwds; TASKS: `pub run test -x frontend-server`" + dart: "2.9.1" os: windows env: PKGS="dwds" script: ./tool/travis.sh test_1 diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index e1d5524ad..c85939924 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,4 +1,4 @@ -## 6.0.0-dev +## 6.0.0 - Depend on the latest `package:devtools` and `package:devtools_server`. - Support using WebSockets for the debug backend by passing diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js index afedb61f4..c6cf2e9ee 100644 --- a/dwds/lib/src/injected/client.js +++ b/dwds/lib/src/injected/client.js @@ -1,4 +1,4 @@ -// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler version: 2.9.0-21.0.dev. +// Generated by dart2js (fast startup emitter, strong), the Dart to JavaScript compiler version: 2.10.0-1.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -1053,9 +1053,6 @@ } }(expression); }, - NullError$: function(_message, match) { - return new H.NullError(_message, match == null ? null : match.method); - }, JsNoSuchMethodError$: function(_message, match) { var t1 = match == null, t2 = t1 ? null : match.method; @@ -1079,7 +1076,7 @@ return error; }, _unwrapNonDartException: function(ex) { - var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, t1, _null = null; + var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; if (!("message" in ex)) return ex; message = ex.message; @@ -1092,7 +1089,8 @@ return H.saveStackTrace(ex, H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", _null)); case 445: case 5007: - return H.saveStackTrace(ex, H.NullError$(H.S(message) + " (Error " + ieErrorCode + ")", _null)); + t1 = H.S(message) + " (Error " + ieErrorCode + ")"; + return H.saveStackTrace(ex, new H.NullError(t1, _null)); } } if (ex instanceof TypeError) { @@ -1145,8 +1143,10 @@ t1 = true; } else t1 = true; - if (t1) - return H.saveStackTrace(ex, H.NullError$(H._asStringS(message), match)); + if (t1) { + H._asStringS(message); + return H.saveStackTrace(ex, new H.NullError(message, match == null ? _null : match.method)); + } } } return H.saveStackTrace(ex, new H.UnknownJsTypeError(typeof message == "string" ? message : "")); @@ -3119,7 +3119,7 @@ return false; }, _isFunctionSubtype: function(universe, s, sEnv, t, tEnv) { - var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired; + var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName; if (!H._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) return false; sParameters = s._rest; @@ -3165,26 +3165,14 @@ sIndex += 3; if (tName < sName) return false; - sIsRequired = sNamed[sIndex - 2]; - if (sName < tName) { - if (sIsRequired) - return false; + if (sName < tName) continue; - } - t1 = tNamed[tIndex + 1]; - if (sIsRequired && !t1) - return false; t1 = sNamed[sIndex - 1]; if (!H._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) return false; break; } } - for (; sIndex < sNamedLength;) { - if (sNamed[sIndex + 1]) - return false; - sIndex += 3; - } return true; }, _isInterfaceSubtype: function(universe, s, sEnv, t, tEnv) { @@ -4093,10 +4081,7 @@ }, ZoneSpecification_ZoneSpecification$from: function(other, handleUncaughtError) { var t1 = handleUncaughtError == null ? other.handleUncaughtError : handleUncaughtError; - return P._ZoneSpecification$(other.createPeriodicTimer, other.createTimer, other.errorCallback, other.fork, t1, other.print, other.registerBinaryCallback, other.registerCallback, other.registerUnaryCallback, other.run, other.runBinary, other.runUnary, other.scheduleMicrotask); - }, - _ZoneSpecification$: function(createPeriodicTimer, createTimer, errorCallback, fork, handleUncaughtError, $print, registerBinaryCallback, registerCallback, registerUnaryCallback, run, runBinary, runUnary, scheduleMicrotask) { - return new P._ZoneSpecification(handleUncaughtError, run, runUnary, runBinary, registerCallback, registerUnaryCallback, registerBinaryCallback, errorCallback, scheduleMicrotask, createTimer, createPeriodicTimer, $print, fork); + return new P._ZoneSpecification(t1, other.run, other.runUnary, other.runBinary, other.registerCallback, other.registerUnaryCallback, other.registerBinaryCallback, other.errorCallback, other.scheduleMicrotask, other.createTimer, other.createPeriodicTimer, other.print, other.fork); }, _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { P._schedulePriorityAsyncCallback(new P._rootHandleUncaughtError_closure(error, type$.StackTrace._as(stackTrace))); @@ -4233,7 +4218,7 @@ P.ArgumentError_checkNotNull(onError, "onError", type$.void_Function_Object_StackTrace); errorHandler = new P.runZonedGuarded_closure($.Zone__current, onError); if (zoneSpecification == null) - zoneSpecification = P._ZoneSpecification$(_null, _null, _null, _null, errorHandler, _null, _null, _null, _null, _null, _null, _null, _null); + zoneSpecification = new P._ZoneSpecification(errorHandler, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); else zoneSpecification = P.ZoneSpecification_ZoneSpecification$from(zoneSpecification, errorHandler); try { @@ -4876,6 +4861,11 @@ ListQueue__calculateCapacity: function(initialCapacity) { return 8; }, + _SplayTreeKeyIterator$: function(map, $K, $Node) { + var t1 = new P._SplayTreeKeyIterator(map, H.setRuntimeTypeInfo([], $Node._eval$1("JSArray<0>")), map._modificationCount, map._splayCount, $K._eval$1("@<0>")._bind$1($Node)._eval$1("_SplayTreeKeyIterator<1,2>")); + t1._findLeftMostDescendent$1(map._root); + return t1; + }, SplayTreeSet$: function(compare, isValidKey, $E) { var t1 = isValidKey == null ? new P.SplayTreeSet_closure($E) : isValidKey; return new P.SplayTreeSet(compare, t1, $E._eval$1("SplayTreeSet<0>")); @@ -5094,10 +5084,13 @@ _defaultToEncodable: function(object) { return object.toJson$0(); }, + _JsonStringStringifier$: function(_sink, _toEncodable) { + return new P._JsonStringStringifier(_sink, [], P.convert___defaultToEncodable$closure()); + }, _JsonStringStringifier_stringify: function(object, toEncodable, indent) { var t1, output = new P.StringBuffer(""), - stringifier = new P._JsonStringStringifier(output, [], P.convert___defaultToEncodable$closure()); + stringifier = P._JsonStringStringifier$(output, toEncodable); stringifier.writeObject$1(object); t1 = output._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; @@ -5170,6 +5163,17 @@ return object.toString$0(0); return "Instance of '" + H.S(H.Primitives_objectTypeName(object)) + "'"; }, + DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) { + var t1; + if (Math.abs(millisecondsSinceEpoch) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + H.throwExpression(P.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch)); + P.ArgumentError_checkNotNull(isUtc, "isUtc", type$.bool); + return new P.DateTime(millisecondsSinceEpoch, isUtc); + }, List_List$filled: function($length, fill, growable, $E) { var i, result = J.JSArray_JSArray$fixed($length, $E); @@ -7060,19 +7064,15 @@ return jsProxy; }, _convertToDart: function(o) { - var t1, t2; if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") return o; else if (o instanceof Object && H.isBrowserObject(o)) return o; else if (o instanceof Object && type$.TypedData._is(o)) return o; - else if (o instanceof Date) { - t1 = H._asIntS(o.getTime()); - t2 = new P.DateTime(t1, false); - t2.DateTime$_withValue$2$isUtc(t1, false); - return t2; - } else if (o.constructor === $.$get$_dartProxyCtor()) + else if (o instanceof Date) + return P.DateTime$fromMillisecondsSinceEpoch(H._asIntS(o.getTime()), false); + else if (o.constructor === $.$get$_dartProxyCtor()) return o.o; else return P._wrapToDart(o); @@ -7272,7 +7272,7 @@ xhr = new XMLHttpRequest(); C.HttpRequest_methods.open$3$async(xhr, method, url, true); if (withCredentials != null) - xhr.withCredentials = withCredentials; + C.HttpRequest_methods.set$withCredentials(xhr, withCredentials); if (responseType != null) xhr.responseType = responseType; t2 = type$.nullable_void_Function_legacy_ProgressEvent; @@ -7325,7 +7325,7 @@ H._asStringS(value); t1 = type$._Html5NodeValidator._as(context).uriPolicy; t2 = t1._hiddenAnchor; - t2.href = value; + C.AnchorElement_methods.set$href(t2, value); t3 = t2.hostname; t1 = t1._loc; if (!(t3 == t1.hostname && t2.port == t1.port && t2.protocol == t1.protocol)) @@ -7739,7 +7739,7 @@ }, S = { BuiltList_BuiltList$from: function(iterable, $E) { - var t1; + var t1, t2, t3; if (iterable instanceof S._BuiltList) { t1 = H.createRuntimeType($E._eval$1("0*")); t1 = H.createRuntimeType(iterable.$ti._eval$1("1*")) === t1; @@ -7747,16 +7747,14 @@ t1 = false; if (t1) return $E._eval$1("BuiltList<0*>*")._as(iterable); - else - return S._BuiltList$copyAndCheckTypes(iterable, $E._eval$1("0*")); - }, - _BuiltList$copyAndCheckTypes: function(iterable, $E) { - var t1 = $E._eval$1("0*"), - t2 = P.List_List$from(iterable, false, t1), - t3 = new S._BuiltList(t2, $E._eval$1("_BuiltList<0>")); - t3.BuiltList$_$1(t2, t1); - t3._BuiltList$copyAndCheckTypes$1(iterable, $E); - return t3; + else { + t1 = $E._eval$1("0*"); + t2 = P.List_List$from(iterable, false, t1); + t3 = new S._BuiltList(t2, $E._eval$1("_BuiltList<0*>")); + t3.BuiltList$_$1(t2, t1); + t3._BuiltList$copyAndCheckTypes$1(iterable, t1); + return t3; + } }, ListBuilder_ListBuilder: function(iterable, $E) { var t1 = new S.ListBuilder($E._eval$1("ListBuilder<0*>")); @@ -7837,23 +7835,20 @@ }, M = { BuiltListMultimap_BuiltListMultimap: function($K, $V) { - var t1; + var t1, t2, t3, t4, t5; if (C.Map_empty instanceof M._BuiltListMultimap && C.Map_empty.hasExactKeyAndValueTypes$2(H.createRuntimeType($K._eval$1("0*")), H.createRuntimeType($V._eval$1("0*")))) return $K._eval$1("@<0>")._bind$1($V)._eval$1("BuiltListMultimap<1*,2*>*")._as(C.Map_empty); else { - t1 = M._BuiltListMultimap$copyAndCheck(C.Map_empty.get$keys(C.Map_empty), new M.BuiltListMultimap_BuiltListMultimap_closure(C.Map_empty), $K._eval$1("0*"), $V._eval$1("0*")); - return t1; + t1 = C.Map_empty.get$keys(C.Map_empty); + t2 = $K._eval$1("0*"); + t3 = $V._eval$1("0*"); + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t2, $V._eval$1("BuiltList<0*>*")); + t5 = new M._BuiltListMultimap(t4, S.BuiltList_BuiltList$from(C.List_empty0, t3), $K._eval$1("@<0*>")._bind$1(t3)._eval$1("_BuiltListMultimap<1,2>")); + t5.BuiltListMultimap$_$1(t4, t2, t3); + t5._BuiltListMultimap$copyAndCheck$2(t1, new M.BuiltListMultimap_BuiltListMultimap_closure(C.Map_empty), t2, t3); + return t5; } }, - _BuiltListMultimap$copyAndCheck: function(keys, lookup, $K, $V) { - var t1 = $K._eval$1("0*"), - t2 = P.LinkedHashMap_LinkedHashMap$_empty(t1, $V._eval$1("BuiltList<0*>*")), - t3 = $V._eval$1("0*"), - t4 = new M._BuiltListMultimap(t2, S.BuiltList_BuiltList$from(C.List_empty0, t3), $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltListMultimap<1,2>")); - t4.BuiltListMultimap$_$1(t2, t1, t3); - t4._BuiltListMultimap$copyAndCheck$2(keys, lookup, $K, $V); - return t4; - }, ListMultimapBuilder_ListMultimapBuilder: function($K, $V) { var t1 = $K._eval$1("@<0*>")._bind$1($V._eval$1("0*")), t2 = new M.ListMultimapBuilder(t1._eval$1("ListMultimapBuilder<1,2>")); @@ -7963,22 +7958,24 @@ }, A = { BuiltMap_BuiltMap: function($K, $V) { - var t1; + var t1, t2, t3, t4, t5; if (C.Map_empty instanceof A._BuiltMap && C.Map_empty.hasExactKeyAndValueTypes$2(H.createRuntimeType($K._eval$1("0*")), H.createRuntimeType($V._eval$1("0*")))) return $K._eval$1("@<0>")._bind$1($V)._eval$1("BuiltMap<1*,2*>*")._as(C.Map_empty); else { - t1 = A._BuiltMap$copyAndCheckTypes(C.Map_empty.get$keys(C.Map_empty), new A.BuiltMap_BuiltMap_closure(C.Map_empty), $K._eval$1("0*"), $V._eval$1("0*")); - return t1; - } - }, - _BuiltMap$copyAndCheckTypes: function(keys, lookup, $K, $V) { - var t1 = $K._eval$1("0*"), - t2 = $V._eval$1("0*"), - t3 = P.LinkedHashMap_LinkedHashMap$_empty(t1, t2), - t4 = new A._BuiltMap(null, t3, $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); - t4.BuiltMap$_$2(null, t3, t1, t2); - t4._BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V); - return t4; + t1 = C.Map_empty.get$keys(C.Map_empty); + t2 = $K._eval$1("0*"); + t3 = $V._eval$1("0*"); + t4 = P.LinkedHashMap_LinkedHashMap$_empty(t2, t3); + t5 = new A._BuiltMap(null, t4, $K._eval$1("@<0*>")._bind$1(t3)._eval$1("_BuiltMap<1,2>")); + t5.BuiltMap$_$2(null, t4, t2, t3); + t5._BuiltMap$copyAndCheckTypes$2(t1, new A.BuiltMap_BuiltMap_closure(C.Map_empty), t2, t3); + return t5; + } + }, + _BuiltMap$withSafeMap: function(mapFactory, map, $K, $V) { + var t1 = new A._BuiltMap(mapFactory, map, $K._eval$1("@<0>")._bind$1($V)._eval$1("_BuiltMap<1,2>")); + t1.BuiltMap$_$2(mapFactory, map, $K._eval$1("0*"), $V._eval$1("0*")); + return t1; }, MapBuilder_MapBuilder: function($K, $V) { var t1 = $K._eval$1("@<0*>")._bind$1($V._eval$1("0*")), @@ -8062,18 +8059,17 @@ }, L = { BuiltSet_BuiltSet$from: function(iterable, $E) { + var t1, t2, t3; if (iterable instanceof L._BuiltSet && iterable.hasExactElementType$1(H.createRuntimeType($E._eval$1("0*")))) return $E._eval$1("BuiltSet<0*>*")._as(iterable); - else - return L._BuiltSet$copyAndCheckTypes(iterable, $E._eval$1("0*")); - }, - _BuiltSet$copyAndCheckTypes: function(iterable, $E) { - var t1 = $E._eval$1("0*"), - t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1), - t3 = new L._BuiltSet(null, t2, $E._eval$1("_BuiltSet<0>")); - t3.BuiltSet$_$2(null, t2, t1); - t3._BuiltSet$copyAndCheckTypes$1(iterable, $E); - return t3; + else { + t1 = $E._eval$1("0*"); + t2 = P.LinkedHashSet_LinkedHashSet$_empty(t1); + t3 = new L._BuiltSet(null, t2, $E._eval$1("_BuiltSet<0*>")); + t3.BuiltSet$_$2(null, t2, t1); + t3._BuiltSet$copyAndCheckTypes$1(iterable, t1); + return t3; + } }, SetBuilder_SetBuilder: function($E) { var t1 = new L.SetBuilder(null, null, null, $E._eval$1("SetBuilder<0*>")); @@ -8251,15 +8247,19 @@ Serializers_Serializers: function() { var t1 = type$.legacy_Type, t2 = type$.legacy_Serializer_dynamic, - t3 = type$.legacy_String; - t2 = Y.BuiltJsonSerializersBuilder$_(A.MapBuilder_MapBuilder(t1, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(type$.legacy_FullType, type$.legacy_Function), S.ListBuilder_ListBuilder(C.List_empty0, type$.legacy_SerializerPlugin)); + t3 = A.MapBuilder_MapBuilder(t1, t2), + t4 = type$.legacy_String, + t5 = A.MapBuilder_MapBuilder(t4, t2); + t2 = A.MapBuilder_MapBuilder(t4, t2); + t4 = A.MapBuilder_MapBuilder(type$.legacy_FullType, type$.legacy_Function); + t2 = new Y.BuiltJsonSerializersBuilder(t3, t5, t2, t4, S.ListBuilder_ListBuilder(C.List_empty0, type$.legacy_SerializerPlugin)); t2.add$1(0, new O.BigIntSerializer(S.BuiltList_BuiltList$from([C.Type_BigInt_8OV, J.get$runtimeType$($.$get$_BigIntImpl_zero())], t1))); t2.add$1(0, new R.BoolSerializer(S.BuiltList_BuiltList$from([C.Type_bool_lhE], t1))); - t3 = type$.legacy_Object; - t2.add$1(0, new K.BuiltListSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltList_iTR, H.getRuntimeType(S.BuiltList_BuiltList$from(C.List_empty0, t3))], t1))); - t2.add$1(0, new R.BuiltListMultimapSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltListMultimap_2Mt, H.getRuntimeType(M.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); - t2.add$1(0, new K.BuiltMapSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltMap_qd4, H.getRuntimeType(A.BuiltMap_BuiltMap(t3, t3))], t1))); - t2.add$1(0, new O.BuiltSetSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltSet_fcN, H.getRuntimeType(L.BuiltSet_BuiltSet$from(C.List_empty0, t3))], t1))); + t5 = type$.legacy_Object; + t2.add$1(0, new K.BuiltListSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltList_iTR, H.getRuntimeType(S.BuiltList_BuiltList$from(C.List_empty0, t5))], t1))); + t2.add$1(0, new R.BuiltListMultimapSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltListMultimap_2Mt, H.getRuntimeType(M.BuiltListMultimap_BuiltListMultimap(t5, t5))], t1))); + t2.add$1(0, new K.BuiltMapSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltMap_qd4, H.getRuntimeType(A.BuiltMap_BuiltMap(t5, t5))], t1))); + t2.add$1(0, new O.BuiltSetSerializer(S.BuiltList_BuiltList$from([C.Type_BuiltSet_fcN, H.getRuntimeType(L.BuiltSet_BuiltSet$from(C.List_empty0, t5))], t1))); t2.add$1(0, new R.BuiltSetMultimapSerializer(L.BuiltSet_BuiltSet$from([C.Type_BuiltSetMultimap_9Fi], t1))); t2.add$1(0, new Z.DateTimeSerializer(S.BuiltList_BuiltList$from([C.Type_DateTime_8AS], t1))); t2.add$1(0, new D.DoubleSerializer(S.BuiltList_BuiltList$from([C.Type_double_K1J], t1))); @@ -8271,12 +8271,11 @@ t2.add$1(0, new K.RegExpSerializer(S.BuiltList_BuiltList$from([C.Type_RegExp_Eeh, $.$get$_runtimeType()], t1))); t2.add$1(0, new M.StringSerializer(S.BuiltList_BuiltList$from([C.Type_String_k8F], t1))); t2.add$1(0, new O.UriSerializer(S.BuiltList_BuiltList$from([C.Type_Uri_EFX, H.getRuntimeType(P.Uri_parse("http://example.com")), H.getRuntimeType(P.Uri_parse("http://example.com:"))], t1))); - t1 = t2._builderFactories; - t1.$indexSet(0, C.FullType_GJM, new U.Serializers_Serializers_closure()); - t1.$indexSet(0, C.FullType_UGJ, new U.Serializers_Serializers_closure0()); - t1.$indexSet(0, C.FullType_sEu, new U.Serializers_Serializers_closure1()); - t1.$indexSet(0, C.FullType_ECn, new U.Serializers_Serializers_closure2()); - t1.$indexSet(0, C.FullType_C1B, new U.Serializers_Serializers_closure3()); + t4.$indexSet(0, C.FullType_GJM, new U.Serializers_Serializers_closure()); + t4.$indexSet(0, C.FullType_UGJ, new U.Serializers_Serializers_closure0()); + t4.$indexSet(0, C.FullType_sEu, new U.Serializers_Serializers_closure1()); + t4.$indexSet(0, C.FullType_ECn, new U.Serializers_Serializers_closure2()); + t4.$indexSet(0, C.FullType_C1B, new U.Serializers_Serializers_closure3()); return t2.build$0(); }, FullType__getRawName: function(type) { @@ -13327,27 +13326,23 @@ return this.map$1$1($receiver, f, type$.dynamic); }, contains$1: function(_, element) { - var t1, _this = this; - for (t1 = _this.$ti, t1 = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")), t1._findLeftMostDescendent$1(_this._root); t1.moveNext$0();) + var t1; + for (t1 = this.$ti, t1 = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")); t1.moveNext$0();) if (J.$eq$(t1.get$current(t1), element)) return true; return false; }, get$length: function(_) { - var count, _this = this, - t1 = _this.$ti, - it = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); - it._findLeftMostDescendent$1(_this._root); + var count, + t1 = this.$ti, + it = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")); for (count = 0; it.moveNext$0();) ++count; return count; }, get$isEmpty: function(_) { - var _this = this, - t1 = _this.$ti; - t1 = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); - t1._findLeftMostDescendent$1(_this._root); - return !t1.moveNext$0(); + var t1 = this.$ti; + return !P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")).moveNext$0(); }, get$isNotEmpty: function(_) { return this._root != null; @@ -13356,25 +13351,23 @@ return H.SkipIterable_SkipIterable(this, count, this.$ti._precomputed1); }, get$first: function(_) { - var _this = this, - t1 = _this.$ti, - it = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); - it._findLeftMostDescendent$1(_this._root); + var t1 = this.$ti, + it = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")); if (!it.moveNext$0()) throw H.wrapException(H.IterableElementError_noElement()); return it.get$current(it); }, elementAt$1: function(_, index) { - var t1, elementIndex, element, _this = this, _s5_ = "index"; + var t1, elementIndex, element, _s5_ = "index"; P.ArgumentError_checkNotNull(index, _s5_, type$.int); P.RangeError_checkNotNegative(index, _s5_); - for (t1 = _this.$ti, t1 = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")), t1._findLeftMostDescendent$1(_this._root), elementIndex = 0; t1.moveNext$0();) { + for (t1 = this.$ti, t1 = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")), elementIndex = 0; t1.moveNext$0();) { element = t1.get$current(t1); if (index === elementIndex) return element; ++elementIndex; } - throw H.wrapException(P.IndexError$(index, _this, _s5_, null, elementIndex)); + throw H.wrapException(P.IndexError$(index, this, _s5_, null, elementIndex)); }, toString$0: function(_) { return P.IterableBase_iterableToShortString(this, "(", ")"); @@ -13694,25 +13687,23 @@ return H.SkipIterable_SkipIterable(this, n, this.$ti._precomputed1); }, get$first: function(_) { - var _this = this, - t1 = _this.$ti, - it = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); - it._findLeftMostDescendent$1(_this._root); + var t1 = this.$ti, + it = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")); if (!it.moveNext$0()) throw H.wrapException(H.IterableElementError_noElement()); return it.get$current(it); }, elementAt$1: function(_, index) { - var t1, elementIndex, element, _this = this, _s5_ = "index"; + var t1, elementIndex, element, _s5_ = "index"; P.ArgumentError_checkNotNull(index, _s5_, type$.int); P.RangeError_checkNotNegative(index, _s5_); - for (t1 = _this.$ti, t1 = new P._SplayTreeKeyIterator(_this, H.setRuntimeTypeInfo([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._modificationCount, _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")), t1._findLeftMostDescendent$1(_this._root), elementIndex = 0; t1.moveNext$0();) { + for (t1 = this.$ti, t1 = P._SplayTreeKeyIterator$(this, t1._precomputed1, t1._eval$1("_SplayTreeSetNode<1>")), elementIndex = 0; t1.moveNext$0();) { element = t1.get$current(t1); if (index === elementIndex) return element; ++elementIndex; } - throw H.wrapException(P.IndexError$(index, _this, _s5_, null, elementIndex)); + throw H.wrapException(P.IndexError$(index, this, _s5_, null, elementIndex)); } }; P._SetBase.prototype = { @@ -15186,17 +15177,6 @@ compareTo$1: function(_, other) { return C.JSInt_methods.compareTo$1(this._value, type$.DateTime._as(other)._value); }, - DateTime$_withValue$2$isUtc: function(_value, isUtc) { - var t2, - t1 = this._value; - if (Math.abs(t1) <= 864e13) - t2 = false; - else - t2 = true; - if (t2) - throw H.wrapException(P.ArgumentError$("DateTime is outside valid range: " + t1)); - P.ArgumentError_checkNotNull(this.isUtc, "isUtc", type$.bool); - }, get$hashCode: function(_) { var t1 = this._value; return (t1 ^ C.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; @@ -15986,6 +15966,9 @@ } }; W.AnchorElement.prototype = { + set$href: function(receiver, value) { + receiver.href = value; + }, toString$0: function(receiver) { return String(receiver); }, @@ -16078,34 +16061,64 @@ }; W.DomRectReadOnly.prototype = { toString$0: function(receiver) { - return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + ") " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); + var t2, + t1 = receiver.left; + t1.toString; + t1 = "Rectangle (" + H.S(t1) + ", "; + t2 = receiver.top; + t2.toString; + return t1 + H.S(t2) + ") " + H.S(this.get$width(receiver)) + " x " + H.S(this.get$height(receiver)); }, $eq: function(receiver, other) { - var t1; + var t1, t2; if (other == null) return false; - if (type$.Rectangle_num._is(other)) - if (receiver.left == other.left) - if (receiver.top == other.top) { + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { t1 = J.getInterceptor$x(other); t1 = this.get$width(receiver) == t1.get$width(other) && this.get$height(receiver) == t1.get$height(other); } else t1 = false; - else + } else t1 = false; - else + } else t1 = false; return t1; }, get$hashCode: function(receiver) { - return W._JenkinsSmiHash_hash4(J.get$hashCode$(receiver.left), J.get$hashCode$(receiver.top), J.get$hashCode$(this.get$width(receiver)), J.get$hashCode$(this.get$height(receiver))); + var t2, + t1 = receiver.left; + t1.toString; + t1 = C.JSNumber_methods.get$hashCode(t1); + t2 = receiver.top; + t2.toString; + return W._JenkinsSmiHash_hash4(t1, C.JSNumber_methods.get$hashCode(t2), J.get$hashCode$(this.get$width(receiver)), J.get$hashCode$(this.get$height(receiver))); }, - get$height: function(receiver) { + get$_height: function(receiver) { return receiver.height; }, - get$width: function(receiver) { + get$height: function(receiver) { + var t1 = this.get$_height(receiver); + t1.toString; + return t1; + }, + get$_width: function(receiver) { return receiver.width; }, + get$width: function(receiver) { + var t1 = this.get$_width(receiver); + t1.toString; + return t1; + }, $isRectangle: 1 }; W.DomStringList.prototype = { @@ -16198,12 +16211,15 @@ if ($.Element__parseDocument == null) { t1 = document; t2 = t1.implementation; - t2 = (t2 && C.DomImplementation_methods).createHtmlDocument$1(t2, ""); + t2.toString; + t2 = C.DomImplementation_methods.createHtmlDocument$1(t2, ""); $.Element__parseDocument = t2; $.Element__parseRange = t2.createRange(); t2 = $.Element__parseDocument.createElement("base"); type$.BaseElement._as(t2); - t2.href = t1.baseURI; + t1 = t1.baseURI; + t1.toString; + t2.href = t1; $.Element__parseDocument.head.appendChild(t2); } t1 = $.Element__parseDocument; @@ -16361,6 +16377,9 @@ open$3$async: function(receiver, method, url, async) { return receiver.open(method, url, true); }, + set$withCredentials: function(receiver, value) { + receiver.withCredentials = true; + }, $isHttpRequest: 1 }; W.HttpRequest_request_closure.prototype = { @@ -16369,8 +16388,7 @@ type$.ProgressEvent._as(e); t1 = this.xhr; t2 = t1.status; - if (typeof t2 !== "number") - return t2.$ge(); + t2.toString; accepted = t2 >= 200 && t2 < 300; unknownRedirect = t2 > 307 && t2 < 400; t2 = accepted || t2 === 0 || t2 === 304 || unknownRedirect; @@ -17045,33 +17063,83 @@ }; W._DomRect.prototype = { toString$0: function(receiver) { - return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + ") " + H.S(receiver.width) + " x " + H.S(receiver.height); + var t2, + t1 = receiver.left; + t1.toString; + t1 = "Rectangle (" + H.S(t1) + ", "; + t2 = receiver.top; + t2.toString; + t2 = t1 + H.S(t2) + ") "; + t1 = receiver.width; + t1.toString; + t1 = t2 + H.S(t1) + " x "; + t2 = receiver.height; + t2.toString; + return t1 + H.S(t2); }, $eq: function(receiver, other) { - var t1; + var t1, t2; if (other == null) return false; - if (type$.Rectangle_num._is(other)) - if (receiver.left == other.left) - if (receiver.top == other.top) { - t1 = J.getInterceptor$x(other); - t1 = receiver.width == t1.get$width(other) && receiver.height == t1.get$height(other); + if (type$.Rectangle_num._is(other)) { + t1 = receiver.left; + t1.toString; + t2 = other.left; + t2.toString; + if (t1 === t2) { + t1 = receiver.top; + t1.toString; + t2 = other.top; + t2.toString; + if (t1 === t2) { + t1 = receiver.width; + t1.toString; + t2 = J.getInterceptor$x(other); + if (t1 === t2.get$width(other)) { + t1 = receiver.height; + t1.toString; + t2 = t1 === t2.get$height(other); + t1 = t2; + } else + t1 = false; } else t1 = false; - else + } else t1 = false; - else + } else t1 = false; return t1; }, get$hashCode: function(receiver) { - return W._JenkinsSmiHash_hash4(J.get$hashCode$(receiver.left), J.get$hashCode$(receiver.top), J.get$hashCode$(receiver.width), J.get$hashCode$(receiver.height)); + var t2, t3, t4, + t1 = receiver.left; + t1.toString; + t1 = C.JSNumber_methods.get$hashCode(t1); + t2 = receiver.top; + t2.toString; + t2 = C.JSNumber_methods.get$hashCode(t2); + t3 = receiver.width; + t3.toString; + t3 = C.JSNumber_methods.get$hashCode(t3); + t4 = receiver.height; + t4.toString; + return W._JenkinsSmiHash_hash4(t1, t2, t3, C.JSNumber_methods.get$hashCode(t4)); + }, + get$_height: function(receiver) { + return receiver.height; }, get$height: function(receiver) { - return receiver.height; + var t1 = receiver.height; + t1.toString; + return t1; }, - get$width: function(receiver) { + get$_width: function(receiver) { return receiver.width; + }, + get$width: function(receiver) { + var t1 = receiver.width; + t1.toString; + return t1; } }; W._GamepadList.prototype = { @@ -17207,15 +17275,19 @@ } }, get$keys: function(_) { - var len, t1, i, attr, - attributes = this._element.attributes, - keys = H.setRuntimeTypeInfo([], type$.JSArray_String); - for (len = attributes.length, t1 = type$._Attr, i = 0; i < len; ++i) { - if (i >= attributes.length) - return H.ioore(attributes, i); - attr = t1._as(attributes[i]); - if (attr.namespaceURI == null) - C.JSArray_methods.add$1(keys, attr.name); + var keys, len, t2, i, attr, t3, + t1 = this._element.attributes; + t1.toString; + keys = H.setRuntimeTypeInfo([], type$.JSArray_String); + for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { + if (i >= t1.length) + return H.ioore(t1, i); + attr = t2._as(t1[i]); + if (attr.namespaceURI == null) { + t3 = attr.name; + t3.toString; + C.JSArray_methods.add$1(keys, t3); + } } return keys; }, @@ -17604,8 +17676,11 @@ t1.removeAttribute($name); } } - if (type$.TemplateElement._is(element)) - _this.sanitizeTree$1(element.content); + if (type$.TemplateElement._is(element)) { + t1 = element.content; + t1.toString; + _this.sanitizeTree$1(t1); + } }, $isNodeTreeSanitizer: 1 }; @@ -17715,7 +17790,7 @@ return $length; }, walk$1: function(e) { - var millisSinceEpoch, t1, proto, slot, copy, t2, l, $length, i, _this = this, _box_0 = {}; + var proto, slot, t1, copy, t2, l, $length, i, _this = this, _box_0 = {}; if (e == null) return e; if (H._isBool(e)) @@ -17724,12 +17799,8 @@ return e; if (typeof e == "string") return e; - if (e instanceof Date) { - millisSinceEpoch = e.getTime(); - t1 = new P.DateTime(millisSinceEpoch, true); - t1.DateTime$_withValue$2$isUtc(millisSinceEpoch, true); - return t1; - } + if (e instanceof Date) + return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); if (e instanceof RegExp) throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); if (typeof Promise != "undefined" && e instanceof Promise) @@ -18648,11 +18719,8 @@ return J.get$length$asx(this._map$_map); }, map$1: function(_, f) { - var t1 = type$.dynamic, - t2 = J.map$2$1$ax(this._map$_map, this.$ti._eval$1("MapEntry<@,@>*(BuiltMap.K*,BuiltMap.V*)*")._as(f), t1, t1), - t3 = new A._BuiltMap(null, t2, type$._BuiltMap_dynamic_dynamic); - t3.BuiltMap$_$2(null, t2, t1, t1); - return t3; + var t1 = type$.dynamic; + return A._BuiltMap$withSafeMap(null, J.map$2$1$ax(this._map$_map, this.$ti._eval$1("MapEntry<@,@>*(BuiltMap.K*,BuiltMap.V*)*")._as(f), t1, t1), t1, t1); }, BuiltMap$_$2: function(_mapFactory, _map, $K, $V) { if (H.createRuntimeType($K._eval$1("0*")) === C.Type_dynamic_0Rz) @@ -18701,15 +18769,10 @@ }; A.MapBuilder.prototype = { build$0: function() { - var t1, t2, t3, t4, t5, _this = this; + var t1, _this = this; if (_this._mapOwner == null) { - t1 = _this._mapFactory; - t2 = _this._map$_map; - t3 = _this.$ti; - t4 = t3._eval$1("2*"); - t5 = new A._BuiltMap(t1, t2, t3._eval$1("@<1*>")._bind$1(t4)._eval$1("_BuiltMap<1,2>")); - t5.BuiltMap$_$2(t1, t2, t3._eval$1("1*"), t4); - _this.set$_mapOwner(t5); + t1 = _this.$ti; + _this.set$_mapOwner(A._BuiltMap$withSafeMap(_this._mapFactory, _this._map$_map, t1._eval$1("1*"), t1._eval$1("2*"))); } return _this._mapOwner; }, @@ -23462,7 +23525,6 @@ _AsyncCompleter_void: findType("_AsyncCompleter<~>"), _Attr: findType("_Attr"), _BigIntImpl: findType("_BigIntImpl"), - _BuiltMap_dynamic_dynamic: findType("_BuiltMap<@,@>"), _ChildNodeListLazy: findType("_ChildNodeListLazy"), _EventStream_legacy_Event: findType("_EventStream"), _FrozenElementList_legacy_Element: findType("_FrozenElementList"), @@ -23605,6 +23667,7 @@ })(); (function constants() { var makeConstList = hunkHelpers.makeConstList; + C.AnchorElement_methods = W.AnchorElement.prototype; C.BodyElement_methods = W.BodyElement.prototype; C.DomImplementation_methods = W.DomImplementation.prototype; C.EventSource_methods = W.EventSource.prototype; diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index 92964be9b..0773426b4 100644 --- a/dwds/lib/src/version.dart +++ b/dwds/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '6.0.0-dev'; +const packageVersion = '6.0.0'; diff --git a/dwds/mono_pkg.yaml b/dwds/mono_pkg.yaml index e6777b649..237138a36 100644 --- a/dwds/mono_pkg.yaml +++ b/dwds/mono_pkg.yaml @@ -8,12 +8,12 @@ stages: dart: dev - group: - dartanalyzer: --fatal-warnings . - dart: [2.9.0-19.0.dev] + dart: [2.9.1] - unit_test: - test: -x frontend-server - dart: 2.9.0-19.0.dev + dart: 2.9.1 - test: dart: dev - test: -x frontend-server os: windows - dart: 2.9.0-19.0.dev + dart: 2.9.1 diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index 66242ce27..429004a43 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -1,13 +1,13 @@ name: dwds # Every time this changes you need to run `pub run build_runner build`. -version: 6.0.0-dev +version: 6.0.0 homepage: https://github.com/dart-lang/webdev/tree/master/dwds description: >- A service that proxies between the Chrome debug protocol and the Dart VM service protocol. environment: - sdk: ">=2.9.0-19.0.dev <3.0.0" + sdk: ">=2.9.1 <3.0.0" dependencies: async: ^2.3.0 From 80261e97488dc397a35a1a37b6cf8753afb766b2 Mon Sep 17 00:00:00 2001 From: Gary Roumanis Date: Wed, 19 Aug 2020 12:20:18 -0700 Subject: [PATCH 2/2] mono repo --- .travis.yml | 16 ++++++++-------- frontend_server_common/mono_pkg.yaml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index bff560ade..172c10d3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,10 @@ services: jobs: include: - stage: analyzer_and_format - name: "SDK: 2.9.1; PKG: dwds; TASKS: `dartanalyzer --fatal-warnings .`" + name: "SDK: 2.9.1; PKGS: dwds, frontend_server_common; TASKS: `dartanalyzer --fatal-warnings .`" dart: "2.9.1" os: linux - env: PKGS="dwds" + env: PKGS="dwds frontend_server_common" script: ./tool/travis.sh dartanalyzer_1 - stage: analyzer_and_format name: "SDK: dev; PKG: dwds; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`, `pub run test test/build/ensure_version_test.dart`]" @@ -27,18 +27,18 @@ jobs: os: linux env: PKGS="dwds" script: ./tool/travis.sh dartfmt dartanalyzer_0 test_0 - - stage: analyzer_and_format - name: "SDK: 2.9.0-19.0.dev; PKGS: example, frontend_server_common, webdev; TASKS: `dartanalyzer --fatal-warnings .`" - dart: "2.9.0-19.0.dev" - os: linux - env: PKGS="example frontend_server_common webdev" - script: ./tool/travis.sh dartanalyzer_1 - stage: analyzer_and_format name: "SDK: dev; PKGS: example, frontend_server_common; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]" dart: dev os: linux env: PKGS="example frontend_server_common" script: ./tool/travis.sh dartfmt dartanalyzer_0 + - stage: analyzer_and_format + name: "SDK: 2.9.0-19.0.dev; PKGS: example, webdev; TASKS: `dartanalyzer --fatal-warnings .`" + dart: "2.9.0-19.0.dev" + os: linux + env: PKGS="example webdev" + script: ./tool/travis.sh dartanalyzer_1 - stage: analyzer_and_format name: "SDK: 2.9.0-19.0.dev; PKG: frontend_server_client; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]" dart: "2.9.0-19.0.dev" diff --git a/frontend_server_common/mono_pkg.yaml b/frontend_server_common/mono_pkg.yaml index cbf6ee7c8..64d1c31f3 100644 --- a/frontend_server_common/mono_pkg.yaml +++ b/frontend_server_common/mono_pkg.yaml @@ -7,4 +7,4 @@ stages: dart: dev - group: - dartanalyzer: --fatal-warnings . - dart: [2.9.0-19.0.dev] + dart: [2.9.1]