webpack-sources
3.7.1 · 18 Nov 2026MIT85.2M / weekRepositoryHomepagenpmAtom feed
Upgrading webpack-sources From 3.5.3 to 3.7.1
3 releases in betweenevery note read
Release by release
- Fixed
Keep a
RawSourcecreated from aBufferwithconvertToStringintact afterclearCache(). Its only copy of the content was dropped, sosize()andupdateHash()threw on sources webpack restored from the filesystem cache. Bytes that are not valid UTF-8 are now kept as they were.
- Fixed
- New
Add
util.sourceMap.originalPositionForto find the original position of a generated one. - Fixed
Keep an empty string in
sourcesContentinstead of dropping it.
- New
- New
Add
map({ scopes: true }), emitting the source mapscopesfield from the bindings a source declares. - Fixed
Create a cached source's map cache only once a map is asked for.
- 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.