appium-uiautomator2-driver 3.0.8 → 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.0.8",
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.0.8",
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.0.5",
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"
@@ -204,12 +204,12 @@
204
204
  }
205
205
  },
206
206
  "node_modules/@appium/support": {
207
- "version": "4.2.3",
208
- "resolved": "https://registry.npmjs.org/@appium/support/-/support-4.2.3.tgz",
209
- "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==",
210
210
  "dependencies": {
211
211
  "@appium/tsconfig": "^0.3.3",
212
- "@appium/types": "^0.16.2",
212
+ "@appium/types": "^0.17.0",
213
213
  "@colors/colors": "1.6.0",
214
214
  "@types/archiver": "6.0.2",
215
215
  "@types/base64-stream": "1.0.5",
@@ -260,7 +260,7 @@
260
260
  "type-fest": "4.10.1",
261
261
  "uuid": "9.0.1",
262
262
  "which": "4.0.0",
263
- "yauzl": "3.1.2"
263
+ "yauzl": "3.1.3"
264
264
  },
265
265
  "engines": {
266
266
  "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
@@ -294,9 +294,9 @@
294
294
  }
295
295
  },
296
296
  "node_modules/@appium/types": {
297
- "version": "0.16.2",
298
- "resolved": "https://registry.npmjs.org/@appium/types/-/types-0.16.2.tgz",
299
- "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==",
300
300
  "dependencies": {
301
301
  "@appium/schema": "^0.5.0",
302
302
  "@appium/tsconfig": "^0.3.3",
@@ -334,19 +334,19 @@
334
334
  }
335
335
  },
336
336
  "node_modules/@babel/helper-validator-identifier": {
337
- "version": "7.22.20",
338
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
339
- "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==",
340
340
  "engines": {
341
341
  "node": ">=6.9.0"
342
342
  }
343
343
  },
344
344
  "node_modules/@babel/highlight": {
345
- "version": "7.24.2",
346
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz",
347
- "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==",
348
348
  "dependencies": {
349
- "@babel/helper-validator-identifier": "^7.22.20",
349
+ "@babel/helper-validator-identifier": "^7.24.5",
350
350
  "chalk": "^2.4.2",
351
351
  "js-tokens": "^4.0.0",
352
352
  "picocolors": "^1.0.0"
@@ -757,9 +757,9 @@
757
757
  }
758
758
  },
759
759
  "node_modules/@types/node": {
760
- "version": "20.12.6",
761
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.6.tgz",
762
- "integrity": "sha512-3KurE8taB8GCvZBPngVbp0lk5CKi8M9f9k1rsADh0Evdz5SzJ+Q+Hx9uHoFGsLnLnd1xmkDQr2hVhlA0Mn0lKQ==",
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==",
763
763
  "dependencies": {
764
764
  "undici-types": "~5.26.4"
765
765
  }
@@ -783,9 +783,9 @@
783
783
  "integrity": "sha512-JOqsl+ZoCpP4e8TDke9W79FDcSgPAR0l6pixx2JHkhnRjvShyYiAYw2LVsnA7K08Y6DeOnaU6ujmENO4os/cYg=="
784
784
  },
785
785
  "node_modules/@types/qs": {
786
- "version": "6.9.14",
787
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.14.tgz",
788
- "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=="
789
789
  },
790
790
  "node_modules/@types/range-parser": {
791
791
  "version": "1.2.7",
@@ -963,17 +963,17 @@
963
963
  }
964
964
  },
965
965
  "node_modules/appium": {
966
- "version": "2.5.2",
967
- "resolved": "https://registry.npmjs.org/appium/-/appium-2.5.2.tgz",
968
- "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==",
969
969
  "hasInstallScript": true,
970
970
  "dependencies": {
971
- "@appium/base-driver": "^9.5.3",
972
- "@appium/base-plugin": "^2.2.29",
973
- "@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",
974
974
  "@appium/schema": "~0.5.0",
975
- "@appium/support": "^4.2.3",
976
- "@appium/types": "^0.16.2",
975
+ "@appium/support": "^4.2.5",
976
+ "@appium/types": "^0.17.0",
977
977
  "@sidvind/better-ajv-errors": "2.1.3",
978
978
  "@types/argparse": "2.0.16",
979
979
  "@types/bluebird": "3.5.42",
@@ -1013,9 +1013,9 @@
1013
1013
  }
1014
1014
  },
1015
1015
  "node_modules/appium-adb": {
1016
- "version": "12.0.8",
1017
- "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-12.0.8.tgz",
1018
- "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==",
1019
1019
  "dependencies": {
1020
1020
  "@appium/support": "^4.0.0",
1021
1021
  "@devicefarmer/adbkit-apkreader": "^3.2.4",
@@ -1035,9 +1035,9 @@
1035
1035
  }
1036
1036
  },
1037
1037
  "node_modules/appium-android-driver": {
1038
- "version": "9.1.1",
1039
- "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-9.1.1.tgz",
1040
- "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==",
1041
1041
  "dependencies": {
1042
1042
  "@appium/support": "^4.2.0",
1043
1043
  "@colors/colors": "^1.6.0",
@@ -1067,9 +1067,9 @@
1067
1067
  }
1068
1068
  },
1069
1069
  "node_modules/appium-chromedriver": {
1070
- "version": "5.6.42",
1071
- "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-5.6.42.tgz",
1072
- "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==",
1073
1073
  "hasInstallScript": true,
1074
1074
  "dependencies": {
1075
1075
  "@appium/base-driver": "^9.1.0",
@@ -4250,9 +4250,9 @@
4250
4250
  "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
4251
4251
  },
4252
4252
  "node_modules/type-fest": {
4253
- "version": "4.15.0",
4254
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.15.0.tgz",
4255
- "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==",
4256
4256
  "engines": {
4257
4257
  "node": ">=16"
4258
4258
  },
@@ -4273,9 +4273,9 @@
4273
4273
  }
4274
4274
  },
4275
4275
  "node_modules/typescript": {
4276
- "version": "5.4.4",
4277
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz",
4278
- "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==",
4276
+ "version": "5.4.5",
4277
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
4278
+ "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
4279
4279
  "bin": {
4280
4280
  "tsc": "bin/tsc",
4281
4281
  "tsserver": "bin/tsserver"
@@ -4660,9 +4660,9 @@
4660
4660
  }
4661
4661
  },
4662
4662
  "node_modules/yauzl": {
4663
- "version": "3.1.2",
4664
- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.1.2.tgz",
4665
- "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==",
4666
4666
  "dependencies": {
4667
4667
  "buffer-crc32": "~0.2.3",
4668
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.0.8",
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.0.5",
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",