Socket
Socket
Sign inDemoInstall

webpack-dev-middleware

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-dev-middleware - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

8

middleware.js

@@ -13,3 +13,3 @@ /*

if(options.watchDelay === undefined) options.watchDelay = 200;
if(!options.stats) options.stats = {};
if(typeof options.stats === "undefined") options.stats = {};
if(!options.stats.context) options.stats.context = process.cwd();

@@ -31,3 +31,3 @@

// print webpack output
var displayStats = !options.quiet;
var displayStats = (!options.quiet && options.stats !== false);
if(displayStats &&

@@ -40,3 +40,3 @@ !(stats.hasErrors() || stats.hasWarnings()) &&

}
if(!options.noInfo && !options.quiet)
if (!options.noInfo && !options.quiet)
console.info("webpack: bundle is now VALID.");

@@ -62,3 +62,3 @@

if(state && (!options.noInfo && !options.quiet))
console.info("webpack: bundle is now invalid.");
console.info("webpack: bundle is now INVALID.");
// We are now in invalid state

@@ -65,0 +65,0 @@ state = false;

{
"name": "webpack-dev-middleware",
"version": "1.0.7",
"version": "1.0.8",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Offers a dev middleware for webpack, which arguments a live bundle to a directory",

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