chihu2
chihu2 copied to clipboard
Bump superagent from 1.8.5 to 5.3.1 in /plugins/code-push
Bumps superagent from 1.8.5 to 5.3.1.
Release notes
Sourced from superagent's releases.
v5.3.1
- Revert "fix: allow unset to prevent some defaults (#1560)" b411b66
https://github.com/visionmedia/superagent/compare/v5.3.0...v5.3.1
v5.3.0
- chore: bump deps 5f7f7ff
- fix: fixed package.json version per #1564 c067457
- feature: Support port overrides in connect() (#1564) 7a25f3e
- fix: ensure node retries happen when using .then syntax (#1487) (#1543) 77bcb11
- fix: allow unset to prevent some defaults (#1560) afd20c1
- fix: attach cookies to agent after plugin is used (#1556) 4babc5d
- fix: a typo in docs (#1549) 5d729bb
https://github.com/visionmedia/superagent/compare/v5.2.2...v5.3.0
v5.2.2
- Fix URI encoding (#1539) c7a10e2
- Revert "feat: add secure cookie override to agent" (#1537) 40424e6
- feat: add secure cookie override to agent (#1515) 737697f
https://github.com/visionmedia/superagent/compare/v5.2.1...v5.2.2
v5.2.1
- fix: fixed .buffer prototype in client issue (closes #1517) 639ce2c
https://github.com/visionmedia/superagent/compare/v5.2.0...v5.2.1
v5.2.0
- Check res.text as well to return a better error txt message (#1534) d957c81
https://github.com/visionmedia/superagent/compare/v5.1.4...v5.2.0
v5.1.4
- fix: throw timeout error in promise interface when timedout (#1510) 56ce517
https://github.com/visionmedia/superagent/compare/v5.1.3...v5.1.4
v5.1.3
- fix: fixed support for NODE_TLS_REJECT_UNAUTHORIZED (per #1511) 2377e62
https://github.com/visionmedia/superagent/compare/v5.1.2...v5.1.3
v5.1.2
- fix: fixed linting, fixed deprecation warning in tests 7d70a75
- Use
res.getHeaders()to avoid deprecation warning (#1503) 8dc8b91https://github.com/visionmedia/superagent/compare/v5.1.1...v5.1.2
v5.1.0
Changelog
Sourced from superagent's changelog.
This HISTORY log is deprecated
Please see GitHub releases page for the current changelog.
4.1.0 (2018-12-26)
.connect()IP/DNS override option (Kornel).trustLocalhost()option for allowing broken HTTPS onlocalhost.abort()used with promises rejects the promise.4.0.0 (2018-11-17)
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(…)returnsundefinedinstead 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.- 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 setsuperagent.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.servernamefrom theHostheader (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.bufferedis more accurate.3.8.3 (2018-04-29)
- Add flags for 201 & 422 responses (Nikhil Fadnis)
- Emit progress event while uploading Node
Buffervia send method (Sergey Akhalkov)- Fixed setting correct cookies for redirects (Damien Clark)
- Replace .catch with ['catch'] for IE9 Support (Miguel Stevens)
3.8.2 (2017-12-09)
- Fixed handling of exceptions thrown from callbacks
- Stricter matching of
+jsonMIME types.3.8.1 (2017-11-08)
- Clear authorization header on cross-domain redirect
Commits
- See full diff in compare view
Maintainer changes
This version was pushed to npm by niftylettuce, a new releaser for superagent since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.