Release notes
*Sourced from [superagent's releases](https://github.com/visionmedia/superagent/releases).*
> ## v3.8.3
>
> * 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)
>
> ## v3.8.2
>
> * Fixed handling of exceptions thrown from callbacks
> * Stricter matching of `+json` MIME types.
>
> ## v3.8.1
>
> * Clear authorization header on cross-domain redirect
>
> ## v3.8.0
>
> * Added support for "globally" defined headers and event handlers via `superagent.agent()`. It now remembers default settings for all its requests.
> * Added optional callback to `.retry()` (Alexander Murphy)
> * Unified auth args handling in node/browser (Edmundo Alvarez)
> * Fixed error handling in zlib pipes (Kornel)
> * Documented that 3xx status codes are errors (Mickey Reiss)
>
> ## v3.7.0
>
> * Limit maximum response size. Prevents zip bombs (Kornel)
> * Catch and pass along errors in `.ok()` callback (Jeremy Ruppel)
> * Fixed parsing of XHR headers without a newline (nsf)
>
> ## v3.6.2
>
> * Upgrade MIME type dependency to a newer, secure version
> * Recognize PDF MIME as binary
> * Fix for error in subsequent require() calls (Steven de Salas)
>
> ## v3.6.0
>
> * Support disabling `TCP_NODELAY` option ([#1240](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1240)) (xiamengyu)
> * Send payload in query string for GET and HEAD shorthand API (Peter Lyons)
> * Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited))
> * Documentation improvements (Peter Lyons)
> * Fixed duplicated query string params ([#1200](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1200)) (Kornel)
>
> ## v3.5.1
>
> * Allow crossDomain errors to be retried ([#1194](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1194)) (Michael Olson)
> * Read responseType property from the correct object (Julien Dupouy)
> * Check for ownProperty before adding header (Lucas Vieira)
Changelog
*Sourced from [superagent's changelog](https://github.com/visionmedia/superagent/blob/master/HISTORY.md).*
> # 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
>
> # 3.8.0
>
> * Added support for "globally" defined headers and event handlers via `superagent.agent()`. It now remembers default settings for all its requests.
> * Added optional callback to `.retry()` (Alexander Murphy)
> * Unified auth args handling in node/browser (Edmundo Alvarez)
> * Fixed error handling in zlib pipes (Kornel)
> * Documented that 3xx status codes are errors (Mickey Reiss)
>
> # 3.7.0 (2017-10-17)
>
> * Limit maximum response size. Prevents zip bombs (Kornel)
> * Catch and pass along errors in `.ok()` callback (Jeremy Ruppel)
> * Fixed parsing of XHR headers without a newline (nsf)
>
> # 3.6.2 (2017-10-02)
>
> * Upgrade MIME type dependency to a newer, secure version
> * Recognize PDF MIME as binary
> * Fix for error in subsequent require() calls (Steven de Salas)
>
> # 3.6.0 (2017-08-20)
>
> * Support disabling TCP_NODELAY option ([#1240](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1240)) (xiamengyu)
> * Send payload in query string for GET and HEAD shorthand API (Peter Lyons)
> * Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited))
> * Documentation improvements (Peter Lyons)
> * Fixed duplicated query string params ([#1200](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1200)) (Kornel)
>
> # 3.5.1 (2017-03-18)
>
> * Allow crossDomain errors to be retried ([#1194](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1194)) (Michael Olson)
> * Read responseType property from the correct object (Julien Dupouy)
> * Check for ownProperty before adding header (Lucas Vieira)
Commits
- [`295dfcd`](https://github.com/visionmedia/superagent/commit/295dfcdacedd45e43a22d250bcaac6bf3d0a9229) Bump
- [`c2f65c6`](https://github.com/visionmedia/superagent/commit/c2f65c665cf1738c5ed8f31c9d255f0a0afa70b2) Lock marked version due to bug
- [`75d1ca0`](https://github.com/visionmedia/superagent/commit/75d1ca0751543a3413a5a1b390a8eb74d876f116) Fix [#1366](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1366) docs
- [`bf1a87a`](https://github.com/visionmedia/superagent/commit/bf1a87ab7556c6a5c22e2bd9ce27f9871cae5e59) Merge pull request [#1360](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1360) from itsfadnis/flags_for_201_and_422
- [`386f702`](https://github.com/visionmedia/superagent/commit/386f7021e836f415d69e061ef30bd88385e0f3ed) Add flags for 201 & 422 responses
- [`d70933c`](https://github.com/visionmedia/superagent/commit/d70933ce585c08451cb571d4f9acb58dbb451549) Make GitHub happy
- [`b176c0e`](https://github.com/visionmedia/superagent/commit/b176c0e953dd27233e965a1cbe774fecf3e584fd) Be super clear piping in superagent breaks everything else
- [`336b51e`](https://github.com/visionmedia/superagent/commit/336b51e8f87d937d81f59703cdd70bee701214e7) Merge pull request [#1351](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1351) from jedwards1211/patch-2
- [`038bd46`](https://github.com/visionmedia/superagent/commit/038bd464d80c5991c16326b7b9c8d1ad308faf8a) file => field
- [`a6fc595`](https://github.com/visionmedia/superagent/commit/a6fc5959c725814f075afcbeb40941ad89be2804) typo fix
- Additional commits viewable in [compare view](https://github.com/visionmedia/superagent/compare/v3.5.0...v3.8.3)
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/segmentio/daydream/network/alerts).
Bumps superagent from 3.5.0 to 3.8.3.
Release notes
*Sourced from [superagent's releases](https://github.com/visionmedia/superagent/releases).* > ## v3.8.3 > > * 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) > > ## v3.8.2 > > * Fixed handling of exceptions thrown from callbacks > * Stricter matching of `+json` MIME types. > > ## v3.8.1 > > * Clear authorization header on cross-domain redirect > > ## v3.8.0 > > * Added support for "globally" defined headers and event handlers via `superagent.agent()`. It now remembers default settings for all its requests. > * Added optional callback to `.retry()` (Alexander Murphy) > * Unified auth args handling in node/browser (Edmundo Alvarez) > * Fixed error handling in zlib pipes (Kornel) > * Documented that 3xx status codes are errors (Mickey Reiss) > > ## v3.7.0 > > * Limit maximum response size. Prevents zip bombs (Kornel) > * Catch and pass along errors in `.ok()` callback (Jeremy Ruppel) > * Fixed parsing of XHR headers without a newline (nsf) > > ## v3.6.2 > > * Upgrade MIME type dependency to a newer, secure version > * Recognize PDF MIME as binary > * Fix for error in subsequent require() calls (Steven de Salas) > > ## v3.6.0 > > * Support disabling `TCP_NODELAY` option ([#1240](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1240)) (xiamengyu) > * Send payload in query string for GET and HEAD shorthand API (Peter Lyons) > * Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited)) > * Documentation improvements (Peter Lyons) > * Fixed duplicated query string params ([#1200](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1200)) (Kornel) > > ## v3.5.1 > > * Allow crossDomain errors to be retried ([#1194](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1194)) (Michael Olson) > * Read responseType property from the correct object (Julien Dupouy) > * Check for ownProperty before adding header (Lucas Vieira)Changelog
*Sourced from [superagent's changelog](https://github.com/visionmedia/superagent/blob/master/HISTORY.md).* > # 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 > > # 3.8.0 > > * Added support for "globally" defined headers and event handlers via `superagent.agent()`. It now remembers default settings for all its requests. > * Added optional callback to `.retry()` (Alexander Murphy) > * Unified auth args handling in node/browser (Edmundo Alvarez) > * Fixed error handling in zlib pipes (Kornel) > * Documented that 3xx status codes are errors (Mickey Reiss) > > # 3.7.0 (2017-10-17) > > * Limit maximum response size. Prevents zip bombs (Kornel) > * Catch and pass along errors in `.ok()` callback (Jeremy Ruppel) > * Fixed parsing of XHR headers without a newline (nsf) > > # 3.6.2 (2017-10-02) > > * Upgrade MIME type dependency to a newer, secure version > * Recognize PDF MIME as binary > * Fix for error in subsequent require() calls (Steven de Salas) > > # 3.6.0 (2017-08-20) > > * Support disabling TCP_NODELAY option ([#1240](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1240)) (xiamengyu) > * Send payload in query string for GET and HEAD shorthand API (Peter Lyons) > * Support passphrase with pfx certificate (Paul Westerdale (ABRS Limited)) > * Documentation improvements (Peter Lyons) > * Fixed duplicated query string params ([#1200](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1200)) (Kornel) > > # 3.5.1 (2017-03-18) > > * Allow crossDomain errors to be retried ([#1194](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1194)) (Michael Olson) > * Read responseType property from the correct object (Julien Dupouy) > * Check for ownProperty before adding header (Lucas Vieira)Commits
- [`295dfcd`](https://github.com/visionmedia/superagent/commit/295dfcdacedd45e43a22d250bcaac6bf3d0a9229) Bump - [`c2f65c6`](https://github.com/visionmedia/superagent/commit/c2f65c665cf1738c5ed8f31c9d255f0a0afa70b2) Lock marked version due to bug - [`75d1ca0`](https://github.com/visionmedia/superagent/commit/75d1ca0751543a3413a5a1b390a8eb74d876f116) Fix [#1366](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1366) docs - [`bf1a87a`](https://github.com/visionmedia/superagent/commit/bf1a87ab7556c6a5c22e2bd9ce27f9871cae5e59) Merge pull request [#1360](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1360) from itsfadnis/flags_for_201_and_422 - [`386f702`](https://github.com/visionmedia/superagent/commit/386f7021e836f415d69e061ef30bd88385e0f3ed) Add flags for 201 & 422 responses - [`d70933c`](https://github.com/visionmedia/superagent/commit/d70933ce585c08451cb571d4f9acb58dbb451549) Make GitHub happy - [`b176c0e`](https://github.com/visionmedia/superagent/commit/b176c0e953dd27233e965a1cbe774fecf3e584fd) Be super clear piping in superagent breaks everything else - [`336b51e`](https://github.com/visionmedia/superagent/commit/336b51e8f87d937d81f59703cdd70bee701214e7) Merge pull request [#1351](https://github-redirect.dependabot.com/visionmedia/superagent/issues/1351) from jedwards1211/patch-2 - [`038bd46`](https://github.com/visionmedia/superagent/commit/038bd464d80c5991c16326b7b9c8d1ad308faf8a) file => field - [`a6fc595`](https://github.com/visionmedia/superagent/commit/a6fc5959c725814f075afcbeb40941ad89be2804) typo fix - Additional commits viewable in [compare view](https://github.com/visionmedia/superagent/compare/v3.5.0...v3.8.3)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/segmentio/daydream/network/alerts).