summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dprint.json6
-rw-r--r--Cargo.lock16
-rw-r--r--cli/Cargo.toml6
-rw-r--r--ext/web/06_streams.js19
4 files changed, 27 insertions, 20 deletions
diff --git a/.dprint.json b/.dprint.json
index ec9f01816..1b99bfde8 100644
--- a/.dprint.json
+++ b/.dprint.json
@@ -45,9 +45,9 @@
"tools/wpt/manifest.json"
],
"plugins": [
- "https://plugins.dprint.dev/typescript-0.68.2.wasm",
- "https://plugins.dprint.dev/json-0.15.2.wasm",
- "https://plugins.dprint.dev/markdown-0.13.2.wasm",
+ "https://plugins.dprint.dev/typescript-0.68.4.wasm",
+ "https://plugins.dprint.dev/json-0.15.3.wasm",
+ "https://plugins.dprint.dev/markdown-0.13.3.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/exec-0.2.1.exe-plugin@0a89a91810a212d9413e26d8946d41fbab3e2b5400362d764a1523839c4d78ea"
]
diff --git a/Cargo.lock b/Cargo.lock
index a6542fcc6..0e68ddb7b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1261,9 +1261,9 @@ dependencies = [
[[package]]
name = "dprint-core"
-version = "0.56.0"
+version = "0.58.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f2e06453dc1b63189dcfb0aae5bb98ad05f0d0d4f7e1647473f85921fcd1412"
+checksum = "8993a9e868c95a365957c95b7f4db599d10c87389a462ce30f102f2e1e9cec0d"
dependencies = [
"anyhow",
"bumpalo",
@@ -1274,9 +1274,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-json"
-version = "0.15.2"
+version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ad67f601527f70a758acb95ec6adb3b3c0d00ca48010f1a0b5e4bec4a3e20ed"
+checksum = "f1e5fe967adc699073aa92ce4c931de1932ee58f4b755c3b32fed15580636558"
dependencies = [
"anyhow",
"dprint-core",
@@ -1287,9 +1287,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-markdown"
-version = "0.13.2"
+version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b262b1086542cf951a5ce81031f9e1727717bc5f8066e2289a7bf00a808baa96"
+checksum = "749753ef284b5eea8ab11e8baf01a735351c83747cdd72c5913e2351e6b8a309"
dependencies = [
"anyhow",
"dprint-core",
@@ -1300,9 +1300,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-typescript"
-version = "0.68.3"
+version = "0.68.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d20d1a1d9d423e890a9b2fd687abf68572d509ac40d9af6175793a36fc4af9b1"
+checksum = "ff59354542a49bd9039b848676cac14a1f83e3e4c891ed5684b5b8f2f5ae2890"
dependencies = [
"anyhow",
"deno_ast",
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 980476972..05c1bdb36 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -62,9 +62,9 @@ clap_complete = "=3.1.2"
clap_complete_fig = "=3.1.5"
data-url = "=0.1.1"
dissimilar = "=1.0.3"
-dprint-plugin-json = "=0.15.2"
-dprint-plugin-markdown = "=0.13.2"
-dprint-plugin-typescript = "=0.68.3"
+dprint-plugin-json = "=0.15.3"
+dprint-plugin-markdown = "=0.13.3"
+dprint-plugin-typescript = "=0.68.4"
encoding_rs = "=0.8.31"
env_logger = "=0.9.0"
eszip = "=0.20.0"
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js
index 492694563..9ec028e4b 100644
--- a/ext/web/06_streams.js
+++ b/ext/web/06_streams.js
@@ -569,10 +569,14 @@
/** @param {WritableStream} stream */
function initializeWritableStream(stream) {
stream[_state] = "writable";
- stream[_storedError] = stream[_writer] = stream[_controller] =
- stream[_inFlightWriteRequest] = stream[_closeRequest] =
- stream[_inFlightCloseRequest] = stream[_pendingAbortRequest] =
- undefined;
+ stream[_storedError] =
+ stream[_writer] =
+ stream[_controller] =
+ stream[_inFlightWriteRequest] =
+ stream[_closeRequest] =
+ stream[_inFlightCloseRequest] =
+ stream[_pendingAbortRequest] =
+ undefined;
stream[_writeRequests] = [];
stream[_backpressure] = false;
}
@@ -2944,8 +2948,11 @@
assert(stream[_controller] === undefined);
controller[_stream] = stream;
resetQueue(controller);
- controller[_started] = controller[_closeRequested] =
- controller[_pullAgain] = controller[_pulling] = false;
+ controller[_started] =
+ controller[_closeRequested] =
+ controller[_pullAgain] =
+ controller[_pulling] =
+ false;
controller[_strategySizeAlgorithm] = sizeAlgorithm;
controller[_strategyHWM] = highWaterMark;
controller[_pullAlgorithm] = pullAlgorithm;