webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.16.0 to 5.17.0
1 release in betweenevery note read
Security
2 advisories still affect 5.17.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
Add experimental lazy compilation via
experiments.lazyCompilation: truefor web and node targets - New
Move some javascript parsing related configuration options from
moduletomodule.parser.javascriptand also allow to set them viamodule.rules - New
Add
module.parser.javascript.commonjsMagicCommentsto enable/* webpackIgnore: true */forrequire()calls - Fixed
Fix a problem with
webpack.debug.ProfilingPluginon Mac when the computer was suspended before. - Fixed
Fix a bug with IIFE handling when the IIFE has parameters with default values
- 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.