got
16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed
Upgrading got From 5.0.0 to 5.7.1
14 releases in betweennotes for 5
Reading releases, release notes and advisories…
Security
1 advisory still affects 5.7.1
- Got allows a redirect to a UNIX socketmoderate · GHSA-pfrx-2q88-qq97
Upgrading to 11.8.5 clears it.
Release by release
5.7.1no release note
- New
Add
urlto response - New
Add
requestUrlto response in streaming mode - New
Allow non-plain object as request body
- New
Add a
requestUrlproperty to the response object - New
Add redirect url to response object
- Fixed
Fixed unexpected EOF when decompressing content
- New
5.3.2 – 5.6.07 releases, no release note
- Fixed
Fixed piping
responseinresponseevent for stream mode.
- Fixed
5.1.0 – 5.3.04 releases, nothing new or fixed; 1 without a note
10 other lines we could not sort, mostly version bumps
- 5.7.0
Detect formdata body and set content-type header
- 5.3.1
Missing exception in helper methods for stream mode.
- 5.3.0
Error is passed to
retriesfunction as well - 5.3.0
Unzipping HEAD requests is disabled
- 5.2.0
Default intervals between delays decreased - now they are around 1s, 2s, 4s, 8s, etc...
- 5.2.0
retriesoption accepts backoff function, for example you can: - 5.1.0
bodyoption now accepts Stream1 streams - 5.1.0
content-lengthandacceptheaders now can be falsy values (''or0for example) - 5.1.0
responseproperty is now non-enumerable in error object - 5.1.0
undefinedvalue ofcodeproperty in error removed
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.