Patch Changes
-
Fix the
@pnpm/exeSEA executable crashing at startup on Node.js v25.7+. Two separate regressions in@pnpm/exe@11.0.0-rc.4are addressed:-
pnpm pack-appnow pins the Node.js used to write the SEA blob to the exact embedded runtime version. The SEA blob format changed in Node.js v25.7 (ESM entry-point support added aModuleFormatheader byte), so a blob produced by a pre-25.7 builder cannot be deserialized by a 25.7+ runtime and vice versa. In rc.4 the CI host Node.js (v25.6.1) built blobs embedded in a v25.9.0 runtime, trippingSeaDeserializer::Read() ... format_value <= kModuleon every invocation.pack-appnow downloads a host-arch builder Node.js of the target version when the running Node.js doesn't already match. -
The pnpm CJS SEA entry shim now loads
dist/pnpm.mjsthroughModule.createRequire(process.execPath)instead ofawait import(pathToFileURL(...).href). In Node.js v25.7+, the ambientrequireandimport()inside a CJS SEA entry are replaced with embedder hooks that only resolve built-in module names, causing externalfile://loads to fail withERR_UNKNOWN_BUILTIN_MODULE. An explicitcreateRequire()bypasses those hooks.
-
Platinum Sponsors
|
|
Gold Sponsors
|
|
|
|
|
|
|
|
|
|
|