Repository navigation
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #10940 +/- ##
==========================================
- Coverage 94.43% 94.40% -0.03%
==========================================
Files 193 193
Lines 17655 17655
Branches 258 258
==========================================
- Hits 16672 16668 -4
- Misses 963 967 +4
Partials 20 20 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closes #10836
Replaces the Dependabot PR, which proposed
undici7.30.2 and 6.29.1, with the latest patch release of each release line, 7.30.5 and 6.29.2. On 2026-12-04, undici published 13 advisories fixed in 7.30.4 and 4 advisories fixed in 6.29.2, all of which also affect 7.30.2 and 6.29.1. They are published innodejs/undicibut not yet in the GitHub Advisory Database, so no Dependabot alert shows them yet. One of them, GHSA-v75p-g438-v7rr (high), affects only 7.30.1 to 7.30.3. It does not affect the installed 7.29.1, so the bot's 7.30.2 would have introduced a new high-severity vulnerability.undiciis a transitive dependency and not listed inpackage.json. This PR changes onlypackage-lock.json(npm update undici --ignore-scripts --package-lock-only):node_modules/expo-server-sdk/node_modules/undici@parse/push-adapter>expo-server-sdk@6.1.0(^7.2.0)node_modules/@semantic-release/github/node_modules/undici@semantic-release/github(^7.0.0)node_modules/undici@actions/http-client@4.0.0(^6.23.0)The development-only 6.x copy moves from 6.28.1 to 6.29.2; see the 6.x changes below.
Two development-only copies of
undici6.28.0 are not changed by this PR. They are bundled in two nested copies ofnpm11.20.0, atnode_modules/@semantic-release/npm/node_modules/npmandnode_modules/semantic-release/node_modules/npm, so they cannot be bumped on their own. Bothnpmcopies are required by@semantic-release/npm(13.0.0, and 13.1.5 undersemantic-release) with the range^11.6.2, andnpm11.21.3 bundlesundici6.29.1. A lock-file-only bump of the nestednpmwould therefore move both copies to 6.29.1 and close the development alerts #390, #388, #386, #381 and #343, which stay open after this PR. It would not fix the four 6.x advisories of 2026-12-04, which are fixed only in 6.29.2; nonpmrelease bundles that version yet. Bumping the nestednpmis a separate follow-up and not part of this PR.Changes
undici7.29.1 → 7.30.5 (production path throughexpo-server-sdk, and@semantic-release/github):undici7.29.1: TLS 1.2 certificate-changing renegotiation crash (GHSA-qrxm-fqhp-jwvm), function-valuedAgentTLS options such ascheckServerIdentitydropped (GHSA-2m5v-pch6-74hx), cache poisoning through cross-origin redirects (GHSA-4w7w-5xrc-9h26), crash through excessiveContent-Encodingvalues (GHSA-xjj6-f33q-929c),decompressinterceptor crash (GHSA-55wc-3pg8-jfw6), SRI bypass with non-lowercase algorithm tokens (GHSA-f72v-6w45-q472), unbounded EventSource parser state (GHSA-4qv8-2p9j-2685), unbounded WebSocket PONG buffering (GHSA-9fm3-97px-rjf6). Also fixes TLS session caching ([v7.x] fix(session cache): fix bug in tls session caching (#5882) nodejs/undici#6017), unbounded recursion in theSet-Cookieattribute parser ([Backport v7.x] fix: avoid unbounded recursion in Set-Cookie attribute parser nodejs/undici#5997), and cookie parsing ([v7.x] fix(cookies): backport #5663, #5808 and #5832 nodejs/undici#6019).content-encodingheader indecompress([v7.x] fix(decompress): join a repeated content-encoding header (#5664) nodejs/undici#6026), ignores type-of-service errors in the HTTP/1.1 client (fix(h1): backport ignore type of service errors to v7.x (#5547) nodejs/undici#6076), and fixesextractBody([Backport v7.x] extractBody fixes 2 nodejs/undici#6093).fetch()andrequest()could terminate the process with anAssertionErrorwhen a server closed the connection while the response body was paused by backpressure (GHSA-h5rf-4xrf-76mc, high);expo-server-sdkusesfetch(). The others: GHSA-fgj4-8x8v-fqhm, GHSA-5p8q-mfqp-v63m, GHSA-v75p-g438-v7rr, GHSA-8gc2-q8ww-ghwg, GHSA-mf4q-95qj-5v8f, GHSA-w33r-f3gw-3gch, GHSA-hx5c-5pjj-2548, GHSA-qpmw-hmf2-3j36, GHSA-g489-q6j6-rh55, GHSA-pj2v-wx4q-45vc, GHSA-gc94-vjfp-fm7x, GHSA-qfv9-2fjm-5p4m. Functional changes: the cache-after-redirect interceptor composition order is enforced ([v7.x] fix(interceptors): enforce cache-after-redirect composition order nodejs/undici#6263), aProxyAgentrequest now fails when its CONNECT tunnel drops instead of looping ([v7.x] fix(proxy): fail the request when the CONNECT tunnel drops instead of looping nodejs/undici#6305), aborted requests no longer reconnect ([v7.x] fix: skip reconnecting for aborted requests (#5846) nodejs/undici#6004), andEventSourcevalidatesLast-Event-IDon reconnect ([v7.x] fix(eventsource): validate Last-Event-ID on reconnect (#5746) nodejs/undici#6100).undici6.28.1 → 6.29.2 (development only, through@actions/http-client):fetch([v6.x] fix(fetch): fix aborting Streams (#3754) nodejs/undici#6000).globalThisinsetGlobalDispatcher([v6.x] fix: handle frozen globalThis in setGlobalDispatcher (#5574) nodejs/undici#6018), and a WebSocket firesclosewhen the connection fails before it opens ([v6.x] fix(websocket): fire close when the connection fails before it opens nodejs/undici#5998).Breaking Changes
None
Code Changes Required
None — the upgrade is a drop-in replacement. The parent packages use
fetch()(expo-server-sdk,@semantic-release/github) andProxyAgent(@semantic-release/github,@actions/http-client); none of these APIs changed in signature. The minimum Node.js version of the new releases (>=20.18.1for 7.30.5,>=18.17for 6.29.2) is withinengines.node.Summary by CodeRabbit