appium-uiautomator2-driver 3.1.0 → 3.2.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.
@@ -598,6 +598,12 @@ export const executeMethodMap = {
598
598
  }
599
599
  },
600
600
 
601
+ 'mobile: injectEmulatorCameraImage': {
602
+ command: 'mobileInjectEmulatorCameraImage',
603
+ params: {
604
+ optional: ['opts'],
605
+ }
606
+ }
601
607
  } as const;
602
608
 
603
609
  export type Uiautomator2ExecuteMethodMap = typeof executeMethodMap;
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-driver",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-uiautomator2-driver",
9
- "version": "3.1.0",
9
+ "version": "3.2.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^12.0.0",
13
- "appium-android-driver": "^9.1.0",
13
+ "appium-android-driver": "^9.2.0",
14
14
  "appium-chromedriver": "^5.6.28",
15
15
  "appium-uiautomator2-server": "^7.0.1",
16
16
  "asyncbox": "^3.0.0",
@@ -82,12 +82,12 @@
82
82
  }
83
83
  },
84
84
  "node_modules/@appium/base-driver": {
85
- "version": "9.5.3",
86
- "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.5.3.tgz",
87
- "integrity": "sha512-zs9C/L1YKWIsKVgLg6jA9lv4nMX4C7CxzqKpczFFOO05ymgv0ZrcybIIeQf1i/oRcUrdYkLItrafuPBgBRmijQ==",
85
+ "version": "9.6.0",
86
+ "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.6.0.tgz",
87
+ "integrity": "sha512-8+pqWHQ4tbvtwOxNCtHa5m0SUwQIvAwHTVKq/YUbgDn18ep4nGhz5rlryvvqyNpXEgEOhbLInIRma1KIrYdX8Q==",
88
88
  "dependencies": {
89
- "@appium/support": "^4.2.3",
90
- "@appium/types": "^0.16.2",
89
+ "@appium/support": "^4.2.5",
90
+ "@appium/types": "^0.17.0",
91
91
  "@colors/colors": "1.6.0",
92
92
  "@types/async-lock": "1.4.2",
93
93
  "@types/bluebird": "3.5.42",
@@ -132,12 +132,12 @@
132
132
  }
133
133
  },
134
134
  "node_modules/@appium/base-plugin": {
135
- "version": "2.2.29",
136
- "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.2.29.tgz",
137
- "integrity": "sha512-KdAwqZo3SZOqT/XBeb7Bii6qv4mNLgAocTs/rrXMWbAuPN7gvNKth/2jjkdOEbiL5bZ5JnmQVLCBQpvZwb+8Yw==",
135
+ "version": "2.2.31",
136
+ "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.2.31.tgz",
137
+ "integrity": "sha512-myeprF2O48u7hm/qnp3gVsidNfqrxWux+ka3RfR9YZmDhAbz2p8GcgVbm0tQxrJVjtYi7qr7A+et5tkeYcGn/g==",
138
138
  "dependencies": {
139
- "@appium/base-driver": "^9.5.3",
140
- "@appium/support": "^4.2.3"
139
+ "@appium/base-driver": "^9.6.0",
140
+ "@appium/support": "^4.2.5"
141
141
  },
142
142
  "engines": {
143
143
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
@@ -145,11 +145,11 @@
145
145
  }
146
146
  },
147
147
  "node_modules/@appium/docutils": {
148
- "version": "1.0.5",
149
- "resolved": "https://registry.npmjs.org/@appium/docutils/-/docutils-1.0.5.tgz",
150
- "integrity": "sha512-q6RcxnpJbr2x6hzd8KWl9vcQ3yJm7oE1IjOttKjaps3uaW/Xp+SODv0xmGO7g7X/NifxYfKkm5WRAglRfZPFSA==",
148
+ "version": "1.0.7",
149
+ "resolved": "https://registry.npmjs.org/@appium/docutils/-/docutils-1.0.7.tgz",
150
+ "integrity": "sha512-cuVcE3nNKlhJZsXrleubYkrr4VrEXaVKxq0GePb5+qmgpkx2OQb18imoPx1FKBlDbxHGrV7fuLxc/5LbmsV0dA==",
151
151
  "dependencies": {
152
- "@appium/support": "^4.2.3",
152
+ "@appium/support": "^4.2.5",
153
153
  "@appium/tsconfig": "^0.3.3",
154
154
  "@sliphua/lilconfig-ts-loader": "3.2.2",
155
155
  "@types/which": "3.0.3",
@@ -165,7 +165,7 @@
165
165
  "source-map-support": "0.5.21",
166
166
  "teen_process": "2.1.1",
167
167
  "type-fest": "4.10.1",
168
- "typescript": "5.4.4",
168
+ "typescript": "5.4.5",
169
169
  "yaml": "2.4.1",
170
170
  "yargs": "17.7.2",
171
171
  "yargs-parser": "21.1.1"
@@ -189,18 +189,6 @@
189
189
  "url": "https://github.com/sponsors/sindresorhus"
190
190
  }
191
191
  },
