Skip to content

Commit

Permalink
Update swc_core to v0.103.1 (#69605)
Browse files Browse the repository at this point in the history
### What?

Update swc_core

### Why?

To apply swc-project/swc#9524
  • Loading branch information
kdy1 committed Sep 4, 2024
1 parent b3e434e commit caa72ff
Show file tree
Hide file tree
Showing 13 changed files with 228 additions and 177 deletions.
245 changes: 148 additions & 97 deletions Cargo.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ turbopack-trace-utils = { path = "turbopack/crates/turbopack-trace-utils" }
turbopack-wasm = { path = "turbopack/crates/turbopack-wasm" }

# SWC crates
swc_core = { version = "0.102.0", features = [
swc_core = { version = "0.103.1", features = [
"ecma_loader_lru",
"ecma_loader_parking_lot",
] }
Expand All @@ -94,12 +94,12 @@ testing = { version = "0.39.0" }
# Keep consistent with preset_env_base through swc_core
browserslist-rs = { version = "0.16.0" }
miette = { version = "5.10.0", features = ["fancy"] }
mdxjs = "0.2.8"
modularize_imports = { version = "0.68.23" }
styled_components = { version = "0.96.22" }
styled_jsx = { version = "0.73.31" }
swc_emotion = { version = "0.72.21" }
swc_relay = { version = "0.44.24" }
mdxjs = "0.2.9"
modularize_imports = { version = "0.68.25" }
styled_components = { version = "0.96.23" }
styled_jsx = { version = "0.73.33" }
swc_emotion = { version = "0.72.22" }
swc_relay = { version = "0.44.25" }

# General Deps

Expand Down
4 changes: 2 additions & 2 deletions crates/next-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ lazy_static = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
rustc-hash = { workspace = true }
react_remove_properties = "0.24.19"
remove_console = "0.25.19"
react_remove_properties = "0.24.20"
remove_console = "0.25.20"

auto-hash-map = { workspace = true }

Expand Down
4 changes: 2 additions & 2 deletions crates/next-custom-transforms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ swc_emotion = { workspace = true }
swc_relay = { workspace = true }
turbopack-ecmascript-plugins = { workspace = true, optional = true }

react_remove_properties = "0.24.19"
remove_console = "0.25.19"
react_remove_properties = "0.24.20"
remove_console = "0.25.20"
preset_env_base = "0.5.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@svgr/webpack": "5.5.0",
"@swc/cli": "0.1.55",
"@swc/core": "1.6.13",
"@swc/helpers": "0.5.12",
"@swc/helpers": "0.5.13",
"@swc/types": "0.1.7",
"@testing-library/jest-dom": "6.1.2",
"@testing-library/react": "^15.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"dependencies": {
"@next/env": "15.0.0-canary.140",
"@swc/counter": "0.1.3",
"@swc/helpers": "0.5.12",
"@swc/helpers": "0.5.13",
"busboy": "1.6.0",
"caniuse-lite": "^1.0.30001579",
"graceful-fs": "^4.2.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/compiled/mini-css-extract-plugin/cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit caa72ff

Please sign in to comment.