cli
cli copied to clipboard
fix(deps): update dependency got to v11 [security]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| got | ^9.6.0 -> ^11.0.0 |
GitHub Vulnerability Alerts
CVE-2022-33987
The got package before 11.8.5 and 12.1.0 for Node.js allows a redirect to a UNIX socket.
Release Notes
sindresorhus/got
v11.8.5
- Backport security fix https://github.com/sindresorhus/got/commit/861ccd9ac2237df762a9e2beed7edd88c60782dc
v11.8.3
- Bump cacheable-request dependency (#β1921)
9463bb6 - Fix
HTTPErrormissing.codeproperty (#β1739)0e167b8
v11.8.2
- Make the
dnsCacheoption lazy (#β1529)3bd245fThis slightly improves Got startup performance and fixes an issue with Jest.
v11.8.1
v11.8.0
- Fix for sending files with size
0onstat(#β1488)7acd380 beforeRetryallows stream body if different from original (#β1501)3dd2273- Set default value for an options object (#β1495)
390b145
v11.7.0
Improvements
- Add
pfxHTTPS option (#β1364)c33df7f - Update
bodyafterbeforeRequest(#β1453)e1c1844 - Don't allocate buffer twice (#β1403)
7bc69d9
Fixes
- Fix a regression where body was sent after redirect
88b32ea - Fix destructure error on
promise.json()c97ce7c - Do not ignore userinfo on a redirect to the same origin
52de13b
v11.6.2
Bug fixes
- Inherit the
prefixUrloption from parent if it'sundefined(#β1448)a3da70a - Prepare a fix for hanging promise on Node.js 14.10.x
29d4e32 - Prepare for Node.js 15.0.0
c126ff1
Docs
- Point travis-ci.org badge to travis-ci.com (#β1442)
2b352d3 - Clarify the retry mechanism
f248618 - Fix
RequestErrorlinks3ed4af6
Tests
v11.6.1
Fixes
Meta
- Welcome @βGiotino as a maintainer π
5031843 - Showcase companies using Got (#β1432)
d12d6af
v11.6.0
Improvements
- Add
retrystream event (#β1384)7072198 - Add types for
http-cache-semanticsoptions2e2295f - Make
CancelErrorinheritRequestError1f132e8 - Add
retryAftertoRetryObject643a305 - Add documentation comments to exported TypeScript types (#β1278)
eaf1e02 - Move cache options into a
cacheOptionsproperty9c16d90
Bug fixes
- Got promise shouldn't retry when the body is a stream
6e1aeae
Docs
- Add an example of nock integration with retrying
f7bbc37 - Fix
CancelErrordocs28c400f - Fix retry delay function in the
README(#β1425)38bbb04
v11.5.2
Docs
- Add hpagent to proxy section (#β1363)
a3e171c - Mention header lowercasing in
requestmigration guide (#β1387)a748343 - Fixed deprecationWarning on https options (#β1391)
9a309bd
Bug fixes
v11.5.1
Enhancements
- Upgrade
http2-wrapperto1.0.0-beta.5.016e7f03 - Compatibility fix to ignore incorrect Node.js 12 typings
f7a137961d6f61
Bug fixes
Docs
- Mention HTTP/2 proxying in
readme.md4ebd26a - Update the comparison table
bd2d532c833939 - Document the hierarchy of error classes (#β1359)
559526e - Fix example code for HTTPS proxy (#β1360)
4083347
v11.5.0
Improvements
- Add
backoffoption to pagination (#β1182)4be7446 - Upgrade dependencies (#β1345)
b9a855d476c0268d697bc - Upgrade to TypeScript 3.9 (#β1267)
b51d836
Fixes
- Fix TypeScript types for Promise API (#β1344)
676be6d - Fix cache not working with HTTP2
ac5f67d - Fix
responseevent not being emitted on cache verify request (#β1305)da4769e - Work around a bug in Node.js <=12.18.2
f33e8bc - Remove request error handler after response is downloaded
e1afe82 - Revert "Remove request error handler after response is downloaded"
aeb2e07
Docs
- Mention advanced usage of a
beforeRequesthook779062a - Mention to end the stream if there's no body
044767e
v11.4.0
- Fix hanging promise on timeout on HTTP error
934211f - Use async iterators to get response body (#β1256)
7dcd145 - Fix promise not returning Buffer on compressed response
5028c11 - Clarify options.encoding docs
04f3ea4 - Fix unhandled
The server aborted pending requestrejection728aef9 - Add missing
ECONNRESETcode to an abort errord325d35 - Fix
prefixUrlnot working when theurlargument is empty8d3412a - Improve the
searchParamsoption4dbada9 - Fix non-enumerable options [such as body] not being used
8f775c7
v11.3.0
- Deep merge
httpsoptions (#β1304)c98f0d7 - Add options to customize parsing/stringifying JSON (#β1298)
cb4da8d - Add
dnsLookupIpVersionoption (#β1264)7f643bb
v11.2.0
- Provide an overload for unknown
responseType(#β1276)b9ba18a - Fix overriding some options in a
beforeRequesthook (#β1293)d8c00cf - Fix hanging promise on aborted requests on Node v14.3.0 (#β1296)
2ccc4c2 - Do not wait for
readyevent if the file descriptor is already opened (#β1289)2c8fe19 - General improvements to HTTPS API (#β1255)
697de37
v11.1.4
- Clarify docs for got.HTTPError (#β1244)
3f125f1 - Upgrade
cacheable-lookupto 5.0.39770e54 - Add a Runkit example (#β1253)
48bbb36 - Mention
options.rejectUnauthorizedin the documentation9b04963 - Test
responseTypeset toundefined0e8582f - Slightly improve RunKit example
6f84051 - Make
got.paginate()an alias forgot.paginate.each()5480b31 - Don't force query string normalization (#β1246)
761b8e0 - Upgrade
decompress-responseto6.0.0c2bc014 - Migrate from
lolexto@sinonjs/fake-timers(#β1270)df333dd - Make
calculateDelaypromisable (#β1266)3745efc
v11.1.3
- Do not use deprecated
request.abort()(#β1242)ab338a7 - Remove the
hostheader on redirect (#β1241)8ff71d9 - Prevent URL pollution (#β1243)
7dbb9ee - Fix duplicated searchParams for pagination API (#β1229)
91aa0ac - Add a test for stringified
searchParamsin merge (#β1208)7d7361c - Fix reusing options when paginating
8862270 - Fix an invalid pagination test
47c1afe5131dc2
v11.1.2
Bug fixes
- Disable
options.dnsCacheby default79507c2
This should stay disabled when making requests to internal hostnames such as localhost, database.local etc. CacheableLookup uses dns.resolver4(..) and dns.resolver6(...) under the hood and fall backs to dns.lookup(...) when the first two fail, which may lead to additional delay.
Enhancements
v11.1.1
- Improve Node.js 14 compatibility
50ef99a - Fix
got.mergeOptions()regression157e02b - Fix hanging promise when using cache
7b19e8f - Make
options.responseTypeoptional when using a template9ed0a39
v11.1.0
- Add
pagination.stackAllItemsoption (#β1214)c1208d1 - Allow response body to be typed for pagination API (#β1212)
c127f5b - Fix some options not working with the pagination API
278c421
v11.0.3
Fixes
- Limit number of requests in pagination to prevent accidental overflows (#β1181)
4344c3a - Fix promise rejecting before retry
b927e2d - Fix
options.searchParamsduplicates429db40 - Prevent calling
.abort()on a destroyed request63c1b72
Docs
- Fix incorrect usage in the readme examples (#β1203)
16ff82f - Note that
cacheanddnsCachecan befalse7c5290d
v11.0.2
- Fix
response.statusMessagebeing null965bd03 - Update the
http2-wrapperdependency to1.0.0-beta.4.44e8de8e - Use
Mergeas it's stricter than the intersection operatord3b972e - Prevent silent rejections in rare cases
8501c69 - Do not alter
options.body835c70b
v11.0.1
Fixed two regressions:
HTTPErrors have unspecified response body (#β1162)- Options are duplicated while merging (#β1163)
Improved TypeScript types for errors inherited from RequestError
v11.0.0
Introducing Got 11! :tada: The last major version was in December last year. :snowflake: Since then, a huge amount of bugs has been fixed. There are also many new features, for example, HTTP2 support is finally live! :globe_with_meridians:
If you find Got useful, you might want to sponsor the Got maintainers.
Breaking changes
Removed support for electron.net
Due to the inconsistencies between the Electron's net module and the Node.js http module, we have decided to officially drop support for it. Therefore, the useElectronNet option has been removed.
You'll still be able to use Got in the Electron main process and in the renderer process through the electron.remote module or if you use Node.js shims.
The Pagination API is now stable
We haven't seen any bugs yet, so please give it a try! If you want to leave some feedback, you can do it here. Any suggestion is greatly appreciated!
{
- _pagination: {...}
+ pagination: {...}
}
API
- The
options.encodingbehavior has been reverted back to the Got 9 behavior. In other words, the options is only meant for the Got promise API. To set the encoding for streams, simply callstream.setEncoding(encoding).
-got.stream('https://sindresorhus.com', {encoding: 'base64'});
+got.stream('https://sindresorhus.com').setEncoding('base64');
// Promises stay untouched
await got('https://sindresorhus.com', {encoding: 'base64'});
- The error name
GotErrorhas been renamed toRequestErrorfor better readability and to comply with the documentation.
-const {GotError} = require('got');
+const {RequestError} = require('got');
- The
agentoption now accepts only an object withhttp,httpsandhttp2properties. While thehttpandhttpsproperties accept nativehttp(s).Agentinstances, thehttp2property must be an instance ofhttp2wrapper.Agentor be undefined.
{
- agent: new https.Agent({keepAlive: true})
}
{
+ agent: {
+ http: new http.Agent({keepAlive: true}),
+ https: new https.Agent({keepAlive: true}),
+ http2: new http2wrapper.Agent()
+ }
}
- The
dnsCacheoption is now set to a default instance ofCacheableLookup. It cannot be aMap-like instance anymore. The underlyingcacheable-lookuppackage has received many improvements, for example, it has receivedhostsfile support! Additionally, thecacheAdapteroption has been renamed tocache. Note that it's no longer passed to Keyv, so you need to pass a Keyv instance it if you want to save the data for later.
{
- dnsCache: new CacheableLookup({
- cacheAdapter: new Map()
- })
}
{
+ dnsCache: new CacheableLookup({
+ cache: new Keyv({
+ cacheAdapter: new Map()
+ })
+ })
}
// Default:
{
dnsCache: new CacheableLookup()
}
- Errors thrown in
inithooks will be converted to instances ofRequestError.RequestErrors provide much more useful information, for example, you can access the Got options (througherror.options), which is very useful when debugging.
const got = require('got');
(async () => {
try {
await got('https://sindresorhus.com', {
hooks: {
init: [
options => {
if (!options.context) {
throw new Error('You need to pass a `context` option');
}
}
]
}
});
} catch (error) {
console.log(`Request failed: ${error.message}`);
console.log('Here are the options:', error.options);
}
})();
- The options passed in an
inithook may not have aurlproperty. To modify the request URL you should use abeforeRequesthook instead.
{
hooks: {
- init: [
+ beforeRequest: [
options => {
options.url = 'https://sindresorhus.com';
}
]
}
}
Note that this example shows a simple use case. In more complicated algorithms, you need to split the init hook into another init hook and a beforeRequest hook.
- The
error.requestproperty is no longer aClientRequestinstance. Instead, it gives a Got stream, which provides a set of useful properties.
const got = require('got');
(async () => {
try {
await got('https://sindresorhus.com/notfound');
} catch (error) {
console.log(`Request failed: ${error.message}`);
console.log('Download progress:', error.request.downloadProgress);
}
})();
Renamed TypeScript types
Some of the TypeScript types have been renamed to improve the readability:
| Old type | New type |
ResponseObject |
Response |
Defaults |
InstanceDefaults |
DefaultOptions |
Defaults |
DefaultRetryOptions |
RequiredRetryOptions |
GotOptions |
Options |
GotRequestMethod |
GotRequestFunction |
Other
- Now requires Node.js 10.19 or later.
Enhancements
HTTP2 support is here! Excited? Yay! Unfortunately, it's off by default to make the migration smoother. Many Got users have set up their own Agents and we didn't want to break them. But fear no more, it will come enabled by default in Got 12.
const got = require('got');
(async () => {
const response = await got('https://nghttp2.org/httpbin/anything', {http2: true});
console.log(response.socket.alpnProtocol);
//=> 'h2'
})();
- The
mergefunction is slow (#β1016) - Use
error.codeinstead oferror.messageto compare errors (#β981) - Pass error thrown in the
inithook tobeforeErrorhook (#β929) - Errors have undefined body when using streams (#β1138)
- Spaces should be normalized as
+in query strings (#β1113) - Modify response headers while using
got.stream(...)(#β1129) - Make
error.requesta Got stream (af0b147).
Known bugs
- When some errors occur, the
timingsmay indicate that the request was successful although it failed. - When some errors occur, the
downloadProgressobject may show incorrect data.
Bug fixes
- Requests to UNIX sockets are missing query strings (#β1036)
beforeRequesthooks aren't called on redirects (#β994)- Errors are swallowed when using
stream.pipeline(got.stream(...), ...)(#β1026) - Cannot use the
cachealong with thebodyoption (#β1021) - Got doesn't throw on leading slashes (#β1057)
- Got throws when passing already frozen options (#β1050)
- Cannot type Got options properly due to missing types (#β954)
got.mergeOptions(...)doesn't mergeURLSearchParamsinstances (#β1011)- The
authorizationheader is leaking (#β1090) - Pagination should ignore the
resolveBodyOnlyoption (#β1140) - Cannot reuse user-provided options (#β1118)
- Broken with Node.js β₯ 13.10.0 (#β1107)
- Cache is not decompressed (#β1158)
beforeRetryhooks are missingoptions.context(#β1141)promise.json()doesn't throwParseError(#β1069)- Not compatible with
[email protected](#β1131) - Shortcuts give body from the failed request on token renewal (#β1120)
- No effect when replacing the
cacheoption in a Got instance (#β1098) - Memory leak when using
cache(#β1128) - Got doesn't throw on aborted requests by the server (#β1096)
All changes
v10.7.0
- Fix
got.paginate(β¦)TypeScript typings (#β1099)0b798ea - Pass
allItemsandcurrentItemsto_pagination.paginate()(#β1100)1cddd52 - Do not ignore
decompress-responsewhen bundling (#β1105)88f973f - Avoid parsing JSON twice in
_pagination.transform(#β1102)cf4fdad
v10.6.0
- Add
allowGetBodyoption to allow GET requests with payload (#β1081)526b4bb
v10.5.7
- Fix Init hooks not being called if extended
acefaa4
v10.5.6
v10.5.5
- Fix merging pagination options
1f363b9
v10.5.4
- Fix
_paginationnot falling back to defaultsff1dba1
v10.5.3
- Fix unhandled errors if throwing in an async handler
518d95a
v10.5.2
- Forgot to include required
p-eventdependency8373112
v10.5.1
v10.5.0
- Add experimental pagination feature (#β833)
761c7c6We're looking for feedback on how it works.
v10.4.0
- Update
@szmarczak/cacheable-lookupdependencyd527dae - Include invalid JSON body in
ParseErrors (#β1044)2813b73 - Fix
got.stream(...)not throwingReadErrors1f6ca6b
v10.3.0
- Allow request body to be sent with a DELETE request (#β1037)
17d629a - Reject normalization errors with CancelableRequest (#β1035)
fddecab - Export
GotRequestMethodTypeScript type (#β1017)f02694e - Export
ReadErrorTypeScript type (#β1027)d222164
v10.2.2
- Do not include a
requestoption in normalizedhttpoptions61009b3
v10.2.1
- Ensure
got.mergeOptions(...)can be assigned to defaults (#β1008)1360a1b - The
urloption is mutually exclusive with theurlinput argumente0f8aab - Update
RetryObject['error']TypeScript types5008bf7 - Upgrade
@szmarczak/http-timerdependencya1b8ffc
v10.2.0
- Soft-deprecate
electron.netsupport (#β995)b2f8ace- See https://github.com/sindresorhus/got/issues/899#issuecomment-565728281. When the support is removed, you'll still be able to use Got in the Electron main process and in the renderer process through the
electron.remotemodule or if you use Node.js shims.
- See https://github.com/sindresorhus/got/issues/899#issuecomment-565728281. When the support is removed, you'll still be able to use Got in the Electron main process and in the renderer process through the
- Do not throw if
hostnameis not presentdc53747 - Fix unhandled
Premature closeerrorsfa60b5f
v10.1.0
Enhancements
Fixes
- Fix
content-lengthheader not being set when using customcontent-type3149340 - Emit timeout errors as soon as possible
912c2e57bf92f4
v10.0.4
- Fix type conflicts for
URLandURLSearchParamstypes (#β983)cd4226dJust working around yet another TypeScript bhttps://github.com/DefinitelyTyped/DefinitelyTyped/issues/349604960
v10.0.3
- Fix the
responseTypeoption (071bf5e) - Fix unhandled
Premature closeandRequest timed outerrors (7b2ccb0) - Make
options.pathbackwards-compatible (b3f1ac9)
v10.0.2
- Fix TypeScript type problem with
URLandURLSearchParamsglobals (#β969)2d5e28d - Fix
got.mergeOptions(...)TypeScript type (#β953)b962d08 - Fix unhandled timeout errors when connection drops
5a8f461
v10.0.1
- Fix using the
jsonoption withgot.stream.post2ec5c4d
v10.0.0
We're excited to announce Got 10! π This release has been in the works for almost a year and has been a major undertaking. Got was fully rewritten in TypeScript, which helped us catch many bugs and will give us more confidence in the codebase going forward. Got is now faster and much more stable. We also fixed a huge amount of bugs. Big thanks to everyone that helped make this release possible. π
If you find Got useful, you might want to sponsor the Got maintainers.
Note: Some HTTP agents like https-proxy-agent and agentkeepalive are not compatible with Node.js 10 and hence not compatible with Got as Got takes advantage of some Node.js 10-only APIs.
Breaking
- Require Node.js 10
633651f- Why: This is so that we can use
stream.pipelinefor more reliable stream handling. Node.js 8 will be out of LTS at the end of this month anyway.
- Why: This is so that we can use
- Remove support for protocol-less URLs in the
urlargument92bc808- Why: To reduce ambiguity. It was not clear from just reading the code what it would default to.
- Migrate:
- got('sindresorhus.com');
+ got('https://sindresorhus.com');
- Rename the
queryoption tosearchParamsand make it stricterb2236635376216518f0f5- Why: To get closer to the
window.fetchnaming in the browser. - Migrate:
- Why: To get closer to the
- got(β¦, {query: β¦});
+ got(β¦, {searchParams: β¦});
- Replace the
baseUrloption withprefixUrl(#β829)0d534ed- Note: We also made it stricter to reduce ambiguity. The Got
urlargument now cannot be prefixed with a slash when this option is used. - Why: We renamed it to make it clear that it doesn't do any URL resolution.
- Migrate:
- Note: We also made it stricter to reduce ambiguity. The Got
- got('/foo', {baseUrl: 'https://x.com'});
+ got('foo', {prefixUrl: 'https://x.com'});
- Change the
jsonoption to accept an object instead of a boolean and to only be responsible for the request, not the response (#β704)a6a7d5a- Note: You now set the request body in this option instead of the
bodyoption when you want to send JSON. This option also no longer sets the response type to JSON. You either call the.json()method or specify theresponseTypeoption for that. - Why: Many people were confused how
{json: true}worked and they also complained that they could not set the request/response type individually. - Migrate:
- Note: You now set the request body in this option instead of the
- got(url, {body: {x: true}, json: true});
+ got.post(url, {json: {x: true}}).json();
- Use the
responseTypeoption instead ofencodingto get a Buffer (#β940)6cc3d9f- Why: Previously, you would pass
{encoding: null}to get a Buffer, but this was confusing. You now use{responseType: 'buffer'}instead. - Tip: You can also use
got(β¦).buffer();. - Migrate:
- Why: Previously, you would pass
- got(β¦, {encoding: null});
+ got(β¦, {responseType: 'buffer'});
- Don't infer
POSTautomatically when specifyingbody(#β756)e367bdb- Why: We're trying to reduce the amount of magic behavior.
- Migrate:
- got(β¦, {body: 'foo'});
+ got.post(β¦, {body: 'foo'});
- The
retries.retryoption was split intoretries.limitandretries.calculateDelayb15ce1d- Migrate:
got(β¦, {
retry: {
- retries: 2
+ limit: 2
}
});
got(β¦, {
retry: {
- retries: iteration => iteration < 2
+ calculateDelay: ({attemptCount}) => attemptCount < 2
}
});
- Use
undefinedinstead ofnullto omit a header (https://github.com/sindresorhus/got#headers)518f0f5- Why: We're trying to reduce the use of
null. - Migrate:
- Why: We're trying to reduce the use of
got(β¦, {
headers: {
- 'user-agent': null
+ 'user-agent': undefined
}
});
- Rename the Promise API property
.fromCacheto.isFromCache(#β768)b5e443b - Rename the
streamoption toisStream518f0f5- Why: To make it clearer that it's a boolean and that it doesn't expect a stream to be passed in.
- Migrate:
- got(β¦, {stream: true});
+ got(β¦, {isStream: true});
- Don't include the Got version in the default
user-agentheader (#β911)95bed1egot/9.6.0 (https://github.com/sindresorhus/got)βgot (https://github.com/sindresorhus/got)- Why: Importing package.json to get the version caused a lot of problems. And you should ideally set your own
user-agentheader anyway.
- Remove
got.create()518f0f5- You can achieve the same thing with
got.extend()now.
- You can achieve the same thing with
- Remove
got.mergeInstances()518f0f5- Use
gotInstance.extend(...gotInstances)instead.
- Use
- Move top-level error properties into an
.optionsand.responseproperty (#β773)6eaa81b- Migrate:
- error.gotOptions
+ error.options
- error.headers
+ error.response.headers
- error.statusCode
+ error.response.statusCode
- error.statusMessage
+ error.response.statusMessage
- error.body
+ error.response.body
- error.redirectUrls
+ error.response.redirectUrls
- error.host
+ error.options.host
- error.hostname
+ error.options.hostname
- error.method
+ error.options.method
- error.protocol
+ error.options.protocol
- error.url
+ error.options.url
- error.path
+ error.options.path
- Custom instance creation was simplified (#β707)
8eaef94- Note:
got.mergeInstances(...instances)is deprecated. UseinstanceA.extend(instanceB)instead. - Migrate:
- Note:
### Merging instances
- got.mergeInstances(instanceA, instanceB, instanceC, β¦);
+ instanceA.extend(instanceB, instanceC, β¦);
### Merging options
- instanceA.extend(optionsB).extend(optionsC).extend(β¦);
+ instanceA.extend(optionsB, optionsC, β¦);
### Merging instances and options
- got.mergeInstances(instanceA.extend(optionsB), instanceC);
+ instanceA.extend(optionsB, instanceC, β¦);
### Extending handlers
- got.mergeInstances(instanceA, got.create({handler: handlerB}));
+ instanceA.extend({handlers: [handlerB]});
Enhancements
- Got has been rewritten in TypeScript.
- Why: This means we can provide our own type definitions and we can be more confident when working on the Got codebase and produce less bugs. Huge thanks to @βpmmmwh, @βLinusU, @βvladfrangu, @βmastermatt, and everyone else that helped us with this rewrite. π
- Add support for Brotli (Node.js 12 and later) (#β706)
d5d2e6f - Add opt-in DNS cache (#β731)
cd12351 - Add
contextoption for storing custom metadata across request and hooks (#β777)3bb5aa7 - Add option to ignore invalid cookies (#β826)
e9c01e0 - Add
maxRedirectsoption (#β914)0c505b0 - Allow method rewriting on redirects (#β913)
b7ead5f - Add
methodRewritingoption (#β942)b82358f - Add ability to use something other than
tough-cookiefor handling cookies (#β882)518f0f5 - Preserve stack trace when wrapping errors (#β935)
8874a45 - Proxy headers from server request to Got (#β772)
00e5fd5 - Pass the response as the second argument to the
beforeRedirecthook (#β812)3557896 - Throw on canceled request with incomplete response (#β767)
92b1005 - Add
.isFromCacheproperty to the stream API (#β768)b5e443b - The
timeoutoption can now be modified in hooksd520a3a - The
prefixUrloption can now be modified in hooks (https://github.com/sindresorhus/got/issues/867)518f0f5 - Make
URLSearchParamsinstances mergeable (#β734)95c7c2c
Fixes
- Fix parsing response when using
afterResponsehook (#β775)e2054cd - Fix
portnot being reset on redirect (#β729)ada5861 - Fix the retry functionality (#β787)
0501e00 - Fix default
retryoption value when specifying a number (#β809)9c04a7c - Correctly handle promise- and stream-specific errors in the
beforeErrorhook134c9b7 - Don't throw on early lookups
4faf5c7 - Fix Node.js 13 compatibility (#β915)
b0dfc95 - Fix memory leak when using cache feature (#β792)
518f0f5 - Don't throw on
204 No Contentwhen parsing response (#β925)518f0f5 - When redirect fails, don't retry from scratch ([#β930](https://togithub.com/sindresorhus/
Configuration
π Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.