Skip to content

chore(deps): bump enhanced-resolve from 5.21.5 to 5.22.0#968

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/enhanced-resolve-5.22.0
Open

chore(deps): bump enhanced-resolve from 5.21.5 to 5.22.0#968
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/enhanced-resolve-5.22.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Bumps enhanced-resolve from 5.21.5 to 5.22.0.

Release notes

Sourced from enhanced-resolve's releases.

v5.22.0

Minor Changes

  • CachedInputFileSystem#purge accepts a second { exact?: boolean } argument; exact: true removes only entries whose key matches what exactly instead of any entry whose key starts with what. (by @​alexander-akait in #591)

v5.21.6

Patch Changes

  • Speed up alias resolution on the hot path. (by @​alexander-akait in #589)

    • AliasPlugin / TsconfigPathsPlugin: bucket compiled alias options by the first char code of name, so resolves skip options whose name can't possibly match the request's first char. Gated to cases with 2+ distinct first chars so degenerate single-bucket lists (e.g. long alias chains) don't pay for the Map.get.
    • TsconfigPathsPlugin: memoize _selectPathsDataForContext(map, requestPath) per map so the per-source-file contextList scan only runs once per directory. Gated to maps with 2+ contexts so single-context tsconfigs aren't penalized by the cache lookup.

    Biggest wins on alias-heavy configs (300+ entries): huge-alias-miss +151%, huge-alias-list +126%, alias-first-char-miss +120%.

Changelog

Sourced from enhanced-resolve's changelog.

5.22.0

Minor Changes

  • CachedInputFileSystem#purge accepts a second { exact?: boolean } argument; exact: true removes only entries whose key matches what exactly instead of any entry whose key starts with what. (by @​alexander-akait in #591)

5.21.6

Patch Changes

  • Speed up alias resolution on the hot path. (by @​alexander-akait in #589)

    • AliasPlugin / TsconfigPathsPlugin: bucket compiled alias options by the first char code of name, so resolves skip options whose name can't possibly match the request's first char. Gated to cases with 2+ distinct first chars so degenerate single-bucket lists (e.g. long alias chains) don't pay for the Map.get.
    • TsconfigPathsPlugin: memoize _selectPathsDataForContext(map, requestPath) per map so the per-source-file contextList scan only runs once per directory. Gated to maps with 2+ contexts so single-context tsconfigs aren't penalized by the cache lookup.

    Biggest wins on alias-heavy configs (300+ entries): huge-alias-miss +151%, huge-alias-list +126%, alias-first-char-miss +120%.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 26, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 26, 2026 21:27
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

📊 Bundle size report

✅ No changes found

Bumps [enhanced-resolve](https://github.com/webpack/enhanced-resolve) from 5.21.5 to 5.22.0.
- [Release notes](https://github.com/webpack/enhanced-resolve/releases)
- [Changelog](https://github.com/webpack/enhanced-resolve/blob/main/CHANGELOG.md)
- [Commits](webpack/enhanced-resolve@v5.21.5...v5.22.0)

---
updated-dependencies:
- dependency-name: enhanced-resolve
  dependency-version: 5.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/enhanced-resolve-5.22.0 branch from 6213f92 to f7d378a Compare May 27, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants