appium-espresso-driver 8.6.2 → 9.0.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.
Files changed (125) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/lib/commands/actions.d.ts +1 -1
  3. package/build/lib/commands/actions.d.ts.map +1 -1
  4. package/build/lib/commands/actions.js +1 -4
  5. package/build/lib/commands/actions.js.map +1 -1
  6. package/build/lib/commands/app-install.d.ts +1 -1
  7. package/build/lib/commands/app-install.d.ts.map +1 -1
  8. package/build/lib/commands/app-install.js +31 -41
  9. package/build/lib/commands/app-install.js.map +1 -1
  10. package/build/lib/commands/app-management.d.ts +1 -1
  11. package/build/lib/commands/app-management.d.ts.map +1 -1
  12. package/build/lib/commands/app-management.js +8 -12
  13. package/build/lib/commands/app-management.js.map +1 -1
  14. package/build/lib/commands/clipboard.d.ts +1 -1
  15. package/build/lib/commands/clipboard.d.ts.map +1 -1
  16. package/build/lib/commands/clipboard.js +2 -6
  17. package/build/lib/commands/clipboard.js.map +1 -1
  18. package/build/lib/commands/context.d.ts +1 -1
  19. package/build/lib/commands/context.d.ts.map +1 -1
  20. package/build/lib/commands/context.js +2 -6
  21. package/build/lib/commands/context.js.map +1 -1
  22. package/build/lib/commands/element.d.ts +1 -1
  23. package/build/lib/commands/element.d.ts.map +1 -1
  24. package/build/lib/commands/element.js +17 -30
  25. package/build/lib/commands/element.js.map +1 -1
  26. package/build/lib/commands/idling-resources.d.ts +1 -1
  27. package/build/lib/commands/idling-resources.d.ts.map +1 -1
  28. package/build/lib/commands/idling-resources.js +4 -10
  29. package/build/lib/commands/idling-resources.js.map +1 -1
  30. package/build/lib/commands/misc.d.ts +2 -2
  31. package/build/lib/commands/misc.d.ts.map +1 -1
  32. package/build/lib/commands/misc.js +14 -25
  33. package/build/lib/commands/misc.js.map +1 -1
  34. package/build/lib/commands/screenshot.d.ts +2 -2
  35. package/build/lib/commands/screenshot.d.ts.map +1 -1
  36. package/build/lib/commands/screenshot.js +2 -6
  37. package/build/lib/commands/screenshot.js.map +1 -1
  38. package/build/lib/commands/server/builder.js +24 -33
  39. package/build/lib/commands/server/builder.js.map +1 -1
  40. package/build/lib/commands/server/constants.js +5 -8
  41. package/build/lib/commands/server/constants.js.map +1 -1
  42. package/build/lib/commands/server/index.d.ts +4 -4
  43. package/build/lib/commands/server/index.d.ts.map +1 -1
  44. package/build/lib/commands/server/index.js +4 -16
  45. package/build/lib/commands/server/index.js.map +1 -1
  46. package/build/lib/commands/server/runner.d.ts +2 -2
  47. package/build/lib/commands/server/runner.d.ts.map +1 -1
  48. package/build/lib/commands/server/runner.js +59 -98
  49. package/build/lib/commands/server/runner.js.map +1 -1
  50. package/build/lib/commands/server/startup.d.ts +1 -1
  51. package/build/lib/commands/server/startup.d.ts.map +1 -1
  52. package/build/lib/commands/server/startup.js +16 -22
  53. package/build/lib/commands/server/startup.js.map +1 -1
  54. package/build/lib/commands/services.d.ts +1 -1
  55. package/build/lib/commands/services.d.ts.map +1 -1
  56. package/build/lib/commands/services.js +2 -6
  57. package/build/lib/commands/services.js.map +1 -1
  58. package/build/lib/commands/types.js +1 -2
  59. package/build/lib/constraints.js +3 -6
  60. package/build/lib/constraints.js.map +1 -1
  61. package/build/lib/doctor/optional-checks.js +3 -6
  62. package/build/lib/doctor/optional-checks.js.map +1 -1
  63. package/build/lib/doctor/required-checks.js +18 -25
  64. package/build/lib/doctor/required-checks.js.map +1 -1
  65. package/build/lib/driver.d.ts +12 -12
  66. package/build/lib/driver.d.ts.map +1 -1
  67. package/build/lib/driver.js +36 -73
  68. package/build/lib/driver.js.map +1 -1
  69. package/build/lib/execute-method-map.js +3 -6
  70. package/build/lib/execute-method-map.js.map +1 -1
  71. package/build/lib/index.d.ts +1 -1
  72. package/build/lib/index.d.ts.map +1 -1
  73. package/build/lib/index.js +3 -6
  74. package/build/lib/index.js.map +1 -1
  75. package/build/lib/logger.js +2 -5
  76. package/build/lib/logger.js.map +1 -1
  77. package/build/lib/method-map.js +3 -6
  78. package/build/lib/method-map.js.map +1 -1
  79. package/build/lib/types.d.ts +1 -1
  80. package/build/lib/types.d.ts.map +1 -1
  81. package/build/lib/types.js +1 -2
  82. package/build/lib/utils/app.js +1 -4
  83. package/build/lib/utils/app.js.map +1 -1
  84. package/build/lib/utils/index.d.ts +3 -3
  85. package/build/lib/utils/index.d.ts.map +1 -1
  86. package/build/lib/utils/index.js +3 -12
  87. package/build/lib/utils/index.js.map +1 -1
  88. package/build/lib/utils/package.d.ts.map +1 -1
  89. package/build/lib/utils/package.js +19 -24
  90. package/build/lib/utils/package.js.map +1 -1
  91. package/build/lib/utils/predicates.js +3 -8
  92. package/build/lib/utils/predicates.js.map +1 -1
  93. package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
  94. package/espresso-server/buildSrc/.gradle/{9.6.0 → 9.6.1}/executionHistory/executionHistory.bin +0 -0
  95. package/espresso-server/buildSrc/.gradle/9.6.1/executionHistory/executionHistory.lock +0 -0
  96. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  97. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +2 -2
  98. package/espresso-server/buildSrc/.gradle/file-system.probe +0 -0
  99. package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
  100. package/espresso-server/gradle/wrapper/gradle-wrapper.properties +1 -1
  101. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
  102. package/lib/commands/actions.ts +1 -1
  103. package/lib/commands/app-install.ts +4 -4
  104. package/lib/commands/app-management.ts +3 -3
  105. package/lib/commands/clipboard.ts +1 -1
  106. package/lib/commands/context.ts +1 -1
  107. package/lib/commands/element.ts +3 -3
  108. package/lib/commands/idling-resources.ts +1 -1
  109. package/lib/commands/misc.ts +4 -4
  110. package/lib/commands/screenshot.ts +2 -2
  111. package/lib/commands/server/builder.ts +2 -2
  112. package/lib/commands/server/index.ts +4 -4
  113. package/lib/commands/server/runner.ts +8 -6
  114. package/lib/commands/server/startup.ts +4 -4
  115. package/lib/commands/services.ts +1 -1
  116. package/lib/doctor/required-checks.ts +1 -1
  117. package/lib/driver.ts +19 -19
  118. package/lib/index.ts +1 -1
  119. package/lib/logger.ts +1 -1
  120. package/lib/types.ts +1 -1
  121. package/lib/utils/index.ts +3 -3
  122. package/lib/utils/package.ts +5 -3
  123. package/npm-shrinkwrap.json +120 -86
  124. package/package.json +15 -8
  125. package/espresso-server/buildSrc/.gradle/9.6.0/executionHistory/executionHistory.lock +0 -0
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-espresso-driver",
3
- "version": "8.6.2",
3
+ "version": "9.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-espresso-driver",
9
- "version": "8.6.2",
9
+ "version": "9.0.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^15.0.0",
@@ -28,7 +28,6 @@
28
28
  "@types/async-lock": "^1.4.2",
