appium-android-driver 5.13.3 → 5.13.4

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
+ ## [5.13.4](https://github.com/appium/appium-android-driver/compare/v5.13.3...v5.13.4) (2023-06-15)
2
+
3
+
4
+ ### Miscellaneous Chores
5
+
6
+ * add prettier, commitlint, swap husky ([4c906bc](https://github.com/appium/appium-android-driver/commit/4c906bce594d2b59bc933bed27be2f4bd3a2cc49))
7
+
1
8
  ## [5.13.3](https://github.com/appium/appium-android-driver/compare/v5.13.2...v5.13.3) (2023-06-07)
2
9
 
3
10
 
@@ -131,6 +131,6 @@ export const APP_STATE: Readonly<{
131
131
  }>;
132
132
  export function prepareAvdArgs(adb: any, opts: any): any[];
133
133
  export function ensureNetworkSpeed(adb: any, networkSpeed: any): any;
134
- import Bootstrap from './bootstrap';
135
- import { helpers as unlocker } from './unlock-helpers';
134
+ import Bootstrap from "./bootstrap";
135
+ import { helpers as unlocker } from "./unlock-helpers";
136
136
  //# sourceMappingURL=android-helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"android-helpers.d.ts","sourceRoot":"","sources":["../../lib/android-helpers.js"],"names":[],"mappings":";;IAiHA,uDAmCC;IAED,oEAuCC;IAED;;;;;;;;;;;OAWG;IACH,uHAaC;IAED;;;OA4FC;IAGD,mDASC;IAED,8DAeC;IAED;;;;;mBA8BC;IAED,6DAsDC;IAED,+DAsCC;IAED;;;;OAIG;IACH,qFAgBC;IAED;;;;;OAKG;IACH,kHAQC;IAED;;;;;OAKG;IACH,qFAUC;IAED,4DAYC;IAED,sEAiCC;IAED,2DA+BC;IAED,wFAQC;IAED;;;;;;;;OAQG;IACH,2FA0DC;IAED;;;;;;;;;;;;;OAaG;IACH,+EAiCC;IAED,gFAsCC;IAED,wEAUC;IAED,8DA6DC;IAED,qDAMC;IAED,mEAMC;IAED,uDAEC;IAED,gDAEC;IAED,8FASC;IAED;;;;;OAKG;IACH,4CAaC;IAED;;;;;;OAMG;IACH,wDAoBC;IAED;;;;;;;;OAQG;IACH,0DAmBC;IAED;;;;;;OAMG;IACH,yDAGC;;;;AA55BD,0DAAoD;AAKpD;;;;;GAKG;AAYH,2DAqBC;AA9BD,qEAOC;sBAlEqB,aAAa;oCAO5B,kBAAkB"}
1
+ {"version":3,"file":"android-helpers.d.ts","sourceRoot":"","sources":["../../lib/android-helpers.js"],"names":[],"mappings":";;IAiHA,uDAmCC;IAED,oEAuCC;IAED;;;;;;;;;;;OAWG;IACH,uHAaC;IAED;;;OA4FC;IAGD,mDASC;IAED,8DAeC;IAED;;;;;mBA8BC;IAED,6DAsDC;IAED,+DAsCC;IAED;;;;OAIG;IACH,qFAgBC;IAED;;;;;OAKG;IACH,kHAQC;IAED;;;;;OAKG;IACH,qFAUC;IAED,4DAYC;IAED,sEAiCC;IAED,2DA+BC;IAED,wFAQC;IAED;;;;;;;;OAQG;IACH,2FA0DC;IAED;;;;;;;;;;;;;OAaG;IACH,+EAiCC;IAED,gFAsCC;IAED,wEAUC;IAED,8DA6DC;IAED,qDAMC;IAED,mEAMC;IAED,uDAEC;IAED,gDAEC;IAED,8FASC;IAED;;;;;OAKG;IACH,4CAaC;IAED;;;;;;OAMG;IACH,wDAoBC;IAED;;;;;;;;OAQG;IACH,0DAmBC;IAED;;;;;;OAMG;IACH,yDAGC;;;;AA55BD,0DAAoD;AAKpD;;;;;GAKG;AAYH,2DAqBC;AA9BD,qEAOC"}
@@ -20,10 +20,10 @@ export class AndroidBootstrap {
20
20
  _ignoreUnexpectedShutdown: any;
21
21
  }
22
22
  export namespace COMMAND_TYPES {
23
- let ACTION: string;
24
- let SHUTDOWN: string;
23
+ const ACTION: string;
24
+ const SHUTDOWN: string;
25
25
  }
26
- import B from 'bluebird';
27
- import net from 'net';
28
- import UiAutomator from './uiautomator';
26
+ import B from "bluebird";
27
+ import net from "net";
28
+ import UiAutomator from "./uiautomator";
29
29
  //# sourceMappingURL=bootstrap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../lib/bootstrap.js"],"names":[],"mappings":";;AAuCA;IACE,kEAKC;IAJC,SAAc;IACd,mBAA4B;IAC5B,eAA0B;IA4K5B,uCAGC;IAED,oCAEC;IA/KD,mCASC;IANG,iDAEE;IAMN,iGA4EC;IArEG,aAMC;IA6CG,qCAA6D;IAoBrE,iDA4CC;IAED,mDAGC;IAED,0BAaC;IADC,4CAAuB;IAIzB,sBAUC;IAIC,+BAAuC;CAM1C;;;;;cA1Na,UAAU;gBAJR,KAAK;wBADG,eAAe"}
1
+ {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../../lib/bootstrap.js"],"names":[],"mappings":";;AAuCA;IACE,kEAKC;IAJC,SAAc;IACd,mBAA4B;IAC5B,eAA0B;IA4K5B,uCAGC;IAED,oCAEC;IA/KD,mCASC;IANG,iDAEE;IAMN,iGA4EC;IArEG,aAMC;IA6CG,qCAA6D;IAoBrE,iDA4CC;IAED,mDAGC;IAED,0BAaC;IADC,4CAAuB;IAIzB,sBAUC;IAIC,+BAAuC;CAM1C"}
@@ -205,5 +205,5 @@ export namespace helpers {
205
205
  function getScreenshotDataWithAdbExecOut(adb: ADB): Promise<typeof sharp>;
206
206
  }
207
207
  declare const extensions: {};
208
- import sharp from 'sharp';
208
+ import sharp from "sharp";
209
209
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../lib/commands/actions.js"],"names":[],"mappings":";;;;;;iBA0Lc,MAAM;;;;aACN,MAAM;;;;;;iBAuBN,MAAM;;;;YACN,6BAAuB;;;;;;cAuBvB,CAAC,GAAC,CAAC,GAAC,CAAC,GAAC,CAAC,GAAC,CAAC;;;WAuBT,QAAM;;;WAuBN,QAAM;;;;;;aAuBN,MAAM;;;WAuBN,2DAA2C;;;;;;;;;gBAkB3C,MAAM;;;;WACN,MAAM;;;IA1UpB,gEAIC;IAED,oEAEC;IAED,wEAEC;IAED,wCAMC;IAED,wDAOC;IAED,2DAEC;IAED,gGAGC;IAED,wHAeC;IAED,+CAMC;IAED,sIAQC;IAED,qIAGC;IAED,8GAMC;IAED,2IAOC;IAED,6CAMC;IAED,2CAYC;IAED,kCAEC;IAED,iCAEC;IAED,2CAEC;IAED,kEAEC;IAED,wDAKC;IAED;;;;;;;OAOG;IAEH;;;;;OAKG;IACH,sDAGC;IAED,gEAKC;IAED;;;;OAIG;IAEH;;;;;OAKG;IACH,6DAGC;IAED,+DAKC;IAED;;;;OAIG;IAEH;;;;;OAKG;IACH,6DAGC;IAED,sDAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,iEAGC;IAED,6CAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,+DAGC;IAED,4CAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,8DAGC;IAED,2DAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,yEAGC;IAED,wDAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,uEAGC;IAED;;;;;;;;;;;OAWG;IACH,+CAYC;IAkDD,uCAiCC;;;IAjFD;;;;OAIG;IACH,mFAmBC;IAED;;;OAGG;IACH,0EAgBC;;AA/YD,6BAAsB;kBATJ,OAAO"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../lib/commands/actions.js"],"names":[],"mappings":";;;;;;iBA0Lc,MAAM;;;;aACN,MAAM;;;;;;iBAuBN,MAAM;;;;YACN,6BAAuB;;;;;;cAuBvB,CAAC,GAAC,CAAC,GAAC,CAAC,GAAC,CAAC,GAAC,CAAC;;;WAuBT,QAAM;;;WAuBN,QAAM;;;;;;aAuBN,MAAM;;;WAuBN,2DAA2C;;;;;;;;;gBAkB3C,MAAM;;;;WACN,MAAM;;;IA1UpB,gEAIC;IAED,oEAEC;IAED,wEAEC;IAED,wCAMC;IAED,wDAOC;IAED,2DAEC;IAED,gGAGC;IAED,wHAeC;IAED,+CAMC;IAED,sIAQC;IAED,qIAGC;IAED,8GAMC;IAED,2IAOC;IAED,6CAMC;IAED,2CAYC;IAED,kCAEC;IAED,iCAEC;IAED,2CAEC;IAED,kEAEC;IAED,wDAKC;IAED;;;;;;;OAOG;IAEH;;;;;OAKG;IACH,sDAGC;IAED,gEAKC;IAED;;;;OAIG;IAEH;;;;;OAKG;IACH,6DAGC;IAED,+DAKC;IAED;;;;OAIG;IAEH;;;;;OAKG;IACH,6DAGC;IAED,sDAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,iEAGC;IAED,6CAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,+DAGC;IAED,4CAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,8DAGC;IAED,2DAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,yEAGC;IAED,wDAKC;IAED;;;OAGG;IAEH;;;;;OAKG;IACH,uEAGC;IAED;;;;;;;;;;;OAWG;IACH,+CAYC;IAkDD,uCAiCC;;;IAjFD;;;;OAIG;IACH,mFAmBC;IAED;;;OAGG;IACH,0EAgBC;;AA/YD,6BAAsB"}
@@ -90,5 +90,5 @@ export namespace helpers {
90
90
  }
91
91
  export function setupNewChromedriver(opts: any, curDeviceId: any, adb: any, context?: null): Promise<Chromedriver>;
92
92
  declare let extensions: {};
93
- import Chromedriver from 'appium-chromedriver';
93
+ import Chromedriver from "appium-chromedriver";
94
94
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/commands/context.js"],"names":[],"mappings":";;;;;UAwDc,MAAM;;;;;aACN,MAAM;;;;;;;;;;WAIL,UAAa;;;IAzC5B,2CAIC;IAED,qCAGC;IAED,8CAqBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IAEH;;;;OAIG;IACH,gDAQC;;;IAED,wDAMC;IAED,uEAoBC;IAUD,sCAEC;IAED,sCAEC;IAED,iCAEC;IAGD,mFAuEC;IAGD,0CAKC;IAGD,yDAcC;IAID,kDAcC;IAED,uDAEC;IAED,2CAIC;IAED,+CAiBC;IAED,6CAqCC;IAuED,sDAOC;IAED,4GAiDC;;AAjDD,mHAiDC;AA1cgC,2BAAe;yBAbvB,qBAAqB"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/commands/context.js"],"names":[],"mappings":";;;;;UAwDc,MAAM;;;;;aACN,MAAM;;;;;;;;;;WAIL,UAAa;;;IAzC5B,2CAIC;IAED,qCAGC;IAED,8CAqBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IAEH;;;;OAIG;IACH,gDAQC;;;IAED,wDAMC;IAED,uEAoBC;IAUD,sCAEC;IAED,sCAEC;IAED,iCAEC;IAGD,mFAuEC;IAGD,0CAKC;IAGD,yDAcC;IAID,kDAcC;IAED,uDAEC;IAED,2CAIC;IAED,+CAiBC;IAED,6CAqCC;IAuED,sDAOC;IAED,4GAiDC;;AAjDD,mHAiDC;AA1cgC,2BAAe"}
@@ -21,17 +21,17 @@ export let helpers: {};
21
21
  declare namespace extensions {
22
22
  namespace supportedLogTypes {
23
23
  namespace logcat {
24
- let description: string;
24
+ const description: string;
25
25
  function getter(self: any): Promise<any>;
26
26
  }
27
27
  namespace bugreport {
28
- let description_1: string;
28
+ const description_1: string;
29
29
  export { description_1 as description };
30
30
  export function getter_1(self: any): Promise<any>;
31
31
  export { getter_1 as getter };
32
32
  }
33
33
  namespace server {
34
- let description_2: string;
34
+ const description_2: string;
35
35
  export { description_2 as description };
36
36
  export function getter_2(self: any): {
37
37
  timestamp: any;
@@ -2,351 +2,351 @@ export default desiredCapConstraints;
2
2
  declare let desiredCapConstraints: {};
3
3
  export namespace commonCapConstraints {
4
4
  namespace platformName {
5
- let isString: boolean;
6
- let inclusionCaseInsensitive: string[];
7
- let presence: boolean;
5
+ const isString: boolean;
6
+ const inclusionCaseInsensitive: string[];
7
+ const presence: boolean;
8
8
  }
9
9
  namespace app {
10
- let isString_1: boolean;
10
+ const isString_1: boolean;
11
11
  export { isString_1 as isString };
12
12
  }
13
13
  namespace appActivity {
14
- let isString_2: boolean;
14
+ const isString_2: boolean;
15
15
  export { isString_2 as isString };
16
16
  }
17
17
  namespace appPackage {
18
- let isString_3: boolean;
18
+ const isString_3: boolean;
19
19
  export { isString_3 as isString };
20
20
  }
21
21
  namespace appWaitActivity {
22
- let isString_4: boolean;
22
+ const isString_4: boolean;
23
23
  export { isString_4 as isString };
24
24
  }
25
25
  namespace appWaitPackage {
26
- let isString_5: boolean;
26
+ const isString_5: boolean;
27
27
  export { isString_5 as isString };
28
28
  }
29
29
  namespace appWaitDuration {
30
- let isNumber: boolean;
30
+ const isNumber: boolean;
31
31
  }
32
32
  namespace deviceReadyTimeout {
33
- let isNumber_1: boolean;
33
+ const isNumber_1: boolean;
34
34
  export { isNumber_1 as isNumber };
35
35
  }
36
36
  namespace androidCoverage {
37
- let isString_6: boolean;
37
+ const isString_6: boolean;
38
38
  export { isString_6 as isString };
39
39
  }
40
40
  namespace androidDeviceReadyTimeout {
41
- let isNumber_2: boolean;
41
+ const isNumber_2: boolean;
42
42
  export { isNumber_2 as isNumber };
43
43
  }
44
44
  namespace androidDeviceSocket {
45
- let isString_7: boolean;
45
+ const isString_7: boolean;
46
46
  export { isString_7 as isString };
47
47
  }
48
48
  namespace androidInstallTimeout {
49
- let isNumber_3: boolean;
49
+ const isNumber_3: boolean;
50
50
  export { isNumber_3 as isNumber };
51
51
  }
52
52
  namespace adbPort {
53
- let isNumber_4: boolean;
53
+ const isNumber_4: boolean;
54
54
  export { isNumber_4 as isNumber };
55
55
  }
56
56
  namespace remoteAdbHost {
57
- let isString_8: boolean;
57
+ const isString_8: boolean;
58
58
  export { isString_8 as isString };
59
59
  }
60
60
  namespace adbExecTimeout {
61
- let isNumber_5: boolean;
61
+ const isNumber_5: boolean;
62
62
  export { isNumber_5 as isNumber };
63
63
  }
64
64
  namespace avd {
65
- let isString_9: boolean;
65
+ const isString_9: boolean;
66
66
  export { isString_9 as isString };
67
67
  }
68
68
  namespace avdLaunchTimeout {
69
- let isNumber_6: boolean;
69
+ const isNumber_6: boolean;
70
70
  export { isNumber_6 as isNumber };
71
71
  }
72
72
  namespace avdReadyTimeout {
73
- let isNumber_7: boolean;
73
+ const isNumber_7: boolean;
74
74
  export { isNumber_7 as isNumber };
75
75
  }
76
- let avdArgs: {};
76
+ const avdArgs: {};
77
77
  namespace avdEnv {
78
- let isObject: boolean;
78
+ const isObject: boolean;
79
79
  }
80
80
  namespace useKeystore {
81
- let isBoolean: boolean;
81
+ const isBoolean: boolean;
82
82
  }
83
83
  namespace keystorePath {
84
- let isString_10: boolean;
84
+ const isString_10: boolean;
85
85
  export { isString_10 as isString };
86
86
  }
87
87
  namespace keystorePassword {
88
- let isString_11: boolean;
88
+ const isString_11: boolean;
89
89
  export { isString_11 as isString };
90
90
  }
91
91
  namespace keyAlias {
92
- let isString_12: boolean;
92
+ const isString_12: boolean;
93
93
  export { isString_12 as isString };
94
94
  }
95
95
  namespace keyPassword {
96
- let isString_13: boolean;
96
+ const isString_13: boolean;
97
97
  export { isString_13 as isString };
98
98
  }
99
99
  namespace webviewDevtoolsPort {
100
- let isNumber_8: boolean;
100
+ const isNumber_8: boolean;
101
101
  export { isNumber_8 as isNumber };
102
102
  }
103
103
  namespace ensureWebviewsHavePages {
104
- let isBoolean_1: boolean;
104
+ const isBoolean_1: boolean;
105
105
  export { isBoolean_1 as isBoolean };
106
106
  }
107
107
  namespace enableWebviewDetailsCollection {
108
- let isBoolean_2: boolean;
108
+ const isBoolean_2: boolean;
109
109
  export { isBoolean_2 as isBoolean };
110
110
  }
111
111
  namespace chromeDriverPort {
112
- let isNumber_9: boolean;
112
+ const isNumber_9: boolean;
113
113
  export { isNumber_9 as isNumber };
114
114
  }
115
115
  namespace chromedriverPort {
116
- let isNumber_10: boolean;
116
+ const isNumber_10: boolean;
117
117
  export { isNumber_10 as isNumber };
118
118
  }
119
119
  namespace chromedriverPorts {
120
- let isArray: boolean;
120
+ const isArray: boolean;
121
121
  }
122
122
  namespace chromedriverArgs {
123
- let isObject_1: boolean;
123
+ const isObject_1: boolean;
124
124
  export { isObject_1 as isObject };
125
125
  }
126
126
  namespace chromedriverExecutable {
127
- let isString_14: boolean;
127
+ const isString_14: boolean;
128
128
  export { isString_14 as isString };
129
129
  }
130
130
  namespace chromedriverExecutableDir {
131
- let isString_15: boolean;
131
+ const isString_15: boolean;
132
132
  export { isString_15 as isString };
133
133
  }
134
134
  namespace chromedriverChromeMappingFile {
135
- let isString_16: boolean;
135
+ const isString_16: boolean;
136
136
  export { isString_16 as isString };
137
137
  }
138
138
  namespace chromedriverUseSystemExecutable {
139
- let isBoolean_3: boolean;
139
+ const isBoolean_3: boolean;
140
140
  export { isBoolean_3 as isBoolean };
141
141
  }
142
142
  namespace chromedriverDisableBuildCheck {
143
- let isBoolean_4: boolean;
143
+ const isBoolean_4: boolean;
144
144
  export { isBoolean_4 as isBoolean };
145
145
  }
146
146
  namespace chromeLoggingPrefs {
147
- let isObject_2: boolean;
147
+ const isObject_2: boolean;
148
148
  export { isObject_2 as isObject };
149
149
  }
150
150
  namespace autoWebviewTimeout {
151
- let isNumber_11: boolean;
151
+ const isNumber_11: boolean;
152
152
  export { isNumber_11 as isNumber };
153
153
  }
154
154
  namespace autoWebviewName {
155
- let isString_17: boolean;
155
+ const isString_17: boolean;
156
156
  export { isString_17 as isString };
157
157
  }
158
158
  namespace intentAction {
159
- let isString_18: boolean;
159
+ const isString_18: boolean;
160
160
  export { isString_18 as isString };
161
161
  }
162
162
  namespace intentCategory {
163
- let isString_19: boolean;
163
+ const isString_19: boolean;
164
164
  export { isString_19 as isString };
165
165
  }
166
166
  namespace intentFlags {
167
- let isString_20: boolean;
167
+ const isString_20: boolean;
168
168
  export { isString_20 as isString };
169
169
  }
170
170
  namespace optionalIntentArguments {
171
- let isString_21: boolean;
171
+ const isString_21: boolean;
172
172
  export { isString_21 as isString };
173
173
  }
174
174
  namespace dontStopAppOnReset {
175
- let isBoolean_5: boolean;
175
+ const isBoolean_5: boolean;
176
176
  export { isBoolean_5 as isBoolean };
177
177
  }
178
178
  namespace unicodeKeyboard {
179
- let isBoolean_6: boolean;
179
+ const isBoolean_6: boolean;
180
180
  export { isBoolean_6 as isBoolean };
181
181
  }
182
182
  namespace resetKeyboard {
183
- let isBoolean_7: boolean;
183
+ const isBoolean_7: boolean;
184
184
  export { isBoolean_7 as isBoolean };
185
185
  }
186
186
  namespace noSign {
187
- let isBoolean_8: boolean;
187
+ const isBoolean_8: boolean;
188
188
  export { isBoolean_8 as isBoolean };
189
189
  }
190
190
  namespace recreateChromeDriverSessions {
191
- let isBoolean_9: boolean;
191
+ const isBoolean_9: boolean;
192
192
  export { isBoolean_9 as isBoolean };
193
193
  }
194
194
  namespace autoLaunch {
195
- let isBoolean_10: boolean;
195
+ const isBoolean_10: boolean;
196
196
  export { isBoolean_10 as isBoolean };
197
197
  }
198
198
  namespace nativeWebScreenshot {
199
- let isBoolean_11: boolean;
199
+ const isBoolean_11: boolean;
200
200
  export { isBoolean_11 as isBoolean };
201
201
  }
202
202
  namespace androidScreenshotPath {
203
- let isString_22: boolean;
203
+ const isString_22: boolean;
204
204
  export { isString_22 as isString };
205
205
  }
206
206
  namespace androidInstallPath {
207
- let isString_23: boolean;
207
+ const isString_23: boolean;
208
208
  export { isString_23 as isString };
209
209
  }
210
210
  namespace clearSystemFiles {
211
- let isBoolean_12: boolean;
211
+ const isBoolean_12: boolean;
212
212
  export { isBoolean_12 as isBoolean };
213
213
  }
214
214
  namespace extractChromeAndroidPackageFromContextName {
215
- let isBoolean_13: boolean;
215
+ const isBoolean_13: boolean;
216
216
  export { isBoolean_13 as isBoolean };
217
217
  }
218
218
  namespace autoGrantPermissions {
219
- let isBoolean_14: boolean;
219
+ const isBoolean_14: boolean;
220
220
  export { isBoolean_14 as isBoolean };
221
221
  }
222
222
  namespace sharedPreferences {
223
- let isObject_3: boolean;
223
+ const isObject_3: boolean;
224
224
  export { isObject_3 as isObject };
225
225
  }
226
226
  namespace networkSpeed {
227
- let isString_24: boolean;
227
+ const isString_24: boolean;
228
228
  export { isString_24 as isString };
229
229
  }
230
230
  namespace gpsEnabled {
231
- let isBoolean_15: boolean;
231
+ const isBoolean_15: boolean;
232
232
  export { isBoolean_15 as isBoolean };
233
233
  }
234
234
  namespace isHeadless {
235
- let isBoolean_16: boolean;
235
+ const isBoolean_16: boolean;
236
236
  export { isBoolean_16 as isBoolean };
237
237
  }
238
238
  namespace showChromedriverLog {
239
- let isBoolean_17: boolean;
239
+ const isBoolean_17: boolean;
240
240
  export { isBoolean_17 as isBoolean };
241
241
  }
242
242
  namespace skipUnlock {
243
- let isBoolean_18: boolean;
243
+ const isBoolean_18: boolean;
244
244
  export { isBoolean_18 as isBoolean };
245
245
  }
246
246
  namespace clearDeviceLogsOnStart {
247
- let isBoolean_19: boolean;
247
+ const isBoolean_19: boolean;
248
248
  export { isBoolean_19 as isBoolean };
249
249
  }
250
250
  namespace unlockType {
251
- let isString_25: boolean;
251
+ const isString_25: boolean;
252
252
  export { isString_25 as isString };
253
253
  }
254
254
  namespace unlockKey {
255
- let isString_26: boolean;
255
+ const isString_26: boolean;
256
256
  export { isString_26 as isString };
257
257
  }
258
258
  namespace unlockStrategy {
259
- let isString_27: boolean;
259
+ const isString_27: boolean;
260
260
  export { isString_27 as isString };
261
- let inclusionCaseInsensitive_1: string[];
261
+ const inclusionCaseInsensitive_1: string[];
262
262
  export { inclusionCaseInsensitive_1 as inclusionCaseInsensitive };
263
263
  }
264
264
  namespace otherApps {
265
- let isString_28: boolean;
265
+ const isString_28: boolean;
266
266
  export { isString_28 as isString };
267
267
  }
268
268
  namespace uninstallOtherPackages {
269
- let isString_29: boolean;
269
+ const isString_29: boolean;
270
270
  export { isString_29 as isString };
271
271
  }
272
272
  namespace allowTestPackages {
273
- let isBoolean_20: boolean;
273
+ const isBoolean_20: boolean;
274
274
  export { isBoolean_20 as isBoolean };
275
275
  }
276
276
  namespace pageLoadStrategy {
277
- let isString_30: boolean;
277
+ const isString_30: boolean;
278
278
  export { isString_30 as isString };
279
279
  }
280
280
  namespace localeScript {
281
- let isString_31: boolean;
281
+ const isString_31: boolean;
282
282
  export { isString_31 as isString };
283
283
  }
284
284
  namespace skipDeviceInitialization {
285
- let isBoolean_21: boolean;
285
+ const isBoolean_21: boolean;
286
286
  export { isBoolean_21 as isBoolean };
287
287
  }
288
288
  namespace remoteAppsCacheLimit {
289
- let isNumber_12: boolean;
289
+ const isNumber_12: boolean;
290
290
  export { isNumber_12 as isNumber };
291
291
  }
292
292
  namespace buildToolsVersion {
293
- let isString_32: boolean;
293
+ const isString_32: boolean;
294
294
  export { isString_32 as isString };
295
295
  }
296
296
  namespace skipLogcatCapture {
297
- let isBoolean_22: boolean;
297
+ const isBoolean_22: boolean;
298
298
  export { isBoolean_22 as isBoolean };
299
299
  }
300
300
  namespace chromeOptions {
301
- let isObject_4: boolean;
301
+ const isObject_4: boolean;
302
302
  export { isObject_4 as isObject };
303
303
  }
304
304
  namespace enablePerformanceLogging {
305
- let isBoolean_23: boolean;
305
+ const isBoolean_23: boolean;
306
306
  export { isBoolean_23 as isBoolean };
307
307
  }
308
308
  namespace userProfile {
309
- let isNumber_13: boolean;
309
+ const isNumber_13: boolean;
310
310
  export { isNumber_13 as isNumber };
311
311
  }
312
312
  namespace browserName {
313
- let isString_33: boolean;
313
+ const isString_33: boolean;
314
314
  export { isString_33 as isString };
315
315
  }
316
316
  namespace enforceAppInstall {
317
- let isBoolean_24: boolean;
317
+ const isBoolean_24: boolean;
318
318
  export { isBoolean_24 as isBoolean };
319
319
  }
320
320
  namespace suppressKillServer {
321
- let isBoolean_25: boolean;
321
+ const isBoolean_25: boolean;
322
322
  export { isBoolean_25 as isBoolean };
323
323
  }
324
324
  namespace allowOfflineDevices {
325
- let isBoolean_26: boolean;
325
+ const isBoolean_26: boolean;
326
326
  export { isBoolean_26 as isBoolean };
327
327
  }
328
328
  namespace ignoreHiddenApiPolicyError {
329
- let isBoolean_27: boolean;
329
+ const isBoolean_27: boolean;
330
330
  export { isBoolean_27 as isBoolean };
331
331
  }
332
332
  namespace unlockSuccessTimeout {
333
- let isNumber_14: boolean;
333
+ const isNumber_14: boolean;
334
334
  export { isNumber_14 as isNumber };
335
335
  }
336
336
  namespace mockLocationApp {
337
- let isString_34: boolean;
337
+ const isString_34: boolean;
338
338
  export { isString_34 as isString };
339
339
  }
340
340
  namespace logcatFormat {
341
- let isString_35: boolean;
341
+ const isString_35: boolean;
342
342
  export { isString_35 as isString };
343
343
  }
344
344
  namespace logcatFilterSpecs {
345
- let isArray_1: boolean;
345
+ const isArray_1: boolean;
346
346
  export { isArray_1 as isArray };
347
347
  }
348
348
  namespace allowDelayAdb {
349
- let isBoolean_28: boolean;
349
+ const isBoolean_28: boolean;
350
350
  export { isBoolean_28 as isBoolean };
351
351
  }
352
352
  }
@@ -1,5 +1,5 @@
1
1
  export default AndroidDriver;
2
- export class AndroidDriver extends BaseDriver<any, import("@appium/types").StringRecord, import("@appium/types").StringRecord, import("@appium/types").StringRecord> {
2
+ export class AndroidDriver extends BaseDriver<any, import("@appium/base-driver/node_modules/@appium/types").StringRecord<any>, import("@appium/base-driver/node_modules/@appium/types").StringRecord<any>, import("@appium/base-driver/node_modules/@appium/types").StringRecord<any>> {
3
3
  static newMethodMap: {
4
4
  readonly '/session/:sessionId/timeouts/implicit_wait': {
5
5
  readonly POST: {
@@ -400,7 +400,7 @@ export class AndroidDriver extends BaseDriver<any, import("@appium/types").Strin
400
400
  apkStrings: {};
401
401
  unlocker: typeof import("./unlock-helpers").helpers;
402
402
  curContext: any;
403
- createSession(...args: any[]): Promise<(string | import("@appium/types").DriverCaps<any>)[]>;
403
+ createSession(...args: any[]): Promise<(string | import("@appium/base-driver/node_modules/@appium/types").DriverCaps<any>)[]>;
404
404
  useUnlockHelperApp: boolean | undefined;
405
405
  adb: any;
406
406
  isEmulator(): boolean;
@@ -425,6 +425,6 @@ export class AndroidDriver extends BaseDriver<any, import("@appium/types").Strin
425
425
  getProxyAvoidList(sessionId: any): (string | RegExp)[][];
426
426
  canProxy(sessionId: any): boolean;
427
427
  }
428
- import { BaseDriver } from 'appium/driver';
429
- import { DeviceSettings } from 'appium/driver';
428
+ import { BaseDriver } from "@appium/base-driver";
429
+ import { DeviceSettings } from "@appium/base-driver";
430
430
  //# sourceMappingURL=driver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":";AAmCA;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC;IAEnC,qDA0BC;IAhBC,0BAA+C;IAC/C,yBAA8B;IAC9B,wBAA2B;IAC3B,qCAAsC;IACtC;;OACoE;IACpE,kBAAwB;IACxB,eAAoB;IACpB,oDAAgC;IAOhC,gBAA2C;IAG7C,6FAkIC;IA/FG,wCAA6D;IA8B7D,SASE;IA0DN,sBAEC;IAED,wCAaC;IAED,2BAGC;IAED,+BAEC;IAED,sDAIC;IAED,qCA6EC;IA1EC,gBAA+D;IAoB3D,iDAAuC;IAU3C,qEAA8F;IA8ChG,iCAYC;IAED,yBAwDC;IAED,iCAKC;IAED,qCAKC;IAGD,2DAEC;IAED,+BAwDC;IAED,yCA4BC;IAED,uBAKC;IAED,wCAQC;IAED,qCAIC;IAED,yDAIC;IAED,kCAKC;CACF;2BA9gB0C,eAAe;+BAAf,eAAe"}
1
+ {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":";AAmCA;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC;IAEnC,qDA0BC;IAhBC,0BAA+C;IAC/C,yBAA8B;IAC9B,wBAA2B;IAC3B,qCAAsC;IACtC;;OACoE;IACpE,kBAAwB;IACxB,eAAoB;IACpB,oDAAgC;IAOhC,gBAA2C;IAG7C,8HAkIC;IA/FG,wCAA6D;IA8B7D,SASE;IA0DN,sBAEC;IAED,wCAaC;IAED,2BAGC;IAED,+BAEC;IAED,sDAIC;IAED,qCA6EC;IA1EC,gBAA+D;IAoB3D,iDAAuC;IAU3C,qEAA8F;IA8ChG,iCAYC;IAED,yBAwDC;IAED,iCAKC;IAED,qCAKC;IAGD,2DAEC;IAED,+BAwDC;IAED,yCA4BC;IAED,uBAKC;IAED,wCAQC;IAED,qCAIC;IAED,yDAIC;IAED,kCAKC;CACF"}
@@ -1,3 +1,3 @@
1
1
  export default log;
2
- declare const log: import("@appium/types").AppiumLogger;
2
+ declare const log: import("@appium/base-driver/node_modules/@appium/types").AppiumLogger;
3
3
  //# sourceMappingURL=logger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../lib/logger.js"],"names":[],"mappings":";AACA,wDAA8C"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../lib/logger.js"],"names":[],"mappings":";AACA,yFAA8C"}
@@ -13,12 +13,12 @@ export class UiAutomator extends events {
13
13
  killUiAutomatorOnDevice(): Promise<void>;
14
14
  }
15
15
  export namespace UiAutomator {
16
- let EVENT_ERROR: string;
17
- let EVENT_CHANGED: string;
18
- let STATE_STOPPING: string;
19
- let STATE_STOPPED: string;
20
- let STATE_STARTING: string;
21
- let STATE_ONLINE: string;
16
+ const EVENT_ERROR: string;
17
+ const EVENT_CHANGED: string;
18
+ const STATE_STOPPING: string;
19
+ const STATE_STOPPED: string;
20
+ const STATE_STARTING: string;
21
+ const STATE_ONLINE: string;
22
22
  }
23
- import events from 'events';
23
+ import events from "events";
24
24
  //# sourceMappingURL=uiautomator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"uiautomator.d.ts","sourceRoot":"","sources":["../../lib/uiautomator.js"],"names":[],"mappings":";;AAMA;IACE,sBAOC;IAFC,SAAc;IACd,iBAAkC;IAGpC,2GA6CC;IA7BG,UAA2C;IA+B/C,0BAQC;IAED,8CAQC;IAED,8BAIC;IAFC,WAAkB;IAIpB,yCAMC;CAEF;;;;;;;;;mBAjGkB,QAAQ"}
1
+ {"version":3,"file":"uiautomator.d.ts","sourceRoot":"","sources":["../../lib/uiautomator.js"],"names":[],"mappings":";;AAMA;IACE,sBAOC;IAFC,SAAc;IACd,iBAAkC;IAGpC,2GA6CC;IA7BG,UAA2C;IA+B/C,0BAQC;IAED,8CAQC;IAED,8BAIC;IAFC,WAAkB;IAIpB,yCAMC;CAEF"}
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "appium-android-driver",
3
+ "version": "5.13.4",
3
4
  "description": "Android UiAutomator and Chrome support for Appium",
4
5
  "keywords": [
5
6
  "appium",
@@ -9,30 +10,15 @@
9
10
  "mobile",
10
11
  "mobile testing"
11
12
  ],
12
- "version": "5.13.3",
13
- "author": "Appium Contributors",
14
- "license": "Apache-2.0",
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/appium/appium-android-driver.git"
18
- },
19
13
  "bugs": {
20
14
  "url": "https://github.com/appium/appium-android-driver/issues"
21
15
  },
22
- "engines": {
23
- "node": ">=14",
24
- "npm": ">=8"
25
- },
26
- "lint-staged": {
27
- "*.js": [
28
- "eslint --fix"
29
- ]
30
- },
31
- "prettier": {
32
- "bracketSpacing": false,
33
- "printWidth": 100,
34
- "singleQuote": true
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/appium/appium-android-driver.git"
35
19
  },
20
+ "license": "Apache-2.0",
21
+ "author": "Appium Contributors",
36
22
  "main": "./build/index.js",
37
23
  "bin": {},
38
24
  "directories": {
@@ -46,6 +32,30 @@
46
32
  "bootstrap/bin/AppiumBootstrap.jar",
47
33
  "CHANGELOG.md"
48
34
  ],
35
+ "scripts": {
36
+ "build": "tsc -b",
37
+ "clean": "npm run build -- --clean",
38
+ "dev": "npm run build -- --watch",
39
+ "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.js\"",
40
+ "lint": "eslint .",
41
+ "lint:commit": "commitlint",
42
+ "lint:fix": "npm run lint -- --fix",
43
+ "lint:staged": "lint-staged",
44
+ "prepare": "husky install && npm run rebuild",
45
+ "rebuild": "npm run clean && npm run build",
46
+ "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\""
47
+ },
48
+ "lint-staged": {
49
+ "*.(js|ts)": [
50
+ "eslint --fix",
51
+ "prettier --write"
52
+ ]
53
+ },
54
+ "prettier": {
55
+ "bracketSpacing": false,
56
+ "printWidth": 100,
57
+ "singleQuote": true
58
+ },
49
59
  "dependencies": {
50
60
  "appium-adb": "^9.11.2",
51
61
  "appium-chromedriver": "^5.2.0",
@@ -66,32 +76,14 @@
66
76
  "teen_process": "^2.0.0",
67
77
  "ws": "^8.0.0"
68
78
  },
69
- "scripts": {
70
- "build": "tsc -b",
71
- "clean": "npm run build -- --clean",
72
- "dev": "npm run build -- --watch",
73
- "lint": "eslint .",
74
- "lint:fix": "npm run lint -- --fix",
75
- "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
76
- "precommit-lint": "lint-staged",
77
- "prepare": "npm run rebuild",
78
- "rebuild": "npm run clean && npm run build",
79
- "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
80
- "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.js\""
81
- },
82
- "pre-commit": [
83
- "precommit-msg",
84
- "precommit-lint"
85
- ],
86
- "peerDependencies": {
87
- "appium": "^2.0.0-beta.40"
88
- },
89
79
  "devDependencies": {
90
80
  "@appium/eslint-config-appium": "^6.0.0",
91
81
  "@appium/support": "^4.0.0",
92
82
  "@appium/test-support": "^3.0.0",
93
83
  "@appium/tsconfig": "^0.3.0",
94
84
  "@appium/types": "^0.11.1",
85
+ "@commitlint/cli": "^17.6.3",
86
+ "@commitlint/config-conventional": "^17.6.3",
95
87
  "@semantic-release/changelog": "^6.0.1",
96
88
  "@semantic-release/git": "^10.0.1",
97
89
  "@types/bluebird": "^3.5.38",
@@ -116,14 +108,22 @@
116
108
  "eslint-plugin-import": "^2.26.0",
117
109
  "eslint-plugin-mocha": "^9.0.0",
118
110
  "eslint-plugin-promise": "^6.0.0",
111
+ "husky": "^8.0.3",
119
112
  "lint-staged": "^13.0.3",
120
113
  "mocha": "^10.0.0",
121
- "pre-commit": "^1.1.3",
114
+ "prettier": "^2.8.8",
122
115
  "rimraf": "^5.0.0",
123
116
  "semantic-release": "^20.0.2",
124
117
  "sinon": "^15.0.0",
125
118
  "ts-node": "^10.9.1",
126
- "typescript": "^5.0.4",
119
+ "typescript": "^4.9.5",
127
120
  "xpath": "^0.x"
121
+ },
122
+ "peerDependencies": {
123
+ "appium": "^2.0.0-beta.40"
124
+ },
125
+ "engines": {
126
+ "node": ">=14",
127
+ "npm": ">=8"
128
128
  }
129
129
  }