Socket
Socket
Sign inDemoInstall

watchpack

Package Overview
Dependencies
3
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.10 to 2.0.0-beta.11

6

lib/watchpack.js

@@ -37,2 +37,4 @@ /*

return new RegExp(stringToRegexp(ignored));
} else if (ignored instanceof RegExp) {
return ignored;
} else if (ignored) {

@@ -66,3 +68,5 @@ throw new Error(`Invalid option for 'ignored': ${ignored}`);

if (!options) options = {};
if (!options.aggregateTimeout) options.aggregateTimeout = 200;
if (typeof options.aggregateTimeout !== "number") {
options.aggregateTimeout = 200;
}
this.options = options;

@@ -69,0 +73,0 @@ this.watcherOptions = cachedNormalizeOptions(options);

2

package.json
{
"name": "watchpack",
"version": "2.0.0-beta.10",
"version": "2.0.0-beta.11",
"description": "",

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

@@ -51,2 +51,3 @@ # watchpack

// ignored: ["string", "string"] - multiple glob patterns that should be ignored
// ignored: /regexp/ - a regular expression for files or folders that should not be watched
// All subdirectories are ignored too

@@ -53,0 +54,0 @@ });

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