Skip to content

chore(release): new release#561

Merged
alexander-akait merged 1 commit into
mainfrom
changeset-release/main
May 7, 2026
Merged

chore(release): new release#561
alexander-akait merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

enhanced-resolve@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)

@github-actions github-actions Bot force-pushed the changeset-release/main branch from b4b6695 to e63e2d7 Compare April 27, 2026 07:28
@github-actions github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from cfef6ce to 1969be4 Compare May 7, 2026 17:40
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 1969be4 to 595d327 Compare May 7, 2026 19:22
@alexander-akait alexander-akait merged commit d484b47 into main May 7, 2026
1 check passed
@alexander-akait alexander-akait deleted the changeset-release/main branch May 7, 2026 19:24
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