From 4f391ecec080044109aeb3d8fe24bc6636ac6fe0 Mon Sep 17 00:00:00 2001 From: Satya Rohith Date: Mon, 22 Feb 2021 04:47:31 +0530 Subject: [PATCH] chore: upgrade internal dprint plugins (#9566) Co-authored-by: David Sherret --- .dprintrc.json | 6 +++--- Cargo.lock | 8 ++++---- cli/Cargo.toml | 2 +- cli/tests/fmt/expected_fmt_check_tests_dir.out | 2 +- cli/tests/wasm_streaming.js | 3 +-- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.dprintrc.json b/.dprintrc.json index f4f0385354..113a6b20e9 100644 --- a/.dprintrc.json +++ b/.dprintrc.json @@ -34,8 +34,8 @@ "tools/wpt/manifest.json" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.33.0.wasm", - "https://plugins.dprint.dev/json-0.7.2.wasm", - "https://plugins.dprint.dev/markdown-0.4.2.wasm" + "https://plugins.dprint.dev/typescript-0.40.3.wasm", + "https://plugins.dprint.dev/json-0.8.0.wasm", + "https://plugins.dprint.dev/markdown-0.5.1.wasm" ] } diff --git a/Cargo.lock b/Cargo.lock index 64c51af844..2a9f299a04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -685,9 +685,9 @@ dependencies = [ [[package]] name = "dprint-plugin-typescript" -version = "0.40.1" +version = "0.40.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ab78a112d8e9f2debd76898da1705fe4dfd73a3b93381422578ad4bed13660" +checksum = "09d6c29acc5866aaec868aa984678d50b61aac5f81416845e516dc15f40e2418" dependencies = [ "dprint-core", "dprint-swc-ecma-ast-view", @@ -699,9 +699,9 @@ dependencies = [ [[package]] name = "dprint-swc-ecma-ast-view" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1feab084d494806f38b1387614d4c32841b9b65f5b17b0689855ccd4ffa6b8ac" +checksum = "7e8709b039f9ad8759e6a895d7f853501f1bb0f0bf2e20b1250270ef89ea8ebc" dependencies = [ "bumpalo", "fnv", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index f05865faff..fe475d5157 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -46,7 +46,7 @@ base64 = "0.13.0" byteorder = "1.4.2" clap = "2.33.3" dissimilar = "1.0.2" -dprint-plugin-typescript = "0.40.1" +dprint-plugin-typescript = "0.40.3" dprint-plugin-markdown = "0.5.1" dprint-plugin-json = "0.8.0" encoding_rs = "0.8.28" diff --git a/cli/tests/fmt/expected_fmt_check_tests_dir.out b/cli/tests/fmt/expected_fmt_check_tests_dir.out index fe84cd485d..e2dc2b4aef 100644 --- a/cli/tests/fmt/expected_fmt_check_tests_dir.out +++ b/cli/tests/fmt/expected_fmt_check_tests_dir.out @@ -1,2 +1,2 @@ [WILDCARD] -error: Found 7 not formatted files in [WILDCARD] files +error: Found 6 not formatted files in [WILDCARD] files diff --git a/cli/tests/wasm_streaming.js b/cli/tests/wasm_streaming.js index 6c94573251..1933425d7b 100644 --- a/cli/tests/wasm_streaming.js +++ b/cli/tests/wasm_streaming.js @@ -16,8 +16,7 @@ const bytes = new Uint8Array([ ]); async function main() { - const wasm = await WebAssembly.instantiateStreaming(bytes, { - }); + const wasm = await WebAssembly.instantiateStreaming(bytes, {}); const result = wasm.instance.exports.add(1, 3); console.log("1 + 3 =", result);