From b95a89b24146bce1647e4cdd58c58234552eda2e Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Mon, 30 Jan 2023 10:20:51 -0800 Subject: [PATCH] Prepare for 17.0.0 release --- dwds/CHANGELOG.md | 2 +- dwds/lib/src/injected/client.js | 11 ++++++++++- dwds/lib/src/version.dart | 2 +- dwds/pubspec.yaml | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md index c2f0dd834..677abaeaa 100644 --- a/dwds/CHANGELOG.md +++ b/dwds/CHANGELOG.md @@ -1,4 +1,4 @@ -## 17.0.0-dev +## 17.0.0 - Include debug information in the event sent from the injected client to the Dart Debug Extension notifying that the Dart app is ready. diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js index b036ead7f..7c4e82294 100644 --- a/dwds/lib/src/injected/client.js +++ b/dwds/lib/src/injected/client.js @@ -1,4 +1,4 @@ -// Generated by dart2js (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.0-151.0.dev. +// Generated by dart2js (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.0-163.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -9916,6 +9916,13 @@ $add(receiver, other) { return receiver + other; }, + endsWith$1(receiver, other) { + var otherLength = other.length, + t1 = receiver.length; + if (otherLength > t1) + return false; + return other === this.substring$1(receiver, t1 - otherLength); + }, replaceRange$3(receiver, start, end, replacement) { var e = A.RangeError_checkValidRange(start, end, receiver.length); return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); @@ -24218,6 +24225,8 @@ thisName = this.name; if (B.JSString_methods.startsWith$1(thisName, ".")) A.throwExpression(A.ArgumentError$("name shouldn't start with a '.'", null)); + if (B.JSString_methods.endsWith$1(thisName, ".")) + A.throwExpression(A.ArgumentError$("name shouldn't end with a '.'", null)); dot = B.JSString_methods.lastIndexOf$1(thisName, "."); if (dot === -1) $parent = thisName !== "" ? A.Logger_Logger("") : null; diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart index 5640ba95d..7b88465ba 100644 --- a/dwds/lib/src/version.dart +++ b/dwds/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '17.0.0-dev'; +const packageVersion = '17.0.0'; diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml index cba1ec42a..3a8d084aa 100644 --- a/dwds/pubspec.yaml +++ b/dwds/pubspec.yaml @@ -1,6 +1,6 @@ name: dwds # Every time this changes you need to run `dart run build_runner build`. -version: 17.0.0-dev +version: 17.0.0 description: >- A service that proxies between the Chrome debug protocol and the Dart VM service protocol.