Skip to content

Commit

Permalink
update turbopack (#58080)
Browse files Browse the repository at this point in the history
* vercel/turborepo#6325 <!-- OJ Kwon - build(cargo):
skip external build script with rust-analyzer -->
* vercel/turborepo#6318 <!-- OJ Kwon -
feat(turbopack-ecmascript): calculate import.meta.url as an absolute
path -->
* vercel/turborepo#6359 <!-- Will Binns-Smith -
Turbopack: Defer calculating source positions until needed -->
* vercel/turborepo#6274 <!-- Tobias Koppers - add
backtrace for trait calls -->
* vercel/turborepo#6305 <!-- Tobias Koppers - Triple
chunk size heuristic -->
* vercel/turborepo#6304 <!-- Tobias Koppers -
improve resolving performance -->
  • Loading branch information
sokra authored Nov 6, 2023
1 parent 103ca04 commit 883ab22
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 49 deletions.
74 changes: 37 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ swc_core = { version = "0.86.10", features = [
testing = { version = "0.35.0" }

# Turbo crates
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231026.5" }
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231106.2" }
# [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-231026.5" }
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231106.2" }
# [TODO]: need to refactor embed_directory! macro usage in next-core
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231026.5" }
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231106.2" }

# General Deps

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-api/src/dynamic_imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ async fn build_dynamic_imports_map_for_module(
)),
Request::parse(Value::new(Pattern::Constant(import.to_string()))),
Value::new(EcmaScriptModulesReferenceSubType::Undefined),
None,
IssueSeverity::Error.cell(),
None,
)
.first_module()
.await?;
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-api/src/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ impl PageEndpoint {
"next/dist/client/next-dev-turbopack.js".to_string(),
))),
Value::new(EcmaScriptModulesReferenceSubType::Undefined),
None,
IssueSeverity::Error.cell(),
None,
)
.first_module()
.await?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub async fn get_swc_ecma_transform_plugin_impl(
project_path,
request,
resolve_options,
None,
IssueSeverity::Error.cell(),
None,
)
.await?;
let Some(plugin_module) = *plugin_wasm_module_resolve_result.first_module().await? else {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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-231026.5",
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231106.2",
"acorn": "8.5.0",
"amphtml-validator": "1.0.35",
"anser": "1.4.9",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 883ab22

Please sign in to comment.