192
- "node_modules/@appium/docutils/node_modules/typescript": {
193
- "version": "5.4.4",
194
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
195
- "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
196
- "bin": {
197
- "tsc": "bin/tsc",
198
- "tsserver": "bin/tsserver"
199
- },
200
- "engines": {
201
- "node": ">=14.17"
202
- }
203
- },
204
192
  "node_modules/@appium/schema": {
205
193
  "version": "0.5.0",
206
194
  "resolved": "https://registry.npmjs.org/@appium/schema/-/schema-0.5.0.tgz",
@@ -216,12 +204,12 @@
216
204
  }
217
205
  },
218
206
  "node_modules/@appium/support": {
219
- "version": "4.2.3",
220
- "resolved": "https://registry.npmjs.org/@appium/support/-/support-4.2.3.tgz",
221
- "integrity": "sha512-ZQLzIk0X8BhZln5l89Jk9fAZ7FQaoKckM0ssTSVbTjiyCqZ17MbF2ADC6yWrH7kuHlNjtMClMf1bv0D1pppDSA==",
207
+ "version": "4.2.5",
208
+ "resolved": "https://registry.npmjs.org/@appium/support/-/support-4.2.5.tgz",
209
+ "integrity": "sha512-txTDZHjJF7UjEFi4uyj23gciz3yAq7OwzXFdJgtQBzkK1cIiCnywQ6igLmBg52jZp84ki8eZIDMXsQetVUuDDg==",
222
210
  "dependencies": {
223
211
  "@appium/tsconfig": "^0.3.3",
224
- "@appium/types": "^0.16.2",
212
+ "@appium/types": "^0.17.0",
225
213
  "@colors/colors": "1.6.0",
226
214
  "@types/archiver": "6.0.2",
227
215
  "@types/base64-stream": "1.0.5",
@@ -272,7 +260,7 @@
272
260
  "type-fest": "4.10.1",
273
261
  "uuid": "9.0.1",
274
262
  "which": "4.0.0",
275
- "yauzl": "3.1.2"
263
+ "yauzl": "3.1.3"
276
264
  },
277
265
  "engines": {
278
266
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
@@ -306,9 +294,9 @@
306
294
  }
307
295
  },
308
296
  "node_modules/@appium/types": {
309
- "version": "0.16.2",
310
- "resolved": "https://registry.npmjs.org/@appium/types/-/types-0.16.2.tgz",
311
- "integrity": "sha512-4LpzS26hfTuK5rAXogotydMFjA0UdWKpQscpsIJKJQ3KGNYNNSQL0fpVcJ6hHHXA2/ySI6DtQeK9+ayUBCUqYg==",
297
+ "version": "0.17.0",
298
+ "resolved": "https://registry.npmjs.org/@appium/types/-/types-0.17.0.tgz",
299
+ "integrity": "sha512-7Q9C5Y4G8ZQzdU0uJIlfVqpGMAzNqdXpNWziQTUfZyD7fHbYz9ScZrlgs2/DYMITRrHiIblmzY/5yzfu00rQuA==",
312
300
  "dependencies": {
313
301
  "@appium/schema": "^0.5.0",
314
302
  "@appium/tsconfig": "^0.3.3",
@@ -346,19 +334,19 @@
346
334
  }
347
335
  },
348
336
  "node_modules/@babel/helper-validator-identifier": {
349
- "version": "7.22.20",
350
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
351
- "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
337
+ "version": "7.24.5",
338
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz",
339
+ "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==",
352
340
  "engines": {
353
341
  "node": ">=6.9.0"
354
342
  }
355
343
  },
