-
Notifications
You must be signed in to change notification settings - Fork 2k
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 superagent to v5 #33324
Conversation
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
03456ac
to
9013354
Compare
62532d5
to
5f61b49
Compare
5f61b49
to
43f6bfd
Compare
43f6bfd
to
b86b8af
Compare
b86b8af
to
8c22e44
Compare
@sgomes would you mind taking this for a spin? You're more familiar with how we use superagent than I am. |
I removed all of the usage I was familiar with! 😄 What's left is server-side usage only. I'll take a look and see what I can find! |
@blowery Looks like we're going to have duplicate versions of |
8c22e44
to
5265502
Compare
939de5d
to
4171d9c
Compare
4171d9c
to
01b7585
Compare
01b7585
to
03a3a53
Compare
03a3a53
to
be841c8
Compare
be841c8
to
88acddd
Compare
88acddd
to
07edff0
Compare
This is ready for a re-review. |
Note: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we tested that things work correctly after this change? Looking at version release notes, I see a few possible breaking changes when going from v3 to v4:
.end(…)
returns undefined instead of the request.- In Node, responses with unknown MIME type are buffered by default.
With v5, it looks like the authors decided it wasn't worth it to write proper release notes, so it's harder to tell where the breaking changes are 😬
07edff0
to
6dea576
Compare
6dea576
to
e22350c
Compare
e22350c
to
1f758a9
Compare
1f758a9
to
fe01650
Compare
This PR contains the following updates:
3.8.3
->5.1.0
Release Notes
visionmedia/superagent
v5.1.0
Compare Source
e652b8c
v5.0.9
Compare Source
2e5d6fd
v5.0.8
Compare Source
28e7101
v5.0.6
Compare Source
a3f75ed
7942c2d
v5.0.5
Compare Source
fcf6cff
v5.0.4
Compare Source
7d0ea4b
251a1cb
2d81605
v5.0.3
Compare Source
14acecd
fe8d902
804c35c
v5.0.2
Compare Source
ccc7f56
v4.1.0
Compare Source
.connect()
IP/DNS override option (Kornel).trustLocalhost()
option for allowing broken HTTPS onlocalhost
.abort()
used with promises rejects the promise.v4.0.0
Compare Source
Breaking changes
.end(…)
returnsundefined
instead of the request. If you need the request object after calling.end()
(and you probably don't), save it in a variable and callrequest.end(…)
. Consider not using.end()
at all, and migrating to promises by calling.then()
instead..buffer(false)
to requests or setsuperagent.buffer[yourMimeType] = false
..pipe()
throw.Minor changes
req.abort().end()
is called.end()
promise on all error events (Kornel Lesiński)https.servername
from theHost
header (Kornel Lesiński)response.buffered
is more accurate.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.