Release notes
*Sourced from [superagent's releases](https://github.com/visionmedia/superagent/releases).*
> ## v5.1.0
> - Disable setting default user-agent ([#1495](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1495)) e652b8c
>
> https://github.com/visionmedia/superagent/compare/v5.0.9...v5.1.0
>
> ## v5.0.9
> - feat: added fast-safe-stringify instead of JSON.stringify (closes [#1464](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1464)) 2e5d6fd
>
> https://github.com/visionmedia/superagent/compare/v5.0.8...v5.0.9
>
> ## v5.0.8
> - fix: removed @babel/transform-runtime (closes [#1494](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1494)) 28e7101
>
> https://github.com/visionmedia/superagent/compare/v5.0.7...v5.0.8
>
> ## v5.0.7
> - fix: switch browserify to use babelify as global transform, bump deps a44cca8
> - docs: fixed arrow function for example 0a822ab
>
> https://github.com/visionmedia/superagent/compare/v5.0.6...v5.0.7
>
> ## v5.0.6
> - feat: bump deps, fixed lint issues a3f75ed
> - fix: omit queries that are set to undefined ([#1486](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1486)) 7942c2d
>
> https://github.com/visionmedia/superagent/compare/v5.0.5...v5.0.6
>
> ## v5.0.5
> - fix: remove redundant defs, bump deps fcf6cff
>
> https://github.com/visionmedia/superagent/compare/v5.0.4...v5.0.5
>
> ## v5.0.4
> - Invalid redirect in pipe ([#1471](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1471)) 7d0ea4b
> - docs: fixed missing polyfill 251a1cb
> - fix: [amilajack/eslint-plugin-compat#224](https://github-redirect.dependabot.com/amilajack/eslint-plugin-compat/issues/224) 2d81605
>
> https://github.com/visionmedia/superagent/compare/v5.0.3...v5.0.4
>
> ## v5.0.3
> - fix: add browser compiled version to lib folder ([#1470](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1470)) 14acecd
> - Revert "Avoiding to set the "Content-Length" header for GET requests ([#1460](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1460))" ([#1477](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1477)) fe8d902
> - Avoiding to set the "Content-Length" header for GET requests ([#1460](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1460)) 804c35c
>
> https://github.com/visionmedia/superagent/compare/v5.0.2...v5.0.3
>
> ## v5.0.2
> - fix: fixed browser require for webpack (closes [#1474](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1474)) ccc7f56
>
> https://github.com/visionmedia/superagent/compare/v5.0.1...v5.0.2
> ... (truncated)
Changelog
*Sourced from [superagent's changelog](https://github.com/visionmedia/superagent/blob/master/HISTORY.md).*
> # This HISTORY log is deprecated
>
> Please see [GitHub releases page](https://github.com/visionmedia/superagent/releases) for the current changelog.
>
> # 4.1.0 (2018-12-26)
>
> * `.connect()` IP/DNS override option (Kornel)
> * `.trustLocalhost()` option for allowing broken HTTPS on `localhost`
> * `.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(…)` 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.
>
> # 3.8.3 (2018-04-29)
>
> * Add flags for 201 & 422 responses (Nikhil Fadnis)
> * Emit progress event while uploading Node `Buffer` via 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 `+json` MIME types.
>
> # 3.8.1 (2017-11-08)
>
> * Clear authorization header on cross-domain redirect
>
> ... (truncated)
Commits
- [`977f0ad`](https://github.com/visionmedia/superagent/commit/977f0ad88b2ccb02e2f448ac97538cde4f4ac571) v5.1.0
- [`e652b8c`](https://github.com/visionmedia/superagent/commit/e652b8cb5d2f9d6bb2ab3518762d5de64a30db13) Disable setting default user-agent ([#1495](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1495))
- [`483f816`](https://github.com/visionmedia/superagent/commit/483f8166f42a78c47c8116f3cfca7a7bd308d66c) v5.0.9
- [`2e5d6fd`](https://github.com/visionmedia/superagent/commit/2e5d6fdbe026c1934c0a0fbe2ec933a13b60af1a) feat: added fast-safe-stringify instead of JSON.stringify (closes [#1464](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1464))
- [`6dc3eaa`](https://github.com/visionmedia/superagent/commit/6dc3eaac01dd07ac8be078c34a227ee03ced6aa6) v5.0.8
- [`28e7101`](https://github.com/visionmedia/superagent/commit/28e7101fbf3d9ea4a32e59fed4909b77396b1fd2) fix: removed @babel/transform-runtime (closes [#1494](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1494))
- [`974ac02`](https://github.com/visionmedia/superagent/commit/974ac02b6a79492e7a27e989aaa98e76af41364b) v5.0.7
- [`a44cca8`](https://github.com/visionmedia/superagent/commit/a44cca8c0f215732a4e1bf0216dc074ce194c099) fix: switch browserify to use babelify as global transform, bump deps
- [`0a822ab`](https://github.com/visionmedia/superagent/commit/0a822ab1ac0af47b1c398c07b467303e28e83251) docs: fixed arrow function for example
- [`4dd96c0`](https://github.com/visionmedia/superagent/commit/4dd96c00108fdf3146da452df12f399e51ddd87a) v5.0.6
- Additional commits viewable in [compare view](https://github.com/visionmedia/superagent/compare/0.21.0...v5.1.0)
Maintainer changes
This version was pushed to npm by [niftylettuce](https://www.npmjs.com/~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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will 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](https://github.com/joyent/sdc-adminui/network/alerts).
Bumps superagent from 0.21.0 to 5.1.0.
Release notes
*Sourced from [superagent's releases](https://github.com/visionmedia/superagent/releases).* > ## v5.1.0 > - Disable setting default user-agent ([#1495](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1495)) e652b8c > > https://github.com/visionmedia/superagent/compare/v5.0.9...v5.1.0 > > ## v5.0.9 > - feat: added fast-safe-stringify instead of JSON.stringify (closes [#1464](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1464)) 2e5d6fd > > https://github.com/visionmedia/superagent/compare/v5.0.8...v5.0.9 > > ## v5.0.8 > - fix: removed @babel/transform-runtime (closes [#1494](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1494)) 28e7101 > > https://github.com/visionmedia/superagent/compare/v5.0.7...v5.0.8 > > ## v5.0.7 > - fix: switch browserify to use babelify as global transform, bump deps a44cca8 > - docs: fixed arrow function for example 0a822ab > > https://github.com/visionmedia/superagent/compare/v5.0.6...v5.0.7 > > ## v5.0.6 > - feat: bump deps, fixed lint issues a3f75ed > - fix: omit queries that are set to undefined ([#1486](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1486)) 7942c2d > > https://github.com/visionmedia/superagent/compare/v5.0.5...v5.0.6 > > ## v5.0.5 > - fix: remove redundant defs, bump deps fcf6cff > > https://github.com/visionmedia/superagent/compare/v5.0.4...v5.0.5 > > ## v5.0.4 > - Invalid redirect in pipe ([#1471](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1471)) 7d0ea4b > - docs: fixed missing polyfill 251a1cb > - fix: [amilajack/eslint-plugin-compat#224](https://github-redirect.dependabot.com/amilajack/eslint-plugin-compat/issues/224) 2d81605 > > https://github.com/visionmedia/superagent/compare/v5.0.3...v5.0.4 > > ## v5.0.3 > - fix: add browser compiled version to lib folder ([#1470](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1470)) 14acecd > - Revert "Avoiding to set the "Content-Length" header for GET requests ([#1460](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1460))" ([#1477](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1477)) fe8d902 > - Avoiding to set the "Content-Length" header for GET requests ([#1460](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1460)) 804c35c > > https://github.com/visionmedia/superagent/compare/v5.0.2...v5.0.3 > > ## v5.0.2 > - fix: fixed browser require for webpack (closes [#1474](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1474)) ccc7f56 > > https://github.com/visionmedia/superagent/compare/v5.0.1...v5.0.2 > ... (truncated)Changelog
*Sourced from [superagent's changelog](https://github.com/visionmedia/superagent/blob/master/HISTORY.md).* > # This HISTORY log is deprecated > > Please see [GitHub releases page](https://github.com/visionmedia/superagent/releases) for the current changelog. > > # 4.1.0 (2018-12-26) > > * `.connect()` IP/DNS override option (Kornel) > * `.trustLocalhost()` option for allowing broken HTTPS on `localhost` > * `.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(…)` 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. > > # 3.8.3 (2018-04-29) > > * Add flags for 201 & 422 responses (Nikhil Fadnis) > * Emit progress event while uploading Node `Buffer` via 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 `+json` MIME types. > > # 3.8.1 (2017-11-08) > > * Clear authorization header on cross-domain redirect > > ... (truncated)Commits
- [`977f0ad`](https://github.com/visionmedia/superagent/commit/977f0ad88b2ccb02e2f448ac97538cde4f4ac571) v5.1.0 - [`e652b8c`](https://github.com/visionmedia/superagent/commit/e652b8cb5d2f9d6bb2ab3518762d5de64a30db13) Disable setting default user-agent ([#1495](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1495)) - [`483f816`](https://github.com/visionmedia/superagent/commit/483f8166f42a78c47c8116f3cfca7a7bd308d66c) v5.0.9 - [`2e5d6fd`](https://github.com/visionmedia/superagent/commit/2e5d6fdbe026c1934c0a0fbe2ec933a13b60af1a) feat: added fast-safe-stringify instead of JSON.stringify (closes [#1464](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1464)) - [`6dc3eaa`](https://github.com/visionmedia/superagent/commit/6dc3eaac01dd07ac8be078c34a227ee03ced6aa6) v5.0.8 - [`28e7101`](https://github.com/visionmedia/superagent/commit/28e7101fbf3d9ea4a32e59fed4909b77396b1fd2) fix: removed @babel/transform-runtime (closes [#1494](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1494)) - [`974ac02`](https://github.com/visionmedia/superagent/commit/974ac02b6a79492e7a27e989aaa98e76af41364b) v5.0.7 - [`a44cca8`](https://github.com/visionmedia/superagent/commit/a44cca8c0f215732a4e1bf0216dc074ce194c099) fix: switch browserify to use babelify as global transform, bump deps - [`0a822ab`](https://github.com/visionmedia/superagent/commit/0a822ab1ac0af47b1c398c07b467303e28e83251) docs: fixed arrow function for example - [`4dd96c0`](https://github.com/visionmedia/superagent/commit/4dd96c00108fdf3146da452df12f399e51ddd87a) v5.0.6 - Additional commits viewable in [compare view](https://github.com/visionmedia/superagent/compare/0.21.0...v5.1.0)Maintainer changes
This version was pushed to npm by [niftylettuce](https://www.npmjs.com/~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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will 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](https://github.com/joyent/sdc-adminui/network/alerts).