Socket
Socket
Sign inDemoInstall

watchpack

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchpack - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

14

lib/DirectoryWatcher.js

@@ -335,2 +335,10 @@ /*

if(this.closed) return;
if(!filename) {
// In some cases no filename is provided
// This seem to happen on windows
// So some event happened but we don't know which file is affected
// We have to do a full scan of the directory
this.doScan(false);
return;
}
if(this._activeEvents.get(filename) === undefined) {

@@ -498,2 +506,8 @@ this._activeEvents.set(filename, false);

}
if(this.scanAgain) {
// Early repeat of scan
this.scanAgain = false;
this.doScan(initial);
return;
}
async.forEach(itemPaths, (itemPath, callback) => {

@@ -500,0 +514,0 @@ fs.stat(itemPath, (err2, stats) => {

2

package.json
{
"name": "watchpack",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/watchpack.js",

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