github sindresorhus/got v6.1.0

Non-retrieable errors

In got@5 we introduced retries option, which (as name says) retry request on every Error. For most errors this was right thing to do, but in case ENETUNREACH and ENOTFOUND retries are pointless.

This version removes retries from such errors, so you will get instant error, when typo gets into configs.


latest releases: v11.7.0, v11.6.2, v11.6.1...
5 years ago