webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
5.113.0 is the newest release of 5.x.
In short
2 new4 faster3 fixed
Security
2 advisories affect 5.38.0; 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
Features
new URL("data:...", import.meta.url)is now supportedAdd
module.rules.schemeas condition to match the request scheme (likedata,http, etc.)
Bugfixes
Fix tracking of changes and removals during watching in some edge cases
Fix incorrect renaming of class fields in concatenatenated modules
Fix crash in HMR when removing runtimes from the compilation
Performance
Lazy import some internal modules only when used
Allow unsafe caching of the entrypoint
Improve performance of sorting exports info map
Update to latest webpack-sources for improved source map performance
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.