@applitools/visual-grid-cli-utils 1.21.31 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/visual-grid-cli-utils",
3
- "version": "1.21.31",
3
+ "version": "1.21.34",
4
4
  "description": "",
5
5
  "main": "src/visual-grid-cli-utils.js",
6
6
  "engines": {
@@ -21,9 +21,7 @@
21
21
  "start": "scripts/run-visual-grid-cli-utils.js",
22
22
  "test:mocha": "mocha --no-timeouts --exit 'test/unit/*.test.js' 'test/it/*.test.js' 'test/e2e/*.test.js'",
23
23
  "test": "npm run eslint && npm run test:mocha",
24
- "eslint": "eslint '**/*.js'",
25
- "postinstall": "install-yargs-completion",
26
- "uninstall": "uninstall-yargs-completion"
24
+ "eslint": "eslint '**/*.js'"
27
25
  },
28
26
  "keywords": [
29
27
  "applitools",
@@ -54,7 +52,7 @@
54
52
  "puppeteer": "^5.5.0",
55
53
  "throat": "^5.0.0",
56
54
  "uuid": "^8.3.2",
57
- "yargs": "^17.1.1-candidate.0"
55
+ "yargs": "^16.2.0"
58
56
  },
59
57
  "devDependencies": {
60
58
  "@applitools/chai-sharp-assert": "^1.1.4",
package/src/test-url.js CHANGED
@@ -86,6 +86,7 @@ async function main({
86
86
  screenOrientation: iosDeviceOrientation,
87
87
  version: canary ? 'canary' : iosVersion,
88
88
  name: iosDeviceName,
89
+ deviceName: iosDeviceName,
89
90
  }
90
91
  : undefined,
91
92
  },
@@ -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,7 +788,6 @@ async function main(argv, {shouldExitOnError = false} = {}) {
791
788
  type: 'string',
792
789
  }),
793
790
  )
794
- .completion('completion')
795
791
  .exitProcess(shouldExitOnError)
796
792
  .wrap(Math.min(yargs.terminalWidth(), 120))
797
793
  .strict()