webpack-hot-middleware
Advanced tools
Comparing version 2.22.0 to 2.22.1
@@ -210,3 +210,5 @@ /*eslint-env browser*/ | ||
overlay.showProblems(type, obj[type]); | ||
return false; | ||
} | ||
return true; | ||
}, | ||
@@ -248,6 +250,11 @@ success: function() { | ||
} | ||
var applyUpdate = true; | ||
if (obj.errors.length > 0) { | ||
if (reporter) reporter.problems('errors', obj); | ||
applyUpdate = false; | ||
} else if (obj.warnings.length > 0) { | ||
if (reporter) reporter.problems('warnings', obj); | ||
if (reporter) { | ||
var overlayShown = reporter.problems('warnings', obj); | ||
applyUpdate = overlayShown; | ||
} | ||
} else { | ||
@@ -258,2 +265,4 @@ if (reporter) { | ||
} | ||
} | ||
if (applyUpdate) { | ||
processUpdate(obj.hash, obj.modules, options); | ||
@@ -260,0 +269,0 @@ } |
{ | ||
"name": "webpack-hot-middleware", | ||
"version": "2.22.0", | ||
"version": "2.22.1", | ||
"description": "Webpack hot reloading you can attach to your own server", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
29769
597
0