dropzone
dropzone copied to clipboard
chore(deps): update superagent requirement from ^0.21.0 to ^4.1.0
Updates the requirements on superagent to permit the latest version.
Release notes
Sourced from superagent's releases.
IP overrides
.connect()IP/DNS override option (Kornel).trustLocalhost()option for allowing broken HTTPS onlocalhost.abort()used with promises rejects the promise.
Changelog
Sourced from superagent's 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
3.8.0
... (truncated)
- 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)
Commits
- See full diff in compare view
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 cancel mergewill cancel a previously requested merge@dependabot reopenwill reopen this PR if it is closed@dependabot ignore this [patch|minor|major] versionwill 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 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@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.