webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
5 fixed
Security
2 advisories affect 5.1.1; 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
Fix order of chunk hashing to allow to uses hashes in WebWorkers
Update to terser-webpack-plugin 5
reduces number of dependencies by dropping webpack 4 support
Omit unused modules from chunk when modules are only unused in some runtimes
fixes
Self-reference dependency has unused export nameerror
Fix hanging production builds because of infinite loop in inner graph optimization
Compilation.deleteAssetupdates chunk to file mappings
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.