Skip to content

Commit

Permalink
Update swc crates
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Apr 5, 2024
1 parent 4d4b237 commit f591065
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 73 deletions.
108 changes: 54 additions & 54 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ next-core = { path = "packages/next-swc/crates/next-core" }
next-custom-transforms = { path = "packages/next-swc/crates/next-custom-transforms" }

# SWC crates
swc_core = { version = "0.90.26", features = [
swc_core = { version = "0.90.27", features = [
"ecma_loader_lru",
"ecma_loader_parking_lot",
] }
testing = { version = "0.35.21" }
testing = { version = "0.35.22" }

# Turbo crates
turbopack-binding = { git = "https://github.com/vercel/turbo.git", branch = "kdy1/swc-core-0-90-10" } # last tag: "turbopack-240404.2"
Expand All @@ -51,45 +51,45 @@ turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", branch = "kdy1/s
# and some aren't buildable with rustls.
reqwest = { version = "=0.11.17", default-features = false }

chromiumoxide = { version = "0.5.0", features = [
chromiumoxide = { version = "0.5.7", features = [
"tokio-runtime",
], default-features = false }
# For matching on errors from chromiumoxide. Keep in
# sync with chromiumoxide's tungstenite requirement.
tungstenite = "0.18.0"
tungstenite = "0.21.0"

# flate2_zlib requires zlib, use flate2_rust
allsorts = { version = "0.14.0", default_features = false, features = [
"outline",
"flate2_rust",
] }
anyhow = "1.0.69"
assert_cmd = "2.0.8"
async-compression = { version = "0.3.13", default-features = false, features = [
anyhow = "1.0.81"
assert_cmd = "2.0.14"
async-compression = { version = "0.4.7", default-features = false, features = [
"gzip",
"tokio",
] }
async-recursion = "1.0.2"
async-trait = "0.1.64"
async-recursion = "1.1.0"
async-trait = "0.1.79"
atty = "0.2.14"
chrono = "0.4.23"
concurrent-queue = "2.1.0"
console = "0.15.5"
console-subscriber = "0.1.8"
criterion = "0.4.0"
crossbeam-channel = "0.5.8"
dashmap = "5.4.0"
dialoguer = "0.10.3"
dunce = "1.0.3"
futures = "0.3.26"
chrono = "0.4.37"
concurrent-queue = "2.4.0"
console = "0.15.8"
console-subscriber = "0.2.0"
criterion = "0.5.1"
crossbeam-channel = "0.5.12"
dashmap = "5.5.3"
dialoguer = "0.11.0"
dunce = "1.0.4"
futures = "0.3.30"
futures-retry = "0.6.0"
httpmock = { version = "0.6.8", default-features = false }
indexmap = "1.9.2"
indicatif = "0.17.3"
indoc = "2.0.0"
itertools = "0.10.5"
httpmock = { version = "0.7.0", default-features = false }
indexmap = "2.2.6"
indicatif = "0.17.8"
indoc = "2.0.5"
itertools = "0.12.1"
lazy_static = "1.4.0"
log = "0.4.17"
log = "0.4.21"
lightningcss = { version = "=1.0.0-alpha.54", features = [
"serde",
"visitor",
Expand All @@ -98,46 +98,46 @@ lightningcss = { version = "=1.0.0-alpha.54", features = [
lightningcss-napi = { version = "0.1.0", default-features = false, features = [
"visitor"
]}
mime = "0.3.16"
mime = "0.3.17"
nohash-hasher = "0.2.0"
once_cell = "1.17.1"
owo-colors = "3.5.0"
parcel_selectors = "0.26.0"
once_cell = "1.19.0"
owo-colors = "4.0.0"
parcel_selectors = "0.26.4"
parking_lot = "0.12.1"
pathdiff = "0.2.1"
# Temporary: Reference the latest git minor version of pathfinder_simd until it's published.
pathfinder_simd = "0.5.3"
pin-project-lite = "0.2.9"
postcard = "1.0.4"
predicates = "2.1.5"
pretty_assertions = "1.3.0"
pathfinder_simd = "0.5.2"
pin-project-lite = "0.2.14"
postcard = "1.0.8"
predicates = "3.1.0"
pretty_assertions = "1.4.0"
proc-macro2 = "1.0.79"
qstring = "0.7.2"
quote = "1.0.23"
quote = "1.0.35"
rand = "0.8.5"
regex = "1.7.0"
rstest = "0.16.0"
regex = "1.10.4"
rstest = "0.18.2"
rustc-hash = "1.1.0"
semver = "1.0.16"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
serde_qs = "0.11.0"
serde_yaml = "0.9.17"
shadow-rs = { version = "0.23.0", default-features = false, features = [
semver = "1.0.22"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
serde_qs = "0.12.0"
serde_yaml = "0.9.34"
shadow-rs = { version = "0.27.1", default-features = false, features = [
"tzdb",
] }
syn = "1.0.107"
tempfile = "3.3.0"
thiserror = "1.0.48"
syn = "2.0.58"
tempfile = "3.10.1"
thiserror = "1.0.58"
tiny-gradient = "0.1.0"
tokio = "1.25.0"
tokio-util = { version = "0.7.7", features = ["io"] }
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
url = "2.2.2"
urlencoding = "2.1.2"
webbrowser = "0.8.7"
dhat = { version = "0.3.2" }
tokio = "1.37.0"
tokio-util = { version = "0.7.10", features = ["io"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
url = "2.5.0"
urlencoding = "2.1.3"
webbrowser = "0.8.13"
dhat = { version = "0.3.3" }

# Sync with the entries in turbo's Cargo.toml
[patch.crates-io]
Expand Down
6 changes: 3 additions & 3 deletions packages/next-swc/crates/napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ next-core = { workspace = true, features = ["rustls-tls"] }
workspace = true

[dependencies]
anyhow = "1.0.66"
anyhow = "1.0.81"
backtrace = "0.3"
fxhash = "0.2.1"
dhat = { workspace = true, optional = true }
Expand All @@ -81,7 +81,7 @@ serde_json = "1"
shadow-rs = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tracing-chrome = "0.5.0"
tracing-chrome = "0.7.2"
url = {workspace = true}
urlencoding = {workspace = true}

Expand All @@ -107,7 +107,7 @@ turbopack-binding = { workspace = true, features = [

# Dependencies for the wasm32 build.
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.9", default-features = false, features = ["js"] }
getrandom = { version = "0.2.12", default-features = false, features = ["js"] }
iana-time-zone = { version = "*", features = ["fallback"] }
turbopack-binding = { workspace = true, features = [
"__swc_core_binding_napi",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ turbo-tasks = { workspace = true }

[build-dependencies]
turbopack-binding = { workspace = true, features = ["__turbo_tasks_build"] }
vergen = { version = "7.3.2", default-features = false, features = [
vergen = { version = "8.3.1", default-features = false, features = [
"cargo",
"build",
] }
4 changes: 2 additions & 2 deletions packages/next-swc/crates/next-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ workspace = true
anyhow = { workspace = true }
async-recursion = { workspace = true }
async-trait = { workspace = true }
base64 = "0.21.0"
lazy-regex = "3.0.1"
base64 = "0.22.0"
lazy-regex = "3.1.0"
next-custom-transforms = { workspace = true }
once_cell = { workspace = true }
qstring = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions packages/next-swc/crates/next-custom-transforms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ fxhash = "0.2.1"
hex = "0.4.3"
once_cell = { workspace = true }
pathdiff = { workspace = true }
regex = "1.5"
regex = "1.10"
rustc-hash = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true, features = ["preserve_order"] }
sha1 = "0.10.1"
tracing = { version = "0.1.37" }
sha1 = "0.10.6"
tracing = { version = "0.1.40" }
anyhow = { workspace = true }
lazy_static = { workspace = true }

Expand All @@ -40,12 +40,12 @@ turbopack-binding = { workspace = true, features = [
swc_core = { workspace = true, features = ["ecma_quote"]}
react_remove_properties = "0.24.7"
remove_console = "0.25.7"
preset_env_base = "0.4.11"
preset_env_base = "0.4.12"

[dev-dependencies]
turbopack-binding = { workspace = true, features = [
"__swc_core_testing_transform",
"__swc_testing",
] }

walkdir = "2.3.2"
walkdir = "2.5.0"
12 changes: 6 additions & 6 deletions packages/next-swc/crates/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ plugin = ["turbopack-binding/__swc_core_binding_wasm_plugin"]
workspace = true

[dependencies]
anyhow = "1.0.66"
console_error_panic_hook = "0.1.6"
anyhow = "1.0.81"
console_error_panic_hook = "0.1.7"
next-custom-transforms = { workspace = true }
serde_json = "1"
wasm-bindgen = { version = "0.2", features = ["enable-interning"] }
wasm-bindgen-futures = "0.4.8"
getrandom = { version = "0.2.9", default-features = false, features = ["js"] }
js-sys = "0.3.59"
serde-wasm-bindgen = "0.4.3"
wasm-bindgen-futures = "0.4.42"
getrandom = { version = "0.2.12", default-features = false, features = ["js"] }
js-sys = "0.3.69"
serde-wasm-bindgen = "0.6.5"
turbopack-binding = { workspace = true, features = [
"__swc_core_binding_wasm",
"__feature_mdx_rs",
Expand Down
4 changes: 2 additions & 2 deletions scripts/send-trace-to-jaeger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ publish = false
workspace = true

[dependencies]
serde_json = "1.0.59"
reqwest = { version = "0.11.6", features = ["blocking"] }
serde_json = "1.0.115"
reqwest = { version = "0.12.2", features = ["blocking"] }

0 comments on commit f591065

Please sign in to comment.