29
29
  "@types/chai": "^5.2.3",
30
30
  "@types/chai-as-promised": "^8.0.2",
31
- "@types/mocha": "^10.0.1",
32
31
  "@types/node": "^26.0.0",
33
32
  "@types/portscanner": "^2.1.4",
34
33
  "@types/semver": "^7.7.1",
@@ -38,13 +37,11 @@
38
37
  "async-lock": "^1.0.0",
39
38
  "chai": "^6.0.0",
40
39
  "chai-as-promised": "^8.0.0",
41
- "conventional-changelog-conventionalcommits": "^9.0.0",
42
- "mocha": "^11.1.0",
40
+ "conventional-changelog-conventionalcommits": "^9.3.1",
43
41
  "prettier": "^3.0.0",
44
42
  "semantic-release": "^25.0.2",
45
43
  "semver": "^7.3.7",
46
44
  "sinon": "^22.0.0",
47
- "ts-node": "^10.9.1",
48
45
  "typescript": "^6.0.3",
49
46
  "webdriverio": "^9.26.0",
50
47
  "xpath": "^0.x"
@@ -87,6 +84,31 @@
87
84
  "spdy": "4.0.2"
88
85
  }
89
86
  },
87
+ "node_modules/@appium/base-driver/node_modules/asyncbox": {
88
+ "version": "6.3.0",
89
+ "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.0.tgz",
90
+ "integrity": "sha512-7IFpnQDltd5rYQjhIJIpyismJtdWmw/pOABZKJfv2WVo0a6iYh2ZzUuCJJclae5mBtK0H/EychxXg91GB7rGdQ==",
91
+ "license": "Apache-2.0",
92
+ "dependencies": {
93
+ "p-limit": "^7.2.0"
94
+ },
95
+ "engines": {
96
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
97
+ "npm": ">=10"
98
+ }
99
+ },
100
+ "node_modules/@appium/base-driver/node_modules/axios": {
101
+ "version": "1.18.0",
102
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.0.tgz",
103
+ "integrity": "sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==",
104
+ "license": "MIT",
105
+ "dependencies": {
106
+ "follow-redirects": "^1.16.0",
107
+ "form-data": "^4.0.5",
108
+ "https-proxy-agent": "^5.0.1",
109
+ "proxy-from-env": "^2.1.0"
110
+ }
111
+ },
90
112
  "node_modules/@appium/logger": {
91
113
  "version": "2.0.9",
92
114
  "resolved": "https://registry.npmjs.org/@appium/logger/-/logger-2.0.9.tgz",
@@ -152,6 +174,43 @@
152
174
  "sharp": "0.35.1"
153
175
  }
