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