[Doppins] Upgrade dependency superagent to ^2.3.0 #23
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.
Hi!
A new version was just released of
superagent
, so Doppinshas upgraded your project's dependency ranges.
Make sure that it doesn't break anything, and happy merging!
Upgraded superagent from
^1.2.0
to^2.1.0
Changelog:
Version 2.0.0
Breaking changes
Breaking changes are in rarely used functionality, so we hope upgrade will be smooth for most users.
.parse()
method has been renamed to.serialize()
to avoid inconsistency with NodeJS version (v1.8.3 supports.serialize()
too)'undefined'
, now their value is''
(empty string) (shura, Kornel Lesiński).redirect
event is called after new query string and headers have been set and is allowed to override the request URL (Kornel Lesiński).then()
returns a realPromise
. Note that use of superagent with promises now requires a globalPromise
object.If you target Internet Explorer or Node 0.10, you'll need
require('es6-promise').polyfill()
or similar.private
to have`_prefixed` names (Kornel Lesiński)Probably not breaking changes:
FormData
error events (scriptype)Version 2.1.0
.end()
callback don't cause the callback to be called twice (Kornel Lesiński)Version 2.0.0