Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
fd873a61
Unverified
Commit
fd873a61
authored
Jan 11, 2023
by
JJ Kasper
Committed by
GitHub
Jan 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "chore: Update `swc_core` to `v0.53.0`" (#44760)
parent
477d0813
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
320 additions
and
438 deletions
+320
-438
Cargo.lock
packages/next-swc/Cargo.lock
+312
-425
Cargo.toml
packages/next-swc/crates/core/Cargo.toml
+2
-2
output.js
packages/next-swc/crates/core/tests/full/example/output.js
+2
-2
Cargo.toml
packages/next-swc/crates/napi/Cargo.toml
+1
-1
transform.rs
packages/next-swc/crates/napi/src/transform.rs
+2
-7
Cargo.toml
packages/next-swc/crates/wasm/Cargo.toml
+1
-1
No files found.
packages/next-swc/Cargo.lock
View file @
fd873a61
This diff is collapsed.
Click to expand it.
packages/next-swc/crates/core/Cargo.toml
View file @
fd873a61
...
@@ -19,7 +19,7 @@ serde = "1"
...
@@ -19,7 +19,7 @@ serde = "1"
serde_json
=
"1"
serde_json
=
"1"
tracing
=
{
version
=
"0.1.37"
,
features
=
["release_max_level_info"]
}
tracing
=
{
version
=
"0.1.37"
,
features
=
["release_max_level_info"]
}
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
782143593280ed51dbd7b72dd86ebbd84d8e63d8
"
,
features
=
[
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
079505baf1ce03707d28b6c0afb158dca601a11a
"
,
features
=
[
"__swc_core"
,
"__swc_core"
,
"__swc_core_next_core"
,
"__swc_core_next_core"
,
"__swc_transform_styled_jsx"
,
"__swc_transform_styled_jsx"
,
...
@@ -29,7 +29,7 @@ next-binding = { git = "https://github.com/vercel/turbo.git", rev = "78214359328
...
@@ -29,7 +29,7 @@ next-binding = { git = "https://github.com/vercel/turbo.git", rev = "78214359328
]
}
]
}
[dev-dependencies]
[dev-dependencies]
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
782143593280ed51dbd7b72dd86ebbd84d8e63d8
"
,
features
=
[
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
079505baf1ce03707d28b6c0afb158dca601a11a
"
,
features
=
[
"__swc_core_testing_transform"
,
"__swc_core_testing_transform"
,
"__swc_testing"
,
"__swc_testing"
,
]
}
]
}
...
...
packages/next-swc/crates/core/tests/full/example/output.js
View file @
fd873a61
...
@@ -13,8 +13,8 @@ import r from "other";
...
@@ -13,8 +13,8 @@ import r from "other";
var
u
=
[],
l
=
!
0
,
i
=
!
1
;
var
u
=
[],
l
=
!
0
,
i
=
!
1
;
try
{
try
{
for
(
o
=
o
.
call
(
t
);
!
(
l
=
(
n
=
o
.
next
()).
done
)
&&
(
u
.
push
(
n
.
value
),
!
r
||
u
.
length
!==
r
);
l
=
!
0
);
for
(
o
=
o
.
call
(
t
);
!
(
l
=
(
n
=
o
.
next
()).
done
)
&&
(
u
.
push
(
n
.
value
),
!
r
||
u
.
length
!==
r
);
l
=
!
0
);
}
catch
(
t
)
{
}
catch
(
a
)
{
i
=
!
0
,
e
=
t
;
i
=
!
0
,
e
=
a
;
}
finally
{
}
finally
{
try
{
try
{
l
||
null
==
o
.
return
||
o
.
return
();
l
||
null
==
o
.
return
||
o
.
return
();
...
...
packages/next-swc/crates/napi/Cargo.toml
View file @
fd873a61
...
@@ -39,7 +39,7 @@ tracing = { version = "0.1.37", features = ["release_max_level_info"] }
...
@@ -39,7 +39,7 @@ tracing = { version = "0.1.37", features = ["release_max_level_info"] }
tracing-futures
=
"0.2.5"
tracing-futures
=
"0.2.5"
tracing-subscriber
=
"0.3.9"
tracing-subscriber
=
"0.3.9"
tracing-chrome
=
"0.5.0"
tracing-chrome
=
"0.5.0"
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
782143593280ed51dbd7b72dd86ebbd84d8e63d8
"
,
features
=
[
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
079505baf1ce03707d28b6c0afb158dca601a11a
"
,
features
=
[
"__swc_core_binding_napi"
,
"__swc_core_binding_napi"
,
"__turbo_next_dev_server"
,
"__turbo_next_dev_server"
,
"__turbo_node_file_trace"
,
"__turbo_node_file_trace"
,
...
...
packages/next-swc/crates/napi/src/transform.rs
View file @
fd873a61
...
@@ -61,11 +61,6 @@ pub struct TransformTask {
...
@@ -61,11 +61,6 @@ pub struct TransformTask {
pub
options
:
Buffer
,
pub
options
:
Buffer
,
}
}
#[inline]
fn
skip_filename
()
->
bool
{
cfg!
(
debug_assertions
)
}
impl
Task
for
TransformTask
{
impl
Task
for
TransformTask
{
type
Output
=
(
TransformOutput
,
FxHashSet
<
String
>
);
type
Output
=
(
TransformOutput
,
FxHashSet
<
String
>
);
type
JsValue
=
Object
;
type
JsValue
=
Object
;
...
@@ -77,8 +72,8 @@ impl Task for TransformTask {
...
@@ -77,8 +72,8 @@ impl Task for TransformTask {
try_with_handler
(
try_with_handler
(
self
.c.cm
.clone
(),
self
.c.cm
.clone
(),
next_binding
::
swc
::
core
::
base
::
HandlerOpts
{
next_binding
::
swc
::
core
::
base
::
HandlerOpts
{
color
:
ColorConfig
::
Always
,
color
:
ColorConfig
::
Never
,
skip_filename
:
skip_filename
()
,
skip_filename
:
true
,
},
},
|
handler
|
{
|
handler
|
{
self
.c
.run
(||
{
self
.c
.run
(||
{
...
...
packages/next-swc/crates/wasm/Cargo.toml
View file @
fd873a61
...
@@ -31,7 +31,7 @@ wasm-bindgen-futures = "0.4.8"
...
@@ -31,7 +31,7 @@ wasm-bindgen-futures = "0.4.8"
getrandom
=
{
version
=
"0.2.5"
,
optional
=
true
,
default-features
=
false
}
getrandom
=
{
version
=
"0.2.5"
,
optional
=
true
,
default-features
=
false
}
js-sys
=
"0.3.59"
js-sys
=
"0.3.59"
serde-wasm-bindgen
=
"0.4.3"
serde-wasm-bindgen
=
"0.4.3"
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
782143593280ed51dbd7b72dd86ebbd84d8e63d8
"
,
features
=
[
next-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"
079505baf1ce03707d28b6c0afb158dca601a11a
"
,
features
=
[
"__swc_core_binding_wasm"
,
"__swc_core_binding_wasm"
,
"__feature_mdx_rs"
,
"__feature_mdx_rs"
,
]
}
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment