Comparing version 7.2.0 to 8.0.0
@@ -31,4 +31,4 @@ Usage: wait-on {OPTIONS} resource [...resource] | ||
For http over socket, use http://unix:SOCK_PATH:URL_PATH | ||
like http://unix:/path/to/sock:/foo/bar or | ||
http-get://unix:/path/to/sock:/foo/bar | ||
like http://unix:/path/to/sock:http://server/foo/bar or | ||
http-get://unix:/path/to/sock:http://server/foo/bar | ||
@@ -35,0 +35,0 @@ Standard Options: |
@@ -23,3 +23,3 @@ 'use strict'; | ||
const HTTP_GET_RE = /^https?-get:/; | ||
const HTTP_UNIX_RE = /^http:\/\/unix:([^:]+):([^:]+)$/; | ||
const HTTP_UNIX_RE = /^http:\/\/unix:([^:]+):(.+)$/; | ||
const TIMEOUT_ERR_MSG = 'Timed out waiting for'; | ||
@@ -26,0 +26,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": "7.2.0", | ||
"version": "8.0.0", | ||
"main": "lib/wait-on", | ||
@@ -28,6 +28,6 @@ "bin": { | ||
"eslint": "^8.52.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-plugin-chai-friendly": "^0.7.2", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-n": "^16.2.0", | ||
@@ -38,8 +38,8 @@ "eslint-plugin-node": "^11.1.0", | ||
"mkdirp": "^1.0.4", | ||
"mocha": "^10.2.0", | ||
"mocha": "^10.7.3", | ||
"temp": "^0.9.4" | ||
}, | ||
"dependencies": { | ||
"axios": "^1.6.1", | ||
"joi": "^17.11.0", | ||
"axios": "^1.7.4", | ||
"joi": "^17.13.3", | ||
"lodash": "^4.17.21", | ||
@@ -46,0 +46,0 @@ "minimist": "^1.2.8", |
@@ -48,4 +48,4 @@ # wait-on - wait for files, ports, sockets, http(s) resources | ||
wait-on socket:/path/mysock # wait for service to listen on domain socket | ||
wait-on http://unix:/var/SOCKPATH:/a/foo # wait for http HEAD on domain socket | ||
wait-on http-get://unix:/var/SOCKPATH:/a/foo # wait for http GET on domain socket | ||
wait-on http://unix:/var/SOCKPATH:http://server/a/foo # wait for http HEAD on domain socket | ||
wait-on http-get://unix:/var/SOCKPATH:http://server/a/foo # wait for http GET on domain socket | ||
``` | ||
@@ -85,4 +85,4 @@ | ||
For http over socket, use http://unix:SOCK_PATH:URL_PATH | ||
like http://unix:/path/to/sock:/foo/bar or | ||
http-get://unix:/path/to/sock:/foo/bar | ||
like http://unix:/path/to/sock:http://server/foo/bar or | ||
http-get://unix:/path/to/sock:http://server/foo/bar | ||
@@ -168,4 +168,4 @@ Standard Options: | ||
'socket:/my/sock', | ||
'http://unix:/my/sock:/my/url', | ||
'http-get://unix:/my/sock:/my/url' | ||
'http://unix:/my/sock:http://server/my/url', | ||
'http-get://unix:/my/sock:http://server/my/url' | ||
], | ||
@@ -172,0 +172,0 @@ delay: 1000, // initial delay in ms, default 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
35769
Updatedaxios@^1.7.4
Updatedjoi@^17.13.3