SIGN IN SIGN UP

Bump undici from 8.7.0 to 8.10.0 (#4373)

Bumps [undici](https://github.com/nodejs/undici) from 8.7.0 to 8.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nodejs/undici/releases">undici's
releases</a>.</em></p>
<blockquote>
<h2>v8.10.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: namespace h2 options by <a
href="https://github.com/metcoder95"><code>@​metcoder95</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5498">nodejs/undici#5498</a></li>
<li>test: update WPT expectations by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5587">nodejs/undici#5587</a></li>
<li>test: add cache/dedupe + dns re-dispatch integration tests by <a
href="https://github.com/GiHoon1123"><code>@​GiHoon1123</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5535">nodejs/undici#5535</a></li>
<li>fix(websocket): support process.unref by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5578">nodejs/undici#5578</a></li>
<li>fix(h2): ensure every request settles by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5603">nodejs/undici#5603</a></li>
<li>fix(readable): consume a body whose end has already been emitted by
<a href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in
<a
href="https://redirect.github.com/nodejs/undici/pull/5617">nodejs/undici#5617</a></li>
<li>fix(retry): skip the content-length checkpoint for HEAD and for a
206 without content-range by <a
href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5610">nodejs/undici#5610</a></li>
<li>fix: revert idle socket validation to setTimeout(0) to prevent stall
on idle event loop by <a
href="https://github.com/marceli1404"><code>@​marceli1404</code></a> in
<a
href="https://redirect.github.com/nodejs/undici/pull/5606">nodejs/undici#5606</a></li>
<li>fix(env-http-proxy-agent): match bare IPv6 addresses in no_proxy by
<a href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in
<a
href="https://redirect.github.com/nodejs/undici/pull/5623">nodejs/undici#5623</a></li>
<li>test: handle aggregate balanced pool errors by <a
href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5377">nodejs/undici#5377</a></li>
<li>fix(readable): keep body bytes that arrive after setEncoding() by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5620">nodejs/undici#5620</a></li>
<li>fix(socks5): evict unused origin pools by <a
href="https://github.com/Kkartik14"><code>@​Kkartik14</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5595">nodejs/undici#5595</a></li>
<li>fix: skip deduplication for upgrade requests by <a
href="https://github.com/Ram-blip"><code>@​Ram-blip</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5593">nodejs/undici#5593</a></li>
<li>fix(retry): forward informational responses by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5625">nodejs/undici#5625</a></li>
<li>fix(mock): non-string path matchers under ignoreTrailingSlash, and
DataView reply bodies by <a
href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5619">nodejs/undici#5619</a></li>
<li>fix(interceptors): cache() and deduplicate() silently inert on
Client/Pool without opts.origin by <a
href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5628">nodejs/undici#5628</a></li>
<li>build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/nodejs/undici/pull/5633">nodejs/undici#5633</a></li>
<li>build(deps): bump github/codeql-action/init from 4.36.2 to 4.37.3 by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/nodejs/undici/pull/5634">nodejs/undici#5634</a></li>
<li>build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/nodejs/undici/pull/5636">nodejs/undici#5636</a></li>
<li>fix(mock): emit request body lifecycle hooks by <a
href="https://github.com/marko1olo"><code>@​marko1olo</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5367">nodejs/undici#5367</a></li>
<li>fix(h2): detach upgrade close handler after GOAWAY by <a
href="https://github.com/pacocartones"><code>@​pacocartones</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/5641">nodejs/undici#5641</a></li>
<li>fix: retry refused HTTP/2 streams by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/5598">nodejs/undici#5598</a></li>
<li>fix: preserve DNS origin hostname on sockets by <a
href="https://github.com/cyphercodes"><code>@​cyphercodes</code></a> in
<a
href="https://redirect.github.com/nodejs/undici/pull/5577">nodejs/undici#5577</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/marceli1404"><code>@​marceli1404</code></a>
made their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/5606">nodejs/undici#5606</a></li>
<li><a href="https://github.com/Kkartik14"><code>@​Kkartik14</code></a>
made their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/5595">nodejs/undici#5595</a></li>
<li><a
href="https://github.com/pacocartones"><code>@​pacocartones</code></a>
made their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/5641">nodejs/undici#5641</a></li>
<li><a
href="https://github.com/cyphercodes"><code>@​cyphercodes</code></a>
made their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/5577">nodejs/undici#5577</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v8.9.0...v8.10.0">https://github.com/nodejs/undici/compare/v8.9.0...v8.10.0</a></p>
<h2>v8.9.0</h2>
<h2>⚠️ Security fixes</h2>
<h3>High severity</h3>
<ul>
<li><a
href="https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272">GHSA-4cwx-7wf7-3272</a>:
malformed qualified <code>private</code> Cache-Control directives could
cause cross-user information disclosure in shared caches or a parse-time
crash. The cache parser now treats empty qualified directives
conservatively and safely handles mixed qualified and unqualified
directives. Fixed by <a
href="https://github.com/nodejs/undici/commit/4fe5bc5fefe5ac81a200fc8e1cf84b8bf8464451">4fe5bc5f</a>
with regression coverage in <a
href="https://github.com/nodejs/undici/commit/9f09b49accd391cca818409447f2fb8bc93229b3">9f09b49a</a>.</li>
</ul>
<h3>Medium severity</h3>
<ul>
<li><a
href="https://github.com/nodejs/undici/security/advisories/GHSA-m8rv-5g2x-5cg5">GHSA-m8rv-5g2x-5cg5</a>:
a malicious <code>type</code> property on a duck-typed blob-like
HTTP/1.1 request body could inject CRLF sequences into the generated
<code>content-type</code> header. Undici now coerces and validates the
value before adding it to the request. Fixed by <a
href="https://github.com/nodejs/undici/commit/7d3cf924c262c486bc77f951348f4e5c847b7b42">7d3cf924</a>.</li>
<li><a
href="https://github.com/nodejs/undici/security/advisories/GHSA-jr45-8vmc-qm54">GHSA-jr45-8vmc-qm54</a>:
optional whitespace around <code>=</code> in qualified
<code>no-cache</code> and <code>private</code> directives could bypass
shared-cache restrictions and disclose authenticated data across users.
Cache-Control parsing now normalizes these forms and applies
conservative cache decisions. Fixed by <a
href="https://github.com/nodejs/undici/commit/c601fff1c56eca84438c3ed4ecb39404252be622">c601fff1</a>.</li>
<li><a
href="https://github.com/nodejs/undici/security/advisories/GHSA-8xcm-r25x-g524">GHSA-8xcm-r25x-g524</a>:
the retry interceptor could expose a stale <code>Content-Length</code>
after resuming a partial response, potentially causing downstream
response desynchronization, hangs, or corruption. Undici now rejects
partial responses whose <code>Content-Length</code> is inconsistent with
<code>Content-Range</code>. Fixed by <a
href="https://github.com/nodejs/undici/commit/e11a68ed4ff345c79402476f7a00d473443e318d">e11a68ed</a>,
with corrected fixtures in <a
href="https://github.com/nodejs/undici/commit/2b3f749336d356bbbc50192f87f6cf7bc714721a">2b3f7493</a>.</li>
<li><a
href="https://github.com/nodejs/undici/security/advisories/GHSA-v3r7-h72x-cjcm">GHSA-v3r7-h72x-cjcm</a>:
unsanitized <code>domain</code> and <code>unparsed</code> values passed
to <code>setCookie()</code> could inject cookie attributes. Undici now
validates cookie domains, paths, and unparsed attributes more strictly.
Fixed by <a
href="https://github.com/nodejs/undici/commit/10d93fc332f2c8c161982dec3833201de29891b5">10d93fc3</a>.</li>
</ul>
<h2>Additional hardening</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nodejs/undici/commit/c8d80e6b2dcfab282557b08f51352937bc9e5692"><code>c8d80e6</code></a>
Bumped v8.10.0 (<a
href="https://redirect.github.com/nodejs/undici/issues/5644">#5644</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/66923b47dc1ed095581daa6a53b2ad1bf3e899b4"><code>66923b4</code></a>
fix: preserve DNS origin hostname on sockets (<a
href="https://redirect.github.com/nodejs/undici/issues/5577">#5577</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/392649944c3b989681af1eae2e0970661f9ca464"><code>3926499</code></a>
fix: retry refused HTTP/2 streams (<a
href="https://redirect.github.com/nodejs/undici/issues/5598">#5598</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/73d6e9e19df47f85625d2dc082daa919ae6636c1"><code>73d6e9e</code></a>
fix(h2): detach upgrade close handler after GOAWAY (<a
href="https://redirect.github.com/nodejs/undici/issues/5641">#5641</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/b111adbb675ebfcfa52790346dcd88e61c700818"><code>b111adb</code></a>
fix(mock): emit request body lifecycle hooks (<a
href="https://redirect.github.com/nodejs/undici/issues/5367">#5367</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/ae4a3e37a2ddfe798b64771176e31e8e7819c743"><code>ae4a3e3</code></a>
build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (<a
href="https://redirect.github.com/nodejs/undici/issues/5636">#5636</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/ec3fbf19aa47eca6decc390b66bf56034bc03d52"><code>ec3fbf1</code></a>
build(deps): bump github/codeql-action/init from 4.36.2 to 4.37.3 (<a
href="https://redirect.github.com/nodejs/undici/issues/5634">#5634</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/21517200296205f3aa09a7b976dde571b441405c"><code>2151720</code></a>
build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 (<a
href="https://redirect.github.com/nodejs/undici/issues/5633">#5633</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/b96a11620e2f9fe5adafa2ba7b7f363b96b5a9d7"><code>b96a116</code></a>
fix(interceptors): allow interceptors without opts.origin (<a
href="https://redirect.github.com/nodejs/undici/issues/5628">#5628</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/a18ef2d05af48047339be51d8817492abc30f39d"><code>a18ef2d</code></a>
fix(mock): non-string path matchers under ignoreTrailingSlash, and
DataView r...</li>
<li>Additional commits viewable in <a
href="https://github.com/nodejs/undici/compare/v8.7.0...v8.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=undici&package-manager=npm_and_yarn&previous-version=8.7.0&new-version=8.10.0)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/software-mansion/react-native-gesture-handler/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michał Bert <63123542+m-bert@users.noreply.github.com>
D
dependabot[bot] committed
7173c20df6c2e524c58bc9f1c673177530dc69d0
Parent: 7a16844
Committed by GitHub <noreply@github.com> on 8/7/2026, 10:31:32 AM