Comparing version 7.0.1 to 7.0.2
@@ -79,4 +79,5 @@ module.exports = licensee | ||
function readDependencyList (done) { | ||
var executable = process.platform === 'win32' ? 'npm.cmd' : 'npm' | ||
var child = spawn( | ||
'npm', ['ls', '--production', '--json'], { cwd: path } | ||
executable, ['ls', '--production', '--json'], { cwd: path } | ||
) | ||
@@ -89,2 +90,5 @@ var outputError | ||
}) | ||
child.once('error', function (error) { | ||
outputError = error; | ||
}) | ||
child.once('close', function (code) { | ||
@@ -91,0 +95,0 @@ if (code !== 0) { |
{ | ||
"name": "licensee", | ||
"description": "check dependency licenses against rules", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com/)", | ||
@@ -18,3 +18,3 @@ "contributors": [ | ||
"run-parallel": "^1.1.9", | ||
"semver": "^5.6.0", | ||
"semver": "^6.1.1", | ||
"simple-concat": "^1.0.0", | ||
@@ -35,3 +35,2 @@ "spdx-expression-parse": "^3.0.0", | ||
"spawn-sync": "^2.0.0", | ||
"standard": "^12.0.1", | ||
"tap": "^11.0.0" | ||
@@ -43,5 +42,5 @@ }, | ||
"licenses": "./licensee --errors-only", | ||
"style": "standard index.js", | ||
"lint": "npx standard index.js licensee", | ||
"test": "tap tests/**/test.js" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
35057
2
352
+ Addedsemver@6.3.1(transitive)
Updatedsemver@^6.1.1