Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

fix(deps): update dependency superagent to v5 #20

Merged
merged 2 commits into from Jun 26, 2019

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 22, 2019

This PR contains the following updates:

Package Type Update Change
superagent dependencies major 3.8.3 -> 5.1.0

Release Notes

visionmedia/superagent

v5.1.0

Compare Source

v5.0.9

Compare Source

  • feat: added fast-safe-stringify instead of JSON.stringify (closes #​1464) 2e5d6fd

v5.0.8

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

  • fix: remove redundant defs, bump deps fcf6cff

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v4.1.0

Compare Source

  • .connect() IP/DNS override option (Kornel)
  • .trustLocalhost() option for allowing broken HTTPS on localhost
  • .abort() used with promises rejects the promise.

v4.0.0

Compare Source

Breaking changes

  • Node.js v4 has reached it's end of life, so we no longer support it. It's v6+ or later. We recommend Node.js 10.
  • We now use ES6 in the browser code, too.
    • If you're using Browserify or Webpack to package code for Internet Explorer, you will also have to use Babel.
    • The pre-built node_modules/superagent.js is still ES5-compatible.
  • .end(…) returns undefined instead of the request. If you need the request object after calling .end() (and you probably don't), save it in a variable and call request.end(…). Consider not using .end() at all, and migrating to promises by calling .then() instead.
  • In Node, responses with unknown MIME type are buffered by default. To get old behavior, if you use custom unbuffered parsers, add .buffer(false) to requests or set superagent.buffer[yourMimeType] = false.
  • Invalid uses of .pipe() throw.

Minor changes

  • Throw if req.abort().end() is called
  • Throw if using unsupported mix of send and field
  • Reject .end() promise on all error events (Kornel Lesiński)
  • Set https.servername from the Host header (Kornel Lesiński)
  • Leave backticks unencoded in query strings where possible (Ethan Resnick)
  • Update node-mime to 2.x (Alexey Kucherenko)
  • Allow default buffer settings based on response-type (shrey)
  • response.buffered is more accurate.

Renovate configuration

📅 Schedule: "every weekend" in timezone America/New_York.

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 26, 2019

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.857% when pulling 29e11a7 on renovate/superagent-5.x into 2b74402 on master.

@bahmutov bahmutov merged commit a1e0e7a into master Jun 26, 2019
@renovate renovate bot deleted the renovate/superagent-5.x branch June 26, 2019 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants