Skip to content

Commit 25d16ec

Browse files
Bump enhanced-resolve from 5.21.0 to 5.21.1 in /ui (#2791)
Bumps [enhanced-resolve](https://github.com/webpack/enhanced-resolve) from 5.21.0 to 5.21.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/enhanced-resolve/releases">enhanced-resolve's releases</a>.</em></p> <blockquote> <h2>v5.21.1</h2> <h3>Patch Changes</h3> <ul> <li> <p>Allocation-free reductions on hot-path code: hoist <code>/#/g</code>, <code>/\$/g</code> and <code>/\\/g</code> to module-level constants and gate the corresponding <code>.replace</code> calls behind <code>includes(…)</code> so paths/queries/requests without the match char skip the regex state machine entirely (the common case); share a single <code>EMPTY_NO_MATCH</code> tuple instead of allocating <code>[[], null]</code> per &quot;no match&quot; / &quot;no condition matched&quot; return; switch <code>directMapping</code>'s <code>for...of</code> over <code>mappingTarget</code> and inner results to indexed loops to avoid iterator-object allocation per call; inline <code>isConditionalMapping</code> at its two hot-path call sites and merge the duplicate <code>default</code> / <code>conditionNames.has(condition)</code> branches in <code>computeConditionalMapping</code>; replace <code>invalidSegmentRegEx.exec(…) !== null</code> with <code>.test(…)</code> (no match-array allocation); drop the dead <code>deprecatedInvalidSegmentRegEx.test(…) !== null</code> clause in <code>ImportsFieldPlugin</code> (<code>.test</code> returns boolean; <code>true !== null</code> and <code>false !== null</code> are both true, so it was <code>&amp;&amp; true</code>); drop the redundant <code>relativePath.length === 0</code> guard before <code>!startsWith(&quot;./&quot;)</code> in <code>ExportsFieldPlugin</code> (the empty-string case is already covered). (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/558">#558</a>)</p> </li> <li> <p>restore plugin compatibility for <code>[...resolveContext.stack]</code> iteration (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/569">#569</a>)</p> </li> <li> <p>fix <code>TsconfigPathsPlugin</code> to support <code>resolveSync</code> with <code>useSyncFileSystemCalls</code> (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/572">#572</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/webpack/enhanced-resolve/blob/main/CHANGELOG.md">enhanced-resolve's changelog</a>.</em></p> <blockquote> <h2>5.21.1</h2> <h3>Patch Changes</h3> <ul> <li> <p>Allocation-free reductions on hot-path code: hoist <code>/#/g</code>, <code>/\$/g</code> and <code>/\\/g</code> to module-level constants and gate the corresponding <code>.replace</code> calls behind <code>includes(…)</code> so paths/queries/requests without the match char skip the regex state machine entirely (the common case); share a single <code>EMPTY_NO_MATCH</code> tuple instead of allocating <code>[[], null]</code> per &quot;no match&quot; / &quot;no condition matched&quot; return; switch <code>directMapping</code>'s <code>for...of</code> over <code>mappingTarget</code> and inner results to indexed loops to avoid iterator-object allocation per call; inline <code>isConditionalMapping</code> at its two hot-path call sites and merge the duplicate <code>default</code> / <code>conditionNames.has(condition)</code> branches in <code>computeConditionalMapping</code>; replace <code>invalidSegmentRegEx.exec(…) !== null</code> with <code>.test(…)</code> (no match-array allocation); drop the dead <code>deprecatedInvalidSegmentRegEx.test(…) !== null</code> clause in <code>ImportsFieldPlugin</code> (<code>.test</code> returns boolean; <code>true !== null</code> and <code>false !== null</code> are both true, so it was <code>&amp;&amp; true</code>); drop the redundant <code>relativePath.length === 0</code> guard before <code>!startsWith(&quot;./&quot;)</code> in <code>ExportsFieldPlugin</code> (the empty-string case is already covered). (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/558">#558</a>)</p> </li> <li> <p>restore plugin compatibility for <code>[...resolveContext.stack]</code> iteration (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/569">#569</a>)</p> </li> <li> <p>fix <code>TsconfigPathsPlugin</code> to support <code>resolveSync</code> with <code>useSyncFileSystemCalls</code> (by <a href="https://github.com/alexander-akait"><code>@​alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/enhanced-resolve/pull/572">#572</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack/enhanced-resolve/commit/d484b4786d9817132641d1f0041a86641c53c08c"><code>d484b47</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/561">#561</a>)</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/2f41af296280071614d31d3331e2686e10737ef5"><code>2f41af2</code></a> fix: make TsconfigPathsPlugin work with sync file systems (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/571">#571</a>) (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/572">#572</a>)</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/e1f07eba3b99ba971728be5fbf8f2f8b8e994952"><code>e1f07eb</code></a> fix: compatibility with old stack entry logic</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/c5739466e661c14c045f7b0e756faf316481150e"><code>c573946</code></a> chore: add AGENTS.md and CLAUDE.md for AI-assisted development (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/570">#570</a>)</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/37eafd5c6573e5a461ea79575b16287f6917f259"><code>37eafd5</code></a> chore(deps-dev): bump the dependencies group with 2 updates (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/565">#565</a>)</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/bca6becf95e9cca36141a71e6107fd1e3b6c4306"><code>bca6bec</code></a> chore(deps): bump CodSpeedHQ/action from 4.14.0 to 4.15.0 in the dependencies...</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/cd959d694599e9fa24c0a982d2f68467b192b6eb"><code>cd959d6</code></a> chore(deps): bump CodSpeedHQ/action from 4.13.1 to 4.14.0 in the dependencies...</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/f50989b40a65e0d913b951fe5515a5466ea3240c"><code>f50989b</code></a> perf: improve performance</li> <li><a href="https://github.com/webpack/enhanced-resolve/commit/b2fafb25614c24d2cb43a3cb8936b234a45138e6"><code>b2fafb2</code></a> perf(benchmark): track memory usage via CodSpeed memory mode (<a href="https://redirect.github.com/webpack/enhanced-resolve/issues/557">#557</a>)</li> <li>See full diff in <a href="https://github.com/webpack/enhanced-resolve/compare/v5.21.0...v5.21.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=enhanced-resolve&package-manager=npm_and_yarn&previous-version=5.21.0&new-version=5.21.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5296824 commit 25d16ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ui/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,9 +2431,9 @@ emoji-regex@^9.2.2:
24312431
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
24322432

24332433
enhanced-resolve@^5.19.0:
2434-
version "5.21.0"
2435-
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz#bb8e6fabaf74930de70e61397798750429e5b1ae"
2436-
integrity sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==
2434+
version "5.21.1"
2435+
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.21.1.tgz#26d63aae1892a8ef397f072febeb226826eba1b1"
2436+
integrity sha512-8p7DUVq6XJnZEz9W4oSwiwycxBIjHjRzYb3Je3zVN+geKTRQKzAkR/K4PBExlS0090d9nshak6phMUxr3PDjmQ==
24372437
dependencies:
24382438
graceful-fs "^4.2.4"
24392439
tapable "^2.3.3"

0 commit comments

Comments
 (0)