Packages

pkg

5.8.1 · 8 Mar 2023MIT450.2k / weekRepositoryHomepagenpmAtom feed

The latest release, 5.8.1, is affected by Pkg Local Privilege Escalation. No fixed version yet.See advisories
Your version

4.0.0

major4 Jun 2017Where it was published

4.5.1 is the newest release of 4.x.

In short

1 new7 changed

Security

1 advisory affects 4.0.0

Release note

  • 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.

  • Hence, application boot up is around 20% faster in pkg’ed state than using ‘node’.

  • Now possible to add resources (icon) to executables on Windows (ResourceHacker, etc).

  • V8 callsites work properly. Stacktraces contain names of files as they were at compilation time.

  • Supports Node.js versions 0.12, 4, 6, 7, 8 as targets.

  • Consumes much less memory during compilation process (important for Raspberry Pi or low-mem VMs).

  • Hence, it's possible to make big executables without “process out of memory” during compilation (installers, geoip-lite, etc).

  • Improvement of how spawn hook works internally. Also implemented execFile and exec hooks.

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.