webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.11.1 to 5.12.0
1 release in betweenevery note read
Security
2 advisories still affect 5.12.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.layers - New
Add
module.parserandmodule.generatoroptions to allow to specify parser/generator options globally per module type - New
Make
chunkIdvariable available in script tag hook (like it was with webpack 4) - New
Add
stats.nestedModulesSpaceto schema to allow to specify this option
- New
5 other lines we could not sort, mostly version bumps
- 5.12.0
Improve error messages of "Library/Chunk Loading/Wasm Loading typeof is not enabled" errors
- 5.12.0
Improve question message when asking to install webpack-cli
- 5.12.0
Show a warning when loaders/plugins report invalid dependencies to webpack
- 5.12.0
Examples use webpack-cli 4 now
- 5.12.0
Rename memorize to memoize
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.