webpack-sources
3.7.1 · 18 Nov 2026MIT85.2M / weekRepositoryHomepagenpmAtom feed
3.7.1 is the newest release of 3.x.
In short
1 new2 fixed
Release note
Minor Changes
Add
Source.prototype.buffers()that returns the source asBuffer.ConcatSource,CachedSource, andCompatSourceimplement it without allocating an intermediate concatenated buffer, allowing consumers that can write multiple buffers at once (e.g. viawritev) to avoid the overhead ofBuffer.concatin deeply nested sources.
Patch Changes
Use Int32Array for signed VLQ delta accumulation in
readMappingsso cumulative values that go negative are preserved instead of wrapping to a large unsigned integerImproved performance in many places.
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.