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^2.3.1 age confidence
@types/webpack-sources (source) ^1.4.7^2.1.1 age confidence

Release Notes

webpack/webpack-sources (webpack-sources)

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-2.x branch from 2cb0ada to 18a0c5b 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