webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
4 fixed
Security
2 advisories affect 5.36.2; 5.94.0 fixes them
- CriticalCross-realm object access in Webpack 5GHSA-hc6q-2mpp-qw7j · 13 Mar 2023Fixed in 5.76.0
- ModerateWebpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSSGHSA-4vvj-4cpr-p986 · 27 Aug 2024Fixed in 5.94.0
Release note
Bugfixes
Correctly handle errors thrown during parser/generator creation
e. g. validation errors for asset module options
Use a better automatic runtime name for workers
not too long to cause filename problems
No longer assume assets do not get removed when the compiler is running
Using
output.cleanis against this assumptionIt fixes a bug where assets are missing, when removed and readded to the compilation
Fix a problem when chained dependOn, which causes too many modules being included in entrypoints
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.