webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.25.1 to 5.26.0
1 release in betweenevery note read
Security
2 advisories still affect 5.26.0
- Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSSmoderate · GHSA-4vvj-4cpr-p986
- Cross-realm object access in Webpack 5critical · GHSA-hc6q-2mpp-qw7j
Upgrading to 5.94.0 clears them.
Release by release
- New
Handle cache version automatically for DefinePlugin
- New
Add more options for
DefinePlugin.runtimeValue(file/context/missing/buildDependencies, version) - Fixed
Fix a memory leak which happens in watch mode with caching when modules are removed from the compilation
- Fixed
Fix usage of some arrow functions when es5 target is selected
- Fixed
Chunk loading in workers now uses publicPath instead of relative paths
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.