Update superagent to the latest version 🚀 #67
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.
The dependency superagent was updated from
3.8.3
to4.0.0
.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v4 = ES6 natively
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.Commits
The new version differs by 75 commits.
e94bb10
Bump
4ef086e
Better messaging around H2
7a6dc25
Bump
5e3632f
Merge pull request #1414 from sogaani/http2-with-node10
575ca5e
Add supporting HTTP/2 to Express
dc5b04f
Anytime close socket when call request.abort()
1d04d5d
Fix http2 request with node 10.
b08371c
Drop HTTP/2, as it doesn't work in Node 10 any more
9c7a97e
npm is annoying
5e757d1
Test H/2 only on Node 10
0b8b48f
Lag
ce41a40
Bump deps
b54d3ae
Lag-proof test
08a850d
Fix deprecated
070a0a2
Bump
There are 75 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