appium-mac2-driver 3.3.1 → 3.3.3
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 +12 -0
- package/build/lib/commands/bidi/models.d.ts +6 -0
- package/build/lib/commands/bidi/models.d.ts.map +1 -1
- package/build/lib/commands/bidi/models.js +6 -0
- package/build/lib/commands/bidi/models.js.map +1 -1
- package/build/lib/commands/bidi/types.d.ts +2 -2
- package/build/lib/commands/bidi/types.d.ts.map +1 -1
- package/build/lib/commands/execute.d.ts.map +1 -1
- package/build/lib/commands/execute.js +1 -5
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/gestures.d.ts.map +1 -1
- package/build/lib/commands/gestures.js +6 -7
- package/build/lib/commands/gestures.js.map +1 -1
- package/build/lib/commands/helpers.d.ts +9 -0
- package/build/lib/commands/helpers.d.ts.map +1 -1
- package/build/lib/commands/helpers.js +10 -5
- package/build/lib/commands/helpers.js.map +1 -1
- package/build/lib/commands/native-record-screen.d.ts +11 -11
- package/build/lib/commands/native-record-screen.d.ts.map +1 -1
- package/build/lib/commands/native-record-screen.js +6 -8
- package/build/lib/commands/native-record-screen.js.map +1 -1
- package/build/lib/commands/record-screen.d.ts.map +1 -1
- package/build/lib/commands/record-screen.js +15 -15
- package/build/lib/commands/record-screen.js.map +1 -1
- package/build/lib/doctor/optional-checks.d.ts +1 -1
- package/build/lib/doctor/optional-checks.d.ts.map +1 -1
- package/build/lib/doctor/optional-checks.js +1 -1
- package/build/lib/doctor/optional-checks.js.map +1 -1
- package/build/lib/doctor/required-checks.d.ts +1 -1
- package/build/lib/doctor/required-checks.d.ts.map +1 -1
- package/build/lib/doctor/required-checks.js +1 -1
- package/build/lib/doctor/required-checks.js.map +1 -1
- package/build/lib/driver.d.ts +18 -18
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +51 -52
- package/build/lib/driver.js.map +1 -1
- package/build/lib/utils.d.ts +19 -8
- package/build/lib/utils.d.ts.map +1 -1
- package/build/lib/utils.js +48 -10
- package/build/lib/utils.js.map +1 -1
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/build/lib/wda-mac.js +25 -24
- package/build/lib/wda-mac.js.map +1 -1
- package/lib/commands/bidi/models.ts +6 -0
- package/lib/commands/bidi/types.ts +2 -2
- package/lib/commands/execute.ts +1 -2
- package/lib/commands/gestures.ts +8 -4
- package/lib/commands/helpers.ts +10 -2
- package/lib/commands/native-record-screen.ts +19 -23
- package/lib/commands/record-screen.ts +17 -17
- package/lib/doctor/optional-checks.ts +2 -1
- package/lib/doctor/required-checks.ts +2 -1
- package/lib/driver.ts +79 -79
- package/lib/utils.ts +48 -7
- package/lib/wda-mac.ts +33 -32
- package/npm-shrinkwrap.json +118 -100
- package/package.json +1 -3
package/lib/wda-mac.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _ from 'lodash';
|
|
2
1
|
import path from 'node:path';
|
|
3
2
|
import url from 'node:url';
|
|
4
3
|
import axios from 'axios';
|
|
@@ -11,7 +10,7 @@ import {waitForCondition} from 'asyncbox';
|
|
|
11
10
|
import {checkPortStatus} from 'portscanner';
|
|
12
11
|
import {execSync} from 'node:child_process';
|
|
13
12
|
import type {HTTPMethod, HTTPBody, ProxyResponse, ProxyOptions} from '@appium/types';
|
|
14
|
-
import {listChildrenProcessIds, getModuleRoot} from './utils';
|
|
13
|
+
import {listChildrenProcessIds, getModuleRoot, clearArray, removeAllOccurrences} from './utils';
|
|
15
14
|
|
|
16
15
|
const log = logger.getLogger('WebDriverAgentMac');
|
|
17
16
|
|
|
@@ -33,24 +32,6 @@ export interface SessionOptions {
|
|
|
33
32
|
reqBasePath?: string;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
export class WDAMacProxy extends JWProxy {
|
|
37
|
-
public didProcessExit: boolean = false;
|
|
38
|
-
|
|
39
|
-
override async proxyCommand(
|
|
40
|
-
url: string,
|
|
41
|
-
method: HTTPMethod,
|
|
42
|
-
body: HTTPBody = null,
|
|
43
|
-
): Promise<[ProxyResponse, HTTPBody]> {
|
|
44
|
-
if (this.didProcessExit) {
|
|
45
|
-
throw new errors.InvalidContextError(
|
|
46
|
-
`'${method} ${url}' cannot be proxied to Mac2 Driver server because ` +
|
|
47
|
-
'its process is not running (probably crashed). Check the Appium log for more details',
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
return await super.proxyCommand(url, method, body);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
35
|
class WDAMacProcess {
|
|
55
36
|
public port: number = DEFAULT_SYSTEM_PORT;
|
|
56
37
|
public host: string = DEFAULT_SYSTEM_HOST;
|
|
@@ -232,7 +213,7 @@ class WDAMacProcess {
|
|
|
232
213
|
return;
|
|
233
214
|
}
|
|
234
215
|
|
|
235
|
-
const line =
|
|
216
|
+
const line = (stdout ?? stderr ?? '').trim();
|
|
236
217
|
if (line) {
|
|
237
218
|
log.debug(`[${XCODEBUILD}] ${line}`);
|
|
238
219
|
}
|
|
@@ -251,7 +232,7 @@ class WDAMacProcess {
|
|
|
251
232
|
}
|
|
252
233
|
|
|
253
234
|
const childrenPids = await this.listChildrenPids();
|
|
254
|
-
if (
|
|
235
|
+
if (childrenPids.length > 0) {
|
|
255
236
|
try {
|
|
256
237
|
await exec('kill', childrenPids);
|
|
257
238
|
} catch {}
|
|
@@ -265,7 +246,7 @@ class WDAMacProcess {
|
|
|
265
246
|
}
|
|
266
247
|
|
|
267
248
|
const childrenPids = await this.listChildrenPids();
|
|
268
|
-
if (
|
|
249
|
+
if (childrenPids.length > 0) {
|
|
269
250
|
try {
|
|
270
251
|
await exec('kill', ['-9', ...childrenPids]);
|
|
271
252
|
} catch {}
|
|
@@ -278,8 +259,8 @@ class WDAMacProcess {
|
|
|
278
259
|
private hasSameOpts(opts: WDAMacProcessInitOptions): boolean {
|
|
279
260
|
const {showServerLogs, systemPort, systemHost, bootstrapRoot} = opts;
|
|
280
261
|
if (
|
|
281
|
-
(
|
|
282
|
-
(
|
|
262
|
+
(typeof showServerLogs === 'boolean' && this._showServerLogs !== showServerLogs) ||
|
|
263
|
+
(showServerLogs == null && this._showServerLogs !== DEFAULT_SHOW_SERVER_LOGS)
|
|
283
264
|
) {
|
|
284
265
|
return false;
|
|
285
266
|
}
|
|
@@ -306,6 +287,24 @@ class WDAMacProcess {
|
|
|
306
287
|
}
|
|
307
288
|
}
|
|
308
289
|
|
|
290
|
+
export class WDAMacProxy extends JWProxy {
|
|
291
|
+
public didProcessExit: boolean = false;
|
|
292
|
+
|
|
293
|
+
override async proxyCommand(
|
|
294
|
+
url: string,
|
|
295
|
+
method: HTTPMethod,
|
|
296
|
+
body: HTTPBody = null,
|
|
297
|
+
): Promise<[ProxyResponse, HTTPBody]> {
|
|
298
|
+
if (this.didProcessExit) {
|
|
299
|
+
throw new errors.InvalidContextError(
|
|
300
|
+
`'${method} ${url}' cannot be proxied to Mac2 Driver server because ` +
|
|
301
|
+
'its process is not running (probably crashed). Check the Appium log for more details',
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
return await super.proxyCommand(url, method, body);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
309
308
|
export class WDAMacServer {
|
|
310
309
|
private _proxy: WDAMacProxy | null = null;
|
|
311
310
|
private _process: WDAMacProcess | null = null;
|
|
@@ -390,7 +389,9 @@ export class WDAMacServer {
|
|
|
390
389
|
const childrenPids = await this._process.listChildrenPids();
|
|
391
390
|
if (pid !== null) {
|
|
392
391
|
RUNNING_PROCESS_IDS.push(...childrenPids, pid);
|
|
393
|
-
this._process.proc?.on('exit', () =>
|
|
392
|
+
this._process.proc?.on('exit', () => {
|
|
393
|
+
removeAllOccurrences(RUNNING_PROCESS_IDS, pid);
|
|
394
|
+
});
|
|
394
395
|
}
|
|
395
396
|
log.info(
|
|
396
397
|
`The host process is ready within ${timer.getDuration().asMilliSeconds.toFixed(0)}ms`,
|
|
@@ -468,13 +469,13 @@ export class WDAMacServer {
|
|
|
468
469
|
}
|
|
469
470
|
|
|
470
471
|
const {protocol, hostname, port, pathname} = parsedUrl;
|
|
471
|
-
if (
|
|
472
|
+
if (typeof protocol === 'string') {
|
|
472
473
|
scheme = protocol.split(':')[0];
|
|
473
474
|
}
|
|
474
475
|
return {
|
|
475
476
|
scheme,
|
|
476
477
|
host: hostname ?? DEFAULT_SYSTEM_HOST,
|
|
477
|
-
port:
|
|
478
|
+
port: port.length === 0 ? DEFAULT_SYSTEM_PORT : Number.parseInt(port, 10),
|
|
478
479
|
path: pathname === '/' ? '' : pathname,
|
|
479
480
|
};
|
|
480
481
|
}
|
|
@@ -484,7 +485,7 @@ export const WDA_MAC_SERVER = new WDAMacServer();
|
|
|
484
485
|
|
|
485
486
|
// Private functions
|
|
486
487
|
async function cleanupObsoleteProcesses(): Promise<void> {
|
|
487
|
-
if (
|
|
488
|
+
if (RUNNING_PROCESS_IDS.length > 0) {
|
|
488
489
|
log.debug(
|
|
489
490
|
`Cleaning up ${RUNNING_PROCESS_IDS.length} obsolete ` +
|
|
490
491
|
util.pluralize('process', RUNNING_PROCESS_IDS.length, false),
|
|
@@ -492,16 +493,16 @@ async function cleanupObsoleteProcesses(): Promise<void> {
|
|
|
492
493
|
try {
|
|
493
494
|
await exec('kill', ['-9', ...RUNNING_PROCESS_IDS.map(String)]);
|
|
494
495
|
} catch {}
|
|
495
|
-
|
|
496
|
+
clearArray(RUNNING_PROCESS_IDS);
|
|
496
497
|
}
|
|
497
498
|
}
|
|
498
499
|
|
|
499
500
|
process.once('exit', () => {
|
|
500
|
-
if (
|
|
501
|
+
if (RUNNING_PROCESS_IDS.length > 0) {
|
|
501
502
|
try {
|
|
502
503
|
execSync(`kill -9 ${RUNNING_PROCESS_IDS.map(String).join(' ')}`);
|
|
503
504
|
} catch {}
|
|
504
|
-
|
|
505
|
+
clearArray(RUNNING_PROCESS_IDS);
|
|
505
506
|
}
|
|
506
507
|
});
|
|
507
508
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-mac2-driver",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-mac2-driver",
|
|
9
|
-
"version": "3.3.
|
|
9
|
+
"version": "3.3.3",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@appium/strongbox": "^1.0.0-rc.1",
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"asyncbox": "^6.0.1",
|
|
16
16
|
"axios": "^1.x",
|
|
17
17
|
"bluebird": "^3.5.1",
|
|
18
|
-
"lodash": "^4.17.4",
|
|
19
18
|
"portscanner": "2.2.0",
|
|
20
19
|
"teen_process": "^4.0.4"
|
|
21
20
|
},
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
"@semantic-release/git": "^10.0.1",
|
|
28
27
|
"@types/bluebird": "^3.5.38",
|
|
29
28
|
"@types/chai-as-promised": "^8.0.2",
|
|
30
|
-
"@types/lodash": "^4.14.196",
|
|
31
29
|
"@types/mocha": "^10.0.1",
|
|
32
30
|
"@types/node": "^25.0.0",
|
|
33
31
|
"@types/sinon": "^21.0.0",
|
|
@@ -51,14 +49,14 @@
|
|
|
51
49
|
}
|
|
52
50
|
},
|
|
53
51
|
"node_modules/@appium/logger": {
|
|
54
|
-
"version": "2.0.
|
|
55
|
-
"resolved": "https://registry.npmjs.org/@appium/logger/-/logger-2.0.
|
|
56
|
-
"integrity": "sha512-
|
|
52
|
+
"version": "2.0.7",
|
|
53
|
+
"resolved": "https://registry.npmjs.org/@appium/logger/-/logger-2.0.7.tgz",
|
|
54
|
+
"integrity": "sha512-WqagwYDZlPsSkICrXL9wB1E7qgErnwmYc/Q6NLVAC2ckXkWioh3fZ49AK5zevbJCnnkQbU2y8497Mk4xWDetkg==",
|
|
57
55
|
"license": "ISC",
|
|
58
56
|
"dependencies": {
|
|
59
57
|
"console-control-strings": "1.1.0",
|
|
60
58
|
"lodash": "4.18.1",
|
|
61
|
-
"lru-cache": "11.3.
|
|
59
|
+
"lru-cache": "11.3.5",
|
|
62
60
|
"set-blocking": "2.0.0"
|
|
63
61
|
},
|
|
64
62
|
"engines": {
|
|
@@ -80,9 +78,9 @@
|
|
|
80
78
|
}
|
|
81
79
|
},
|
|
82
80
|
"node_modules/@appium/strongbox": {
|
|
83
|
-
"version": "1.1.
|
|
84
|
-
"resolved": "https://registry.npmjs.org/@appium/strongbox/-/strongbox-1.1.
|
|
85
|
-
"integrity": "sha512-
|
|
81
|
+
"version": "1.1.1",
|
|
82
|
+
"resolved": "https://registry.npmjs.org/@appium/strongbox/-/strongbox-1.1.1.tgz",
|
|
83
|
+
"integrity": "sha512-cBpvgD3r8OyLUoZXamY3mVTe3V+Fy6bFQulpyRCLi7DTtt4rwkIHzvn3h+81t0XMVFLxlOiJNXN2SkOFpRQ3eg==",
|
|
86
84
|
"license": "Apache-2.0",
|
|
87
85
|
"dependencies": {
|
|
88
86
|
"env-paths": "4.0.0",
|
|
@@ -94,14 +92,14 @@
|
|
|
94
92
|
}
|
|
95
93
|
},
|
|
96
94
|
"node_modules/@appium/support": {
|
|
97
|
-
"version": "7.1.
|
|
98
|
-
"resolved": "https://registry.npmjs.org/@appium/support/-/support-7.1.
|
|
99
|
-
"integrity": "sha512-
|
|
95
|
+
"version": "7.1.1",
|
|
96
|
+
"resolved": "https://registry.npmjs.org/@appium/support/-/support-7.1.1.tgz",
|
|
97
|
+
"integrity": "sha512-WJewvoQxDOaVKjlvjVwifNDMQUVdCy0Edcxobl6I7pJzSE2O15Bi3BEq5AMzDpaXs7DtjZTLkHT29Tin9KHV3Q==",
|
|
100
98
|
"license": "Apache-2.0",
|
|
101
99
|
"dependencies": {
|
|
102
|
-
"@appium/logger": "2.0.
|
|
100
|
+
"@appium/logger": "2.0.7",
|
|
103
101
|
"@appium/tsconfig": "1.1.2",
|
|
104
|
-
"@appium/types": "1.3.
|
|
102
|
+
"@appium/types": "1.3.1",
|
|
105
103
|
"@colors/colors": "1.6.0",
|
|
106
104
|
"archiver": "7.0.1",
|
|
107
105
|
"asyncbox": "6.1.0",
|
|
@@ -128,9 +126,9 @@
|
|
|
128
126
|
"semver": "7.7.4",
|
|
129
127
|
"shell-quote": "1.8.3",
|
|
130
128
|
"supports-color": "10.2.2",
|
|
131
|
-
"teen_process": "4.1.
|
|
132
|
-
"type-fest": "5.
|
|
133
|
-
"uuid": "
|
|
129
|
+
"teen_process": "4.1.1",
|
|
130
|
+
"type-fest": "5.6.0",
|
|
131
|
+
"uuid": "14.0.0",
|
|
134
132
|
"which": "6.0.1",
|
|
135
133
|
"yauzl": "3.3.0"
|
|
136
134
|
},
|
|
@@ -142,10 +140,34 @@
|
|
|
142
140
|
"sharp": "0.34.5"
|
|
143
141
|
}
|
|
144
142
|
},
|
|
143
|
+
"node_modules/@appium/support/node_modules/asyncbox": {
|
|
144
|
+
"version": "6.1.0",
|
|
145
|
+
"resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.1.0.tgz",
|
|
146
|
+
"integrity": "sha512-KZwKNVnDdDe0ubN+fFMuHhSljZNHnbjdJABImoqFzQP61oIg6sMlhXIqOIu3WRd7YwW89q+eVj2Ty/Ax5dbh2Q==",
|
|
147
|
+
"license": "Apache-2.0",
|
|
148
|
+
"dependencies": {
|
|
149
|
+
"p-limit": "^7.2.0"
|
|
150
|
+
},
|
|
151
|
+
"engines": {
|
|
152
|
+
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
153
|
+
"npm": ">=10"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"node_modules/@appium/support/node_modules/axios": {
|
|
157
|
+
"version": "1.15.0",
|
|
158
|
+
"resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",
|
|
159
|
+
"integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",
|
|
160
|
+
"license": "MIT",
|
|
161
|
+
"dependencies": {
|
|
162
|
+
"follow-redirects": "^1.15.11",
|
|
163
|
+
"form-data": "^4.0.5",
|
|
164
|
+
"proxy-from-env": "^2.1.0"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
145
167
|
"node_modules/@appium/support/node_modules/teen_process": {
|
|
146
|
-
"version": "4.1.
|
|
147
|
-
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.
|
|
148
|
-
"integrity": "sha512-
|
|
168
|
+
"version": "4.1.1",
|
|
169
|
+
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.1.tgz",
|
|
170
|
+
"integrity": "sha512-E9gaYuVaWrvbxzZDgZ/MjWkPKqiKETBWSRy06qz1GOyKU22mI76JrxzaGbeddcHcmW8ZFXPowPv1ad3a7S+Xvg==",
|
|
149
171
|
"license": "Apache-2.0",
|
|
150
172
|
"dependencies": {
|
|
151
173
|
"lodash": "^4.17.21",
|
|
@@ -170,15 +192,15 @@
|
|
|
170
192
|
}
|
|
171
193
|
},
|
|
172
194
|
"node_modules/@appium/types": {
|
|
173
|
-
"version": "1.3.
|
|
174
|
-
"resolved": "https://registry.npmjs.org/@appium/types/-/types-1.3.
|
|
175
|
-
"integrity": "sha512-
|
|
195
|
+
"version": "1.3.1",
|
|
196
|
+
"resolved": "https://registry.npmjs.org/@appium/types/-/types-1.3.1.tgz",
|
|
197
|
+
"integrity": "sha512-SWTntQ8EAI1m6P2LWqcqASGkRLk5HiKv2V2x7DSfknS8AsiF2ymr6T6oPJ7hUrTkEUA/3ncTSZji5Oq4h5TjzA==",
|
|
176
198
|
"license": "Apache-2.0",
|
|
177
199
|
"dependencies": {
|
|
178
|
-
"@appium/logger": "2.0.
|
|
200
|
+
"@appium/logger": "2.0.7",
|
|
179
201
|
"@appium/schema": "1.1.0",
|
|
180
202
|
"@appium/tsconfig": "1.1.2",
|
|
181
|
-
"type-fest": "5.
|
|
203
|
+
"type-fest": "5.6.0"
|
|
182
204
|
},
|
|
183
205
|
"engines": {
|
|
184
206
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
@@ -218,9 +240,9 @@
|
|
|
218
240
|
}
|
|
219
241
|
},
|
|
220
242
|
"node_modules/@emnapi/runtime": {
|
|
221
|
-
"version": "1.
|
|
222
|
-
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.
|
|
223
|
-
"integrity": "sha512-
|
|
243
|
+
"version": "1.10.0",
|
|
244
|
+
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",
|
|
245
|
+
"integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",
|
|
224
246
|
"extraneous": true,
|
|
225
247
|
"license": "MIT",
|
|
226
248
|
"dependencies": {
|
|
@@ -388,9 +410,9 @@
|
|
|
388
410
|
"license": "MIT"
|
|
389
411
|
},
|
|
390
412
|
"node_modules/@xmldom/xmldom": {
|
|
391
|
-
"version": "0.8.
|
|
392
|
-
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.
|
|
393
|
-
"integrity": "sha512-
|
|
413
|
+
"version": "0.8.13",
|
|
414
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",
|
|
415
|
+
"integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",
|
|
394
416
|
"license": "MIT",
|
|
395
417
|
"engines": {
|
|
396
418
|
"node": ">=10.0.0"
|
|
@@ -436,16 +458,13 @@
|
|
|
436
458
|
}
|
|
437
459
|
},
|
|
438
460
|
"node_modules/appium-xcode": {
|
|
439
|
-
"version": "6.1
|
|
440
|
-
"resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.1.
|
|
441
|
-
"integrity": "sha512-
|
|
461
|
+
"version": "6.2.1",
|
|
462
|
+
"resolved": "https://registry.npmjs.org/appium-xcode/-/appium-xcode-6.2.1.tgz",
|
|
463
|
+
"integrity": "sha512-vY7D7GSm/m9KvRwJjk0AP9U+hT/MRoLN5OEohC2/vvbe5hxGp2H0nhUFYal2/6VwrL5U/P1zQKEIFUe3O8g0Dw==",
|
|
442
464
|
"license": "Apache-2.0",
|
|
443
465
|
"dependencies": {
|
|
444
466
|
"@appium/support": "^7.0.0-rc.1",
|
|
445
467
|
"asyncbox": "^6.0.1",
|
|
446
|
-
"bluebird": "^3.7.2",
|
|
447
|
-
"lodash": "^4.17.4",
|
|
448
|
-
"plist": "^3.0.1",
|
|
449
468
|
"semver": "^7.0.0",
|
|
450
469
|
"teen_process": "^4.0.4"
|
|
451
470
|
},
|
|
@@ -571,9 +590,9 @@
|
|
|
571
590
|
"license": "MIT"
|
|
572
591
|
},
|
|
573
592
|
"node_modules/asyncbox": {
|
|
574
|
-
"version": "6.
|
|
575
|
-
"resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.
|
|
576
|
-
"integrity": "sha512-
|
|
593
|
+
"version": "6.2.0",
|
|
594
|
+
"resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.2.0.tgz",
|
|
595
|
+
"integrity": "sha512-z1XpHkoT3y+1aXfazEY5d7HN2eOi50fLq7ZTxG0H4WegLxrtEAI5Vsc6OR9dOwoC3SJQLXyV0ZVnPEh6GIgMKQ==",
|
|
577
596
|
"license": "Apache-2.0",
|
|
578
597
|
"dependencies": {
|
|
579
598
|
"p-limit": "^7.2.0"
|
|
@@ -590,20 +609,20 @@
|
|
|
590
609
|
"license": "MIT"
|
|
591
610
|
},
|
|
592
611
|
"node_modules/axios": {
|
|
593
|
-
"version": "1.
|
|
594
|
-
"resolved": "https://registry.npmjs.org/axios/-/axios-1.
|
|
595
|
-
"integrity": "sha512-
|
|
612
|
+
"version": "1.16.0",
|
|
613
|
+
"resolved": "https://registry.npmjs.org/axios/-/axios-1.16.0.tgz",
|
|
614
|
+
"integrity": "sha512-6hp5CwvTPlN2A31g5dxnwAX0orzM7pmCRDLnZSX772mv8WDqICwFjowHuPs04Mc8deIld1+ejhtaMn5vp6b+1w==",
|
|
596
615
|
"license": "MIT",
|
|
597
616
|
"dependencies": {
|
|
598
|
-
"follow-redirects": "^1.
|
|
617
|
+
"follow-redirects": "^1.16.0",
|
|
599
618
|
"form-data": "^4.0.5",
|
|
600
619
|
"proxy-from-env": "^2.1.0"
|
|
601
620
|
}
|
|
602
621
|
},
|
|
603
622
|
"node_modules/b4a": {
|
|
604
|
-
"version": "1.8.
|
|
605
|
-
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.
|
|
606
|
-
"integrity": "sha512-
|
|
623
|
+
"version": "1.8.1",
|
|
624
|
+
"resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.1.tgz",
|
|
625
|
+
"integrity": "sha512-aiqre1Nr0B/6DgE2N5vwTc+2/oQZ4Wh1t4NznYY4E00y8LCt6NqdRv81so00oo27D8MVKTpUa/MwUUtBLXCoDw==",
|
|
607
626
|
"license": "Apache-2.0",
|
|
608
627
|
"peerDependencies": {
|
|
609
628
|
"react-native-b4a": "*"
|
|
@@ -635,9 +654,9 @@
|
|
|
635
654
|
}
|
|
636
655
|
},
|
|
637
656
|
"node_modules/bare-fs": {
|
|
638
|
-
"version": "4.7.
|
|
639
|
-
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.
|
|
640
|
-
"integrity": "sha512-
|
|
657
|
+
"version": "4.7.1",
|
|
658
|
+
"resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.1.tgz",
|
|
659
|
+
"integrity": "sha512-WDRsyVN52eAx/lBamKD6uyw8H4228h/x0sGGGegOamM2cd7Pag88GfMQalobXI+HaEUxpCkbKQUDOQqt9wawRw==",
|
|
641
660
|
"license": "Apache-2.0",
|
|
642
661
|
"dependencies": {
|
|
643
662
|
"bare-events": "^2.5.4",
|
|
@@ -659,9 +678,9 @@
|
|
|
659
678
|
}
|
|
660
679
|
},
|
|
661
680
|
"node_modules/bare-os": {
|
|
662
|
-
"version": "3.
|
|
663
|
-
"resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.
|
|
664
|
-
"integrity": "sha512-
|
|
681
|
+
"version": "3.9.1",
|
|
682
|
+
"resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.9.1.tgz",
|
|
683
|
+
"integrity": "sha512-6M5XjcnsygQNPMCMPXSK379xrJFiZ/AEMNBmFEmQW8d/789VQATvriyi5r0HYTL9TkQ26rn3kgdTG3aisbrXkQ==",
|
|
665
684
|
"license": "Apache-2.0",
|
|
666
685
|
"engines": {
|
|
667
686
|
"bare": ">=1.14.0"
|
|
@@ -677,9 +696,9 @@
|
|
|
677
696
|
}
|
|
678
697
|
},
|
|
679
698
|
"node_modules/bare-stream": {
|
|
680
|
-
"version": "2.13.
|
|
681
|
-
"resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.
|
|
682
|
-
"integrity": "sha512-
|
|
699
|
+
"version": "2.13.1",
|
|
700
|
+
"resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.1.tgz",
|
|
701
|
+
"integrity": "sha512-Vp0cnjYyrEC4whYTymQ+YZi6pBpfiICZO3cfRG8sy67ZNWe951urv1x4eW1BKNngw3U+3fPYb5JQvHbCtxH7Ow==",
|
|
683
702
|
"license": "Apache-2.0",
|
|
684
703
|
"dependencies": {
|
|
685
704
|
"streamx": "^2.25.0",
|
|
@@ -703,9 +722,9 @@
|
|
|
703
722
|
}
|
|
704
723
|
},
|
|
705
724
|
"node_modules/bare-url": {
|
|
706
|
-
"version": "2.4.
|
|
707
|
-
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.
|
|
708
|
-
"integrity": "sha512-
|
|
725
|
+
"version": "2.4.3",
|
|
726
|
+
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.3.tgz",
|
|
727
|
+
"integrity": "sha512-Kccpc7ACfXaxfeInfqKcZtW4pT5YBn1mesc4sCsun6sRwtbJ4h+sNOaksUpYEJUKfN65YWC6Bw2OJEFiKxq8nQ==",
|
|
709
728
|
"license": "Apache-2.0",
|
|
710
729
|
"dependencies": {
|
|
711
730
|
"bare-path": "^3.0.0"
|
|
@@ -1036,16 +1055,6 @@
|
|
|
1036
1055
|
"node": ">=8"
|
|
1037
1056
|
}
|
|
1038
1057
|
},
|
|
1039
|
-
"node_modules/diff": {
|
|
1040
|
-
"version": "8.0.4",
|
|
1041
|
-
"resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz",
|
|
1042
|
-
"integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==",
|
|
1043
|
-
"extraneous": true,
|
|
1044
|
-
"license": "BSD-3-Clause",
|
|
1045
|
-
"engines": {
|
|
1046
|
-
"node": ">=0.3.1"
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
1058
|
"node_modules/dunder-proto": {
|
|
1050
1059
|
"version": "1.0.1",
|
|
1051
1060
|
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
|
|
@@ -1529,9 +1538,9 @@
|
|
|
1529
1538
|
}
|
|
1530
1539
|
},
|
|
1531
1540
|
"node_modules/hasown": {
|
|
1532
|
-
"version": "2.0.
|
|
1533
|
-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.
|
|
1534
|
-
"integrity": "sha512-
|
|
1541
|
+
"version": "2.0.3",
|
|
1542
|
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",
|
|
1543
|
+
"integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==",
|
|
1535
1544
|
"license": "MIT",
|
|
1536
1545
|
"dependencies": {
|
|
1537
1546
|
"function-bind": "^1.1.2"
|
|
@@ -1541,9 +1550,9 @@
|
|
|
1541
1550
|
}
|
|
1542
1551
|
},
|
|
1543
1552
|
"node_modules/hosted-git-info": {
|
|
1544
|
-
"version": "9.0.
|
|
1545
|
-
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.
|
|
1546
|
-
"integrity": "sha512-
|
|
1553
|
+
"version": "9.0.3",
|
|
1554
|
+
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.3.tgz",
|
|
1555
|
+
"integrity": "sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==",
|
|
1547
1556
|
"license": "ISC",
|
|
1548
1557
|
"dependencies": {
|
|
1549
1558
|
"lru-cache": "^11.1.0"
|
|
@@ -1795,9 +1804,9 @@
|
|
|
1795
1804
|
}
|
|
1796
1805
|
},
|
|
1797
1806
|
"node_modules/lru-cache": {
|
|
1798
|
-
"version": "11.3.
|
|
1799
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.
|
|
1800
|
-
"integrity": "sha512-
|
|
1807
|
+
"version": "11.3.5",
|
|
1808
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.5.tgz",
|
|
1809
|
+
"integrity": "sha512-NxVFwLAnrd9i7KUBxC4DrUhmgjzOs+1Qm50D3oF1/oL+r1NpZ4gA7xvG0/zJ8evR7zIKn4vLf7qTNduWFtCrRw==",
|
|
1801
1810
|
"license": "BlueOak-1.0.0",
|
|
1802
1811
|
"engines": {
|
|
1803
1812
|
"node": "20 || >=22"
|
|
@@ -2315,13 +2324,7 @@
|
|
|
2315
2324
|
"spdx-license-ids": "^3.0.0"
|
|
2316
2325
|
}
|
|
2317
2326
|
},
|
|
2318
|
-
"node_modules/spdx-
|
|
2319
|
-
"version": "2.5.0",
|
|
2320
|
-
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
|
|
2321
|
-
"integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
|
|
2322
|
-
"license": "CC-BY-3.0"
|
|
2323
|
-
},
|
|
2324
|
-
"node_modules/spdx-expression-parse": {
|
|
2327
|
+
"node_modules/spdx-correct/node_modules/spdx-expression-parse": {
|
|
2325
2328
|
"version": "3.0.1",
|
|
2326
2329
|
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
|
|
2327
2330
|
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
|
|
@@ -2331,6 +2334,12 @@
|
|
|
2331
2334
|
"spdx-license-ids": "^3.0.0"
|
|
2332
2335
|
}
|
|
2333
2336
|
},
|
|
2337
|
+
"node_modules/spdx-exceptions": {
|
|
2338
|
+
"version": "2.5.0",
|
|
2339
|
+
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
|
|
2340
|
+
"integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
|
|
2341
|
+
"license": "CC-BY-3.0"
|
|
2342
|
+
},
|
|
2334
2343
|
"node_modules/spdx-license-ids": {
|
|
2335
2344
|
"version": "3.0.23",
|
|
2336
2345
|
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.23.tgz",
|
|
@@ -2493,9 +2502,9 @@
|
|
|
2493
2502
|
}
|
|
2494
2503
|
},
|
|
2495
2504
|
"node_modules/tar-stream": {
|
|
2496
|
-
"version": "3.
|
|
2497
|
-
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.
|
|
2498
|
-
"integrity": "sha512-
|
|
2505
|
+
"version": "3.2.0",
|
|
2506
|
+
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.0.tgz",
|
|
2507
|
+
"integrity": "sha512-ojzvCvVaNp6aOTFmG7jaRD0meowIAuPc3cMMhSgKiVWws1GyHbGd/xvnyuRKcKlMpt3qvxx6r0hreCNITP9hIg==",
|
|
2499
2508
|
"license": "MIT",
|
|
2500
2509
|
"dependencies": {
|
|
2501
2510
|
"b4a": "^1.6.4",
|
|
@@ -2505,12 +2514,11 @@
|
|
|
2505
2514
|
}
|
|
2506
2515
|
},
|
|
2507
2516
|
"node_modules/teen_process": {
|
|
2508
|
-
"version": "4.1.
|
|
2509
|
-
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.
|
|
2510
|
-
"integrity": "sha512-
|
|
2517
|
+
"version": "4.1.3",
|
|
2518
|
+
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
|
|
2519
|
+
"integrity": "sha512-8W7Xp7WtJ5ZXjv0iHMsCgPPKzUt6ACfG/rDWX0tMIlMJaYcTYsPw3ZQQ9+hG7YsY+gm+DUATiyah3AraJ9JYpg==",
|
|
2511
2520
|
"license": "Apache-2.0",
|
|
2512
2521
|
"dependencies": {
|
|
2513
|
-
"lodash": "^4.17.21",
|
|
2514
2522
|
"shell-quote": "^1.8.1"
|
|
2515
2523
|
},
|
|
2516
2524
|
"engines": {
|
|
@@ -2559,9 +2567,9 @@
|
|
|
2559
2567
|
"license": "0BSD"
|
|
2560
2568
|
},
|
|
2561
2569
|
"node_modules/type-fest": {
|
|
2562
|
-
"version": "5.
|
|
2563
|
-
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.
|
|
2564
|
-
"integrity": "sha512-
|
|
2570
|
+
"version": "5.6.0",
|
|
2571
|
+
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.6.0.tgz",
|
|
2572
|
+
"integrity": "sha512-8ZiHFm91orbSAe2PSAiSVBVko18pbhbiB3U9GglSzF/zCGkR+rxpHx6sEMCUm4kxY4LjDIUGgCfUMtwfZfjfUA==",
|
|
2565
2573
|
"license": "(MIT OR CC0-1.0)",
|
|
2566
2574
|
"dependencies": {
|
|
2567
2575
|
"tagged-tag": "^1.0.0"
|
|
@@ -2607,9 +2615,9 @@
|
|
|
2607
2615
|
"license": "MIT"
|
|
2608
2616
|
},
|
|
2609
2617
|
"node_modules/uuid": {
|
|
2610
|
-
"version": "
|
|
2611
|
-
"resolved": "https://registry.npmjs.org/uuid/-/uuid-
|
|
2612
|
-
"integrity": "sha512-
|
|
2618
|
+
"version": "14.0.0",
|
|
2619
|
+
"resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz",
|
|
2620
|
+
"integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==",
|
|
2613
2621
|
"funding": [
|
|
2614
2622
|
"https://github.com/sponsors/broofa",
|
|
2615
2623
|
"https://github.com/sponsors/ctavan"
|
|
@@ -2629,6 +2637,16 @@
|
|
|
2629
2637
|
"spdx-expression-parse": "^3.0.0"
|
|
2630
2638
|
}
|
|
2631
2639
|
},
|
|
2640
|
+
"node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": {
|
|
2641
|
+
"version": "3.0.1",
|
|
2642
|
+
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
|
|
2643
|
+
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
|
|
2644
|
+
"license": "MIT",
|
|
2645
|
+
"dependencies": {
|
|
2646
|
+
"spdx-exceptions": "^2.1.0",
|
|
2647
|
+
"spdx-license-ids": "^3.0.0"
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2632
2650
|
"node_modules/which": {
|
|
2633
2651
|
"version": "6.0.1",
|
|
2634
2652
|
"resolved": "https://registry.npmjs.org/which/-/which-6.0.1.tgz",
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"mac",
|
|
7
7
|
"XCTest"
|
|
8
8
|
],
|
|
9
|
-
"version": "3.3.
|
|
9
|
+
"version": "3.3.3",
|
|
10
10
|
"author": "Appium Contributors",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"repository": {
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"asyncbox": "^6.0.1",
|
|
53
53
|
"axios": "^1.x",
|
|
54
54
|
"bluebird": "^3.5.1",
|
|
55
|
-
"lodash": "^4.17.4",
|
|
56
55
|
"portscanner": "2.2.0",
|
|
57
56
|
"teen_process": "^4.0.4"
|
|
58
57
|
},
|
|
@@ -80,7 +79,6 @@
|
|
|
80
79
|
"@semantic-release/git": "^10.0.1",
|
|
81
80
|
"@types/bluebird": "^3.5.38",
|
|
82
81
|
"@types/chai-as-promised": "^8.0.2",
|
|
83
|
-
"@types/lodash": "^4.14.196",
|
|
84
82
|
"@types/mocha": "^10.0.1",
|
|
85
83
|
"@types/node": "^25.0.0",
|
|
86
84
|
"@types/sinon": "^21.0.0",
|