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 1.3.0 to 1.3.1

3

lib/watchpack.js

@@ -19,2 +19,3 @@ /*

this.dirWatchers = [];
this.mtimes = Object.create(null);
this.paused = false;

@@ -114,2 +115,3 @@ this.aggregatedChanges = [];

file = file || item;
this.mtimes[file] = mtime;
if(this.paused) return;

@@ -126,2 +128,3 @@ this.emit("change", file, mtime);

file = file || item;
delete this.mtimes[item];
if(this.paused) return;

@@ -128,0 +131,0 @@ this.emit("remove", item);

2

package.json
{
"name": "watchpack",
"version": "1.3.0",
"version": "1.3.1",
"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