Unverified Commit 8ff7f2bd authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Update Rust namespace re-export snapshots (#99106)

### What?

Update the generated JavaScript and source-map snapshots for the
Turbopack namespace-value re-export named-import fixture.

### Why?

Canary's Rust unit job fails because the checked-in fixture expects an
obsolete export-registration sequence. The current generated output
omits that redundant sequence, shifting the source-map mapping for the
entry point.

### How?

Regenerate both outputs together so the source map describes the
JavaScript Turbopack actually emits. The fixture continues to exercise
the named namespace imports and their referenced members; no runtime or
generator behavior changes.

### Verification

- Focused `turbopack-tests::snapshot` test passed twice in the default
profile and once with CI's `release-with-assertions` profile.
- Full Rust unit suite not run locally; PR CI will run it.

<!-- NEXT_JS_LLM -->


<!-- fleet 141f2d4f-ccec-4c7c-a4ac-fd0bb00bdc73 -->
Co-authored-by: 's avatarvercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent c9b90452
...@@ -18,18 +18,6 @@ const __TURBOPACK__default__export__ = 'EN_USED_MARKER'; ...@@ -18,18 +18,6 @@ const __TURBOPACK__default__export__ = 'EN_USED_MARKER';
const object = ()=>'object'; const object = ()=>'object';
const string = ()=>'string'; const string = ()=>'string';
const defaultLocale = __TURBOPACK__default__export__; const defaultLocale = __TURBOPACK__default__export__;
__turbopack_context__.s([
"defaultLocale",
0,
defaultLocale,
"object",
0,
object,
"string",
0,
string
], "[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/external.js [test] (ecmascript) <locals>");
var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$ns$2d$value$2d$reexport$2f$named$2d$import$2f$input$2f$external$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$locals$3e$__ = __turbopack_context__.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/external.js [test] (ecmascript) <locals>");
__turbopack_context__.s([ __turbopack_context__.s([
"defaultLocale", "defaultLocale",
0, 0,
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
"version": 3, "version": 3,
"sources": [], "sources": [],
"sections": [ "sections": [
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/locales/en.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/external.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/index.js"],"sourcesContent":["export default 'EN_USED_MARKER'\n","// Mirrors `zod/v4/classic/external.js`.\nimport en from './locales/en.js'\n\nexport * as locales from './locales/index.js'\n\nexport const object = () => 'object'\nexport const string = () => 'string'\nexport const defaultLocale = en\n","// The real-world zod shape: `z` is a namespace that lib.js hands out as a plain\n// value, and the consumer only ever reads static members of it.\nimport { z } from './lib.js'\n\nconsole.log(z.object(), z.string(), z.defaultLocale)\n"],"names":[],"mappings":";;;;;;;;;;uCAAe;;;ACKR,MAAM,SAAS,IAAM;AACrB,MAAM,SAAS,IAAM;AACrB,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACH7B,QAAQ,GAAG,CAAC,4NAAE,MAAM,IAAI,6NAAE,MAAM,IAAI,6NAAE,aAAa"}}] {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/locales/en.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/external.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/index.js"],"sourcesContent":["export default 'EN_USED_MARKER'\n","// Mirrors `zod/v4/classic/external.js`.\nimport en from './locales/en.js'\n\nexport * as locales from './locales/index.js'\n\nexport const object = () => 'object'\nexport const string = () => 'string'\nexport const defaultLocale = en\n","// The real-world zod shape: `z` is a namespace that lib.js hands out as a plain\n// value, and the consumer only ever reads static members of it.\nimport { z } from './lib.js'\n\nconsole.log(z.object(), z.string(), z.defaultLocale)\n"],"names":[],"mappings":";;;;;;;;;;uCAAe;;;ACKR,MAAM,SAAS,IAAM;AACrB,MAAM,SAAS,IAAM;AACrB,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;ACH7B,QAAQ,GAAG,CAAC,4NAAE,MAAM,IAAI,6NAAE,MAAM,IAAI,6NAAE,aAAa"}}]
} }
\ 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