npm / @yao-pkg/pkg
@yao-pkg/pkg
What changed in @yao-pkg/pkg 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.
3 new APIs and options9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@yao-pkg/pkg 612 changes
New APIs and options 3
Adds a per-file transform build hook.
Adds the postBuild build hook.
Adds the preBuild build hook.
Fixes and other changes 9
Updates the Node.js runtimes to 24.20.0 and 26.8.1.
Patches process.dlopen in worker threads for SEA.
Treats private class methods as function boundaries when detecting top-level await.
Throws instead of crashing when Intl.Segmenter is used with small-icu.
Updates the available Node.js runtimes to 22.23.2, 24.18.1, and 26.5.1.
Picks up six additional silent-drop shapes, including re-exports, new URL, multi-argument path.join, path.resolve(__dirname,…), createRequire aliases, and import.meta.resolve.
Updates the fetched Node.js runtimes to include 22.22.3, 24.15.0, and 26.2.0.
Updates the fetched Node.js runtimes to include 22.23.1, 24.18.0, and 26.4.0.
Sets process.pkg in worker threads.