Skip to content

Commit

Permalink
chore: Update swc_core to v0.40.7 (vercel#41613)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored and shuding committed Oct 23, 2022
1 parent 1f62748 commit 93d79b7
Show file tree
Hide file tree
Showing 282 changed files with 318 additions and 11,130 deletions.
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.

0 comments on commit 93d79b7

Please sign in to comment.