@choojs/findup
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -7,2 +7,3 @@ var fs = require('fs'), | ||
function fsExists(file, cb) { | ||
if (!fs.access) return fs.exists(file, cb); | ||
fs.access(file, function(err) { | ||
@@ -14,2 +15,3 @@ cb(err ? false : true); | ||
function fsExistsSync(file) { | ||
if (!fs.accessSync) return fs.existsSync(file); | ||
try { | ||
@@ -16,0 +18,0 @@ fs.accessSync(file); |
{ | ||
"name": "@choojs/findup", | ||
"description": "Find a file by walking up the directory tree", | ||
"version": "0.2.1", | ||
"author": "Filirom1 <filirom1@gmail.com>", | ||
"name": "@choojs/findup", | ||
"description": "Walk up ancester's dir up to root", | ||
"version": "0.2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/choojs/findup.git" | ||
}, | ||
"bin": { | ||
"findup": "bin/findup.js" | ||
}, | ||
"scripts": { | ||
"test": "mocha ./test/*.js" | ||
}, | ||
"bugs": "https://github.com/choojs/findup/issues", | ||
"dependencies": { | ||
@@ -23,3 +17,12 @@ "commander": "^2.15.1" | ||
}, | ||
"license": "MIT" | ||
"homepage": "https://github.com/choojs/findup", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/choojs/findup.git" | ||
}, | ||
"scripts": { | ||
"test": "mocha ./test/*.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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13445
279
1