Unverified Commit 53ce3bf2 authored by Donny/강동윤's avatar Donny/강동윤 Committed by GitHub

chore: Update swc (#40292)

This PR update swc crates to
https://github.com/swc-project/swc/commit/4c078b0ac3c26254ae94648e00fac90a4e31d34c

This PR applies
 - patches for the performance of minifier
 - https://github.com/swc-project/swc/pull/5796
   - Closes https://github.com/vercel/next.js/issues/40399
parent 804dc6bd
This diff is collapsed.
......@@ -28,7 +28,7 @@ styled_jsx = {path="../styled_jsx"}
modularize_imports = {path="../modularize_imports"}
tracing = { version = "0.1.32", features = ["release_max_level_info"] }
swc_core = { version = "0.20.4", features = [
swc_core = { version = "0.22.4", features = [
"common_concurrent",
"ecma_ast",
"ecma_visit",
......@@ -47,6 +47,6 @@ swc_core = { version = "0.20.4", features = [
] }
[dev-dependencies]
swc_core = { version = "0.20.4", features = ["testing_transform"] }
testing = "0.29.4"
swc_core = { version = "0.22.4", features = ["testing_transform"] }
testing = "0.30.0"
walkdir = "2.3.2"
......@@ -5,7 +5,7 @@ description = "AST Transforms for emotion"
license = "Apache-2.0"
name = "swc_emotion"
repository = "https://github.com/vercel/next.js.git"
version = "0.17.0"
version = "0.19.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
......@@ -19,9 +19,9 @@ regex = "1.5"
serde = "1"
sourcemap = "6.0.1"
tracing = { version = "0.1.32", features = ["release_max_level_info"] }
swc_core = { version = "0.20.4", features = ["common_concurrent", "ecma_ast","ecma_codegen", "ecma_utils", "ecma_visit", "trace_macro"] }
swc_core = { version = "0.22.4", features = ["common", "ecma_ast","ecma_codegen", "ecma_utils", "ecma_visit", "trace_macro"] }
[dev-dependencies]
swc_core = { version = "0.20.4", features = ["testing_transform", "ecma_transforms_react"] }
testing = "0.29.4"
swc_core = { version = "0.22.4", features = ["testing_transform", "ecma_transforms_react"] }
testing = "0.30.0"
serde_json = "1"
......@@ -5,7 +5,7 @@ edition = "2018"
license = "Apache-2.0"
name = "modularize_imports"
repository = "https://github.com/vercel/next.js.git"
version = "0.15.0"
version = "0.17.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
......@@ -15,8 +15,8 @@ handlebars = "4.2.1"
once_cell = "1.13.0"
regex = "1.5"
serde = "1"
swc_core = { version = "0.20.4", features = ["cached", "ecma_ast", "ecma_visit"] }
swc_core = { version = "0.22.4", features = ["cached", "ecma_ast", "ecma_visit"] }
[dev-dependencies]
swc_core = { version = "0.20.4", features = ["testing_transform"] }
testing = "0.29.4"
swc_core = { version = "0.22.4", features = ["testing_transform"] }
testing = "0.30.0"
......@@ -30,7 +30,7 @@ next-swc = {version = "0.0.0", path = "../core"}
once_cell = "1.13.0"
serde = "1"
serde_json = "1"
swc_core = { version = "0.20.4", features = [
swc_core = { version = "0.22.4", features = [
"allocator_node",
"base_concurrent", # concurrent?
"common_concurrent",
......
......@@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "styled_components"
repository = "https://github.com/vercel/next.js.git"
version = "0.40.0"
version = "0.42.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
......@@ -16,8 +16,8 @@ once_cell = "1.13.0"
regex = {version = "1.5.4", features = ["std", "perf"], default-features = false}
serde = {version = "1.0.130", features = ["derive"]}
tracing = "0.1.32"
swc_core = { version = "0.20.4", features = [
"common_concurrent",
swc_core = { version = "0.22.4", features = [
"common",
"ecma_ast",
"ecma_utils",
"ecma_visit"
......@@ -25,8 +25,8 @@ swc_core = { version = "0.20.4", features = [
[dev-dependencies]
serde_json = "1"
testing = "0.29.4"
swc_core = { version = "0.20.4", features = [
testing = "0.30.0"
swc_core = { version = "0.22.4", features = [
"ecma_parser",
"ecma_transforms",
"testing_transform"
......
......@@ -5,7 +5,7 @@ edition = "2018"
license = "Apache-2.0"
name = "styled_jsx"
repository = "https://github.com/vercel/next.js.git"
version = "0.15.0"
version = "0.17.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
......@@ -13,8 +13,8 @@ version = "0.15.0"
easy-error = "1.0.0"
tracing = "0.1.32"
swc_core = { version = "0.20.4", features = [
"common_concurrent",
swc_core = { version = "0.22.4", features = [
"common",
"css_ast",
"css_codegen",
"css_parser",
......@@ -27,7 +27,7 @@ swc_core = { version = "0.20.4", features = [
] }
[dev-dependencies]
testing = "0.29.4"
swc_core = { version = "0.20.4", features = [
testing = "0.30.0"
swc_core = { version = "0.22.4", features = [
"testing_transform"
] }
......@@ -31,7 +31,7 @@ wasm-bindgen-futures = "0.4.8"
getrandom = { version = "0.2.5", optional = true, default-features = false }
js-sys = "0.3.59"
swc_core = { version = "0.20.4", features = [
swc_core = { version = "0.22.4", features = [
"common_concurrent",
"binding_macro_wasm",
"ecma_codegen",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment