React-Native-Web-TypeScript-Prettier-Boilerplate
React-Native-Web-TypeScript-Prettier-Boilerplate copied to clipboard
Update dependency wait-on to v7
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| wait-on | ^3.2.0 -> ^7.0.0 |
Release Notes
jeffbski/wait-on (wait-on)
v7.2.0
Update axios from 0.27.2 to latest 1.6.1 which fixes security vulnerability CVE-2023-45857.
Thanks @AndrewMax for the PR #147 and also for those that confirmed it.
v7.1.0
Update dependencies.
Add ability to specify timeout, httpTimeout, and tcpTimeout with a unit (ms, m, s, h), defaults to ms if not specified. Thanks @ntkoopman
v7.0.1
Removed unnecessary eslint-plugin-standard. It was no longer needed since already included in another package.
v7.0.0
Updated dependencies:
- minimist
- eslint
- minimatch
- axios
- mocha
- rxjs
The update to latest mocha removed support for Node.js below 12.
v6.0.1
Updated minor dependencies to fix vulnerabilities
v6.0.0
Other than dropping support for Node.js v8 there should be no other breaking changes.
Node.js v8 was no longer supported by the yargs parser. Node.js v8 users should use v5.3.0
v5.3.0
Allow resources to be passed in via config file. Thanks @michaelmerrill for the PR.
Example config.js file with resources
module.exports = {
resources: ['http://localhost:8123', 'http://localhost:8123/foo'],
};
v5.2.2
Updated [email protected]
Updated lodash dependency to close vulnerability
v5.2.1
Update dependencies
v5.2.0
- expose the remaining resources in the timeout error message (thanks @jmealo)
- update from the deprecated
@hapi/joitojoi(thanks @AleF83)
v5.1.0
Add proxy option which can override the http(s) proxy which might be configured in environment variables.
- opts.proxy: undefined, false, or object as defined in axios. Default is undefined. If not set (undefined) axios detects proxy from env vars http_proxy and https_proxy. https://github.com/axios/axios#config-defaults
// example proxy object
{
host: '127.0.0.1',
port: 9000,
auth: {
username: 'mikeymike',
password: 'rapunz3l'
}
}
v5.0.3
update to [email protected]
v5.0.2
[email protected] update which resolved some potential lodash vulnerabilities
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 using axios. 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). httpSignatureis not implemented in axios and now not available. (If this feature is still desired, please help by providing a pull request to implement it.)authallows onlyusernameandpasswordbut not the previous aliasesuserandpass
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);
}
v4.0.2
Updated dependencies which closed security vulnerability in minimist and acorn.
v4.0.1
v4.0.0: - a fresh approach
Rewrite of the main code to simplify the logic and reduce possibility for race conditions. Bumped the major version do to the rewrite and also a minor change in how the stability window is used. In the new version the stability window only applies to file resources (waiting for them to exist and stop changing), for other resources they are completed as soon as available.
Also in the new logic, once a resource becomes available the system doesn't continue to check it, it only continues checking the pending resources.
Logging was improved and simplified.
-l/--logjust indicate what resources are still pending-v/--verboseincludes resources that are pending and debug info from checks
Updated many dependencies including rxjs, and joi. Removed core-js polyfill as no longer needed.
Added a -s / --simultaneous optional flag to the command. If provided it will limit the number of simultaneous or concurrent connections to an individual resource. It defaults to Infinity so it will make requests without caring about previous ones. If you were to set it to "1" then it wouldn't be sending new requests to http://foo before the previous one finished (success, failure, or timeout).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.