Skip to content

Commit 18b13e0

Browse files
fix(turbopack): add no-op resolveAbsolutePath to browser runtime (vercel#67215)
### What? The turbopack browser runtime was throwing an error when trying to access `import.meta.url`. Closes PACK-3095 Fixes vercel#66005
1 parent c8e9e65 commit 18b13e0

File tree

6 files changed

+88
-45
lines changed

6 files changed

+88
-45
lines changed

Cargo.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ swc_core = { version = "0.95.4", features = [
3838
testing = { version = "0.36.0" }
3939

4040
# Turbo crates
41-
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.2" }
41+
turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.3" }
4242
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
43-
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.2" }
43+
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.3" }
4444
# [TODO]: need to refactor embed_directory! macro usage in next-core
45-
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.2" }
45+
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240626.3" }
4646

4747
# General Deps
4848

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"@types/ws": "8.2.0",
206206
"@vercel/ncc": "0.34.0",
207207
"@vercel/nft": "0.27.1",
208-
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240626.2",
208+
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240626.3",
209209
"acorn": "8.11.3",
210210
"amphtml-validator": "1.0.35",
211211
"anser": "1.4.9",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)