Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 21, 2025

This PR contains the following updates:

Package Change Age Confidence
webpack-sources ^1.4.3^3.3.3 age confidence
@types/webpack-sources (source) ^1.4.7^3.2.3 age confidence

Release Notes

webpack/webpack-sources (webpack-sources)

v3.3.3

Compare Source

Fixes

  • generate last column mapping even when source is missing for ConcatSource

v3.3.2

Compare Source

Fixes

  • [Types] Using HashLike name instead Hash

v3.3.1

Compare Source

Fixes

  • Always use a buffer to calculate the hash
  • [Types] Added debugId and ignoreList fields to RawSourceMap type

v3.3.0

Compare Source

Features

  • Added types
  • Added ability to reduce memory consumed

Performance

  • Avoid extra calculation for hash updates

v3.2.3

Compare Source

v3.2.2

Compare Source

Bugfixes

  • Source Code is splitted into lines via custom code instead of using a RegExp
    • In weird edge cases the RegExp caused a Stack Overflow

v3.2.1

Compare Source

Bugfixes

  • RawSources with Buffers can now be concatenated with ConcatSource
  • Source Code is splitted into lines via custom code instead of using a RegExp
    • In weird edge cases the RegExp caused a Stack Overflow

v3.2.0

Compare Source

Performance

  • add SourceMapSource.buffer for better performance
  • more efficient serialization of source mappings

Bugfix

  • avoid crashing when trying to compare the name with the original source, but there is no sourcesContent in SourceMap

v3.1.2

Compare Source

Bugfix

  • improve handling of invalid mappings (like zero sized or negative)

v3.1.1

Compare Source

equal to 3.1.0

v3.1.0

Compare Source

Bugfix

  • improve handling of null sources and sourceContents

Performance

  • faster streaming when only lines are mapped

v3.0.4

Compare Source

Bugfix

  • fix invalid mappings when multiple lines with multiple chunks are replaced

v3.0.3

Compare Source

Bugfix

  • restore backward-compat format for storing end position of replacements

v3.0.2

Compare Source

Bugfix

  • fix incorrect offset sign when doing replacements

v3.0.1

Compare Source

Bugfixes

  • fix ConcatSource off-by-1 bug

v3.0.0

Compare Source

Performance

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

v2.3.1

Compare Source

Performance

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

v2.3.0

Compare Source

Performance

  • add caching to node and listMap

v2.2.0

Compare Source

Performance

  • add caching to updateHash

v2.1.1

Compare Source

Performance

  • fix a performance bug when processing minimized files with SourceMaps

v2.1.0

Compare Source

Bugfixes

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

v2.0.1

Compare Source

Bugfixes

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

v2.0.0

Compare Source

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/webpack-sources-3.x branch from 0e79643 to 41949bf Compare December 31, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant