got
16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed
Your version
2.9.2 is the newest release of 2.x.
In short
1 new
Security
1 advisory affects 2.6.0; 11.8.5 fixes them
- ModerateGot allows a redirect to a UNIX socketGHSA-pfrx-2q88-qq97 · 19 Jun 2022Fixed in 11.8.5
Release note
GotError: Request to .com failed
at ClientRequest.<anonymous> (index.js:123:7)
at ClientRequest.g (events.js:180:16)
at ClientRequest.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1552:9)
at Socket.emit (events.js:95:17)
at net.js:834:16
at process._tickCallback (node.js:442:13)
Caused By: Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete] (dns.js:124:16)Same goes for ungzip errors and response stream reading errors. All of them will be wrapped in GotError with url in message.
Highlights
read-all-streamwas updated to^2.0.0- release fixes hanging requests on error in underlying streams (like ungzip) 3e55aa6
Changes
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.