Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.2.0
->^8.0.0
Release Notes
jeffbski/wait-on (wait-on)
v8.0.1
Compare Source
v8.0.0
: - breaking change for http unix socket useCompare Source
Updated for security vulnerabilities with axios@1.7.4 and braces.
Breaking change in using latest axios with a unix socket URL
As part of the axios update, the syntax for using a socket with an http URL in axios has changed so you must specify the protocol and server
For example:
http://unix:SOCKETPATH:http://server/foo/bar
instead of just using only the path (no protocol and no server)
http://unix:SOCKETPATH:/foo/bar
Due to this change, I have updated my tests, docs, bumped the major version.
v7.2.0
Compare Source
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
Compare Source
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
Compare Source
Removed unnecessary eslint-plugin-standard. It was no longer needed since already included in another package.
v7.0.0
Compare Source
Updated dependencies:
The update to latest mocha removed support for Node.js below 12.
v6.0.1
Compare Source
Updated minor dependencies to fix vulnerabilities
v6.0.0
Compare Source
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
Compare Source
Allow resources to be passed in via config file. Thanks @michaelmerrill for the PR.
Example config.js file with resources
v5.2.2
Compare Source
Updated lodash@4.17.21
Updated lodash dependency to close vulnerability
v5.2.1
Compare Source
Update dependencies
v5.2.0
Compare Source
@hapi/joi
tojoi
(thanks @AleF83)v5.1.0
Compare Source
Add proxy option which can override the http(s) proxy which might be configured in environment variables.
v5.0.3
Compare Source
update to lodash@4.17.19
v5.0.2
Compare Source
lodash@4.17.18 update which resolved some potential lodash vulnerabilities
v5.0.1
Compare Source
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 validateStatusCompare Source
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:
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 theconfig and set to a function, it will use this to
validate whether a status is valid.
The default validateStatus if not provided is
To also allow a 401 unauthorized as a valid status
v4.0.2
Compare Source
Updated dependencies which closed security vulnerability in minimist and acorn.
v4.0.1
Compare Source
v4.0.0
: - a fresh approachCompare Source
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
/--log
just indicate what resources are still pending-v
/--verbose
includes resources that are pending and debug info from checksUpdated 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).v3.3.0
Compare Source
Upgraded dependencies: #38, thanks @matijagaspar
Require Node Version +8.9.0: #33
Thanks to @valscion for summarizing the release notes.
Also thanks to @perry-mitchell for mentioning that this should have been a major release bump due to dropping support for Node 6. Node 6 users should use v3.2.0. In the future, I will bump major version when Node version support changes.
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.