appium-xcuitest-driver 4.24.1 → 4.24.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.24.2](https://github.com/appium/appium-xcuitest-driver/compare/v4.24.1...v4.24.2) (2023-04-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * make whitespace in execute methods insignificant ([#1628](https://github.com/appium/appium-xcuitest-driver/issues/1628)) ([1dc7777](https://github.com/appium/appium-xcuitest-driver/commit/1dc7777cc6c3cd23f75085967d193562b63e6562))
7
+
1
8
  ## [4.24.1](https://github.com/appium/appium-xcuitest-driver/compare/v4.24.0...v4.24.1) (2023-04-20)
2
9
 
3
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":";IAyEE;;;;;OAKG;IAEH,4FAqBC;IAED;;;;;;;OAOG;IACH,mKAYC;IACD;;;OAGG;IACH,kFAaC;;;oCAKU,OAAO,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC;gCAIvC,SAAS,GAAG,EAAE,GAAG,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,YAAY,CAAC"}
1
+ {"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":";IA2EE;;;;;OAKG;IAEH,4FAqBC;IAED;;;;;;;OAOG;IACH,mKAaC;IACD;;;OAGG;IACH,kFAaC;;;oCAKU,OAAO,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC;gCAIvC,SAAS,GAAG,EAAE,GAAG,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,YAAY,CAAC"}
@@ -37,7 +37,7 @@ function executeMethodExpectsParam(script, param) {
37
37
  * @returns {script is keyof XCUITestDriver.executeMethodMap}
38
38
  */
39
39
  function isExecuteMethod(script) {
40
- return script.match(/^mobile:/) && script in driver_1.XCUITestDriver.executeMethodMap;
40
+ return script in driver_1.XCUITestDriver.executeMethodMap;
41
41
  }
42
42
  /**
43
43
  * Massages the arguments going into an execute method.
@@ -65,7 +65,8 @@ function preprocessExecuteMethodArgs(script, args) {
65
65
  * Most of these Execute Methods (typically beginning with `mobile*`) will accept an `Element|string` for `elementId`, in practice they will only ever get a `string`. `Element|string` in the method's docstring is simply for documentation purposes.
66
66
  */
67
67
  if ('elementId' in executeMethodArgs && executeMethodExpectsParam(script, 'elementId')) {
68
- executeMethodArgs.elementId = support_1.util.unwrapElement(/** @type {import('@appium/types').Element|string} */ (executeMethodArgs.elementId));
68
+ executeMethodArgs.elementId = support_1.util.unwrapElement(
69
+ /** @type {import('@appium/types').Element|string} */ (executeMethodArgs.elementId));
69
70
  }
70
71
  return executeMethodArgs;
71
72
  }
@@ -104,6 +105,7 @@ exports.default = {
104
105
  */
105
106
  async execute(script, args) {
106
107
  // TODO: create a type that converts args to the parameters of the associated method using the `command` prop of `executeMethodMap`
108
+ script = script.trim().replace(/^mobile:\s*/, 'mobile: ');
107
109
  if (isExecuteMethod(script)) {
108
110
  const executeMethodArgs = preprocessExecuteMethodArgs(script, args);
109
111
  return await this.executeMethod(script, [executeMethodArgs]);
@@ -1 +1 @@
1
- {"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AACvB,sCAAyC;AACzC,0CAA0E;AAC1E,4CAAoC;AAEpC;;;;;;;GAOG;AACH,SAAS,yBAAyB,CAAC,MAAM,EAAE,KAAK;IAC9C,8CAA8C;IAC9C,IAAI,QAAQ,CAAC;IACb,8CAA8C;IAC9C,IAAI,QAAQ,CAAC;IACb,MAAM,aAAa,GAAG,uBAAc,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC9D,IAAI,QAAQ,IAAI,aAAa,EAAE;QAC7B,IAAI,UAAU,IAAI,aAAa,CAAC,MAAM,EAAE;YACtC,QAAQ,GAAG,aA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,CAAC,WAAW,CAAC,EAChC,IAAI,CAAC,YAAY,CAClB,CAAC;QACF,OAAO,IAAI,CAAC,gBAAgB,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,CAAC;CACF,CAAC;AAEF;;;GAGG;AAEH;;GAEG"}
@@ -34,7 +34,7 @@ function executeMethodExpectsParam(script, param) {
34
34
  * @returns {script is keyof XCUITestDriver.executeMethodMap}
35
35
  */
36
36
  function isExecuteMethod(script) {
37
- return script.match(/^mobile:/) && script in XCUITestDriver.executeMethodMap;
37
+ return script in XCUITestDriver.executeMethodMap;
38
38
  }
39
39
 
40
40
  /**
@@ -64,7 +64,9 @@ function preprocessExecuteMethodArgs(script, args) {
64
64
  * Most of these Execute Methods (typically beginning with `mobile*`) will accept an `Element|string` for `elementId`, in practice they will only ever get a `string`. `Element|string` in the method's docstring is simply for documentation purposes.
65
65
  */
66
66
  if ('elementId' in executeMethodArgs && executeMethodExpectsParam(script, 'elementId')) {
67
- executeMethodArgs.elementId = util.unwrapElement(/** @type {import('@appium/types').Element|string} */(executeMethodArgs.elementId));
67
+ executeMethodArgs.elementId = util.unwrapElement(
68
+ /** @type {import('@appium/types').Element|string} */ (executeMethodArgs.elementId)
69
+ );
68
70
  }
69
71
 
70
72
  return executeMethodArgs;
@@ -111,11 +113,12 @@ export default {
111
113
  */
112
114
  async execute(script, args) {
113
115
  // TODO: create a type that converts args to the parameters of the associated method using the `command` prop of `executeMethodMap`
116
+ script = script.trim().replace(/^mobile:\s*/, 'mobile: ');
114
117
  if (isExecuteMethod(script)) {
115
118
  const executeMethodArgs = preprocessExecuteMethodArgs(script, args);
116
119
  return await this.executeMethod(script, [executeMethodArgs]);
117
120
  } else if (this.isWebContext()) {
118
- const atomsArgs = this.convertElementsForAtoms(/** @type {readonly any[]} */(args));
121
+ const atomsArgs = this.convertElementsForAtoms(/** @type {readonly any[]} */ (args));
119
122
  const result = await this.executeAtom('execute_script', [script, atomsArgs]);
120
123
  return this.cacheWebElements(result);
121
124
  } else {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-xcuitest-driver",
3
- "version": "4.24.1",
3
+ "version": "4.24.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-xcuitest-driver",
9
- "version": "4.24.1",
9
+ "version": "4.24.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@xmldom/xmldom": "0.8.7",
@@ -49,15 +49,15 @@
49
49
  "@types/chai-as-promised": "7.1.5",
50
50
  "@types/lodash": "4.14.194",
51
51
  "@types/mocha": "10.0.1",
52
- "@types/node": "18.15.11",
52
+ "@types/node": "18.15.13",
53
53
  "@types/portscanner": "2.1.1",
54
54
  "@types/sinon": "10.0.14",
55
55
  "@types/sinon-chai": "3.2.9",
56
56
  "@types/teen_process": "2.0.0",
57
- "@typescript-eslint/eslint-plugin": "5.58.0",
58
- "@typescript-eslint/parser": "5.58.0",
57
+ "@typescript-eslint/eslint-plugin": "5.59.0",
58
+ "@typescript-eslint/parser": "5.59.0",
59
59
  "appium": "2.0.0-beta.62",
60
- "axios": "1.3.5",
60
+ "axios": "1.3.6",
61
61
  "chai": "4.3.7",
62
62
  "chai-as-promised": "7.1.1",
63
63
  "chai-subset": "1.6.0",
@@ -81,7 +81,7 @@
81
81
  "prettier": "2.8.7",
82
82
  "rimraf": "5.0.0",
83
83
  "semantic-release": "20.1.3",
84
- "sinon": "15.0.3",
84
+ "sinon": "15.0.4",
85
85
  "sinon-chai": "3.7.0",
86
86
  "ts-node": "10.9.1",
87
87
  "type-fest": "3.8.0",
@@ -144,6 +144,16 @@
144
144
  "npm": ">=8"
145
145
  }
146
146
  },
147
+ "node_modules/@appium/base-driver/node_modules/axios": {
148
+ "version": "1.3.5",
149
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz",
150
+ "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==",
151
+ "dependencies": {
152
+ "follow-redirects": "^1.15.0",
153
+ "form-data": "^4.0.0",
154
+ "proxy-from-env": "^1.1.0"
155
+ }
156
+ },
147
157
  "node_modules/@appium/base-plugin": {
148
158
  "version": "2.2.6",
149
159
  "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.2.6.tgz",
@@ -337,6 +347,16 @@
337
347
  "npm": ">=8"
338
348
  }
339
349
  },
350
+ "node_modules/@appium/support/node_modules/axios": {
351
+ "version": "1.3.5",
352
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz",
353
+ "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==",
354
+ "dependencies": {
355
+ "follow-redirects": "^1.15.0",
356
+ "form-data": "^4.0.0",
357
+ "proxy-from-env": "^1.1.0"
358
+ }
359
+ },
340
360
  "node_modules/@appium/support/node_modules/brace-expansion": {
341
361
  "version": "2.0.1",
342
362
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
@@ -450,6 +470,36 @@
450
470
  "npm": ">=8"
451
471
  }
452
472
  },
473
+ "node_modules/@appium/test-support/node_modules/sinon": {
474
+ "version": "15.0.3",
475
+ "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz",
476
+ "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==",
477
+ "dev": true,
478
+ "dependencies": {
479
+ "@sinonjs/commons": "^3.0.0",
480
+ "@sinonjs/fake-timers": "^10.0.2",
481
+ "@sinonjs/samsam": "^8.0.0",
482
+ "diff": "^5.1.0",
483
+ "nise": "^5.1.4",
484
+ "supports-color": "^7.2.0"
485
+ },
486
+ "funding": {
487
+ "type": "opencollective",
488
+ "url": "https://opencollective.com/sinon"
489
+ }
490
+ },
491
+ "node_modules/@appium/test-support/node_modules/supports-color": {
492
+ "version": "7.2.0",
493
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
494
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
495
+ "dev": true,
496
+ "dependencies": {
497
+ "has-flag": "^4.0.0"
498
+ },
499
+ "engines": {
500
+ "node": ">=8"
501
+ }
502
+ },
453
503
  "node_modules/@appium/tsconfig": {
454
504
  "version": "0.3.0",
455
505
  "resolved": "https://registry.npmjs.org/@appium/tsconfig/-/tsconfig-0.3.0.tgz",
@@ -2711,9 +2761,9 @@
2711
2761
  }
2712
2762
  },
2713
2763
  "node_modules/@types/node": {
2714
- "version": "18.15.11",
2715
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
2716
- "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
2764
+ "version": "18.15.13",
2765
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz",
2766
+ "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q=="
2717
2767
  },
2718
2768
  "node_modules/@types/normalize-package-data": {
2719
2769
  "version": "2.4.1",
@@ -2884,15 +2934,15 @@
2884
2934
  }
2885
2935
  },
2886
2936
  "node_modules/@typescript-eslint/eslint-plugin": {
2887
- "version": "5.58.0",
2888
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.58.0.tgz",
2889
- "integrity": "sha512-vxHvLhH0qgBd3/tW6/VccptSfc8FxPQIkmNTVLWcCOVqSBvqpnKkBTYrhcGlXfSnd78azwe+PsjYFj0X34/njA==",
2937
+ "version": "5.59.0",
2938
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.0.tgz",
2939
+ "integrity": "sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==",
2890
2940
  "dev": true,
2891
2941
  "dependencies": {
2892
2942
  "@eslint-community/regexpp": "^4.4.0",
2893
- "@typescript-eslint/scope-manager": "5.58.0",
2894
- "@typescript-eslint/type-utils": "5.58.0",
2895
- "@typescript-eslint/utils": "5.58.0",
2943
+ "@typescript-eslint/scope-manager": "5.59.0",
2944
+ "@typescript-eslint/type-utils": "5.59.0",
2945
+ "@typescript-eslint/utils": "5.59.0",
2896
2946
  "debug": "^4.3.4",
2897
2947
  "grapheme-splitter": "^1.0.4",
2898
2948
  "ignore": "^5.2.0",
@@ -2918,14 +2968,14 @@
2918
2968
  }
2919
2969
  },
2920
2970
  "node_modules/@typescript-eslint/parser": {
2921
- "version": "5.58.0",
2922
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.58.0.tgz",
2923
- "integrity": "sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==",
2971
+ "version": "5.59.0",
2972
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.0.tgz",
2973
+ "integrity": "sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==",
2924
2974
  "dev": true,
2925
2975
  "dependencies": {
2926
- "@typescript-eslint/scope-manager": "5.58.0",
2927
- "@typescript-eslint/types": "5.58.0",
2928
- "@typescript-eslint/typescript-estree": "5.58.0",
2976
+ "@typescript-eslint/scope-manager": "5.59.0",
2977
+ "@typescript-eslint/types": "5.59.0",
2978
+ "@typescript-eslint/typescript-estree": "5.59.0",
2929
2979
  "debug": "^4.3.4"
2930
2980
  },
2931
2981
  "engines": {
@@ -2945,13 +2995,13 @@
2945
2995
  }
2946
2996
  },
2947
2997
  "node_modules/@typescript-eslint/scope-manager": {
2948
- "version": "5.58.0",
2949
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.58.0.tgz",
2950
- "integrity": "sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==",
2998
+ "version": "5.59.0",
2999
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz",
3000
+ "integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==",
2951
3001
  "dev": true,
2952
3002
  "dependencies": {
2953
- "@typescript-eslint/types": "5.58.0",
2954
- "@typescript-eslint/visitor-keys": "5.58.0"
3003
+ "@typescript-eslint/types": "5.59.0",
3004
+ "@typescript-eslint/visitor-keys": "5.59.0"
2955
3005
  },
2956
3006
  "engines": {
2957
3007
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2962,13 +3012,13 @@
2962
3012
  }
2963
3013
  },
2964
3014
  "node_modules/@typescript-eslint/type-utils": {
2965
- "version": "5.58.0",
2966
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.58.0.tgz",
2967
- "integrity": "sha512-FF5vP/SKAFJ+LmR9PENql7fQVVgGDOS+dq3j+cKl9iW/9VuZC/8CFmzIP0DLKXfWKpRHawJiG70rVH+xZZbp8w==",
3015
+ "version": "5.59.0",
3016
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.0.tgz",
3017
+ "integrity": "sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==",
2968
3018
  "dev": true,
2969
3019
  "dependencies": {
2970
- "@typescript-eslint/typescript-estree": "5.58.0",
2971
- "@typescript-eslint/utils": "5.58.0",
3020
+ "@typescript-eslint/typescript-estree": "5.59.0",
3021
+ "@typescript-eslint/utils": "5.59.0",
2972
3022
  "debug": "^4.3.4",
2973
3023
  "tsutils": "^3.21.0"
2974
3024
  },
@@ -2989,9 +3039,9 @@
2989
3039
  }
2990
3040
  },
2991
3041
  "node_modules/@typescript-eslint/types": {
2992
- "version": "5.58.0",
2993
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.58.0.tgz",
2994
- "integrity": "sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==",
3042
+ "version": "5.59.0",
3043
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz",
3044
+ "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==",
2995
3045
  "dev": true,
2996
3046
  "engines": {
2997
3047
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -3002,13 +3052,13 @@
3002
3052
  }
3003
3053
  },
3004
3054
  "node_modules/@typescript-eslint/typescript-estree": {
3005
- "version": "5.58.0",
3006
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.58.0.tgz",
3007
- "integrity": "sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==",
3055
+ "version": "5.59.0",
3056
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz",
3057
+ "integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==",
3008
3058
  "dev": true,
3009
3059
  "dependencies": {
3010
- "@typescript-eslint/types": "5.58.0",
3011
- "@typescript-eslint/visitor-keys": "5.58.0",
3060
+ "@typescript-eslint/types": "5.59.0",
3061
+ "@typescript-eslint/visitor-keys": "5.59.0",
3012
3062
  "debug": "^4.3.4",
3013
3063
  "globby": "^11.1.0",
3014
3064
  "is-glob": "^4.0.3",
@@ -3029,17 +3079,17 @@
3029
3079
  }
3030
3080
  },
3031
3081
  "node_modules/@typescript-eslint/utils": {
3032
- "version": "5.58.0",
3033
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.58.0.tgz",
3034
- "integrity": "sha512-gAmLOTFXMXOC+zP1fsqm3VceKSBQJNzV385Ok3+yzlavNHZoedajjS4UyS21gabJYcobuigQPs/z71A9MdJFqQ==",
3082
+ "version": "5.59.0",
3083
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.0.tgz",
3084
+ "integrity": "sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==",
3035
3085
  "dev": true,
3036
3086
  "dependencies": {
3037
3087
  "@eslint-community/eslint-utils": "^4.2.0",
3038
3088
  "@types/json-schema": "^7.0.9",
3039
3089
  "@types/semver": "^7.3.12",
3040
- "@typescript-eslint/scope-manager": "5.58.0",
3041
- "@typescript-eslint/types": "5.58.0",
3042
- "@typescript-eslint/typescript-estree": "5.58.0",
3090
+ "@typescript-eslint/scope-manager": "5.59.0",
3091
+ "@typescript-eslint/types": "5.59.0",
3092
+ "@typescript-eslint/typescript-estree": "5.59.0",
3043
3093
  "eslint-scope": "^5.1.1",
3044
3094
  "semver": "^7.3.7"
3045
3095
  },
@@ -3055,12 +3105,12 @@
3055
3105
  }
3056
3106
  },
