Comparing version 1.1.0 to 1.1.1
module.exports = visit; | ||
function visit(old) { | ||
if (typeof(old) !== 'object' && old !== null) { | ||
if (typeof(old) !== 'object' || old === null) { | ||
return old; | ||
@@ -13,2 +13,2 @@ } | ||
return copy; | ||
} | ||
} |
{ | ||
"name": "sort-json", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Takes a json-file and return a copy of the same file, but sorted", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1726
19