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

webpack-hot-middleware

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-hot-middleware - npm Package Compare versions

Comparing version 2.26.0 to 2.26.1

7

CHANGELOG.md

@@ -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 @@

4

middleware.js

@@ -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": [

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