Comparing version 5.1.0-rc.1 to 5.1.0
{ | ||
"name": "wait-on", | ||
"description": "wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available", | ||
"version": "5.1.0-rc.1", | ||
"version": "5.1.0", | ||
"main": "lib/wait-on", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -162,2 +162,3 @@ # wait-on - wait for files, ports, sockets, http(s) resources | ||
interval: 100, // poll interval in ms, default 250ms | ||
simultaneous: 1, // limit to 1 connection per resource at a time | ||
timeout: 30000, // timeout in ms, default Infinity | ||
@@ -236,2 +237,3 @@ tcpTimeout: 1000, // tcp timeout in ms, default 300ms | ||
- opts.reverse - optional flag to reverse operation so checks are for resources being NOT available, default false | ||
- opts.simultaneous - optional count to limit concurrent connections per resource at a time, setting to 1 waits for previous connection to succeed, fail, or timeout before sending another, default infinity | ||
- opts.timeout - optional timeout in ms, default Infinity. Aborts with error. | ||
@@ -247,7 +249,21 @@ - opts.tcpTimeout - optional tcp timeout in ms, default 300ms | ||
- opts.passphrase: 'yourpassphrase', | ||
- opts.auth: { user, pass } | ||
- opts.strictSSL: false, | ||
- opts.followRedirect: false, // defaults to true | ||
- opts.headers: { 'x-custom': 'headers' }, | ||
- opts.proxy: undefined, false, or object as defined in axios. Default is undefined. If not set axios detects proxy from env vars http_proxy and https_proxy. https://github.com/axios/axios#config-defaults | ||
```js | ||
// example proxy object | ||
{ | ||
host: '127.0.0.1', | ||
port: 9000, | ||
auth: { | ||
username: 'mikeymike', | ||
password: 'rapunz3l' | ||
} | ||
} | ||
``` | ||
- opts.auth: { user, pass } | ||
- opts.strictSSL: false, | ||
- opts.followRedirect: false, // defaults to true | ||
- opts.headers: { 'x-custom': 'headers' }, | ||
- cb(err) - if err is provided then, resource checks did not succeed | ||
@@ -254,0 +270,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
34011
1
296