Packages

webpack

5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed

Your version

5.30.0

1 Apr 2021Where it was published

5.113.0 is the newest release of 5.x.

In short

6 new1 fixed

Security

2 advisories affect 5.30.0; 5.94.0 fixes them

Release note

Features

  • Add GC to memory cache

    • opt-in via cache.maxGenerations when cache.type: "memory"

    • default for cache.type: "filesystem" and mode: "development"

    • configure via cache.maxMemoryGenerations when cache.type: "filesystem"

    • Generations = Rebuilds

  • Add GC for untouched filesystem cache files

  • Allow to configurate GC for the filesystem cache via cache.maxAge

  • Allow to disable memory cache when using the filesystem cache with cache.maxMemoryGenerations: 0

  • Caches will be cleared on Compiler close resp Cache shutdown (after persisting for the filesystem cache)

Bugfixes

  • Add a few workarounds for v8 bug that causes memory leaks in optimized code (only partially fixes it)

  • After serializing filesystem no longer keeps cache items in memory, instead it will read them from disk again when accessed

GC = Garbage Collection

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.