From 36192ea36ef4eaa1be0ac2feaeaea8f535c5bf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 13 Jun 2024 09:37:11 +0900 Subject: [PATCH] build: Update `swc_core` to `v0.93.4` (#66781) ### What? Update `swc_core` to `v0.93.4`. ### Why? To apply https://github.com/swc-project/swc/pull/9036 and https://github.com/swc-project/swc/pull/9037. Those PR makes parsing of some files 5x faster. ### How? --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9e57979dfb84b..37906d1a52870 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5281,9 +5281,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.93.2" +version = "0.93.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57f2da78bdc49a5bd2edc80213f2b95300b11a15068e18ab9a9dd943a8660d59" +checksum = "f331506bd57c03b006b5585797c23bf10077bc8ef949d80efce3ef4b9ee8a664" dependencies = [ "binding_macros", "swc", @@ -5489,9 +5489,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.149.2" +version = "0.149.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab6d5e7bbd9208f980b5dad2a4a6ae798c97569f809a48c3f92e6ae7e183c6c" +checksum = "efb2bef3f4998865b2d466fb2ef9410a03449d255d199f3eb807fb19acc3862b" dependencies = [ "memchr", "num-bigint", @@ -5770,9 +5770,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.195.0" +version = "0.195.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "574ca302d18880ff3809d83797a51eb96a8f4cef7c948286a59cd1937e0226d0" +checksum = "94ed053fe91ab7c1ea79a577a49fdc3da895df802bcf9df04de4ccb51a075ff7" dependencies = [ "arrayvec", "indexmap 2.2.6", @@ -5804,9 +5804,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.144.2" +version = "0.144.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31adf4599e8de70f3b754dfc34ec2ab09fa6841d79a9f4a888250a404eae7030" +checksum = "fc0b4193b9c127db1990a5a08111aafe0122bc8b138646807c63f2a6521b7da4" dependencies = [ "either", "new_debug_unreachable", @@ -6128,9 +6128,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.24.3" +version = "0.24.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d7d7109b3794756cc51e842dbb874d2da44293b06a9e3837b477300b0ccef8e" +checksum = "104d474b77f73db1467f31d5bceb1e4821e9b471c97baa7f208e2d8edd63c107" dependencies = [ "indexmap 2.2.6", "rustc-hash", diff --git a/Cargo.toml b/Cargo.toml index f54fb0227e43b..f5605988a7b89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ next-core = { path = "packages/next-swc/crates/next-core" } next-custom-transforms = { path = "packages/next-swc/crates/next-custom-transforms" } # SWC crates -swc_core = { version = "0.93.2", features = [ +swc_core = { version = "0.93.4", features = [ "ecma_loader_lru", "ecma_loader_parking_lot", ] }