unstale

npm / npm-package-json-lint

npm-package-json-lint

What changed in npm-package-json-lint 9 to 11, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

3 breaking5 new APIs and options1 performance2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

npm-package-json-lint 112 changes

Breaking changes 2

npm-package-json-lint 108 changes

Breaking changes 1

New APIs and options 4

  • Adds the prefer-provenance rule for linting package.json files.

    10.4.0release notes

  • Adds the prefer-no-bin rule.

    10.2.0release notes

  • Rules for peerDependencies were added, allowing developers to lint peerDependencies in package.json.

    10.1.0release notes

  • A prefer-no-main rule was added for linting package.json.

    10.1.0release notes

Performance 1

  • Replaced globby with minimatch in applyOverrides to fix a severe slowdown when using overrides.

    10.2.2release notes

Fixes and other changes 2

  • Bundles ajv and ajv-errors to avoid cross-version codegen mismatch.

    10.5.1release notes

  • Fixed the path to the package types.

    10.4.1release notes

npm-package-json-lint 91 changes

New APIs and options 1

  • Dependency auditing now supports configurable replacements, letting developers customize how dependencies are handled during auditing.

    9.1.0release notes