Packages

undici

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

Your version

7.12.0

18 Jul 2025Where it was published

7.30.2 is the newest release of 7.x.

In short

4 new1 faster3 fixed7 changed10 internal

Security

28 advisories affect 7.12.0; 7.30.1 fixes them

23 more

Release note

What's Changed

  • webidl: Remove unnecessary parameters from webidl.converters.RequestInfo and webidl.converters.RequestInit

  • fetch: Remove await, add jsdoc for some body read functions

  • Throw error when maxRedirections is used with undici.request()

  • Clarify the type option of the cache interceptor

  • cache: Allow caching heuristically cacheable error status codes

  • Don't set a finalizer on cloned request

  • websocketstream: Close readablestream properly

  • Add ping(websocket, payload) util

  • Fix sending ping with no payload

  • Fix misleading cacheByDefault documentation

  • Add websocket to websocket diagnostic channels

  • Speed up flaky websocket test

  • fetch: Minor modifications

  • fetch: Make readable-stream methods sync

  • Remove creating an extra Promise just for common cleanup

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.