From 265d95e81d436d79af166f41b51cd34342425b53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:13:18 +0000 Subject: [PATCH] Bump swc_core from 8.0.1 to 10.0.1 (#870) --- Cargo.lock | 39 +++++++++++++++++++++++++-------------- crates/cli/Cargo.toml | 2 +- supply-chain/config.toml | 18 +++++++++++------- 3 files changed, 37 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5d34fb9f..458dd234 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1368,9 +1368,9 @@ dependencies = [ [[package]] name = "hstr" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412" +checksum = "63d6824358c0fd9a68bb23999ed2ef76c84f79408a26ef7ae53d5f370c94ad36" dependencies = [ "hashbrown 0.14.5", "new_debug_unreachable", @@ -2710,9 +2710,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "3.0.0" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "151a6feb82b989a087433baca7f6a6eb4fcf83f828c479eecd039c9312d60e10" +checksum = "a640bf2e4430a149c87b5eaf377477ce8615ca7cb808054dd20e79e42da5d6ba" dependencies = [ "hstr", "once_cell", @@ -2749,9 +2749,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "8.0.1" +version = "10.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324e9dc1ddc05bb3ccef6b7541177a4bf7ae25ccaee65832a45a8c20a968ed80" +checksum = "859def2fe912fe5db391cae719574bfe7e7f03ab88ae2ed3c850e16852257353" dependencies = [ "swc_allocator", "swc_atoms", @@ -2764,9 +2764,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "5.0.0" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94cf86f17358b93fcfe2876a9f0f7a7ebbff94cd6eaab4c809c7a0da1f4b892e" +checksum = "82f448db2d1c52ffd2bd3788d89cafd8b5a75b97f0dc8aae00874dda2647f6b6" dependencies = [ "bitflags", "is-macro", @@ -2782,9 +2782,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "6.0.0" +version = "6.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2c361b4153905dc088a6bacfaa944b582305cf94fbfcaa9b3aa61a7dd3adbf9" +checksum = "f92ea41c3c3f0fe77991fee96b91bc4c7af43b55fdb6564fdc31b8c2d0b1e220" dependencies = [ "either", "new_debug_unreachable", @@ -2804,9 +2804,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "6.0.1" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2409f9c896f99481d9f609de89c7786ccd0dba008650a4116f1aef7a58926422" +checksum = "09fdc36d220bcd51f70b1d78bdd8c1e1a172b4e594c385bdd9614b84a7c0e112" dependencies = [ "better_scoped_tls", "bitflags", @@ -2822,14 +2822,15 @@ dependencies = [ "swc_ecma_parser", "swc_ecma_utils", "swc_ecma_visit", + "swc_parallel", "tracing", ] [[package]] name = "swc_ecma_utils" -version = "6.0.0" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "527fad9bdb16883782d55291fd3330925b3572f512ef89b3d92a29e2f713fe4f" +checksum = "1c9d22b4883dc6d6c21a8216bbf5aacedd7f104230b1557367ae126a2ec3a2b5" dependencies = [ "indexmap 2.7.0", "num_cpus", @@ -2840,6 +2841,7 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_visit", + "swc_parallel", "tracing", "unicode-id", ] @@ -2881,6 +2883,15 @@ dependencies = [ "syn 2.0.95", ] +[[package]] +name = "swc_parallel" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7cde1a0f344924be62d01de0c8a98e840feae271b77dc8c1d9d2e340687225c" +dependencies = [ + "once_cell", +] + [[package]] name = "swc_visit" version = "2.0.0" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 8c0c2e46..56146844 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -22,7 +22,7 @@ wasmtime = { workspace = true } wasmtime-wasi = { workspace = true } wasi-common = { workspace = true } walrus = "0.23.3" -swc_core = { version = "8.0.1", features = [ +swc_core = { version = "10.0.1", features = [ "common_sourcemap", "ecma_ast", "ecma_parser", diff --git a/supply-chain/config.toml b/supply-chain/config.toml index 9085fa71..2350f029 100644 --- a/supply-chain/config.toml +++ b/supply-chain/config.toml @@ -304,7 +304,7 @@ version = "0.5.9" criteria = "safe-to-deploy" [[exemptions.hstr]] -version = "0.2.12" +version = "0.2.15" criteria = "safe-to-deploy" [[exemptions.iana-time-zone]] @@ -572,7 +572,7 @@ version = "2.0.0" criteria = "safe-to-deploy" [[exemptions.swc_atoms]] -version = "3.0.0" +version = "3.0.2" criteria = "safe-to-deploy" [[exemptions.swc_common]] @@ -580,23 +580,23 @@ version = "5.0.0" criteria = "safe-to-deploy" [[exemptions.swc_core]] -version = "8.0.1" +version = "10.0.1" criteria = "safe-to-deploy" [[exemptions.swc_ecma_ast]] -version = "5.0.0" +version = "5.0.1" criteria = "safe-to-deploy" [[exemptions.swc_ecma_parser]] -version = "6.0.0" +version = "6.0.1" criteria = "safe-to-deploy" [[exemptions.swc_ecma_transforms_base]] -version = "6.0.1" +version = "7.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_utils]] -version = "6.0.0" +version = "7.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_visit]] @@ -611,6 +611,10 @@ criteria = "safe-to-deploy" version = "1.0.0" criteria = "safe-to-deploy" +[[exemptions.swc_parallel]] +version = "1.0.1" +criteria = "safe-to-deploy" + [[exemptions.swc_visit]] version = "2.0.0" criteria = "safe-to-deploy"