154
176
  },
177
+ "node_modules/@appium/support/node_modules/asyncbox": {
178
+ "version": "6.3.0",
179
+ "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.0.tgz",
180
+ "integrity": "sha512-7IFpnQDltd5rYQjhIJIpyismJtdWmw/pOABZKJfv2WVo0a6iYh2ZzUuCJJclae5mBtK0H/EychxXg91GB7rGdQ==",
181
+ "license": "Apache-2.0",
182
+ "dependencies": {
183
+ "p-limit": "^7.2.0"
184
+ },
185
+ "engines": {
186
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
187
+ "npm": ">=10"
188
+ }
189
+ },
190
+ "node_modules/@appium/support/node_modules/axios": {
191
+ "version": "1.18.0",
192
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.0.tgz",
193
+ "integrity": "sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==",
194
+ "license": "MIT",
195
+ "dependencies": {
196
+ "follow-redirects": "^1.16.0",
197
+ "form-data": "^4.0.5",
198
+ "https-proxy-agent": "^5.0.1",
199
+ "proxy-from-env": "^2.1.0"
200
+ }
201
+ },
202
+ "node_modules/@appium/support/node_modules/semver": {
203
+ "version": "7.8.4",
204
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
205
+ "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
206
+ "license": "ISC",
207
+ "bin": {
208
+ "semver": "bin/semver.js"
209
+ },
210
+ "engines": {
211
+ "node": ">=10"
212
+ }
213
+ },
155
214
  "node_modules/@appium/support/node_modules/teen_process": {
156
215
  "version": "4.1.3",
157
216
  "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.3.tgz",
@@ -321,9 +380,9 @@
321
380
  }
