Skip to content
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

Update superagent to the latest version 🚀 #103

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

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 17, 2018

The devDependency superagent was updated from 3.8.3 to 4.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

  • 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.
Commits

The new version differs by 75 commits.

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 🌴

greenkeeper bot added a commit that referenced this pull request Dec 26, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 26, 2018

  • The devDependency superagent was updated from 3.8.3 to 4.1.0.

Update to this version instead 🚀

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

The new version differs by 11 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 29, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.2.

Update to this version instead 🚀

Release Notes for v5.0.0
  • fix: removed core-js, fixed docs with async/await + then/catch usage f0bcdc0
  • Merge pull request #1473 from ladjs/master 2fd631a
  • docs: removed line regarding 8.8.1 being required d22ebd7
  • feat: modern rewrite and refactoring 47f1d28
  • Merge pull request #1468 from bajtos/fix/formdata-error 076e55a
  • Fix handling of FormData errors e6ffbde
  • History formatting 0f0949f
  • Merge pull request #1377 from eromano/master-2 f3ac20c
  • Maintenance status #1450 ad4c96f
  • clear timeout 100 percent e6630ec
  • change after review 03e5efa
  • add upload timeout 650b521

v4.1.0...v5.0.0

greenkeeper bot added a commit that referenced this pull request Mar 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 29, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 29, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.2.

Update to this version instead 🚀

Release Notes for v5.0.2
  • fix: fixed browser require for webpack (closes #1474) ccc7f56

v5.0.1...v5.0.2

greenkeeper bot added a commit that referenced this pull request Apr 25, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 25, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.3.

Update to this version instead 🚀

Release Notes for v5.0.3
  • fix: add browser compiled version to lib folder (#1470) 14acecd
  • Revert "Avoiding to set the "Content-Length" header for GET requests (#1460)" (#1477) fe8d902
  • Avoiding to set the "Content-Length" header for GET requests (#1460) 804c35c

v5.0.2...v5.0.3

greenkeeper bot added a commit that referenced this pull request Apr 28, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 28, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 29, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 29, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.5.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 6, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 6, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.6.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 11, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 11, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.7.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 12, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 12, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.8.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 14, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 14, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.0.9.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 15, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 15, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 21, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 21, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.1.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 1, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.1.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 20, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 20, 2019

  • The devDependency superagent was updated from 3.8.3 to 5.1.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jan 7, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 7, 2020

  • The devDependency superagent was updated from 3.8.3 to 5.2.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jan 7, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 17, 2020

  • The devDependency superagent was updated from 3.8.3 to 5.2.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants