Socket
Socket
Sign inDemoInstall

node-dir

Package Overview
Dependencies
4
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.10 to 0.1.11

9

lib/paths.js

@@ -66,3 +66,6 @@ var fs = require('fs'),

if (fs.statSync(dir).mode !== 17115) {
fs.stat(dir, function(err, stat) {
if (err) return callback(err);
if(stat && stat.mode === 17115) return done();
fs.readdir(dir, function(err, list) {

@@ -77,5 +80,3 @@ if (err) return callback(err);

});
} else {
return done();
}
});
};

@@ -82,0 +83,0 @@

{
"name": "node-dir",
"version": "0.1.10",
"version": "0.1.11",
"description": "asynchronous file and directory operations for Node.js",

@@ -5,0 +5,0 @@ "main": "index",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc