webpack-sources
3.7.1 · 18 Nov 2026MIT85.2M / weekRepositoryHomepagenpmAtom feed
Upgrading webpack-sources From 3.5.0 to 3.5.1
1 release in betweenevery note read
Release by release
- New
Stream potential tokens in OriginalSource instead of materialising an array
- New
Use lookup table in splitIntoPotentialTokens for faster character classification
- Fixed
Reduce allocations and CPU in
map()/sourceAndMap(): mappings are serialized into a reused byte buffer instead of per-mapping strings,ReplaceSourceverifies original content through a line-offset index instead of splitting sources into line arrays, andReplaceSource.streamChunksemits position-only chunks and returns the final source directly whenfinalSourceis requested. - Fixed
Skip sorting ReplaceSource replacements when they were added in order.
- 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.