appium-espresso-driver 10.0.3 → 10.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.
Files changed (457) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/lib/execute-method-map.d.ts +16 -0
  3. package/build/lib/execute-method-map.d.ts.map +1 -1
  4. package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
  5. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
  6. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
  7. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
  9. package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
  10. package/espresso-server/gradle/libs.versions.toml +2 -0
  11. package/espresso-server/library/build.gradle.kts +3 -0
  12. package/espresso-server/library/src/composeOn/java/io/appium/espressoserver/lib/helpers/ComposeNodeFinder.kt +3 -3
  13. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/handlers/exceptions/XPathLookupException.kt +10 -2
  14. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
  15. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/ViewFinder.kt +3 -0
  16. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/SourceDocument.kt +4 -21
  17. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/XPathQuery.kt +64 -0
  18. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/viewmatcher/WithXPath.kt +3 -3
  19. package/espresso-server/library/src/test/java/io/appium/espressoserver/test/helpers/XPathQueryTests.kt +101 -0
  20. package/espresso-server/settings.gradle.kts +4 -0
  21. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js +1 -1
  22. package/node_modules/@appium/base-driver/lib/basedriver/helpers/caps.ts +1 -1
  23. package/node_modules/@appium/base-driver/package.json +4 -4
  24. package/node_modules/@appium/logger/CHANGELOG.md +37 -0
  25. package/node_modules/@appium/logger/package.json +2 -2
  26. package/node_modules/@appium/schema/package.json +2 -2
  27. package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
  28. package/node_modules/@appium/support/build/lib/zip.js +11 -11
  29. package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
  30. package/node_modules/@appium/support/lib/zip.ts +11 -12
  31. package/node_modules/@appium/support/node_modules/teen_process/CHANGELOG.md +1122 -0
  32. package/node_modules/@appium/support/node_modules/teen_process/LICENSE +201 -0
  33. package/node_modules/@appium/support/node_modules/teen_process/README.md +270 -0
  34. package/node_modules/@appium/support/node_modules/teen_process/lib/circular-buffer.ts +60 -0
  35. package/node_modules/@appium/support/node_modules/teen_process/lib/exec.ts +176 -0
  36. package/node_modules/@appium/support/node_modules/teen_process/lib/helpers.ts +45 -0
  37. package/node_modules/@appium/support/node_modules/teen_process/lib/index.ts +4 -0
  38. package/node_modules/@appium/support/node_modules/teen_process/lib/subprocess.ts +358 -0
  39. package/node_modules/@appium/support/node_modules/teen_process/lib/types.ts +83 -0
  40. package/node_modules/@appium/support/node_modules/teen_process/package.json +81 -0
  41. package/node_modules/@appium/support/package.json +5 -5
  42. package/node_modules/@appium/types/package.json +5 -5
  43. package/node_modules/appium-adb/CHANGELOG.md +14 -0
  44. package/node_modules/appium-adb/node_modules/asyncbox/LICENSE +203 -0
  45. package/node_modules/appium-adb/node_modules/asyncbox/README.md +272 -0
  46. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
  47. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
  48. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
  49. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
  50. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
  51. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
  52. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
  53. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
  54. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
  55. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
  56. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
  57. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
  58. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts +12 -0
  59. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
  60. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js +10 -0
  61. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js.map +1 -0
  62. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
  63. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
  64. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
  65. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
  66. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
  67. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
  68. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
  69. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
  70. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
  71. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
  72. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js +2 -0
  73. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
  74. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
  75. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
  76. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
  77. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
  78. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
  79. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
  80. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js +53 -0
  81. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
  82. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
  83. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
  84. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
  85. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
  86. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
  87. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
  88. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
  89. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
  90. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
  91. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
  92. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
  93. package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
  94. package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
  95. package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
  96. package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
  97. package/node_modules/appium-adb/node_modules/asyncbox/lib/index.ts +28 -0
  98. package/node_modules/appium-adb/node_modules/asyncbox/lib/lock/lock.ts +369 -0
  99. package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/errors.ts +51 -0
  100. package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/types.ts +88 -0
  101. package/node_modules/appium-adb/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
  102. package/node_modules/appium-adb/node_modules/asyncbox/lib/time/retry.ts +61 -0
  103. package/node_modules/appium-adb/node_modules/asyncbox/lib/time/sleep.ts +79 -0
  104. package/node_modules/appium-adb/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
  105. package/node_modules/appium-adb/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
  106. package/node_modules/appium-adb/node_modules/asyncbox/package.json +60 -0
  107. package/node_modules/appium-adb/package.json +4 -4
  108. package/node_modules/appium-android-driver/CHANGELOG.md +36 -0
  109. package/node_modules/appium-android-driver/README.md +4 -0
  110. package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts +16 -0
  111. package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts.map +1 -0
  112. package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js +42 -0
  113. package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js.map +1 -0
  114. package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts +11 -0
  115. package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts.map +1 -0
  116. package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js +96 -0
  117. package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js.map +1 -0
  118. package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts +14 -0
  119. package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts.map +1 -0
  120. package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js +16 -0
  121. package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js.map +1 -0
  122. package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts +42 -0
  123. package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts.map +1 -0
  124. package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js +127 -0
  125. package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js.map +1 -0
  126. package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts +6 -0
  127. package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts.map +1 -0
  128. package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js +17 -0
  129. package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js.map +1 -0
  130. package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts +12 -0
  131. package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts.map +1 -0
  132. package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js +196 -0
  133. package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js.map +1 -0
  134. package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts +65 -0
  135. package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts.map +1 -0
  136. package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js +339 -0
  137. package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js.map +1 -0
  138. package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts +67 -0
  139. package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts.map +1 -0
  140. package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js +2 -0
  141. package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js.map +1 -0
  142. package/node_modules/appium-android-driver/build/lib/driver.d.ts +20 -0
  143. package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
  144. package/node_modules/appium-android-driver/build/lib/driver.js +9 -0
  145. package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
  146. package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts +16 -0
  147. package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts.map +1 -1
  148. package/node_modules/appium-android-driver/build/lib/execute-method-map.js +16 -0
  149. package/node_modules/appium-android-driver/build/lib/execute-method-map.js.map +1 -1
  150. package/node_modules/appium-android-driver/lib/commands/media-stream/batcher.ts +44 -0
  151. package/node_modules/appium-android-driver/lib/commands/media-stream/capabilities.ts +101 -0
  152. package/node_modules/appium-android-driver/lib/commands/media-stream/constants.ts +15 -0
  153. package/node_modules/appium-android-driver/lib/commands/media-stream/exports.ts +182 -0
  154. package/node_modules/appium-android-driver/lib/commands/media-stream/jpeg.ts +16 -0
  155. package/node_modules/appium-android-driver/lib/commands/media-stream/sps.ts +208 -0
  156. package/node_modules/appium-android-driver/lib/commands/media-stream/stream.ts +385 -0
  157. package/node_modules/appium-android-driver/lib/commands/media-stream/types.ts +65 -0
  158. package/node_modules/appium-android-driver/lib/driver.ts +16 -0
  159. package/node_modules/appium-android-driver/lib/execute-method-map.ts +17 -0
  160. package/node_modules/appium-android-driver/node_modules/asyncbox/LICENSE +203 -0
  161. package/node_modules/appium-android-driver/node_modules/asyncbox/README.md +272 -0
  162. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
  163. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
  164. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
  165. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
  166. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
  167. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
  168. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
  169. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
  170. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
  171. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
  172. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
  173. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
  174. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
  175. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
  176. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js +10 -0
  177. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js.map +1 -0
  178. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
  179. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
  180. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
  181. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
  182. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
  183. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
  184. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
  185. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
  186. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
  187. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
  188. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
  189. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
  190. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
  191. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
  192. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
  193. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
  194. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
  195. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
  196. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
  197. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
  198. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
  199. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
  200. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
  201. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
  202. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
  203. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
  204. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
  205. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
  206. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
  207. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
  208. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
  209. package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
  210. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
  211. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
  212. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
  213. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/index.ts +28 -0
  214. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
  215. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
  216. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/types.ts +88 -0
  217. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
  218. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/retry.ts +61 -0
  219. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
  220. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
  221. package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
  222. package/node_modules/appium-android-driver/node_modules/asyncbox/package.json +60 -0
  223. package/node_modules/appium-android-driver/package.json +7 -7
  224. package/node_modules/appium-chromedriver/CHANGELOG.md +14 -0
  225. package/node_modules/appium-chromedriver/node_modules/asyncbox/LICENSE +203 -0
  226. package/node_modules/appium-chromedriver/node_modules/asyncbox/README.md +272 -0
  227. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
  228. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
  229. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
  230. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
  231. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
  232. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
  233. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
  234. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
  235. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
  236. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
  237. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
  238. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
  239. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
  240. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
  241. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js +10 -0
  242. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js.map +1 -0
  243. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
  244. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
  245. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
  246. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
  247. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
  248. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
  249. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
  250. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
  251. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
  252. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
  253. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
  254. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
  255. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
  256. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
  257. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
  258. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
  259. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
  260. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
  261. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
  262. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
  263. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
  264. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
  265. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
  266. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
  267. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
  268. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
  269. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
  270. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
  271. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
  272. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
  273. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
  274. package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
  275. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
  276. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
  277. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
  278. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/index.ts +28 -0
  279. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
  280. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
  281. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/types.ts +88 -0
  282. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
  283. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/retry.ts +61 -0
  284. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
  285. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
  286. package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
  287. package/node_modules/appium-chromedriver/node_modules/asyncbox/package.json +60 -0
  288. package/node_modules/appium-chromedriver/package.json +4 -4
  289. package/node_modules/io.appium.settings/CHANGELOG.md +21 -0
  290. package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
  291. package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts +9 -0
  292. package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts.map +1 -1
  293. package/node_modules/io.appium.settings/build/lib/commands/video-stream.js +16 -1
  294. package/node_modules/io.appium.settings/build/lib/commands/video-stream.js.map +1 -1
  295. package/node_modules/io.appium.settings/build/lib/constants.d.ts +2 -0
  296. package/node_modules/io.appium.settings/build/lib/constants.d.ts.map +1 -1
  297. package/node_modules/io.appium.settings/build/lib/constants.js +2 -0
  298. package/node_modules/io.appium.settings/build/lib/constants.js.map +1 -1
  299. package/node_modules/io.appium.settings/build/lib/index.d.ts +3 -0
  300. package/node_modules/io.appium.settings/build/lib/index.d.ts.map +1 -1
  301. package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts +3 -1
  302. package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts.map +1 -1
  303. package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js +2 -0
  304. package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js.map +1 -1
  305. package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts +11 -0
  306. package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts.map +1 -1
  307. package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js +40 -0
  308. package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js.map +1 -1
  309. package/node_modules/io.appium.settings/lib/commands/video-stream.ts +17 -0
  310. package/node_modules/io.appium.settings/lib/constants.ts +2 -0
  311. package/node_modules/io.appium.settings/lib/index.ts +3 -0
  312. package/node_modules/io.appium.settings/lib/utils/streaming-protocol.ts +2 -0
  313. package/node_modules/io.appium.settings/lib/utils/streaming-transport.ts +43 -0
  314. package/node_modules/io.appium.settings/node_modules/asyncbox/LICENSE +203 -0
  315. package/node_modules/io.appium.settings/node_modules/asyncbox/README.md +272 -0
  316. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
  317. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
  318. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
  319. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
  320. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
  321. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
  322. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
  323. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
  324. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
  325. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
  326. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
  327. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
  328. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts +12 -0
  329. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
  330. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js +10 -0
  331. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js.map +1 -0
  332. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
  333. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
  334. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
  335. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
  336. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
  337. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
  338. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
  339. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
  340. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
  341. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
  342. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js +2 -0
  343. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
  344. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
  345. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
  346. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
  347. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
  348. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
  349. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
  350. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js +53 -0
  351. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
  352. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
  353. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
  354. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
  355. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
  356. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
  357. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
  358. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
  359. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
  360. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
  361. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
  362. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
  363. package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
  364. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
  365. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
  366. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
  367. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/index.ts +28 -0
  368. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/lock/lock.ts +369 -0
  369. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/errors.ts +51 -0
  370. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/types.ts +88 -0
  371. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
  372. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/retry.ts +61 -0
  373. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/sleep.ts +79 -0
  374. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
  375. package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
  376. package/node_modules/io.appium.settings/node_modules/asyncbox/package.json +60 -0
  377. package/node_modules/io.appium.settings/package.json +5 -5
  378. package/node_modules/teen_process/CHANGELOG.md +17 -0
  379. package/node_modules/teen_process/README.md +2 -2
  380. package/node_modules/teen_process/build/lib/circular-buffer.d.ts +13 -0
  381. package/node_modules/teen_process/build/lib/circular-buffer.d.ts.map +1 -0
  382. package/node_modules/teen_process/build/lib/circular-buffer.js +53 -0
  383. package/node_modules/teen_process/build/lib/circular-buffer.js.map +1 -0
  384. package/node_modules/teen_process/build/lib/exec.d.ts +33 -0
  385. package/node_modules/teen_process/build/lib/exec.d.ts.map +1 -0
  386. package/node_modules/teen_process/build/lib/exec.js +164 -0
  387. package/node_modules/teen_process/build/lib/exec.js.map +1 -0
  388. package/node_modules/teen_process/build/lib/helpers.d.ts +2 -0
  389. package/node_modules/teen_process/build/lib/helpers.d.ts.map +1 -0
  390. package/node_modules/teen_process/build/lib/helpers.js +41 -0
  391. package/node_modules/teen_process/build/lib/helpers.js.map +1 -0
  392. package/node_modules/teen_process/build/lib/index.d.ts +5 -0
  393. package/node_modules/teen_process/build/lib/index.d.ts.map +1 -0
  394. package/node_modules/teen_process/build/lib/index.js +4 -0
  395. package/node_modules/teen_process/build/lib/index.js.map +1 -0
  396. package/node_modules/teen_process/build/lib/subprocess.d.ts +131 -0
  397. package/node_modules/teen_process/build/lib/subprocess.d.ts.map +1 -0
  398. package/node_modules/teen_process/build/lib/subprocess.js +336 -0
  399. package/node_modules/teen_process/build/lib/subprocess.js.map +1 -0
  400. package/node_modules/teen_process/build/lib/types.d.ts +71 -0
  401. package/node_modules/teen_process/build/lib/types.d.ts.map +1 -0
  402. package/node_modules/teen_process/build/lib/types.js +2 -0
  403. package/node_modules/teen_process/build/lib/types.js.map +1 -0
  404. package/node_modules/teen_process/lib/exec.ts +15 -2
  405. package/node_modules/teen_process/lib/subprocess.ts +146 -110
  406. package/node_modules/teen_process/package.json +14 -25
  407. package/package.json +5 -5
  408. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts +0 -0
  409. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts.map +0 -0
  410. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js +0 -0
  411. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js.map +0 -0
  412. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts +0 -0
  413. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts.map +0 -0
  414. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js +0 -0
  415. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js.map +0 -0
  416. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts +0 -0
  417. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts.map +0 -0
  418. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js +0 -0
  419. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js.map +0 -0
  420. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts +0 -0
  421. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts.map +0 -0
  422. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js +0 -0
  423. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js.map +0 -0
  424. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts +0 -0
  425. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts.map +0 -0
  426. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js +0 -0
  427. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js.map +0 -0
  428. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts +0 -0
  429. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts.map +0 -0
  430. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js +0 -0
  431. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js.map +0 -0
  432. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/package.json +0 -0
  433. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts +0 -0
  434. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts.map +0 -0
  435. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js +0 -0
  436. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js.map +0 -0
  437. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts +0 -0
  438. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts.map +0 -0
  439. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js +0 -0
  440. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js.map +0 -0
  441. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts +0 -0
  442. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts.map +0 -0
  443. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js +0 -0
  444. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js.map +0 -0
  445. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts +0 -0
  446. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts.map +0 -0
  447. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js +0 -0
  448. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js.map +0 -0
  449. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts +0 -0
  450. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts.map +0 -0
  451. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js +0 -0
  452. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js.map +0 -0
  453. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts +0 -0
  454. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts.map +0 -0
  455. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js +0 -0
  456. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js.map +0 -0
  457. /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/package.json +0 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright JS Foundation and other contributors, https://js.foundation
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,270 @@
1
+ node-teen_process
2
+ =================
3
+
4
+ A grown-up version of Node's child_process. `exec` is really useful, but it
5
+ suffers many limitations. This is an es7 (`async`/`await`) implementation of
6
+ `exec` that uses `spawn` under the hood. It takes care of wrapping commands and
7
+ arguments so we don't have to care about escaping spaces. It can also return
8
+ stdout/stderr even when the command fails, or times out. Importantly, it's also
9
+ not susceptible to max buffer issues.
10
+
11
+ Published as both ESM and CommonJS, so `import {exec} from 'teen_process'` and
12
+ `const {exec} = require('teen_process')` both work.
13
+
14
+ ## teen_process.exec
15
+
16
+ Examples:
17
+
18
+ ```js
19
+ import { exec } from 'teen_process';
20
+
21
+ // basic usage
22
+ let {stdout, stderr, code} = await exec('ls', ['/usr/local/bin']);
23
+ console.log(stdout.split("\n")); // array of files
24
+ console.log(stderr); // ''
25
+ console.log(code); // 0
26
+
27
+ // works with spaces
28
+ await exec('/command/with spaces.sh', ['foo', 'argument with spaces'])
29
+ // as though we had run: "/command/with spaces.sh" foo "argument with spaces"
30
+
31
+ // nice error handling that still includes stderr/stdout/code
32
+ try {
33
+ await exec('echo_and_exit', ['foo', '10']);
34
+ } catch (e) {
35
+ console.log(e.message); // "Exited with code 10"
36
+ console.log(e.stdout); // "foo"
37
+ console.log(e.code); // 10
38
+ }
39
+ ```
40
+
41
+ The `exec` function takes some options, with these defaults:
42
+
43
+ ```js
44
+ {
45
+ cwd: undefined,
46
+ env: process.env,
47
+ timeout: null,
48
+ killSignal: 'SIGTERM',
49
+ encoding: 'utf8',
50
+ ignoreOutput: false,
51
+ stdio: "inherit",
52
+ isBuffer: false,
53
+ shell: undefined,
54
+ logger: undefined,
55
+ maxStdoutBufferSize: 100 * 1024 * 1024, // 100 MB
56
+ maxStderrBufferSize: 100 * 1024 * 1024, // 100 MB
57
+ }
58
+ ```
59
+
60
+ Most of these are self-explanatory. `ignoreOutput` is useful if you have a very
61
+ chatty process whose output you don't care about and don't want to add it to
62
+ the memory consumed by your program.
63
+
64
+ Both buffer size limits are needed to avoid memory overflow while collecting
65
+ process output. If the overall size of output chunks for different stream types exceeds the the given one then the oldest chunks will be pulled out in order to keep the memory load within the acceptable ranges.
66
+
67
+ If you're on Windows, you'll want to pass `shell: true`, because `exec`
68
+ actually uses `spawn` under the hood, and is therefore subject to the issues
69
+ noted about Windows + `spawn` in [the Node
70
+ docs](https://nodejs.org/api/child_process.html).
71
+
72
+ If `stdio` option is not set to `inheirt`, you may not get colored output from your process. In this case you can explore the subprocess's documentation to see if an option like `--colors` or `FORCE_COLORS` can be specified. you can also try to set `env.FORCE_COLOR = true` and see if it works.
73
+
74
+ Example:
75
+
76
+ ```js
77
+ try {
78
+ await exec('sleep', ['10'], {timeout: 500, killSignal: 'SIGINT'});
79
+ } catch (e) {
80
+ console.log(e.message); // "'sleep 10' timed out after 500ms"
81
+ }
82
+ ```
83
+
84
+ The `isBuffer` option specifies that the returned standard I/O is an instance
85
+ of a [Buffer](https://nodejs.org/api/buffer.html).
86
+
87
+ Example:
88
+
89
+ ```js
90
+ let {stdout, stderr} = await exec('cat', [filename], {isBuffer: true});
91
+ Buffer.isBuffer(stdout); // true
92
+ ```
93
+
94
+ The `logger` option allows stdout and stderr to be sent to a particular logger,
95
+ as it it received. This is overridden by the `ignoreOutput` option.
96
+
97
+
98
+ ## teen_process.SubProcess
99
+
100
+ `spawn` is already pretty great but for some uses there's a fair amount of
101
+ boilerplate, especially when using in an `async/await` context. `teen_process`
102
+ also exposes a `SubProcess` class, which can be used to cut down on some
103
+ boilerplate. It has 2 methods, `start` and `stop`:
104
+
105
+ ```js
106
+ import { SubProcess } from 'teen_process';
107
+
108
+ async function tailFileForABit () {
109
+ let proc = new SubProcess('tail', ['-f', '/var/log/foo.log']);
110
+ await proc.start();
111
+ await proc.stop();
112
+ }
113
+ ```
114
+
115
+ Errors with start/stop are thrown in the calling context.
116
+
117
+ ### Options
118
+
119
+ The instance constructor accepts same options that Node.js's
120
+ [spawn](https://nodejs.org/api/child_process.html#child_processspawncommand-args-options)
121
+ API plus some custom options:
122
+
123
+ * `isBuffer` - If set to `true` then both stdout and stderr chunks are delivered
124
+ as buffers rather than strings to the following entities:
125
+ - `startDetector` argument
126
+ - `output` event
127
+ * `encoding` - If provided then arguments of the `startDetector` argument and of the
128
+ `output` event will be encoded to strings using this given encoding, unless `isBuffer`
129
+ is set to `true`. If no explicit encoding is provided then `utf8` encoding is used by
130
+ default.
131
+
132
+ ### Events
133
+
134
+ You can listen to 8 events:
135
+
136
+ * `exit`
137
+ * `stop`
138
+ * `end`
139
+ * `die`
140
+ * `output`
141
+ * `lines-stdout`
142
+ * `lines-stderr`
143
+ * `stream-line`
144
+
145
+ ```js
146
+ proc.on('exit', (code, signal) => {
147
+ // if we get here, all we know is that the proc exited
148
+ console.log(`exited with code ${code} from signal ${signal}`);
149
+ // exited with code 127 from signal SIGHUP
150
+ });
151
+
152
+ proc.on('stop', (code, signal) => {
153
+ // if we get here, we know that we intentionally stopped the proc
154
+ // by calling proc.stop
155
+ });
156
+
157
+ proc.on('end', (code, signal) => {
158
+ // if we get here, we know that the process stopped outside of our control
159
+ // but with a 0 exit code
160
+ });
161
+
162
+ proc.on('die', (code, signal) => {
163
+ // if we get here, we know that the process stopped outside of our control
164
+ // with a non-zero exit code
165
+ });
166
+
167
+ proc.on('output', (stdout, stderr) => {
168
+ console.log(`stdout: ${stdout}`);
169
+ console.log(`stderr: ${stderr}`);
170
+ });
171
+
172
+ // line-stderr is just the same
173
+ proc.on('line-stdout', (line) => {
174
+ console.log(line);
175
+ });
176
+
177
+ // stream-line gives you one line at a time, with [STDOUT] or [STDERR]
178
+ // prepended
179
+ proc.on('stream-line', line => {
180
+ console.log(line);
181
+ // [STDOUT] foo
182
+ });
183
+ // so we could do: proc.on('stream-line', console.log.bind(console))
184
+ ```
185
+
186
+ ### Start Detectors
187
+
188
+ How does `SubProcess` know when to return control from `start()`? Well, the
189
+ default is to wait until there is some output. You can also pass in a number,
190
+ which will cause it to wait for that number of ms, or a function (which I call
191
+ a `startDetector`) which takes stdout and stderr and returns true when you want
192
+ control back. Examples:
193
+
194
+ ```js
195
+ await proc.start(); // will continue when stdout or stderr has received data
196
+ await proc.start(0); // will continue immediately
197
+
198
+ let sd = (stdout, stderr) => {
199
+ return stderr.indexOf('blarg') !== -1;
200
+ };
201
+ await proc.start(sd); // will continue when stderr receives 'blarg'
202
+ ```
203
+
204
+ A custom `startDetector` can also throw an error if it wants to declare the
205
+ start unsuccessful. For example, if we know that the first output might contain
206
+ a string which invalidates the process (for us), we could define a custom
207
+ `startDetector` as follows:
208
+
209
+ ```js
210
+ let sd = (stdout, stderr) => {
211
+ if (/fail/.test(stderr)) {
212
+ throw new Error("Encountered failure condition");
213
+ }
214
+ return stdout || stderr;
215
+ };
216
+ await proc.start(sd); // will continue when output is received that doesn't
217
+ // match 'fail'
218
+ ```
219
+
220
+ Finally, if you want to specify a maximum time to wait for a process to start,
221
+ you can do that by passing a second parameter in milliseconds to `start()`:
222
+
223
+ ```js
224
+ // use the default startDetector and throw an error if we wait for more than
225
+ // 1000ms for output
226
+ await proc.start(null, 1000);
227
+ ```
228
+
229
+ ### Finishing Processes
230
+
231
+ After the process has been started you can use `join()` to wait for it to
232
+ finish on its own:
233
+
234
+ ```js
235
+ await proc.join(); // will throw on exitcode not 0
236
+ await proc.join([0, 1]); // will throw on exitcode not 0 or 1
237
+ ```
238
+
239
+ And how about killing the processes? Can you provide a custom signal, instead
240
+ of using the default `SIGTERM`? Why yes:
241
+
242
+ ```js
243
+ await proc.stop('SIGHUP');
244
+ ```
245
+
246
+ If your process might not be killable and you don't really care, you can also
247
+ pass a timeout, which will return control to you in the form of an error after
248
+ the timeout has passed:
249
+
250
+ ```js
251
+ try {
252
+ await proc.stop('SIGHUP', 1000);
253
+ } catch (e) {
254
+ console.log("Proc failed to stop, ignoring cause YOLO");
255
+ }
256
+ ```
257
+
258
+ All in all, this makes it super simple to, say, write a script that tails
259
+ a file for X seconds and then stops, using async/await and pretty
260
+ straightforward error handling.
261
+
262
+ ```js
263
+ async function boredTail (filePath, boredAfter = 10000) {
264
+ let p = new SubProcess('tail', ['-f', filePath]);
265
+ p.on('stream-line', console.log);
266
+ await p.start();
267
+ await Bluebird.delay(boredAfter);
268
+ await p.stop();
269
+ }
270
+ ```
@@ -0,0 +1,60 @@
1
+ export const MAX_BUFFER_SIZE = 100 * 1024 * 1024; // 100 MiB
2
+ const THRESHOLD = 0.15;
3
+
4
+ export class CircularBuffer {
5
+ private _buf: Buffer[];
6
+ private _size: number;
7
+ private _maxSize: number;
8
+
9
+ constructor(maxSize = MAX_BUFFER_SIZE) {
10
+ this._maxSize = maxSize;
11
+ this._buf = [];
12
+ this._size = 0;
13
+ }
14
+
15
+ get size(): number {
16
+ return this._size;
17
+ }
18
+
19
+ get count(): number {
20
+ return this._buf.length;
21
+ }
22
+
23
+ public add(item: Buffer): this {
24
+ this._buf.push(item);
25
+ this._size += item.length;
26
+ this._align();
27
+ return this;
28
+ }
29
+
30
+ public value(): Buffer {
31
+ return Buffer.concat(this._buf);
32
+ }
33
+
34
+ private _align(): void {
35
+ if (this._size <= this._maxSize) {
36
+ return;
37
+ }
38
+
39
+ let numberOfItemsToShift = 0;
40
+ // We add the threshold to avoid shifting the array for each `add` call,
41
+ // which reduces the CPU usage
42
+ const expectedSizeToShift = this._size - this._maxSize + Math.trunc(this._maxSize * THRESHOLD);
43
+ let actualShiftedSize = 0;
44
+ while (numberOfItemsToShift < this._buf.length - 1 && actualShiftedSize <= expectedSizeToShift) {
45
+ actualShiftedSize += this._buf[numberOfItemsToShift].length;
46
+ numberOfItemsToShift++;
47
+ }
48
+ if (numberOfItemsToShift > 0) {
49
+ this._buf.splice(0, numberOfItemsToShift);
50
+ this._size -= actualShiftedSize;
51
+ }
52
+ if (actualShiftedSize < expectedSizeToShift) {
53
+ // We have already deleted all buffer items, but one,
54
+ // although the recent item is still too big to fit into the allowed size limit
55
+ const remainderToShift = expectedSizeToShift - actualShiftedSize;
56
+ this._buf[0] = this._buf[0].subarray(remainderToShift);
57
+ this._size -= remainderToShift;
58
+ }
59
+ }
60
+ }