Skip to content

Releases: webpack/webpack-sources

v3.0.0

26 Jul 23:47
Compare
Choose a tag to compare

Performance

  • remove all dependencies
  • refactoring for performance
    • remove node() and listMap()
    • add streamChunks()

v2.3.1

20 Jul 09:49
Compare
Choose a tag to compare

Performance

  • fix type bug in CachedSource which lead to bad hashing performance

v2.3.0

27 May 10:03
Compare
Choose a tag to compare

Performance

  • add caching to node and listMap

v2.2.0

29 Oct 10:22
Compare
Choose a tag to compare

Performance

  • add caching to updateHash

v2.1.1

28 Oct 12:40
Compare
Choose a tag to compare

Performance

  • fix a performance bug when processing minimized files with SourceMaps

v2.1.0

26 Oct 08:08
Compare
Choose a tag to compare

Bugfixes

  • Some Sources use to return an empty SourceMap instead of null as map
    • They correctly return null instead now

v2.0.1

28 Sep 15:51
Compare
Choose a tag to compare

Bugfixes

  • fix crash with source "." is not in SourceMap

v2.0.0

17 Sep 23:37
Compare
Choose a tag to compare

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

24 Aug 15:53
Compare
Choose a tag to compare
v2.0.0-beta.10 Pre-release
Pre-release

Features

  • add support for a lazy function as original Source for CachedSource

v2.0.0-beta.9

20 Aug 07:44
Compare
Choose a tag to compare
v2.0.0-beta.9 Pre-release
Pre-release

Features

  • add CompatSource