appium-uiautomator2-driver 4.2.5 → 4.2.7

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/lib/driver.ts CHANGED
@@ -166,7 +166,10 @@ const NO_PROXY: RouteMatcher[] = [
166
166
  ['GET', new RegExp('^/session/[^/]+/appium/[^/]+/current_activity')],
167
167
  ['GET', new RegExp('^/session/[^/]+/appium/[^/]+/current_package')],
168
168
  ['GET', new RegExp('^/session/[^/]+/appium/app/[^/]+')],
169
+ ['GET', new RegExp('^/session/[^/]+/appium/capabilities')],
170
+ ['GET', new RegExp('^/session/[^/]+/appium/commands')],
169
171
  ['GET', new RegExp('^/session/[^/]+/appium/device/[^/]+')],
172
+ ['GET', new RegExp('^/session/[^/]+/appium/extensions')],
170
173
  ['GET', new RegExp('^/session/[^/]+/appium/settings')],
171
174
  ['GET', new RegExp('^/session/[^/]+/context')],
172
175
  ['GET', new RegExp('^/session/[^/]+/contexts')],
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-driver",
3
- "version": "4.2.5",
3
+ "version": "4.2.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-uiautomator2-driver",
9
- "version": "4.2.5",
9
+ "version": "4.2.7",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^12.12.0",
13
13
  "appium-android-driver": "^10.3.10",
14
- "appium-uiautomator2-server": "^7.4.0",
14
+ "appium-uiautomator2-server": "^7.7.0",
15
15
  "asyncbox": "^3.0.0",
16
16
  "axios": "^1.6.5",
17
17
  "bluebird": "^3.5.1",
@@ -258,6 +258,44 @@
258
258
  "sharp": "0.34.2"
259
259
  }
260
260
  },
261
+ "node_modules/@appium/support/node_modules/@img/sharp-libvips-linux-x64": {
262
+ "version": "1.1.0",
263
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.1.0.tgz",
264
+ "integrity": "sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==",
265
+ "cpu": [
266
+ "x64"
267
+ ],
268
+ "license": "LGPL-3.0-or-later",
269
+ "optional": true,
270
+ "os": [
271
+ "linux"
272
+ ],
273
+ "funding": {
274
+ "url": "https://opencollective.com/libvips"
275
+ }
276
+ },
277
+ "node_modules/@appium/support/node_modules/@img/sharp-linux-x64": {
278
+ "version": "0.34.2",
279
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.2.tgz",
280
+ "integrity": "sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ==",
281
+ "cpu": [
282
+ "x64"
283
+ ],
284
+ "license": "Apache-2.0",
285
+ "optional": true,
286
+ "os": [
287
+ "linux"
288
+ ],
289
+ "engines": {
290
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
291
+ },
292
+ "funding": {
293
+ "url": "https://opencollective.com/libvips"
294
+ },
295
+ "optionalDependencies": {
296
+ "@img/sharp-libvips-linux-x64": "1.1.0"
297
+ }
298
+ },
261
299
  "node_modules/@appium/support/node_modules/axios": {
262
300
  "version": "1.9.0",
263
301
  "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz",
@@ -269,6 +307,48 @@
269
307
  "proxy-from-env": "^1.1.0"
270
308
  }
271
309
  },
310
+ "node_modules/@appium/support/node_modules/sharp": {
311
+ "version": "0.34.2",
312
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.2.tgz",
313
+ "integrity": "sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg==",
314
+ "hasInstallScript": true,
315
+ "license": "Apache-2.0",
316
+ "optional": true,
317
+ "dependencies": {
318
+ "color": "^4.2.3",
319
+ "detect-libc": "^2.0.4",
320
+ "semver": "^7.7.2"
321
+ },
322
+ "engines": {
323
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
324
+ },
325
+ "funding": {
326
+ "url": "https://opencollective.com/libvips"
327
+ },
328
+ "optionalDependencies": {
329
+ "@img/sharp-darwin-arm64": "0.34.2",
330
+ "@img/sharp-darwin-x64": "0.34.2",
331
+ "@img/sharp-libvips-darwin-arm64": "1.1.0",
332
+ "@img/sharp-libvips-darwin-x64": "1.1.0",
333
+ "@img/sharp-libvips-linux-arm": "1.1.0",
334
+ "@img/sharp-libvips-linux-arm64": "1.1.0",
335
+ "@img/sharp-libvips-linux-ppc64": "1.1.0",
336
+ "@img/sharp-libvips-linux-s390x": "1.1.0",
337
+ "@img/sharp-libvips-linux-x64": "1.1.0",
338
+ "@img/sharp-libvips-linuxmusl-arm64": "1.1.0",
339
+ "@img/sharp-libvips-linuxmusl-x64": "1.1.0",
340
+ "@img/sharp-linux-arm": "0.34.2",
341
+ "@img/sharp-linux-arm64": "0.34.2",
342
+ "@img/sharp-linux-s390x": "0.34.2",
343
+ "@img/sharp-linux-x64": "0.34.2",
344
+ "@img/sharp-linuxmusl-arm64": "0.34.2",
345
+ "@img/sharp-linuxmusl-x64": "0.34.2",
346
+ "@img/sharp-wasm32": "0.34.2",
347
+ "@img/sharp-win32-arm64": "0.34.2",
348
+ "@img/sharp-win32-ia32": "0.34.2",
349
+ "@img/sharp-win32-x64": "0.34.2"
350
+ }
351
+ },
272
352
  "node_modules/@appium/support/node_modules/teen_process": {
273
353
  "version": "2.3.2",
274
354
  "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-2.3.2.tgz",
@@ -357,6 +437,16 @@
357
437
  "kuler": "^2.0.0"
358
438
  }
