Webpack Dev Middleware has a new release, version 7.4.1, following closely on the heels of version 7.4.0. This minor bump includes updated type definitions for Node.js by upgrading the @types/node dependency from ^22.0.0 to ^22.3.0. While the core functionality remains the same, this update brings improved compatibility and type safety when used with the latest Node.js versions. Developers leveraging TypeScript will appreciate the enhanced accuracy and reduced potential for type-related errors.
The release provides crucial refinements for developers working within Node.js environments. The delta between the releases is small: unpacking size is slightly different (134695 vs 134553), and the @types/node is updated from ^22.0.0 to ^22.3.0, the release date is different of course. For those already on Webpack Dev Middleware 7.4.0, if you are working with the latest Node.js features, upgrading to 7.4.1 is highly recommended to take advantage of the type definition enhancements. Both versions maintain the same dependencies and peer dependencies, ensuring a smooth transition and continued compatibility with webpack 5. This middleware streamlines the development workflow by serving webpack assets directly from memory, accelerating build and refresh cycles.
The are not vulnerabilities for the version 7.4.1 of the package webpack-dev-middleware