356
344
  "node_modules/@babel/highlight": {
357
- "version": "7.24.2",
358
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz",
359
- "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==",
345
+ "version": "7.24.5",
346
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz",
347
+ "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==",
360
348
  "dependencies": {
361
- "@babel/helper-validator-identifier": "^7.22.20",
349
+ "@babel/helper-validator-identifier": "^7.24.5",
362
350
  "chalk": "^2.4.2",
363
351
  "js-tokens": "^4.0.0",
364
352
  "picocolors": "^1.0.0"
@@ -769,9 +757,9 @@
769
757
  }
770
758
  },
771
759
  "node_modules/@types/node": {
772
- "version": "20.12.7",
773
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
774
- "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
760
+ "version": "20.12.8",
761
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz",
762
+ "integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==",
775
763
  "dependencies": {
776
764
  "undici-types": "~5.26.4"
777
765
  }
@@ -795,9 +783,9 @@
795
783
  "integrity": "sha512-JOqsl+ZoCpP4e8TDke9W79FDcSgPAR0l6pixx2JHkhnRjvShyYiAYw2LVsnA7K08Y6DeOnaU6ujmENO4os/cYg=="
796
784
  },
797
785
  "node_modules/@types/qs": {
798
- "version": "6.9.14",
799
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.14.tgz",
800
- "integrity": "sha512-5khscbd3SwWMhFqylJBLQ0zIu7c1K6Vz0uBIt915BI3zV0q1nfjRQD3RqSBcPaO6PHEF4ov/t9y89fSiyThlPA=="
786
+ "version": "6.9.15",
787
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz",
788
+ "integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg=="
801
789
  },
802
790
  "node_modules/@types/range-parser": {
803
791
  "version": "1.2.7",
@@ -975,17 +963,17 @@
975
963
  }
976
964
  },
977
965
  "node_modules/appium": {
978
- "version": "2.5.2",
979
- "resolved": "https://registry.npmjs.org/appium/-/appium-2.5.2.tgz",
980
- "integrity": "sha512-jUHHBBQYwKBf38nnay5n6II+i7e5L7pv1f4gXSlPGr2Pacc0/gUAnreVDA21Zz73EDZ7YeZH7Zbio1EwMEdd/g==",
966
+ "version": "2.5.4",
967
+ "resolved": "https://registry.npmjs.org/appium/-/appium-2.5.4.tgz",
968
+ "integrity": "sha512-ZB6VY5kQBnDyU/VnjglXALpw0O05nX7tJie2eCaeu3Ntpny9nFsY3FMWZuSq0qbIbAe10Yaw6S8JK0xxaV8Kzg==",
981
969
  "hasInstallScript": true,
982
970
  "dependencies": {
983
- "@appium/base-driver": "^9.5.3",
984
- "@appium/base-plugin": "^2.2.29",
985
- "@appium/docutils": "^1.0.5",
971
+ "@appium/base-driver": "^9.6.0",
972
+ "@appium/base-plugin": "^2.2.31",
973
+ "@appium/docutils": "^1.0.7",
986
974
  "@appium/schema": "~0.5.0",
987
- "@appium/support": "^4.2.3",
988
- "@appium/types": "^0.16.2",
975
+ "@appium/support": "^4.2.5",
976
+ "@appium/types": "^0.17.0",
989
977
  "@sidvind/better-ajv-errors": "2.1.3",
990
978
  "@types/argparse": "2.0.16",
991
979
  "@types/bluebird": "3.5.42",
@@ -1025,9 +1013,9 @@
1025
1013
  }
1026
1014
  },
1027
1015
  "node_modules/appium-adb": {
1028
- "version": "12.0.8",
1029
- "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-12.0.8.tgz",
1030
- "integrity": "sha512-ZaHkFjDiTHqQdPlxpg4itS/89UzlXlBzjYInnVmV9VX3W+jkL7TiNoLhW1v82+eetY8QDMvakNgk8eDsHHReCQ==",
1016
+ "version": "12.0.9",
1017
+ "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-12.0.9.tgz",
1018
+ "integrity": "sha512-6aT3Px9/CRIXuR7TTmzl68ZxgW2Xde7UBWtQp0Rn2uaKzNeF/cIyoRSEJPCA2US+W1cC5EzwWpFsybDwegmY7Q==",
1031
1019
  "dependencies": {
1032
1020
  "@appium/support": "^4.0.0",
1033
1021
  "@devicefarmer/adbkit-apkreader": "^3.2.4",
@@ -1047,9 +1035,9 @@
1047
1035
  }
1048
1036
  },
