Packages

got

16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed

Your version

6.3.0

6 Apr 2016Where it was published

6.7.1 is the newest release of 6.x.

Security

1 advisory affects 6.3.0; 11.8.5 fixes them

Release note

followRedirect option

This option disables following redirects and got will not treat them as errors:

const res = await got(`google.com`, {followRedirect: false});
res.statusCode === 302; // true

By default this option is true, so no major changes in code are needed.

Changes

v6.2.0...v6.3.0

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.