From d486efaa17da3793d0d0d820bac19640d1e3c208 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Tue, 12 Nov 2024 09:36:47 +0000 Subject: [PATCH] chore: update swc to v1.9.2 --- deps/swc/Cargo.lock | 241 +++++++-------- deps/swc/bindings/Cargo.lock | 281 +++++++++--------- deps/swc/bindings/Cargo.toml | 26 +- .../swc/bindings/binding_core_wasm/Cargo.toml | 2 +- .../binding_minifier_node/src/minify.rs | 2 +- .../bindings/binding_minifier_wasm/Cargo.toml | 2 +- .../binding_typescript_wasm/Cargo.toml | 2 +- deps/swc/bindings/swc_cli/Cargo.toml | 2 +- 8 files changed, 280 insertions(+), 278 deletions(-) diff --git a/deps/swc/Cargo.lock b/deps/swc/Cargo.lock index 5dce2d38e..b87cc48db 100644 --- a/deps/swc/Cargo.lock +++ b/deps/swc/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "binding_macros" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1117,7 +1117,7 @@ checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "dbg-swc" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "clap 3.2.25", @@ -1484,9 +1484,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -1499,9 +1499,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -1509,15 +1509,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -1526,15 +1526,15 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", @@ -1543,21 +1543,21 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", @@ -2001,11 +2001,11 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-macro" -version = "0.3.6" +version = "0.3.7" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "2069faacbe981460232f880d26bf3c7634e322d49053aa48c27e3ae642f728f1" +checksum = "1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4" dependencies = [ - "Inflector", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.77", @@ -2048,16 +2048,16 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "js-sys" -version = "0.3.70" +version = "0.3.72" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" +checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsdoc" -version = "1.0.0" +version = "4.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -2791,9 +2791,9 @@ dependencies = [ [[package]] name = "pathdiff" -version = "0.2.1" +version = "0.2.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" +checksum = "d61c5ce1153ab5b689d0c074c4e7fc613e942dfb7dd9eea5ab202d2ad91fe361" [[package]] name = "percent-encoding" @@ -3850,7 +3850,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "swc" -version = "1.0.1" +version = "5.0.2" dependencies = [ "ansi_term", "anyhow", @@ -3952,7 +3952,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "crc", @@ -4007,7 +4007,7 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -4030,7 +4030,7 @@ dependencies = [ [[package]] name = "swc_common" -version = "1.0.0" +version = "4.0.0" dependencies = [ "ahash 0.8.11", "anyhow", @@ -4066,7 +4066,7 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "base64 0.21.7", @@ -4115,7 +4115,7 @@ dependencies = [ [[package]] name = "swc_core" -version = "1.0.6" +version = "5.0.3" dependencies = [ "anyhow", "binding_macros", @@ -4170,7 +4170,7 @@ dependencies = [ [[package]] name = "swc_css" -version = "1.0.0" +version = "4.0.0" dependencies = [ "swc_css_ast", "swc_css_codegen", @@ -4185,7 +4185,7 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "1.0.0" +version = "4.0.1" dependencies = [ "is-macro", "rkyv", @@ -4197,7 +4197,7 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "1.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -4225,7 +4225,7 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "1.0.0" +version = "4.0.0" dependencies = [ "bitflags 2.6.0", "once_cell", @@ -4243,7 +4243,7 @@ dependencies = [ [[package]] name = "swc_css_lints" -version = "1.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "parking_lot", @@ -4262,7 +4262,7 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "1.0.0" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4280,7 +4280,7 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "1.0.0" +version = "4.0.0" dependencies = [ "indexmap 2.5.0", "rustc-hash", @@ -4298,7 +4298,7 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "1.0.0" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4315,7 +4315,7 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "1.0.0" +version = "4.0.0" dependencies = [ "once_cell", "preset_env_base", @@ -4333,7 +4333,7 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "1.0.0" +version = "4.0.0" dependencies = [ "once_cell", "serde", @@ -4346,7 +4346,7 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "1.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -4357,7 +4357,7 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "1.0.0" +version = "4.0.1" dependencies = [ "arbitrary", "bitflags 2.6.0", @@ -4372,12 +4372,13 @@ dependencies = [ "string_enum", "swc_atoms", "swc_common", + "swc_visit", "unicode-id-start", ] [[package]] name = "swc_ecma_codegen" -version = "1.0.0" +version = "4.0.2" dependencies = [ "base64 0.21.7", "codspeed-criterion-compat", @@ -4413,7 +4414,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4430,7 +4431,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4441,7 +4442,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "1.0.1" +version = "5.0.0" dependencies = [ "arrayvec", "indexmap 2.5.0", @@ -4468,7 +4469,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4485,7 +4486,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "1.0.0" +version = "5.0.0" dependencies = [ "serde", "swc_atoms", @@ -4503,7 +4504,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "1.0.0" +version = "5.0.0" dependencies = [ "serde", "swc_atoms", @@ -4522,7 +4523,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4538,7 +4539,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "1.0.0" +version = "5.0.0" dependencies = [ "serde", "swc_atoms", @@ -4556,7 +4557,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4570,7 +4571,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4587,7 +4588,7 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4602,7 +4603,7 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "1.0.0" +version = "5.0.0" dependencies = [ "phf", "swc_atoms", @@ -4614,7 +4615,7 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "1.0.0" +version = "5.0.0" dependencies = [ "auto_impl", "dashmap 5.5.3", @@ -4636,7 +4637,7 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "1.0.0" +version = "4.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -4657,7 +4658,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "1.0.3" +version = "5.0.0" dependencies = [ "ansi_term", "anyhow", @@ -4701,7 +4702,7 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "1.0.1" +version = "5.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -4729,7 +4730,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -4758,7 +4759,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4769,7 +4770,7 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "proc-macro2", @@ -4784,7 +4785,7 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "1.0.0" +version = "4.0.0" dependencies = [ "anyhow", "hex", @@ -4795,7 +4796,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "1.0.0" +version = "5.0.0" dependencies = [ "pretty_assertions", "sourcemap", @@ -4820,7 +4821,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "1.0.1" +version = "5.0.0" dependencies = [ "better_scoped_tls", "bitflags 2.6.0", @@ -4848,7 +4849,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -4860,7 +4861,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "1.0.0" +version = "5.0.0" dependencies = [ "arrayvec", "indexmap 2.5.0", @@ -4909,7 +4910,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "1.0.0" +version = "5.0.0" dependencies = [ "Inflector", "anyhow", @@ -4939,7 +4940,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "1.0.0" +version = "5.0.0" dependencies = [ "dashmap 5.5.3", "indexmap 2.5.0", @@ -4969,7 +4970,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "1.0.1" +version = "5.0.0" dependencies = [ "either", "rustc-hash", @@ -4994,7 +4995,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "1.0.0" +version = "5.0.0" dependencies = [ "base64 0.21.7", "dashmap 5.5.3", @@ -5022,7 +5023,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "1.0.0" +version = "5.0.0" dependencies = [ "ansi_term", "anyhow", @@ -5046,7 +5047,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "1.0.1" +version = "5.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5069,7 +5070,7 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "1.0.1" +version = "5.0.0" dependencies = [ "indexmap 2.5.0", "rustc-hash", @@ -5084,7 +5085,7 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "1.0.1" +version = "5.0.0" dependencies = [ "indexmap 2.5.0", "num_cpus", @@ -5105,7 +5106,7 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "1.0.0" +version = "4.0.0" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -5119,7 +5120,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -5143,7 +5144,7 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "2.0.0" +version = "5.0.0" dependencies = [ "anyhow", "miette", @@ -5154,7 +5155,7 @@ dependencies = [ [[package]] name = "swc_estree_ast" -version = "1.0.0" +version = "4.0.0" dependencies = [ "better_scoped_tls", "serde", @@ -5165,7 +5166,7 @@ dependencies = [ [[package]] name = "swc_estree_compat" -version = "1.0.0" +version = "5.0.0" dependencies = [ "ahash 0.8.11", "anyhow", @@ -5191,7 +5192,7 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "2.0.0" +version = "5.0.0" dependencies = [ "indexmap 2.5.0", "petgraph", @@ -5201,7 +5202,7 @@ dependencies = [ [[package]] name = "swc_fast_ts_strip" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -5221,7 +5222,7 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "1.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "petgraph", @@ -5233,7 +5234,7 @@ dependencies = [ [[package]] name = "swc_html" -version = "1.0.0" +version = "5.0.0" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -5244,7 +5245,7 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "1.0.0" +version = "4.0.1" dependencies = [ "is-macro", "rkyv", @@ -5256,7 +5257,7 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "1.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -5283,7 +5284,7 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "1.0.0" +version = "5.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5314,7 +5315,7 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "1.0.0" +version = "4.0.0" dependencies = [ "codspeed-criterion-compat", "criterion", @@ -5331,7 +5332,7 @@ dependencies = [ [[package]] name = "swc_html_utils" -version = "1.0.0" +version = "4.0.0" dependencies = [ "once_cell", "serde", @@ -5342,7 +5343,7 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "1.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -5370,7 +5371,7 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "1.0.0" +version = "5.0.0" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -5399,7 +5400,7 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "1.0.0" +version = "4.0.0" dependencies = [ "dashmap 5.5.3", "swc_atoms", @@ -5436,7 +5437,7 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "1.0.0" +version = "4.0.0" dependencies = [ "better_scoped_tls", "rkyv", @@ -5448,7 +5449,7 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "1.0.0" +version = "4.0.0" dependencies = [ "anyhow", "codspeed-criterion-compat", @@ -5514,7 +5515,7 @@ dependencies = [ [[package]] name = "swc_typescript" -version = "1.0.1" +version = "4.0.0" dependencies = [ "swc_atoms", "swc_common", @@ -5527,7 +5528,7 @@ dependencies = [ [[package]] name = "swc_visit" -version = "1.0.0" +version = "2.0.0" dependencies = [ "either", "new_debug_unreachable", @@ -5539,7 +5540,7 @@ version = "0.1.0" [[package]] name = "swc_xml" -version = "1.0.0" +version = "4.0.0" dependencies = [ "swc_xml_ast", "swc_xml_codegen", @@ -5549,7 +5550,7 @@ dependencies = [ [[package]] name = "swc_xml_ast" -version = "1.0.0" +version = "4.0.1" dependencies = [ "is-macro", "serde", @@ -5560,7 +5561,7 @@ dependencies = [ [[package]] name = "swc_xml_codegen" -version = "1.0.0" +version = "4.0.0" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -5586,7 +5587,7 @@ dependencies = [ [[package]] name = "swc_xml_parser" -version = "1.0.0" +version = "4.0.0" dependencies = [ "serde", "serde_json", @@ -5599,7 +5600,7 @@ dependencies = [ [[package]] name = "swc_xml_visit" -version = "1.0.0" +version = "4.0.0" dependencies = [ "serde", "swc_atoms", @@ -5739,7 +5740,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "testing" -version = "1.0.0" +version = "4.0.0" dependencies = [ "ansi_term", "cargo_metadata", @@ -6098,9 +6099,9 @@ dependencies = [ [[package]] name = "triomphe" -version = "0.1.13" +version = "0.1.14" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "e6631e42e10b40c0690bf92f404ebcfe6e1fdb480391d15f17cc8e96eeed5369" +checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85" dependencies = [ "serde", "stable_deref_trait", @@ -6460,9 +6461,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" dependencies = [ "cfg-if", "once_cell", @@ -6471,9 +6472,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" dependencies = [ "bumpalo", "log", @@ -6486,9 +6487,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.43" +version = "0.4.45" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" +checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" dependencies = [ "cfg-if", "js-sys", @@ -6498,9 +6499,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -6508,9 +6509,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", @@ -6521,9 +6522,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-encoder" diff --git a/deps/swc/bindings/Cargo.lock b/deps/swc/bindings/Cargo.lock index 884e27da7..04a0c8519 100644 --- a/deps/swc/bindings/Cargo.lock +++ b/deps/swc/bindings/Cargo.lock @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "binding_core_wasm" -version = "1.7.40" +version = "1.9.2" dependencies = [ "anyhow", "getrandom", @@ -289,9 +289,9 @@ dependencies = [ [[package]] name = "binding_macros" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b081febea566d04e4b0703c3312e109266dbcf49d0d2e36a6328093f667adb79" +checksum = "d29a63405c9afe9297a10549caa8c489d882dd8b31eebc9e8de8500aed52cee3" dependencies = [ "anyhow", "console_error_panic_hook", @@ -336,7 +336,7 @@ dependencies = [ [[package]] name = "binding_minifier_wasm" -version = "1.7.40" +version = "1.9.2" dependencies = [ "anyhow", "getrandom", @@ -349,7 +349,7 @@ dependencies = [ [[package]] name = "binding_typescript_wasm" -version = "1.7.40" +version = "1.9.2" dependencies = [ "anyhow", "getrandom", @@ -1729,9 +1729,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "js-sys" -version = "0.3.70" +version = "0.3.72" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" +checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" dependencies = [ "wasm-bindgen", ] @@ -3402,9 +3402,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "swc" -version = "1.0.1" +version = "5.0.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "7f80b99e620fcc41104b767ef1a5b38c00ccaf0d62e51b65b8fdb09af873194f" +checksum = "39ce6c59d68f3ce3cbb01ea2329060180025933a0a937fcc4217bf7ef887572d" dependencies = [ "anyhow", "base64 0.21.7", @@ -3484,9 +3484,9 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ac0798c83bd6de7454030e4b2e8a9230a6a90cf757fc0ad3bb201ac2ac2be0e0" +checksum = "105cda3d6ce147baeb496270a7ba2c90470b5c3dd50081d8be6c3a2eccb5559a" dependencies = [ "anyhow", "crc", @@ -3530,7 +3530,7 @@ dependencies = [ [[package]] name = "swc_cli" -version = "0.91.434" +version = "0.91.445" dependencies = [ "anyhow", "swc_cli_impl", @@ -3538,9 +3538,9 @@ dependencies = [ [[package]] name = "swc_cli_impl" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d296a84988f17e55a5bfabdd2f8c064df3a1d38dc64c5aaef2c1a3ffe404ffad" +checksum = "f532bc0248e6d9b19550da4d5b4f37ee01671a54061edf4e14e004eda81d5e07" dependencies = [ "anyhow", "clap", @@ -3561,9 +3561,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "e8505eddfd6488cde74b0e80a4b959b12392a8a15eb62243d45eb82cf568b9b9" +checksum = "053e784870430ba47043278626e75686e745ac16876a8f5f4d6c9f39354ee7e7" dependencies = [ "ahash 0.8.11", "anyhow", @@ -3593,9 +3593,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "7194d052fbd71f5ef0c7d22c50f906f19fb1131654dca545bbaf893f644a6e01" +checksum = "93642202236e85434c36ec37daee144d4faf05d5495a4187228f9b03e6b4db88" dependencies = [ "anyhow", "base64 0.21.7", @@ -3648,9 +3648,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "1.0.6" +version = "5.0.3" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "96b7dd29fabd11e202fae26771d6a3fa5f9417ed87ba3847dcd76382b5c44caf" +checksum = "3af6c750cb739d60e6b135f9f765906a0cfaf8732ab3b18093a88beb059bcbbc" dependencies = [ "binding_macros", "swc", @@ -3676,9 +3676,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "1.0.0" +version = "4.0.1" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "216c379c04fb5740ba824bed01c80f701fc987abe7ebe3c17ca884619adae0be" +checksum = "f3c0d7f6c3485edee176e31495ef4e485d6f629bce53dde64fc1b897050d6daf" dependencies = [ "is-macro", "string_enum", @@ -3688,9 +3688,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "bde5ed19d6407091ec839654dd9ef461fe1729e30dadbcbaa2426d85538a894e" +checksum = "76297590ad5c4c102ddc88beb1de5f7cb7120a86996e7fff7396f0247ac099ab" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -3717,9 +3717,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "98ad75e982df2f5c727b4accf0f07be766736e7cc82dec9a573c0d3fd7c4796b" +checksum = "b91ce81c2389210479ced310347e9ceb92034f344b36bb107fa523bb02cbfd09" dependencies = [ "serde", "swc_atoms", @@ -3731,9 +3731,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "622aaac491256c52da8a303e982e0649cf864fc1c8bc1cecc342475826999d25" +checksum = "52eaea47f26a2a5588437d307542dfeae87267aaddc1298d9b785e63cff63802" dependencies = [ "lexical", "serde", @@ -3744,9 +3744,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "812dd6ff3a4311d0bed04a35cbe22806e7f018d2e4a83b8a40790b513c38ca14" +checksum = "1302ba659075b796e69a7cd902dc19197ab77e62f1084c292c5f09b0e92e8f2d" dependencies = [ "once_cell", "serde", @@ -3759,9 +3759,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c93e801cb6ac36d9466de3411633140b279600fb9dc5c3e3e8b0c53d885e6582" +checksum = "2958522963576e8c5d183e5f111d8ad87f4403580c3e57031af192f2d26d2556" dependencies = [ "serde", "swc_atoms", @@ -3772,9 +3772,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "1.0.0" +version = "4.0.1" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "6795be2785b968ccff06096bc758b306459f05fc936e6363b4dd39fb27fba22a" +checksum = "1bdab7759509c1b37ec77bd9fc231f525b888d9609c2963ce71995da1b27357c" dependencies = [ "bitflags 2.6.0", "bytecheck", @@ -3787,14 +3787,15 @@ dependencies = [ "string_enum", "swc_atoms", "swc_common", + "swc_visit", "unicode-id-start", ] [[package]] name = "swc_ecma_codegen" -version = "1.0.0" +version = "4.0.2" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "7ae4fee003ef373adef1ff2af1e73607925f510a8105a5e368c1aa655ece9a41" +checksum = "e474f6c2671524dbb179b44a36425cb1a58928f0f7211c45043f0951a1842c5d" dependencies = [ "memchr", "num-bigint", @@ -3824,9 +3825,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "057714c6d55ef69a015b8d2b21d146514c7d408773e7682e18454e9c1d76d6d8" +checksum = "1329a40848de17863db27ab4d8840f5aa6a79e6655bab2a5abe0f4e7f5c56d6a" dependencies = [ "swc_atoms", "swc_common", @@ -3841,9 +3842,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_common" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a83e449bb6dfc864f665ff5967f8ade2efdf61c50b0b2094e0e2770dca017e28" +checksum = "c5d585318a0d8ad1465d68fb10c29674d41988f59f4fab1e162a2f0bf13dbdc2" dependencies = [ "swc_common", "swc_ecma_ast", @@ -3854,9 +3855,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "9387845cb37b7e09e94625e42080a7b20242f7f3d445f641678fded1ee78ecdd" +checksum = "27be5007d501b111706bb5e055a57388aeda89b5b13613831a285e4571575400" dependencies = [ "arrayvec", "indexmap 2.4.0", @@ -3881,9 +3882,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "89ed78da21bb08165fc6482f9e18fd9d855151f1ceceb52ac479670daf638a93" +checksum = "4a329b3d6bcc4bebab396a556ec6accda6f7d4a8a1126ded05f2c7a705c6343e" dependencies = [ "swc_atoms", "swc_common", @@ -3898,9 +3899,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "f07d95be4b1b211cdd5037387f5bb9bf71a24b1f0511667b10113d4c081c7e4b" +checksum = "ec0a6f9d438b79763da23e9eb20f10c3d7f39d4c301047fef89a7e4c7cc1d3e7" dependencies = [ "serde", "swc_atoms", @@ -3916,9 +3917,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a3c8fa68f4f4d9b9185ad67aee6055eec2cecf0b873c4ed3fe52cda54516c778" +checksum = "d80354d791823c0fe754c5b9d35510e519261763e7871c6b3b15c57d54af928a" dependencies = [ "serde", "swc_atoms", @@ -3935,9 +3936,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "007e7708253adba943bc5c099fb50176c37090bbf9eddc3579f8806f4c6d5245" +checksum = "d9389a8364fd44f041302b09ce46d54d42de033737597cf481c2bdc09ac8a899" dependencies = [ "swc_atoms", "swc_common", @@ -3951,9 +3952,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "2fb6997a7425e5a5ed48939bd470d044214a24c9b63760a131baa5eb8e3072f8" +checksum = "74b6f3a00525d801fd9c019570886edd9e4057aae45349bcf934260b0e1fb13f" dependencies = [ "serde", "swc_atoms", @@ -3969,9 +3970,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "87f813956f45bb0ddc59e3e74798ab13d323dc7d7994de7215edd97a374ee4db" +checksum = "3c59d09c7146386ca51e3eb225f4c7b392d7d9020742e7cf47bc3c4ceb6aa4a6" dependencies = [ "swc_atoms", "swc_common", @@ -3985,9 +3986,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "205d58536ba7cbb4333bf73dc15da14dc3749f77a790c995fa123ffb3e007007" +checksum = "0947eca60f422bf25f926e06ebcde5f3189df7fb7fc9c4f0d07fcb6a90bd0acf" dependencies = [ "swc_atoms", "swc_common", @@ -4004,9 +4005,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es3" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b6399dec3eb785ecd4a910c89640ea711be532cb636d906c14f5cba88a626c64" +checksum = "2241d79bc42ab25133b9107c0ec08aef55503dde6dac85debae7ba750b21afd4" dependencies = [ "swc_common", "swc_ecma_ast", @@ -4019,9 +4020,9 @@ dependencies = [ [[package]] name = "swc_ecma_ext_transforms" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "0707b57d10bb5e4cc5cec0ffad61da132a521ab1cf91f36dcc1af5d31ee07ee7" +checksum = "b22832b3a044b1c136e2e36507da109e7882f43de959e5b8bf47f7e15eab20ef" dependencies = [ "phf 0.11.2", "swc_atoms", @@ -4033,9 +4034,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "4ca5f88f6282fc64b19fcfea238afd24cb4a16c028861743323d07df137550c6" +checksum = "b48790267b801843d341b4b1e4932a270e34a2998e0d8f66bca91cae819c65c5" dependencies = [ "auto_impl", "dashmap 5.5.3", @@ -4053,9 +4054,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "2a3437031ac49f5fdc5f236a9263bb4cab144d34864cf530767b1bf53d3ca75a" +checksum = "be7c9ada6dc917b70f94cdff91cff1ac95f3d6693202109170ff5268ff4c0d1f" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -4075,9 +4076,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "1.0.3" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d2b3895021ae4fa6fe7c6c6d87293721b163d01d4cecafd16532aaa95239dd67" +checksum = "ba0fa4819b1353cbe5e15fabbc1618e0da6c51404214042457d3dd7a60e14960" dependencies = [ "arrayvec", "indexmap 2.4.0", @@ -4111,9 +4112,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "af8beb1639d45a3b6b5d0f2e9aa9f99833608b7c9c4596465035bea38264407b" +checksum = "54c5ab8bd4cc4a4956514699c84d1a25cdb5a33f5ec760ec64ce712e973019c9" dependencies = [ "either", "new_debug_unreachable", @@ -4133,9 +4134,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ef1ece4f571841a978305f300f65e52f6e8ffbcbe94b8fab4e576b63a96b02d1" +checksum = "536d242fcc9ae6dfcb3bf0fb1a0b087b20feca33e070aa51d585acbf8ac1ba5d" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -4158,9 +4159,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b19ea1b66e4e99ae56d8645b763cc55683201c3b373c36c3c6876d279312ca63" +checksum = "1600bc245ac36783f219678d0831ffb8aeee7ab06908c394fc1da9be1b0fd16a" dependencies = [ "swc_atoms", "swc_common", @@ -4178,9 +4179,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "877c2f948b02c5dc9f97765a80de7ac12eac004b2b45ee3db68a0c15d57c14a2" +checksum = "f0a2438f61a45819b5adf0c338c92c07d83306d630fb2e6dc261c60fb75653d7" dependencies = [ "better_scoped_tls", "bitflags 2.6.0", @@ -4202,9 +4203,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a82f5b18390f80e0cb0de3a4586db34f6092b419a49b1689ca2b0e8bedae7318" +checksum = "63a93f8b41f89e08edf77f70a8fa959cd3b84d396c2c6a3e0b0cca62f1b89683" dependencies = [ "swc_atoms", "swc_common", @@ -4216,9 +4217,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "e8cc2d31ec8ed2f65ebc6461a931befc6d9e48438d28fb612a30038694a76227" +checksum = "09ca64973f33eb69cc29b9d1a432e6eebfbffa281be128318f8754013557a69e" dependencies = [ "arrayvec", "indexmap 2.4.0", @@ -4265,9 +4266,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "09e711b88fd1c7127a7a26245a2bc9f98505969eb181709153ea7696abae1459" +checksum = "a0487647586521fd66e937127fe8ce39edffbc5b96138c264ff0ba58786430bd" dependencies = [ "Inflector", "anyhow", @@ -4292,9 +4293,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "04e01c27c2855f23341d26ab9267cb8e1518657b334ed0da2a0ce0864a0d9569" +checksum = "f63d691ccea03a8eb25f37c7498e7609ad76ca3dc2070b630596e49f0b8fd1f4" dependencies = [ "dashmap 5.5.3", "indexmap 2.4.0", @@ -4317,9 +4318,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "41de2c46fec9160b85959498285e5ed7a5bbfeb7af14badab339d4d13f2d21b3" +checksum = "bc94b9be02d6ce4754b56222375be1684c9135cfea76bda13820d97beffbd804" dependencies = [ "either", "rustc-hash", @@ -4337,9 +4338,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "240b46d37c929693ecbfecdd8023b3f2b50d52d46b9329df4dad705713c15a36" +checksum = "90002fdbe17f10c84cb29a102154a30ee5ad3e7165f0610d18ba8aa3a592924c" dependencies = [ "base64 0.21.7", "dashmap 5.5.3", @@ -4363,9 +4364,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "8ad90eae9f05e0d6d533cae2da4c6d5d1a084d04bf820c20a1c7a26bbf44db48" +checksum = "f67d5ff2ec723d075db340ac155877fea9607186f179e41ef2116aeef960a2cf" dependencies = [ "ryu-js", "serde", @@ -4380,9 +4381,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d2562c904e49bee2b1ee0b56a18bd5e2526202d325450fc48e8cf24b953b3375" +checksum = "89892c33cf84806957c34539cb84a26c69f6d2c7c8d9ae3131113105852f1d60" dependencies = [ "indexmap 2.4.0", "rustc-hash", @@ -4397,9 +4398,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "1.0.1" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d3608f6babd45a29875b06b583fc2aa24b756b5aab8fabfe87e4b4371b8d43ba" +checksum = "024a9ee9a19f448b31af002b90c43b9dfdb4e1fad23c76c21fe26a7c6e0f78a7" dependencies = [ "indexmap 2.4.0", "num_cpus", @@ -4417,9 +4418,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d9cc511aa14bf58a6bc66815e78b76a4fed15f148681856d8d9b0456577050aa" +checksum = "642c58202491c273ea984e0d7e923319afe0f94195d2985b3e7f71f7d8232e06" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -4444,9 +4445,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "2.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "fca3b3c6da0e2d659c8a5cc6d0a1c76fe3272ae1d55e93e48c74de655271142b" +checksum = "fb4a3c124af5d297d98e6c18776ba04024087cde14602621017e8e9c6cd1c2d1" dependencies = [ "anyhow", "miette", @@ -4457,9 +4458,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "2.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1ca7ec2681ee91fd5a8dc83dd202d71aae2356e3bb12597d329aad1264bb3495" +checksum = "3f65856acf41991a43d47d19ca947ee34f1152fccc42f048063c64eaf45a8e26" dependencies = [ "indexmap 2.4.0", "petgraph", @@ -4469,9 +4470,9 @@ dependencies = [ [[package]] name = "swc_fast_ts_strip" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1541527c41da4eab4c9d58d7e200040ec023b5349bfb9668b8224415672df519" +checksum = "60294cacb020097c965b2a89187f0e43cb9f3133f21c7b55a64477db8e3036d8" dependencies = [ "anyhow", "serde", @@ -4488,9 +4489,9 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c8b4a5c8f0dced3e1e51580b9fcdbc4cc68c56b4122674e031a6754746a8532f" +checksum = "832a887afe5373c3e3f149e5b9dd2b8c8c080d3816224caa410e05a0abcf23fe" dependencies = [ "auto_impl", "petgraph", @@ -4501,9 +4502,9 @@ dependencies = [ [[package]] name = "swc_html" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "e8ebda2a4990413321ecf9e09aef375d8b32b34d31543be75eb67a4562a956e8" +checksum = "e0272accbf9469f5c0b37648c9adc30367f644e1017fe35e10cbdbbf794145d5" dependencies = [ "swc_html_ast", "swc_html_codegen", @@ -4513,9 +4514,9 @@ dependencies = [ [[package]] name = "swc_html_ast" -version = "1.0.0" +version = "4.0.1" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "5d5d7a6d2dc82e3e0e37cce765435ea88574c6441f799f7478552edc3b1d777c" +checksum = "65b872630925fef24cf712ff7be1782151371ab5ae2240b1f259611ea3a0c628" dependencies = [ "is-macro", "serde", @@ -4526,9 +4527,9 @@ dependencies = [ [[package]] name = "swc_html_codegen" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "3012cbdedfafafd7ad9eac595f2cde8d12169314ffe039019fe95315c25787d2" +checksum = "ce61fd095f77b21deb2fec7c130b82c9a06efbd63907a0cec13cd48246b5b52a" dependencies = [ "auto_impl", "bitflags 2.6.0", @@ -4554,9 +4555,9 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "176155050c77c7741366ae6423caf0b8f2c731a2596c2b5aa64ef466406d483d" +checksum = "9d086167f70ee136bdf58a8697776e6bb7bcb477845520d677ad9da15bbdbf29" dependencies = [ "once_cell", "serde", @@ -4583,9 +4584,9 @@ dependencies = [ [[package]] name = "swc_html_parser" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "746245cc4f2dece69422df8a1d5f4c6424f5ddb813add44d633492225c8522ac" +checksum = "70adabd18bc9a4d34a2b59200335edda6aff732c89103e3bfaecf0faa936744c" dependencies = [ "swc_atoms", "swc_common", @@ -4595,9 +4596,9 @@ dependencies = [ [[package]] name = "swc_html_utils" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ffbb59303f9ee157b99e78255ca2a46d4bcead61945e8043973548f17709c744" +checksum = "05e755211286e6e683c7f2c1e10ae97bf8679a68e54c9a4b24b3136dcbe4ca73" dependencies = [ "once_cell", "serde", @@ -4608,9 +4609,9 @@ dependencies = [ [[package]] name = "swc_html_visit" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "0ef54997f934325b477b9eff387abca082bac9e126b67f586fffed0b1b0ae24e" +checksum = "a4b9dc3d5980d09196fcac3c54a7d5b4695f74c50da68bef4f7d4eb14fb769ce" dependencies = [ "serde", "swc_atoms", @@ -4642,9 +4643,9 @@ dependencies = [ [[package]] name = "swc_node_bundler" -version = "1.0.0" +version = "5.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "e145c1055ef2296ba04e3b6fc6b202f9b48c8db394490c7b3540f7bb11b5a0e8" +checksum = "db14c5b326234caed8fdd6238df2f9e5346577e549e5985a016c58faa74bd2a1" dependencies = [ "anyhow", "dashmap 5.5.3", @@ -4671,9 +4672,9 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "89487176679eb1e1f71af72f3c5b97cdf0162275fe2b9b8033153353b9becd3a" +checksum = "ac391ef93674dd641bdecb940152de4684fa33822777dcdf8108115f013ce365" dependencies = [ "dashmap 5.5.3", "swc_atoms", @@ -4696,9 +4697,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d2b12f6e1064370116757b9aebc33ab82c123eabc635d00b38770a1f2dbebdc8" +checksum = "6749c4027aad79cf648ffce6633100ea01a7b0d6cf17299cfa68ce141897c26c" dependencies = [ "better_scoped_tls", "rkyv", @@ -4710,9 +4711,9 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "1.0.0" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b6926f8af80f66d3c01d609a0f235512b1347b5371f61c6cab3a5ad7df2bbb06" +checksum = "be45f93cebf20ea67f00de9b202722c4f555f83c7578790ff3d55799811357b6" dependencies = [ "anyhow", "enumset", @@ -4768,9 +4769,9 @@ dependencies = [ [[package]] name = "swc_typescript" -version = "1.0.1" +version = "4.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "07f1686ae423a3b8868a6ce69446feef89b256642b6b57d38f2ed27bdfac7ba2" +checksum = "fbc49333e23eac4f485ee976267d1f81648637c1abe2b904641f28b00a1a514e" dependencies = [ "swc_atoms", "swc_common", @@ -4780,9 +4781,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "1.0.0" +version = "2.0.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b40b33e89a4fe7b07b39665f81203a83ffecb3a930522b6ad075716ee6dad637" +checksum = "9138b6a36bbe76dd6753c4c0794f7e26480ea757bee499738bedbbb3ae3ec5f3" dependencies = [ "either", "new_debug_unreachable", @@ -5515,9 +5516,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" dependencies = [ "cfg-if", "once_cell", @@ -5526,9 +5527,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" dependencies = [ "bumpalo", "log", @@ -5541,9 +5542,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.43" +version = "0.4.45" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" +checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" dependencies = [ "cfg-if", "js-sys", @@ -5553,9 +5554,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5563,9 +5564,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", @@ -5576,9 +5577,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.93" +version = "0.2.95" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-encoder" diff --git a/deps/swc/bindings/Cargo.toml b/deps/swc/bindings/Cargo.toml index e1ccb55e9..c16fab680 100644 --- a/deps/swc/bindings/Cargo.toml +++ b/deps/swc/bindings/Cargo.toml @@ -26,20 +26,20 @@ resolver = "2" sourcemap = "8.0.1" swc_atoms = "2.0.0" swc_cached = "1.0.0" - swc_cli_impl = "1.0.0" - swc_common = "1.0.0" - swc_compiler_base = "1.0.0" + swc_cli_impl = "5.0.0" + swc_common = "4.0.0" + swc_compiler_base = "5.0.0" swc_config = "1.0.0" - swc_core = "1.0.6" - swc_css_ast = "1.0.0" - swc_css_codegen = "1.0.0" - swc_css_minifier = "1.0.0" - swc_css_parser = "1.0.0" - swc_error_reporters = "2.0.0" - swc_fast_ts_strip = "1.0.0" - swc_html = "1.0.0" - swc_html_ast = "1.0.0" - swc_html_minifier = "1.0.0" + swc_core = "5.0.3" + swc_css_ast = "4.0.1" + swc_css_codegen = "4.0.0" + swc_css_minifier = "4.0.0" + swc_css_parser = "4.0.0" + swc_error_reporters = "5.0.0" + swc_fast_ts_strip = "5.0.0" + swc_html = "5.0.0" + swc_html_ast = "4.0.1" + swc_html_minifier = "5.0.0" swc_malloc = "1.0.0" swc_nodejs_common = "1.0.0" tracing = "0.1.40" diff --git a/deps/swc/bindings/binding_core_wasm/Cargo.toml b/deps/swc/bindings/binding_core_wasm/Cargo.toml index 9670706c3..f7ce3d6f3 100644 --- a/deps/swc/bindings/binding_core_wasm/Cargo.toml +++ b/deps/swc/bindings/binding_core_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_core_wasm" publish = false repository = "/~https://github.com/swc-project/swc.git" -version = "1.7.40" +version = "1.9.2" [lib] bench = false diff --git a/deps/swc/bindings/binding_minifier_node/src/minify.rs b/deps/swc/bindings/binding_minifier_node/src/minify.rs index 051e2d2fe..7cb2181bb 100644 --- a/deps/swc/bindings/binding_minifier_node/src/minify.rs +++ b/deps/swc/bindings/binding_minifier_node/src/minify.rs @@ -184,7 +184,7 @@ fn do_work( let is_mangler_enabled = min_opts.mangle.is_some(); let module = { - let module = module.fold_with(&mut resolver(unresolved_mark, top_level_mark, false)); + let module = module.apply(resolver(unresolved_mark, top_level_mark, false)); let mut module = swc_core::ecma::minifier::optimize( module, diff --git a/deps/swc/bindings/binding_minifier_wasm/Cargo.toml b/deps/swc/bindings/binding_minifier_wasm/Cargo.toml index 2466c0068..a388bb92e 100644 --- a/deps/swc/bindings/binding_minifier_wasm/Cargo.toml +++ b/deps/swc/bindings/binding_minifier_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_minifier_wasm" publish = false repository = "/~https://github.com/swc-project/swc.git" -version = "1.7.40" +version = "1.9.2" [lib] bench = false diff --git a/deps/swc/bindings/binding_typescript_wasm/Cargo.toml b/deps/swc/bindings/binding_typescript_wasm/Cargo.toml index b361f72f1..339f5b0e9 100644 --- a/deps/swc/bindings/binding_typescript_wasm/Cargo.toml +++ b/deps/swc/bindings/binding_typescript_wasm/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "binding_typescript_wasm" publish = false repository = "/~https://github.com/swc-project/swc.git" -version = "1.7.40" +version = "1.9.2" [lib] bench = false diff --git a/deps/swc/bindings/swc_cli/Cargo.toml b/deps/swc/bindings/swc_cli/Cargo.toml index cd4930f5a..2d4a2b341 100644 --- a/deps/swc/bindings/swc_cli/Cargo.toml +++ b/deps/swc/bindings/swc_cli/Cargo.toml @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0" name = "swc_cli" repository = "/~https://github.com/swc-project/swc.git" -version = "0.91.434" +version = "0.91.445" [[bin]] bench = false