Socket
Socket
Sign inDemoInstall

prettier-plugin-packagejson

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-packagejson - npm Package Compare versions

Comparing version 2.4.5 to 2.4.6

8

package.json
{
"name": "prettier-plugin-packagejson",
"version": "2.4.5",
"version": "2.4.6",
"description": "Prettier package.json plugin to make the order of properties nice.",

@@ -30,3 +30,3 @@ "keywords": [

"dependencies": {
"sort-package-json": "2.5.1",
"sort-package-json": "2.6.0",
"synckit": "0.8.5"

@@ -36,5 +36,5 @@ },

"cross-env": "7.0.3",
"jest": "29.6.1",
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"prettier": "3.0.0"
"prettier": "3.0.3"
},

@@ -41,0 +41,0 @@ "peerDependencies": {

@@ -29,1 +29,10 @@ [![npm-badge]][npm]

```
For prettier v3+ you need to configure
```js
module.exports = {
// add this
plugins: ['prettier-plugin-packagejson'],
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc