From 88fe81717e185da84f69c77e1c6d213d68f40f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Fri, 22 Dec 2023 04:54:43 +0900 Subject: [PATCH] Update swc_core --- Cargo.lock | 92 +++++++------------ packages/constify/transform/Cargo.toml | 6 +- packages/emotion/Cargo.toml | 2 +- packages/emotion/transform/Cargo.toml | 6 +- packages/loadable-components/Cargo.toml | 2 +- .../transform/Cargo.toml | 6 +- packages/relay/transform/Cargo.toml | 2 +- packages/remove-console/transform/Cargo.toml | 6 +- .../styled-components/transform/Cargo.toml | 6 +- packages/styled-jsx/Cargo.toml | 4 +- packages/styled-jsx/transform/Cargo.toml | 6 +- packages/swc-magic/transform/Cargo.toml | 6 +- .../transform-imports/transform/Cargo.toml | 4 +- 13 files changed, 60 insertions(+), 88 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4acb4316f..98d6b7b46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1162,7 +1162,7 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_visit", "testing", ] @@ -1697,8 +1697,8 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_base 0.135.1", + "swc_ecma_transforms_testing", "swc_ecma_visit", "testing", ] @@ -1772,8 +1772,8 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_base 0.135.1", + "swc_ecma_transforms_testing", "swc_ecma_visit", "testing", ] @@ -2162,7 +2162,7 @@ dependencies = [ "swc_ecma_ast", "swc_ecma_parser", "swc_ecma_transforms", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "testing", @@ -2189,7 +2189,7 @@ dependencies = [ "swc_ecma_minifier", "swc_ecma_parser", "swc_ecma_transforms", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "swc_plugin_macro", @@ -2287,11 +2287,11 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.7" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba1c7a40d38f9dd4e9a046975d3faf95af42937b34b2b963be4d8f01239584b" +checksum = "112884e66b60e614c0f416138b91b8b82b7fea6ed0ecc5e26bad4726c57a6c99" dependencies = [ - "indexmap 1.9.3", + "indexmap 2.1.0", "serde", "serde_json", "swc_config_macro", @@ -2299,11 +2299,10 @@ dependencies = [ [[package]] name = "swc_config_macro" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5b5aaca9a0082be4515f0fbbecc191bf5829cd25b5b9c0a2810f6a2bb0d6829" +checksum = "8b2574f75082322a27d990116cd2a24de52945fc94172b24ca0b3e9e2a6ceb6b" dependencies = [ - "pmutil", "proc-macro2", "quote", "swc_macros_common", @@ -2321,8 +2320,8 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_base 0.135.1", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "testing", @@ -2341,7 +2340,7 @@ dependencies = [ "swc_ecma_ast", "swc_ecma_quote_macros", "swc_ecma_transforms_base 0.135.1", - "swc_ecma_transforms_testing 0.138.1", + "swc_ecma_transforms_testing", "swc_ecma_visit", "swc_plugin", "swc_plugin_macro", @@ -2602,15 +2601,15 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.226.39" +version = "0.227.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e530f1782f36eb6ba7ac09af888257c75679ad677f129bab439132157b8c41f" +checksum = "d1f5eb5cf75bc8bfe1ccc45d318e3c7c1fc6eabdeed2b80e1ad4db6a2ab9240b" dependencies = [ "swc_atoms", "swc_common", "swc_ecma_ast", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_utils 0.124.33", + "swc_ecma_transforms_base 0.135.1", + "swc_ecma_utils 0.125.0", "swc_ecma_visit", ] @@ -2662,11 +2661,10 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_macros" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8188eab297da773836ef5cf2af03ee5cca7a563e1be4b146f8141452c28cc690" +checksum = "17e309b88f337da54ef7fe4c5b99c2c522927071f797ee6c9fb8b6bf2d100481" dependencies = [ - "pmutil", "proc-macro2", "quote", "swc_macros_common", @@ -2699,13 +2697,13 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.180.40" +version = "0.181.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dac44af882b337afd9dabba1d949702c589157b338d686674a8758310225226" +checksum = "69b863487e33da972849ea4ea4618ee714d26ef96ed9ab334ed627093c2e8169" dependencies = [ - "base64 0.13.1", + "base64 0.21.5", "dashmap", - "indexmap 1.9.3", + "indexmap 2.1.0", "once_cell", "serde", "sha-1", @@ -2715,36 +2713,10 @@ dependencies = [ "swc_config", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_base 0.134.44", + "swc_ecma_transforms_base 0.135.1", "swc_ecma_transforms_macros", - "swc_ecma_utils 0.124.33", - "swc_ecma_visit", -] - -[[package]] -name = "swc_ecma_transforms_testing" -version = "0.137.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b585e3a54a8b2fc9cccba22ba5b3a3cd77a230a0e9032708d3de5386471c9fa" -dependencies = [ - "ansi_term", - "anyhow", - "base64 0.13.1", - "hex", - "serde", - "serde_json", - "sha-1", - "sourcemap", - "swc_common", - "swc_ecma_ast", - "swc_ecma_codegen", - "swc_ecma_parser", - "swc_ecma_testing", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_utils 0.124.33", + "swc_ecma_utils 0.125.0", "swc_ecma_visit", - "tempfile", - "testing", ] [[package]] @@ -2859,7 +2831,7 @@ dependencies = [ "swc_ecma_codegen", "swc_ecma_parser", "swc_ecma_transforms_react", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "swc_trace_macro", @@ -2923,8 +2895,8 @@ dependencies = [ "swc_common", "swc_ecma_ast", "swc_ecma_parser", - "swc_ecma_transforms_base 0.134.44", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_base 0.135.1", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "testing", @@ -3119,7 +3091,7 @@ dependencies = [ "swc_ecma_ast", "swc_ecma_minifier", "swc_ecma_parser", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "swc_plugin_macro", @@ -3162,7 +3134,7 @@ dependencies = [ "swc_atoms", "swc_common", "swc_ecma_ast", - "swc_ecma_transforms_testing 0.137.33", + "swc_ecma_transforms_testing", "swc_ecma_utils 0.125.0", "swc_ecma_visit", "testing", diff --git a/packages/constify/transform/Cargo.toml b/packages/constify/transform/Cargo.toml index ac18b411e..81a633e8a 100644 --- a/packages/constify/transform/Cargo.toml +++ b/packages/constify/transform/Cargo.toml @@ -23,7 +23,7 @@ once_cell = "1.18.0" [dev-dependencies] serde_json = "1" -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_base = "0.134.31" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_base = "0.135.1" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/emotion/Cargo.toml b/packages/emotion/Cargo.toml index 2a7eb32bb..c718e659d 100644 --- a/packages/emotion/Cargo.toml +++ b/packages/emotion/Cargo.toml @@ -20,5 +20,5 @@ swc_ecma_utils = "0.125.0" swc_ecma_visit = "0.96.15" swc_emotion = { path = "./transform" } swc_plugin_macro = "0.9.15" -swc_plugin_proxy = "0.39.9" +swc_plugin_proxy = "0.39.15" tracing = { version = "0.1.37", features = ["release_max_level_off"] } diff --git a/packages/emotion/transform/Cargo.toml b/packages/emotion/transform/Cargo.toml index 3cec20f99..8b8b48c65 100644 --- a/packages/emotion/transform/Cargo.toml +++ b/packages/emotion/transform/Cargo.toml @@ -29,7 +29,7 @@ tracing = { version = "0.1.37" } [dev-dependencies] serde_json = "1" -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_react = "0.180.40" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_react = "0.181.3" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/loadable-components/Cargo.toml b/packages/loadable-components/Cargo.toml index c7c3e62f5..f0ce8c083 100644 --- a/packages/loadable-components/Cargo.toml +++ b/packages/loadable-components/Cargo.toml @@ -20,7 +20,7 @@ swc_ecma_ast = "0.110.15" swc_ecma_utils = "0.125.0" swc_ecma_visit = "0.96.15" swc_plugin_macro = "0.9.15" -swc_plugin_proxy = "0.39.9" +swc_plugin_proxy = "0.39.15" tracing = { version = "0.1.37", features = ["release_max_level_off"] } [dev-dependencies] diff --git a/packages/react-remove-properties/transform/Cargo.toml b/packages/react-remove-properties/transform/Cargo.toml index e4aafa313..609d8b70b 100644 --- a/packages/react-remove-properties/transform/Cargo.toml +++ b/packages/react-remove-properties/transform/Cargo.toml @@ -18,7 +18,7 @@ swc_ecma_ast = "0.110.15" swc_ecma_visit = "0.96.15" [dev-dependencies] -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_base = "0.134.31" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_base = "0.135.1" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/relay/transform/Cargo.toml b/packages/relay/transform/Cargo.toml index e8e336e18..aca71c5a6 100644 --- a/packages/relay/transform/Cargo.toml +++ b/packages/relay/transform/Cargo.toml @@ -22,5 +22,5 @@ swc_ecma_visit = "0.96.15" tracing = { version = "0.1.37" } [dev-dependencies] -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/remove-console/transform/Cargo.toml b/packages/remove-console/transform/Cargo.toml index d9eadd672..1f9d0243b 100644 --- a/packages/remove-console/transform/Cargo.toml +++ b/packages/remove-console/transform/Cargo.toml @@ -18,7 +18,7 @@ swc_ecma_ast = "0.110.15" swc_ecma_visit = "0.96.15" [dev-dependencies] -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_base = "0.134.31" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_base = "0.135.1" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/styled-components/transform/Cargo.toml b/packages/styled-components/transform/Cargo.toml index 28064db92..72174310c 100644 --- a/packages/styled-components/transform/Cargo.toml +++ b/packages/styled-components/transform/Cargo.toml @@ -27,7 +27,7 @@ tracing = "0.1.37" [dev-dependencies] serde_json = "1" -swc_ecma_parser = "0.141.22" -swc_ecma_transforms = "0.226.39" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms = "0.227.3" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/styled-jsx/Cargo.toml b/packages/styled-jsx/Cargo.toml index 420f0b294..4d89c4096 100644 --- a/packages/styled-jsx/Cargo.toml +++ b/packages/styled-jsx/Cargo.toml @@ -20,7 +20,7 @@ tracing = { version = "0.1.37", features = ["release_max_level_off"] } serde_json = "1" swc_common = "0.33.12" swc_ecma_ast = "0.110.15" -swc_ecma_parser = "0.141.22" +swc_ecma_parser = "0.141.33" swc_ecma_minifier = "0.189.44" swc_ecma_utils = "0.125.0" swc_ecma_visit = "0.96.15" @@ -29,5 +29,5 @@ swc_atoms = "0.6.5" swc_core = { version = "0.87.3", features = ["ecma_plugin_transform"] } [dev-dependencies] -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/styled-jsx/transform/Cargo.toml b/packages/styled-jsx/transform/Cargo.toml index 1e3fa6df1..977e0a16e 100644 --- a/packages/styled-jsx/transform/Cargo.toml +++ b/packages/styled-jsx/transform/Cargo.toml @@ -24,7 +24,7 @@ swc_ecma_ast = "0.110.15" swc_ecma_utils = "0.125.0" swc_ecma_visit = "0.96.15" swc_plugin_macro = "0.9.15" -swc_ecma_parser = "0.141.22" +swc_ecma_parser = "0.141.33" swc_ecma_minifier = "0.189.44" swc_css_ast = "0.140.9" swc_css_codegen = "0.151.15" @@ -36,5 +36,5 @@ preset_env_base = "0.4.9" [dev-dependencies] testing = "0.35.14" -swc_ecma_transforms_testing = "0.137.33" -swc_ecma_transforms = "0.226.39" +swc_ecma_transforms_testing = "0.138.1" +swc_ecma_transforms = "0.227.3" diff --git a/packages/swc-magic/transform/Cargo.toml b/packages/swc-magic/transform/Cargo.toml index c78dde495..7d4387385 100644 --- a/packages/swc-magic/transform/Cargo.toml +++ b/packages/swc-magic/transform/Cargo.toml @@ -15,7 +15,7 @@ swc_ecma_utils = "0.125.0" swc_ecma_visit = "0.96.15" [dev-dependencies] -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_base = "0.134.31" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_base = "0.135.1" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14" diff --git a/packages/transform-imports/transform/Cargo.toml b/packages/transform-imports/transform/Cargo.toml index eaccbb872..e67eac40e 100644 --- a/packages/transform-imports/transform/Cargo.toml +++ b/packages/transform-imports/transform/Cargo.toml @@ -21,6 +21,6 @@ swc_ecma_ast = "0.110.15" swc_ecma_visit = "0.96.15" [dev-dependencies] -swc_ecma_parser = "0.141.22" -swc_ecma_transforms_testing = "0.137.33" +swc_ecma_parser = "0.141.33" +swc_ecma_transforms_testing = "0.138.1" testing = "0.35.14"