From 516006abde4567e4a1bf3e50975c24ee32e065b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:58:35 +0000 Subject: [PATCH] Bump swc_core from 0.106.3 to 4.0.0 (#804) --- Cargo.lock | 69 ++++++++++++++++++++-------------------- crates/cli/Cargo.toml | 2 +- supply-chain/config.toml | 34 ++++++++++---------- 3 files changed, 53 insertions(+), 52 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ba698a89..cf9e7ee8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -174,9 +174,9 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "ast_node" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4d23a6d1d5f18bdbc06d9aa908880e5f49205156ba804751af731c51f5cf81a" +checksum = "94741d66bdda032fcbf33e621b4e3a888d7d11bd3ac4446d82c5593a136936ff" dependencies = [ "proc-macro2", "quote", @@ -233,9 +233,9 @@ dependencies = [ [[package]] name = "better_scoped_tls" -version = "0.1.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794edcc9b3fb07bb4aecaa11f093fd45663b4feadb782d68303a2268bc2701de" +checksum = "50fd297a11c709be8348aec039c8b91de16075d2b2bdaee1bd562c0875993664" dependencies = [ "scoped-tls", ] @@ -1099,9 +1099,9 @@ dependencies = [ [[package]] name = "from_variant" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d8947525c49c73130b5a7187b55b027b6b78fe60268d9f4c283ed690698cb1" +checksum = "8d7ccf961415e7aa17ef93dcb6c2441faaa8e768abe09e659b908089546f74c5" dependencies = [ "proc-macro2", "swc_macros_common", @@ -1352,9 +1352,9 @@ dependencies = [ [[package]] name = "hstr" -version = "0.2.10" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96274be293b8877e61974a607105d09c84caebe9620b47774aa8a6b942042dd4" +checksum = "dae404c0c5d4e95d4858876ab02eecd6a196bb8caa42050dfa809938833fc412" dependencies = [ "hashbrown 0.14.5", "new_debug_unreachable", @@ -2637,9 +2637,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "string_enum" -version = "0.4.4" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e383308aebc257e7d7920224fa055c632478d92744eca77f99be8fa1545b90" +checksum = "c9fe66b8ee349846ce2f9557a26b8f1e74843c4a13fb381f9a3d73617a5f956a" dependencies = [ "proc-macro2", "quote", @@ -2674,9 +2674,9 @@ dependencies = [ [[package]] name = "swc_allocator" -version = "0.1.9" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7016ee7a5186d6a80e381aa1926e0f3c7b06eaf444745ff7af3632e978eb8dc5" +checksum = "52cacc28f0ada8e4e31a720dd849ff06864b10e6ab0a1aaa99c06456cfe046af" dependencies = [ "bumpalo", "hashbrown 0.14.5", @@ -2687,9 +2687,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "1.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26cbf6019321add3a50377aaa4e06767a97a115084895289e10be000db207faf" +checksum = "5d7211e5c57ea972f32b8a104d7006c4a68d094ec30c6a73bcd20d4d6c473c7c" dependencies = [ "hstr", "once_cell", @@ -2699,9 +2699,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.40.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f355465eaed1104244ce918b7ffb77ceb109aabeb74b04b98acae85683b0215b" +checksum = "992b89cdcff8e61c1308a984af5450a60a382b106f3e79fd6aabf9e2e193d076" dependencies = [ "ast_node", "better_scoped_tls", @@ -2726,9 +2726,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.106.3" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cb4ab0f1863e48f5923f0cdc50e677d43d99f99b93df3185a76d27c01bbd881" +checksum = "ec7c3843afe82ed84128192118412c185e883010a1c2fe730c373cd739c8cc56" dependencies = [ "swc_allocator", "swc_atoms", @@ -2741,9 +2741,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.121.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7e1b73c85ff968404867505646b3c6f26e4661e4fc831593b9e182fa59ddd4" +checksum = "99e7c0cd9dfe2a49c8f0b4ce699c13c9e270b8487a0176e1d89e5a9a586d0b3b" dependencies = [ "bitflags", "is-macro", @@ -2753,14 +2753,15 @@ dependencies = [ "string_enum", "swc_atoms", "swc_common", + "swc_visit", "unicode-id-start", ] [[package]] name = "swc_ecma_parser" -version = "0.152.1" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4cfd7930abe18c6829d4adedb5249e1b9fa68e8e786c6636250637992ba0466" +checksum = "a49f6ab5fa19498d0feb45a4943e1ad962736ee251e8f0f885330f7aeca39c39" dependencies = [ "either", "new_debug_unreachable", @@ -2780,9 +2781,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.149.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2194d20416a03ae02058934f8387691809f86466a2f2e7a65c56dcb001bd46b" +checksum = "46acfbf848da60fadd98b707efef90c5f8ed8542509078c083d65e4f9dc214da" dependencies = [ "better_scoped_tls", "bitflags", @@ -2803,9 +2804,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.137.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939f21c75eff61ad3e485fc54d38988f2f9744ceda24a3feb8228dd072171d94" +checksum = "9371e7e39fca55508ae91abf28fd3d8dae8eff3782e918081f6932523c68789c" dependencies = [ "indexmap 2.2.6", "num_cpus", @@ -2822,9 +2823,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.107.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15bd17e03251272ee04d1155036be5288055ab43d40ab2d9fd63ff815d326dad" +checksum = "a380252c317c67f321b8e0d66dbc2427842bd184505e12016f0d3f811776af86" dependencies = [ "new_debug_unreachable", "num-bigint", @@ -2837,9 +2838,9 @@ dependencies = [ [[package]] name = "swc_eq_ignore_macros" -version = "0.1.3" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695a1d8b461033d32429b5befbf0ad4d7a2c4d6ba9cd5ba4e0645c615839e8e4" +checksum = "e96e15288bf385ab85eb83cff7f9e2d834348da58d0a31b33bdb572e66ee413e" dependencies = [ "proc-macro2", "quote", @@ -2848,9 +2849,9 @@ dependencies = [ [[package]] name = "swc_macros_common" -version = "0.3.11" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91745f3561057493d2da768437c427c0e979dff7396507ae02f16c981c4a8466" +checksum = "a509f56fca05b39ba6c15f3e58636c3924c78347d63853632ed2ffcb6f5a0ac7" dependencies = [ "proc-macro2", "quote", @@ -2859,9 +2860,9 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.6.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ceb044142ba2719ef9eb3b6b454fce61ab849eb696c34d190f04651955c613d" +checksum = "9138b6a36bbe76dd6753c4c0794f7e26480ea757bee499738bedbbb3ae3ec5f3" dependencies = [ "either", "new_debug_unreachable", diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 7ac48250..46971a52 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -23,7 +23,7 @@ wasmtime = { workspace = true } wasmtime-wasi = { workspace = true } wasi-common = { workspace = true } walrus = "0.22.0" -swc_core = { version = "0.106.3", features = [ +swc_core = { version = "4.0.0", features = [ "common_sourcemap", "ecma_ast", "ecma_parser", diff --git a/supply-chain/config.toml b/supply-chain/config.toml index 464aa2ef..6f8e088b 100644 --- a/supply-chain/config.toml +++ b/supply-chain/config.toml @@ -50,7 +50,7 @@ version = "0.1.1" criteria = "safe-to-deploy" [[exemptions.ast_node]] -version = "1.0.0" +version = "2.0.0" criteria = "safe-to-deploy" [[exemptions.autocfg]] @@ -70,7 +70,7 @@ version = "0.7.0" criteria = "safe-to-deploy" [[exemptions.better_scoped_tls]] -version = "0.1.1" +version = "1.0.0" criteria = "safe-to-deploy" [[exemptions.bitvec]] @@ -222,7 +222,7 @@ version = "0.9.0" criteria = "safe-to-deploy" [[exemptions.from_variant]] -version = "1.0.0" +version = "2.0.0" criteria = "safe-to-deploy" [[exemptions.funty]] @@ -298,7 +298,7 @@ version = "0.5.9" criteria = "safe-to-deploy" [[exemptions.hstr]] -version = "0.2.10" +version = "0.2.12" criteria = "safe-to-deploy" [[exemptions.iana-time-zone]] @@ -578,55 +578,55 @@ version = "0.1.15" criteria = "safe-to-deploy" [[exemptions.string_enum]] -version = "0.4.4" +version = "1.0.0" criteria = "safe-to-deploy" [[exemptions.swc_allocator]] -version = "0.1.9" +version = "1.0.0" criteria = "safe-to-deploy" [[exemptions.swc_atoms]] -version = "1.0.1" +version = "2.0.0" criteria = "safe-to-deploy" [[exemptions.swc_common]] -version = "0.40.1" +version = "3.0.0" criteria = "safe-to-deploy" [[exemptions.swc_core]] -version = "0.106.3" +version = "4.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_ast]] -version = "0.121.1" +version = "3.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_parser]] -version = "0.152.1" +version = "4.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_transforms_base]] -version = "0.149.0" +version = "4.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_utils]] -version = "0.137.0" +version = "4.0.0" criteria = "safe-to-deploy" [[exemptions.swc_ecma_visit]] -version = "0.107.0" +version = "3.0.0" criteria = "safe-to-deploy" [[exemptions.swc_eq_ignore_macros]] -version = "0.1.3" +version = "1.0.0" criteria = "safe-to-deploy" [[exemptions.swc_macros_common]] -version = "0.3.11" +version = "1.0.0" criteria = "safe-to-deploy" [[exemptions.swc_visit]] -version = "0.6.2" +version = "2.0.0" criteria = "safe-to-deploy" [[exemptions.tempfile]]