webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.21.2 to 5.22.0
1 release in betweenevery note read
Security
2 advisories still affect 5.22.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
Generate shorter output code for JSON data by using a
'...'string instead of"..."(only affects output side when not minimized) - New
The
dependenciesconfiguration option now works for watch builds too - New
Add
parallelismconfig option on the array of configurations to limit the compilers that are running in parallel - New
Add hints (
Did you mean ...) to resolve errors when
- New
5 other lines we could not sort, mostly version bumps
- 5.22.0
When all modules of an entrypoint fail resolving and another entrypoints
depend(s)Onit, webpack no longer crashes with a weird error - 5.22.0
Improve error message for lazyCompilation when using IE11
- 5.22.0
CI run tests on node.js 15 too
- 5.22.0
CI run tests on github actions too
- 5.22.0
Improvements on experimental
output.library: { type: "module" }(experiments.outputModule: true)
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.