Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update swc_core to v0.40.7 #41613

Merged
merged 10 commits into from Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
455 changes: 305 additions & 150 deletions packages/next-swc/Cargo.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/next-swc/crates/core/Cargo.toml
Expand Up @@ -19,10 +19,10 @@ pathdiff = "0.2.0"
regex = "1.5"
serde = "1"
serde_json = "1"
swc_emotion = {path="../emotion"}
styled_components = {path="../styled_components"}
styled_jsx = {path="../styled_jsx"}
modularize_imports = {path="../modularize_imports"}
swc_emotion = "0.28.1"
styled_components = "0.52.1"
styled_jsx = "0.29.1"
modularize_imports = "0.25.1"
tracing = { version = "0.1.32", features = ["release_max_level_info"] }

swc_core = { features = [
Expand All @@ -42,9 +42,9 @@ swc_core = { features = [
"ecma_parser_typescript",
"cached",
"base"
], version = "0.39.7" }
], version = "0.40.7" }

[dev-dependencies]
swc_core = { features = ["testing_transform"], version = "0.39.7" }
testing = "0.31.9"
swc_core = { features = ["testing_transform"], version = "0.40.7" }
testing = "0.31.10"
walkdir = "2.3.2"
5 changes: 4 additions & 1 deletion packages/next-swc/crates/core/src/lib.rs
Expand Up @@ -162,7 +162,10 @@ where
_ => Either::Right(noop()),
},
if opts.styled_jsx {
Either::Left(styled_jsx::styled_jsx(cm.clone(), file.name.clone()))
Either::Left(styled_jsx::visitor::styled_jsx(
cm.clone(),
file.name.clone(),
))
} else {
Either::Right(noop())
},
Expand Down
27 changes: 0 additions & 27 deletions packages/next-swc/crates/emotion/Cargo.toml

This file was deleted.

62 changes: 0 additions & 62 deletions packages/next-swc/crates/emotion/src/hash.rs

This file was deleted.

81 changes: 0 additions & 81 deletions packages/next-swc/crates/emotion/src/import_map.rs

This file was deleted.