unstale

npm / npm-package-json-lint

npm-package-json-lint

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

7 breaking7 new APIs and options1 performance4 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 113 changes

Breaking changes 2

Fixes and other changes 1

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 92 changes

Breaking changes 1

  • Node.js 18 support was dropped, so developers must use a newer Node.js version.

    9.0.0release notes

New APIs and options 1

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

    9.1.0release notes

npm-package-json-lint 81 changes

Breaking changes 1

  • Node 16 support was dropped, so developers must use a newer Node.js version.

    8.0.0release notes

npm-package-json-lint 72 changes

Breaking changes 1

  • Support for Node.js 14 was dropped, so developers must use a supported Node.js version.

    7.0.0release notes

New APIs and options 1

  • The prefer-property-order rule supports additional properties in its ordering.

    7.0.0release notes

npm-package-json-lint 63 changes

Breaking changes 1

New APIs and options 1

Fixes and other changes 1

  • The name-format rule was updated to cover all cases.

    6.0.0release notes