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 initnpm-package-json-lint 113 changes
Breaking changes 2
The CLI option was removed.
Behavior changes when no targets are provided.
Fixes and other changes 1
Fixed detection of duplicate properties.
npm-package-json-lint 108 changes
Breaking changes 1
Node 20 support is dropped.
New APIs and options 4
Adds the prefer-provenance rule for linting package.json files.
Adds the prefer-no-bin rule.
Rules for peerDependencies were added, allowing developers to lint peerDependencies in package.json.
A prefer-no-main rule was added for linting package.json.
Performance 1
Replaced globby with minimatch in applyOverrides to fix a severe slowdown when using overrides.
Fixes and other changes 2
Bundles ajv and ajv-errors to avoid cross-version codegen mismatch.
Fixed the path to the package types.
npm-package-json-lint 92 changes
Breaking changes 1
Node.js 18 support was dropped, so developers must use a newer Node.js version.
New APIs and options 1
Dependency auditing now supports configurable replacements, letting developers customize how dependencies are handled during auditing.
npm-package-json-lint 81 changes
Breaking changes 1
Node 16 support was dropped, so developers must use a newer Node.js version.
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.
New APIs and options 1
The prefer-property-order rule supports additional properties in its ordering.
npm-package-json-lint 63 changes
Breaking changes 1
Node 10 and 12 are no longer supported.
New APIs and options 1
TypeScript support was added.
Fixes and other changes 1
The name-format rule was updated to cover all cases.