undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 8.12.3 to 8.13.1
3 releases in betweenevery note read
Security
- 8.12.4
This release fixes six vulnerabilities.
Release by release
- Fixed
agent: Close unused pool after aborted request
- Fixed
h2: Replace a connection whose PING goes unanswered
- Fixed
proxy-agent: Decode SOCKS5 credentials from the proxy URI
- Fixed
h2: Preserve request AsyncLocalStorage context for onInfo
- Fixed
fetch: Preserve empty strings when inspecting
FormData - Fixed
Do not send a request on a connection verified for another servername
- Fixed
pipeline: Abort request when response body is dropped early
- Fixed
- New
interceptors: Mark decompress interceptor as stable
- Fixed
pool: Release saturated h2 protocol probes after SETTINGS
- Fixed
h2: Preserve transport errors and mismatch causes
- Fixed
h1: Do not reuse idle sockets whose keep-alive timeout expired
- New
- Security
This release fixes six vulnerabilities.
- Fixed
mock: Ignore the trailing slash before a query string
- Fixed
Let interim 1xx responses through DecoratorHandler
- Fixed
types: Declare FormData prototype methods
- Security
2 other lines we could not sort, mostly version bumps
- 8.13.0
interceptors: Enforce cache-after-redirect composition order
- 8.12.4
Disable wasm SIMD on the RISC-V
27 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.