Skip to content

Bump enhanced-resolve from 5.21.0 to 5.21.1 in the npm-dependencies group#485

Merged
BaseMax merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-dependencies-3fbca4b5b4
May 15, 2026
Merged

Bump enhanced-resolve from 5.21.0 to 5.21.1 in the npm-dependencies group#485
BaseMax merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-dependencies-3fbca4b5b4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps the npm-dependencies group with 1 update: enhanced-resolve.

Updates enhanced-resolve from 5.21.0 to 5.21.1

Release notes

Sourced from enhanced-resolve's releases.

v5.21.1

Patch Changes

  • Allocation-free reductions on hot-path code: hoist /#/g, /\$/g and /\\/g to module-level constants and gate the corresponding .replace calls behind includes(…) so paths/queries/requests without the match char skip the regex state machine entirely (the common case); share a single EMPTY_NO_MATCH tuple instead of allocating [[], null] per "no match" / "no condition matched" return; switch directMapping's for...of over mappingTarget and inner results to indexed loops to avoid iterator-object allocation per call; inline isConditionalMapping at its two hot-path call sites and merge the duplicate default / conditionNames.has(condition) branches in computeConditionalMapping; replace invalidSegmentRegEx.exec(…) !== null with .test(…) (no match-array allocation); drop the dead deprecatedInvalidSegmentRegEx.test(…) !== null clause in ImportsFieldPlugin (.test returns boolean; true !== null and false !== null are both true, so it was && true); drop the redundant relativePath.length === 0 guard before !startsWith("./") in ExportsFieldPlugin (the empty-string case is already covered). (by @​alexander-akait in #558)

  • restore plugin compatibility for [...resolveContext.stack] iteration (by @​alexander-akait in #569)

  • fix TsconfigPathsPlugin to support resolveSync with useSyncFileSystemCalls (by @​alexander-akait in #572)

Changelog

Sourced from enhanced-resolve's changelog.

5.21.1

Patch Changes

  • Allocation-free reductions on hot-path code: hoist /#/g, /\$/g and /\\/g to module-level constants and gate the corresponding .replace calls behind includes(…) so paths/queries/requests without the match char skip the regex state machine entirely (the common case); share a single EMPTY_NO_MATCH tuple instead of allocating [[], null] per "no match" / "no condition matched" return; switch directMapping's for...of over mappingTarget and inner results to indexed loops to avoid iterator-object allocation per call; inline isConditionalMapping at its two hot-path call sites and merge the duplicate default / conditionNames.has(condition) branches in computeConditionalMapping; replace invalidSegmentRegEx.exec(…) !== null with .test(…) (no match-array allocation); drop the dead deprecatedInvalidSegmentRegEx.test(…) !== null clause in ImportsFieldPlugin (.test returns boolean; true !== null and false !== null are both true, so it was && true); drop the redundant relativePath.length === 0 guard before !startsWith("./") in ExportsFieldPlugin (the empty-string case is already covered). (by @​alexander-akait in #558)

  • restore plugin compatibility for [...resolveContext.stack] iteration (by @​alexander-akait in #569)

  • fix TsconfigPathsPlugin to support resolveSync with useSyncFileSystemCalls (by @​alexander-akait in #572)

Commits
  • d484b47 chore(release): new release (#561)
  • 2f41af2 fix: make TsconfigPathsPlugin work with sync file systems (#571) (#572)
  • e1f07eb fix: compatibility with old stack entry logic
  • c573946 chore: add AGENTS.md and CLAUDE.md for AI-assisted development (#570)
  • 37eafd5 chore(deps-dev): bump the dependencies group with 2 updates (#565)
  • bca6bec chore(deps): bump CodSpeedHQ/action from 4.14.0 to 4.15.0 in the dependencies...
  • cd959d6 chore(deps): bump CodSpeedHQ/action from 4.13.1 to 4.14.0 in the dependencies...
  • f50989b perf: improve performance
  • b2fafb2 perf(benchmark): track memory usage via CodSpeed memory mode (#557)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the npm-dependencies group with 1 update: [enhanced-resolve](https://github.com/webpack/enhanced-resolve).


Updates `enhanced-resolve` from 5.21.0 to 5.21.1
- [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.0...v5.21.1)

---
updated-dependencies:
- dependency-name: enhanced-resolve
  dependency-version: 5.21.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript labels May 15, 2026
@dependabot dependabot Bot requested review from BaseMax and jbampton as code owners May 15, 2026 10:31
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript labels May 15, 2026
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedenhanced-resolve@​5.21.0 ⏵ 5.21.1100 +210010093 -3100

View full report

@BaseMax BaseMax merged commit e85db28 into main May 15, 2026
14 checks passed
@BaseMax BaseMax deleted the dependabot/npm_and_yarn/npm-dependencies-3fbca4b5b4 branch May 15, 2026 18:07
@github-project-automation github-project-automation Bot moved this to Done in Next May 15, 2026
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant