Update swc_core
to v0.86.81
(#58517)
### What?
Update swc crates.
Diff:
09b3003e58...c566b73bfb
### Why?
To fix bugs, and improve minification.
### How?
turbopack counterpart: https://github.com/vercel/turbo/pull/6472
- Closes PACK-1972
- Closes #30802
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
4d330a8500
commit
8e6d51f4fa
6 changed files with 200 additions and 204 deletions
371
Cargo.lock
generated
371
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
10
Cargo.toml
10
Cargo.toml
|
@ -36,18 +36,18 @@ next-transform-dynamic = { path = "packages/next-swc/crates/next-transform-dynam
|
|||
next-transform-strip-page-exports = { path = "packages/next-swc/crates/next-transform-strip-page-exports" }
|
||||
|
||||
# SWC crates
|
||||
swc_core = { version = "0.86.60", features = [
|
||||
swc_core = { version = "0.86.81", features = [
|
||||
"ecma_loader_lru",
|
||||
"ecma_loader_parking_lot",
|
||||
] }
|
||||
testing = { version = "0.35.10" }
|
||||
testing = { version = "0.35.11" }
|
||||
|
||||
# Turbo crates
|
||||
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231126.2" }
|
||||
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231127.1" }
|
||||
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
|
||||
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231126.2" }
|
||||
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231127.1" }
|
||||
# [TODO]: need to refactor embed_directory! macro usage in next-core
|
||||
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231126.2" }
|
||||
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231127.1" }
|
||||
|
||||
# General Deps
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@ turbopack-binding = { workspace = true, features = [
|
|||
"__swc_transform_modularize_imports",
|
||||
"__swc_transform_relay",
|
||||
] }
|
||||
react_remove_properties = "0.11.0"
|
||||
remove_console = "0.12.0"
|
||||
react_remove_properties = "0.17.0"
|
||||
remove_console = "0.18.0"
|
||||
|
||||
[dev-dependencies]
|
||||
turbopack-binding = { workspace = true, features = [
|
||||
|
|
|
@ -43,8 +43,10 @@ use serde::Deserialize;
|
|||
use turbopack_binding::swc::{
|
||||
core::{
|
||||
common::{
|
||||
chain, comments::Comments, pass::Optional, FileName, Mark, SourceFile, SourceMap,
|
||||
SyntaxContext,
|
||||
chain,
|
||||
comments::{Comments, NoopComments},
|
||||
pass::Optional,
|
||||
FileName, Mark, SourceFile, SourceMap, SyntaxContext,
|
||||
},
|
||||
ecma::{
|
||||
ast::EsVersion, parser::parse_file_as_module, transforms::base::pass::noop, visit::Fold,
|
||||
|
@ -214,6 +216,7 @@ where
|
|||
file.name.clone(),
|
||||
file.src_hash,
|
||||
config.clone(),
|
||||
NoopComments
|
||||
)
|
||||
),
|
||||
None => Either::Right(noop()),
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
"@types/ws": "8.2.0",
|
||||
"@vercel/ncc": "0.34.0",
|
||||
"@vercel/nft": "0.22.6",
|
||||
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2",
|
||||
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1",
|
||||
"acorn": "8.5.0",
|
||||
"amphtml-validator": "1.0.35",
|
||||
"anser": "1.4.9",
|
||||
|
|
|
@ -1068,8 +1068,8 @@ importers:
|
|||
specifier: 0.22.6
|
||||
version: 0.22.6
|
||||
'@vercel/turbopack-ecmascript-runtime':
|
||||
specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2
|
||||
version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2(react-refresh@0.12.0)(webpack@5.86.0)'
|
||||
specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1
|
||||
version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1(react-refresh@0.12.0)(webpack@5.86.0)'
|
||||
acorn:
|
||||
specifier: 8.5.0
|
||||
version: 8.5.0
|
||||
|
@ -24649,9 +24649,9 @@ packages:
|
|||
/zwitch@2.0.4:
|
||||
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
|
||||
|
||||
'@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2(react-refresh@0.12.0)(webpack@5.86.0)':
|
||||
resolution: {registry: https://registry.npmjs.org/, tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2}
|
||||
id: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231126.2'
|
||||
'@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1(react-refresh@0.12.0)(webpack@5.86.0)':
|
||||
resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1}
|
||||
id: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231127.1'
|
||||
name: '@vercel/turbopack-ecmascript-runtime'
|
||||
version: 0.0.0
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in a new issue