diff --git a/.dprint.json b/.dprint.json index fe4573cf29..65ecc8b5e6 100644 --- a/.dprint.json +++ b/.dprint.json @@ -46,9 +46,9 @@ "tools/wpt/manifest.json" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.70.0.wasm", - "https://plugins.dprint.dev/json-0.15.3.wasm", - "https://plugins.dprint.dev/markdown-0.13.3.wasm", + "https://plugins.dprint.dev/typescript-0.71.2.wasm", + "https://plugins.dprint.dev/json-0.15.5.wasm", + "https://plugins.dprint.dev/markdown-0.14.0.wasm", "https://plugins.dprint.dev/toml-0.5.4.wasm", "https://plugins.dprint.dev/exec-0.3.1.json@9351b67ec7a6b58a69201c2834cba38cb3d191080aefc6422fb1320f03c8fc4d" ] diff --git a/Cargo.lock b/Cargo.lock index 728deb81bb..9ba6b3dab3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1371,9 +1371,9 @@ dependencies = [ [[package]] name = "dprint-plugin-json" -version = "0.15.4" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db127f7ccb9b497b5b32e5e8eca4b19a7f191e38a3505195f029d5fbb728e51a" +checksum = "a14e62fab38f93f1a5cba6ee069f401d7ab8dfddd694ca49caed935a98b3b61a" dependencies = [ "anyhow", "dprint-core", @@ -1384,9 +1384,9 @@ dependencies = [ [[package]] name = "dprint-plugin-markdown" -version = "0.13.3" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "749753ef284b5eea8ab11e8baf01a735351c83747cdd72c5913e2351e6b8a309" +checksum = "52180eb2d0bdc4870630e0a76c71a7ce54c4320cf7ed5420ca73e874cf1d08b0" dependencies = [ "anyhow", "dprint-core", @@ -1397,9 +1397,9 @@ dependencies = [ [[package]] name = "dprint-plugin-typescript" -version = "0.71.1" +version = "0.71.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3a4ce966b327d5eba1df51bd9b0e373a741317f35a00abe7a71b01cfd582261" +checksum = "2e085faab0a1de74248f97a37f4ad4962cc542d5d4a67a3d7cb3363dc8c72109" dependencies = [ "anyhow", "deno_ast", @@ -2342,9 +2342,9 @@ dependencies = [ [[package]] name = "jsonc-parser" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccff81ff106af12c93c06935c50ee0723325095e8cbb8c0b41ed276b9469c4cb" +checksum = "3a1853e40333206f9a685358046d13ab200169e3ee573019bddf0ede0dc29307" dependencies = [ "serde_json", ] @@ -3278,9 +3278,9 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34f197a544b0c9ab3ae46c359a7ec9cbbb5c7bf97054266fecb7ead794a181d6" +checksum = "2d9cc634bc78768157b5cbfe988ffcd1dcba95cd2b2f03a88316c08c6d00ed63" dependencies = [ "bitflags", "memchr", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 5b6b058148..e275e1d999 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -63,9 +63,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.4" -dprint-plugin-markdown = "=0.13.3" -dprint-plugin-typescript = "=0.71.1" +dprint-plugin-json = "=0.15.5" +dprint-plugin-markdown = "=0.14.0" +dprint-plugin-typescript = "=0.71.2" encoding_rs = "=0.8.31" env_logger = "=0.9.0" eszip = "=0.22.0" @@ -73,7 +73,7 @@ fancy-regex = "=0.9.0" http = "=0.2.6" import_map = "=0.12.1" indexmap = "1.8.1" -jsonc-parser = { version = "=0.20.0", features = ["serde"] } +jsonc-parser = { version = "=0.21.0", features = ["serde"] } libc = "=0.2.126" log = { version = "=0.4.17", features = ["serde"] } mitata = '=0.0.7' diff --git a/runtime/js/10_permissions.js b/runtime/js/10_permissions.js index 66c68bbf0a..4bf9db7524 100644 --- a/runtime/js/10_permissions.js +++ b/runtime/js/10_permissions.js @@ -164,8 +164,7 @@ if (!isValidDescriptor(desc)) { return PromiseReject( new TypeError( - `The provided value "${desc - ?.name}" is not a valid permission name.`, + `The provided value "${desc?.name}" is not a valid permission name.`, ), ); } @@ -186,8 +185,7 @@ if (!isValidDescriptor(desc)) { return PromiseReject( new TypeError( - `The provided value "${desc - ?.name}" is not a valid permission name.`, + `The provided value "${desc?.name}" is not a valid permission name.`, ), ); } @@ -206,8 +204,7 @@ if (!isValidDescriptor(desc)) { return PromiseReject( new TypeError( - `The provided value "${desc - ?.name}" is not a valid permission name.`, + `The provided value "${desc?.name}" is not a valid permission name.`, ), ); }