Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Update dependency superagent to v5 #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 28, 2019

This PR contains the following updates:

Package Type Update Change
superagent devDependencies 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: 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.


  • 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 renovate bot force-pushed the renovate/superagent-5.x branch 2 times, most recently from 32bee89 to b29ac54 Compare March 28, 2019 17:43
@renovate renovate bot force-pushed the renovate/superagent-5.x branch from b29ac54 to 41b50d7 Compare May 4, 2019 14:54
@renovate renovate bot force-pushed the renovate/superagent-5.x branch from 41b50d7 to 64fd2d4 Compare June 19, 2019 11:48
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.

1 participant