Comparing version 1.0.0 to 1.1.0
@@ -7,5 +7,4 @@ #!/usr/bin/env node | ||
var filename = path.resolve(process.argv[2]); | ||
var json = JSON.parse(fs.readFileSync(filename)); | ||
var json = require(filename); | ||
var visit = require('./'); | ||
@@ -12,0 +11,0 @@ |
{ | ||
"name": "sort-json", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1725
1