3057
3107
  "node_modules/@typescript-eslint/visitor-keys": {
3058
- "version": "5.58.0",
3059
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.58.0.tgz",
3060
- "integrity": "sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==",
3108
+ "version": "5.59.0",
3109
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz",
3110
+ "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==",
3061
3111
  "dev": true,
3062
3112
  "dependencies": {
3063
- "@typescript-eslint/types": "5.58.0",
3113
+ "@typescript-eslint/types": "5.59.0",
3064
3114
  "eslint-visitor-keys": "^3.3.0"
3065
3115
  },
3066
3116
  "engines": {
@@ -3740,6 +3790,17 @@
3740
3790
  "npm": ">=8"
3741
3791
  }
3742
3792
  },
3793
+ "node_modules/appium/node_modules/axios": {
3794
+ "version": "1.3.5",
3795
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz",
3796
+ "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==",
3797
+ "dev": true,
3798
+ "dependencies": {
3799
+ "follow-redirects": "^1.15.0",
3800
+ "form-data": "^4.0.0",
3801
+ "proxy-from-env": "^1.1.0"
3802
+ }
3803
+ },
3743
3804
  "node_modules/appium/node_modules/brace-expansion": {
3744
3805
  "version": "2.0.1",
3745
3806
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
@@ -4155,9 +4216,9 @@
4155
4216
  }