1049
1037
  "node_modules/appium-android-driver": {
1050
- "version": "9.1.1",
1051
- "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-9.1.1.tgz",
1052
- "integrity": "sha512-Z76tqn6yOnqTXf8LoMR2ubC/8a1hC78gVhLUq1/Lwz6Ws5dXz/j4ORBpAuQ9tIaPoPCob0mnv3YpxQu4EavkNw==",
1038
+ "version": "9.2.0",
1039
+ "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-9.2.0.tgz",
1040
+ "integrity": "sha512-YINiKvWpoTVIuYcC+90E4ENDf3cK/GNKXIcP3cXx7G2/8/OpE4HAbQUvlUIhNShEko06QEeTDWqEpa32RqdlqA==",
1053
1041
  "dependencies": {
1054
1042
  "@appium/support": "^4.2.0",
1055
1043
  "@colors/colors": "^1.6.0",
@@ -1079,9 +1067,9 @@
1079
1067
  }
1080
1068
  },
1081
1069
  "node_modules/appium-chromedriver": {
1082
- "version": "5.6.42",
1083
- "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-5.6.42.tgz",
1084
- "integrity": "sha512-SvVDFmFX15tEv702jHTxNQcLvmlNDjJeD3oaioQJed5pzuaL9D71ampzP5YcybOrdw+u/KLTdz2I7iFT83dvbA==",
1070
+ "version": "5.6.46",
1071
+ "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-5.6.46.tgz",
1072
+ "integrity": "sha512-wep/2ts/nUlzPyZNWExnrkjjVQe3zQm4/1mivRu6R5VPf6Mx4nhGglH5Y0aLEGDXfbaIHdHc3boyCKDtWsaz/A==",
1085
1073
  "hasInstallScript": true,
1086
1074
  "dependencies": {
1087
1075
  "@appium/base-driver": "^9.1.0",
@@ -4262,9 +4250,9 @@
4262
4250
  "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
4263
4251
  },
4264
4252
  "node_modules/type-fest": {
4265
- "version": "4.15.0",
4266
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.15.0.tgz",
4267
- "integrity": "sha512-tB9lu0pQpX5KJq54g+oHOLumOx+pMep4RaM6liXh2PKmVRFF+/vAtUP0ZaJ0kOySfVNjF6doBWPHhBhISKdlIA==",
4253
+ "version": "4.18.1",
4254
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.18.1.tgz",
4255
+ "integrity": "sha512-qXhgeNsX15bM63h5aapNFcQid9jRF/l3ojDoDFmekDQEUufZ9U4ErVt6SjDxnHp48Ltrw616R8yNc3giJ3KvVQ==",
4268
4256
  "engines": {
4269
4257
  "node": ">=16"
4270
4258
  },
@@ -4672,9 +4660,9 @@
4672
4660
  }
4673
4661
  },
4674
4662
  "node_modules/yauzl": {
4675
- "version": "3.1.2",
4676
- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.1.2.tgz",
4677
- "integrity": "sha512-621iCPgEG1wXViDZS/L3h9F8TgrdQV1eayJlJ8j5A2SZg8OdY/1DLf+VxNeD+q5QbMFEAbjjR8nITj7g4nKa0Q==",
4663
+ "version": "3.1.3",
4664
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.1.3.tgz",
4665
+ "integrity": "sha512-JCCdmlJJWv7L0q/KylOekyRaUrdEoUxWkWVcgorosTROCFWiS9p2NNPE9Yb91ak7b1N5SxAZEliWpspbZccivw==",
4678
4666
  "dependencies": {
4679
4667
  "buffer-crc32": "~0.2.3",
4680
4668
  "pend": "~1.2.0"
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "3.1.0",
10
+ "version": "3.2.0",
11
11
  "bugs": {
12
12
  "url": "https://github.com/appium/appium-uiautomator2-driver/issues"
13
13
  },
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "appium-adb": "^12.0.0",
60
- "appium-android-driver": "^9.1.0",
60
+ "appium-android-driver": "^9.2.0",
61
61
  "appium-chromedriver": "^5.6.28",
62
62
  "appium-uiautomator2-server": "^7.0.1",
63
63
  "asyncbox": "^3.0.0",