sort-package-json
Advanced tools
+1
-1
@@ -428,3 +428,3 @@ var __create = Object.create; | ||
| const idx = rest.indexOf(":"); | ||
| if (idx !== -1) { | ||
| if (idx > 0) { | ||
| const base = key.slice(0, (prefix ? prefix.length + 1 : 0) + idx); | ||
@@ -431,0 +431,0 @@ if (!groupMap.has(base)) groupMap.set(base, []); |
+1
-1
@@ -281,3 +281,3 @@ import sortObjectKeys from 'sort-object-keys' | ||
| const idx = rest.indexOf(':') | ||
| if (idx !== -1) { | ||
| if (idx > 0) { | ||
| const base = key.slice(0, (prefix ? prefix.length + 1 : 0) + idx) | ||
@@ -284,0 +284,0 @@ if (!groupMap.has(base)) groupMap.set(base, []) |
+1
-1
| { | ||
| "name": "sort-package-json", | ||
| "version": "3.5.1", | ||
| "version": "3.5.2", | ||
| "description": "Sort an Object or package.json based on the well-known package.json keys", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
60110
-0.01%