npm / prettier-plugin-packagejson
prettier-plugin-packagejson
What changed in prettier-plugin-packagejson 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 tooling1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initprettier-plugin-packagejson 32 changes
Breaking changes 1
Support for Prettier v2 was dropped; the plugin only supports Prettier v3.
Fixes and other changes 1
Restores caret ranges for dependencies when formatting package metadata.
prettier-plugin-packagejson 21 changes
Tooling 1
A type declaration file was added, providing type information for TypeScript consumers.