Unverified Commit 3e11c728 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Upgrade to swc 72 and rust-react-compiler (#95536)

Fixes #95257
Fixes #95372
parent b6ebce52
This diff is collapsed.
...@@ -209,30 +209,30 @@ turbopack-trace-server = { path = "turbopack/crates/turbopack-trace-server" } ...@@ -209,30 +209,30 @@ turbopack-trace-server = { path = "turbopack/crates/turbopack-trace-server" }
turbopack-trace-utils = { path = "turbopack/crates/turbopack-trace-utils" } turbopack-trace-utils = { path = "turbopack/crates/turbopack-trace-utils" }
turbopack-wasm = { path = "turbopack/crates/turbopack-wasm" } turbopack-wasm = { path = "turbopack/crates/turbopack-wasm" }
swc_ecma_react_compiler = "19.1.2" swc_ecma_react_compiler = "20.1.0"
react_compiler = { version = "0.1.5", package = "forked_react_compiler" } react_compiler = { version = "0.2", package = "forked_react_compiler" }
# SWC crates # SWC crates
swc_core = { version = "69.0.0", default-features = false, features = [ swc_core = { version = "72.0.0", default-features = false, features = [
"ecma_loader_lru", "ecma_loader_lru",
"ecma_loader_parking_lot", "ecma_loader_parking_lot",
"parallel_rayon", "parallel_rayon",
] } ] }
swc_plugin_backend_wasmtime = "11.0.0" swc_plugin_backend_wasmtime = "12.0.0"
testing = "24.0.0" testing = "24.0.1"
# Keep consistent with preset_env_base through swc_core # Keep consistent with preset_env_base through swc_core
browserslist-rs = "0.19.0" browserslist-rs = "0.19.0"
mdxjs = "1.0.3" mdxjs = "1.0.3"
modularize_imports = "9.0.0" modularize_imports = "12.0.0"
styled_components = "9.0.0" styled_components = "12.0.0"
styled_jsx = "9.0.0" styled_jsx = "12.0.0"
swc_emotion = "9.0.0" swc_emotion = "12.0.0"
swc_relay = "9.0.0" swc_relay = "12.0.0"
react_remove_properties = "9.0.0" react_remove_properties = "12.0.0"
remove_console = "9.0.0" remove_console = "12.0.0"
preset_env_base = "8.0.0" preset_env_base = "8.0.1"
# General Deps # General Deps
......
...@@ -28,7 +28,7 @@ d (const after eval) = *arrow function 83* ...@@ -28,7 +28,7 @@ d (const after eval) = *arrow function 83*
e#2 (const after eval) = *anonymous function 116* e#2 (const after eval) = *anonymous function 116*
e#6 (const after eval) = (...) => 4 e#8 (const after eval) = (...) => 4
f (const after eval) = e f (const after eval) = e
...@@ -42,8 +42,8 @@ xc = *arrow function 259* ...@@ -42,8 +42,8 @@ xc = *arrow function 259*
xd = *arrow function 299* xd = *arrow function 299*
xe#12 = (...) => 4 xe#10 = *anonymous function 339*
xe#8 = *anonymous function 339* xe#16 = (...) => 4
xf = xe xf = xe
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
), ),
), ),
( (
"e#6", "e#8",
Function( Function(
2, 2,
155, 155,
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
Variable( Variable(
( (
"e", "e",
#6, #8,
), ),
), ),
), ),
...@@ -254,7 +254,16 @@ ...@@ -254,7 +254,16 @@
), ),
), ),
( (
"xe#12", "xe#10",
Variable(
(
"*anonymous function 339*",
#0,
),
),
),
(
"xe#16",
Function( Function(
2, 2,
385, 385,
...@@ -267,21 +276,12 @@ ...@@ -267,21 +276,12 @@
), ),
), ),
), ),
(
"xe#8",
Variable(
(
"*anonymous function 339*",
#0,
),
),
),
( (
"xf", "xf",
Variable( Variable(
( (
"xe", "xe",
#12, #16,
), ),
), ),
), ),
......
...@@ -28,7 +28,7 @@ d = (...) => 2 ...@@ -28,7 +28,7 @@ d = (...) => 2
e#2 = (...) => 3 e#2 = (...) => 3
e#6 = (...) => 4 e#8 = (...) => 4
f = (...) => 4 f = (...) => 4
...@@ -42,8 +42,8 @@ xc = (...) => 1 ...@@ -42,8 +42,8 @@ xc = (...) => 1
xd = (...) => 2 xd = (...) => 2
xe#12 = (...) => 4 xe#10 = (...) => 3
xe#8 = (...) => 3 xe#16 = (...) => 4
xf = (...) => 4 xf = (...) => 4
...@@ -1300,7 +1300,7 @@ ...@@ -1300,7 +1300,7 @@
func: Variable( func: Variable(
( (
"cb", "cb",
#6, #8,
), ),
), ),
args: [], args: [],
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
condition: Variable( condition: Variable(
( (
"x", "x",
#3, #4,
), ),
), ),
kind: IfElse { kind: IfElse {
......
...@@ -1334,7 +1334,7 @@ ...@@ -1334,7 +1334,7 @@
Variable( Variable(
( (
"res", "res",
#5, #6,
), ),
), ),
Constant( Constant(
...@@ -1490,7 +1490,7 @@ ...@@ -1490,7 +1490,7 @@
obj: Variable( obj: Variable(
( (
"res", "res",
#5, #6,
), ),
), ),
prop: Constant( prop: Constant(
...@@ -1644,7 +1644,7 @@ ...@@ -1644,7 +1644,7 @@
obj: Variable( obj: Variable(
( (
"res", "res",
#5, #6,
), ),
), ),
prop: Constant( prop: Constant(
...@@ -1804,7 +1804,7 @@ ...@@ -1804,7 +1804,7 @@
Variable( Variable(
( (
"res", "res",
#5, #6,
), ),
), ),
Constant( Constant(
...@@ -1862,7 +1862,7 @@ ...@@ -1862,7 +1862,7 @@
Variable( Variable(
( (
"hello", "hello",
#5, #6,
), ),
), ),
), ),
......
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