Unverified Commit df88058f authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: switch from base40 to base38 hash encoding (remove ~ and . from charset) (#91832)

### What?

Switch Turbopack's hash encoding charset from base40 (`0-9 a-z _ - ~ .`)
to base38 (`0-9 a-z _ -`), removing the `~` and `.` characters. Pure
rename/charset change — no structural changes.

### Why?

The `~` and `.` characters in base40-encoded filenames are blocked by
standard Nginx hardening rules (`block_common_exploits.conf`) and
enterprise WAF configurations, causing **403 Forbidden errors** when
applications are deployed behind security-hardened infrastructure.

Examples of problematic filenames:
- `turbopack-0c3o1svijj_~~.js` — `~~` flagged as directory traversal /
injection
- `0...f7~att2_2.js` — `...` flagged as path traversal attempt  
- `0q~2copru0zy0.css` — `~` filtered by some WAF rulesets

Previous hex-only filenames (e.g. `turbopack-01ca012029ca2e66.js`) had
no such issues.

Fixes https://github.com/vercel/next.js/issues/91678

### How?

**Charset change** (`turbo-tasks-hash/src/base38.rs`, renamed from
`base40.rs`):
- Alphabet reduced from 40 to 38 characters:
`0123456789abcdefghijklmnopqrstuvwxyz_-`
- All constants and functions renamed: `BASE40_*` → `BASE38_*`,
`encode_base40` → `encode_base38`
- Hash lengths unchanged: 13 chars for 64-bit, 25 chars for 128-bit
(`38^13 > 2^64`, `38^25 > 2^128`)
- Content hash length stays at 13 (68.2 bits vs 69.2 bits with base40 —
negligible)

**`HashAlgorithm` enum variants** (`turbo-tasks-hash/src/lib.rs`):
- `Xxh3Hash64Base40` → `Xxh3Hash64Base38`
- `Xxh3Hash128Base40` → `Xxh3Hash128Base38`

**Bit computation comment** (`turbopack-core/src/ident.rs`):
- Updated `7 base38 chars ≈ 37 bits` → `≈ 36 bits` (log2(38) × 7 = 36.7)

**Test regex patterns** (15 test files):
- Updated `[0-9a-z_.~-]` → `[0-9a-z_-]` to match the new charset

---------
Co-authored-by: 's avatarTobias Koppers <sokra@users.noreply.github.com>
Co-authored-by: 's avatarClaude <noreply@anthropic.com>
parent 78f16256
......@@ -30,13 +30,9 @@ export const expectedWhenTrailingSlashTrue = [
// Turbopack and plain next.js have different hash output for the file name
// Turbopack will output favicon in the _next/static/media folder
...(process.env.IS_TURBOPACK_TEST
? [
expect.stringMatching(
/_next\/static\/media\/favicon\.[0-9a-z_.~-]+\.ico/
),
]
? [expect.stringMatching(/_next\/static\/media\/favicon\.[0-9a-z_-]+\.ico/)]
: []),
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-z_.~-]+\.png/),
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-z_-]+\.png/),
expect.stringMatching(/_next\/static\/[A-Za-z0-9_-]+\/_buildManifest.js/),
...(process.env.IS_TURBOPACK_TEST
? [
......@@ -113,13 +109,9 @@ const expectedWhenTrailingSlashFalse = [
'__next._tree.txt',
// Turbopack will output favicon in the _next/static/media folder
...(process.env.IS_TURBOPACK_TEST
? [
expect.stringMatching(
/_next\/static\/media\/favicon\.[0-9a-z_.~-]+\.ico/
),
]
? [expect.stringMatching(/_next\/static\/media\/favicon\.[0-9a-z_-]+\.ico/)]
: []),
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-z_.~-]+\.png/),
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-z_-]+\.png/),
expect.stringMatching(/_next\/static\/[A-Za-z0-9_-]+\/_buildManifest.js/),
...(process.env.IS_TURBOPACK_TEST
? [
......
......@@ -451,7 +451,7 @@ describe('app dir - basic', () => {
const html = await next.render('/dashboard/index')
expect(html).toMatch(
process.env.IS_TURBOPACK_TEST
? /<script src="\/_next\/static\/chunks\/([\w-]*polyfill-nomodule|[0-9a-z_.~-]+)\.js(\?[^"]+)?" noModule="">/
? /<script src="\/_next\/static\/chunks\/([\w-]*polyfill-nomodule|[0-9a-z_-]+)\.js(\?[^"]+)?" noModule="">/
: /<script src="\/_next\/static\/chunks\/polyfills(-\w+)?\.js(\?[^"]+)?" noModule="">/
)
})
......
......@@ -78,7 +78,7 @@ describe('next-image-proxy', () => {
const local = await browser.elementByCss('#app-page').getAttribute('src')
expect(
local.replace(/test\.[0-9a-z_.~-]{4,}\.png/g, 'test.HASH.png')
local.replace(/test\.[0-9a-z_-]{4,}\.png/g, 'test.HASH.png')
).toEqual(
`/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Ftest.HASH.png&w=828&q=90${next.getAssetQuery(true)}`
)
......
......@@ -291,5 +291,5 @@ describe('app dir - next-image', () => {
})
function stripTestHash(text: string) {
return text.replace(/test\.[0-9a-z_.~-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
return text.replace(/test\.[0-9a-z_-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
}
......@@ -84,7 +84,7 @@ describe('node-worker-threads', () => {
const url = new URL(data.pngInfo.url, 'http://localhost')
expect(url.pathname).toMatch(
/\/_next\/static.*\/test-image\.[0-9a-z_.~-]+\.png/
/\/_next\/static.*\/test-image\.[0-9a-z_-]+\.png/
)
if (!isNextDev) {
expect(next.assetToken).toMatch(/.+/)
......
......@@ -15,7 +15,7 @@ describe('webpack-loader-module-type', () => {
const $ = await next.render$('/')
const src = $('#svg-url').text()
// asset/resource should emit the file and return URL path
expect(src).toMatch(/\/_next\/static\/media\/test\.[0-9a-z_.~-]+\.svg$/)
expect(src).toMatch(/\/_next\/static\/media\/test\.[0-9a-z_-]+\.svg$/)
})
itTurbopackOnly(
......
......@@ -70,19 +70,19 @@ describe('Edge Compiler can import asset assets', () => {
expect(orderedAssets).toMatchObject([
{
name: expect.stringMatching(
/server\/edge\/assets\/text-file\.[0-9a-z_.~-]+\.txt$/
/server\/edge\/assets\/text-file\.[0-9a-z_-]+\.txt$/
),
filePath: expect.stringMatching(/^server\/edge\/assets\/text-file/),
},
{
name: expect.stringMatching(
/^server\/edge\/assets\/vercel\.[0-9a-z_.~-]+\.png$/
/^server\/edge\/assets\/vercel\.[0-9a-z_-]+\.png$/
),
filePath: expect.stringMatching(/^server\/edge\/assets\/vercel/),
},
{
name: expect.stringMatching(
/^server\/edge\/assets\/world\.[0-9a-z_.~-]+\.json/
/^server\/edge\/assets\/world\.[0-9a-z_-]+\.json/
),
filePath: expect.stringMatching(/^server\/edge\/assets\/world/),
},
......
......@@ -43,7 +43,7 @@ import { join } from 'path'
}
const expectedServer =
/Hello <!-- -->42<!-- -->\+<!-- -->42<!-- -->\+<!-- -->\/_next\/static\/media\/vercel\.[0-9a-z_.~-]+\.png<!-- -->\+<!-- -->\/_next\/static\/media\/vercel\.[0-9a-z_.~-]+\.png/
/Hello <!-- -->42<!-- -->\+<!-- -->42<!-- -->\+<!-- -->\/_next\/static\/media\/vercel\.[0-9a-z_-]+\.png<!-- -->\+<!-- -->\/_next\/static\/media\/vercel\.[0-9a-z_-]+\.png/
const expectedClient = new RegExp(
expectedServer.source.replace(/<!-- -->/g, '')
)
......@@ -69,7 +69,7 @@ import { join } from 'path'
expect(
await browser.elementByCss('#static-image').getAttribute('src')
).toMatch(
/^\/_next\/image\?url=%2F_next%2Fstatic%2Fmedia%2Fvercel\.[0-9a-z_.~-]+\.png&/
/^\/_next\/image\?url=%2F_next%2Fstatic%2Fmedia%2Fvercel\.[0-9a-z_-]+\.png&/
)
)
})
......@@ -84,7 +84,7 @@ import { join } from 'path'
.elementByCss('#static-css')
.getComputedCss('background-image')
).toMatch(
/^url\("http(s)?:\/\/.+\/_next\/static\/media\/vercel\.[0-9a-z_.~-]+\.png(?:\?.*)?"\)$/
/^url\("http(s)?:\/\/.+\/_next\/static\/media\/vercel\.[0-9a-z_-]+\.png(?:\?.*)?"\)$/
)
)
})
......
......@@ -200,5 +200,5 @@ describe(`Handle new URL asset references`, () => {
})
function stripVercelPngHash(text: string) {
return text.replace(/vercel\.[0-9a-z_.~-]{4,}\.png/g, 'vercel.HASH.png')
return text.replace(/vercel\.[0-9a-z_-]{4,}\.png/g, 'vercel.HASH.png')
}
......@@ -564,8 +564,8 @@ module.exports = {
expect(cssContent).toMatchInlineSnapshot(`
[
"/_next/static/chunks/HASH.css:
.red-text{color:red;background-image:url(../media/dark.0bi3upmbca6o8.svg),url(../media/dark2.0bi3upmbca6o8.svg)}
.blue-text{color:orange;background-image:url(../media/light.0-fs_bhu4mhnn.svg);font-weight:bolder}
.red-text{color:red;background-image:url(../media/dark.0-9yl04ewdb5w.svg),url(../media/dark2.0-9yl04ewdb5w.svg)}
.blue-text{color:orange;background-image:url(../media/light.37p36_ay21lu_.svg);font-weight:bolder}
.blue-text{color:#00f}",
]
`)
......@@ -573,8 +573,8 @@ module.exports = {
expect(cssContent).toMatchInlineSnapshot(`
[
"/_next/static/chunks/HASH.css:
.red-text{color:red;background-image:url(../media/dark.0bi3upmbca6o8.svg),url(../media/dark2.0bi3upmbca6o8.svg)}
.blue-text{color:orange;background-image:url(../media/light.0-fs_bhu4mhnn.svg);font-weight:bolder}
.red-text{color:red;background-image:url(../media/dark.0-9yl04ewdb5w.svg),url(../media/dark2.0-9yl04ewdb5w.svg)}
.blue-text{color:orange;background-image:url(../media/light.37p36_ay21lu_.svg);font-weight:bolder}
.blue-text{color:#00f}",
]
`)
......@@ -640,8 +640,8 @@ describe('CSS URL via `file-loader` and asset prefix (1)', () => {
expect(cssContent).toMatchInlineSnapshot(`
[
"/_next/static/chunks/HASH.css:
.red-text{color:red;background-image:url(../media/dark.0bi3upmbca6o8.svg) url(../media/dark2.0bi3upmbca6o8.svg)}
.blue-text{color:orange;background-image:url(../media/light.0-fs_bhu4mhnn.svg);font-weight:bolder}
.red-text{color:red;background-image:url(../media/dark.0-9yl04ewdb5w.svg) url(../media/dark2.0-9yl04ewdb5w.svg)}
.blue-text{color:orange;background-image:url(../media/light.37p36_ay21lu_.svg);font-weight:bolder}
.blue-text{color:#00f}",
]
`)
......@@ -692,8 +692,8 @@ describe('CSS URL via `file-loader` and asset prefix (2)', () => {
expect(cssContent).toMatchInlineSnapshot(`
[
"/_next/static/chunks/HASH.css:
.red-text{color:red;background-image:url(../media/dark.0bi3upmbca6o8.svg) url(../media/dark2.0bi3upmbca6o8.svg)}
.blue-text{color:orange;background-image:url(../media/light.0-fs_bhu4mhnn.svg);font-weight:bolder}
.red-text{color:red;background-image:url(../media/dark.0-9yl04ewdb5w.svg) url(../media/dark2.0-9yl04ewdb5w.svg)}
.blue-text{color:orange;background-image:url(../media/light.37p36_ay21lu_.svg);font-weight:bolder}
.blue-text{color:#00f}",
]
`)
......@@ -721,7 +721,7 @@ async function getStylesheetContents($, appPort, items) {
const pathname = new URL(href, `http://localhost:${appPort}`).pathname
const text = await res.text()
results.push(
`${pathname.replace(/\/([0-9a-z_.~-]{7,})\.(css|js)\b/g, '/HASH.$2')}:\n${text
`${pathname.replace(/\/([0-9a-z_-]{7,})\.(css|js)\b/g, '/HASH.$2')}:\n${text
.replace(/\/\*.*?\*\/\n?/g, '')
.replace(/(\?dpl=[^)"']+)/g, '')
.trim()}`
......
......@@ -1521,7 +1521,7 @@ export function runTests(ctx: RunTestsCtx) {
if (!ctx.isDev) {
const filename = fs
.readdirSync(join(ctx.appDir, '.next/static/media'))
.find((f) => /^test\.[0-9a-z_.~-]+\.jpg$/.test(f))
.find((f) => /^test\.[0-9a-z_-]+\.jpg$/.test(f))
expect(filename).toBeString()
const query: Record<string, string> = {
url: `/_next/static/media/${filename}`,
......
......@@ -75,7 +75,7 @@ function runTests(mode: 'dev' | 'server') {
)
expect(
(await browser.elementById('static-image').getAttribute('src')).replace(
/test\.[0-9a-z_.~-]+\.jpg/,
/test\.[0-9a-z_-]+\.jpg/,
'test.HASH.jpg'
)
).toMatch('/_next/static/media/test.HASH.jpg' + assetDpl)
......
......@@ -1863,5 +1863,5 @@ describe('Image Component Default Tests', () => {
})
function stripTestHash(text: string) {
return text.replace(/test\.[0-9a-z_.~-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
return text.replace(/test\.[0-9a-z_-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
}
......@@ -78,5 +78,5 @@ describe('Image Component basePath + trailingSlash Tests', () => {
})
function stripTestHash(text: string) {
return text.replace(/test\.[0-9a-z_.~-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
return text.replace(/test\.[0-9a-z_-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
}
......@@ -1818,5 +1818,5 @@ describe('Image Component Default Tests', () => {
})
function stripTestHash(text: string) {
return text.replace(/test\.[0-9a-z_.~-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
return text.replace(/test\.[0-9a-z_-]{4,}\.(png|jpe?g)/g, 'test.HASH.$1')
}
/// URL-safe, filesystem-safe alphabet for hash encoding: `0-9 a-z _ - ~ .`
/// URL-safe, filesystem-safe alphabet for hash encoding: `0-9 a-z _ -`
///
/// All 40 characters are RFC 3986 unreserved characters and are safe on
/// All 38 characters are RFC 3986 unreserved characters and are safe on
/// case-insensitive filesystems (macOS HFS+/APFS, Windows NTFS).
const BASE40_CHARS: &[u8; 40] = b"0123456789abcdefghijklmnopqrstuvwxyz_-~.";
///
/// `~` and `.` are intentionally excluded despite being RFC 3986 unreserved:
/// they are blocked by common Nginx hardening rules (`block_common_exploits.conf`)
/// and enterprise WAF configurations, causing 403 errors when sequences like
/// `~~` or `...` appear in asset filenames (false-positive path traversal matches).
const BASE38_CHARS: &[u8; 38] = b"0123456789abcdefghijklmnopqrstuvwxyz_-";
const BASE: u128 = BASE40_CHARS.len() as u128;
const BASE: u128 = BASE38_CHARS.len() as u128;
/// Computes the number of base-N digits needed to represent all values of
/// `bits` width: the smallest `n` such that `base^n > 2^bits - 1`.
......@@ -32,38 +37,38 @@ const fn digits_for_bits(base: u128, bits: u32) -> usize {
n
}
/// Number of base40 characters needed to represent a 64-bit value without
/// Number of base38 characters needed to represent a 64-bit value without
/// information loss.
pub const BASE40_LEN_64: usize = digits_for_bits(BASE, 64);
pub const BASE38_LEN_64: usize = digits_for_bits(BASE, 64);
/// Number of base40 characters needed to represent a 128-bit value without
/// Number of base38 characters needed to represent a 128-bit value without
/// information loss.
pub const BASE40_LEN_128: usize = digits_for_bits(BASE, 128);
pub const BASE38_LEN_128: usize = digits_for_bits(BASE, 128);
// Verify our const computation matches the expected values.
const _: () = assert!(BASE40_LEN_64 == 13);
const _: () = assert!(BASE40_LEN_128 == 25);
const _: () = assert!(BASE38_LEN_64 == 13);
const _: () = assert!(BASE38_LEN_128 == 25);
/// Encodes a value into a fixed-width base40 string by repeatedly dividing by
/// 40.
fn encode_base40_fixed<const N: usize>(mut n: u128) -> String {
/// Encodes a value into a fixed-width base38 string by repeatedly dividing by
/// 38.
fn encode_base38_fixed<const N: usize>(mut n: u128) -> String {
let mut buf = [b'0'; N];
for i in (0..N).rev() {
buf[i] = BASE40_CHARS[(n % 40) as usize];
n /= 40;
buf[i] = BASE38_CHARS[(n % 38) as usize];
n /= 38;
}
// SAFETY: BASE40_CHARS only contains ASCII bytes.
// SAFETY: BASE38_CHARS only contains ASCII bytes.
unsafe { String::from_utf8_unchecked(buf.to_vec()) }
}
/// Encodes a 64-bit unsigned integer into a fixed-width 13-character base40
/// Encodes a 64-bit unsigned integer into a fixed-width 13-character base38
/// string.
pub fn encode_base40(n: u64) -> String {
encode_base40_fixed::<BASE40_LEN_64>(n as u128)
pub fn encode_base38(n: u64) -> String {
encode_base38_fixed::<BASE38_LEN_64>(n as u128)
}
/// Encodes a 128-bit unsigned integer into a fixed-width 25-character base40
/// Encodes a 128-bit unsigned integer into a fixed-width 25-character base38
/// string.
pub fn encode_base40_128(n: u128) -> String {
encode_base40_fixed::<BASE40_LEN_128>(n)
pub fn encode_base38_128(n: u128) -> String {
encode_base38_fixed::<BASE38_LEN_128>(n)
}
//! Hashing and encoding functions for turbopack.
//!
//! An example use of this module is hashing a file's content for cache
//! invalidation, and encoding the hash to a base40 or hexadecimal string for
//! invalidation, and encoding the hash to a base38 or hexadecimal string for
//! use in a file name.
mod base40;
mod base38;
mod base64;
mod deterministic_hash;
mod hex;
......@@ -20,10 +20,10 @@ pub enum HashAlgorithm {
#[default]
Xxh3Hash64Hex,
Xxh3Hash128Hex,
/// xxh3 64-bit hash encoded as a 13-character base40 string (0-9 a-z _ - ~ .)
Xxh3Hash64Base40,
/// xxh3 128-bit hash encoded as a 25-character base40 string (0-9 a-z _ - ~ .)
Xxh3Hash128Base40,
/// xxh3 64-bit hash encoded as a 13-character base38 string (0-9 a-z _ -)
Xxh3Hash64Base38,
/// xxh3 128-bit hash encoded as a 25-character base38 string (0-9 a-z _ -)
Xxh3Hash128Base38,
/// Used for [Subresource Integrity (SRI)][sri].
///
/// [sri]: https://nextjs.org/docs/app/guides/content-security-policy#enabling-sri
......@@ -50,15 +50,15 @@ pub fn deterministic_hash<T: DeterministicHash>(input: T, algorithm: HashAlgorit
input.deterministic_hash(&mut hasher);
encode_hex_128(hasher.finish())
}
HashAlgorithm::Xxh3Hash64Base40 => {
HashAlgorithm::Xxh3Hash64Base38 => {
let mut hasher = Xxh3Hash64Hasher::new();
input.deterministic_hash(&mut hasher);
encode_base40(hasher.finish())
encode_base38(hasher.finish())
}
HashAlgorithm::Xxh3Hash128Base40 => {
HashAlgorithm::Xxh3Hash128Base38 => {
let mut hasher = Xxh3Hash128Hasher::new();
input.deterministic_hash(&mut hasher);
encode_base40_128(hasher.finish())
encode_base38_128(hasher.finish())
}
HashAlgorithm::Sha256Base64 => {
let mut hasher = ShaHasher::new_sha256();
......@@ -79,7 +79,7 @@ pub fn deterministic_hash<T: DeterministicHash>(input: T, algorithm: HashAlgorit
}
pub use crate::{
base40::{BASE40_LEN_64, BASE40_LEN_128, encode_base40, encode_base40_128},
base38::{BASE38_LEN_64, BASE38_LEN_128, encode_base38, encode_base38_128},
base64::encode_base64,
deterministic_hash::{DeterministicHash, DeterministicHasher},
hex::{encode_hex, encode_hex_128},
......
......@@ -558,7 +558,7 @@ impl ChunkingContext for BrowserChunkingContext {
};
let hash = asset
.content()
.content_hash(HashAlgorithm::Xxh3Hash128Base40)
.content_hash(HashAlgorithm::Xxh3Hash128Base38)
.await?;
let hash = hash.as_ref().context(
"chunk_path requires an asset with file content when content hashing is \
......
......@@ -65,7 +65,7 @@ pub enum ContentHashing {
/// Benefit: No hash manifest needed.
/// Downside: Causes cascading hash invalidation.
Direct {
/// The length of the content hash in base40 chars. Anything lower than 7 is not
/// The length of the content hash in base38 chars. Anything lower than 7 is not
/// recommended due to the high risk of collisions.
length: u8,
},
......
......@@ -9,7 +9,7 @@ use turbo_tasks::{
NonLocalValue, ReadRef, ResolvedVc, TaskInput, ValueToString, Vc, trace::TraceRawVcs, turbofmt,
};
use turbo_tasks_fs::FileSystemPath;
use turbo_tasks_hash::{DeterministicHash, Xxh3Hash64Hasher, encode_base40, hash_xxh3_hash64};
use turbo_tasks_hash::{DeterministicHash, Xxh3Hash64Hasher, encode_base38, hash_xxh3_hash64};
use crate::resolve::ModulePart;
......@@ -335,8 +335,8 @@ impl AssetIdent {
}
if has_hash {
let hash = encode_base40(hasher.finish());
// 7 base40 chars ≈ 37 bits of collision resistance
let hash = encode_base38(hasher.finish());
// 7 base38 chars ≈ 36 bits of collision resistance
let truncated_hash = &hash[..7];
write!(name, "_{truncated_hash}")?;
}
......@@ -358,8 +358,8 @@ impl AssetIdent {
}
}
if i > 0 {
let hash = encode_base40(hash_xxh3_hash64(&name.as_bytes()[..i]));
// 4 base40 chars ≈ 21 bits — just a short disambiguator prefix
let hash = encode_base38(hash_xxh3_hash64(&name.as_bytes()[..i]));
// 4 base38 chars ≈ 21 bits — just a short disambiguator prefix
let truncated_hash = &hash[..4];
name = format!("{}_{}", truncated_hash, &name[i..]);
}
......
......@@ -231,7 +231,7 @@ impl FileHashVersion {
match asset_content {
AssetContent::File(file_vc) => {
let hash = file_vc
.content_hash(HashAlgorithm::Xxh3Hash128Base40)
.content_hash(HashAlgorithm::Xxh3Hash128Base38)
.owned()
.await?
.context("file not found")?;
......
......@@ -41,7 +41,7 @@ impl OutputAsset for StaticOutputAsset {
async fn path(&self) -> Result<Vc<FileSystemPath>> {
let content = self.source.content();
let content_hash = content
.content_hash(HashAlgorithm::Xxh3Hash128Base40)
.content_hash(HashAlgorithm::Xxh3Hash128Base38)
.owned()
.await?
.context(
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_dynamic-import_input_index_0q~hmwn.js",
{"otherChunks":["output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_10~7x1o.js","output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_index_0q0x2fi.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_dynamic-import_input_index_0qno3y-.js",
{"otherChunks":["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1y039z7.js","output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_index_17se2p5.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_index_0q0x2fi.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_index_17se2p5.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)", ((__turbopack_context__, module, exports) => {
async function main() {
......@@ -9,4 +9,4 @@ main();
}),
]);
//# sourceMappingURL=0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_index_0q0x2fi.js.map
\ No newline at end of file
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_index_17se2p5.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_0r_so._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -182,4 +182,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
]);
//# sourceMappingURL=0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_0r_so._.js.map
\ No newline at end of file
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_10~7x1o.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1y039z7.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript, async loader)", ((__turbopack_context__) => {
__turbopack_context__.v((parentImport) => {
return Promise.all([
"output/0wxz_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_0r_so._.js"
"output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5.js"
].map((chunk) => __turbopack_context__.l(chunk))).then(() => {
return parentImport("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)");
});
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0j2ccd1._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0xj7csh._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -94,4 +94,4 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0j2ccd1._.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0xj7csh._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_export-named_input_index_0zf_w72.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0j2ccd1._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_export-named_input_index_210e6bp.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_0xj7csh._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_0yk~6hr._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -189,4 +189,4 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_0yk~6hr._.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_export-namespace_input_index_0fhdicw.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_0yk~6hr._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_export-namespace_input_index_0tbr8qy.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_0zr2xyk._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -77,4 +77,4 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_0zr2xyk._.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_import-named-all_input_index_0u6ztcj.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_0zr2xyk._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_import-named-all_input_index_0ol2hm0.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_0wmtce2._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcy._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -77,4 +77,4 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_0wmtce2._.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcy._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_import-named_input_index_0hj7_ki.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_0wmtce2._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_import-named_input_index_1c8nbdp.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcy._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_0w9jkvh._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -173,4 +173,4 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_0w9jkvh._.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_import-namespace_input_index_0_g50nn.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_0w9jkvh._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_import-namespace_input_index_0-n2_vs.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_import-side-effect_input_index_05zmix2.js",
{"otherChunks":["output/0wxz_tests_snapshot_basic-tree-shake_import-side-effect_input_12e1m28._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_import-side-effect_input_index_0g7y89f.js",
{"otherChunks":["output/1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9i._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_import-side-effect_input_12e1m28._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9i._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -53,4 +53,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
]);
//# sourceMappingURL=0wxz_tests_snapshot_basic-tree-shake_import-side-effect_input_12e1m28._.js.map
\ No newline at end of file
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9i._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_require-side-effect_input_index_0v7fuxm.js",
{"otherChunks":["output/0wxz_tests_snapshot_basic-tree-shake_require-side-effect_input_08~4tz.._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_require-side-effect_input_index_1183joi.js",
{"otherChunks":["output/1jsg_tests_snapshot_basic-tree-shake_require-side-effect_input_0fs4qhn._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_require-side-effect_input_08~4tz.._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_require-side-effect_input_0fs4qhn._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -186,4 +186,4 @@ const { cat } = __turbopack_context__.r("[project]/turbopack/crates/turbopack-te
}),
]);
//# sourceMappingURL=0wxz_tests_snapshot_basic-tree-shake_require-side-effect_input_08~4tz.._.js.map
\ No newline at end of file
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_require-side-effect_input_0fs4qhn._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0tuk_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_0dmw76_.js",
{"otherChunks":["output/0wxz_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_04b4ex6.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)"]}
"output/1ece_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_0z2elrc.js",
{"otherChunks":["output/1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq5.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0wxz_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_04b4ex6.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq5.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) <internal part 0>", ((__turbopack_context__) => {
"use strict";
......@@ -182,4 +182,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
]);
//# sourceMappingURL=0wxz_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_04b4ex6.js.map
\ No newline at end of file
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq5.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_0x5tpia.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_1ka8r7j.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript, async loader)", ((__turbopack_context__) => {
__turbopack_context__.v((parentImport) => {
return Promise.all([
"output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0xyt5ha._.js"
"output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-._.js"
].map((chunk) => __turbopack_context__.l(chunk))).then(() => {
return parentImport("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)");
});
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0v.~_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_03rd2w8.js",
{"otherChunks":["output/0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_0x5tpia.js","output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0~ga2.4._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js [test] (ecmascript)"]}
"output/1i9t_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_0k4s9ge.js",
{"otherChunks":["output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_1ka8r7j.js","output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1tjv7of._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0xyt5ha._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict";
......@@ -25,4 +25,4 @@ function foo(value) {
}),
]);
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0xyt5ha._.js.map
\ No newline at end of file
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0~ga2.4._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1tjv7of._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js [test] (ecmascript)", ((__turbopack_context__, module, exports) => {
// shared package
......@@ -29,4 +29,4 @@ function bar(value) {
}),
]);
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_0~ga2.4._.js.map
\ No newline at end of file
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1tjv7of._.js.map
\ No newline at end of file
......@@ -25,4 +25,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
];
//# sourceMappingURL=0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_060ckam._.js.map
\ No newline at end of file
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0aldyki._.js.map
\ No newline at end of file
......@@ -31,7 +31,7 @@ __turbopack_context__.A("[project]/turbopack/crates/turbopack-tests/tests/snapsh
__turbopack_context__.v((parentImport) => {
return Promise.all([
"output/0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_060ckam._.js"
"output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0aldyki._.js"
].map((chunk) => __turbopack_context__.l(chunk))).then(() => {
return parentImport("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)");
});
......@@ -39,4 +39,4 @@ __turbopack_context__.v((parentImport) => {
}),
];
//# sourceMappingURL=0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0ofnzqb._.js.map
\ No newline at end of file
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1a38y3r._.js.map
\ No newline at end of file
var R=require("./[turbopack]_runtime.js")("output/index.entry.js")
R.c("output/0teu_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0ofnzqb._.js")
R.c("output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1a38y3r._.js")
R.m("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js [test] (ecmascript)")
module.exports=R.m("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js [test] (ecmascript)").exports
\ No newline at end of file
(globalThis["myApp"] || (globalThis["myApp"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_09-oxbf.js",
(globalThis["myApp"] || (globalThis["myApp"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_0hi3tgp.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunk_loading_global/input/index.js [test] (ecmascript)", ((__turbopack_context__, module, exports) => {
console.log('ChunkingLoadingGlobal test');
}),
]);
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_09-oxbf.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_0hi3tgp.js.map
\ No newline at end of file
(globalThis["myApp"] || (globalThis["myApp"] = [])).push([
"output/0fw._turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_0bkyka9.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_09-oxbf.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunk_loading_global/input/index.js [test] (ecmascript)"]}
"output/0rv8_turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_176tecx.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic_chunk_loading_global_input_index_0hi3tgp.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunk_loading_global/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0v.~_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_0xga7l~.js",
{"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_12omlz0._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)"]}
"output/1i9t_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_14uir__.js",
{"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_12omlz0._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict";
......@@ -20,4 +20,4 @@ function foo(value) {
}),
]);
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_12omlz0._.js.map
\ No newline at end of file
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1._.js.map
\ No newline at end of file
module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js [test] (ecmascript)",(t,e,o)=>{let s="Hello";console.log("Hello, world!",3,s),console.log(s)}];
//# sourceMappingURL=0ko._turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_0lquo_u.js.map
\ No newline at end of file
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_103o_dh.js.map
\ No newline at end of file
var R=require("./[turbopack]_runtime.js")("output/index.entry.js")
R.c("output/0ko._turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_0lquo_u.js")
R.c("output/0_9x_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_103o_dh.js")
R.m("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js [test] (ecmascript)")
module.exports=R.m("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js [test] (ecmascript)").exports
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0v.~_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_0o_hwg3.js",
{"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_01d-jr1._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)"]}
"output/1i9t_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_0z_jazh.js",
{"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zh._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_01d-jr1._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zh._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict";
......@@ -20,4 +20,4 @@ function foo(value) {
}),
]);
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_01d-jr1._.js.map
\ No newline at end of file
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zh._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0ko._turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_06_-s.l.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_0c6krug.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript, async loader)", ((__turbopack_context__) => {
__turbopack_context__.v((parentImport) => {
return Promise.all([
"output/0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0kdqcbt._.js"
"output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_._.js"
].map((chunk) => __turbopack_context__.l(chunk))).then(() => {
return parentImport("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)");
});
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/0v.~_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_13urqno.js",
{"otherChunks":["output/0ko._turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_06_-s.l.js","output/0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0w4czq.._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0kdqcbt._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/db-connection.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict";
......@@ -53,4 +53,4 @@ __turbopack_async_result__();
} catch(e) { __turbopack_async_result__(e); } }, false);}),
]);
//# sourceMappingURL=0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0kdqcbt._.js.map
\ No newline at end of file
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0w4czq.._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict";
......@@ -36,4 +36,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
]);
//# sourceMappingURL=0teu_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0w4czq.._.js.map
\ No newline at end of file
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/1i9t_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_1y_8e9k.js",
{"otherChunks":["output/0_9x_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_0c6krug.js","output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js [test] (ecmascript)"]}
]);
// Dummy runtime
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0teu_crates_turbopack-tests_tests_snapshot_basic_ts-parse-error_input_02sgmse._.js",
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_ts-parse-error_input_04t2r94._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ts-parse-error/input/other.ts [test] (ecmascript)", ((__turbopack_context__, module, exports) => {
const e = new Error("Could not parse module '[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ts-parse-error/input/other.ts'\n\nCannot assign to this");
......@@ -14,4 +14,4 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
}),
]);
//# sourceMappingURL=0teu_crates_turbopack-tests_tests_snapshot_basic_ts-parse-error_input_02sgmse._.js.map
\ No newline at end of file
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_ts-parse-error_input_04t2r94._.js.map
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment