appium-uiautomator2-driver 2.33.1 → 2.34.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.
@@ -562,20 +562,31 @@ export const executeMethodMap = {
562
562
  optional: ['opts'],
563
563
  },
564
564
  },
565
-
566
565
  'mobile: getActionHistory': {
567
566
  command: 'mobileGetActionHistory',
568
567
  params: {
569
568
  optional: ['opts'],
570
569
  },
571
570
  },
572
-
573
571
  'mobile: unscheduleAction': {
574
572
  command: 'mobileUnscheduleAction',
575
573
  params: {
576
574
  optional: ['opts'],
577
575
  },
578
576
  },
577
+
578
+ 'mobile: getUiMode': {
579
+ command: 'mobileGetUiMode',
580
+ params: {
581
+ optional: ['opts'],
582
+ },
583
+ },
584
+ 'mobile: setUiMode': {
585
+ command: 'mobileSetUiMode',
586
+ params: {
587
+ optional: ['opts'],
588
+ },
589
+ },
579
590
  } as const;
580
591
 
581
592
  export type Uiautomator2ExecuteMethodMap = typeof executeMethodMap;
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-driver",
3
- "version": "2.33.1",
3
+ "version": "2.34.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-uiautomator2-driver",
9
- "version": "2.33.1",
9
+ "version": "2.34.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^11.0.1",
13
- "appium-android-driver": "^7.2.1",
13
+ "appium-android-driver": "^7.3.0",
14
14
  "appium-chromedriver": "^5.6.5",
15
15
  "appium-uiautomator2-server": "^5.12.2",
16
- "asyncbox": "^2.3.1",
16
+ "asyncbox": "^3.0.0",
17
17
  "axios": "^1.x",
18
18
  "bluebird": "^3.5.1",
19
19
  "css-selector-parser": "^3.0.0",
@@ -43,7 +43,7 @@
43
43
  "@types/node": "^20.2.3",
44
44
  "@types/portscanner": "^2.1.1",
45
45
  "@types/semver": "^7.5.0",
46
- "@types/sinon": "^10.0.15",
46
+ "@types/sinon": "^17.0.0",
47
47
  "@types/sinon-chai": "^3.2.9",
48
48
  "@types/source-map-support": "^0.x",
49
49
  "@types/teen_process": "^2.0.0",
@@ -125,6 +125,28 @@
125
125
  "spdy": "4.0.2"
126
126
  }
127
127
  },
128
+ "node_modules/@appium/base-driver/node_modules/@types/bluebird": {
129
+ "version": "3.5.41",
130
+ "license": "MIT"
131
+ },
132
+ "node_modules/@appium/base-driver/node_modules/@types/lodash": {
133
+ "version": "4.14.200",
134
+ "license": "MIT"
135
+ },
136
+ "node_modules/@appium/base-driver/node_modules/asyncbox": {
137
+ "version": "2.9.4",
138
+ "license": "Apache-2.0",
139
+ "dependencies": {
140
+ "@babel/runtime": "^7.0.0",
141
+ "@types/bluebird": "^3.5.37",
142
+ "bluebird": "^3.5.1",
143
+ "lodash": "^4.17.4",
144
+ "source-map-support": "^0.5.5"
145
+ },
146
+ "engines": {
147
+ "node": ">=10"
148
+ }
149
+ },
128
150
  "node_modules/@appium/base-driver/node_modules/axios": {
129
151
  "version": "1.5.1",
130
152
  "license": "MIT",
@@ -415,6 +437,10 @@
415
437
  "sharp": "0.32.6"
416
438
  }
417
439
  },
440
+ "node_modules/@appium/support/node_modules/@types/semver": {
441
+ "version": "7.5.4",
442
+ "license": "MIT"
443
+ },
418
444
  "node_modules/@appium/support/node_modules/@types/teen_process": {
419
445
  "version": "2.0.1",
420
446
  "license": "MIT",
@@ -482,6 +508,13 @@
482
508
  "npm": ">=8"
483
509
  }
484
510
  },
511
+ "node_modules/@appium/types/node_modules/@types/ws": {
512
+ "version": "8.5.8",
513
+ "license": "MIT",
514
+ "dependencies": {
515
+ "@types/node": "*"
516
+ }
517
+ },
485
518
  "node_modules/@appium/types/node_modules/type-fest": {
486
519
  "version": "3.13.1",
487
520
  "license": "(MIT OR CC0-1.0)",
@@ -826,12 +859,8 @@
826
859
  "@types/node": "*"
827
860
  }
828
861
  },
829
- "node_modules/@types/bluebird": {
830
- "version": "3.5.41",
831
- "license": "MIT"
832
- },
833
862
  "node_modules/@types/body-parser": {
834
- "version": "1.19.4",
863
+ "version": "1.19.5",
835
864
  "license": "MIT",
836
865
  "dependencies": {
837
866
  "@types/connect": "*",
@@ -839,7 +868,7 @@
839
868
  }
840
869
  },
841
870
  "node_modules/@types/connect": {
842
- "version": "3.4.37",
871
+ "version": "3.4.38",
843
872
  "license": "MIT",
844
873
  "dependencies": {
845
874
  "@types/node": "*"
@@ -856,7 +885,7 @@
856
885
  }
857
886
  },
858
887
  "node_modules/@types/express-serve-static-core": {
859
- "version": "4.17.39",
888
+ "version": "4.17.41",
860
889
  "license": "MIT",
861
890
  "dependencies": {
862
891
  "@types/node": "*",
@@ -875,7 +904,7 @@
875
904
  "license": "MIT"
876
905
  },
877
906
  "node_modules/@types/http-errors": {
878
- "version": "2.0.3",
907
+ "version": "2.0.4",
879
908
  "license": "MIT"
880
909
  },
881
910
  "node_modules/@types/jsftp": {
@@ -900,10 +929,6 @@
900
929
  "version": "1.0.3",
901
930
  "license": "MIT"
902
931
  },
903
- "node_modules/@types/lodash": {
904
- "version": "4.14.200",
905
- "license": "MIT"
906
- },
907
932
  "node_modules/@types/method-override": {
908
933
  "version": "0.0.34",
909
934
  "license": "MIT",
@@ -912,7 +937,7 @@
912
937
  }
913
938
  },
914
939
  "node_modules/@types/mime": {
915
- "version": "1.3.4",
940
+ "version": "1.3.5",
916
941
  "license": "MIT"
917
942
  },
918
943
  "node_modules/@types/mv": {
@@ -927,14 +952,14 @@
927
952
  }
928
953
  },
929
954
  "node_modules/@types/node": {
930
- "version": "20.8.10",
955
+ "version": "20.9.0",
931
956
  "license": "MIT",
932
957
  "dependencies": {
933
958
  "undici-types": "~5.26.4"
934
959
  }
935
960
  },
936
961
  "node_modules/@types/normalize-package-data": {
937
- "version": "2.4.3",
962
+ "version": "2.4.4",
938
963
  "license": "MIT"
939
964
  },
940
965
  "node_modules/@types/npmlog": {
@@ -949,26 +974,22 @@
949
974
  "license": "MIT"
950
975
  },
951
976
  "node_modules/@types/qs": {
952
- "version": "6.9.9",
977
+ "version": "6.9.10",
953
978
  "license": "MIT"
954
979
  },
955
980
  "node_modules/@types/range-parser": {
956
- "version": "1.2.6",
981
+ "version": "1.2.7",
957
982
  "license": "MIT"
958
983
  },
959
984
  "node_modules/@types/readdir-glob": {
960
- "version": "1.1.3",
985
+ "version": "1.1.4",
961
986
  "license": "MIT",
962
987
  "dependencies": {
963
988
  "@types/node": "*"
964
989
  }
965
990
  },
966
- "node_modules/@types/semver": {
967
- "version": "7.5.4",
968
- "license": "MIT"
969
- },
970
991
  "node_modules/@types/send": {
971
- "version": "0.17.3",
992
+ "version": "0.17.4",
972
993
  "license": "MIT",
973
994
  "dependencies": {
974
995
  "@types/mime": "^1",
@@ -983,7 +1004,7 @@
983
1004
  }
984
1005
  },
985
1006
  "node_modules/@types/serve-static": {
986
- "version": "1.15.4",
1007
+ "version": "1.15.5",
987
1008
  "license": "MIT",
988
1009
  "dependencies": {
989
1010
  "@types/http-errors": "*",
@@ -1000,7 +1021,7 @@
1000
1021
  "license": "MIT"
1001
1022
  },
1002
1023
  "node_modules/@types/triple-beam": {
1003
- "version": "1.3.4",
1024
+ "version": "1.3.5",
1004
1025
  "extraneous": true,
1005
1026
  "license": "MIT"
1006
1027
  },
@@ -1017,13 +1038,6 @@
1017
1038
  "extraneous": true,
1018
1039
  "license": "MIT"
1019
1040
  },
1020
- "node_modules/@types/ws": {
1021
- "version": "8.5.8",
1022
- "license": "MIT",
1023
- "dependencies": {
1024
- "@types/node": "*"
1025
- }
1026
- },
1027
1041
  "node_modules/@xmldom/xmldom": {
1028
1042
  "version": "0.8.10",
1029
1043
  "license": "MIT",
@@ -1128,13 +1142,13 @@
1128
1142
  }
1129
1143
  },
1130
1144
  "node_modules/appium-adb": {
1131
- "version": "11.0.4",
1145
+ "version": "11.0.6",
1132
1146
  "license": "Apache-2.0",
1133
1147
  "dependencies": {
1134
1148
  "@appium/support": "^4.0.0",
1135
1149
  "adbkit-apkreader": "^3.1.2",
1136
1150
  "async-lock": "^1.0.0",
1137
- "asyncbox": "^2.6.0",
1151
+ "asyncbox": "^3.0.0",
1138
1152
  "bluebird": "^3.4.7",
1139
1153
  "ini": "^4.1.1",
1140
1154
  "lodash": "^4.0.0",
@@ -1149,12 +1163,12 @@
1149
1163
  }
1150
1164
  },
1151
1165
  "node_modules/appium-android-driver": {
1152
- "version": "7.2.1",
1166
+ "version": "7.3.1",
1153
1167
  "license": "Apache-2.0",
1154
1168
  "dependencies": {
1155
1169
  "appium-adb": "^11.0.1",
1156
1170
  "appium-chromedriver": "^5.5.1",
1157
- "asyncbox": "^2.8.0",
1171
+ "asyncbox": "^3.0.0",
1158
1172
  "axios": "^1.x",
1159
1173
  "bluebird": "^3.4.7",
1160
1174
  "io.appium.settings": "^5.2.0",
@@ -1178,7 +1192,7 @@
1178
1192
  }
1179
1193
  },
1180
1194
  "node_modules/appium-chromedriver": {
1181
- "version": "5.6.20",
1195
+ "version": "5.6.23",
1182
1196
  "hasInstallScript": true,
1183
1197
  "license": "Apache-2.0",
1184
1198
  "dependencies": {
@@ -1186,7 +1200,7 @@
1186
1200
  "@appium/support": "^4.0.0",
1187
1201
  "@xmldom/xmldom": "^0.x",
1188
1202
  "appium-adb": "^11.0.1",
1189
- "asyncbox": "^2.0.2",
1203
+ "asyncbox": "^3.0.0",
1190
1204
  "axios": "^1.x",
1191
1205
  "bluebird": "^3.5.1",
1192
1206
  "compare-versions": "^6.0.0",
@@ -1203,7 +1217,7 @@
1203
1217
  }
1204
1218
  },
1205
1219
  "node_modules/appium-uiautomator2-server": {
1206
- "version": "5.12.15",
1220
+ "version": "5.12.16",
1207
1221
  "license": "Apache-2.0",
1208
1222
  "engines": {
1209
1223
  "node": ">=14",
@@ -1341,7 +1355,7 @@
1341
1355
  "license": "MIT"
1342
1356
  },
1343
1357
  "node_modules/async": {
1344
- "version": "3.2.4",
1358
+ "version": "3.2.5",
1345
1359
  "license": "MIT"
1346
1360
  },
1347
1361
  "node_modules/async-lock": {
@@ -1349,17 +1363,15 @@
1349
1363
  "license": "MIT"
1350
1364
  },
1351
1365
  "node_modules/asyncbox": {
1352
- "version": "2.9.4",
1366
+ "version": "3.0.0",
1353
1367
  "license": "Apache-2.0",
1354
1368
  "dependencies": {
1355
- "@babel/runtime": "^7.0.0",
1356
- "@types/bluebird": "^3.5.37",
1357
1369
  "bluebird": "^3.5.1",
1358
1370
  "lodash": "^4.17.4",
1359
- "source-map-support": "^0.5.5"
1371
+ "source-map-support": "^0.x"
1360
1372
  },
1361
1373
  "engines": {
1362
- "node": ">=10"
1374
+ "node": ">=16"
1363
1375
  }
1364
1376
  },
1365
1377
  "node_modules/asynckit": {
@@ -1367,7 +1379,7 @@
1367
1379
  "license": "MIT"
1368
1380
  },
1369
1381
  "node_modules/axios": {
1370
- "version": "1.6.0",
1382
+ "version": "1.6.1",
1371
1383
  "license": "MIT",
1372
1384
  "dependencies": {
1373
1385
  "follow-redirects": "^1.15.0",
@@ -4341,7 +4353,7 @@
4341
4353
  }
4342
4354
  },
4343
4355
  "node_modules/teen_process": {
4344
- "version": "2.0.70",
4356
+ "version": "2.0.80",
4345
4357
  "license": "Apache-2.0",
4346
4358
  "dependencies": {
4347
4359
  "bluebird": "3.7.2",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "2.33.1",
10
+ "version": "2.34.1",
11
11
  "bugs": {
12
12
  "url": "https://github.com/appium/appium-uiautomator2-driver/issues"
13
13
  },
@@ -63,10 +63,10 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "appium-adb": "^11.0.1",
66
- "appium-android-driver": "^7.2.1",
66
+ "appium-android-driver": "^7.3.0",
67
67
  "appium-chromedriver": "^5.6.5",
68
68
  "appium-uiautomator2-server": "^5.12.2",
69
- "asyncbox": "^2.3.1",
69
+ "asyncbox": "^3.0.0",
70
70
  "axios": "^1.x",
71
71
  "bluebird": "^3.5.1",
72
72
  "css-selector-parser": "^3.0.0",
@@ -96,7 +96,7 @@
96
96
  "@types/node": "^20.2.3",
97
97
  "@types/portscanner": "^2.1.1",
98
98
  "@types/semver": "^7.5.0",
99
- "@types/sinon": "^10.0.15",
99
+ "@types/sinon": "^17.0.0",
100
100
  "@types/sinon-chai": "^3.2.9",
101
101
  "@types/source-map-support": "^0.x",
102
102
  "@types/teen_process": "^2.0.0",