webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.15.0 to 5.16.0
1 release in betweenevery note read
Security
2 advisories still affect 5.16.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
__webpack_is_included__("./some-module")which returns true when the module is bundled and false when not - New
Priorize eager shared modules over normal shared modules (with the same version), as they are loaded anyway
- New
Add
library.type: "assign-properties"which merges all exports into a global variable - New
Allow
optimization.innerGraphfornew URL() - Fixed
Only return exports from runtime when needed
- Fixed
Fix a bug that
splitChunk.reuseExistingChunkdoesn't work for entrypoints
- New
2 other lines we could not sort, mostly version bumps
- 5.16.0
Include plugin names in deprecation message for "NormalModuleFactory.xxx is no longer a waterfall hook"
- 5.16.0
Improve error message when passing an invalid library name
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.