← Blog
The Nub Team

Nub 0.1.3

A CommonJS dynamic-import crash fix, a set of pnpm frozen-lockfile round-trip fixes, and package-manager compatibility tables on the docs site.

This release fixes a CommonJS dynamic-import crash and a set of pnpm frozen-lockfile round-trip issues, and adds package-manager compatibility tables to the docs site.

Runtime fixes

FixWhat changed
Inherited NODE_OPTIONS exit-9 crashInherited NODE_OPTIONS is floor-clamped to the child Node version, so a flag the parent shell's newer Node accepts no longer crashes a project pinned to an older Node
CommonJS require.cache via dynamic importimport() of a CommonJS module routes through Node's sound CJS translator, so require.cache-touching CJS — such as next build and next dev — no longer crashes under augmentation on Node 22.15–25 (#18)

pnpm lockfile compatibility

Three pnpm frozen-lockfile round-trip fixes landed via the vendored engine:

FixWhat changed
patchedDependencies round-tripNub reads pnpm's hashed patch entries and writes the {hash, path} map form pnpm 10.x accepts, so a lockfile with patched deps round-trips through pnpm install --frozen-lockfile (#15, #23)
Override $-ref false driftA $-referenced override is resolved before the frozen-drift comparison, so a lockfile with such overrides passes frozen validation (#16)
Patch drift hash-onlyPatch drift is compared hash-only, fixing patched-dependency conformance

Documentation

Package-manager compatibility tables were added to the docs site, with light mode and the theme toggle restored, and the pnpm CLI and config tables split (npm, yarn, and bun shown config-only).

The full release notes list every change in this release.