359
439
  },
440
+ "node_modules/@emnapi/runtime": {
441
+ "version": "1.4.5",
442
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.5.tgz",
443
+ "integrity": "sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==",
444
+ "extraneous": true,
445
+ "license": "MIT",
446
+ "dependencies": {
447
+ "tslib": "^2.4.0"
448
+ }
449
+ },
360
450
  "node_modules/@isaacs/cliui": {
361
451
  "version": "8.0.2",
362
452
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -694,9 +784,9 @@
694
784
  }
695
785
  },
696
786
  "node_modules/appium-chromedriver": {
697
- "version": "7.0.29",
698
- "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-7.0.29.tgz",
699
- "integrity": "sha512-AOlA7NEn/uqbbpZGQJeCkhq3IeWiGAVzGG/UUBrIzDWHTkUt34YezDhQO9/IVA9J6rmaxTINOgZeHzb9UmsoTw==",
787
+ "version": "7.0.32",
788
+ "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-7.0.32.tgz",
789
+ "integrity": "sha512-lg2EJqYWBW1rwAoX8/Beg/2dIgonK9whJgjG125iwqywgMQSJDcj7Uqa8mVqDdKzyWSTwW18J5T3pTsJdpfhCg==",
700
790
  "license": "Apache-2.0",
701
791
  "dependencies": {
702
792
  "@appium/base-driver": "^9.1.0",
@@ -719,9 +809,9 @@
719
809
  }
720
810
  },
721
811
  "node_modules/appium-uiautomator2-server": {
722
- "version": "7.6.2",
723
- "resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-7.6.2.tgz",
724
- "integrity": "sha512-WrRsqR67FK2nORvCU1TvCaHez1T1a51+zd2PBggPSp9XM/8O2Ezd6OfDLrAXltUEiu7xr8NQ+wwEfRjE9kK82A==",
812
+ "version": "7.7.0",
813
+ "resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-7.7.0.tgz",
814
+ "integrity": "sha512-C5Lc+lbAYyL8myXl6bKWRIeouYB6UfL2t1abt0vNq05nuEew9vKVaeLJ+HFQnjtyi6CrQ1ws1UrOvCDJqOZBbw==",
725
815
  "license": "Apache-2.0",
726
816
  "engines": {
727
817
  "node": ">=14",
@@ -842,16 +932,32 @@
842
932
  "license": "MIT"
843
933
  },
844
934
  "node_modules/axios": {
845
- "version": "1.10.0",
846
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.10.0.tgz",
847
- "integrity": "sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw==",
935
+ "version": "1.11.0",
936
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz",
937
+ "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",
848
938
  "license": "MIT",
849
939
  "dependencies": {
850
940
  "follow-redirects": "^1.15.6",
851
- "form-data": "^4.0.0",
941
+ "form-data": "^4.0.4",
852
942
  "proxy-from-env": "^1.1.0"
853
943
  }
854
944
  },
945
+ "node_modules/axios/node_modules/form-data": {
946
+ "version": "4.0.4",
947
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
948
+ "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
949
+ "license": "MIT",
950
+ "dependencies": {
951
+ "asynckit": "^0.4.0",
952
+ "combined-stream": "^1.0.8",
953
+ "es-set-tostringtag": "^2.1.0",
954
+ "hasown": "^2.0.2",
955
+ "mime-types": "^2.1.12"
956
+ },
957
+ "engines": {
958
+ "node": ">= 6"
959
+ }
960
+ },
855
961
  "node_modules/b4a": {
856
962
  "version": "1.6.7",
857
963
  "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz",
@@ -865,9 +971,9 @@
865
971
  "license": "MIT"
866
972
  },
867
973
  "node_modules/bare-events": {
868
- "version": "2.5.4",
869
- "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz",
870
- "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==",
974
+ "version": "2.6.0",
975
+ "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.6.0.tgz",
976
+ "integrity": "sha512-EKZ5BTXYExaNqi3I3f9RtEsaI/xBSGjE0XZCZilPzFAV/goswFHuPd9jEZlPIZ/iNZJwDSao9qRiScySz7MbQg==",
871
977
  "license": "Apache-2.0",
872
978
  "optional": true
873
979
  },
@@ -1222,8 +1328,8 @@
1222
1328
  "version": "4.2.3",
1223
1329
  "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
1224
1330
  "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
1225
- "devOptional": true,
1226
1331
  "license": "MIT",
1332
+ "optional": true,
1227
1333
  "dependencies": {
1228
1334
  "color-convert": "^2.0.1",
1229
1335
  "color-string": "^1.9.0"
@@ -1545,8 +1651,8 @@
1545
1651
  "version": "2.0.4",
1546
1652
  "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
1547
1653
  "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
1548
- "devOptional": true,
1549
1654
  "license": "Apache-2.0",
1655
+ "optional": true,
1550
1656
  "engines": {
1551
1657
  "node": ">=8"
1552
1658
  }
@@ -2328,9 +2434,9 @@
2328
2434
  }
2329
2435
  },
