webpack-hot-middleware
Advanced tools
Comparing version 2.26.0 to 2.26.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [2.26.1](https://github.com/webpack/webpack-dev-middleware/compare/v2.26.0...v2.26.1) (2024-02-01) | ||
### Fixes | ||
* add fallbacks to `moduleName` and `loc` webpack 5 error fields if not present in middleware's error formatter | ||
### [2.26.0](https://github.com/webpack/webpack-dev-middleware/compare/v2.25.4...v2.26.0) (2023-12-25) | ||
@@ -7,0 +14,0 @@ |
@@ -196,3 +196,5 @@ module.exports = webpackHotMiddleware; | ||
return errors.map(function (error) { | ||
return error.moduleName + ' ' + error.loc + '\n' + error.message; | ||
var moduleName = error.moduleName || ''; | ||
var loc = error.loc || ''; | ||
return moduleName + ' ' + loc + '\n' + error.message; | ||
}); | ||
@@ -199,0 +201,0 @@ } |
{ | ||
"name": "webpack-hot-middleware", | ||
"version": "2.26.0", | ||
"version": "2.26.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
33545
722