Comparing version 1.0.0 to 1.0.1
@@ -0,2 +1,6 @@ | ||
var existsSync = require('fs').existsSync; | ||
var path = require('path'); | ||
if (!existsSync) { | ||
existsSync = path.existsSync; | ||
} | ||
@@ -16,3 +20,3 @@ exports = module.exports = { | ||
pos = path.join(dirs[i], target) | ||
if (path.existsSync(pos)) { | ||
if (existsSync(pos)) { | ||
return pos; | ||
@@ -19,0 +23,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Find executable in path", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "./lib/inpath.js", | ||
@@ -15,4 +15,3 @@ "homepage": "https://github.com/calmh/node-inpath", | ||
}, | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -24,4 +23,4 @@ "should": "0.6.x", | ||
"engines": { | ||
"node": "0.6.x" | ||
"node": "*" | ||
} | ||
} |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
3697
43
1
3