@applitools/visual-grid-cli-utils 1.21.33 → 1.21.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/test-url.js +1 -0
- package/src/visual-grid-cli-utils.js +1 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/visual-grid-cli-utils",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/visual-grid-cli-utils.js",
|
|
6
6
|
"engines": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"puppeteer": "^5.5.0",
|
|
53
53
|
"throat": "^5.0.0",
|
|
54
54
|
"uuid": "^8.3.2",
|
|
55
|
-
"yargs": "^
|
|
55
|
+
"yargs": "^16.2.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@applitools/chai-sharp-assert": "^1.1.4",
|
package/src/test-url.js
CHANGED
|
@@ -3,9 +3,6 @@ const yargs = require('yargs')
|
|
|
3
3
|
const {parseBrowser} = require('./commons/parse-browser')
|
|
4
4
|
const parseRegion = require('./commons/parse-region')
|
|
5
5
|
const splitApiKey = require('./commons/split-api-key')
|
|
6
|
-
// require('completarr')({
|
|
7
|
-
// name: 'vg-cli',
|
|
8
|
-
// })
|
|
9
6
|
|
|
10
7
|
async function main(argv, {shouldExitOnError = false} = {}) {
|
|
11
8
|
const commandLineOptions = yargs(argv)
|
|
@@ -791,10 +788,8 @@ async function main(argv, {shouldExitOnError = false} = {}) {
|
|
|
791
788
|
type: 'string',
|
|
792
789
|
}),
|
|
793
790
|
)
|
|
794
|
-
.demandCommand()
|
|
795
|
-
.completion('completion')
|
|
796
791
|
.exitProcess(shouldExitOnError)
|
|
797
|
-
.wrap(yargs.terminalWidth())
|
|
792
|
+
.wrap(Math.min(yargs.terminalWidth(), 120))
|
|
798
793
|
.strict()
|
|
799
794
|
.help()
|
|
800
795
|
|