#8
Bump undici from 7.29.0 to 7.30.0
Bumps undici from 7.29.0 to 7.30.0.
Release notes
Sourced from undici's releases.
v7.30.0
What's Changed
- [Backport v7.x] fix: selectively re-enable SIMD for ppc64 by
@github-actions[bot] in nodejs/undici#5794- Backport upgrade diagnostics lifecycle fixes to v7.x by
@BridgeARin nodejs/undici#5783- [Backport v7.x] fix: honor backpressure in decompression interceptor by
@mcollinain nodejs/undici#5837- fix: close rejected HTTP/2 WebSocket streams on v7.x by
@mcollinain nodejs/undici#5876- test(fetch): make pull-dont-push exceed any socket buffer by
@mcollinain nodejs/undici#5889Full Changelog: https://github.com/nodejs/undici/compare/v7.29.1...v7.30.0
v7.29.1
⚠️ Security fixes
High severity
- GHSA-w293-vg96-wgc3:
BalancedPoolcould drop function-valued connection options while cloning its configuration, including custom TLS certificate validation callbacks. Undici now preservesconnectand legacytlsoptions when creating upstreams. Fixed by f690157d.- GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught
TypeErrorthat could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 6615e017.Medium severity
- GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 63cf698b.
- GHSA-rx4f-c7p8-82vq: an unclean
WebSocketStreamclose could create an unobserved rejected promise when its writable stream was locked, potentially terminating the process. Undici now propagates the failure through the retained writable stream controller. Fixed by 1858656e.- GHSA-2jfj-6hjv-fm6j: shared caches could store and replay responses containing
Set-Cookie, disclosing one user's cookies to another caller. Undici now excludes these responses from shared caches, including existing entries and revalidation paths. Fixed by b6c5a002.- GHSA-3xpg-4rpp-hhhm: the decompression interceptor did not bound decoded output, allowing compressed responses to consume excessive memory. Undici now limits every decompression stage to 64 MiB by default and supports a configurable
maxSize. Fixed by 2c7d7e12.- GHSA-pmjh-fq2x-6v4x: a terminal retry failure after response headers were exposed could orphan the original response body, causing consumers to hang indefinitely. Undici now propagates the terminal error to the exposed body. Fixed by 3c672659.
Low severity
- GHSA-8436-99hf-9mmv: cache interceptors could store and replay responses to unsafe HTTP methods such as
POSTorDELETE. Undici now restricts cache reads and writes to safe methods while preserving invalidation by successful unsafe requests. Fixed by b61d9432.- GHSA-2gqq-gqf2-x968: the dump interceptor could treat an oversized chunked response as successfully truncated when no
Content-Lengthwas present. Undici now enforcesmaxSizeagainst received bytes and aborts oversized responses. Fixed by 21693f40.- GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates
Content-Rangeagainst the original response framing before resuming. Fixed by cd8af90b.What's Changed
- [v7.x] drop: remove Node.js 26 from shared-builtin CI build by
@mcollinain nodejs/undici#5592- fix(h2): honour headersTimeout by
@mcollinain nodejs/undici#5604- fix(h2): keep the connection ref'd while requests are outstanding by
@mcollinain nodejs/undici#5605- ci: increase Windows workflow timeout on v7.x by
@mcollinain nodejs/undici#5621- fix(h2): retire the request that completed, not the head of the queue by
@mcollinain nodejs/undici#5618- fix(h2): settle a request whose stream is cancelled by
@mcollinain nodejs/undici#5607- perf: reduce EventSourceStream parser allocations (#5032) by
@mcollinain nodejs/undici#5646- fix(h2): handle GOAWAY for CONNECT streams by
@mcollinain nodejs/undici#5640- [v7.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) by
@mcollinain nodejs/undici#5769Full Changelog: https://github.com/nodejs/undici/compare/v7.29.0...v7.29.1
Commits
6741f66Bumped v7.30.0 (#5887)8d2f2f0test(fetch): make pull-dont-push exceed any socket buffer (#5889)fad98aefix: close rejected HTTP/2 WebSocket streams on v7.x (#5876)369058efix: honor backpressure in decompression interceptor (#5829) (#5837)a7914e5Backport upgrade diagnostics lifecycle fixes to v7.x (#5783)48367affix: selectively re-enable SIMD for ppc64 (#5776) (#5794)d39a83eBumped v7.29.1 (#5772)0d88464fix(test): remove unused EventEmitter importf57411bperf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) (#5769)3c67265fix(retry): settle exposed body on terminal failure- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Activity
4admin added dependenciesjavascript labels2mo ago
✅ Deploy Preview for indexswapy ready!
Toggle QR Code...
Use your smartphone camera to open QR code link.
To edit notification comments on pull requests, go to your Netlify project configuration.