Packages

webpack-sources

3.7.1 · 18 Nov 2026MIT85.2M / weekRepositoryHomepagenpmAtom feed

Upgrading webpack-sources From 3.4.1 to 3.5.0

1 release in betweenevery note read

Other targets from 3.4.1Newest 3.x, Latest3.7.1
  1. 3.4.1yours
  2. 3.5.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 3.5.0

    22 May 20261 new
    • New

      Add clearCache(options?, visited?) method to Source that recursively releases cached data (CachedSource cached maps/buffers/strings, SourceMapSource parsed/serialized map caches, and dual-buffer caches in leaf sources). Lets consumers like webpack's SourceMapDevToolPlugin reclaim memory between chunks rather than accumulating per-task source map data across an entire build. Options: maps (default true) drops cached source maps; source (default true) drops cached source/buffer copies — pass false to keep source available for downstream plugins; parsedMap (default false) additionally drops the parsed object form on SourceMapSource instances when a buffer or string form survives (the combination { maps: true, source: false, parsedMap: true } matches the SourceMapDevToolPlugin call shape in webpack/webpack#20963). The optional visited WeakSet deduplicates the walk when the same child is reachable through multiple parents (e.g. modules shared across chunks).

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.