Commit 25d16ec
authored
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 "no match" / "no condition
matched" 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>&& true</code>); drop the redundant
<code>relativePath.length === 0</code> guard before
<code>!startsWith("./")</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 "no match" / "no condition
matched" 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>&& true</code>); drop the redundant
<code>relativePath.length === 0</code> guard before
<code>!startsWith("./")</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 />
[](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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2431 | 2431 | | |
2432 | 2432 | | |
2433 | 2433 | | |
2434 | | - | |
2435 | | - | |
2436 | | - | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
2437 | 2437 | | |
2438 | 2438 | | |
2439 | 2439 | | |
| |||
0 commit comments