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

Upgrading pkg From 3.0.6 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.6Latest5.8.1
The note of 4.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 3.0.6yours
  2. 4.0.0target
?
changes to make
0
advisories fixed
1
new
0
fixes

Security

1 advisory still affects 4.0.0

No published version clears it yet.

Release by release

  1. 4.0.0

    4 Jun 20171 new
    • New

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

7 other lines we could not sort, mostly version bumps
  • 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 spawn hook works internally. Also implemented execFile and exec hooks.

    4.0.0

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.