4156
4217
  },
4157
4218
  "node_modules/axios": {
4158
- "version": "1.3.5",
4159
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz",
4160
- "integrity": "sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==",
4219
+ "version": "1.3.6",
4220
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.6.tgz",
4221
+ "integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==",
4161
4222
  "dependencies": {
4162
4223
  "follow-redirects": "^1.15.0",
4163
4224
  "form-data": "^4.0.0",
@@ -16086,9 +16147,9 @@
16086
16147
  "dev": true
16087
16148
  },
16088
16149
  "node_modules/sinon": {
16089
- "version": "15.0.3",
16090
- "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.3.tgz",
16091
- "integrity": "sha512-si3geiRkeovP7Iel2O+qGL4NrO9vbMf3KsrJEi0ghP1l5aBkB5UxARea5j0FUsSqH3HLBh0dQPAyQ8fObRUqHw==",
16150
+ "version": "15.0.4",
16151
+ "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.4.tgz",
16152
+ "integrity": "sha512-uzmfN6zx3GQaria1kwgWGeKiXSSbShBbue6Dcj0SI8fiCNFbiUDqKl57WFlY5lyhxZVUKmXvzgG2pilRQCBwWg==",
16092
16153
  "dev": true,
16093
16154
  "dependencies": {
16094
16155
  "@sinonjs/commons": "^3.0.0",
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "xcuitest",
9
9
  "xctest"
10
10
  ],
11
- "version": "4.24.1",
11
+ "version": "4.24.2",
12
12
  "author": "Appium Contributors",
13
13
  "license": "Apache-2.0",
14
14
  "repository": {
@@ -146,15 +146,15 @@
146
146
  "@types/chai-as-promised": "7.1.5",
147
147
  "@types/lodash": "4.14.194",
148
148
  "@types/mocha": "10.0.1",
149
- "@types/node": "18.15.11",
149
+ "@types/node": "18.15.13",
150
150
  "@types/portscanner": "2.1.1",
151
151
  "@types/sinon": "10.0.14",
152
152
  "@types/sinon-chai": "3.2.9",
153
153
  "@types/teen_process": "2.0.0",
154
- "@typescript-eslint/eslint-plugin": "5.58.0",
155
- "@typescript-eslint/parser": "5.58.0",
154
+ "@typescript-eslint/eslint-plugin": "5.59.0",
155
+ "@typescript-eslint/parser": "5.59.0",
156
156
  "appium": "2.0.0-beta.62",
157
- "axios": "1.3.5",
157
+ "axios": "1.3.6",
158
158
  "chai": "4.3.7",
159
159
  "chai-as-promised": "7.1.1",
160
160
  "chai-subset": "1.6.0",
@@ -178,7 +178,7 @@
178
178
  "prettier": "2.8.7",
179
179
  "rimraf": "5.0.0",
180
180
  "semantic-release": "20.1.3",
181
- "sinon": "15.0.3",
181
+ "sinon": "15.0.4",
182
182
  "sinon-chai": "3.7.0",
183
183
  "ts-node": "10.9.1",
184
184
  "type-fest": "3.8.0",