pkg
5.8.1 · 8 Mar 2023MIT450.2k / weekRepositoryHomepagenpmAtom feed
Upgrading pkg From 3.0.6 to 4.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Security
1 advisory still affects 4.0.0
- Pkg Local Privilege Escalationmoderate · GHSA-22r3-9w55-cj54
No published version clears it yet.
Release by release
- New
Supports Node.js versions 0.12, 4, 6, 7, 8 as targets.
- New
7 other lines we could not sort, mostly version bumps
- 4.0.0
Until now V8 cached data was used to make executables without sources inside. Now cached data is also used to speed up application boot time.
- 4.0.0
Hence, application boot up is around 20% faster in pkg’ed state than using ‘node’.
- 4.0.0
Now possible to add resources (icon) to executables on Windows (ResourceHacker, etc).
- 4.0.0
V8 callsites work properly. Stacktraces contain names of files as they were at compilation time.
- 4.0.0
Consumes much less memory during compilation process (important for Raspberry Pi or low-mem VMs).
- 4.0.0
Hence, it's possible to make big executables without “process out of memory” during compilation (installers, geoip-lite, etc).
- 4.0.0
Improvement of how
spawnhook works internally. Also implementedexecFileandexechooks.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.