322
381
  },
323
382
  "node_modules/appium-adb": {
324
- "version": "15.0.1",
325
- "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-15.0.1.tgz",
326
- "integrity": "sha512-s2B9p78PLjLn59QeO8QNVcbqu+QIXT1uDBFsbHJbUp0vci0gKXenpoF7jRDgbgwYPs7AqlILMRmFUml6/P5ZxA==",
383
+ "version": "15.0.5",
384
+ "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-15.0.5.tgz",
385
+ "integrity": "sha512-nXNpPL6ai0BoRQPnNHukdG3el4uQxr6WBahnhs2IyrJLw/6yyRo9YQJ6s2rVHy1OoULNFgVQjmldFgdhsvrbWg==",
327
386
  "license": "Apache-2.0",
328
387
  "dependencies": {
329
388
  "@appium/support": "^7.2.2",
@@ -340,9 +399,9 @@
340
399
  }
341
400
  },
342
401
  "node_modules/appium-android-driver": {
343
- "version": "13.2.4",
344
- "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-13.2.4.tgz",
345
- "integrity": "sha512-c5J+dbA0//eNVvGjFcURUtbJlDxUj9rjUjOXHIamytUpsPdi20raguwH7uOqR+WS2Tvv1ha/rnadsI1YAxRHsA==",
402
+ "version": "13.2.8",
403
+ "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-13.2.8.tgz",
404
+ "integrity": "sha512-MK+oC7xg4u/71VwtenQ9yjHzmG9ZLxab6PEmwR3hetNK5ct4g3kdtoWq3vuKmFGgs7J6nAL+dPgSXqgZuU+I9A==",
346
405
  "license": "Apache-2.0",
347
406
  "dependencies": {
348
407
  "@appium/support": "^7.2.2",
@@ -370,9 +429,9 @@
370
429
  }
371
430
  },
