Packages

@npmcli/package-json

8.0.1 · 11 Nov 2026ISC18.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @npmcli/package-json From 3.1.0 to 8.0.1

24 releases in betweennotes for 2

Other targets from 3.1.0Newest 3.x3.1.1
7.0.0, 6.0.0, 5.0.0, 4.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 3.1.0yours
  2. 1 release
  3. 4.0.0major
  4. 1 release
  5. 5.0.0major
  6. 7 releases
  7. 6.0.0major
  8. 4 releases
  9. 7.0.0major
  10. 5 releases
  11. 8.0.0major
  12. 8.0.1target
3+
changes to make
0
advisories fixed
2+
new
1+
fix

Counted from 2 of 24 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Release by release

  1. 8.0.1nothing new or fixed in the note

  2. 8.0.0

    Migration needed22 May 20262 new · 1 fix
    • Breaking

      @npmcli/package-json now supports node ^22.22.2 || ^24.15.0 || >=26.0.0

    • Breaking

      template-oss-apply

    • Breaking

      The "server.js" handling was removed, so "scripts.start" will not be set to "node server.js" if a "server.js" file exists.

    • New

      Bump to new node engine range

    • New

      Normalize the top-level overrides field

    • Fixed

      Remove magic "server.js" handling

  3. 3.1.1 – 7.0.522 releases, no release note

3 internal lines (docs, tests, tooling) left out.

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.