-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency got to v14 #374
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/got-14.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
December 11, 2023 08:02
c05b5d9
to
acce158
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
December 18, 2023 03:40
acce158
to
5e1a637
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
January 1, 2024 03:35
5e1a637
to
63c509c
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
January 8, 2024 04:03
63c509c
to
7cae743
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
January 22, 2024 03:20
99855c8
to
029ef12
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
4 times, most recently
from
February 5, 2024 03:34
f2bbb9d
to
10eccda
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
February 12, 2024 04:29
10eccda
to
8739056
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
February 19, 2024 04:42
8739056
to
df4eee0
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
March 4, 2024 03:48
9e95e1f
to
f0e0f3f
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
March 11, 2024 05:14
08ec587
to
68f40c8
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
March 25, 2024 04:11
cdadcae
to
fa702c2
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
April 1, 2024 03:07
fa702c2
to
54eb90b
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
April 8, 2024 04:16
54eb90b
to
2fc78fd
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
April 15, 2024 05:04
2fc78fd
to
32bde23
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
May 18, 2024 17:45
32bde23
to
321d320
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
5 times, most recently
from
June 11, 2024 06:02
7e5ad35
to
00d7479
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
June 17, 2024 04:13
00d7479
to
dd6ad56
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
June 24, 2024 06:08
abac31c
to
da19456
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
July 8, 2024 04:21
224c043
to
bb66816
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
3 times, most recently
from
July 29, 2024 03:20
f2b54d5
to
bc3d067
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
August 5, 2024 03:03
bc3d067
to
0ab2451
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
August 19, 2024 03:48
54760bb
to
4685e8e
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
3 times, most recently
from
August 26, 2024 03:44
d143a3a
to
b9687c3
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
September 2, 2024 03:04
b9687c3
to
c3de9bb
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
2 times, most recently
from
September 16, 2024 03:35
4bdb2a3
to
9e83f6d
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
3 times, most recently
from
October 5, 2024 00:15
2ccd1ee
to
3657e7c
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
3 times, most recently
from
October 15, 2024 23:14
5a135c5
to
03a9cb6
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
October 21, 2024 03:41
03a9cb6
to
9f929d3
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
3 times, most recently
from
November 4, 2024 04:41
285cd35
to
7fe1267
Compare
renovate
bot
force-pushed
the
renovate/got-14.x
branch
from
November 4, 2024 14:54
7fe1267
to
8f66bac
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.8.6
->14.4.4
Release Notes
sindresorhus/got (got)
v14.4.4
Compare Source
v14.4.3
Compare Source
f2f8cb2
v14.4.2
Compare Source
f44ef43
v14.4.1
Compare Source
dfc54d9
v14.4.0
Compare Source
15ca4a0
v14.3.0
Compare Source
dbab6c3
v14.2.1
Compare Source
c81a611
v14.2.0
Compare Source
cause
property with the original error toRequestError
(#2327)4cbd01d
v14.1.0
Compare Source
RequestError
response (#2325)5e4f6ff
v14.0.0
Compare Source
Breaking
a004263
Improvements
followRedirect
option accept a function (#2306)7c3f147
v13.0.0
Compare Source
As a reminder, Got continues to require ESM. For TypeScript users, this includes having
"module": "node16", "moduleResolution": "node16"
in your tsconfig.Breaking
52a1063
enableUnixSockets
option to befalse
by default852c312
Improvements
undefined
for options (#2258)1cefe8b
v12.6.1
Compare Source
get-stream
import statement (#2266)67d5039
v12.6.0
Compare Source
88c88fb
979272e
0ca0b7f
v12.5.3
Compare Source
3cc40b5
v12.5.2
Compare Source
39f83b6
v12.5.1
Compare Source
3b3ea67
3e9d3af
v12.5.0
Compare Source
e049e94
8630815
f0ac0b3
4c3762a
v12.4.1
Compare Source
Fixes
options.context
being not extensibleb671480
uploadProgress
after promise cancelation693de21
v12.4.0
Compare Source
Improvements
850773c
Fixes
beforeError
hooks withHTTPError
if thethrowHttpErrors
option isfalse
(#2104)3927348
v12.3.1
Compare Source
43b1467
v12.3.0
Compare Source
.off()
method for events (#2092)88056be
v12.2.0
Compare Source
AbortController
(#2020)6a6d2a9
enableUnixSockets
option (#2062)461b3d4
v12.1.0
Compare Source
Improvements
response.ok
(#2043)22d58fb
{throwHttpErrors: false}
Fixes
861ccd9
v12.0.4
Compare Source
bb8eca9
v12.0.3
Compare Source
json
option (#2015)eb045bf
v12.0.2
Compare Source
encoding
option with{responseType: 'json'}
(#1996)0703318
v12.0.1
Compare Source
nock
compatibility (#1959)bf39d2c
Request
TypeScript type (#1940)0f9f2b8
v12.0.0
Compare Source
Introducing Got v12.0.0 🎉
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to sponsor the Got maintainers.
This package is now pure ESM
Please read this. Also see https://github.com/sindresorhus/got/issues/1789.
[ERR_REQUIRE_ESM]
andMust use import to load ES Module
errors. This is a problem with your setup, not Got.Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to v14 LTS.
HTTP/2 support
Every Node.js release, the native
http2
module gets more stable.Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the
http2
option.To run HTTP/2 requests, it is required to use Node.js v15.10 or above.
Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
49c16ee
content-length
on ReadStream (#1510)472b8ef
ff918fb
1107cc6
methodRewriting
option51d88a0
url
not being reused on retry in rare case (#1487)462bc63
a59fac4
77df9c3
62305d7
06a2d3d
1e1e506
response.complete
when using cache9e15d88
Cannot call end
error whenrequest
returns aWritable
226cc39
3c23eea
3c23eea
got.paginate does not call init hooks
(#1574)3c23eea
https
module (#1567)3c23eea
9ecc5ee
searchParams
(#1814)1018c20
732e9bd
2453e5e
439fb82
eda69ff
username
andpassword
encoding in URL (#1169 #1317)d65d0ca
1c4cefc
afterResponse
return checkcbc8902
https.alpnProtocols
not having an effecte1099fb
Improvements
context
option mergeable (#1459)2b8ed1f
6fc04a9
e943672
(blocked by https://github.com/nodejs/node/issues/35923)2675046
1120370
4f21eb3
retry.backoffLimit
option41c4136
noise
retry optione830077
83575d5
fe723a0
(thanks @Giotino)error.code
f27e8d3
options.url
even if some options are invalid8d6a680
2db5ec5
854430f
3df52f3
once
types for Stream API3c23eea
RetryError
which always triggers a new retry when thrown3c23eea
error.options
is now enumerable3c23eea
defaults.handlers
don't need a default handler now3c23eea
Link
header3c23eea
a5dd9aa
Breaking changes
Improved option normalization
Option
class that is specifically designed to parse and validate Got options.It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use
error.options
.init
hook now accepts a second argument:self
, which points to anOptions
instance.In order to define your own options, you have to move them to
options.context
in aninit
hook or store them inoptions.context
directly.init
hooks are ran only when passing an options object explicitly.options.merge()
replacedgot.mergeOptions
andRequest.normalizeArguments
This fixes issues like #1450
Url
instances are not supported anymore. You need to use WHATWG URL instead.dnsLookupIpVersion
is now a number (4 or 6) or undefinedredirectUrls
andrequestUrl
now give URL instancesrequest.aborted
torequest.isAborted
Reason: consistency with
options.isStream
.lookup
option todnsLookup
beforeRetry
hook now accepts only two arguments:error
andretryCount
The
options
argument has been removed, however it's still accessible viaerror.options
. All modifications onerror.options
will be reflected in the next requests (no behavior change, same as with Got 11).beforeRedirect
hook's first argument (options) is now a cloned instance of the Request options.This was done to make retrieving the original options possible:
plainResponse.request.options
.redirect
event now takes two arguments in this order:updatedOptions
andplainResponse
.Reason: consistency with the
beforeRedirect
hook.socketPath
option has been removed. Use theunix:
protocol instead.retryWithMergedOptions
function in anafterResponse
hook no longer returns aPromise
.It now throws
RetryError
, so this should this should be the last function being executed.This was done to allow
beforeRetry
hooks getting called.options.agent
tofalse
.To do so, you need to define all the
options.agent
properties:http
,https
andhttp2
.url
option when paginating, it now needs to be an absolute URL - theprefixUrl
option is always reset from now on. The same when retrying in anafterResponse
hook.There was confusion around the
prefixUrl
option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then theprefixUrl
would end up duplicated. In order to fix this, Got now requires an absolute URL - noprefixUrl
will be applied.got.extend(…)
will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the optionDocumentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it ❤️
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.