webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.24.4 to 5.25.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 6
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Deprecated5.25.0
Security
2 advisories still affect 5.25.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
- Deprecated
Deprecate
output.strictModuleExceptionHandling(this is the CommonJS way of handling errors, and the name is weird) - New
Refactor the startup logic to improve library support
- New
Add
__webpack_runtime_id__to access the current runtime id - New
Improve error handling for HMR
- Deprecated
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.