Packages

@npmcli/package-json

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

Upgrading @npmcli/package-json From 7.0.2 to 8.0.1

5 releases in betweennotes for 2

Other targets from 7.0.2Newest 7.x7.0.5
3+
changes to make
0
advisories fixed
2+
new
1+
fix

Counted from 2 of 5 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. 7.0.3 – 7.0.53 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.