Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

walk-back

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

walk-back - npm Package Compare versions

Comparing version 3.0.1 to 4.0.0

9

index.js

@@ -1,5 +0,1 @@

'use strict'
const path = require('path')
const fs = require('fs')
/**

@@ -12,3 +8,2 @@ * Walk up the directory tree until the specified path is found.

*/
module.exports = walkBack

@@ -39,2 +34,4 @@ /**

function walkBack (startAt, lookingFor) {
const path = require('path')
const fs = require('fs')
startAt = path.resolve(startAt)

@@ -58,1 +55,3 @@ if (fs.existsSync(startAt) && fs.statSync(startAt).isDirectory()) {

}
module.exports = walkBack
{
"name": "walk-back",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "3.0.1",
"version": "4.0.0",
"description": "Walk up the directory tree until the specified path is found.",

@@ -20,12 +20,15 @@ "repository": "https://github.com/75lb/walk-back.git",

"engines": {
"node": ">=4.0.0"
"node": ">=8.0.0"
},
"scripts": {
"test": "test-runner test/test.js",
"docs": "jsdoc2md -t README.hbs index.js > README.md; echo"
"docs": "jsdoc2md -t README.hbs index.js > README.md"
},
"devDependencies": {
"jsdoc-to-markdown": "^4.0.1",
"test-runner": "^0.5.1"
}
"jsdoc-to-markdown": "^5.0.2",
"test-runner": "^0.7.2"
},
"files": [
"index.js"
]
}
[![view on npm](http://img.shields.io/npm/v/walk-back.svg)](https://www.npmjs.org/package/walk-back)
[![npm module downloads](http://img.shields.io/npm/dt/walk-back.svg)](https://www.npmjs.org/package/walk-back)
[![Build Status](https://travis-ci.org/75lb/walk-back.svg?branch=master)](https://travis-ci.org/75lb/walk-back)
[![Dependency Status](https://david-dm.org/75lb/walk-back.svg)](https://david-dm.org/75lb/walk-back)
[![Dependency Status](https://badgen.net/david/dep/75lb/walk-back)](https://david-dm.org/75lb/walk-back)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

@@ -6,0 +6,0 @@

Sorry, the diff of this file is not supported yet

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