Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sort-package-json

Package Overview
Dependencies
Maintainers
1
Versions
97
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 1.28.0 to 1.29.0

4

index.js

@@ -22,2 +22,3 @@ #!/usr/bin/env node

'type',
'exports',
'main',

@@ -59,2 +60,3 @@ 'umd:main',

'jest',
'mocha',
'nyc',

@@ -168,2 +170,3 @@ 'dependencies',

sortSubKey('author', ['name', 'email', 'url']);
sortSubKey('exports');
sortSubKey('bin');

@@ -185,2 +188,3 @@ sortSubKey('man');

sortSubKey('jest');
sortSubKey('mocha');
sortSubKey('nyc');

@@ -187,0 +191,0 @@ sortSubKey('xo');

2

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

@@ -5,0 +5,0 @@ "keywords": [

@@ -97,2 +97,3 @@ ## Sort Package.json

- [Istanbul](https://istanbul.js.org/)
- [Mocha](https://mochajs.org/)
- [xo](https://github.com/xojs/xo)

@@ -99,0 +100,0 @@ - [prettier](https://prettier.io/)

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