build(deps): bump wait-on from 4.0.1 to 5.0.1 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Closed
Bumps wait-on from 4.0.1 to 5.0.1.
Release notes
Sourced from wait-on's releases.
v5.0.1
Force axios to use http adapter to keep logs clean if jest/jsdom are used with the wait-on API.
If jest/jsdom is used then a polyfill for xhr is created which will cause axios to default the adapter to it. Since jsdom logs all errors use of wait-on will have any failed attempts to connect logged which is rather noisy and misleading.
By forcing axios to use the node.js http adapter instead this problem is bypassed keeping logs clean.
v5.0.0 switch http client to axios, add validateStatus
Switch HTTP client from request to axios
Since the
request
package is no longer receiving updates, wait-on switched to usingaxios
. Attempt to keep the same wait-on options as much as possible.These breaking changes occurred in the switch:
- There is only one option for redirects
followRedirect: true|false
(defaults to true).httpSignature
is not implemented in axios and now not available. (If this feature is still desired, please help by providing a pull request to implement it.)auth
allows onlyusername
andpassword
but not the previous aliasesuser
andpass
add optional validateStatus fn property
If
validateStatus
property is provided in the config and set to a function, it will use this to validate whether a status is valid.The default validateStatus if not provided is
validateStatus: function (status) { return status >= 200 && status < 300; }
To also allow a 401 unauthorized as a valid status
validateStatus: function (status) { return status === 401 || (status >= 200 && status < 300); }
v5.0.0-rc.0 switch from request to axios
Since the
request
package is no longer receiving updates, wait-on switched to usingaxios
. Attempt to keep the same wait-on options as much as possible.These breaking changes occurred in the switch:
... (truncated)
- There is only one option for redirects
followRedirect: true|false
(defaults to true).httpSignature
is not implemented in axios and now not available. (If this feature is still desired, please help by providing a pull request to implement it.)auth
allows onlyusername
andpassword
but not the previous aliasesuser
andpass
Commits
-
958314a
5.0.1 -
35412e9
force axios to use http adapter -
3cf0b64
5.0.0 -
5414145
add node@14 to travis checks -
e547fa7
add optional validateStatus fn property -
e5ac27d
5.0.0-rc.0 -
26dcf9e
switch from request to axios for http(s) -
d0f5f86
4.0.2 -
9be5902
update outdated dependencies -
77bbf0e
update to minimist@1.2.5 - Additional commits viewable 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 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 close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 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 -
@dependabot badge me
will 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)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)