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.10.0 to 1.11.0

4

index.js

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

sortSubKey('jest');
sortSubKey('prettier');
sortSubKey('dependencies');

@@ -110,2 +111,3 @@ sortSubKey('devDependencies');

'babel',
'prettier',
'eslintConfig',

@@ -137,3 +139,3 @@ 'eslintIgnore',

var filesToProcess = process.argv[2] ? process.argv.slice(2) : [process.cwd() + '/package.json'];
filesToProcess.forEach(function (filePath) {

@@ -140,0 +142,0 @@ var packageJson = fs.readFileSync(filePath, 'utf8');

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

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

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