372
431
  "node_modules/appium-chromedriver": {
373
- "version": "8.4.10",
374
- "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-8.4.10.tgz",
375
- "integrity": "sha512-kOkpAp6lXTCJHGnpKtCx16X8dTw8yRQQvxr3exbyNT/JSQwmG+Wvyc8+iuZt9F9S8y1AP5RZKOJ/IG57oIu9nQ==",
432
+ "version": "8.4.14",
433
+ "resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-8.4.14.tgz",
434
+ "integrity": "sha512-17zQa+j1bv7LfYsvz2mDIBgMs9OeqsHp9lKSJeZ5NMVteIs3gTujaZTci0lNvPHqsXTmXYSGGdXdHiCEM3axAg==",
376
435
  "license": "Apache-2.0",
377
436
  "dependencies": {
378
437
  "@appium/base-driver": "^10.0.0-rc.2",
@@ -431,9 +490,9 @@
431
490
  "license": "MIT"
432
491
  },
433
492
  "node_modules/asyncbox": {
434
- "version": "6.3.0",
435
- "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.0.tgz",
436
- "integrity": "sha512-7IFpnQDltd5rYQjhIJIpyismJtdWmw/pOABZKJfv2WVo0a6iYh2ZzUuCJJclae5mBtK0H/EychxXg91GB7rGdQ==",
493
+ "version": "6.3.1",
494
+ "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.1.tgz",
495
+ "integrity": "sha512-48aDXFweBUWkAjmE6fCobYZY+rq93OYerERLIaVYVDGZSRNFYYaI+sZEJyqUwzxDSlzOHF6ckUEqis/JmHkrMA==",
437
496
  "license": "Apache-2.0",
438
497
  "dependencies": {
439
498
  "p-limit": "^7.2.0"
@@ -450,9 +509,9 @@
450
509
  "license": "MIT"
451
510
  },
452
511
  "node_modules/axios": {
453
- "version": "1.18.0",
454
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.0.tgz",
455
- "integrity": "sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==",
512
+ "version": "1.18.1",
513
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz",
514
+ "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==",
456
515
  "license": "MIT",
457
516
  "dependencies": {
458
517
  "follow-redirects": "^1.16.0",
@@ -523,9 +582,9 @@
523
582
  }
524
583
  },
525
584
  "node_modules/bare-os": {
526
- "version": "3.9.1",
527
- "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.9.1.tgz",
528
- "integrity": "sha512-6M5XjcnsygQNPMCMPXSK379xrJFiZ/AEMNBmFEmQW8d/789VQATvriyi5r0HYTL9TkQ26rn3kgdTG3aisbrXkQ==",
585
+ "version": "3.9.3",
586
+ "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.9.3.tgz",
587
+ "integrity": "sha512-fF4Q7QsyKVF5Rj0qvI8BgUNjqzC2JvQlpTaPLjVJVxYVUX5Zr9un+y3w1HmA4nNKdFmRBT8z/WmrjvXzXVerKQ==",
529
588
  "license": "Apache-2.0",
530
589
  "engines": {
531
590
  "bare": ">=1.14.0"
@@ -669,9 +728,9 @@
669
728
  }
670
729
  },
671
730
  "node_modules/brace-expansion": {
672
- "version": "5.0.6",
673
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
674
- "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
731
+ "version": "5.0.7",
732
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
733
+ "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
675
734
  "license": "MIT",
676
735
  "dependencies": {
677
736
  "balanced-match": "^4.0.2"
@@ -744,19 +803,6 @@
744
803
  "url": "https://github.com/chalk/chalk?sponsor=1"
745
804
  }
746
805
  },
747
- "node_modules/chalk/node_modules/supports-color": {
748
- "version": "7.2.0",
749
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
750
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
751
- "extraneous": true,
752
- "license": "MIT",
753
- "dependencies": {
754
- "has-flag": "^4.0.0"
755
- },
756
- "engines": {
757
- "node": ">=8"
758
- }
759
- },
760
806
  "node_modules/cliui": {
761
807
  "version": "9.0.1",
762
808
  "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",
@@ -1633,9 +1679,9 @@
1633
1679
  }
1634
1680
  },
1635
1681
  "node_modules/io.appium.settings": {
1636
- "version": "7.1.4",
1637
- "resolved": "https://registry.npmjs.org/io.appium.settings/-/io.appium.settings-7.1.4.tgz",
1638
- "integrity": "sha512-6lC5W4MRkehwjKzgwhY3pPqZ0XLXFLRJHoN+VfP1pzbNu1Pp4ALbqFoAaIN4n0J02HgeE3dlbvDv+Eze+PRsZw==",
1682
+ "version": "7.1.8",
1683
+ "resolved": "https://registry.npmjs.org/io.appium.settings/-/io.appium.settings-7.1.8.tgz",
1684
+ "integrity": "sha512-wfv+BvYZpsNSJDI660JgRbOHEqpte7efhDb0qEi0QGLb7i/cIp3wpNjIAnLKz1Px4Wz2s+Sq3G1sV8t8kyqH6A==",
1639
1685
  "license": "Apache-2.0",
1640
1686
  "dependencies": {
1641
1687
  "@appium/logger": "^2.0.0-rc.1",
@@ -1684,19 +1730,6 @@
1684
1730
  "url": "https://github.com/sponsors/sindresorhus"
1685
1731
  }
1686
1732
  },
1687
- "node_modules/is-unicode-supported": {
1688
- "version": "0.1.0",
1689
- "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz",
1690
- "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==",
1691
- "extraneous": true,
1692
- "license": "MIT",
1693
- "engines": {
1694
- "node": ">=10"
1695
- },
1696
- "funding": {
1697
- "url": "https://github.com/sponsors/sindresorhus"
1698
- }
1699
- },
1700
1733
  "node_modules/isarray": {
1701
1734
  "version": "1.0.0",
1702
1735
  "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
@@ -1810,23 +1843,6 @@
1810
1843
  "integrity": "sha512-7FGG40uhC8Mm633uKW1r58aElFlBlxCrg9JfSi3P6aYiWmfiWF0PgMd86ZUsxE5GwWPdHoS2+48bwTh2VPkIQA==",
1811
1844
  "license": "MIT"
1812
1845
  },
1813
- "node_modules/log-symbols": {
1814
- "version": "4.1.0",
1815
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
1816
- "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==",
1817
- "extraneous": true,
1818
- "license": "MIT",
1819
- "dependencies": {
1820
- "chalk": "^4.1.0",
1821
- "is-unicode-supported": "^0.1.0"
1822
- },
1823
- "engines": {
1824
- "node": ">=10"
1825
- },
1826
- "funding": {
1827
- "url": "https://github.com/sponsors/sindresorhus"
1828
- }
1829
- },
1830
1846
  "node_modules/lru-cache": {
1831
1847
  "version": "11.5.1",
1832
1848
  "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",
@@ -2277,12 +2293,13 @@
2277
2293
  }
2278
2294
  },
