appium-espresso-driver 2.35.0 → 2.36.1
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 +14 -0
- package/README.md +4 -0
- package/build/lib/commands/misc.d.ts.map +1 -1
- package/build/lib/commands/misc.js +0 -4
- package/build/lib/commands/misc.js.map +1 -1
- package/build/lib/driver.d.ts +0 -58
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/method-map.d.ts +0 -58
- package/build/lib/method-map.d.ts.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/lib/commands/misc.js +0 -1
- package/npm-shrinkwrap.json +32 -23
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.36.1](https://github.com/appium/appium-espresso-driver/compare/v2.36.0...v2.36.1) (2024-02-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Miscellaneous Chores
|
|
5
|
+
|
|
6
|
+
* **deps:** bump appium-android-driver from 8.4.0 to 9.0.0 ([#981](https://github.com/appium/appium-espresso-driver/issues/981)) ([ebc6220](https://github.com/appium/appium-espresso-driver/commit/ebc6220a1e34c171c7834941aee4725e056cc6e4))
|
|
7
|
+
|
|
8
|
+
## [2.36.0](https://github.com/appium/appium-espresso-driver/compare/v2.35.0...v2.36.0) (2024-02-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add checkVersion option for mobile:installApp ([#980](https://github.com/appium/appium-espresso-driver/issues/980)) ([a0438b8](https://github.com/appium/appium-espresso-driver/commit/a0438b8993524f0e216a2c661cae6dd66c21611c))
|
|
14
|
+
|
|
1
15
|
## [2.35.0](https://github.com/appium/appium-espresso-driver/compare/v2.34.4...v2.35.0) (2024-02-08)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -918,6 +918,8 @@ The call is ignored if the app is not installed.
|
|
|
918
918
|
Name | Type | Required | Description | Example
|
|
919
919
|
--- | --- | --- | --- | ---
|
|
920
920
|
appId | string | yes | The identifier of the application package to be removed | `my.app.id`
|
|
921
|
+
timeout | number | no | The count of milliseconds to wait until the app is terminated. 20000ms by default. | 1500, 0
|
|
922
|
+
keepData | boolean | no | Set to true in order to keep the application data and cache folders after uninstall. | true
|
|
921
923
|
|
|
922
924
|
#### Returned Result
|
|
923
925
|
|
|
@@ -946,6 +948,7 @@ True if the app has been successfully terminated.
|
|
|
946
948
|
### mobile: installApp
|
|
947
949
|
|
|
948
950
|
Installs the given application package to the device under test.
|
|
951
|
+
It might raise the `INSTALL_FAILED_VERSION_DOWNGRADE` error if the installation was a version downgrade.
|
|
949
952
|
|
|
950
953
|
#### Arguments
|
|
951
954
|
|
|
@@ -957,6 +960,7 @@ allowTestPackages | boolean | no | Set to true in order to allow test packages i
|
|
|
957
960
|
useSdcard | boolean | no | Set to true to install the app on sdcard instead of the device memory. false by default | true
|
|
958
961
|
grantPermissions | boolean | no | Set to true in order to grant all the permissions requested in the application's manifest automatically after the installation is completed under Android 6+. The targetSdkVersion in the application manifest must be greater or equal to 23 and the Android version on the device under test must be greater or equal to Android 6 (API level 23) to grant permissions. Applications whose targetSdkVersion is lower than or equal to 22 must be reisntalled to grant permissions for Android 6+ devices. false by default | true
|
|
959
962
|
replace | boolean | no | Set it to false if you don't want the application to be upgraded/reinstalled if it is already present on the device, but throw an error instead. true by default | false
|
|
963
|
+
checkVersion | boolean | no | Set to true, in order to skip the application installation if the device under test has a greater or equal to the application version. It may help to avoid `INSTALL_FAILED_VERSION_DOWNGRADE` error and unnecessary installation. | true
|
|
960
964
|
|
|
961
965
|
### mobile: clearApp
|
|
962
966
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,yFAIC;AAED;;;;;;;;;GASG;AAEH;;;;;GAKG;AACH,4HAKC;AAED;;;GAGG;AACH,+EAFa,QAAQ,OAAO,UAAU,EAAE,UAAU,CAAC,CAIlD;AAED;;GAEG;AACH,4GASC;AAED;;;GAGG;AACH,6EAFa,QAAQ,MAAM,CAAC,CAM3B;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qFAHY,QAAQ,GAAG,CAAC,CAUvB;AAED;;;;;;;;;;GAUG;AACH,yGAGC;AAED;;;;;GAKG;AACH,uFAFa,QAAQ,MAAM,CAAC,CAM3B;AAED;;;;GAIG;AAEH;;;;;GAKG;AACH,mFAHW,eAAe,iBAUzB;AAED;;GAEG;AACH;;GAMC;;;;;;;;;;;;;;;;;;;;;;;;;;;YA5Bc,MAAM,GAAC,MAAM,GAAC,OAAO"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.getSettings = exports.updateSettings = exports.mobileUiautomatorPageSource = exports.mobileUiautomator = exports.mobileBackdoor = exports.getDisplayDensity = exports.mobileIsToastVisible = exports.mobileGetDeviceInfo = exports.mobilePressKey = exports.getClipboard = void 0;
|
|
7
|
-
const lodash_1 = __importDefault(require("lodash"));
|
|
8
4
|
const support_1 = require("appium/support");
|
|
9
5
|
const driver_1 = require("appium/driver");
|
|
10
6
|
const utils_1 = require("../utils");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../../lib/commands/misc.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"misc.js","sourceRoot":"","sources":["../../../lib/commands/misc.js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89
|
readonly command: "getSize";
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
-
readonly '/session/:sessionId/touch/click': {
|
|
93
|
-
readonly POST: {
|
|
94
|
-
readonly command: "click";
|
|
95
|
-
readonly payloadParams: {
|
|
96
|
-
readonly required: readonly ["element"];
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
readonly '/session/:sessionId/touch/down': {
|
|
101
|
-
readonly POST: {
|
|
102
|
-
readonly command: "touchDown";
|
|
103
|
-
readonly payloadParams: {
|
|
104
|
-
readonly required: readonly ["x", "y"];
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
readonly '/session/:sessionId/touch/up': {
|
|
109
|
-
readonly POST: {
|
|
110
|
-
readonly command: "touchUp";
|
|
111
|
-
readonly payloadParams: {
|
|
112
|
-
readonly required: readonly ["x", "y"];
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
readonly '/session/:sessionId/touch/move': {
|
|
117
|
-
readonly POST: {
|
|
118
|
-
readonly command: "touchMove";
|
|
119
|
-
readonly payloadParams: {
|
|
120
|
-
readonly required: readonly ["x", "y"];
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
readonly '/session/:sessionId/touch/longclick': {
|
|
125
|
-
readonly POST: {
|
|
126
|
-
readonly command: "touchLongClick";
|
|
127
|
-
readonly payloadParams: {
|
|
128
|
-
readonly required: readonly ["elements"];
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
readonly '/session/:sessionId/touch/perform': {
|
|
133
|
-
readonly POST: {
|
|
134
|
-
readonly command: "performTouch";
|
|
135
|
-
readonly payloadParams: {
|
|
136
|
-
readonly wrap: "actions";
|
|
137
|
-
readonly required: readonly ["actions"];
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
readonly '/session/:sessionId/touch/multi/perform': {
|
|
142
|
-
readonly POST: {
|
|
143
|
-
readonly command: "performMultiAction";
|
|
144
|
-
readonly payloadParams: {
|
|
145
|
-
readonly required: readonly ["actions"];
|
|
146
|
-
readonly optional: readonly ["elementId"];
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
92
|
readonly '/session/:sessionId/appium/device/lock': {
|
|
151
93
|
readonly POST: {
|
|
152
94
|
readonly command: "lock";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAKzD,OAAO,EAAE,cAAc,EAAgB,MAAM,mBAAmB,CAAC;AAEjE,OAAO,KAAK,iBAAiB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAS,MAAM,uBAAuB,CAAC;AAO7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAgH7F,qBAAa,cAAe,SAAQ,aAAc,YAAW,cAAc,CACzE,mBAAmB,EACnB,MAAM,EACN,YAAY,CACb;IACC,YAAY,EAAE,MAAM,GAAC,IAA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AA;IAMtB,QAAQ,CAAE,SAAS,KAAA;IAMnB,iBAAiB,CAAE,SAAS,KAAA;IAc5B,IAAI,WAAW,IAAK,OAAO,CAE1B;IAED,cAAc,oCAA8B;IAE5C,aAAa,mCAA6B;IAE1C,SAAS,qCAA+B;IACxC,QAAQ,oCAA8B;IACtC,KAAK,iCAA2B;IAChC,mBAAmB,+CAAyC;IAC5D,aAAa,yCAAmC;IAChD,mBAAmB,+CAAyC;IAE5D,cAAc,oCAA8B;IAC5C,wBAAwB,8CAAwC;IAEhE,yBAAyB,+CAAyC;IAClE,WAAW,iCAA2B;IACtC,gBAAgB,sCAAgC;IAChD,iBAAiB,uCAAiC;IAClD,aAAa,mCAA6B;IAC1C,aAAa,mCAA6B;IAC1C,gBAAgB,sCAAgC;IAChD,kBAAkB,wCAAkC;IACpD,kBAAkB,wCAAkC;IACpD,iBAAiB,uCAAiC;IAClD,qBAAqB,2CAAqC;IAE1D,YAAY,+BAAyB;IACrC,cAAc,iCAA2B;IACzC,mBAAmB,sCAAgC;IACnD,oBAAoB,uCAAiC;IACrD,iBAAiB,oCAA8B;IAC/C,cAAc,iCAA2B;IACzC,iBAAiB,oCAA8B;IAC/C,2BAA2B,8CAAwC;IACnE,cAAc,iCAA2B;IACzC,WAAW,8BAAwB;IAEnC,kBAAkB,yCAAmC;IACrD,iBAAiB,wCAAkC;IAEnD,aAAa,sCAAgC;IAC7C,iBAAiB,0CAAoC;IAErD,6BAA6B,2DAAqD;IAClF,+BAA+B,6DAAuD;IACtF,yBAAyB,uDAAiD;IAC1E,qBAAqB,mDAA6C;CACnE;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -71,64 +71,6 @@ export const newMethodMap: {
|
|
|
71
71
|
readonly command: "getSize";
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
readonly '/session/:sessionId/touch/click': {
|
|
75
|
-
readonly POST: {
|
|
76
|
-
readonly command: "click";
|
|
77
|
-
readonly payloadParams: {
|
|
78
|
-
readonly required: readonly ["element"];
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
readonly '/session/:sessionId/touch/down': {
|
|
83
|
-
readonly POST: {
|
|
84
|
-
readonly command: "touchDown";
|
|
85
|
-
readonly payloadParams: {
|
|
86
|
-
readonly required: readonly ["x", "y"];
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
readonly '/session/:sessionId/touch/up': {
|
|
91
|
-
readonly POST: {
|
|
92
|
-
readonly command: "touchUp";
|
|
93
|
-
readonly payloadParams: {
|
|
94
|
-
readonly required: readonly ["x", "y"];
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
readonly '/session/:sessionId/touch/move': {
|
|
99
|
-
readonly POST: {
|
|
100
|
-
readonly command: "touchMove";
|
|
101
|
-
readonly payloadParams: {
|
|
102
|
-
readonly required: readonly ["x", "y"];
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
readonly '/session/:sessionId/touch/longclick': {
|
|
107
|
-
readonly POST: {
|
|
108
|
-
readonly command: "touchLongClick";
|
|
109
|
-
readonly payloadParams: {
|
|
110
|
-
readonly required: readonly ["elements"];
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
readonly '/session/:sessionId/touch/perform': {
|
|
115
|
-
readonly POST: {
|
|
116
|
-
readonly command: "performTouch";
|
|
117
|
-
readonly payloadParams: {
|
|
118
|
-
readonly wrap: "actions";
|
|
119
|
-
readonly required: readonly ["actions"];
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
readonly '/session/:sessionId/touch/multi/perform': {
|
|
124
|
-
readonly POST: {
|
|
125
|
-
readonly command: "performMultiAction";
|
|
126
|
-
readonly payloadParams: {
|
|
127
|
-
readonly required: readonly ["actions"];
|
|
128
|
-
readonly optional: readonly ["elementId"];
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
74
|
readonly '/session/:sessionId/appium/device/lock': {
|
|
133
75
|
readonly POST: {
|
|
134
76
|
readonly command: "lock";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQG"}
|
|
Binary file
|
package/lib/commands/misc.js
CHANGED
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.36.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.36.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^12.0.0",
|
|
13
|
-
"appium-android-driver": "^
|
|
13
|
+
"appium-android-driver": "^9.0.0",
|
|
14
14
|
"asyncbox": "^3.0.0",
|
|
15
15
|
"bluebird": "^3.5.0",
|
|
16
16
|
"io.appium.settings": "^5.7.2",
|
|
@@ -188,6 +188,11 @@
|
|
|
188
188
|
"sharp": "0.33.2"
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
|
+
"node_modules/@appium/support/node_modules/@types/semver": {
|
|
192
|
+
"version": "7.5.6",
|
|
193
|
+
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
|
|
194
|
+
"integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A=="
|
|
195
|
+
},
|
|
191
196
|
"node_modules/@appium/support/node_modules/lru-cache": {
|
|
192
197
|
"version": "6.0.0",
|
|
193
198
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
|
@@ -731,9 +736,9 @@
|
|
|
731
736
|
}
|
|
732
737
|
},
|
|
733
738
|
"node_modules/@types/node": {
|
|
734
|
-
"version": "20.11.
|
|
735
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.
|
|
736
|
-
"integrity": "sha512-
|
|
739
|
+
"version": "20.11.17",
|
|
740
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.17.tgz",
|
|
741
|
+
"integrity": "sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==",
|
|
737
742
|
"dependencies": {
|
|
738
743
|
"undici-types": "~5.26.4"
|
|
739
744
|
}
|
|
@@ -774,11 +779,6 @@
|
|
|
774
779
|
"@types/node": "*"
|
|
775
780
|
}
|
|
776
781
|
},
|
|
777
|
-
"node_modules/@types/semver": {
|
|
778
|
-
"version": "7.5.6",
|
|
779
|
-
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
|
|
780
|
-
"integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A=="
|
|
781
|
-
},
|
|
782
782
|
"node_modules/@types/send": {
|
|
783
783
|
"version": "0.17.4",
|
|
784
784
|
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
|
|
@@ -907,9 +907,9 @@
|
|
|
907
907
|
}
|
|
908
908
|
},
|
|
909
909
|
"node_modules/appium-android-driver": {
|
|
910
|
-
"version": "
|
|
911
|
-
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-
|
|
912
|
-
"integrity": "sha512-
|
|
910
|
+
"version": "9.0.0",
|
|
911
|
+
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-9.0.0.tgz",
|
|
912
|
+
"integrity": "sha512-AA1IRuG0BFVUPtXEV2YXvcP4QMNMV6WJb2uBPWban8y+i7C7ockMCfKxdGSEHO4c9/gNH+O5G0M7mhCdlvTwtQ==",
|
|
913
913
|
"dependencies": {
|
|
914
914
|
"@appium/support": "^4.2.0",
|
|
915
915
|
"@colors/colors": "^1.6.0",
|
|
@@ -1104,6 +1104,12 @@
|
|
|
1104
1104
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
|
1105
1105
|
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
|
|
1106
1106
|
},
|
|
1107
|
+
"node_modules/bare-events": {
|
|
1108
|
+
"version": "2.2.0",
|
|
1109
|
+
"resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.2.0.tgz",
|
|
1110
|
+
"integrity": "sha512-Yyyqff4PIFfSuthCZqLlPISTWHmnQxoPuAvkmgzsJEmG3CesdIv6Xweayl0JkCZJSB2yYIdJyEz97tpxNhgjbg==",
|
|
1111
|
+
"optional": true
|
|
1112
|
+
},
|
|
1107
1113
|
"node_modules/base64-js": {
|
|
1108
1114
|
"version": "1.5.1",
|
|
1109
1115
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
|
@@ -2141,9 +2147,9 @@
|
|
|
2141
2147
|
"integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
|
|
2142
2148
|
},
|
|
2143
2149
|
"node_modules/hasown": {
|
|
2144
|
-
"version": "2.0.
|
|
2145
|
-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.
|
|
2146
|
-
"integrity": "sha512-
|
|
2150
|
+
"version": "2.0.1",
|
|
2151
|
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
|
|
2152
|
+
"integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
|
|
2147
2153
|
"dependencies": {
|
|
2148
2154
|
"function-bind": "^1.1.2"
|
|
2149
2155
|
},
|
|
@@ -3564,9 +3570,9 @@
|
|
|
3564
3570
|
}
|
|
3565
3571
|
},
|
|
3566
3572
|
"node_modules/spdx-license-ids": {
|
|
3567
|
-
"version": "3.0.
|
|
3568
|
-
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
|
|
3569
|
-
"integrity": "sha512-
|
|
3573
|
+
"version": "3.0.17",
|
|
3574
|
+
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz",
|
|
3575
|
+
"integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg=="
|
|
3570
3576
|
},
|
|
3571
3577
|
"node_modules/spdy": {
|
|
3572
3578
|
"version": "4.0.2",
|
|
@@ -3624,12 +3630,15 @@
|
|
|
3624
3630
|
}
|
|
3625
3631
|
},
|
|
3626
3632
|
"node_modules/streamx": {
|
|
3627
|
-
"version": "2.15.
|
|
3628
|
-
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.
|
|
3629
|
-
"integrity": "sha512-
|
|
3633
|
+
"version": "2.15.8",
|
|
3634
|
+
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.8.tgz",
|
|
3635
|
+
"integrity": "sha512-6pwMeMY/SuISiRsuS8TeIrAzyFbG5gGPHFQsYjUr/pbBadaL1PCWmzKw+CHZSwainfvcF6Si6cVLq4XTEwswFQ==",
|
|
3630
3636
|
"dependencies": {
|
|
3631
3637
|
"fast-fifo": "^1.1.0",
|
|
3632
3638
|
"queue-tick": "^1.0.1"
|
|
3639
|
+
},
|
|
3640
|
+
"optionalDependencies": {
|
|
3641
|
+
"bare-events": "^2.2.0"
|
|
3633
3642
|
}
|
|
3634
3643
|
},
|
|
3635
3644
|
"node_modules/string_decoder": {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.36.1",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
],
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"appium-adb": "^12.0.0",
|
|
76
|
-
"appium-android-driver": "^
|
|
76
|
+
"appium-android-driver": "^9.0.0",
|
|
77
77
|
"asyncbox": "^3.0.0",
|
|
78
78
|
"bluebird": "^3.5.0",
|
|
79
79
|
"io.appium.settings": "^5.7.2",
|