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

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 0.7.1 to 0.7.2

.gitattributes

22

middleware.js

@@ -35,8 +35,16 @@ /*

// print webpack output
console.log(formatOutput(stats, {
context: opt.context || context || process.cwd(),
colors: true,
verbose: opt.verbose
}));
console.info("webpack: bundle is now VALID.");
var displayStats = !opt.middleware || !opt.middleware.quiet;
if(displayStats &&
!(stats.errors && stats.errors.length > 0 || stats.warnings && stats.warnings.length > 0) &&
opt.middleware && opt.middleware.noInfo)
displayStats = false;
if(displayStats) {
console.log(formatOutput(stats, {
context: opt.context || context || process.cwd(),
colors: true,
verbose: opt.verbose
}));
}
if(!opt.middleware || (!opt.middleware.noInfo && !opt.middleware.quiet))
console.info("webpack: bundle is now VALID.");

@@ -54,3 +62,3 @@ // execute callback that are delayed

opt.events.on("bundle-invalid", function() {
if(state)
if(state && (!opt.middleware || !opt.middleware.noInfo))
console.info("webpack: bundle is now invalid.");

@@ -57,0 +65,0 @@ // We are now in invalid state

{
"name": "webpack-dev-middleware",
"version": "0.7.1",
"version": "0.7.2",
"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