2279
2295
  "node_modules/qs": {
2280
- "version": "6.15.2",
2281
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz",
2282
- "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==",
2296
+ "version": "6.15.3",
2297
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz",
2298
+ "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
2283
2299
  "license": "BSD-3-Clause",
2284
2300
  "dependencies": {
2285
- "side-channel": "^1.1.0"
2301
+ "es-define-property": "^1.0.1",
2302
+ "side-channel": "^1.1.1"
2286
2303
  },
2287
2304
  "engines": {
2288
2305
  "node": ">=0.6"
@@ -2292,12 +2309,16 @@
2292
2309
  }
2293
2310
  },
2294
2311
  "node_modules/range-parser": {
2295
- "version": "1.2.1",
2296
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
2297
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
2312
+ "version": "1.3.0",
2313
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz",
2314
+ "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==",
2298
2315
  "license": "MIT",
2299
2316
  "engines": {
2300
2317
  "node": ">= 0.6"
2318
+ },
2319
+ "funding": {
2320
+ "type": "opencollective",
2321
+ "url": "https://opencollective.com/express"
2301
2322
  }
2302
2323
  },
2303
2324
  "node_modules/raw-body": {
@@ -2415,9 +2436,9 @@
2415
2436
  "optional": true
2416
2437
  },
2417
2438
  "node_modules/semver": {
2418
- "version": "7.8.4",
2419
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
2420
- "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
2439
+ "version": "7.8.5",
2440
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
2441
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
2421
2442
  "license": "ISC",
2422
2443
  "bin": {
2423
2444
  "semver": "bin/semver.js"
@@ -2827,6 +2848,19 @@
2827
2848
  "node": ">=8"
2828
2849
  }
2829
2850
  },
2851
+ "node_modules/supports-color": {
2852
+ "version": "7.2.0",
2853
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
2854
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
2855
+ "extraneous": true,
2856
+ "license": "MIT",
2857
+ "dependencies": {
2858
+ "has-flag": "^4.0.0"
2859
+ },
2860
+ "engines": {
2861
+ "node": ">=8"
2862
+ }
2863
+ },
2830
2864
  "node_modules/tagged-tag": {
2831
2865
  "version": "1.0.0",
2832
2866
  "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz",
@@ -2852,9 +2886,9 @@
2852
2886
  }
2853
2887
  },
