Files
pnpm/pnpm11/engine/runtime/node-resolver
Zoltan Kochan b6b1162e13 fix(runtime): normalize blank runtime selectors (#12576)
Normalize blank and whitespace-only runtime selectors consistently in pnpm and pacquet.

The runtime command can produce `runtime:` when no version is provided, and hand-edited manifests may contain whitespace-only selectors. Treat those cases as `latest` in the TypeScript runtime resolvers, the pacquet runtime resolvers, and the manifest conversion helpers.

Also make manifest writeback reject malformed dependency fields before pruning managed runtime entries. This prevents a non-object dependency field from being interpreted as a removed runtime dependency and causing silent data loss during save.
2026-06-22 15:33:29 +02:00
..

@pnpm/engine.runtime.node-resolver

Resolves a Node.js version specifier to an exact Node.js version

npm version

Installation

pnpm add @pnpm/engine.runtime.node-resolver

License

MIT