undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 7.12.0 to 7.13.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking7.13.0
Security
28 advisories still affect 7.13.0
- undici vulnerable to response truncation via oversized chunked responses in the dump interceptorlow · GHSA-2gqq-gqf2-x968
- undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesmoderate · GHSA-2jfj-6hjv-fm6j
- undici vulnerable to TLS certificate validation bypass via dropped tls options in Agenthigh · GHSA-2m5v-pch6-74hx
Upgrading to 7.30.1 clears them.
Release by release
- Breaking
Remove deprecated maxRedirections option from types
- New
Add SnapshotAgent for HTTP request recording and playback
- Fixed
Detect and prevent redirect loops with Client/Pool
- Fixed
inteceptor/dump: Handle preemptive network errors
- Breaking
5 other lines we could not sort, mostly version bumps
- 7.13.0
MockAgent.prototype.get support ignoreTrailingSlash option
- 7.13.0
Update WPT
- 7.13.0
feat(ProxyAgent) improve Curl-y behavior in HTTP->HTTP Proxy connections
- 7.13.0
Remove node:buffer imports
- 7.13.0
Amend the GC warning in the README to clarify that consuming bodies is recommended but not required
2 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.