2854
2888
  "node_modules/teen_process": {
2855
- "version": "4.1.4",
2856
- "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.4.tgz",
2857
- "integrity": "sha512-0bXracUK3DuQTYgx0r5Gc9hui6KxFYqGdnieoPeafAwC1ntXTmWF0UwZJBJkoiu+UZuiKTIsl4g4XVobKbIIwA==",
2889
+ "version": "4.1.7",
2890
+ "resolved": "https://registry.npmjs.org/teen_process/-/teen_process-4.1.7.tgz",
2891
+ "integrity": "sha512-rWYaZsS8hjySi6lgrewZsOtELuya7W2xu2DEG16ibcDcH+iyqn4fyp8Y08IncBo/q8MdOibVyP9GViqzvA7nsw==",
2858
2892
  "license": "Apache-2.0",
2859
2893
  "dependencies": {
2860
2894
  "shell-quote": "^1.8.1"
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "8.6.2",
10
+ "version": "9.0.1",
11
11
  "author": "Appium Contributors",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
@@ -26,6 +26,7 @@
26
26
  "printWidth": 100,
27
27
  "singleQuote": true
28
28
  },
29
+ "type": "module",
29
30
  "appium": {
30
31
  "driverName": "espresso",
31
32
  "automationName": "Espresso",
@@ -102,12 +103,14 @@
102
103
  "format:check": "prettier --check ./lib ./test",
103
104
  "prepare": "npm run rebuild",
104
105
  "sync-version": "node ./scripts/sync-version.mjs --package-version=${npm_package_version}",
105
- "test": "npm run test:node",
106
- "test:node": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.ts\"",
106
+ "pretest": "npm run build:node",
107
+ "test": "node --test --test-timeout=60000 \"build/test/unit/**/*-specs.js\"",
108
+ "test:node": "npm test",
107
109
  "test:server": "cd espresso-server && ./gradlew test --stacktrace || cd ..",
108
110
  "assemble:server:compose-off": "cd espresso-server && ./gradlew :app:assembleAndroidTest -PappiumComposeSupport=false --no-daemon",
109
111
  "version": "npm run sync-version && npm run build:server",
110
- "e2e-test": "mocha --exit --timeout 5m \"./test/functional/**/*-specs.ts\""
112
+ "pree2e-test": "npm run build:node",
113
+ "e2e-test": "node --test --test-concurrency=1 --test-timeout=300000 \"build/test/functional/**/*-specs.js\""
111
114
  },
112
115
  "peerDependencies": {
113
116
  "appium": "^3.0.0-rc.2"
@@ -121,7 +124,6 @@
121
124
  "@types/async-lock": "^1.4.2",
122
125
  "@types/chai": "^5.2.3",
123
126
  "@types/chai-as-promised": "^8.0.2",
124
- "@types/mocha": "^10.0.1",
125
127
  "@types/node": "^26.0.0",
126
128
  "@types/portscanner": "^2.1.4",
127
129
  "@types/semver": "^7.7.1",
@@ -131,15 +133,20 @@
131
133
  "async-lock": "^1.0.0",
132
134
  "chai": "^6.0.0",
133
135
  "chai-as-promised": "^8.0.0",
134
- "conventional-changelog-conventionalcommits": "^9.0.0",
135
- "mocha": "^11.1.0",
136
+ "conventional-changelog-conventionalcommits": "^9.3.1",
136
137
  "prettier": "^3.0.0",
137
138
  "semantic-release": "^25.0.2",
138
139
  "semver": "^7.3.7",
139
140
  "sinon": "^22.0.0",
140
- "ts-node": "^10.9.1",
141
141
  "typescript": "^6.0.3",
142
142
  "webdriverio": "^9.26.0",
143
143
  "xpath": "^0.x"
144
+ },
145
+ "exports": {
146
+ ".": {
147
+ "types": "./build/lib/index.d.ts",
148
+ "import": "./build/lib/index.js"
149
+ },
150
+ "./package.json": "./package.json"
144
151
  }
145
152
  }