From fd32f75da997b805a4ba95c68b4aaeed9f020cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 10 Nov 2022 17:20:46 +0100 Subject: [PATCH] chore: update crates (#16588) --- Cargo.lock | 71 +++++++++++++++++++++++++++++++++-------------- cli/Cargo.toml | 14 +++++----- cli/graph_util.rs | 2 +- 3 files changed, 58 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f4fa9ce789..41c1a1c1d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -772,7 +772,7 @@ dependencies = [ "clap_complete", "clap_complete_fig", "data-url", - "deno_ast", + "deno_ast 0.21.0", "deno_bench_util", "deno_broadcast_channel", "deno_cache", @@ -859,6 +859,36 @@ name = "deno_ast" version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322f52615649f4f096eed78ec8e2a7eb68ff0bf5f330d59302c5479c7a8fa158" +dependencies = [ + "anyhow", + "base64", + "data-url", + "dprint-swc-ext", + "serde", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_codegen", + "swc_ecma_codegen_macros", + "swc_ecma_loader", + "swc_ecma_parser", + "swc_ecma_transforms_base", + "swc_ecma_transforms_classes", + "swc_ecma_transforms_macros", + "swc_ecma_transforms_proposal", + "swc_ecma_transforms_react", + "swc_ecma_transforms_typescript", + "swc_ecma_utils", + "swc_ecma_visit", + "text_lines", + "url", +] + +[[package]] +name = "deno_ast" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95105b29938cac5c987017a3c3d245776d71de77838658e5abe917ad75b1929" dependencies = [ "anyhow", "base64", @@ -931,7 +961,7 @@ version = "0.158.0" dependencies = [ "anyhow", "bytes", - "deno_ast", + "deno_ast 0.20.0", "deno_ops", "futures", "indexmap", @@ -986,12 +1016,12 @@ dependencies = [ [[package]] name = "deno_doc" -version = "0.48.0" +version = "0.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4579ca3065430cafaff3e3b9b4871410f2558450935f9f577098ec9d6cf81eca" +checksum = "1e931d1563eb790b350742ee522f8a8693e00affc9814c4ecaf0de8fc13e0dd2" dependencies = [ "cfg-if", - "deno_ast", + "deno_ast 0.21.0", "deno_graph", "futures", "import_map", @@ -1004,13 +1034,13 @@ dependencies = [ [[package]] name = "deno_emit" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce29673aec15b00c836e26d7770046a13abf5a7f1bf1c92562aa424454a2986" +checksum = "7be76420d8eaac9d82295eb51cb2c0aebd326d305a2ecbeab6582343fb1b743c" dependencies = [ "anyhow", "base64", - "deno_ast", + "deno_ast 0.21.0", "deno_graph", "futures", "parking_lot 0.11.2", @@ -1067,14 +1097,14 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.37.1" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349417e459d6ad06c8f502d49a6bef7288bc8c5cedde0d3bb1e60fcaf27ca5f8" +checksum = "65eb6b2223b71a759b12bc21ee35842193d3703157950d1411c0243239f072eb" dependencies = [ "anyhow", "cfg-if", "data-url", - "deno_ast", + "deno_ast 0.21.0", "futures", "lazy_static", "parking_lot 0.12.1", @@ -1083,7 +1113,6 @@ dependencies = [ "serde", "serde_json", "sourcemap", - "termcolor", "url", ] @@ -1113,12 +1142,12 @@ dependencies = [ [[package]] name = "deno_lint" -version = "0.34.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b635fe0fc58cda4049d41f2efd9fcc8315ded8d36ace739fdf62a155d27f45" +checksum = "1d2c4e416322d10531eb0ebc6f3fa355380e4d25bbcd4109e3edd0b0aa71ed77" dependencies = [ "anyhow", - "deno_ast", + "deno_ast 0.21.0", "derive_more", "if_chain", "log", @@ -1464,12 +1493,12 @@ dependencies = [ [[package]] name = "dprint-plugin-typescript" -version = "0.76.0" +version = "0.78.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "571de1f09a56b994f3dcc5a3886d16b0a387f34bdc3f74377d072205b13377a1" +checksum = "f864163f7cff21d4ff2385d36d441ff30af73d77530d87c6c90510e39a69a4f5" dependencies = [ "anyhow", - "deno_ast", + "deno_ast 0.21.0", "dprint-core", "rustc-hash", "serde", @@ -1665,13 +1694,13 @@ dependencies = [ [[package]] name = "eszip" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfaee993e46d7494b0d6e7222ad8411d493813780ec370972af8891434720d88" +checksum = "1fdf9b31295c768c806cbc0d08d98868b4382684b002d216a16eb661bb8e8575" dependencies = [ "anyhow", "base64", - "deno_ast", + "deno_ast 0.21.0", "deno_graph", "futures", "serde", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index d688047b54..541a1dc6c9 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -50,12 +50,12 @@ winapi = "=0.3.9" winres = "=0.1.12" [dependencies] -deno_ast = { version = "0.20.0", features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "transpiling", "typescript", "view", "visit"] } +deno_ast = { version = "0.21.0", features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "transpiling", "typescript", "view", "visit"] } deno_core = { version = "0.158.0", path = "../core" } -deno_doc = "0.48.0" -deno_emit = "0.10.0" -deno_graph = "0.37.1" -deno_lint = { version = "0.34.0", features = ["docs"] } +deno_doc = "0.49.0" +deno_emit = "0.11.0" +deno_graph = "0.38.0" +deno_lint = { version = "0.35.0", features = ["docs"] } deno_runtime = { version = "0.84.0", path = "../runtime" } deno_task_shell = "0.7.2" napi_sym = { path = "./napi_sym", version = "0.6.0" } @@ -71,10 +71,10 @@ data-url = "=0.2.0" dissimilar = "=1.0.4" dprint-plugin-json = "=0.15.6" dprint-plugin-markdown = "=0.14.1" -dprint-plugin-typescript = "=0.76.0" +dprint-plugin-typescript = "=0.78.0" encoding_rs = "=0.8.31" env_logger = "=0.9.0" -eszip = "=0.29.0" +eszip = "=0.30.0" fancy-regex = "=0.10.0" flate2 = "=1.0.24" http = "=0.2.8" diff --git a/cli/graph_util.rs b/cli/graph_util.rs index dca7a16b76..e619f8a12d 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -53,7 +53,7 @@ pub struct GraphData { npm_packages: HashSet, /// Map of first known referrer locations for each module. Used to enhance /// error messages. - referrer_map: HashMap, + referrer_map: HashMap>, graph_imports: Vec, cjs_esm_translations: HashMap, }