2330
2436
  "node_modules/io.appium.settings": {
2331
- "version": "5.14.12",
2332
- "resolved": "https://registry.npmjs.org/io.appium.settings/-/io.appium.settings-5.14.12.tgz",
2333
- "integrity": "sha512-n3l6WJDnWGaYD/Nu8jl+JXrSVW5cZnTtWRCWyexI91rWSKhviUivcdSwPbGdv19x/SDw+6TiEhtH7PYqh+sGCA==",
2437
+ "version": "5.14.14",
2438
+ "resolved": "https://registry.npmjs.org/io.appium.settings/-/io.appium.settings-5.14.14.tgz",
2439
+ "integrity": "sha512-Zw2zoQ612ygHPpv+So49DqfXwWWC4S2zF5zD0Otml+hP7XM7QcBnzh7aSkd0IpEqkd7MGtOVgNBtSVeCLH/gNg==",
2334
2440
  "license": "Apache-2.0",
2335
2441
  "dependencies": {
2336
2442
  "@appium/logger": "^1.3.0",
@@ -3740,48 +3846,6 @@
3740
3846
  "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
3741
3847
  "license": "ISC"
3742
3848
  },
3743
- "node_modules/sharp": {
3744
- "version": "0.34.2",
3745
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.2.tgz",
3746
- "integrity": "sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg==",
3747
- "devOptional": true,
3748
- "hasInstallScript": true,
3749
- "license": "Apache-2.0",
3750
- "dependencies": {
3751
- "color": "^4.2.3",
3752
- "detect-libc": "^2.0.4",
3753
- "semver": "^7.7.2"
3754
- },
3755
- "engines": {
3756
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
3757
- },
3758
- "funding": {
3759
- "url": "https://opencollective.com/libvips"
3760
- },
3761
- "optionalDependencies": {
3762
- "@img/sharp-darwin-arm64": "0.34.2",
3763
- "@img/sharp-darwin-x64": "0.34.2",
3764
- "@img/sharp-libvips-darwin-arm64": "1.1.0",
3765
- "@img/sharp-libvips-darwin-x64": "1.1.0",
3766
- "@img/sharp-libvips-linux-arm": "1.1.0",
3767
- "@img/sharp-libvips-linux-arm64": "1.1.0",
3768
- "@img/sharp-libvips-linux-ppc64": "1.1.0",
3769
- "@img/sharp-libvips-linux-s390x": "1.1.0",
3770
- "@img/sharp-libvips-linux-x64": "1.1.0",
3771
- "@img/sharp-libvips-linuxmusl-arm64": "1.1.0",
3772
- "@img/sharp-libvips-linuxmusl-x64": "1.1.0",
3773
- "@img/sharp-linux-arm": "0.34.2",
3774
- "@img/sharp-linux-arm64": "0.34.2",
3775
- "@img/sharp-linux-s390x": "0.34.2",
3776
- "@img/sharp-linux-x64": "0.34.2",
3777
- "@img/sharp-linuxmusl-arm64": "0.34.2",
3778
- "@img/sharp-linuxmusl-x64": "0.34.2",
3779
- "@img/sharp-wasm32": "0.34.2",
3780
- "@img/sharp-win32-arm64": "0.34.2",
3781
- "@img/sharp-win32-ia32": "0.34.2",
3782
- "@img/sharp-win32-x64": "0.34.2"
3783
- }
3784
- },
3785
3849
  "node_modules/shebang-command": {
3786
3850
  "version": "2.0.0",
3787
3851
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "4.2.5",
10
+ "version": "4.2.7",
11
11
  "bugs": {
12
12
  "url": "https://github.com/appium/appium-uiautomator2-driver/issues"
13
13
  },
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "appium-adb": "^12.12.0",
60
60
  "appium-android-driver": "^10.3.10",
61
- "appium-uiautomator2-server": "^7.4.0",
61
+ "appium-uiautomator2-server": "^7.7.0",
62
62
  "asyncbox": "^3.0.0",
63
63
  "axios": "^1.6.5",
64
64
  "bluebird": "^3.5.1",