@elastic/transport
9.6.1 · 18 Nov 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed
9.6.1 is the newest release of 9.x.
In short
1 fixed
Release note
Bug fixes
Keep Undici connections alive on
HEADandDELETE-with-body requests (#420, fixes #419).
By default, Undici marks the socket for reset onHEADrequests and onGET/DELETErequests that carry a body. That sendsConnection: closeand tears down the pooled socket after every such request. Elasticsearch handles both cases correctly, so the transport now passesreset: falseto Undici. Pooled connections are reused, which avoids a new TCP/TLS handshake per request (for example,indices.exists).
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.