Packages

undici

8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed

Your version

8.8.0

20 Jul 2026Where it was published

8.13.1 is the newest release of 8.x.

In short

1 new17 fixed1 changed12 internal

Security

23 advisories affect 8.8.0; 8.12.2 fixes them

18 more

Release note

What's Changed

  • fetch: Use ReadableStreamTee for cloning streams

  • mock: Support asynchronous reply options callbacks

  • Handle flat alternating header arrays in cache normalizeHeaders

  • Run idle socket validation off setImmediate instead of setTimeout

  • h1: Ignore type of service errors

  • fetch: Convert null init in Response.json

  • redirect: Remove body headers after POST-to-GET

  • h2: Allow stream-bodied requests to multiplex on a busy session

  • h2: Destroy aborted stream synchronously instead of via setImmediate

  • decompress: Skip HEAD responses

  • Track origins by client map key in Agent teardown

  • Enforce must-revalidate and proxy-revalidate over max-stale and stale-if-error

  • retry: Handle Retry-After zero delay

  • Honor stale-if-error on connection errors during revalidation

  • Store revalidation-only responses so etag revalidation can engage

  • h2: Prevent uncaughtException from onHttp2SocketError accessing undefined kClient

  • h2: Complete request stream on 'end' instead of waiting for 'close'

  • Invalidate Location and Content-Location URIs on unsafe methods

  • h2: Release completed requests from queue

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.