Merge branch 'opt/npm-esm-class-hoist' into opt/npm-fs-extra-shim

This commit is contained in:
Malte Ubl
2026-10-19 22:44:53 -07:00
2 changed files with 3 additions and 2 deletions
@@ -850,7 +850,6 @@ export function lowerBundledEsmInits(
const RUN_ONCE_TAIL =
"return function () { if (__scriptc_done) return; __scriptc_done = true; __scriptc_init(); }; })()";
/* Classes an initializer defines into a module binding,
*
* var Multi;
+3 -1
View File
@@ -24,7 +24,9 @@ export function npmCases(fixturesRoot: string): NpmCase[] {
// consumers exercise the static rewrite's surface (lexer-visible
// names the shipped .d.ts never declares, the __toESM interop
// family), so they stay out of the flagless island lane by design.
.filter((entry) => !/\/(246[5-9]|255[6-9]|256[0-7]|2571|258[0-8])-[^/]+\/main\.ts$/.test(entry))
.filter(
(entry) => !/\/(246[5-9]|255[6-9]|256[0-7]|2571|258[0-8])-[^/]+\/main\.ts$/.test(entry),
)
.map((entry) => ({
name: entry.split("/").at(-2)!,
entry,