appium-espresso-driver 10.3.0 → 10.4.0
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 +10 -0
- package/build/lib/commands/orientation.d.ts +33 -0
- package/build/lib/commands/orientation.d.ts.map +1 -0
- package/build/lib/commands/orientation.js +34 -0
- package/build/lib/commands/orientation.js.map +1 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +13 -0
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts +4 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/lib/commands/orientation.ts +49 -0
- package/lib/driver.ts +14 -0
- package/node_modules/appium-android-driver/CHANGELOG.md +51 -0
- package/node_modules/appium-android-driver/build/lib/commands/find.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/find.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.d.ts +4 -0
- package/node_modules/appium-android-driver/build/lib/commands/log.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.js +2 -0
- package/node_modules/appium-android-driver/build/lib/commands/log.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts +3 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js +4 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts +10 -4
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js +37 -17
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts +34 -2
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js +89 -43
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.d.ts +5 -0
- package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.js +1 -0
- package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts +4 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js +5 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/find.ts +2 -2
- package/node_modules/appium-android-driver/lib/commands/log.ts +4 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/constants.ts +4 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/exports.ts +51 -17
- package/node_modules/appium-android-driver/lib/commands/media-stream/stream.ts +90 -43
- package/node_modules/appium-android-driver/lib/driver.ts +1 -0
- package/node_modules/appium-android-driver/lib/execute-method-map.ts +6 -0
- package/node_modules/appium-android-driver/package.json +4 -4
- package/node_modules/asyncbox/README.md +7 -3
- package/node_modules/asyncbox/build/lib/shared/errors.d.ts +18 -2
- package/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -1
- package/node_modules/asyncbox/build/lib/shared/errors.js +24 -8
- package/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -1
- package/node_modules/asyncbox/lib/shared/errors.ts +34 -8
- package/node_modules/asyncbox/package.json +1 -1
- package/node_modules/bare-fs/package.json +2 -2
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/node_modules/io.appium.settings/CHANGELOG.md +14 -0
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/package.json +2 -2
- package/node_modules/plist/dist/parse-binary.d.ts.map +1 -1
- package/node_modules/plist/dist/parse-binary.js +37 -9
- package/node_modules/plist/dist/parse-binary.js.map +1 -1
- package/node_modules/plist/package.json +1 -1
- package/package.json +4 -4
- package/scripts/lib/dependency-versions/apk-meta-inf.mjs +0 -13
- package/scripts/lib/dependency-versions/comparison.mjs +17 -47
- package/scripts/lib/dependency-versions/gradle-scan.mjs +77 -87
- package/scripts/lib/dependency-versions/index.mjs +1 -1
- package/scripts/lib/dependency-versions/report.mjs +4 -4
- package/scripts/lib/dependency-versions/tracked-modules.mjs +2 -42
- package/scripts/lib/dependency-versions/types.mjs +2 -1
- package/scripts/lib/dependency-versions/version-utils.mjs +124 -2
- package/scripts/lib/diagnose/app-input.mjs +4 -1
- package/scripts/lib/diagnose/checks/compile-sdk.mjs +6 -2
- package/scripts/lib/diagnose/checks/dependency.mjs +1 -1
- package/scripts/lib/diagnose/checks/index.mjs +0 -3
- package/scripts/lib/diagnose/checks/obfuscation.mjs +1 -1
- package/scripts/lib/diagnose/diagnosis.mjs +2 -7
- package/scripts/lib/diagnose/report.mjs +2 -2
- package/scripts/lib/diagnose/checks/androidx.mjs +0 -40
- package/scripts/lib/diagnose/checks/lifecycle-extensions.mjs +0 -23
- package/scripts/lib/diagnose/checks/startup-provider.mjs +0 -41
|
@@ -1,27 +1,43 @@
|
|
|
1
|
-
/** Base class of the built-in typed errors of this package; match by
|
|
1
|
+
/** Base class of the built-in typed errors of this package; match by {@link AsyncboxError.is} or `code`. */
|
|
2
2
|
export declare class AsyncboxError extends Error {
|
|
3
|
-
/** Stable machine-readable identifier, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
3
|
+
/** Stable machine-readable identifier of the error class, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
4
|
+
static readonly code: string;
|
|
5
|
+
/** Same as the static `code` of the error class */
|
|
4
6
|
readonly code: string;
|
|
5
7
|
constructor(message: string, code?: string);
|
|
8
|
+
/**
|
|
9
|
+
* Whether `err` is an instance of this error class. Unlike a bare `instanceof`, it also
|
|
10
|
+
* matches by `code`, so errors created by another copy of this package are recognized.
|
|
11
|
+
* Subclasses are matched by `instanceof` only, i.e. `TimeoutError.is` does not match a
|
|
12
|
+
* `ConditionUnmetError` created by another copy.
|
|
13
|
+
*/
|
|
14
|
+
static is<E extends AsyncboxError>(this: (abstract new (...args: any[]) => E) & {
|
|
15
|
+
code: string;
|
|
16
|
+
}, err: unknown): err is E;
|
|
6
17
|
}
|
|
7
18
|
/** Error thrown by {@link withTimeout} when the deadline is exceeded. */
|
|
8
19
|
export declare class TimeoutError extends AsyncboxError {
|
|
20
|
+
static readonly code: string;
|
|
9
21
|
constructor(message?: string, code?: string);
|
|
10
22
|
}
|
|
11
23
|
/** Thrown by {@link waitForCondition} when the condition is not met in time. */
|
|
12
24
|
export declare class ConditionUnmetError extends TimeoutError {
|
|
25
|
+
static readonly code = "ERR_ASYNCBOX_CONDITION_UNMET";
|
|
13
26
|
constructor(message?: string);
|
|
14
27
|
}
|
|
15
28
|
/** Thrown by {@link AsyncLock} when a queue, execution or occupation time limit is exceeded. */
|
|
16
29
|
export declare class LockTimeoutError extends TimeoutError {
|
|
30
|
+
static readonly code = "ERR_ASYNCBOX_LOCK_TIMEOUT";
|
|
17
31
|
constructor(message?: string);
|
|
18
32
|
}
|
|
19
33
|
/** Thrown by {@link AsyncLock} when the queue of a key already holds `maxPending` tasks. */
|
|
20
34
|
export declare class LockQueueFullError extends AsyncboxError {
|
|
35
|
+
static readonly code = "ERR_ASYNCBOX_LOCK_QUEUE_FULL";
|
|
21
36
|
constructor(message?: string);
|
|
22
37
|
}
|
|
23
38
|
/** Thrown when a promise is cancelled via `cancel`. */
|
|
24
39
|
export declare class PromiseCancellationError extends AsyncboxError {
|
|
40
|
+
static readonly code = "ERR_ASYNCBOX_CANCELLED";
|
|
25
41
|
constructor(message?: string);
|
|
26
42
|
}
|
|
27
43
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G,qBAAa,aAAc,SAAQ,KAAK;IACtC,yFAAyF;IACzF,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAkB;IAE9C,mDAAmD;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBAEV,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,MAAwB;IAM3D;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,aAAa,EAC/B,IAAI,EAAE,CAAC,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,GAAG;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,EAC3D,GAAG,EAAE,OAAO,GACX,GAAG,IAAI,CAAC;CAGZ;AAED,yEAAyE;AACzE,qBAAa,YAAa,SAAQ,aAAa;IAC7C,gBAAyB,IAAI,EAAE,MAAM,CAA0B;gBAEnD,OAAO,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM;CAI5C;AAED,gFAAgF;AAChF,qBAAa,mBAAoB,SAAQ,YAAY;IACnD,gBAAyB,IAAI,kCAAkC;gBAEnD,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,gGAAgG;AAChG,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,gBAAyB,IAAI,+BAA+B;gBAEhD,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,4FAA4F;AAC5F,qBAAa,kBAAmB,SAAQ,aAAa;IACnD,gBAAyB,IAAI,kCAAkC;gBAEnD,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,uDAAuD;AACvD,qBAAa,wBAAyB,SAAQ,aAAa;IACzD,gBAAyB,IAAI,4BAA4B;gBAE7C,OAAO,GAAE,MAA4B;CAIlD"}
|
|
@@ -1,45 +1,61 @@
|
|
|
1
|
-
/** Base class of the built-in typed errors of this package; match by
|
|
1
|
+
/** Base class of the built-in typed errors of this package; match by {@link AsyncboxError.is} or `code`. */
|
|
2
2
|
export class AsyncboxError extends Error {
|
|
3
|
-
/** Stable machine-readable identifier, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
3
|
+
/** Stable machine-readable identifier of the error class, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
4
|
+
static code = 'ERR_ASYNCBOX';
|
|
5
|
+
/** Same as the static `code` of the error class */
|
|
4
6
|
code;
|
|
5
|
-
constructor(message, code =
|
|
7
|
+
constructor(message, code = new.target.code) {
|
|
6
8
|
super(message);
|
|
7
9
|
this.name = 'AsyncboxError';
|
|
8
10
|
this.code = code;
|
|
9
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Whether `err` is an instance of this error class. Unlike a bare `instanceof`, it also
|
|
14
|
+
* matches by `code`, so errors created by another copy of this package are recognized.
|
|
15
|
+
* Subclasses are matched by `instanceof` only, i.e. `TimeoutError.is` does not match a
|
|
16
|
+
* `ConditionUnmetError` created by another copy.
|
|
17
|
+
*/
|
|
18
|
+
static is(err) {
|
|
19
|
+
return err instanceof this || (err instanceof Error && err.code === this.code);
|
|
20
|
+
}
|
|
10
21
|
}
|
|
11
22
|
/** Error thrown by {@link withTimeout} when the deadline is exceeded. */
|
|
12
23
|
export class TimeoutError extends AsyncboxError {
|
|
13
|
-
|
|
24
|
+
static code = 'ERR_ASYNCBOX_TIMEOUT';
|
|
25
|
+
constructor(message, code) {
|
|
14
26
|
super(message ?? 'Operation timed out', code);
|
|
15
27
|
this.name = 'TimeoutError';
|
|
16
28
|
}
|
|
17
29
|
}
|
|
18
30
|
/** Thrown by {@link waitForCondition} when the condition is not met in time. */
|
|
19
31
|
export class ConditionUnmetError extends TimeoutError {
|
|
32
|
+
static code = 'ERR_ASYNCBOX_CONDITION_UNMET';
|
|
20
33
|
constructor(message) {
|
|
21
|
-
super(message ?? 'Condition unmet'
|
|
34
|
+
super(message ?? 'Condition unmet');
|
|
22
35
|
this.name = 'ConditionUnmetError';
|
|
23
36
|
}
|
|
24
37
|
}
|
|
25
38
|
/** Thrown by {@link AsyncLock} when a queue, execution or occupation time limit is exceeded. */
|
|
26
39
|
export class LockTimeoutError extends TimeoutError {
|
|
40
|
+
static code = 'ERR_ASYNCBOX_LOCK_TIMEOUT';
|
|
27
41
|
constructor(message) {
|
|
28
|
-
super(message ?? 'Lock timed out'
|
|
42
|
+
super(message ?? 'Lock timed out');
|
|
29
43
|
this.name = 'LockTimeoutError';
|
|
30
44
|
}
|
|
31
45
|
}
|
|
32
46
|
/** Thrown by {@link AsyncLock} when the queue of a key already holds `maxPending` tasks. */
|
|
33
47
|
export class LockQueueFullError extends AsyncboxError {
|
|
48
|
+
static code = 'ERR_ASYNCBOX_LOCK_QUEUE_FULL';
|
|
34
49
|
constructor(message) {
|
|
35
|
-
super(message ?? 'Too many pending tasks in queue'
|
|
50
|
+
super(message ?? 'Too many pending tasks in queue');
|
|
36
51
|
this.name = 'LockQueueFullError';
|
|
37
52
|
}
|
|
38
53
|
}
|
|
39
54
|
/** Thrown when a promise is cancelled via `cancel`. */
|
|
40
55
|
export class PromiseCancellationError extends AsyncboxError {
|
|
56
|
+
static code = 'ERR_ASYNCBOX_CANCELLED';
|
|
41
57
|
constructor(message = 'Promise cancelled') {
|
|
42
|
-
super(message
|
|
58
|
+
super(message);
|
|
43
59
|
this.name = 'PromiseCancellationError';
|
|
44
60
|
}
|
|
45
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G,MAAM,OAAO,aAAc,SAAQ,KAAK;IACtC,yFAAyF;IACzF,MAAM,CAAU,IAAI,GAAW,cAAc,CAAC;IAE9C,mDAAmD;IAC1C,IAAI,CAAS;IAEtB,YAAY,OAAe,EAAE,OAAe,GAAG,CAAC,MAAM,CAAC,IAAI;QACzD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAC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CAAC;IAEzD,YAAY,UAAkB,mBAAmB;QAC/C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC"}
|
|
@@ -1,18 +1,36 @@
|
|
|
1
|
-
/** Base class of the built-in typed errors of this package; match by
|
|
1
|
+
/** Base class of the built-in typed errors of this package; match by {@link AsyncboxError.is} or `code`. */
|
|
2
2
|
export class AsyncboxError extends Error {
|
|
3
|
-
/** Stable machine-readable identifier, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
3
|
+
/** Stable machine-readable identifier of the error class, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
4
|
+
static readonly code: string = 'ERR_ASYNCBOX';
|
|
5
|
+
|
|
6
|
+
/** Same as the static `code` of the error class */
|
|
4
7
|
readonly code: string;
|
|
5
8
|
|
|
6
|
-
constructor(message: string, code: string =
|
|
9
|
+
constructor(message: string, code: string = new.target.code) {
|
|
7
10
|
super(message);
|
|
8
11
|
this.name = 'AsyncboxError';
|
|
9
12
|
this.code = code;
|
|
10
13
|
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Whether `err` is an instance of this error class. Unlike a bare `instanceof`, it also
|
|
17
|
+
* matches by `code`, so errors created by another copy of this package are recognized.
|
|
18
|
+
* Subclasses are matched by `instanceof` only, i.e. `TimeoutError.is` does not match a
|
|
19
|
+
* `ConditionUnmetError` created by another copy.
|
|
20
|
+
*/
|
|
21
|
+
static is<E extends AsyncboxError>(
|
|
22
|
+
this: (abstract new (...args: any[]) => E) & {code: string},
|
|
23
|
+
err: unknown,
|
|
24
|
+
): err is E {
|
|
25
|
+
return err instanceof this || (err instanceof Error && (err as {code?: unknown}).code === this.code);
|
|
26
|
+
}
|
|
11
27
|
}
|
|
12
28
|
|
|
13
29
|
/** Error thrown by {@link withTimeout} when the deadline is exceeded. */
|
|
14
30
|
export class TimeoutError extends AsyncboxError {
|
|
15
|
-
|
|
31
|
+
static override readonly code: string = 'ERR_ASYNCBOX_TIMEOUT';
|
|
32
|
+
|
|
33
|
+
constructor(message?: string, code?: string) {
|
|
16
34
|
super(message ?? 'Operation timed out', code);
|
|
17
35
|
this.name = 'TimeoutError';
|
|
18
36
|
}
|
|
@@ -20,32 +38,40 @@ export class TimeoutError extends AsyncboxError {
|
|
|
20
38
|
|
|
21
39
|
/** Thrown by {@link waitForCondition} when the condition is not met in time. */
|
|
22
40
|
export class ConditionUnmetError extends TimeoutError {
|
|
41
|
+
static override readonly code = 'ERR_ASYNCBOX_CONDITION_UNMET';
|
|
42
|
+
|
|
23
43
|
constructor(message?: string) {
|
|
24
|
-
super(message ?? 'Condition unmet'
|
|
44
|
+
super(message ?? 'Condition unmet');
|
|
25
45
|
this.name = 'ConditionUnmetError';
|
|
26
46
|
}
|
|
27
47
|
}
|
|
28
48
|
|
|
29
49
|
/** Thrown by {@link AsyncLock} when a queue, execution or occupation time limit is exceeded. */
|
|
30
50
|
export class LockTimeoutError extends TimeoutError {
|
|
51
|
+
static override readonly code = 'ERR_ASYNCBOX_LOCK_TIMEOUT';
|
|
52
|
+
|
|
31
53
|
constructor(message?: string) {
|
|
32
|
-
super(message ?? 'Lock timed out'
|
|
54
|
+
super(message ?? 'Lock timed out');
|
|
33
55
|
this.name = 'LockTimeoutError';
|
|
34
56
|
}
|
|
35
57
|
}
|
|
36
58
|
|
|
37
59
|
/** Thrown by {@link AsyncLock} when the queue of a key already holds `maxPending` tasks. */
|
|
38
60
|
export class LockQueueFullError extends AsyncboxError {
|
|
61
|
+
static override readonly code = 'ERR_ASYNCBOX_LOCK_QUEUE_FULL';
|
|
62
|
+
|
|
39
63
|
constructor(message?: string) {
|
|
40
|
-
super(message ?? 'Too many pending tasks in queue'
|
|
64
|
+
super(message ?? 'Too many pending tasks in queue');
|
|
41
65
|
this.name = 'LockQueueFullError';
|
|
42
66
|
}
|
|
43
67
|
}
|
|
44
68
|
|
|
45
69
|
/** Thrown when a promise is cancelled via `cancel`. */
|
|
46
70
|
export class PromiseCancellationError extends AsyncboxError {
|
|
71
|
+
static override readonly code = 'ERR_ASYNCBOX_CANCELLED';
|
|
72
|
+
|
|
47
73
|
constructor(message: string = 'Promise cancelled') {
|
|
48
|
-
super(message
|
|
74
|
+
super(message);
|
|
49
75
|
this.name = 'PromiseCancellationError';
|
|
50
76
|
}
|
|
51
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-fs",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.5",
|
|
4
4
|
"description": "Native file system operations for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"bare-crypto": "^1.11.2",
|
|
60
60
|
"bare-thread": "^1.2.6",
|
|
61
61
|
"brittle": "^3.1.1",
|
|
62
|
-
"cmake-bare": "^1.
|
|
62
|
+
"cmake-bare": "^1.18.0",
|
|
63
63
|
"lunte": "^1.6.0",
|
|
64
64
|
"prettier": "^3.4.1",
|
|
65
65
|
"prettier-config-holepunch": "^2.0.0"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [9.2.3](https://github.com/appium/appium-android/compare/io.appium.settings@9.2.2...io.appium.settings@9.2.3) (2026-11-19)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* **wrapper:** update gradle to v9.9.1 ([#147](https://github.com/appium/appium-android/issues/147)) ([ac49a3c](https://github.com/appium/appium-android/commit/ac49a3c6e46928b1874733b62826d38d9b41e653))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [9.2.2](https://github.com/appium/appium-android/compare/io.appium.settings@9.2.1...io.appium.settings@9.2.2) (2026-11-19)
|
|
14
|
+
|
|
15
|
+
### Miscellaneous Chores
|
|
16
|
+
|
|
17
|
+
* **settings:** update dependency com.android.tools.build:gradle to v9.5.1 ([#139](https://github.com/appium/appium-android/issues/139)) ([a65bae7](https://github.com/appium/appium-android/commit/a65bae7546cb4563ca745f64899d5698a5a1793f))
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [9.2.1](https://github.com/appium/appium-android/compare/io.appium.settings@9.2.0...io.appium.settings@9.2.1) (2026-11-17)
|
|
7
21
|
|
|
8
22
|
### Miscellaneous Chores
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "io.appium.settings",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.3",
|
|
4
4
|
"description": "App for dealing with Android settings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"android",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0",
|
|
71
71
|
"npm": ">=10"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "f648f6b1227f663fad7d02bcab71f4b655333a38"
|
|
74
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-binary.d.ts","sourceRoot":"","sources":["../src/parse-binary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAqB7C;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"parse-binary.d.ts","sourceRoot":"","sources":["../src/parse-binary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAqB7C;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CA8MxD"}
|
|
@@ -56,9 +56,28 @@ export function parseBinary(data) {
|
|
|
56
56
|
}
|
|
57
57
|
// Each object is parsed at most once. Without this, objects referenced
|
|
58
58
|
// from multiple places would be re-parsed every time, allowing a small
|
|
59
|
-
// input to expand exponentially.
|
|
59
|
+
// input to expand exponentially. The cache is keyed by byte offset rather
|
|
60
|
+
// than object index, since several offset table entries may point at the
|
|
61
|
+
// same offset. `inProgress` detects reference cycles.
|
|
60
62
|
const cache = new Map();
|
|
61
63
|
const inProgress = new Set();
|
|
64
|
+
// Objects at distinct offsets can still overlap one another's bytes, so a
|
|
65
|
+
// crafted file could describe many large strings or collections that share
|
|
66
|
+
// the same payload and expand quadratically. Every object (collection refs,
|
|
67
|
+
// string characters) must lie within the object area, and a well-formed
|
|
68
|
+
// file never materializes more payload bytes than that area holds, so
|
|
69
|
+
// anything beyond it is rejected.
|
|
70
|
+
const objectAreaEnd = offsetTableOffset;
|
|
71
|
+
let budget = objectAreaEnd - 8;
|
|
72
|
+
function claim(offset, byteLength) {
|
|
73
|
+
if (!Number.isSafeInteger(byteLength) || byteLength > objectAreaEnd - offset) {
|
|
74
|
+
throw new Error('Invalid binary plist: object extends past object area');
|
|
75
|
+
}
|
|
76
|
+
budget -= byteLength;
|
|
77
|
+
if (budget < 0) {
|
|
78
|
+
throw new Error('Invalid binary plist: overlapping objects');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
62
81
|
function readRef(offset) {
|
|
63
82
|
const ref = readSizedInt(view, offset, objectRefSize);
|
|
64
83
|
if (ref >= numObjects) {
|
|
@@ -67,28 +86,29 @@ export function parseBinary(data) {
|
|
|
67
86
|
return ref;
|
|
68
87
|
}
|
|
69
88
|
function parseObject(index) {
|
|
70
|
-
const
|
|
89
|
+
const objOffset = offsets[index];
|
|
90
|
+
const cached = cache.get(objOffset);
|
|
71
91
|
if (cached !== undefined)
|
|
72
92
|
return cached;
|
|
73
|
-
if (inProgress.has(
|
|
93
|
+
if (inProgress.has(objOffset)) {
|
|
74
94
|
throw new Error('Invalid binary plist: circular object reference');
|
|
75
95
|
}
|
|
76
|
-
inProgress.add(
|
|
96
|
+
inProgress.add(objOffset);
|
|
77
97
|
try {
|
|
78
|
-
const value = parseObjectUncached(
|
|
98
|
+
const value = parseObjectUncached(objOffset);
|
|
79
99
|
// Date and data objects are mutable and cheap to recreate, so don't
|
|
80
100
|
// share instances between references to avoid surprising aliasing
|
|
81
101
|
if (!(value instanceof Date) && !(value instanceof Uint8Array)) {
|
|
82
|
-
cache.set(
|
|
102
|
+
cache.set(objOffset, value);
|
|
83
103
|
}
|
|
84
104
|
return value;
|
|
85
105
|
}
|
|
86
106
|
finally {
|
|
87
|
-
inProgress.delete(
|
|
107
|
+
inProgress.delete(objOffset);
|
|
88
108
|
}
|
|
89
109
|
}
|
|
90
|
-
function parseObjectUncached(
|
|
91
|
-
let offset =
|
|
110
|
+
function parseObjectUncached(objOffset) {
|
|
111
|
+
let offset = objOffset;
|
|
92
112
|
const marker = view.getUint8(offset);
|
|
93
113
|
const type = marker >> 4;
|
|
94
114
|
let size = marker & 0x0f;
|
|
@@ -133,9 +153,14 @@ export function parseBinary(data) {
|
|
|
133
153
|
return new Date(timestamp * 1000 + EPOCH_2001);
|
|
134
154
|
}
|
|
135
155
|
case 0x4: { // data
|
|
156
|
+
// A view onto the input, not a copy, so not charged to the budget
|
|
157
|
+
if (size > objectAreaEnd - offset) {
|
|
158
|
+
throw new Error('Invalid binary plist: object extends past object area');
|
|
159
|
+
}
|
|
136
160
|
return new Uint8Array(data.buffer, data.byteOffset + offset, size);
|
|
137
161
|
}
|
|
138
162
|
case 0x5: { // ASCII string
|
|
163
|
+
claim(offset, size);
|
|
139
164
|
let s = '';
|
|
140
165
|
for (let i = 0; i < size; i++) {
|
|
141
166
|
s += String.fromCharCode(view.getUint8(offset + i));
|
|
@@ -143,6 +168,7 @@ export function parseBinary(data) {
|
|
|
143
168
|
return s;
|
|
144
169
|
}
|
|
145
170
|
case 0x6: { // UTF-16BE string
|
|
171
|
+
claim(offset, size * 2);
|
|
146
172
|
let s = '';
|
|
147
173
|
for (let i = 0; i < size; i++) {
|
|
148
174
|
s += String.fromCharCode(view.getUint16(offset + i * 2));
|
|
@@ -154,6 +180,7 @@ export function parseBinary(data) {
|
|
|
154
180
|
return { UID: readSizedInt(view, offset, byteCount) };
|
|
155
181
|
}
|
|
156
182
|
case 0xa: { // array
|
|
183
|
+
claim(offset, size * objectRefSize);
|
|
157
184
|
const arr = [];
|
|
158
185
|
for (let i = 0; i < size; i++) {
|
|
159
186
|
const ref = readRef(offset + i * objectRefSize);
|
|
@@ -162,6 +189,7 @@ export function parseBinary(data) {
|
|
|
162
189
|
return arr;
|
|
163
190
|
}
|
|
164
191
|
case 0xd: { // dict
|
|
192
|
+
claim(offset, size * 2 * objectRefSize);
|
|
165
193
|
const dict = {};
|
|
166
194
|
for (let i = 0; i < size; i++) {
|
|
167
195
|
const keyRef = readRef(offset + i * objectRefSize);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-binary.js","sourceRoot":"","sources":["../src/parse-binary.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,UAAU,GAAG,YAAY,CAAC,CAAC,uCAAuC;AAExE,SAAS,YAAY,CAAC,IAAc,EAAE,MAAc,EAAE,IAAY;IAChE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,CAAC,CAAC,CAAC;YACP,MAAM,EAAE,GAAG,IAAI,CAAC,SAAS,CAA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BAChC,aAAa,CAAC,GAAG,CAAC,CAAC;oBACnB,IAAI,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;gBAClC,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;YAED;gBACE,MAAM,IAAI,KAAK,CAAC,0BAA0B,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AAChC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0",
|
|
4
4
|
"description": "Espresso integration for Appium",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"android",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"appium-adb": "17.0.4",
|
|
58
|
-
"appium-android-driver": "15.
|
|
59
|
-
"asyncbox": "7.
|
|
58
|
+
"appium-android-driver": "15.4.6",
|
|
59
|
+
"asyncbox": "7.1.0",
|
|
60
60
|
"axios": "1.21.1",
|
|
61
61
|
"commander": "15.1.0",
|
|
62
|
-
"io.appium.settings": "9.2.
|
|
62
|
+
"io.appium.settings": "9.2.3",
|
|
63
63
|
"semver": "7.8.6",
|
|
64
64
|
"teen_process": "5.0.1"
|
|
65
65
|
},
|
|
@@ -8,19 +8,6 @@ import {normalizeVersion} from './version-utils.mjs';
|
|
|
8
8
|
const META_INF_VERSION_MODULE_RULES = [
|
|
9
9
|
{moduleId: 'compose', matches: (base) => base.startsWith('androidx.compose.')},
|
|
10
10
|
{moduleId: 'kotlin', matches: (base) => base.startsWith('org.jetbrains.kotlin_')},
|
|
11
|
-
{moduleId: 'espresso', matches: (base) => base.startsWith('androidx.test.espresso')},
|
|
12
|
-
{
|
|
13
|
-
moduleId: 'annotation',
|
|
14
|
-
matches: (base) => base.startsWith('androidx.annotation_annotation') && !base.includes('experimental'),
|
|
15
|
-
},
|
|
16
|
-
{moduleId: 'uiautomator', matches: (base) => base.startsWith('androidx.test.uiautomator')},
|
|
17
|
-
{
|
|
18
|
-
moduleId: 'androidxTest',
|
|
19
|
-
matches: (base) =>
|
|
20
|
-
base.startsWith('androidx.test.') &&
|
|
21
|
-
!base.startsWith('androidx.test.espresso') &&
|
|
22
|
-
!base.startsWith('androidx.test.uiautomator'),
|
|
23
|
-
},
|
|
24
11
|
];
|
|
25
12
|
|
|
26
13
|
/**
|