Releases: webpack/webpack-sources
Releases · webpack/webpack-sources
v3.0.0
v2.3.1
v2.3.0
v2.2.0
v2.1.1
v2.1.0
v2.0.1
v2.0.0
API
Additions
- add
buffer
method to Source - add SizeOnlySource
- expose everything needed for serialization as public methods
- add
CompatSource
- add support for a lazy function as original Source for CachedSource
Removals
- remove node and listNode methods from public API
- remove LineToLineMappedSource
Bugfixes
- ConcatSource falls back to sourceAndMap when node() or listMap() is not available
- PrefixSource do no longer insert prefix in the middle of the line in some cases
- fix updateHash for SourceMapSource
- fix crash when Source in CachedSource returns null map
Performance:
- avoid unnecessary sorting in ReplaceSource
- make exports lazy
- cache utf-8 conversion
- allow keeping Buffer instead of string and only convert it lazily
- add optimization step to ConcatSource which converts strings to RawSources (which cache)
- cache Buffers instead of string in CachedSource cache for
map()
Changes
- increase minimum node.js version to 10.13
Other
- add Source types to hash
v2.0.0-beta.10
Features
- add support for a lazy function as original Source for CachedSource
v2.0.0-beta.9
Features
- add
CompatSource