Socket
Socket
Sign inDemoInstall

@choojs/findup

Package Overview
Dependencies
Maintainers
26
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@choojs/findup - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -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);

25

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc