You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

sort-package-json

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-package-json - npm Package Compare versions

Comparing version
3.3.0
to
3.3.1
+4
-4
index.d.ts

@@ -13,5 +13,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

*
* @param packageJson - A packageJson
* @param options - An options object
* @returns Sorted packageJson object
* @param packageJson - A packageJson.
* @param options - An options object.
* @returns Sorted packageJson object.
*/

@@ -24,3 +24,3 @@ <T extends Record<any, any>>(packageJson: T, options?: Options): T

* @param packageJson - A packageJson string.
* @param options - An options object
* @param options - An options object.
* @returns Sorted packageJson string.

@@ -27,0 +27,0 @@ */

{
"name": "sort-package-json",
"version": "3.3.0",
"version": "3.3.1",
"description": "Sort an Object or package.json based on the well-known package.json keys",

@@ -49,4 +49,4 @@ "keywords": [

"semantic-release": "semantic-release",
"test": "ava && dtslint --localTs node_modules/typescript/lib",
"test-coverage": "c8 ava",
"test": "ava && tstyche",
"test-coverage": "c8 npm run test",
"update-snapshots": "ava --update-snapshots"

@@ -93,3 +93,2 @@ },

"dot-prop": "^9.0.0",
"dtslint": "^4.2.1",
"esbuild": "^0.25.0",

@@ -106,4 +105,7 @@ "eslint": "^9.21.0",

"tempy": "^3.1.0",
"typescript": "^5.8.2"
"tstyche": "^4.0.0"
},
"engines": {
"node": ">=20"
}
}