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

chokidar

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chokidar - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

8

index.js

@@ -583,3 +583,5 @@ 'use strict';

if (!this._closers[path]) return;
this._closers[path]();
this._closers[path].forEach(function(closer) {
closer();
});
delete this._closers[path];

@@ -703,3 +705,5 @@ this._getWatchedDir(sysPath.dirname(path)).remove(sysPath.basename(path));

Object.keys(this._closers).forEach(function(watchPath) {
this._closers[watchPath]();
this._closers[watchPath].forEach(function(closer) {
closer();
});
delete this._closers[watchPath];

@@ -706,0 +710,0 @@ }, this);

@@ -392,3 +392,6 @@ 'use strict';

);
if (closer) this._closers[path] = closer;
if (closer) {
this._closers[path] = this._closers[path] || [];
this._closers[path].push(closer);
}
}.bind(this);

@@ -395,0 +398,0 @@

@@ -498,3 +498,6 @@ 'use strict';

if (closer) this._closers[path] = closer;
if (closer) {
this._closers[path] = this._closers[path] || [];
this._closers[path].push(closer);
}
callback(null, false);

@@ -501,0 +504,0 @@ }.bind(this));

{
"name": "chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.",
"version": "2.1.5",
"version": "2.1.6",
"keywords": [

@@ -6,0 +6,0 @@ "fs",

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