webpack
5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed
Upgrading webpack From 5.29.0 to 5.30.0
1 release in betweenevery note read
Security
2 advisories still affect 5.30.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 GC to memory cache
- New
Add GC for untouched filesystem cache files
- New
Allow to configurate GC for the filesystem cache via
cache.maxAge - New
Allow to disable memory cache when using the filesystem cache with
cache.maxMemoryGenerations: 0 - New
Caches will be cleared on Compiler close resp Cache shutdown (after persisting for the filesystem cache)
- New
Add a few workarounds for v8 bug that causes memory leaks in optimized code (only partially fixes it)
- Fixed
After serializing filesystem no longer keeps cache items in memory, instead it will read them from disk again when accessed
- New
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.