Socket
Socket
Sign inDemoInstall

watch

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.0 to 0.12.0

3

main.js

@@ -55,3 +55,3 @@ // Copyright 2010-2011 Mikeal Rogers

callback.files[f] = stat;
if (stat.isDirectory()) walk(f, options, callback);
if (stat.isDirectory() && !(options.ignoreDirectoryPattern && options.ignoreDirectoryPattern.test(f))) walk(f, options, callback);
done = callback.pending === 0;

@@ -88,2 +88,3 @@ if (done) callback(null, callback.files);

fs.stat(file, function (err, stat) {
if (options.filter && !options.filter(file, stat)) return;
callback(file, stat, null);

@@ -90,0 +91,0 @@ files[file] = stat;

@@ -10,3 +10,3 @@ {

],
"version": "0.11.0",
"version": "0.12.0",
"homepage": "https://github.com/mikeal/watch",

@@ -13,0 +13,0 @@ "bugs": {

Sorry, the diff of this file is not supported yet

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