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

npm-package-json-lint

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-package-json-lint - npm Package Compare versions

Comparing version 2.7.1 to 2.8.0

src/rules/prefer-property-order.js

4

CHANGELOG.md

@@ -14,2 +14,6 @@ # Change Log

## [2.8.0] - 2017-08-16
### Added
- New rule: [prefer-property-order](https://github.com/tclindner/npm-package-json-lint/wiki/prefer-property-order)
## [2.7.1] - 2017-08-15

@@ -16,0 +20,0 @@ ### Fixed

2

package.json
{
"name": "npm-package-json-lint",
"version": "2.7.1",
"version": "2.8.0",
"description": "CLI app for linting package.json files.",

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

@@ -26,3 +26,4 @@ 'use strict';

'no-restricted-pre-release-dependencies',
'no-restricted-pre-release-devDependencies'
'no-restricted-pre-release-devDependencies',
'prefer-property-order'
];

@@ -29,0 +30,0 @@

@@ -30,3 +30,3 @@ 'use strict';

for (let keyIndex = 0;keyIndex <= nodeKeysOriginal.length;keyIndex += increment) {
for (let keyIndex = 0;keyIndex < nodeKeysOriginal.length;keyIndex += increment) {
if (nodeKeysOriginal[keyIndex] !== nodeKeysSorted[keyIndex]) {

@@ -33,0 +33,0 @@ isValid = false;

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