Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/generated/node-v24-compatibility-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"schemaVersion": 3,
"nodeVersion": "24.15.0",
"nodeCommit": "848430679556aed0bd073f2bc263331ad84fa119",
"artifactVersion": "4bd472c2324101f87572",
"artifactVersion": "743056178b8be4cb1d5c",
"rowCount": 3662
}
32 changes: 16 additions & 16 deletions docs/src/generated/node-v24-compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@
"apiEntries": 30,
"static": {
"supported": 0,
"partial": 0,
"refused": 3,
"not-implemented": 27,
"partial": 5,
"refused": 0,
"not-implemented": 25,
"by-design": 0,
"unreviewed": 0,
"not-applicable": 0
Expand Down Expand Up @@ -57660,7 +57660,7 @@
"anchor": "",
"nodeStability": null,
"static": {
"status": "not-implemented",
"status": "partial",
"detail": "Derived from the exact API rows in this chapter.",
"verification": "derived"
},
Expand Down Expand Up @@ -57706,9 +57706,9 @@
"anchor": "modulecreaterequirefilename",
"nodeStability": null,
"static": {
"status": "refused",
"detail": "Explicitly rejected by a named compiler diagnostic.",
"verification": "explicit-refusal"
"status": "partial",
"detail": "Implemented for the documented scriptc module-loader subset.",
"verification": "test-backed"
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -57757,9 +57757,9 @@
"anchor": "moduleisbuiltinmodulename",
"nodeStability": null,
"static": {
"status": "refused",
"detail": "Explicitly rejected by a named compiler diagnostic.",
"verification": "explicit-refusal"
"status": "partial",
"detail": "Implemented for the documented scriptc module-loader subset.",
"verification": "test-backed"
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -57864,9 +57864,9 @@
"anchor": "modulesyncbuiltinesmexports",
"nodeStability": null,
"static": {
"status": "refused",
"detail": "Explicitly rejected by a named compiler diagnostic.",
"verification": "explicit-refusal"
"status": "partial",
"detail": "Implemented for the documented scriptc module-loader subset.",
"verification": "test-backed"
},
"dynamic": {
"status": "partial",
Expand All @@ -57887,9 +57887,9 @@
"anchor": "the-module-object",
"nodeStability": null,
"static": {
"status": "not-implemented",
"detail": "No static compiler lowering is registered for this API yet.",
"verification": "registry-gap"
"status": "partial",
"detail": "Implemented for the documented scriptc module-loader subset.",
"verification": "test-backed"
},
"dynamic": {
"status": "partial",
Expand Down
62 changes: 38 additions & 24 deletions internal/compatibility/generated/node-v24-backlog.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"tierItemCount": 6663,
"tiers": {
"static": {
"replace-refusal": 51,
"verify-gap": 2715,
"audit-partial": 446,
"replace-refusal": 48,
"verify-gap": 2714,
"audit-partial": 450,
"classify": 2,
"implement": 81
},
Expand Down Expand Up @@ -61175,12 +61175,18 @@
"priority": "normal",
"tiers": {
"static": {
"status": "refused",
"action": "replace-refusal",
"verification": "explicit-refusal",
"status": "partial",
"action": "audit-partial",
"verification": "test-backed",
"confidence": "high",
"source": "surface-manifest:unsupported:node-builtin.module.createRequire",
"tests": []
"source": "compiler-feature:module.module.createRequire",
"tests": [
"tests/corpus/2631-create-require/main.ts",
"tests/corpus/2637-create-require-bare/main.ts",
"tests/corpus/2675-create-require-nested-esm.js",
"tests/corpus/2932-create-require-program/main.ts",
"tests/harness/npm-static.test.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -61239,12 +61245,14 @@
"priority": "normal",
"tiers": {
"static": {
"status": "refused",
"action": "replace-refusal",
"verification": "explicit-refusal",
"status": "partial",
"action": "audit-partial",
"verification": "test-backed",
"confidence": "high",
"source": "surface-manifest:unsupported:node-builtin.module.isBuiltin",
"tests": []
"source": "compiler-feature:module.module.isBuiltin",
"tests": [
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -61369,12 +61377,14 @@
"priority": "normal",
"tiers": {
"static": {
"status": "refused",
"action": "replace-refusal",
"verification": "explicit-refusal",
"status": "partial",
"action": "audit-partial",
"verification": "test-backed",
"confidence": "high",
"source": "surface-manifest:unsupported:node-builtin.module.syncBuiltinESMExports",
"tests": []
"source": "compiler-feature:module.module.syncBuiltinESMExports",
"tests": [
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand All @@ -61400,12 +61410,16 @@
"priority": "normal",
"tiers": {
"static": {
"status": "not-implemented",
"action": "verify-gap",
"verification": "registry-gap",
"confidence": "low",
"source": "compiler-unmatched:module",
"tests": []
"status": "partial",
"action": "audit-partial",
"verification": "test-backed",
"confidence": "high",
"source": "compiler-feature:module.builtinModules",
"tests": [
"tests/corpus/2631-create-require/main.ts",
"tests/corpus/2637-create-require-bare/main.ts",
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down
51 changes: 38 additions & 13 deletions internal/compatibility/generated/node-v24-internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,9 +723,9 @@
"apiEntries": 30,
"static": {
"supported": 0,
"partial": 0,
"refused": 3,
"not-implemented": 27,
"partial": 5,
"refused": 0,
"not-implemented": 25,
"by-design": 0,
"unreviewed": 0,
"not-applicable": 0
Expand Down Expand Up @@ -76542,8 +76542,15 @@
"anchor": "",
"nodeStability": null,
"static": {
"status": "not-implemented",
"evidence": "derived:descendants"
"status": "partial",
"evidence": "derived:descendants",
"tests": [
"tests/corpus/2631-create-require/main.ts",
"tests/corpus/2637-create-require-bare/main.ts",
"tests/corpus/2675-create-require-nested-esm.js",
"tests/corpus/2932-create-require-program/main.ts",
"tests/harness/npm-static.test.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -76590,8 +76597,15 @@
"anchor": "modulecreaterequirefilename",
"nodeStability": null,
"static": {
"status": "refused",
"evidence": "surface-manifest:unsupported:node-builtin.module.createRequire"
"status": "partial",
"evidence": "compiler-feature:module.module.createRequire",
"tests": [
"tests/corpus/2631-create-require/main.ts",
"tests/corpus/2637-create-require-bare/main.ts",
"tests/corpus/2675-create-require-nested-esm.js",
"tests/corpus/2932-create-require-program/main.ts",
"tests/harness/npm-static.test.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -76643,8 +76657,11 @@
"anchor": "moduleisbuiltinmodulename",
"nodeStability": null,
"static": {
"status": "refused",
"evidence": "surface-manifest:unsupported:node-builtin.module.isBuiltin"
"status": "partial",
"evidence": "compiler-feature:module.module.isBuiltin",
"tests": [
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down Expand Up @@ -76750,8 +76767,11 @@
"anchor": "modulesyncbuiltinesmexports",
"nodeStability": null,
"static": {
"status": "refused",
"evidence": "surface-manifest:unsupported:node-builtin.module.syncBuiltinESMExports"
"status": "partial",
"evidence": "compiler-feature:module.module.syncBuiltinESMExports",
"tests": [
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand All @@ -76776,8 +76796,13 @@
"anchor": "the-module-object",
"nodeStability": null,
"static": {
"status": "not-implemented",
"evidence": "compiler-unmatched:module"
"status": "partial",
"evidence": "compiler-feature:module.builtinModules",
"tests": [
"tests/corpus/2631-create-require/main.ts",
"tests/corpus/2637-create-require-bare/main.ts",
"tests/corpus/2932-create-require-program/main.ts"
]
},
"dynamic": {
"status": "partial",
Expand Down
3 changes: 3 additions & 0 deletions internal/compatibility/static-support.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
{ "chapter": "modules", "symbols": ["require.resolve", "require.resolve.paths"], "status": "partial", "evidence": ["tests/corpus/2858-import-meta-resolve/main.mjs", "tests/corpus/2860-require-resolve/main.cjs"] },
{ "chapter": "modules", "symbols": ["cache", "children", "id", "isPreloading", "loaded", "parent", "path", "paths", "Module"], "status": "partial", "evidence": ["tests/corpus/2880-cjs-module-graph/main.cjs"] },
{ "chapter": "modules", "symbols": ["extensions"], "status": "not-implemented" },
{ "chapter": "module", "symbols": ["module.createRequire"], "status": "partial", "evidence": ["tests/corpus/2631-create-require/main.ts", "tests/corpus/2637-create-require-bare/main.ts", "tests/corpus/2675-create-require-nested-esm.js", "tests/corpus/2932-create-require-program/main.ts", "tests/harness/npm-static.test.ts"] },
{ "chapter": "module", "symbols": ["module.isBuiltin", "module.syncBuiltinESMExports"], "status": "partial", "evidence": ["tests/corpus/2932-create-require-program/main.ts"] },
{ "chapter": "module", "symbols": ["builtinModules"], "status": "partial", "evidence": ["tests/corpus/2631-create-require/main.ts", "tests/corpus/2637-create-require-bare/main.ts", "tests/corpus/2932-create-require-program/main.ts"] },
{ "chapter": "modules", "symbols": ["node:", "node_modules"], "status": "partial", "evidence": ["tests/corpus/1598-cjs-builtin-require/main.js", "tests/corpus/1596-cjs-modules/main.js"] },
{ "chapter": "esm", "symbols": ["import", "file:", "node:", "await"], "status": "partial", "evidence": ["tests/corpus/950-modules-basic/main.ts", "tests/corpus/2646-top-level-await.ts"] },
{ "chapter": "esm", "symbols": ["url", "dirname", "filename", "main"], "status": "partial", "evidence": ["tests/corpus/2701-import-meta/main.mjs"] },
Expand Down
16 changes: 10 additions & 6 deletions packages/compiler/ambient/scriptc-node-fallback.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -947,15 +947,19 @@ declare var performance: import("node:perf_hooks").Performance;
* createRequire(import.meta.url) (or __filename) whose require calls
* take STATIC string literals — the indirection erases at compile time.
* A builtin spec makes the binding a namespace import in const clothing;
* a relative .json document bakes and parses (JSON.parse's `unknown`
* stance — validate with a checked cast); an installed npm package loads
* through the island's require-condition entry under --dynamic; a bare
* name nothing installed resolves compiles to Node's catchable
* MODULE_NOT_FOUND throw (the optional-dependency try/require pattern).
* relative and package-import program modules use the compiled module
* graph; a relative .json document bakes and parses (JSON.parse's
* `unknown` stance — validate with a checked cast); an installed npm
* package loads through the island's require-condition entry under
* --dynamic, or through the compiled graph under --npm-static; a bare name
* nothing installed resolves compiles to Node's catchable MODULE_NOT_FOUND
* throw (the optional-dependency try/require pattern).
* Dynamic specifiers fence: a compiled binary's module graph is fixed at
* build time. builtinModules is the baked Node v24 list (a fresh
* mutable array per read where Node ships one frozen singleton);
* isBuiltin and syncBuiltinESMExports fence per site. Both spellings
* isBuiltin checks runtime strings against that pinned list, and
* syncBuiltinESMExports is a no-op because the static builtin surface is
* immutable. Both spellings
* name the builtin, like in Node (the builtin wins over the npm package
* named "module" for the bare specifier there too). */
declare module "node:module" {
Expand Down
Loading
Loading