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

directory-walker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-walker - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

5

lib/directory-walker.js

@@ -71,2 +71,3 @@ // third-party dependencies

DirectoryWalker.prototype.walk = function(dir) {
this._basedir = dir;
this._visit(dir);

@@ -132,5 +133,7 @@ return this;

for (var i = 0; i < filenames.length; i++) {
var filename = path.join(dir, filenames[i]);
var relativePath = filename.substring(self._basedir.length);
if (!self._exclusions.hasMatch(filename)) {
if (!self._exclusions.hasMatch(relativePath)) {
self._visit(filename, dir);

@@ -137,0 +140,0 @@ }

2

package.json
{
"name": "directory-walker",
"description": "Directory walker",
"version": "1.2.4",
"version": "1.2.5",
"homepage": "https://github.com/philidem/node-directory-walker",

@@ -6,0 +6,0 @@ "authors": [

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