webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.19.0 to 5.20.0
1 release in betweenevery note read
Security
2 advisories still affect 5.20.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
experiments.lazyCompilation.importsto disable lazy compilation ofimport()s - New
Add
experiments.lazyCompilation.testto allow custom selection of modules that should be lazy compiled - New
When using
profile: trueresp.--profilewebpack will now print a summary of expensive modules or loaders - New
Expose
EntryObjecttype in typings - Fixed
Fix that
experiments.lazyCompilation.clientnow works as intended - Fixed
Fix a bug which causes runtime requirements to be missing e. g.
__webpack_require__ is not defined
- New
1 other line we could not sort, mostly version bumps
- 5.20.0
Remove
pkg-dirdependency
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.