From 024ee9f43b7716ba19f81600ed410a90f6a3e59a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 01:59:15 +0000 Subject: [PATCH] fix(deps): update swc monorepo --- rust/Cargo.lock | 91 +++++++++++++++++++-------------------- rust/parse_ast/Cargo.toml | 4 +- 2 files changed, 47 insertions(+), 48 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index aabdad9c6b7..c9c0ea78597 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -272,9 +272,9 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "fixedbitset" -version = "0.4.2" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" [[package]] name = "form_urlencoded" @@ -718,6 +718,25 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f222829ae9293e33a9f5e9f440c6760a3d450a64affe1846486b140db81c1f4" +[[package]] +name = "par-core" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b506ab63a8bd3cd38858c7bfc2d078a189dc3210c7f8c9be1bbaf50c082a0ae" +dependencies = [ + "once_cell", +] + +[[package]] +name = "par-iter" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a5b20f31e9ba82bfcbbb54a67aa40be6cebec9f668ba5753be138f9523c531a" +dependencies = [ + "either", + "par-core", +] + [[package]] name = "parking_lot" version = "0.12.3" @@ -768,9 +787,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "petgraph" -version = "0.6.5" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" dependencies = [ "fixedbitset", "indexmap", @@ -1210,9 +1229,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "13.0.1" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278d50af64cf07f4e9893a294b5b25488de48de56e352fc5cdebff985854ecd8" +checksum = "806774262e8cc665d986364c109bdaa91eeadebf71402df6894c7c3c2be92795" dependencies = [ "anyhow", "base64", @@ -1282,9 +1301,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "8.0.2" +version = "8.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92103aa982740f265d6850bb3ffffbf6c3c1dee30ab0ed25117ca553f0d7467d" +checksum = "f131ade75f9a3cfea38dbce11893f5636b0954de973ad29a2556124322a08372" dependencies = [ "ascii", "compact_str", @@ -1317,15 +1336,17 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "12.4.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7856c7095f57c0990ba9c22d18469d57b9f68e851cf27d8d99b5a0238648f0ce" +checksum = "fb6c3ea74a80bf1d21bba94f823aa9e90f903b81b345f99c1595faf87d732c63" dependencies = [ "arrayvec", "indexmap", "num-bigint", "num_cpus", "once_cell", + "par-core", + "par-iter", "parking_lot", "phf", "radix_fmt", @@ -1346,16 +1367,15 @@ dependencies = [ "swc_ecma_usage_analyzer", "swc_ecma_utils", "swc_ecma_visit", - "swc_parallel", "swc_timer", "tracing", ] [[package]] name = "swc_ecma_parser" -version = "10.0.2" +version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edfbfa5baabd14901a310f9d55d991625787d27d94de5c38a1a2ef85ebc19c97" +checksum = "41e06ecaef86a547831f7f01f342434e4b0d0f363762f8e7a2b84da7a0a5f92e" dependencies = [ "either", "new_debug_unreachable", @@ -1376,14 +1396,15 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "11.2.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39889063ff4819eae414dfe6426aa5cd72ebb0f9f48739a1fa1e7eb82d0adc78" +checksum = "b0b747f04a004d9b56b903305e4567e1d30c9cd226a8310a29cac06f7ac8173a" dependencies = [ "better_scoped_tls", "bitflags", "indexmap", "once_cell", + "par-core", "phf", "rustc-hash 2.1.1", "serde", @@ -1394,7 +1415,6 @@ dependencies = [ "swc_ecma_parser", "swc_ecma_utils", "swc_ecma_visit", - "swc_parallel", "tracing", ] @@ -1412,13 +1432,14 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "11.1.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c0a8368b173d030aa2fb43688dcae11a98332239c902ccd97002327a1573f3" +checksum = "6646a0a5e3662a2a86369a42f5203f1c92584c37502f9b79d4d10613db0c1fb3" dependencies = [ "dashmap", "indexmap", "once_cell", + "par-core", "petgraph", "rustc-hash 2.1.1", "serde_json", @@ -1430,16 +1451,14 @@ dependencies = [ "swc_ecma_transforms_macros", "swc_ecma_utils", "swc_ecma_visit", - "swc_fast_graph", - "swc_parallel", "tracing", ] [[package]] name = "swc_ecma_usage_analyzer" -version = "12.0.2" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8af89be14ef84b16529f89a70972c7f85b0e9e2599ea09d9f7c3e5b186b8f225" +checksum = "037ca87d5d7c72a341f1aef8059b7eeca4785fedca7361e6d380f749a6f53c58" dependencies = [ "indexmap", "rustc-hash 2.1.1", @@ -1454,20 +1473,21 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "11.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721dc779e7de200da96ac4002c710bc32c988e3e1ebf62b39d32bf99f14d9765" +checksum = "71d6c8ba7d987dcc254f05ad2c23e7a6ec3f259611af2923a8c1a0602556cd21" dependencies = [ "indexmap", "num_cpus", "once_cell", + "par-core", + "par-iter", "rustc-hash 2.1.1", "ryu-js", "swc_atoms", "swc_common", "swc_ecma_ast", "swc_ecma_visit", - "swc_parallel", "tracing", "unicode-id", ] @@ -1498,18 +1518,6 @@ dependencies = [ "syn", ] -[[package]] -name = "swc_fast_graph" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd24b9798b0538803d0a69cffa5f5e051087fa2bd0d23e5a2f05d32edf9ab671" -dependencies = [ - "indexmap", - "petgraph", - "rustc-hash 2.1.1", - "swc_common", -] - [[package]] name = "swc_macros_common" version = "1.0.0" @@ -1521,15 +1529,6 @@ dependencies = [ "syn", ] -[[package]] -name = "swc_parallel" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f16052d5123ec45c1c49100781363f3f4e4a6be2da6d82f473b79db1e3abeb8" -dependencies = [ - "once_cell", -] - [[package]] name = "swc_timer" version = "1.0.0" diff --git a/rust/parse_ast/Cargo.toml b/rust/parse_ast/Cargo.toml index 7ee9cb37ed6..0d26d587a75 100644 --- a/rust/parse_ast/Cargo.toml +++ b/rust/parse_ast/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] anyhow = "1.0.97" swc_atoms = "5.0.0" -swc_compiler_base = "13.0.1" +swc_compiler_base = "15.0.0" swc_common = { version = "8.0.1", features = ["parking_lot"] } swc_ecma_ast = "8.1.0" -swc_ecma_parser = "10.0.2" +swc_ecma_parser = "11.0.0" parking_lot = "0.12.3"