Update npm install.

This commit is contained in:
jcamiel 2022-11-03 14:10:26 +01:00
parent d9534d8d2c
commit 0a07388b69
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
4 changed files with 81 additions and 69 deletions

View File

@ -1,4 +1,4 @@
.TH hurl 1 "13 Sep 2022" "hurl 1.7.0" " Hurl Manual"
.TH hurl 1 "24 Oct 2022" "hurl 1.8.0-SNAPSHOT" " Hurl Manual"
.SH NAME
hurl - run and test HTTP requests.
@ -104,7 +104,7 @@ More information on asserts can be found here \fIhttps://hurl.dev/docs/asserting
.SH OPTIONS
Options that exist in curl have exactly the same semantic.
Options that exist in curl have exactly the same semantics.
Options specified on the command line are defined for every Hurl file's entry.
@ -127,29 +127,29 @@ will follow a redirection only for the second entry.
.IP "--cacert "
Specifies the certificate file for peer verification. The file may contain multiple CA certificates and must be in PEM format.
Normally curl is built to use a default file for this, so this option is typically used to alter that default file.
Normally Hurl is built to use a default file for this, so this option is typically used to alter that default file.
.IP "--color "
Colorize Output
Colorize Output.
.IP "--compressed "
Request a compressed response using one of the algorithms br, gzip, deflate and automatically decompress the content.
.IP "--connect-timeout <seconds> "
.IP "--connect-timeout <SECONDS> "
Maximum time in seconds that you allow Hurl's connection to take.
See also \fI-m, --max-time\fP option.
.IP "-b, --cookie <file> "
.IP "-b, --cookie <FILE> "
Read cookies from file (using the Netscape cookie file format).
Read cookies from FILE (using the Netscape cookie file format).
Combined with \fI-c, --cookie-jar\fP, you can simulate a cookie storage between successive Hurl runs.
.IP "-c, --cookie-jar <file> "
.IP "-c, --cookie-jar <FILE> "
Write cookies to FILE after running the session (only for one session).
The file will be written using the Netscape cookie file format.
@ -165,16 +165,16 @@ Note that this option does not affect the behavior with multiple input Hurl file
All the input files are executed independently. The result of one file does not affect the execution of the other Hurl files.
.IP "--file-root <dir> "
.IP "--file-root <DIR> "
Set root filesystem to import files in Hurl. This is used for both files in multipart form data and request body.
Set root file system to import files in Hurl. This is used for both files in multipart form data and request body.
When this is not explicitly defined, the files are relative to the current directory in which Hurl is running.
.IP "-L, --location "
Follow redirect. To limit the amount of redirects to follow use the \fI--max-redirs\fP option
.IP "--glob <glob> "
.IP "--glob <GLOB> "
Specify input files that match the given glob pattern.
@ -202,12 +202,12 @@ This is similar to a break point, You can then continue (Press C) or quit (Press
Output each hurl file result to JSON. The format is very closed to HAR format.
.IP "--max-redirs <num> "
.IP "--max-redirs <NUM> "
Set maximum number of redirection-followings allowed
By default, the limit is set to 50 redirections. Set this option to -1 to make it unlimited.
.IP "-m, --max-time <seconds> "
.IP "-m, --max-time <SECONDS> "
Maximum time in seconds that you allow a request/response to take. This is the standard timeout.
@ -215,71 +215,71 @@ See also \fI--connect-timeout\fP option.
.IP "--no-color "
Do not colorize output
Do not colorize output.
.IP "--no-output "
Suppress output. By default, Hurl outputs the body of the last response.
.IP "--noproxy <no-proxy-list> "
.IP "--noproxy <HOST(S)> "
Comma-separated list of hosts which do not use a proxy.
Override value from Environment variable no_proxy.
.IP "-o, --output <file> "
.IP "-o, --output <FILE> "
Write output to <file> instead of stdout.
.IP "--progress "
Print filename and status for each test (on stderr)
Deprecated, use \fI--test\fP or \fI--json\fP instead.
Write output to FILE instead of stdout.
.IP "-x, --proxy [protocol://]host[:port] "
Use the specified proxy.
.IP "--report-junit <file> "
.IP "--report-junit <FILE> "
Generate JUNIT <file>.
Generate JUnit File.
If the <file> report already exists, it will be updated with the new test results.
If the FILE report already exists, it will be updated with the new test results.
.IP "--report-html <dir> "
.IP "--report-html <DIR> "
Generate HTML report in dir.
Generate HTML report in DIR.
If the HTML report already exists, it will be updated with the new test results.
.IP "--summary "
.IP "--retry "
Print test metrics at the end of the run (on stderr)
Retry requests if any error occurs (asserts, captures, runtimes etc...).
Deprecated, use \fI--test\fP or \fI--json\fP instead.
.IP "--retry-interval <MILLISECONDS> "
Duration in milliseconds between each retry. Default is 1000 ms.
.IP "--retry-max-count <NUM> "
Maximum number of retries. Set this option to -1 to make it unlimited. Default is 10.
.IP "--test "
Activate test mode: with this, the HTTP response is not outputted anymore, progress is reported for each Hurl file tested, and a text summary is displayed when all files have been run.
.IP "--to-entry <entry-number> "
.IP "--to-entry <ENTRY_NUMBER> "
Execute Hurl file to ENTRY_NUMBER (starting at 1).
Ignore the remaining of the file. It is useful for debugging a session.
.IP "-u, --user <user:password> "
.IP "-u, --user <USER:PASSWORD> "
Add basic Authentication header to each request.
.IP "-A, --user-agent <name> "
.IP "-A, --user-agent <NAME> "
Specify the User-Agent string to send to the HTTP server.
.IP "--variable <name=value> "
.IP "--variable <NAME=VALUE> "
Define variable (name/value) to be used in Hurl templates.
.IP "--variables-file <file> "
.IP "--variables-file <FILE> "
Set properties file in which your define your variables.
@ -296,13 +296,13 @@ A line starting with '>' means data sent by Hurl.
A line staring with '<' means data received by Hurl.
A line starting with '*' means additional info provided by Hurl.
If you only want HTTP headers in the output, -i, --include might be the option you're looking for.
If you only want HTTP headers in the output, \fI-i, --include\fP might be the option you're looking for.
.IP "--very-verbose "
Turn on more verbose output on standard error stream.
In contrast to \fI--verbose\fP option, this option outputs the full HTTP body request and response on standard error.
In contrast to \fI--verbose\fP option, this option outputs the full HTTP body request and response on standard error. In addition, lines starting with '**' are libcurl debug logs.
.IP "-h, --help "

View File

@ -1,4 +1,4 @@
.TH hurl 1 "13 Sep 2022" "hurl 1.7.0" " Hurl Manual"
.TH hurl 1 "24 Oct 2022" "hurl 1.8.0-SNAPSHOT" " Hurl Manual"
.SH NAME
hurlfmt - format Hurl files
@ -13,7 +13,7 @@ hurlfmt - format Hurl files
.SH DESCRIPTION
.B hurlfmt
formats Hurl files and converts to other formats.
formats Hurl files and converts them to other formats.
With no FILE, read standard input.

View File

@ -1,20 +1,20 @@
{
"name": "@orangeopensource/hurl",
"version": "1.7.0",
"version": "1.7.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@orangeopensource/hurl",
"version": "1.7.0",
"version": "1.7.1",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"axios": "0.27.2",
"axios": "1.1.3",
"console.table": "0.10.0",
"extract-zip": "2.0.1",
"rimraf": "3.0.2",
"tar": "6.1.11"
"tar": "6.1.12"
},
"bin": {
"hurl": "hurl.js",
@ -43,12 +43,13 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"node_modules/axios": {
"version": "0.27.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz",
"integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz",
"integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==",
"dependencies": {
"follow-redirects": "^1.14.9",
"form-data": "^4.0.0"
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
},
"node_modules/balanced-match": {
@ -194,9 +195,9 @@
}
},
"node_modules/follow-redirects": {
"version": "1.14.9",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz",
"integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==",
"version": "1.15.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
"funding": [
{
"type": "individual",
@ -378,6 +379,11 @@
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"node_modules/proxy-from-env": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
},
"node_modules/pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
@ -402,9 +408,9 @@
}
},
"node_modules/tar": {
"version": "6.1.11",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
"integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
"version": "6.1.12",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz",
"integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==",
"dependencies": {
"chownr": "^2.0.0",
"fs-minipass": "^2.0.0",
@ -414,7 +420,7 @@
"yallist": "^4.0.0"
},
"engines": {
"node": ">= 10"
"node": ">=10"
}
},
"node_modules/wcwidth": {
@ -468,12 +474,13 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"axios": {
"version": "0.27.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz",
"integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz",
"integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==",
"requires": {
"follow-redirects": "^1.14.9",
"form-data": "^4.0.0"
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
},
"balanced-match": {
@ -585,9 +592,9 @@
}
},
"follow-redirects": {
"version": "1.14.9",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz",
"integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w=="
"version": "1.15.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
},
"form-data": {
"version": "4.0.0",
@ -713,6 +720,11 @@
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"proxy-from-env": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
},
"pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
@ -731,9 +743,9 @@
}
},
"tar": {
"version": "6.1.11",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
"integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
"version": "6.1.12",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz",
"integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==",
"requires": {
"chownr": "^2.0.0",
"fs-minipass": "^2.0.0",

View File

@ -22,11 +22,11 @@
"postinstall": "node ./install.js"
},
"dependencies": {
"axios": "0.27.2",
"axios": "1.1.3",
"console.table": "0.10.0",
"extract-zip": "2.0.1",
"rimraf": "3.0.2",
"tar": "6.1.11"
"tar": "6.1.12"
},
"devDependencies": {},
"keywords": [