appium-espresso-driver 9.3.13 → 10.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 (3068) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +1 -1880
  3. package/build/lib/commands/app-install.d.ts +7 -0
  4. package/build/lib/commands/app-install.d.ts.map +1 -1
  5. package/build/lib/commands/app-install.js +1 -3
  6. package/build/lib/commands/app-install.js.map +1 -1
  7. package/build/lib/commands/app-management.d.ts +5 -0
  8. package/build/lib/commands/app-management.d.ts.map +1 -1
  9. package/build/lib/commands/app-management.js.map +1 -1
  10. package/build/lib/commands/clipboard.d.ts +7 -0
  11. package/build/lib/commands/clipboard.d.ts.map +1 -1
  12. package/build/lib/commands/clipboard.js.map +1 -1
  13. package/build/lib/commands/context.d.ts +6 -0
  14. package/build/lib/commands/context.d.ts.map +1 -1
  15. package/build/lib/commands/context.js.map +1 -1
  16. package/build/lib/commands/element.d.ts +15 -0
  17. package/build/lib/commands/element.d.ts.map +1 -1
  18. package/build/lib/commands/element.js.map +1 -1
  19. package/build/lib/commands/idling-resources.d.ts +8 -0
  20. package/build/lib/commands/idling-resources.d.ts.map +1 -1
  21. package/build/lib/commands/idling-resources.js.map +1 -1
  22. package/build/lib/commands/misc.d.ts +13 -0
  23. package/build/lib/commands/misc.d.ts.map +1 -1
  24. package/build/lib/commands/misc.js.map +1 -1
  25. package/build/lib/commands/screenshot.d.ts +6 -0
  26. package/build/lib/commands/screenshot.d.ts.map +1 -1
  27. package/build/lib/commands/screenshot.js.map +1 -1
  28. package/build/lib/commands/server/runner.d.ts +1 -2
  29. package/build/lib/commands/server/runner.d.ts.map +1 -1
  30. package/build/lib/commands/server/runner.js.map +1 -1
  31. package/build/lib/commands/server/startup.d.ts +6 -0
  32. package/build/lib/commands/server/startup.d.ts.map +1 -1
  33. package/build/lib/commands/server/startup.js.map +1 -1
  34. package/build/lib/commands/services.d.ts +5 -0
  35. package/build/lib/commands/services.d.ts.map +1 -1
  36. package/build/lib/commands/services.js.map +1 -1
  37. package/build/lib/constraints.d.ts +52 -36
  38. package/build/lib/constraints.d.ts.map +1 -1
  39. package/build/lib/constraints.js +4 -1
  40. package/build/lib/constraints.js.map +1 -1
  41. package/build/lib/doctor/required-checks.d.ts +4 -4
  42. package/build/lib/doctor/required-checks.d.ts.map +1 -1
  43. package/build/lib/driver.d.ts +3 -55
  44. package/build/lib/driver.d.ts.map +1 -1
  45. package/build/lib/driver.js +57 -48
  46. package/build/lib/driver.js.map +1 -1
  47. package/build/lib/index.d.ts +1 -3
  48. package/build/lib/index.d.ts.map +1 -1
  49. package/build/lib/index.js +1 -3
  50. package/build/lib/index.js.map +1 -1
  51. package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
  52. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
  53. package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
  54. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  55. package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
  56. package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
  57. package/espresso-server/library/src/composeOn/java/io/appium/espressoserver/lib/model/ComposeElement.kt +1 -1
  58. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
  59. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/http/Router.kt +10 -3
  60. package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/Element.kt +1 -1
  61. package/lib/commands/app-install.ts +9 -3
  62. package/lib/commands/app-management.ts +6 -0
  63. package/lib/commands/clipboard.ts +8 -0
  64. package/lib/commands/context.ts +9 -0
  65. package/lib/commands/element.ts +18 -0
  66. package/lib/commands/idling-resources.ts +15 -0
  67. package/lib/commands/misc.ts +16 -0
  68. package/lib/commands/screenshot.ts +7 -0
  69. package/lib/commands/server/runner.ts +1 -2
  70. package/lib/commands/server/startup.ts +7 -0
  71. package/lib/commands/services.ts +6 -0
  72. package/lib/constraints.ts +4 -1
  73. package/lib/doctor/required-checks.ts +5 -5
  74. package/lib/driver.ts +73 -82
  75. package/lib/index.ts +1 -4
  76. package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts +4 -5
  77. package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts.map +1 -1
  78. package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js +143 -138
  79. package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js.map +1 -1
  80. package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.d.ts +15 -0
  81. package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.d.ts.map +1 -0
  82. package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.js +39 -0
  83. package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.js.map +1 -0
  84. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts +32 -2
  85. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts.map +1 -1
  86. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js +111 -62
  87. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js.map +1 -1
  88. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts +18 -2
  89. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts.map +1 -1
  90. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js +28 -34
  91. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js.map +1 -1
  92. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts +13 -2
  93. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts.map +1 -1
  94. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js +33 -30
  95. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js.map +1 -1
  96. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts +82 -2
  97. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts.map +1 -1
  98. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js +71 -28
  99. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js.map +1 -1
  100. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts +13 -2
  101. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts.map +1 -1
  102. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js +21 -19
  103. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js.map +1 -1
  104. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts +75 -2
  105. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts.map +1 -1
  106. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js +170 -99
  107. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js.map +1 -1
  108. package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts +69 -27
  109. package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts.map +1 -1
  110. package/node_modules/@appium/base-driver/build/lib/basedriver/core.js +101 -123
  111. package/node_modules/@appium/base-driver/build/lib/basedriver/core.js.map +1 -1
  112. package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js +11 -15
  113. package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js.map +1 -1
  114. package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts +95 -30
  115. package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts.map +1 -1
  116. package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js +297 -215
  117. package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js.map +1 -1
  118. package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.d.ts.map +1 -1
  119. package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js +24 -39
  120. package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js.map +1 -1
  121. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.d.ts +15 -0
  122. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.d.ts.map +1 -0
  123. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.js +449 -0
  124. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.js.map +1 -0
  125. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.d.ts +2 -0
  126. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.d.ts.map +1 -0
  127. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.js +434 -0
  128. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.js.map +1 -0
  129. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.d.ts +28 -0
  130. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.d.ts.map +1 -0
  131. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js +75 -0
  132. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js.map +1 -0
  133. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.d.ts +25 -0
  134. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.d.ts.map +1 -0
  135. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.js +65 -0
  136. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.js.map +1 -0
  137. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.d.ts +6 -0
  138. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.d.ts.map +1 -0
  139. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.js +6 -0
  140. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.js.map +1 -0
  141. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.d.ts +20 -0
  142. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.d.ts.map +1 -0
  143. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.js +35 -0
  144. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.js.map +1 -0
  145. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.d.ts +2 -0
  146. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.d.ts.map +1 -0
  147. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.js +17 -0
  148. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.js.map +1 -0
  149. package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts +1 -0
  150. package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts.map +1 -1
  151. package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js +46 -37
  152. package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js.map +1 -1
  153. package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js +9 -13
  154. package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js.map +1 -1
  155. package/node_modules/@appium/base-driver/build/lib/constants.d.ts +10 -1
  156. package/node_modules/@appium/base-driver/build/lib/constants.d.ts.map +1 -1
  157. package/node_modules/@appium/base-driver/build/lib/constants.js +20 -9
  158. package/node_modules/@appium/base-driver/build/lib/constants.js.map +1 -1
  159. package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js +7 -11
  160. package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js.map +1 -1
  161. package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts +1 -1
  162. package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts.map +1 -1
  163. package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js +3 -6
  164. package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js.map +1 -1
  165. package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.d.ts +11 -0
  166. package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.d.ts.map +1 -0
  167. package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.js +11 -0
  168. package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.js.map +1 -0
  169. package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.d.ts.map +1 -1
  170. package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js +22 -12
  171. package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js.map +1 -1
  172. package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.d.ts +8 -0
  173. package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.d.ts.map +1 -0
  174. package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.js +15 -0
  175. package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.js.map +1 -0
  176. package/node_modules/@appium/base-driver/build/lib/helpers/logger.d.ts +2 -0
  177. package/node_modules/@appium/base-driver/build/lib/helpers/logger.d.ts.map +1 -0
  178. package/node_modules/@appium/base-driver/build/lib/helpers/logger.js +3 -0
  179. package/node_modules/@appium/base-driver/build/lib/helpers/logger.js.map +1 -0
  180. package/node_modules/@appium/base-driver/build/lib/helpers/session.js +1 -4
  181. package/node_modules/@appium/base-driver/build/lib/helpers/session.js.map +1 -1
  182. package/node_modules/@appium/base-driver/build/lib/index.d.ts +14 -22
  183. package/node_modules/@appium/base-driver/build/lib/index.d.ts.map +1 -1
  184. package/node_modules/@appium/base-driver/build/lib/index.js +15 -72
  185. package/node_modules/@appium/base-driver/build/lib/index.js.map +1 -1
  186. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.d.ts +41 -0
  187. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.d.ts.map +1 -0
  188. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.js +41 -0
  189. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.js.map +1 -0
  190. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.d.ts +103 -0
  191. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.d.ts.map +1 -0
  192. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.js +103 -0
  193. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.js.map +1 -0
  194. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.d.ts +93 -0
  195. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.d.ts.map +1 -0
  196. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.js +93 -0
  197. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.js.map +1 -0
  198. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.d.ts +462 -0
  199. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.d.ts.map +1 -0
  200. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.js +29 -0
  201. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.js.map +1 -0
  202. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.d.ts +21 -0
  203. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.d.ts.map +1 -0
  204. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.js +21 -0
  205. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.js.map +1 -0
  206. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.d.ts +90 -0
  207. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.d.ts.map +1 -0
  208. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.js +90 -0
  209. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.js.map +1 -0
  210. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.d.ts +42 -0
  211. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.d.ts.map +1 -0
  212. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.js +42 -0
  213. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.js.map +1 -0
  214. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.d.ts +33 -0
  215. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.d.ts.map +1 -0
  216. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.js +42 -0
  217. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.js.map +1 -0
  218. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.d.ts +22 -0
  219. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.d.ts.map +1 -0
  220. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.js +22 -0
  221. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.js.map +1 -0
  222. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.d.ts +15 -0
  223. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.d.ts.map +1 -0
  224. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.js +15 -0
  225. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.js.map +1 -0
  226. package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts +50 -83
  227. package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts.map +1 -1
  228. package/node_modules/@appium/base-driver/build/lib/protocol/errors.js +152 -318
  229. package/node_modules/@appium/base-driver/build/lib/protocol/errors.js.map +1 -1
  230. package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts +1 -2
  231. package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts.map +1 -1
  232. package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js +7 -21
  233. package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js.map +1 -1
  234. package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.d.ts +9 -0
  235. package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.d.ts.map +1 -0
  236. package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.js +203 -0
  237. package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.js.map +1 -0
  238. package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts +11 -4
  239. package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts.map +1 -1
  240. package/node_modules/@appium/base-driver/build/lib/protocol/index.js +9 -26
  241. package/node_modules/@appium/base-driver/build/lib/protocol/index.js.map +1 -1
  242. package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.d.ts +15 -0
  243. package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.d.ts.map +1 -0
  244. package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.js +19 -0
  245. package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.js.map +1 -0
  246. package/node_modules/@appium/base-driver/build/lib/protocol/params.d.ts +47 -0
  247. package/node_modules/@appium/base-driver/build/lib/protocol/params.d.ts.map +1 -0
  248. package/node_modules/@appium/base-driver/build/lib/protocol/params.js +186 -0
  249. package/node_modules/@appium/base-driver/build/lib/protocol/params.js.map +1 -0
  250. package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.d.ts +16 -0
  251. package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.d.ts.map +1 -0
  252. package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.js +25 -0
  253. package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.js.map +1 -0
  254. package/node_modules/@appium/base-driver/build/lib/protocol/proxy.d.ts +24 -0
  255. package/node_modules/@appium/base-driver/build/lib/protocol/proxy.d.ts.map +1 -0
  256. package/node_modules/@appium/base-driver/build/lib/protocol/proxy.js +75 -0
  257. package/node_modules/@appium/base-driver/build/lib/protocol/proxy.js.map +1 -0
  258. package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.d.ts +20 -0
  259. package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.d.ts.map +1 -0
  260. package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.js +326 -0
  261. package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.js.map +1 -0
  262. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js +1 -4
  263. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js.map +1 -1
  264. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts +2 -0
  265. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts.map +1 -1
  266. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js +5 -6
  267. package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js.map +1 -1
  268. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js +1 -4
  269. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js.map +1 -1
  270. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js +1 -4
  271. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js.map +1 -1
  272. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js +1 -4
  273. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js.map +1 -1
  274. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js +1 -4
  275. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js.map +1 -1
  276. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js +27 -30
  277. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js.map +1 -1
  278. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js +1 -4
  279. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js.map +1 -1
  280. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js +1 -4
  281. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js.map +1 -1
  282. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js +1 -4
  283. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js.map +1 -1
  284. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js +1 -4
  285. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js.map +1 -1
  286. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js +1 -4
  287. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js.map +1 -1
  288. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js +1 -4
  289. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js.map +1 -1
  290. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js +1 -4
  291. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js.map +1 -1
  292. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js +1 -4
  293. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js.map +1 -1
  294. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js +1 -4
  295. package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js.map +1 -1
  296. package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts +4 -80
  297. package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts.map +1 -1
  298. package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js +28 -29
  299. package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js.map +1 -1
  300. package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts +0 -60
  301. package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts.map +1 -1
  302. package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js +1 -44
  303. package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js.map +1 -1
  304. package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts +0 -14
  305. package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts.map +1 -1
  306. package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js +1 -12
  307. package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js.map +1 -1
  308. package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts +5 -6
  309. package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts.map +1 -1
  310. package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js +9 -15
  311. package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js.map +1 -1
  312. package/node_modules/@appium/base-driver/build/lib/protocol/session.d.ts +34 -0
  313. package/node_modules/@appium/base-driver/build/lib/protocol/session.d.ts.map +1 -0
  314. package/node_modules/@appium/base-driver/build/lib/protocol/session.js +69 -0
  315. package/node_modules/@appium/base-driver/build/lib/protocol/session.js.map +1 -0
  316. package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts +6 -1
  317. package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts.map +1 -1
  318. package/node_modules/@appium/base-driver/build/lib/protocol/validators.js +12 -14
  319. package/node_modules/@appium/base-driver/build/lib/protocol/validators.js.map +1 -1
  320. package/node_modules/@appium/base-driver/build/lib/utils.js +9 -16
  321. package/node_modules/@appium/base-driver/build/lib/utils.js.map +1 -1
  322. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.d.ts +12 -0
  323. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.d.ts.map +1 -0
  324. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.js +48 -0
  325. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.js.map +1 -0
  326. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.d.ts +63 -0
  327. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.d.ts.map +1 -0
  328. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.js +361 -0
  329. package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.js.map +1 -0
  330. package/node_modules/@appium/base-driver/lib/basedriver/capabilities.ts +136 -111
  331. package/node_modules/@appium/base-driver/lib/basedriver/command-timeout.ts +52 -0
  332. package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi.ts +129 -68
  333. package/node_modules/@appium/base-driver/lib/basedriver/commands/event.ts +37 -39
  334. package/node_modules/@appium/base-driver/lib/basedriver/commands/execute.ts +40 -37
  335. package/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts +119 -50
  336. package/node_modules/@appium/base-driver/lib/basedriver/commands/log.ts +29 -28
  337. package/node_modules/@appium/base-driver/lib/basedriver/commands/timeout.ts +186 -113
  338. package/node_modules/@appium/base-driver/lib/basedriver/core.ts +104 -109
  339. package/node_modules/@appium/base-driver/lib/basedriver/device-settings.ts +2 -2
  340. package/node_modules/@appium/base-driver/lib/basedriver/driver.ts +330 -201
  341. package/node_modules/@appium/base-driver/lib/basedriver/extension-core.ts +9 -20
  342. package/node_modules/@appium/base-driver/lib/basedriver/helpers/app-cache.ts +519 -0
  343. package/node_modules/@appium/base-driver/lib/basedriver/helpers/app-url-rules.ts +471 -0
  344. package/node_modules/@appium/base-driver/lib/basedriver/helpers/caps.ts +79 -0
  345. package/node_modules/@appium/base-driver/lib/basedriver/helpers/env-proxy.ts +65 -0
  346. package/node_modules/@appium/base-driver/lib/basedriver/helpers/index.ts +5 -0
  347. package/node_modules/@appium/base-driver/lib/basedriver/helpers/timeouts.ts +42 -0
  348. package/node_modules/@appium/base-driver/lib/basedriver/helpers/version.ts +20 -0
  349. package/node_modules/@appium/base-driver/lib/basedriver/ipc.ts +36 -18
  350. package/node_modules/@appium/base-driver/lib/basedriver/validation.ts +1 -1
  351. package/node_modules/@appium/base-driver/lib/constants.ts +18 -1
  352. package/node_modules/@appium/base-driver/lib/helpers/extension-command-name.ts +1 -1
  353. package/node_modules/@appium/base-driver/lib/helpers/http-status-codes.ts +10 -0
  354. package/node_modules/@appium/base-driver/lib/helpers/levenshtein-match.ts +18 -1
  355. package/node_modules/@appium/base-driver/lib/helpers/log-prefix.ts +15 -0
  356. package/node_modules/@appium/base-driver/lib/index.ts +49 -34
  357. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/browser.ts +42 -0
  358. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/browsing-context.ts +104 -0
  359. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/emulation.ts +94 -0
  360. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/index.ts +31 -0
  361. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/input.ts +22 -0
  362. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/network.ts +91 -0
  363. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/script.ts +43 -0
  364. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/session.ts +43 -0
  365. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/storage.ts +23 -0
  366. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/web-extension.ts +16 -0
  367. package/node_modules/@appium/base-driver/lib/protocol/errors.ts +45 -234
  368. package/node_modules/@appium/base-driver/lib/protocol/helpers.ts +3 -14
  369. package/node_modules/@appium/base-driver/lib/protocol/idempotency.ts +238 -0
  370. package/node_modules/@appium/base-driver/lib/protocol/index.ts +11 -28
  371. package/node_modules/@appium/base-driver/lib/protocol/json-parse-error.ts +24 -0
  372. package/node_modules/@appium/base-driver/lib/protocol/params.ts +237 -0
  373. package/node_modules/@appium/base-driver/lib/protocol/proxy-context.ts +30 -0
  374. package/node_modules/@appium/base-driver/lib/protocol/proxy.ts +99 -0
  375. package/node_modules/@appium/base-driver/lib/protocol/route-handler.ts +453 -0
  376. package/node_modules/@appium/base-driver/lib/protocol/routes/appium.ts +5 -2
  377. package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/index.ts +13 -13
  378. package/node_modules/@appium/base-driver/lib/protocol/routes/index.ts +13 -9
  379. package/node_modules/@appium/base-driver/lib/protocol/routes/jsonwp.ts +0 -40
  380. package/node_modules/@appium/base-driver/lib/protocol/routes/mjsonwp.ts +0 -8
  381. package/node_modules/@appium/base-driver/lib/protocol/routes/w3c.ts +9 -11
  382. package/node_modules/@appium/base-driver/lib/protocol/session.ts +81 -0
  383. package/node_modules/@appium/base-driver/lib/protocol/validators.ts +15 -10
  384. package/node_modules/@appium/base-driver/lib/wd-proxy/proxy-request.ts +53 -0
  385. package/node_modules/@appium/base-driver/lib/wd-proxy/proxy.ts +418 -0
  386. package/node_modules/@appium/base-driver/package.json +26 -23
  387. package/node_modules/@appium/base-driver/tsconfig.json +1 -1
  388. package/node_modules/@appium/logger/CHANGELOG.md +45 -1
  389. package/node_modules/@appium/logger/README.md +1 -1
  390. package/node_modules/@appium/logger/build/lib/index.d.ts +3 -5
  391. package/node_modules/@appium/logger/build/lib/index.d.ts.map +1 -1
  392. package/node_modules/@appium/logger/build/lib/index.js +2 -11
  393. package/node_modules/@appium/logger/build/lib/index.js.map +1 -1
  394. package/node_modules/@appium/logger/build/lib/log.d.ts +17 -22
  395. package/node_modules/@appium/logger/build/lib/log.d.ts.map +1 -1
  396. package/node_modules/@appium/logger/build/lib/log.js +65 -124
  397. package/node_modules/@appium/logger/build/lib/log.js.map +1 -1
  398. package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts +1 -1
  399. package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts.map +1 -1
  400. package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js +9 -13
  401. package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js.map +1 -1
  402. package/node_modules/@appium/logger/build/lib/types.d.ts +60 -6
  403. package/node_modules/@appium/logger/build/lib/types.d.ts.map +1 -1
  404. package/node_modules/@appium/logger/build/lib/types.js +1 -2
  405. package/node_modules/@appium/logger/build/lib/utils/ansi.js +2 -6
  406. package/node_modules/@appium/logger/build/lib/utils/ansi.js.map +1 -1
  407. package/node_modules/@appium/logger/build/lib/utils/index.d.ts +3 -3
  408. package/node_modules/@appium/logger/build/lib/utils/index.d.ts.map +1 -1
  409. package/node_modules/@appium/logger/build/lib/utils/index.js +3 -12
  410. package/node_modules/@appium/logger/build/lib/utils/index.js.map +1 -1
  411. package/node_modules/@appium/logger/build/lib/utils/node.js +3 -8
  412. package/node_modules/@appium/logger/build/lib/utils/node.js.map +1 -1
  413. package/node_modules/@appium/logger/build/lib/utils/set-blocking.js +1 -4
  414. package/node_modules/@appium/logger/build/lib/utils/set-blocking.js.map +1 -1
  415. package/node_modules/@appium/logger/lib/index.ts +3 -5
  416. package/node_modules/@appium/logger/lib/log.ts +66 -81
  417. package/node_modules/@appium/logger/lib/secure-values-preprocessor.ts +3 -3
  418. package/node_modules/@appium/logger/lib/types.ts +62 -9
  419. package/node_modules/@appium/logger/lib/utils/index.ts +3 -3
  420. package/node_modules/@appium/logger/package.json +12 -4
  421. package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts +51 -46
  422. package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts.map +1 -1
  423. package/node_modules/@appium/schema/build/lib/appium-config-schema.js +50 -50
  424. package/node_modules/@appium/schema/build/lib/appium-config-schema.js.map +1 -1
  425. package/node_modules/@appium/schema/build/lib/index.d.ts +1 -1
  426. package/node_modules/@appium/schema/build/lib/index.d.ts.map +1 -1
  427. package/node_modules/@appium/schema/build/lib/index.js +3 -19
  428. package/node_modules/@appium/schema/build/lib/index.js.map +1 -1
  429. package/node_modules/@appium/schema/lib/appium-config-schema.ts +54 -49
  430. package/node_modules/@appium/schema/lib/appium-config.schema.json +54 -51
  431. package/node_modules/@appium/schema/lib/index.ts +3 -3
  432. package/node_modules/@appium/schema/package.json +12 -4
  433. package/node_modules/@appium/support/README.md +4 -9
  434. package/node_modules/@appium/support/build/lib/console.d.ts +10 -7
  435. package/node_modules/@appium/support/build/lib/console.d.ts.map +1 -1
  436. package/node_modules/@appium/support/build/lib/console.js +31 -79
  437. package/node_modules/@appium/support/build/lib/console.js.map +1 -1
  438. package/node_modules/@appium/support/build/lib/doctor.js +5 -13
  439. package/node_modules/@appium/support/build/lib/doctor.js.map +1 -1
  440. package/node_modules/@appium/support/build/lib/fs.d.ts +58 -79
  441. package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -1
  442. package/node_modules/@appium/support/build/lib/fs.js +93 -199
  443. package/node_modules/@appium/support/build/lib/fs.js.map +1 -1
  444. package/node_modules/@appium/support/build/lib/index.d.ts +28 -50
  445. package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -1
  446. package/node_modules/@appium/support/build/lib/index.js +15 -82
  447. package/node_modules/@appium/support/build/lib/index.js.map +1 -1
  448. package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js +3 -9
  449. package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js.map +1 -1
  450. package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts +23 -0
  451. package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts.map +1 -0
  452. package/node_modules/@appium/support/build/lib/internal/fs-like.js +2 -0
  453. package/node_modules/@appium/support/build/lib/internal/fs-like.js.map +1 -0
  454. package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts +39 -0
  455. package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts.map +1 -0
  456. package/node_modules/@appium/support/build/lib/internal/http-upload.js +104 -0
  457. package/node_modules/@appium/support/build/lib/internal/http-upload.js.map +1 -0
  458. package/node_modules/@appium/support/build/lib/internal/index.d.ts +21 -3
  459. package/node_modules/@appium/support/build/lib/internal/index.d.ts.map +1 -1
  460. package/node_modules/@appium/support/build/lib/internal/index.js +20 -10
  461. package/node_modules/@appium/support/build/lib/internal/index.js.map +1 -1
  462. package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts +26 -0
  463. package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts.map +1 -0
  464. package/node_modules/@appium/support/build/lib/internal/move-operation.js +161 -0
  465. package/node_modules/@appium/support/build/lib/internal/move-operation.js.map +1 -0
  466. package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts +8 -0
  467. package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts.map +1 -0
  468. package/node_modules/@appium/support/build/lib/internal/plain-object.js +14 -0
  469. package/node_modules/@appium/support/build/lib/internal/plain-object.js.map +1 -0
  470. package/node_modules/@appium/support/build/lib/internal/platform.d.ts +5 -0
  471. package/node_modules/@appium/support/build/lib/internal/platform.d.ts.map +1 -0
  472. package/node_modules/@appium/support/build/lib/internal/platform.js +8 -0
  473. package/node_modules/@appium/support/build/lib/internal/platform.js.map +1 -0
  474. package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts +9 -0
  475. package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts.map +1 -0
  476. package/node_modules/@appium/support/build/lib/internal/plist-buffers.js +47 -0
  477. package/node_modules/@appium/support/build/lib/internal/plist-buffers.js.map +1 -0
  478. package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts +15 -0
  479. package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts.map +1 -0
  480. package/node_modules/@appium/support/build/lib/internal/pluralize.js +20 -0
  481. package/node_modules/@appium/support/build/lib/internal/pluralize.js.map +1 -0
  482. package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts +3 -0
  483. package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts.map +1 -0
  484. package/node_modules/@appium/support/build/lib/internal/sizeof.js +77 -0
  485. package/node_modules/@appium/support/build/lib/internal/sizeof.js.map +1 -0
  486. package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts +11 -0
  487. package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts.map +1 -0
  488. package/node_modules/@appium/support/build/lib/internal/sub-path.js +24 -0
  489. package/node_modules/@appium/support/build/lib/internal/sub-path.js.map +1 -0
  490. package/node_modules/@appium/support/build/lib/internal/terminal.d.ts +16 -0
  491. package/node_modules/@appium/support/build/lib/internal/terminal.d.ts.map +1 -0
  492. package/node_modules/@appium/support/build/lib/internal/terminal.js +52 -0
  493. package/node_modules/@appium/support/build/lib/internal/terminal.js.map +1 -0
  494. package/node_modules/@appium/support/build/lib/internal/units.d.ts +7 -0
  495. package/node_modules/@appium/support/build/lib/internal/units.d.ts.map +1 -0
  496. package/node_modules/@appium/support/build/lib/internal/units.js +7 -0
  497. package/node_modules/@appium/support/build/lib/internal/units.js.map +1 -0
  498. package/node_modules/@appium/support/build/lib/internal/walker.d.ts +76 -0
  499. package/node_modules/@appium/support/build/lib/internal/walker.d.ts.map +1 -0
  500. package/node_modules/@appium/support/build/lib/internal/walker.js +88 -0
  501. package/node_modules/@appium/support/build/lib/internal/walker.js.map +1 -0
  502. package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts +48 -0
  503. package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts.map +1 -0
  504. package/node_modules/@appium/support/build/lib/internal/write-queue.js +99 -0
  505. package/node_modules/@appium/support/build/lib/internal/write-queue.js.map +1 -0
  506. package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts +16 -0
  507. package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts.map +1 -0
  508. package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js +81 -0
  509. package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js.map +1 -0
  510. package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts +90 -0
  511. package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts.map +1 -0
  512. package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js +226 -0
  513. package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js.map +1 -0
  514. package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts +155 -0
  515. package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts.map +1 -0
  516. package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js +591 -0
  517. package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js.map +1 -0
  518. package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts +30 -0
  519. package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts.map +1 -0
  520. package/node_modules/@appium/support/build/lib/internal/zip-extractor.js +249 -0
  521. package/node_modules/@appium/support/build/lib/internal/zip-extractor.js.map +1 -0
  522. package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts +36 -0
  523. package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts.map +1 -0
  524. package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js +669 -0
  525. package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js.map +1 -0
  526. package/node_modules/@appium/support/build/lib/logger.d.ts +1 -1
  527. package/node_modules/@appium/support/build/lib/logger.d.ts.map +1 -1
  528. package/node_modules/@appium/support/build/lib/logger.js +3 -5
  529. package/node_modules/@appium/support/build/lib/logger.js.map +1 -1
  530. package/node_modules/@appium/support/build/lib/logging.d.ts +0 -1
  531. package/node_modules/@appium/support/build/lib/logging.d.ts.map +1 -1
  532. package/node_modules/@appium/support/build/lib/logging.js +12 -54
  533. package/node_modules/@appium/support/build/lib/logging.js.map +1 -1
  534. package/node_modules/@appium/support/build/lib/net.d.ts +38 -15
  535. package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -1
  536. package/node_modules/@appium/support/build/lib/net.js +92 -171
  537. package/node_modules/@appium/support/build/lib/net.js.map +1 -1
  538. package/node_modules/@appium/support/build/lib/node.d.ts +1 -11
  539. package/node_modules/@appium/support/build/lib/node.d.ts.map +1 -1
  540. package/node_modules/@appium/support/build/lib/node.js +17 -148
  541. package/node_modules/@appium/support/build/lib/node.js.map +1 -1
  542. package/node_modules/@appium/support/build/lib/plist.d.ts.map +1 -1
  543. package/node_modules/@appium/support/build/lib/plist.js +24 -48
  544. package/node_modules/@appium/support/build/lib/plist.js.map +1 -1
  545. package/node_modules/@appium/support/build/lib/system.d.ts +3 -14
  546. package/node_modules/@appium/support/build/lib/system.d.ts.map +1 -1
  547. package/node_modules/@appium/support/build/lib/system.js +12 -49
  548. package/node_modules/@appium/support/build/lib/system.js.map +1 -1
  549. package/node_modules/@appium/support/build/lib/tempdir.js +16 -24
  550. package/node_modules/@appium/support/build/lib/tempdir.js.map +1 -1
  551. package/node_modules/@appium/support/build/lib/timing.js +4 -9
  552. package/node_modules/@appium/support/build/lib/timing.js.map +1 -1
  553. package/node_modules/@appium/support/build/lib/util.d.ts +6 -80
  554. package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
  555. package/node_modules/@appium/support/build/lib/util.js +62 -282
  556. package/node_modules/@appium/support/build/lib/util.js.map +1 -1
  557. package/node_modules/@appium/support/build/lib/zip.d.ts +48 -11
  558. package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
  559. package/node_modules/@appium/support/build/lib/zip.js +80 -508
  560. package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
  561. package/node_modules/@appium/support/lib/console.ts +26 -73
  562. package/node_modules/@appium/support/lib/fs.ts +102 -190
  563. package/node_modules/@appium/support/lib/index.ts +32 -61
  564. package/node_modules/@appium/support/lib/internal/fs-like.ts +26 -0
  565. package/node_modules/@appium/support/lib/internal/http-upload.ts +148 -0
  566. package/node_modules/@appium/support/lib/internal/index.ts +56 -11
  567. package/node_modules/@appium/support/lib/internal/move-operation.ts +171 -0
  568. package/node_modules/@appium/support/lib/internal/plain-object.ts +13 -0
  569. package/node_modules/@appium/support/lib/internal/platform.ts +8 -0
  570. package/node_modules/@appium/support/lib/internal/plist-buffers.ts +47 -0
  571. package/node_modules/@appium/support/lib/internal/pluralize.ts +25 -0
  572. package/node_modules/@appium/support/lib/internal/sizeof.ts +85 -0
  573. package/node_modules/@appium/support/lib/internal/sub-path.ts +24 -0
  574. package/node_modules/@appium/support/lib/internal/terminal.ts +59 -0
  575. package/node_modules/@appium/support/lib/internal/units.ts +6 -0
  576. package/node_modules/@appium/support/lib/internal/walker.ts +181 -0
  577. package/node_modules/@appium/support/lib/internal/write-queue.ts +105 -0
  578. package/node_modules/@appium/support/lib/internal/yauzl-helpers.ts +103 -0
  579. package/node_modules/@appium/support/lib/internal/zip-entry-sink.ts +282 -0
  580. package/node_modules/@appium/support/lib/internal/zip-entry-writer.ts +696 -0
  581. package/node_modules/@appium/support/lib/internal/zip-extractor.ts +292 -0
  582. package/node_modules/@appium/support/lib/internal/zip-stream-parser.ts +793 -0
  583. package/node_modules/@appium/support/lib/logger.ts +1 -1
  584. package/node_modules/@appium/support/lib/logging.ts +1 -6
  585. package/node_modules/@appium/support/lib/net.ts +96 -204
  586. package/node_modules/@appium/support/lib/node.ts +3 -136
  587. package/node_modules/@appium/support/lib/plist.ts +11 -25
  588. package/node_modules/@appium/support/lib/system.ts +3 -31
  589. package/node_modules/@appium/support/lib/tempdir.ts +3 -3
  590. package/node_modules/@appium/support/lib/timing.ts +1 -1
  591. package/node_modules/@appium/support/lib/util.ts +26 -177
  592. package/node_modules/@appium/support/lib/zip.ts +88 -513
  593. package/node_modules/@appium/support/package.json +29 -33
  594. package/node_modules/@appium/types/build/lib/action.d.ts +1 -1
  595. package/node_modules/@appium/types/build/lib/action.d.ts.map +1 -1
  596. package/node_modules/@appium/types/build/lib/action.js +2 -5
  597. package/node_modules/@appium/types/build/lib/action.js.map +1 -1
  598. package/node_modules/@appium/types/build/lib/appium-config.d.ts +31 -38
  599. package/node_modules/@appium/types/build/lib/appium-config.d.ts.map +1 -1
  600. package/node_modules/@appium/types/build/lib/appium-config.js +1 -2
  601. package/node_modules/@appium/types/build/lib/appium-config.js.map +1 -1
  602. package/node_modules/@appium/types/build/lib/capabilities.d.ts +8 -8
  603. package/node_modules/@appium/types/build/lib/capabilities.d.ts.map +1 -1
  604. package/node_modules/@appium/types/build/lib/capabilities.js +1 -2
  605. package/node_modules/@appium/types/build/lib/command-maps.d.ts +128 -15
  606. package/node_modules/@appium/types/build/lib/command-maps.d.ts.map +1 -1
  607. package/node_modules/@appium/types/build/lib/command-maps.js +1 -2
  608. package/node_modules/@appium/types/build/lib/commands/appium.js +1 -2
  609. package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +45 -100
  610. package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
  611. package/node_modules/@appium/types/build/lib/commands/basedriver.js +1 -2
  612. package/node_modules/@appium/types/build/lib/commands/index.d.ts +6 -6
  613. package/node_modules/@appium/types/build/lib/commands/index.d.ts.map +1 -1
  614. package/node_modules/@appium/types/build/lib/commands/index.js +6 -22
  615. package/node_modules/@appium/types/build/lib/commands/index.js.map +1 -1
  616. package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts +0 -18
  617. package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts.map +1 -1
  618. package/node_modules/@appium/types/build/lib/commands/jsonwp.js +1 -2
  619. package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts +0 -17
  620. package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts.map +1 -1
  621. package/node_modules/@appium/types/build/lib/commands/mjsonwp.js +1 -2
  622. package/node_modules/@appium/types/build/lib/commands/other-protocols.js +1 -2
  623. package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts +2 -2
  624. package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts.map +1 -1
  625. package/node_modules/@appium/types/build/lib/commands/webdriver.js +1 -2
  626. package/node_modules/@appium/types/build/lib/config.d.ts +2 -2
  627. package/node_modules/@appium/types/build/lib/config.d.ts.map +1 -1
  628. package/node_modules/@appium/types/build/lib/config.js +1 -2
  629. package/node_modules/@appium/types/build/lib/config.js.map +1 -1
  630. package/node_modules/@appium/types/build/lib/constraints.d.ts +0 -21
  631. package/node_modules/@appium/types/build/lib/constraints.d.ts.map +1 -1
  632. package/node_modules/@appium/types/build/lib/constraints.js +1 -25
  633. package/node_modules/@appium/types/build/lib/constraints.js.map +1 -1
  634. package/node_modules/@appium/types/build/lib/doctor.d.ts +1 -1
  635. package/node_modules/@appium/types/build/lib/doctor.d.ts.map +1 -1
  636. package/node_modules/@appium/types/build/lib/doctor.js +1 -2
  637. package/node_modules/@appium/types/build/lib/driver.d.ts +18 -18
  638. package/node_modules/@appium/types/build/lib/driver.d.ts.map +1 -1
  639. package/node_modules/@appium/types/build/lib/driver.js +1 -2
  640. package/node_modules/@appium/types/build/lib/http.d.ts +1 -1
  641. package/node_modules/@appium/types/build/lib/http.d.ts.map +1 -1
  642. package/node_modules/@appium/types/build/lib/http.js +1 -2
  643. package/node_modules/@appium/types/build/lib/index.d.ts +18 -15
  644. package/node_modules/@appium/types/build/lib/index.d.ts.map +1 -1
  645. package/node_modules/@appium/types/build/lib/index.js +17 -31
  646. package/node_modules/@appium/types/build/lib/index.js.map +1 -1
  647. package/node_modules/@appium/types/build/lib/ipc.js +1 -2
  648. package/node_modules/@appium/types/build/lib/json.d.ts +35 -0
  649. package/node_modules/@appium/types/build/lib/json.d.ts.map +1 -0
  650. package/node_modules/@appium/types/build/lib/json.js +7 -0
  651. package/node_modules/@appium/types/build/lib/json.js.map +1 -0
  652. package/node_modules/@appium/types/build/lib/logger.d.ts +0 -6
  653. package/node_modules/@appium/types/build/lib/logger.d.ts.map +1 -1
  654. package/node_modules/@appium/types/build/lib/logger.js +1 -2
  655. package/node_modules/@appium/types/build/lib/package-json.d.ts +50 -0
  656. package/node_modules/@appium/types/build/lib/package-json.d.ts.map +1 -0
  657. package/node_modules/@appium/types/build/lib/package-json.js +7 -0
  658. package/node_modules/@appium/types/build/lib/package-json.js.map +1 -0
  659. package/node_modules/@appium/types/build/lib/plugin.d.ts +6 -12
  660. package/node_modules/@appium/types/build/lib/plugin.d.ts.map +1 -1
  661. package/node_modules/@appium/types/build/lib/plugin.js +1 -2
  662. package/node_modules/@appium/types/build/lib/server.d.ts +10 -8
  663. package/node_modules/@appium/types/build/lib/server.d.ts.map +1 -1
  664. package/node_modules/@appium/types/build/lib/server.js +1 -2
  665. package/node_modules/@appium/types/build/lib/standard-caps.d.ts +5 -3
  666. package/node_modules/@appium/types/build/lib/standard-caps.d.ts.map +1 -1
  667. package/node_modules/@appium/types/build/lib/standard-caps.js +1 -2
  668. package/node_modules/@appium/types/build/lib/util.d.ts +68 -3
  669. package/node_modules/@appium/types/build/lib/util.d.ts.map +1 -1
  670. package/node_modules/@appium/types/build/lib/util.js +1 -2
  671. package/node_modules/@appium/types/lib/action.ts +1 -1
  672. package/node_modules/@appium/types/lib/appium-config.ts +31 -38
  673. package/node_modules/@appium/types/lib/capabilities.ts +8 -8
  674. package/node_modules/@appium/types/lib/command-maps.ts +141 -16
  675. package/node_modules/@appium/types/lib/commands/basedriver.ts +45 -114
  676. package/node_modules/@appium/types/lib/commands/index.ts +6 -6
  677. package/node_modules/@appium/types/lib/commands/jsonwp.ts +0 -21
  678. package/node_modules/@appium/types/lib/commands/mjsonwp.ts +0 -19
  679. package/node_modules/@appium/types/lib/commands/webdriver.ts +2 -2
  680. package/node_modules/@appium/types/lib/config.ts +2 -2
  681. package/node_modules/@appium/types/lib/constraints.ts +0 -21
  682. package/node_modules/@appium/types/lib/doctor.ts +1 -1
  683. package/node_modules/@appium/types/lib/driver.ts +18 -22
  684. package/node_modules/@appium/types/lib/http.ts +1 -1
  685. package/node_modules/@appium/types/lib/index.ts +18 -15
  686. package/node_modules/@appium/types/lib/json.ts +39 -0
  687. package/node_modules/@appium/types/lib/logger.ts +0 -6
  688. package/node_modules/@appium/types/lib/package-json.ts +40 -0
  689. package/node_modules/@appium/types/lib/plugin.ts +6 -13
  690. package/node_modules/@appium/types/lib/server.ts +10 -8
  691. package/node_modules/@appium/types/lib/standard-caps.ts +5 -3
  692. package/node_modules/@appium/types/lib/util.ts +92 -5
  693. package/node_modules/@appium/types/package.json +24 -8
  694. package/node_modules/@appium/types/tsconfig.json +1 -1
  695. package/node_modules/@types/body-parser/LICENSE +21 -0
  696. package/node_modules/@types/body-parser/README.md +15 -0
  697. package/node_modules/@types/body-parser/index.d.ts +95 -0
  698. package/node_modules/@types/body-parser/package.json +64 -0
  699. package/node_modules/@types/connect/LICENSE +21 -0
  700. package/node_modules/@types/connect/README.md +15 -0
  701. package/node_modules/@types/connect/index.d.ts +91 -0
  702. package/node_modules/@types/connect/package.json +32 -0
  703. package/node_modules/@types/express/LICENSE +21 -0
  704. package/node_modules/@types/express/README.md +15 -0
  705. package/node_modules/@types/express/index.d.ts +122 -0
  706. package/node_modules/@types/express/package.json +45 -0
  707. package/node_modules/@types/express-serve-static-core/LICENSE +21 -0
  708. package/node_modules/@types/express-serve-static-core/README.md +15 -0
  709. package/node_modules/@types/express-serve-static-core/index.d.ts +1256 -0
  710. package/node_modules/@types/express-serve-static-core/package.json +51 -0
  711. package/node_modules/@types/http-errors/LICENSE +21 -0
  712. package/node_modules/@types/http-errors/README.md +15 -0
  713. package/node_modules/@types/http-errors/index.d.ts +77 -0
  714. package/node_modules/@types/http-errors/package.json +36 -0
  715. package/node_modules/@types/json-schema/LICENSE +21 -0
  716. package/node_modules/@types/json-schema/README.md +15 -0
  717. package/node_modules/@types/json-schema/index.d.ts +749 -0
  718. package/node_modules/@types/json-schema/package.json +40 -0
  719. package/node_modules/@types/node/LICENSE +21 -0
  720. package/node_modules/@types/node/README.md +15 -0
  721. package/node_modules/@types/node/assert/strict.d.ts +68 -0
  722. package/node_modules/@types/node/assert.d.ts +1077 -0
  723. package/node_modules/@types/node/async_hooks.d.ts +711 -0
  724. package/node_modules/@types/node/buffer.buffer.d.ts +471 -0
  725. package/node_modules/@types/node/buffer.d.ts +1800 -0
  726. package/node_modules/@types/node/child_process.d.ts +1361 -0
  727. package/node_modules/@types/node/cluster.d.ts +432 -0
  728. package/node_modules/@types/node/console.d.ts +93 -0
  729. package/node_modules/@types/node/constants.d.ts +14 -0
  730. package/node_modules/@types/node/crypto.d.ts +3964 -0
  731. package/node_modules/@types/node/dgram.d.ts +652 -0
  732. package/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
  733. package/node_modules/@types/node/dns/promises.d.ts +497 -0
  734. package/node_modules/@types/node/dns.d.ts +876 -0
  735. package/node_modules/@types/node/domain.d.ts +150 -0
  736. package/node_modules/@types/node/events.d.ts +1008 -0
  737. package/node_modules/@types/node/ffi.d.ts +500 -0
  738. package/node_modules/@types/node/fs/promises.d.ts +1477 -0
  739. package/node_modules/@types/node/fs.d.ts +4803 -0
  740. package/node_modules/@types/node/globals.d.ts +150 -0
  741. package/node_modules/@types/node/globals.typedarray.d.ts +101 -0
  742. package/node_modules/@types/node/http.d.ts +2218 -0
  743. package/node_modules/@types/node/http2.d.ts +2498 -0
  744. package/node_modules/@types/node/https.d.ts +400 -0
  745. package/node_modules/@types/node/index.d.ts +116 -0
  746. package/node_modules/@types/node/inspector/promises.d.ts +35 -0
  747. package/node_modules/@types/node/inspector.d.ts +265 -0
  748. package/node_modules/@types/node/inspector.generated.d.ts +4406 -0
  749. package/node_modules/@types/node/module.d.ts +726 -0
  750. package/node_modules/@types/node/net.d.ts +1074 -0
  751. package/node_modules/@types/node/os.d.ts +498 -0
  752. package/node_modules/@types/node/package.json +140 -0
  753. package/node_modules/@types/node/path/posix.d.ts +8 -0
  754. package/node_modules/@types/node/path/win32.d.ts +8 -0
  755. package/node_modules/@types/node/path.d.ts +178 -0
  756. package/node_modules/@types/node/perf_hooks.d.ts +617 -0
  757. package/node_modules/@types/node/process.d.ts +2269 -0
  758. package/node_modules/@types/node/punycode.d.ts +89 -0
  759. package/node_modules/@types/node/querystring.d.ts +139 -0
  760. package/node_modules/@types/node/quic.d.ts +2191 -0
  761. package/node_modules/@types/node/readline/promises.d.ts +158 -0
  762. package/node_modules/@types/node/readline.d.ts +508 -0
  763. package/node_modules/@types/node/repl.d.ts +420 -0
  764. package/node_modules/@types/node/sea.d.ts +47 -0
  765. package/node_modules/@types/node/sqlite.d.ts +1140 -0
  766. package/node_modules/@types/node/stream/consumers.d.ts +114 -0
  767. package/node_modules/@types/node/stream/iter.d.ts +449 -0
  768. package/node_modules/@types/node/stream/promises.d.ts +211 -0
  769. package/node_modules/@types/node/stream/web.d.ts +320 -0
  770. package/node_modules/@types/node/stream.d.ts +1806 -0
  771. package/node_modules/@types/node/string_decoder.d.ts +27 -0
  772. package/node_modules/@types/node/test/reporters.d.ts +60 -0
  773. package/node_modules/@types/node/test.d.ts +2558 -0
  774. package/node_modules/@types/node/timers/promises.d.ts +93 -0
  775. package/node_modules/@types/node/timers.d.ts +149 -0
  776. package/node_modules/@types/node/tls.d.ts +1232 -0
  777. package/node_modules/@types/node/trace_events.d.ts +103 -0
  778. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +467 -0
  779. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  780. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  781. package/node_modules/@types/node/ts5.6/index.d.ts +118 -0
  782. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  783. package/node_modules/@types/node/ts5.7/index.d.ts +118 -0
  784. package/node_modules/@types/node/tty.d.ts +226 -0
  785. package/node_modules/@types/node/url.d.ts +556 -0
  786. package/node_modules/@types/node/util/types.d.ts +558 -0
  787. package/node_modules/@types/node/util.d.ts +1680 -0
  788. package/node_modules/@types/node/v8.d.ts +1059 -0
  789. package/node_modules/@types/node/vfs.d.ts +211 -0
  790. package/node_modules/@types/node/vm.d.ts +1137 -0
  791. package/node_modules/@types/node/wasi.d.ts +131 -0
  792. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
  793. package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  794. package/node_modules/@types/node/web-globals/console.d.ts +9 -0
  795. package/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
  796. package/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
  797. package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  798. package/node_modules/@types/node/web-globals/events.d.ts +106 -0
  799. package/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
  800. package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  801. package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  802. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  803. package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  804. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  805. package/node_modules/@types/node/web-globals/streams.d.ts +119 -0
  806. package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  807. package/node_modules/@types/node/web-globals/url.d.ts +24 -0
  808. package/node_modules/@types/node/worker_threads.d.ts +672 -0
  809. package/node_modules/@types/node/zlib/iter.d.ts +131 -0
  810. package/node_modules/@types/node/zlib.d.ts +1364 -0
  811. package/node_modules/@types/qs/LICENSE +21 -0
  812. package/node_modules/@types/qs/README.md +15 -0
  813. package/node_modules/@types/qs/index.d.ts +83 -0
  814. package/node_modules/@types/qs/package.json +66 -0
  815. package/node_modules/@types/range-parser/LICENSE +21 -0
  816. package/node_modules/@types/range-parser/README.md +53 -0
  817. package/node_modules/@types/range-parser/index.d.ts +34 -0
  818. package/node_modules/@types/range-parser/package.json +25 -0
  819. package/node_modules/@types/send/LICENSE +21 -0
  820. package/node_modules/@types/send/README.md +15 -0
  821. package/node_modules/@types/send/index.d.ts +187 -0
  822. package/node_modules/@types/send/package.json +38 -0
  823. package/node_modules/@types/serve-static/LICENSE +21 -0
  824. package/node_modules/@types/serve-static/README.md +15 -0
  825. package/node_modules/@types/serve-static/index.d.ts +116 -0
  826. package/node_modules/@types/serve-static/package.json +44 -0
  827. package/node_modules/@types/ws/LICENSE +21 -0
  828. package/node_modules/@types/ws/README.md +15 -0
  829. package/node_modules/@types/ws/index.d.mts +455 -0
  830. package/node_modules/@types/ws/index.d.ts +449 -0
  831. package/node_modules/@types/ws/package.json +72 -0
  832. package/node_modules/appium-adb/CHANGELOG.md +25 -0
  833. package/node_modules/appium-adb/build/lib/index.d.ts +1 -0
  834. package/node_modules/appium-adb/build/lib/index.d.ts.map +1 -1
  835. package/node_modules/appium-adb/build/lib/index.js.map +1 -1
  836. package/node_modules/appium-adb/build/lib/tools/apk-signing.js +2 -2
  837. package/node_modules/appium-adb/build/lib/tools/apk-signing.js.map +1 -1
  838. package/node_modules/appium-adb/build/lib/tools/apk-utils.js +2 -2
  839. package/node_modules/appium-adb/build/lib/tools/apk-utils.js.map +1 -1
  840. package/node_modules/appium-adb/build/lib/tools/system-calls.js +2 -2
  841. package/node_modules/appium-adb/build/lib/tools/system-calls.js.map +1 -1
  842. package/node_modules/appium-adb/lib/index.ts +3 -0
  843. package/node_modules/appium-adb/lib/tools/apk-signing.ts +2 -2
  844. package/node_modules/appium-adb/lib/tools/apk-utils.ts +2 -2
  845. package/node_modules/appium-adb/lib/tools/system-calls.ts +2 -2
  846. package/node_modules/appium-adb/package.json +7 -7
  847. package/node_modules/appium-android-driver/CHANGELOG.md +135 -0
  848. package/node_modules/appium-android-driver/build/lib/commands/app-management.d.ts +26 -0
  849. package/node_modules/appium-android-driver/build/lib/commands/app-management.d.ts.map +1 -1
  850. package/node_modules/appium-android-driver/build/lib/commands/app-management.js +4 -3
  851. package/node_modules/appium-android-driver/build/lib/commands/app-management.js.map +1 -1
  852. package/node_modules/appium-android-driver/build/lib/commands/appearance.d.ts +7 -0
  853. package/node_modules/appium-android-driver/build/lib/commands/appearance.d.ts.map +1 -1
  854. package/node_modules/appium-android-driver/build/lib/commands/appearance.js.map +1 -1
  855. package/node_modules/appium-android-driver/build/lib/commands/bluetooth.d.ts +6 -0
  856. package/node_modules/appium-android-driver/build/lib/commands/bluetooth.d.ts.map +1 -1
  857. package/node_modules/appium-android-driver/build/lib/commands/bluetooth.js +1 -1
  858. package/node_modules/appium-android-driver/build/lib/commands/bluetooth.js.map +1 -1
  859. package/node_modules/appium-android-driver/build/lib/commands/context/exports.d.ts +25 -0
  860. package/node_modules/appium-android-driver/build/lib/commands/context/exports.d.ts.map +1 -1
  861. package/node_modules/appium-android-driver/build/lib/commands/context/exports.js +4 -10
  862. package/node_modules/appium-android-driver/build/lib/commands/context/exports.js.map +1 -1
  863. package/node_modules/appium-android-driver/build/lib/commands/context/helpers.d.ts.map +1 -1
  864. package/node_modules/appium-android-driver/build/lib/commands/context/helpers.js +48 -1
  865. package/node_modules/appium-android-driver/build/lib/commands/context/helpers.js.map +1 -1
  866. package/node_modules/appium-android-driver/build/lib/commands/device/common.d.ts +9 -0
  867. package/node_modules/appium-android-driver/build/lib/commands/device/common.d.ts.map +1 -1
  868. package/node_modules/appium-android-driver/build/lib/commands/device/common.js +1 -1
  869. package/node_modules/appium-android-driver/build/lib/commands/device/common.js.map +1 -1
  870. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.d.ts +22 -0
  871. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.d.ts.map +1 -1
  872. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.js.map +1 -1
  873. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.d.ts +6 -0
  874. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.d.ts.map +1 -1
  875. package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.js.map +1 -1
  876. package/node_modules/appium-android-driver/build/lib/commands/device/utils.js +3 -3
  877. package/node_modules/appium-android-driver/build/lib/commands/device/utils.js.map +1 -1
  878. package/node_modules/appium-android-driver/build/lib/commands/deviceidle.d.ts +6 -0
  879. package/node_modules/appium-android-driver/build/lib/commands/deviceidle.d.ts.map +1 -1
  880. package/node_modules/appium-android-driver/build/lib/commands/deviceidle.js +1 -1
  881. package/node_modules/appium-android-driver/build/lib/commands/deviceidle.js.map +1 -1
  882. package/node_modules/appium-android-driver/build/lib/commands/element.d.ts +20 -0
  883. package/node_modules/appium-android-driver/build/lib/commands/element.d.ts.map +1 -1
  884. package/node_modules/appium-android-driver/build/lib/commands/element.js +0 -1
  885. package/node_modules/appium-android-driver/build/lib/commands/element.js.map +1 -1
  886. package/node_modules/appium-android-driver/build/lib/commands/execute.d.ts +6 -0
  887. package/node_modules/appium-android-driver/build/lib/commands/execute.d.ts.map +1 -1
  888. package/node_modules/appium-android-driver/build/lib/commands/execute.js +2 -3
  889. package/node_modules/appium-android-driver/build/lib/commands/execute.js.map +1 -1
  890. package/node_modules/appium-android-driver/build/lib/commands/file-actions.d.ts +9 -0
  891. package/node_modules/appium-android-driver/build/lib/commands/file-actions.d.ts.map +1 -1
  892. package/node_modules/appium-android-driver/build/lib/commands/file-actions.js.map +1 -1
  893. package/node_modules/appium-android-driver/build/lib/commands/find.d.ts +9 -1
  894. package/node_modules/appium-android-driver/build/lib/commands/find.d.ts.map +1 -1
  895. package/node_modules/appium-android-driver/build/lib/commands/find.js +5 -2
  896. package/node_modules/appium-android-driver/build/lib/commands/find.js.map +1 -1
  897. package/node_modules/appium-android-driver/build/lib/commands/geolocation.d.ts +17 -4
  898. package/node_modules/appium-android-driver/build/lib/commands/geolocation.d.ts.map +1 -1
  899. package/node_modules/appium-android-driver/build/lib/commands/geolocation.js +2 -2
  900. package/node_modules/appium-android-driver/build/lib/commands/geolocation.js.map +1 -1
  901. package/node_modules/appium-android-driver/build/lib/commands/gestures.d.ts +6 -0
  902. package/node_modules/appium-android-driver/build/lib/commands/gestures.d.ts.map +1 -1
  903. package/node_modules/appium-android-driver/build/lib/commands/gestures.js.map +1 -1
  904. package/node_modules/appium-android-driver/build/lib/commands/image-injection.d.ts +6 -0
  905. package/node_modules/appium-android-driver/build/lib/commands/image-injection.d.ts.map +1 -1
  906. package/node_modules/appium-android-driver/build/lib/commands/image-injection.js.map +1 -1
  907. package/node_modules/appium-android-driver/build/lib/commands/ime.d.ts +11 -0
  908. package/node_modules/appium-android-driver/build/lib/commands/ime.d.ts.map +1 -1
  909. package/node_modules/appium-android-driver/build/lib/commands/ime.js.map +1 -1
  910. package/node_modules/appium-android-driver/build/lib/commands/intent.d.ts +10 -0
  911. package/node_modules/appium-android-driver/build/lib/commands/intent.d.ts.map +1 -1
  912. package/node_modules/appium-android-driver/build/lib/commands/intent.js +4 -4
  913. package/node_modules/appium-android-driver/build/lib/commands/intent.js.map +1 -1
  914. package/node_modules/appium-android-driver/build/lib/commands/keyboard.d.ts +12 -0
  915. package/node_modules/appium-android-driver/build/lib/commands/keyboard.d.ts.map +1 -1
  916. package/node_modules/appium-android-driver/build/lib/commands/keyboard.js.map +1 -1
  917. package/node_modules/appium-android-driver/build/lib/commands/legacy.d.ts +8 -0
  918. package/node_modules/appium-android-driver/build/lib/commands/legacy.d.ts.map +1 -1
  919. package/node_modules/appium-android-driver/build/lib/commands/legacy.js.map +1 -1
  920. package/node_modules/appium-android-driver/build/lib/commands/lock/exports.d.ts +9 -0
  921. package/node_modules/appium-android-driver/build/lib/commands/lock/exports.d.ts.map +1 -1
  922. package/node_modules/appium-android-driver/build/lib/commands/lock/exports.js +7 -0
  923. package/node_modules/appium-android-driver/build/lib/commands/lock/exports.js.map +1 -1
  924. package/node_modules/appium-android-driver/build/lib/commands/lock/helpers.js +1 -1
  925. package/node_modules/appium-android-driver/build/lib/commands/lock/helpers.js.map +1 -1
  926. package/node_modules/appium-android-driver/build/lib/commands/log.d.ts +8 -13
  927. package/node_modules/appium-android-driver/build/lib/commands/log.d.ts.map +1 -1
  928. package/node_modules/appium-android-driver/build/lib/commands/log.js +2 -30
  929. package/node_modules/appium-android-driver/build/lib/commands/log.js.map +1 -1
  930. package/node_modules/appium-android-driver/build/lib/commands/media-projection.d.ts +8 -0
  931. package/node_modules/appium-android-driver/build/lib/commands/media-projection.d.ts.map +1 -1
  932. package/node_modules/appium-android-driver/build/lib/commands/media-projection.js.map +1 -1
  933. package/node_modules/appium-android-driver/build/lib/commands/memory.d.ts +6 -0
  934. package/node_modules/appium-android-driver/build/lib/commands/memory.d.ts.map +1 -1
  935. package/node_modules/appium-android-driver/build/lib/commands/memory.js.map +1 -1
  936. package/node_modules/appium-android-driver/build/lib/commands/misc.d.ts +12 -0
  937. package/node_modules/appium-android-driver/build/lib/commands/misc.d.ts.map +1 -1
  938. package/node_modules/appium-android-driver/build/lib/commands/misc.js.map +1 -1
  939. package/node_modules/appium-android-driver/build/lib/commands/network.d.ts +15 -0
  940. package/node_modules/appium-android-driver/build/lib/commands/network.d.ts.map +1 -1
  941. package/node_modules/appium-android-driver/build/lib/commands/network.js +2 -2
  942. package/node_modules/appium-android-driver/build/lib/commands/network.js.map +1 -1
  943. package/node_modules/appium-android-driver/build/lib/commands/nfc.d.ts +6 -0
  944. package/node_modules/appium-android-driver/build/lib/commands/nfc.d.ts.map +1 -1
  945. package/node_modules/appium-android-driver/build/lib/commands/nfc.js +1 -1
  946. package/node_modules/appium-android-driver/build/lib/commands/nfc.js.map +1 -1
  947. package/node_modules/appium-android-driver/build/lib/commands/performance.d.ts +8 -0
  948. package/node_modules/appium-android-driver/build/lib/commands/performance.d.ts.map +1 -1
  949. package/node_modules/appium-android-driver/build/lib/commands/performance.js.map +1 -1
  950. package/node_modules/appium-android-driver/build/lib/commands/permissions.d.ts +7 -0
  951. package/node_modules/appium-android-driver/build/lib/commands/permissions.d.ts.map +1 -1
  952. package/node_modules/appium-android-driver/build/lib/commands/permissions.js +1 -1
  953. package/node_modules/appium-android-driver/build/lib/commands/permissions.js.map +1 -1
  954. package/node_modules/appium-android-driver/build/lib/commands/recordscreen.d.ts +7 -0
  955. package/node_modules/appium-android-driver/build/lib/commands/recordscreen.d.ts.map +1 -1
  956. package/node_modules/appium-android-driver/build/lib/commands/recordscreen.js.map +1 -1
  957. package/node_modules/appium-android-driver/build/lib/commands/resources.d.ts +7 -0
  958. package/node_modules/appium-android-driver/build/lib/commands/resources.d.ts.map +1 -1
  959. package/node_modules/appium-android-driver/build/lib/commands/resources.js +1 -1
  960. package/node_modules/appium-android-driver/build/lib/commands/resources.js.map +1 -1
  961. package/node_modules/appium-android-driver/build/lib/commands/shell.d.ts +9 -0
  962. package/node_modules/appium-android-driver/build/lib/commands/shell.d.ts.map +1 -1
  963. package/node_modules/appium-android-driver/build/lib/commands/shell.js.map +1 -1
  964. package/node_modules/appium-android-driver/build/lib/commands/streamscreen.d.ts +7 -0
  965. package/node_modules/appium-android-driver/build/lib/commands/streamscreen.d.ts.map +1 -1
  966. package/node_modules/appium-android-driver/build/lib/commands/streamscreen.js.map +1 -1
  967. package/node_modules/appium-android-driver/build/lib/commands/system-bars.d.ts +7 -0
  968. package/node_modules/appium-android-driver/build/lib/commands/system-bars.d.ts.map +1 -1
  969. package/node_modules/appium-android-driver/build/lib/commands/system-bars.js +2 -2
  970. package/node_modules/appium-android-driver/build/lib/commands/system-bars.js.map +1 -1
  971. package/node_modules/appium-android-driver/build/lib/commands/time.d.ts +7 -0
  972. package/node_modules/appium-android-driver/build/lib/commands/time.d.ts.map +1 -1
  973. package/node_modules/appium-android-driver/build/lib/commands/time.js.map +1 -1
  974. package/node_modules/appium-android-driver/build/lib/commands/types.d.ts +9 -0
  975. package/node_modules/appium-android-driver/build/lib/commands/types.d.ts.map +1 -1
  976. package/node_modules/appium-android-driver/build/lib/constraints.d.ts +16 -3
  977. package/node_modules/appium-android-driver/build/lib/constraints.d.ts.map +1 -1
  978. package/node_modules/appium-android-driver/build/lib/constraints.js +16 -3
  979. package/node_modules/appium-android-driver/build/lib/constraints.js.map +1 -1
  980. package/node_modules/appium-android-driver/build/lib/driver.d.ts +36 -201
  981. package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
  982. package/node_modules/appium-android-driver/build/lib/driver.js +253 -168
  983. package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
  984. package/node_modules/appium-android-driver/build/lib/utils.js +1 -1
  985. package/node_modules/appium-android-driver/build/lib/utils.js.map +1 -1
  986. package/node_modules/appium-android-driver/lib/commands/app-management.ts +33 -3
  987. package/node_modules/appium-android-driver/lib/commands/appearance.ts +8 -0
  988. package/node_modules/appium-android-driver/lib/commands/bluetooth.ts +8 -1
  989. package/node_modules/appium-android-driver/lib/commands/context/exports.ts +40 -10
  990. package/node_modules/appium-android-driver/lib/commands/context/helpers.ts +48 -1
  991. package/node_modules/appium-android-driver/lib/commands/device/common.ts +11 -1
  992. package/node_modules/appium-android-driver/lib/commands/device/emulator-actions.ts +23 -0
  993. package/node_modules/appium-android-driver/lib/commands/device/emulator-console.ts +9 -0
  994. package/node_modules/appium-android-driver/lib/commands/device/utils.ts +3 -3
  995. package/node_modules/appium-android-driver/lib/commands/deviceidle.ts +8 -1
  996. package/node_modules/appium-android-driver/lib/commands/element.ts +21 -0
  997. package/node_modules/appium-android-driver/lib/commands/execute.ts +9 -4
  998. package/node_modules/appium-android-driver/lib/commands/file-actions.ts +10 -0
  999. package/node_modules/appium-android-driver/lib/commands/find.ts +16 -3
  1000. package/node_modules/appium-android-driver/lib/commands/geolocation.ts +26 -6
  1001. package/node_modules/appium-android-driver/lib/commands/gestures.ts +7 -0
  1002. package/node_modules/appium-android-driver/lib/commands/image-injection.ts +9 -0
  1003. package/node_modules/appium-android-driver/lib/commands/ime.ts +12 -0
  1004. package/node_modules/appium-android-driver/lib/commands/intent.ts +25 -4
  1005. package/node_modules/appium-android-driver/lib/commands/keyboard.ts +15 -0
  1006. package/node_modules/appium-android-driver/lib/commands/legacy.ts +9 -0
  1007. package/node_modules/appium-android-driver/lib/commands/lock/exports.ts +18 -0
  1008. package/node_modules/appium-android-driver/lib/commands/lock/helpers.ts +1 -1
  1009. package/node_modules/appium-android-driver/lib/commands/log.ts +18 -33
  1010. package/node_modules/appium-android-driver/lib/commands/media-projection.ts +15 -0
  1011. package/node_modules/appium-android-driver/lib/commands/memory.ts +7 -0
  1012. package/node_modules/appium-android-driver/lib/commands/misc.ts +15 -0
  1013. package/node_modules/appium-android-driver/lib/commands/network.ts +18 -2
  1014. package/node_modules/appium-android-driver/lib/commands/nfc.ts +8 -1
  1015. package/node_modules/appium-android-driver/lib/commands/performance.ts +13 -0
  1016. package/node_modules/appium-android-driver/lib/commands/permissions.ts +13 -1
  1017. package/node_modules/appium-android-driver/lib/commands/recordscreen.ts +8 -0
  1018. package/node_modules/appium-android-driver/lib/commands/resources.ts +9 -1
  1019. package/node_modules/appium-android-driver/lib/commands/shell.ts +12 -0
  1020. package/node_modules/appium-android-driver/lib/commands/streamscreen.ts +12 -0
  1021. package/node_modules/appium-android-driver/lib/commands/system-bars.ts +12 -2
  1022. package/node_modules/appium-android-driver/lib/commands/time.ts +8 -0
  1023. package/node_modules/appium-android-driver/lib/commands/types.ts +10 -0
  1024. package/node_modules/appium-android-driver/lib/constraints.ts +16 -3
  1025. package/node_modules/appium-android-driver/lib/driver.ts +289 -212
  1026. package/node_modules/appium-android-driver/lib/utils.ts +1 -1
  1027. package/node_modules/appium-android-driver/package.json +18 -21
  1028. package/node_modules/appium-chromedriver/CHANGELOG.md +55 -0
  1029. package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts +3 -6
  1030. package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts.map +1 -1
  1031. package/node_modules/appium-chromedriver/build/lib/chromedriver.js +2 -9
  1032. package/node_modules/appium-chromedriver/build/lib/chromedriver.js.map +1 -1
  1033. package/node_modules/appium-chromedriver/build/lib/commands/binary.d.ts.map +1 -1
  1034. package/node_modules/appium-chromedriver/build/lib/commands/binary.js +2 -7
  1035. package/node_modules/appium-chromedriver/build/lib/commands/binary.js.map +1 -1
  1036. package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts +1 -6
  1037. package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts.map +1 -1
  1038. package/node_modules/appium-chromedriver/build/lib/commands/session.js +32 -25
  1039. package/node_modules/appium-chromedriver/build/lib/commands/session.js.map +1 -1
  1040. package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts +3 -5
  1041. package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts.map +1 -1
  1042. package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts +7 -7
  1043. package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts.map +1 -1
  1044. package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js +60 -55
  1045. package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js.map +1 -1
  1046. package/node_modules/appium-chromedriver/build/lib/types.d.ts +17 -2
  1047. package/node_modules/appium-chromedriver/build/lib/types.d.ts.map +1 -1
  1048. package/node_modules/appium-chromedriver/build/lib/utils.d.ts +16 -6
  1049. package/node_modules/appium-chromedriver/build/lib/utils.d.ts.map +1 -1
  1050. package/node_modules/appium-chromedriver/build/lib/utils.js +30 -16
  1051. package/node_modules/appium-chromedriver/build/lib/utils.js.map +1 -1
  1052. package/node_modules/appium-chromedriver/config/mapping.json +3 -33
  1053. package/node_modules/appium-chromedriver/lib/chromedriver.ts +4 -12
  1054. package/node_modules/appium-chromedriver/lib/commands/binary.ts +2 -7
  1055. package/node_modules/appium-chromedriver/lib/commands/session.ts +36 -32
  1056. package/node_modules/appium-chromedriver/lib/commands/types.ts +3 -7
  1057. package/node_modules/appium-chromedriver/lib/storage-client/storage-client.ts +75 -62
  1058. package/node_modules/appium-chromedriver/lib/types.ts +13 -2
  1059. package/node_modules/appium-chromedriver/lib/utils.ts +38 -20
  1060. package/node_modules/appium-chromedriver/package.json +7 -9
  1061. package/node_modules/asyncbox/README.md +18 -4
  1062. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -1
  1063. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +10 -6
  1064. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -1
  1065. package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -1
  1066. package/node_modules/asyncbox/build/cjs/lib/asyncmap.js +8 -1
  1067. package/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -1
  1068. package/node_modules/asyncbox/build/cjs/lib/errors.d.ts +20 -2
  1069. package/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -1
  1070. package/node_modules/asyncbox/build/cjs/lib/errors.js +41 -6
  1071. package/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -1
  1072. package/node_modules/asyncbox/build/cjs/lib/index.d.ts +1 -1
  1073. package/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -1
  1074. package/node_modules/asyncbox/build/cjs/lib/index.js +5 -1
  1075. package/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -1
  1076. package/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -1
  1077. package/node_modules/asyncbox/build/cjs/lib/lock.js +6 -5
  1078. package/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -1
  1079. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +1 -1
  1080. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -1
  1081. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +7 -7
  1082. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -1
  1083. package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -1
  1084. package/node_modules/asyncbox/build/esm/lib/asyncfilter.js +10 -6
  1085. package/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -1
  1086. package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -1
  1087. package/node_modules/asyncbox/build/esm/lib/asyncmap.js +8 -1
  1088. package/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -1
  1089. package/node_modules/asyncbox/build/esm/lib/errors.d.ts +20 -2
  1090. package/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -1
  1091. package/node_modules/asyncbox/build/esm/lib/errors.js +36 -5
  1092. package/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -1
  1093. package/node_modules/asyncbox/build/esm/lib/index.d.ts +1 -1
  1094. package/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -1
  1095. package/node_modules/asyncbox/build/esm/lib/index.js +1 -1
  1096. package/node_modules/asyncbox/build/esm/lib/index.js.map +1 -1
  1097. package/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -1
  1098. package/node_modules/asyncbox/build/esm/lib/lock.js +6 -5
  1099. package/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -1
  1100. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +1 -1
  1101. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -1
  1102. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +7 -7
  1103. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -1
  1104. package/node_modules/asyncbox/lib/asyncfilter.ts +10 -6
  1105. package/node_modules/asyncbox/lib/asyncmap.ts +8 -4
  1106. package/node_modules/asyncbox/lib/errors.ts +41 -5
  1107. package/node_modules/asyncbox/lib/index.ts +8 -1
  1108. package/node_modules/asyncbox/lib/lock.ts +7 -5
  1109. package/node_modules/asyncbox/lib/wait-for-condition.ts +7 -7
  1110. package/node_modules/asyncbox/package.json +1 -1
  1111. package/node_modules/axios/CHANGELOG.md +68 -0
  1112. package/node_modules/axios/README.md +37 -8
  1113. package/node_modules/axios/dist/axios.js +34 -17
  1114. package/node_modules/axios/dist/axios.min.js +2 -2
  1115. package/node_modules/axios/dist/axios.min.js.map +1 -1
  1116. package/node_modules/axios/dist/browser/axios.cjs +29 -12
  1117. package/node_modules/axios/dist/esm/axios.js +29 -12
  1118. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  1119. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  1120. package/node_modules/axios/dist/node/axios.cjs +27 -12
  1121. package/node_modules/axios/index.d.cts +12 -2
  1122. package/node_modules/axios/index.d.ts +10 -2
  1123. package/node_modules/axios/lib/core/dispatchRequest.js +27 -10
  1124. package/node_modules/axios/lib/env/data.js +1 -1
  1125. package/node_modules/axios/package.json +24 -24
  1126. package/node_modules/bare-buffer/CMakeLists.txt +30 -0
  1127. package/node_modules/bare-buffer/LICENSE +201 -0
  1128. package/node_modules/bare-buffer/README.md +26 -0
  1129. package/node_modules/bare-buffer/binding.c +2041 -0
  1130. package/node_modules/bare-buffer/binding.js +1 -0
  1131. package/node_modules/bare-buffer/global.d.ts +21 -0
  1132. package/node_modules/bare-buffer/global.js +6 -0
  1133. package/node_modules/bare-buffer/index.d.ts +769 -0
  1134. package/node_modules/bare-buffer/index.js +1339 -0
  1135. package/node_modules/bare-buffer/lib/ascii.js +36 -0
  1136. package/node_modules/bare-buffer/lib/base64.js +25 -0
  1137. package/node_modules/bare-buffer/lib/base64url.js +25 -0
  1138. package/node_modules/bare-buffer/lib/checked.js +23 -0
  1139. package/node_modules/bare-buffer/lib/constants.d.ts +7 -0
  1140. package/node_modules/bare-buffer/lib/constants.js +3 -0
  1141. package/node_modules/bare-buffer/lib/hex.js +20 -0
  1142. package/node_modules/bare-buffer/lib/latin1.js +14 -0
  1143. package/node_modules/bare-buffer/lib/utf16le.js +20 -0
  1144. package/node_modules/bare-buffer/lib/utf8.js +18 -0
  1145. package/node_modules/bare-buffer/package.json +59 -0
  1146. package/node_modules/bare-buffer/prebuilds/android-arm/bare-buffer.bare +0 -0
  1147. package/node_modules/bare-buffer/prebuilds/android-arm64/bare-buffer.bare +0 -0
  1148. package/node_modules/bare-buffer/prebuilds/android-ia32/bare-buffer.bare +0 -0
  1149. package/node_modules/bare-buffer/prebuilds/android-x64/bare-buffer.bare +0 -0
  1150. package/node_modules/bare-buffer/prebuilds/darwin-arm64/bare-buffer.bare +0 -0
  1151. package/node_modules/bare-buffer/prebuilds/darwin-x64/bare-buffer.bare +0 -0
  1152. package/node_modules/bare-buffer/prebuilds/ios-arm64/bare-buffer.bare +0 -0
  1153. package/node_modules/bare-buffer/prebuilds/ios-arm64-simulator/bare-buffer.bare +0 -0
  1154. package/node_modules/bare-buffer/prebuilds/ios-x64-simulator/bare-buffer.bare +0 -0
  1155. package/node_modules/bare-buffer/prebuilds/linux-arm64/bare-buffer.bare +0 -0
  1156. package/node_modules/bare-buffer/prebuilds/linux-x64/bare-buffer.bare +0 -0
  1157. package/node_modules/bare-buffer/prebuilds/win32-arm64/bare-buffer.bare +0 -0
  1158. package/node_modules/bare-buffer/prebuilds/win32-x64/bare-buffer.bare +0 -0
  1159. package/node_modules/bare-url/lib/url-search-params.js +16 -1
  1160. package/node_modules/bare-url/package.json +2 -1
  1161. package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
  1162. package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
  1163. package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
  1164. package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
  1165. package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
  1166. package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
  1167. package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
  1168. package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
  1169. package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
  1170. package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
  1171. package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
  1172. package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
  1173. package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
  1174. package/node_modules/brace-expansion/README.md +30 -0
  1175. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +2 -0
  1176. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -1
  1177. package/node_modules/brace-expansion/dist/commonjs/index.js +222 -36
  1178. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
  1179. package/node_modules/brace-expansion/dist/esm/index.d.ts +2 -0
  1180. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -1
  1181. package/node_modules/brace-expansion/dist/esm/index.js +222 -36
  1182. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
  1183. package/node_modules/brace-expansion/package.json +1 -1
  1184. package/node_modules/follow-redirects/index.js +2 -1
  1185. package/node_modules/follow-redirects/package.json +1 -1
  1186. package/node_modules/io.appium.settings/CHANGELOG.md +33 -0
  1187. package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
  1188. package/node_modules/io.appium.settings/build/lib/logger.d.ts +2 -1
  1189. package/node_modules/io.appium.settings/build/lib/logger.d.ts.map +1 -1
  1190. package/node_modules/io.appium.settings/build/lib/logger.js.map +1 -1
  1191. package/node_modules/io.appium.settings/lib/logger.ts +2 -2
  1192. package/node_modules/io.appium.settings/package.json +11 -8
  1193. package/node_modules/picomatch/LICENSE +21 -0
  1194. package/node_modules/picomatch/README.md +743 -0
  1195. package/node_modules/picomatch/index.js +17 -0
  1196. package/node_modules/picomatch/lib/constants.js +184 -0
  1197. package/node_modules/picomatch/lib/parse.js +1425 -0
  1198. package/node_modules/picomatch/lib/picomatch.js +361 -0
  1199. package/node_modules/picomatch/lib/scan.js +403 -0
  1200. package/node_modules/picomatch/lib/utils.js +72 -0
  1201. package/node_modules/picomatch/package.json +83 -0
  1202. package/node_modules/picomatch/posix.js +3 -0
  1203. package/node_modules/plist/README.md +178 -111
  1204. package/node_modules/plist/dist/build-binary.d.ts +6 -0
  1205. package/node_modules/plist/dist/build-binary.d.ts.map +1 -0
  1206. package/node_modules/plist/dist/build-binary.js +284 -0
  1207. package/node_modules/plist/dist/build-binary.js.map +1 -0
  1208. package/node_modules/plist/dist/build.browser.d.ts +18 -0
  1209. package/node_modules/plist/dist/build.browser.d.ts.map +1 -0
  1210. package/node_modules/plist/dist/build.browser.js +114 -0
  1211. package/node_modules/plist/dist/build.browser.js.map +1 -0
  1212. package/node_modules/plist/dist/build.d.ts +18 -0
  1213. package/node_modules/plist/dist/build.d.ts.map +1 -0
  1214. package/node_modules/plist/dist/build.js +102 -0
  1215. package/node_modules/plist/dist/build.js.map +1 -0
  1216. package/node_modules/plist/dist/index.browser.d.ts +7 -0
  1217. package/node_modules/plist/dist/index.browser.d.ts.map +1 -0
  1218. package/node_modules/plist/dist/index.browser.js +6 -0
  1219. package/node_modules/plist/dist/index.browser.js.map +1 -0
  1220. package/node_modules/plist/dist/index.d.ts +7 -0
  1221. package/node_modules/plist/dist/index.d.ts.map +1 -0
  1222. package/node_modules/plist/dist/index.js +6 -0
  1223. package/node_modules/plist/dist/index.js.map +1 -0
  1224. package/node_modules/plist/dist/parse-binary.d.ts +6 -0
  1225. package/node_modules/plist/dist/parse-binary.d.ts.map +1 -0
  1226. package/node_modules/plist/dist/parse-binary.js +181 -0
  1227. package/node_modules/plist/dist/parse-binary.js.map +1 -0
  1228. package/node_modules/plist/dist/parse-openstep.d.ts +6 -0
  1229. package/node_modules/plist/dist/parse-openstep.d.ts.map +1 -0
  1230. package/node_modules/plist/dist/parse-openstep.js +199 -0
  1231. package/node_modules/plist/dist/parse-openstep.js.map +1 -0
  1232. package/node_modules/plist/dist/parse.browser.d.ts +11 -0
  1233. package/node_modules/plist/dist/parse.browser.d.ts.map +1 -0
  1234. package/node_modules/plist/dist/parse.browser.js +208 -0
  1235. package/node_modules/plist/dist/parse.browser.js.map +1 -0
  1236. package/node_modules/plist/dist/parse.d.ts +11 -0
  1237. package/node_modules/plist/dist/parse.d.ts.map +1 -0
  1238. package/node_modules/plist/dist/parse.js +215 -0
  1239. package/node_modules/plist/dist/parse.js.map +1 -0
  1240. package/node_modules/plist/dist/safe-key.d.ts +10 -0
  1241. package/node_modules/plist/dist/safe-key.d.ts.map +1 -0
  1242. package/node_modules/plist/dist/safe-key.js +17 -0
  1243. package/node_modules/plist/dist/safe-key.js.map +1 -0
  1244. package/node_modules/plist/package.json +31 -8
  1245. package/node_modules/sanitize-filename/index.js +11 -4
  1246. package/node_modules/sanitize-filename/package.json +1 -1
  1247. package/node_modules/sanitize-filename/test.js +39 -0
  1248. package/node_modules/teen_process/CHANGELOG.md +6 -0
  1249. package/node_modules/teen_process/build/cjs/lib/subprocess.d.ts.map +1 -1
  1250. package/node_modules/teen_process/build/cjs/lib/subprocess.js +18 -7
  1251. package/node_modules/teen_process/build/cjs/lib/subprocess.js.map +1 -1
  1252. package/node_modules/teen_process/build/esm/lib/subprocess.d.ts.map +1 -1
  1253. package/node_modules/teen_process/build/esm/lib/subprocess.js +18 -7
  1254. package/node_modules/teen_process/build/esm/lib/subprocess.js.map +1 -1
  1255. package/node_modules/teen_process/lib/subprocess.ts +19 -7
  1256. package/node_modules/teen_process/package.json +1 -1
  1257. package/node_modules/undici-types/LICENSE +21 -0
  1258. package/node_modules/undici-types/README.md +6 -0
  1259. package/node_modules/undici-types/agent.d.ts +30 -0
  1260. package/node_modules/undici-types/api.d.ts +43 -0
  1261. package/node_modules/undici-types/balanced-pool.d.ts +30 -0
  1262. package/node_modules/undici-types/cache-interceptor.d.ts +179 -0
  1263. package/node_modules/undici-types/cache.d.ts +36 -0
  1264. package/node_modules/undici-types/client-stats.d.ts +15 -0
  1265. package/node_modules/undici-types/client.d.ts +134 -0
  1266. package/node_modules/undici-types/connector.d.ts +37 -0
  1267. package/node_modules/undici-types/content-type.d.ts +21 -0
  1268. package/node_modules/undici-types/cookies.d.ts +30 -0
  1269. package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
  1270. package/node_modules/undici-types/dispatcher.d.ts +253 -0
  1271. package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
  1272. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  1273. package/node_modules/undici-types/errors.d.ts +187 -0
  1274. package/node_modules/undici-types/eventsource.d.ts +66 -0
  1275. package/node_modules/undici-types/fetch.d.ts +235 -0
  1276. package/node_modules/undici-types/formdata.d.ts +108 -0
  1277. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  1278. package/node_modules/undici-types/global-origin.d.ts +7 -0
  1279. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  1280. package/node_modules/undici-types/handlers.d.ts +16 -0
  1281. package/node_modules/undici-types/header.d.ts +165 -0
  1282. package/node_modules/undici-types/index.d.ts +93 -0
  1283. package/node_modules/undici-types/interceptors.d.ts +80 -0
  1284. package/node_modules/undici-types/mock-agent.d.ts +68 -0
  1285. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  1286. package/node_modules/undici-types/mock-client.d.ts +27 -0
  1287. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  1288. package/node_modules/undici-types/mock-interceptor.d.ts +98 -0
  1289. package/node_modules/undici-types/mock-pool.d.ts +27 -0
  1290. package/node_modules/undici-types/package.json +55 -0
  1291. package/node_modules/undici-types/patch.d.ts +29 -0
  1292. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  1293. package/node_modules/undici-types/pool.d.ts +39 -0
  1294. package/node_modules/undici-types/proxy-agent.d.ts +36 -0
  1295. package/node_modules/undici-types/readable.d.ts +68 -0
  1296. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  1297. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  1298. package/node_modules/undici-types/round-robin-pool.d.ts +39 -0
  1299. package/node_modules/undici-types/snapshot-agent.d.ts +113 -0
  1300. package/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
  1301. package/node_modules/undici-types/util.d.ts +18 -0
  1302. package/node_modules/undici-types/utility.d.ts +7 -0
  1303. package/node_modules/undici-types/webidl.d.ts +346 -0
  1304. package/node_modules/undici-types/websocket.d.ts +188 -0
  1305. package/node_modules/which/package.json +4 -4
  1306. package/package.json +9 -9
  1307. package/scripts/lib/dependency-versions/gradle-scan.mjs +2 -5
  1308. package/scripts/lib/diagnose/project-input.mjs +3 -5
  1309. package/scripts/lib/find-files.mjs +21 -0
  1310. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts +0 -12
  1311. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts.map +0 -1
  1312. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js +0 -33
  1313. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js.map +0 -1
  1314. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts +0 -7
  1315. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts.map +0 -1
  1316. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js +0 -9
  1317. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js.map +0 -1
  1318. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts +0 -12
  1319. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts.map +0 -1
  1320. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js +0 -16
  1321. package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js.map +0 -1
  1322. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts +0 -59
  1323. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts.map +0 -1
  1324. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js +0 -556
  1325. package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js.map +0 -1
  1326. package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts +0 -2
  1327. package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts.map +0 -1
  1328. package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js +0 -6
  1329. package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js.map +0 -1
  1330. package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts +0 -12
  1331. package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts.map +0 -1
  1332. package/node_modules/@appium/base-driver/build/lib/express/express-logging.js +0 -71
  1333. package/node_modules/@appium/base-driver/build/lib/express/express-logging.js.map +0 -1
  1334. package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts +0 -7
  1335. package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts.map +0 -1
  1336. package/node_modules/@appium/base-driver/build/lib/express/idempotency.js +0 -167
  1337. package/node_modules/@appium/base-driver/build/lib/express/idempotency.js.map +0 -1
  1338. package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts +0 -2
  1339. package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts.map +0 -1
  1340. package/node_modules/@appium/base-driver/build/lib/express/logger.js +0 -6
  1341. package/node_modules/@appium/base-driver/build/lib/express/logger.js.map +0 -1
  1342. package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts +0 -67
  1343. package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts.map +0 -1
  1344. package/node_modules/@appium/base-driver/build/lib/express/middleware.js +0 -164
  1345. package/node_modules/@appium/base-driver/build/lib/express/middleware.js.map +0 -1
  1346. package/node_modules/@appium/base-driver/build/lib/express/server.d.ts +0 -70
  1347. package/node_modules/@appium/base-driver/build/lib/express/server.d.ts.map +0 -1
  1348. package/node_modules/@appium/base-driver/build/lib/express/server.js +0 -287
  1349. package/node_modules/@appium/base-driver/build/lib/express/server.js.map +0 -1
  1350. package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts +0 -23
  1351. package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts.map +0 -1
  1352. package/node_modules/@appium/base-driver/build/lib/express/websocket.js +0 -64
  1353. package/node_modules/@appium/base-driver/build/lib/express/websocket.js.map +0 -1
  1354. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts +0 -53
  1355. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts.map +0 -1
  1356. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js +0 -213
  1357. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js.map +0 -1
  1358. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts +0 -12
  1359. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts.map +0 -1
  1360. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js +0 -55
  1361. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js.map +0 -1
  1362. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts +0 -83
  1363. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts.map +0 -1
  1364. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js +0 -413
  1365. package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js.map +0 -1
  1366. package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts +0 -114
  1367. package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts.map +0 -1
  1368. package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js +0 -122
  1369. package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js.map +0 -1
  1370. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts +0 -31
  1371. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts.map +0 -1
  1372. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js +0 -40
  1373. package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js.map +0 -1
  1374. package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts +0 -66
  1375. package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts.map +0 -1
  1376. package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js +0 -513
  1377. package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js.map +0 -1
  1378. package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts +0 -9
  1379. package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts.map +0 -1
  1380. package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js +0 -18
  1381. package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js.map +0 -1
  1382. package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts +0 -5
  1383. package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts.map +0 -1
  1384. package/node_modules/@appium/base-driver/build/lib/test-pages/env.js +0 -12
  1385. package/node_modules/@appium/base-driver/build/lib/test-pages/env.js.map +0 -1
  1386. package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts +0 -10
  1387. package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts.map +0 -1
  1388. package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js +0 -66
  1389. package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js.map +0 -1
  1390. package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts +0 -6
  1391. package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts.map +0 -1
  1392. package/node_modules/@appium/base-driver/build/lib/test-pages/index.js +0 -35
  1393. package/node_modules/@appium/base-driver/build/lib/test-pages/index.js.map +0 -1
  1394. package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts +0 -8
  1395. package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts.map +0 -1
  1396. package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js +0 -23
  1397. package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js.map +0 -1
  1398. package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts +0 -3
  1399. package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts.map +0 -1
  1400. package/node_modules/@appium/base-driver/build/lib/test-pages/template.js +0 -19
  1401. package/node_modules/@appium/base-driver/build/lib/test-pages/template.js.map +0 -1
  1402. package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi-subscriptions.ts +0 -36
  1403. package/node_modules/@appium/base-driver/lib/basedriver/commands/index.ts +0 -6
  1404. package/node_modules/@appium/base-driver/lib/basedriver/commands/mixin.ts +0 -15
  1405. package/node_modules/@appium/base-driver/lib/basedriver/helpers.ts +0 -621
  1406. package/node_modules/@appium/base-driver/lib/express/express-logging.ts +0 -80
  1407. package/node_modules/@appium/base-driver/lib/express/idempotency.ts +0 -198
  1408. package/node_modules/@appium/base-driver/lib/express/logger.ts +0 -3
  1409. package/node_modules/@appium/base-driver/lib/express/middleware.ts +0 -207
  1410. package/node_modules/@appium/base-driver/lib/express/server.ts +0 -443
  1411. package/node_modules/@appium/base-driver/lib/express/websocket.ts +0 -71
  1412. package/node_modules/@appium/base-driver/lib/jsonwp-proxy/protocol-converter.ts +0 -246
  1413. package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy-request.ts +0 -52
  1414. package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.ts +0 -478
  1415. package/node_modules/@appium/base-driver/lib/jsonwp-status/status.ts +0 -120
  1416. package/node_modules/@appium/base-driver/lib/protocol/bidi-commands.ts +0 -41
  1417. package/node_modules/@appium/base-driver/lib/protocol/protocol.ts +0 -624
  1418. package/node_modules/@appium/base-driver/lib/test-pages/crash.ts +0 -15
  1419. package/node_modules/@appium/base-driver/lib/test-pages/env.ts +0 -9
  1420. package/node_modules/@appium/base-driver/lib/test-pages/handlers.ts +0 -67
  1421. package/node_modules/@appium/base-driver/lib/test-pages/index.ts +0 -36
  1422. package/node_modules/@appium/base-driver/lib/test-pages/static-dir.ts +0 -19
  1423. package/node_modules/@appium/base-driver/lib/test-pages/template.ts +0 -15
  1424. package/node_modules/@appium/base-driver/node_modules/axios/CHANGELOG.md +0 -1934
  1425. package/node_modules/@appium/base-driver/node_modules/axios/LICENSE +0 -7
  1426. package/node_modules/@appium/base-driver/node_modules/axios/MIGRATION_GUIDE.md +0 -877
  1427. package/node_modules/@appium/base-driver/node_modules/axios/README.md +0 -2851
  1428. package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.js +0 -5807
  1429. package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js +0 -5
  1430. package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js.map +0 -1
  1431. package/node_modules/@appium/base-driver/node_modules/axios/dist/browser/axios.cjs +0 -5829
  1432. package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.js +0 -5850
  1433. package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js +0 -3
  1434. package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  1435. package/node_modules/@appium/base-driver/node_modules/axios/dist/node/axios.cjs +0 -6808
  1436. package/node_modules/@appium/base-driver/node_modules/axios/index.d.cts +0 -766
  1437. package/node_modules/@appium/base-driver/node_modules/axios/index.d.ts +0 -787
  1438. package/node_modules/@appium/base-driver/node_modules/axios/index.js +0 -45
  1439. package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/README.md +0 -36
  1440. package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/adapters.js +0 -132
  1441. package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/fetch.js +0 -696
  1442. package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/http.js +0 -1490
  1443. package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/xhr.js +0 -277
  1444. package/node_modules/@appium/base-driver/node_modules/axios/lib/axios.js +0 -89
  1445. package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  1446. package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CanceledError.js +0 -22
  1447. package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/isCancel.js +0 -5
  1448. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/Axios.js +0 -306
  1449. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosError.js +0 -219
  1450. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
  1451. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/InterceptorManager.js +0 -171
  1452. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/README.md +0 -8
  1453. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/buildFullPath.js +0 -76
  1454. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/dispatchRequest.js +0 -95
  1455. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/mergeConfig.js +0 -174
  1456. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/methodList.js +0 -17
  1457. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
  1458. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/settle.js +0 -27
  1459. package/node_modules/@appium/base-driver/node_modules/axios/lib/core/transformData.js +0 -28
  1460. package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/index.js +0 -178
  1461. package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/transitional.js +0 -10
  1462. package/node_modules/@appium/base-driver/node_modules/axios/lib/env/README.md +0 -3
  1463. package/node_modules/@appium/base-driver/node_modules/axios/lib/env/classes/FormData.js +0 -2
  1464. package/node_modules/@appium/base-driver/node_modules/axios/lib/env/data.js +0 -1
  1465. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
  1466. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
  1467. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/Http2Sessions.js +0 -121
  1468. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -88
  1469. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/README.md +0 -7
  1470. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
  1471. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/bind.js +0 -14
  1472. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/buildURL.js +0 -69
  1473. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/callbackify.js +0 -18
  1474. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/combineURLs.js +0 -23
  1475. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/composeSignals.js +0 -68
  1476. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/cookies.js +0 -64
  1477. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
  1478. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
  1479. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
  1480. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
  1481. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/fromDataURI.js +0 -69
  1482. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
  1483. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  1484. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
  1485. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +0 -24
  1486. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/null.js +0 -2
  1487. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
  1488. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  1489. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
  1490. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/readBlob.js +0 -15
  1491. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/resolveConfig.js +0 -107
  1492. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
  1493. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -505
  1494. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/speedometer.js +0 -55
  1495. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/spread.js +0 -28
  1496. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/throttle.js +0 -45
  1497. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toFormData.js +0 -279
  1498. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  1499. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/trackStream.js +0 -89
  1500. package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/validator.js +0 -112
  1501. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  1502. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  1503. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  1504. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/index.js +0 -13
  1505. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/common/utils.js +0 -52
  1506. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/index.js +0 -7
  1507. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
  1508. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  1509. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  1510. package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/index.js +0 -37
  1511. package/node_modules/@appium/base-driver/node_modules/axios/lib/utils.js +0 -1150
  1512. package/node_modules/@appium/base-driver/node_modules/axios/package.json +0 -203
  1513. package/node_modules/@appium/base-driver/test-fixtures/static/appium.png +0 -0
  1514. package/node_modules/@appium/base-driver/test-fixtures/static/favicon.ico +0 -0
  1515. package/node_modules/@appium/base-driver/test-fixtures/static/js/jquery.min.js +0 -5
  1516. package/node_modules/@appium/base-driver/test-fixtures/static/test/frameset.html +0 -10
  1517. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-app-banner.html +0 -84
  1518. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-scrollable.html +0 -135
  1519. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig.html +0 -90
  1520. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig2.html +0 -11
  1521. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig3.html +0 -11
  1522. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig4.html +0 -11
  1523. package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig5.html +0 -11
  1524. package/node_modules/@appium/base-driver/test-fixtures/static/test/iframes.html +0 -14
  1525. package/node_modules/@appium/base-driver/test-fixtures/static/test/shadow-dom.html +0 -34
  1526. package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe1.html +0 -9
  1527. package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe2.html +0 -8
  1528. package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe3.html +0 -11
  1529. package/node_modules/@appium/base-driver/test-fixtures/static/test/touch.html +0 -56
  1530. package/node_modules/@appium/base-driver/test-fixtures/static/test/welcome.html +0 -10
  1531. package/node_modules/@appium/support/build/lib/env.d.ts +0 -56
  1532. package/node_modules/@appium/support/build/lib/env.d.ts.map +0 -1
  1533. package/node_modules/@appium/support/build/lib/env.js +0 -147
  1534. package/node_modules/@appium/support/build/lib/env.js.map +0 -1
  1535. package/node_modules/@appium/support/build/lib/image-util.d.ts +0 -19
  1536. package/node_modules/@appium/support/build/lib/image-util.d.ts.map +0 -1
  1537. package/node_modules/@appium/support/build/lib/image-util.js +0 -39
  1538. package/node_modules/@appium/support/build/lib/image-util.js.map +0 -1
  1539. package/node_modules/@appium/support/build/lib/internal/read-package.d.ts +0 -30
  1540. package/node_modules/@appium/support/build/lib/internal/read-package.d.ts.map +0 -1
  1541. package/node_modules/@appium/support/build/lib/internal/read-package.js +0 -48
  1542. package/node_modules/@appium/support/build/lib/internal/read-package.js.map +0 -1
  1543. package/node_modules/@appium/support/build/lib/mjpeg.d.ts +0 -32
  1544. package/node_modules/@appium/support/build/lib/mjpeg.d.ts.map +0 -1
  1545. package/node_modules/@appium/support/build/lib/mjpeg.js +0 -168
  1546. package/node_modules/@appium/support/build/lib/mjpeg.js.map +0 -1
  1547. package/node_modules/@appium/support/build/lib/mkdirp.d.ts +0 -5
  1548. package/node_modules/@appium/support/build/lib/mkdirp.d.ts.map +0 -1
  1549. package/node_modules/@appium/support/build/lib/mkdirp.js +0 -9
  1550. package/node_modules/@appium/support/build/lib/mkdirp.js.map +0 -1
  1551. package/node_modules/@appium/support/build/lib/npm.d.ts +0 -115
  1552. package/node_modules/@appium/support/build/lib/npm.d.ts.map +0 -1
  1553. package/node_modules/@appium/support/build/lib/npm.js +0 -293
  1554. package/node_modules/@appium/support/build/lib/npm.js.map +0 -1
  1555. package/node_modules/@appium/support/build/lib/process.d.ts +0 -20
  1556. package/node_modules/@appium/support/build/lib/process.d.ts.map +0 -1
  1557. package/node_modules/@appium/support/build/lib/process.js +0 -68
  1558. package/node_modules/@appium/support/build/lib/process.js.map +0 -1
  1559. package/node_modules/@appium/support/lib/env.ts +0 -126
  1560. package/node_modules/@appium/support/lib/image-util.ts +0 -40
  1561. package/node_modules/@appium/support/lib/internal/read-package.ts +0 -79
  1562. package/node_modules/@appium/support/lib/mjpeg.ts +0 -186
  1563. package/node_modules/@appium/support/lib/mkdirp.ts +0 -6
  1564. package/node_modules/@appium/support/lib/npm.ts +0 -319
  1565. package/node_modules/@appium/support/lib/process.ts +0 -66
  1566. package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +0 -1934
  1567. package/node_modules/@appium/support/node_modules/axios/LICENSE +0 -7
  1568. package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +0 -877
  1569. package/node_modules/@appium/support/node_modules/axios/README.md +0 -2851
  1570. package/node_modules/@appium/support/node_modules/axios/dist/axios.js +0 -5807
  1571. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +0 -5
  1572. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +0 -1
  1573. package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +0 -5829
  1574. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +0 -5850
  1575. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +0 -3
  1576. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  1577. package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +0 -6808
  1578. package/node_modules/@appium/support/node_modules/axios/index.d.cts +0 -766
  1579. package/node_modules/@appium/support/node_modules/axios/index.d.ts +0 -787
  1580. package/node_modules/@appium/support/node_modules/axios/index.js +0 -45
  1581. package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +0 -36
  1582. package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +0 -132
  1583. package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +0 -696
  1584. package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +0 -1490
  1585. package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +0 -277
  1586. package/node_modules/@appium/support/node_modules/axios/lib/axios.js +0 -89
  1587. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  1588. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +0 -22
  1589. package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +0 -5
  1590. package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +0 -306
  1591. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +0 -219
  1592. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
  1593. package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +0 -171
  1594. package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +0 -8
  1595. package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +0 -76
  1596. package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +0 -95
  1597. package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +0 -174
  1598. package/node_modules/@appium/support/node_modules/axios/lib/core/methodList.js +0 -17
  1599. package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
  1600. package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +0 -27
  1601. package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +0 -28
  1602. package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +0 -178
  1603. package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +0 -10
  1604. package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +0 -3
  1605. package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +0 -2
  1606. package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +0 -1
  1607. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
  1608. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
  1609. package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +0 -121
  1610. package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -88
  1611. package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +0 -7
  1612. package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
  1613. package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +0 -14
  1614. package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +0 -69
  1615. package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +0 -18
  1616. package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +0 -23
  1617. package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +0 -68
  1618. package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +0 -64
  1619. package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
  1620. package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
  1621. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
  1622. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
  1623. package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +0 -69
  1624. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
  1625. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  1626. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
  1627. package/node_modules/@appium/support/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +0 -24
  1628. package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +0 -2
  1629. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
  1630. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  1631. package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
  1632. package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +0 -15
  1633. package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +0 -107
  1634. package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
  1635. package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -505
  1636. package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +0 -55
  1637. package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +0 -28
  1638. package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +0 -45
  1639. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +0 -279
  1640. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  1641. package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +0 -89
  1642. package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +0 -112
  1643. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  1644. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  1645. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  1646. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +0 -13
  1647. package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +0 -52
  1648. package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +0 -7
  1649. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
  1650. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  1651. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  1652. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +0 -37
  1653. package/node_modules/@appium/support/node_modules/axios/lib/utils.js +0 -1150
  1654. package/node_modules/@appium/support/node_modules/axios/package.json +0 -203
  1655. package/node_modules/@appium/support/node_modules/semver/LICENSE +0 -15
  1656. package/node_modules/@appium/support/node_modules/semver/README.md +0 -680
  1657. package/node_modules/@appium/support/node_modules/semver/bin/semver.js +0 -195
  1658. package/node_modules/@appium/support/node_modules/semver/classes/comparator.js +0 -143
  1659. package/node_modules/@appium/support/node_modules/semver/classes/index.js +0 -7
  1660. package/node_modules/@appium/support/node_modules/semver/classes/range.js +0 -577
  1661. package/node_modules/@appium/support/node_modules/semver/classes/semver.js +0 -350
  1662. package/node_modules/@appium/support/node_modules/semver/functions/clean.js +0 -8
  1663. package/node_modules/@appium/support/node_modules/semver/functions/cmp.js +0 -54
  1664. package/node_modules/@appium/support/node_modules/semver/functions/coerce.js +0 -62
  1665. package/node_modules/@appium/support/node_modules/semver/functions/compare-build.js +0 -9
  1666. package/node_modules/@appium/support/node_modules/semver/functions/compare-loose.js +0 -5
  1667. package/node_modules/@appium/support/node_modules/semver/functions/compare.js +0 -7
  1668. package/node_modules/@appium/support/node_modules/semver/functions/diff.js +0 -60
  1669. package/node_modules/@appium/support/node_modules/semver/functions/eq.js +0 -5
  1670. package/node_modules/@appium/support/node_modules/semver/functions/gt.js +0 -5
  1671. package/node_modules/@appium/support/node_modules/semver/functions/gte.js +0 -5
  1672. package/node_modules/@appium/support/node_modules/semver/functions/inc.js +0 -21
  1673. package/node_modules/@appium/support/node_modules/semver/functions/lt.js +0 -5
  1674. package/node_modules/@appium/support/node_modules/semver/functions/lte.js +0 -5
  1675. package/node_modules/@appium/support/node_modules/semver/functions/major.js +0 -5
  1676. package/node_modules/@appium/support/node_modules/semver/functions/minor.js +0 -5
  1677. package/node_modules/@appium/support/node_modules/semver/functions/neq.js +0 -5
  1678. package/node_modules/@appium/support/node_modules/semver/functions/parse.js +0 -18
  1679. package/node_modules/@appium/support/node_modules/semver/functions/patch.js +0 -5
  1680. package/node_modules/@appium/support/node_modules/semver/functions/prerelease.js +0 -8
  1681. package/node_modules/@appium/support/node_modules/semver/functions/rcompare.js +0 -5
  1682. package/node_modules/@appium/support/node_modules/semver/functions/rsort.js +0 -5
  1683. package/node_modules/@appium/support/node_modules/semver/functions/satisfies.js +0 -12
  1684. package/node_modules/@appium/support/node_modules/semver/functions/sort.js +0 -5
  1685. package/node_modules/@appium/support/node_modules/semver/functions/truncate.js +0 -48
  1686. package/node_modules/@appium/support/node_modules/semver/functions/valid.js +0 -8
  1687. package/node_modules/@appium/support/node_modules/semver/index.js +0 -93
  1688. package/node_modules/@appium/support/node_modules/semver/internal/constants.js +0 -37
  1689. package/node_modules/@appium/support/node_modules/semver/internal/debug.js +0 -11
  1690. package/node_modules/@appium/support/node_modules/semver/internal/identifiers.js +0 -29
  1691. package/node_modules/@appium/support/node_modules/semver/internal/lrucache.js +0 -42
  1692. package/node_modules/@appium/support/node_modules/semver/internal/parse-options.js +0 -17
  1693. package/node_modules/@appium/support/node_modules/semver/internal/re.js +0 -223
  1694. package/node_modules/@appium/support/node_modules/semver/package.json +0 -78
  1695. package/node_modules/@appium/support/node_modules/semver/preload.js +0 -4
  1696. package/node_modules/@appium/support/node_modules/semver/range.bnf +0 -17
  1697. package/node_modules/@appium/support/node_modules/semver/ranges/gtr.js +0 -6
  1698. package/node_modules/@appium/support/node_modules/semver/ranges/intersects.js +0 -9
  1699. package/node_modules/@appium/support/node_modules/semver/ranges/ltr.js +0 -6
  1700. package/node_modules/@appium/support/node_modules/semver/ranges/max-satisfying.js +0 -27
  1701. package/node_modules/@appium/support/node_modules/semver/ranges/min-satisfying.js +0 -26
  1702. package/node_modules/@appium/support/node_modules/semver/ranges/min-version.js +0 -63
  1703. package/node_modules/@appium/support/node_modules/semver/ranges/outside.js +0 -82
  1704. package/node_modules/@appium/support/node_modules/semver/ranges/simplify.js +0 -49
  1705. package/node_modules/@appium/support/node_modules/semver/ranges/subset.js +0 -249
  1706. package/node_modules/@appium/support/node_modules/semver/ranges/to-comparators.js +0 -10
  1707. package/node_modules/@appium/support/node_modules/semver/ranges/valid.js +0 -13
  1708. package/node_modules/@img/colour/LICENSE.md +0 -82
  1709. package/node_modules/@img/colour/README.md +0 -15
  1710. package/node_modules/@img/colour/color.cjs +0 -1596
  1711. package/node_modules/@img/colour/index.cjs +0 -1
  1712. package/node_modules/@img/colour/index.d.ts +0 -929
  1713. package/node_modules/@img/colour/package.json +0 -58
  1714. package/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  1715. package/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
  1716. package/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  1717. package/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 +0 -0
  1718. package/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
  1719. package/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  1720. package/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
  1721. package/node_modules/@img/sharp-linux-x64/README.md +0 -18
  1722. package/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
  1723. package/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.5.node +0 -0
  1724. package/node_modules/@img/sharp-linux-x64/package.json +0 -47
  1725. package/node_modules/accepts/HISTORY.md +0 -250
  1726. package/node_modules/accepts/LICENSE +0 -23
  1727. package/node_modules/accepts/README.md +0 -140
  1728. package/node_modules/accepts/index.js +0 -238
  1729. package/node_modules/accepts/package.json +0 -47
  1730. package/node_modules/async-lock/AUTHORS +0 -21
  1731. package/node_modules/async-lock/History.md +0 -132
  1732. package/node_modules/async-lock/LICENSE +0 -22
  1733. package/node_modules/async-lock/README.md +0 -177
  1734. package/node_modules/async-lock/index.js +0 -2
  1735. package/node_modules/async-lock/lib/index.js +0 -312
  1736. package/node_modules/async-lock/package.json +0 -48
  1737. package/node_modules/basic-auth/HISTORY.md +0 -52
  1738. package/node_modules/basic-auth/LICENSE +0 -24
  1739. package/node_modules/basic-auth/README.md +0 -113
  1740. package/node_modules/basic-auth/index.js +0 -133
  1741. package/node_modules/basic-auth/package.json +0 -41
  1742. package/node_modules/bluebird/LICENSE +0 -21
  1743. package/node_modules/bluebird/README.md +0 -57
  1744. package/node_modules/bluebird/changelog.md +0 -1
  1745. package/node_modules/bluebird/js/browser/bluebird.core.js +0 -3914
  1746. package/node_modules/bluebird/js/browser/bluebird.core.min.js +0 -31
  1747. package/node_modules/bluebird/js/browser/bluebird.js +0 -5778
  1748. package/node_modules/bluebird/js/browser/bluebird.min.js +0 -31
  1749. package/node_modules/bluebird/js/release/any.js +0 -21
  1750. package/node_modules/bluebird/js/release/assert.js +0 -55
  1751. package/node_modules/bluebird/js/release/async.js +0 -120
  1752. package/node_modules/bluebird/js/release/bind.js +0 -67
  1753. package/node_modules/bluebird/js/release/bluebird.js +0 -11
  1754. package/node_modules/bluebird/js/release/call_get.js +0 -123
  1755. package/node_modules/bluebird/js/release/cancel.js +0 -129
  1756. package/node_modules/bluebird/js/release/catch_filter.js +0 -42
  1757. package/node_modules/bluebird/js/release/context.js +0 -69
  1758. package/node_modules/bluebird/js/release/debuggability.js +0 -1009
  1759. package/node_modules/bluebird/js/release/direct_resolve.js +0 -46
  1760. package/node_modules/bluebird/js/release/each.js +0 -30
  1761. package/node_modules/bluebird/js/release/errors.js +0 -116
  1762. package/node_modules/bluebird/js/release/es5.js +0 -80
  1763. package/node_modules/bluebird/js/release/filter.js +0 -12
  1764. package/node_modules/bluebird/js/release/finally.js +0 -146
  1765. package/node_modules/bluebird/js/release/generators.js +0 -223
  1766. package/node_modules/bluebird/js/release/join.js +0 -165
  1767. package/node_modules/bluebird/js/release/map.js +0 -175
  1768. package/node_modules/bluebird/js/release/method.js +0 -55
  1769. package/node_modules/bluebird/js/release/nodeback.js +0 -51
  1770. package/node_modules/bluebird/js/release/nodeify.js +0 -58
  1771. package/node_modules/bluebird/js/release/promise.js +0 -819
  1772. package/node_modules/bluebird/js/release/promise_array.js +0 -186
  1773. package/node_modules/bluebird/js/release/promisify.js +0 -314
  1774. package/node_modules/bluebird/js/release/props.js +0 -118
  1775. package/node_modules/bluebird/js/release/queue.js +0 -73
  1776. package/node_modules/bluebird/js/release/race.js +0 -49
  1777. package/node_modules/bluebird/js/release/reduce.js +0 -183
  1778. package/node_modules/bluebird/js/release/schedule.js +0 -62
  1779. package/node_modules/bluebird/js/release/settle.js +0 -47
  1780. package/node_modules/bluebird/js/release/some.js +0 -148
  1781. package/node_modules/bluebird/js/release/synchronous_inspection.js +0 -103
  1782. package/node_modules/bluebird/js/release/thenables.js +0 -86
  1783. package/node_modules/bluebird/js/release/timers.js +0 -93
  1784. package/node_modules/bluebird/js/release/using.js +0 -226
  1785. package/node_modules/bluebird/js/release/util.js +0 -421
  1786. package/node_modules/bluebird/package.json +0 -78
  1787. package/node_modules/body-parser/LICENSE +0 -23
  1788. package/node_modules/body-parser/README.md +0 -513
  1789. package/node_modules/body-parser/index.js +0 -55
  1790. package/node_modules/body-parser/lib/read.js +0 -264
  1791. package/node_modules/body-parser/lib/types/json.js +0 -186
  1792. package/node_modules/body-parser/lib/types/raw.js +0 -42
  1793. package/node_modules/body-parser/lib/types/text.js +0 -36
  1794. package/node_modules/body-parser/lib/types/urlencoded.js +0 -138
  1795. package/node_modules/body-parser/lib/utils.js +0 -85
  1796. package/node_modules/body-parser/package.json +0 -60
  1797. package/node_modules/bplist-creator/LICENSE +0 -18
  1798. package/node_modules/bplist-creator/README.md +0 -84
  1799. package/node_modules/bplist-creator/dist/index.cjs +0 -508
  1800. package/node_modules/bplist-creator/dist/index.cjs.map +0 -7
  1801. package/node_modules/bplist-creator/dist/index.d.cts +0 -12
  1802. package/node_modules/bplist-creator/dist/index.d.ts +0 -12
  1803. package/node_modules/bplist-creator/dist/index.mjs +0 -472
  1804. package/node_modules/bplist-creator/dist/index.mjs.map +0 -7
  1805. package/node_modules/bplist-creator/package.json +0 -62
  1806. package/node_modules/bplist-parser/README.md +0 -82
  1807. package/node_modules/bplist-parser/dist/index.cjs +0 -385
  1808. package/node_modules/bplist-parser/dist/index.cjs.map +0 -7
  1809. package/node_modules/bplist-parser/dist/index.d.cts +0 -13
  1810. package/node_modules/bplist-parser/dist/index.d.ts +0 -13
  1811. package/node_modules/bplist-parser/dist/index.mjs +0 -343
  1812. package/node_modules/bplist-parser/dist/index.mjs.map +0 -7
  1813. package/node_modules/bplist-parser/package.json +0 -62
  1814. package/node_modules/bytes/History.md +0 -97
  1815. package/node_modules/bytes/LICENSE +0 -23
  1816. package/node_modules/bytes/Readme.md +0 -152
  1817. package/node_modules/bytes/index.js +0 -170
  1818. package/node_modules/bytes/package.json +0 -42
  1819. package/node_modules/call-bound/.eslintrc +0 -13
  1820. package/node_modules/call-bound/.github/FUNDING.yml +0 -12
  1821. package/node_modules/call-bound/.nycrc +0 -9
  1822. package/node_modules/call-bound/CHANGELOG.md +0 -42
  1823. package/node_modules/call-bound/LICENSE +0 -21
  1824. package/node_modules/call-bound/README.md +0 -53
  1825. package/node_modules/call-bound/index.d.ts +0 -94
  1826. package/node_modules/call-bound/index.js +0 -19
  1827. package/node_modules/call-bound/package.json +0 -99
  1828. package/node_modules/call-bound/test/index.js +0 -61
  1829. package/node_modules/call-bound/tsconfig.json +0 -10
  1830. package/node_modules/compare-versions/LICENSE +0 -21
  1831. package/node_modules/compare-versions/README.md +0 -133
  1832. package/node_modules/compare-versions/lib/esm/compare.d.ts +0 -19
  1833. package/node_modules/compare-versions/lib/esm/compare.js +0 -44
  1834. package/node_modules/compare-versions/lib/esm/compare.js.map +0 -1
  1835. package/node_modules/compare-versions/lib/esm/compareVersions.d.ts +0 -8
  1836. package/node_modules/compare-versions/lib/esm/compareVersions.js +0 -29
  1837. package/node_modules/compare-versions/lib/esm/compareVersions.js.map +0 -1
  1838. package/node_modules/compare-versions/lib/esm/index.d.ts +0 -5
  1839. package/node_modules/compare-versions/lib/esm/index.js +0 -5
  1840. package/node_modules/compare-versions/lib/esm/index.js.map +0 -1
  1841. package/node_modules/compare-versions/lib/esm/satisfies.d.ts +0 -14
  1842. package/node_modules/compare-versions/lib/esm/satisfies.js +0 -66
  1843. package/node_modules/compare-versions/lib/esm/satisfies.js.map +0 -1
  1844. package/node_modules/compare-versions/lib/esm/utils.d.ts +0 -7
  1845. package/node_modules/compare-versions/lib/esm/utils.js +0 -37
  1846. package/node_modules/compare-versions/lib/esm/utils.js.map +0 -1
  1847. package/node_modules/compare-versions/lib/esm/validate.d.ts +0 -28
  1848. package/node_modules/compare-versions/lib/esm/validate.js +0 -31
  1849. package/node_modules/compare-versions/lib/esm/validate.js.map +0 -1
  1850. package/node_modules/compare-versions/lib/umd/index.js +0 -216
  1851. package/node_modules/compare-versions/lib/umd/index.js.map +0 -1
  1852. package/node_modules/compare-versions/package.json +0 -45
  1853. package/node_modules/compare-versions/src/compare.ts +0 -54
  1854. package/node_modules/compare-versions/src/compareVersions.ts +0 -31
  1855. package/node_modules/compare-versions/src/index.ts +0 -5
  1856. package/node_modules/compare-versions/src/satisfies.ts +0 -69
  1857. package/node_modules/compare-versions/src/utils.ts +0 -50
  1858. package/node_modules/compare-versions/src/validate.ts +0 -36
  1859. package/node_modules/content-disposition/LICENSE +0 -22
  1860. package/node_modules/content-disposition/README.md +0 -141
  1861. package/node_modules/content-disposition/index.js +0 -536
  1862. package/node_modules/content-disposition/package.json +0 -40
  1863. package/node_modules/content-type/LICENSE +0 -22
  1864. package/node_modules/content-type/README.md +0 -71
  1865. package/node_modules/content-type/dist/index.d.ts +0 -46
  1866. package/node_modules/content-type/dist/index.js +0 -176
  1867. package/node_modules/content-type/dist/index.js.map +0 -1
  1868. package/node_modules/content-type/package.json +0 -52
  1869. package/node_modules/cookie/LICENSE +0 -24
  1870. package/node_modules/cookie/README.md +0 -317
  1871. package/node_modules/cookie/SECURITY.md +0 -25
  1872. package/node_modules/cookie/index.js +0 -335
  1873. package/node_modules/cookie/package.json +0 -44
  1874. package/node_modules/cookie-signature/History.md +0 -70
  1875. package/node_modules/cookie-signature/LICENSE +0 -22
  1876. package/node_modules/cookie-signature/Readme.md +0 -23
  1877. package/node_modules/cookie-signature/index.js +0 -47
  1878. package/node_modules/cookie-signature/package.json +0 -24
  1879. package/node_modules/depd/History.md +0 -103
  1880. package/node_modules/depd/LICENSE +0 -22
  1881. package/node_modules/depd/Readme.md +0 -280
  1882. package/node_modules/depd/index.js +0 -538
  1883. package/node_modules/depd/lib/browser/index.js +0 -77
  1884. package/node_modules/depd/package.json +0 -45
  1885. package/node_modules/detect-libc/LICENSE +0 -201
  1886. package/node_modules/detect-libc/README.md +0 -163
  1887. package/node_modules/detect-libc/index.d.ts +0 -14
  1888. package/node_modules/detect-libc/lib/detect-libc.js +0 -313
  1889. package/node_modules/detect-libc/lib/elf.js +0 -39
  1890. package/node_modules/detect-libc/lib/filesystem.js +0 -51
  1891. package/node_modules/detect-libc/lib/process.js +0 -24
  1892. package/node_modules/detect-libc/package.json +0 -44
  1893. package/node_modules/detect-node/LICENSE +0 -21
  1894. package/node_modules/detect-node/Readme.md +0 -30
  1895. package/node_modules/detect-node/browser.js +0 -2
  1896. package/node_modules/detect-node/index.esm.js +0 -2
  1897. package/node_modules/detect-node/index.js +0 -2
  1898. package/node_modules/detect-node/package.json +0 -25
  1899. package/node_modules/duplexer/.travis.yml +0 -6
  1900. package/node_modules/duplexer/LICENCE +0 -19
  1901. package/node_modules/duplexer/README.md +0 -49
  1902. package/node_modules/duplexer/index.js +0 -87
  1903. package/node_modules/duplexer/package.json +0 -42
  1904. package/node_modules/duplexer/test/index.js +0 -31
  1905. package/node_modules/ee-first/LICENSE +0 -22
  1906. package/node_modules/ee-first/README.md +0 -80
  1907. package/node_modules/ee-first/index.js +0 -95
  1908. package/node_modules/ee-first/package.json +0 -29
  1909. package/node_modules/encodeurl/LICENSE +0 -22
  1910. package/node_modules/encodeurl/README.md +0 -123
  1911. package/node_modules/encodeurl/index.js +0 -55
  1912. package/node_modules/encodeurl/package.json +0 -44
  1913. package/node_modules/escape-html/LICENSE +0 -24
  1914. package/node_modules/escape-html/Readme.md +0 -43
  1915. package/node_modules/escape-html/index.js +0 -78
  1916. package/node_modules/escape-html/package.json +0 -24
  1917. package/node_modules/etag/HISTORY.md +0 -83
  1918. package/node_modules/etag/LICENSE +0 -22
  1919. package/node_modules/etag/README.md +0 -159
  1920. package/node_modules/etag/index.js +0 -131
  1921. package/node_modules/etag/package.json +0 -47
  1922. package/node_modules/express/LICENSE +0 -24
  1923. package/node_modules/express/Readme.md +0 -276
  1924. package/node_modules/express/index.js +0 -11
  1925. package/node_modules/express/lib/application.js +0 -631
  1926. package/node_modules/express/lib/express.js +0 -81
  1927. package/node_modules/express/lib/request.js +0 -514
  1928. package/node_modules/express/lib/response.js +0 -1053
  1929. package/node_modules/express/lib/utils.js +0 -271
  1930. package/node_modules/express/lib/view.js +0 -205
  1931. package/node_modules/express/node_modules/content-type/HISTORY.md +0 -29
  1932. package/node_modules/express/node_modules/content-type/LICENSE +0 -22
  1933. package/node_modules/express/node_modules/content-type/README.md +0 -94
  1934. package/node_modules/express/node_modules/content-type/index.js +0 -225
  1935. package/node_modules/express/node_modules/content-type/package.json +0 -42
  1936. package/node_modules/express/package.json +0 -99
  1937. package/node_modules/fastest-levenshtein/.eslintrc.json +0 -30
  1938. package/node_modules/fastest-levenshtein/.prettierrc +0 -4
  1939. package/node_modules/fastest-levenshtein/.travis.yml +0 -21
  1940. package/node_modules/fastest-levenshtein/LICENSE.md +0 -21
  1941. package/node_modules/fastest-levenshtein/README.md +0 -57
  1942. package/node_modules/fastest-levenshtein/bench.js +0 -96
  1943. package/node_modules/fastest-levenshtein/esm/mod.d.ts +0 -4
  1944. package/node_modules/fastest-levenshtein/esm/mod.d.ts.map +0 -1
  1945. package/node_modules/fastest-levenshtein/esm/mod.js +0 -138
  1946. package/node_modules/fastest-levenshtein/mod.d.ts +0 -3
  1947. package/node_modules/fastest-levenshtein/mod.js +0 -142
  1948. package/node_modules/fastest-levenshtein/package.json +0 -72
  1949. package/node_modules/fastest-levenshtein/test.js +0 -55
  1950. package/node_modules/fastest-levenshtein/test.ts +0 -67
  1951. package/node_modules/finalhandler/HISTORY.md +0 -239
  1952. package/node_modules/finalhandler/LICENSE +0 -22
  1953. package/node_modules/finalhandler/README.md +0 -150
  1954. package/node_modules/finalhandler/index.js +0 -293
  1955. package/node_modules/finalhandler/package.json +0 -47
  1956. package/node_modules/forwarded/HISTORY.md +0 -21
  1957. package/node_modules/forwarded/LICENSE +0 -22
  1958. package/node_modules/forwarded/README.md +0 -57
  1959. package/node_modules/forwarded/index.js +0 -90
  1960. package/node_modules/forwarded/package.json +0 -45
  1961. package/node_modules/fresh/HISTORY.md +0 -80
  1962. package/node_modules/fresh/LICENSE +0 -23
  1963. package/node_modules/fresh/README.md +0 -117
  1964. package/node_modules/fresh/index.js +0 -136
  1965. package/node_modules/fresh/package.json +0 -46
  1966. package/node_modules/ftp-response-parser/.README.md.un~ +0 -0
  1967. package/node_modules/ftp-response-parser/.index.js.un~ +0 -0
  1968. package/node_modules/ftp-response-parser/.package.json.un~ +0 -0
  1969. package/node_modules/ftp-response-parser/.test.js.un~ +0 -0
  1970. package/node_modules/ftp-response-parser/LICENSE +0 -20
  1971. package/node_modules/ftp-response-parser/README.md +0 -104
  1972. package/node_modules/ftp-response-parser/index.js +0 -82
  1973. package/node_modules/ftp-response-parser/node_modules/isarray/README.md +0 -54
  1974. package/node_modules/ftp-response-parser/node_modules/isarray/build/build.js +0 -209
  1975. package/node_modules/ftp-response-parser/node_modules/isarray/component.json +0 -19
  1976. package/node_modules/ftp-response-parser/node_modules/isarray/index.js +0 -3
  1977. package/node_modules/ftp-response-parser/node_modules/isarray/package.json +0 -25
  1978. package/node_modules/ftp-response-parser/node_modules/readable-stream/.npmignore +0 -5
  1979. package/node_modules/ftp-response-parser/node_modules/readable-stream/LICENSE +0 -18
  1980. package/node_modules/ftp-response-parser/node_modules/readable-stream/README.md +0 -15
  1981. package/node_modules/ftp-response-parser/node_modules/readable-stream/duplex.js +0 -1
  1982. package/node_modules/ftp-response-parser/node_modules/readable-stream/float.patch +0 -923
  1983. package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_duplex.js +0 -89
  1984. package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_passthrough.js +0 -46
  1985. package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js +0 -951
  1986. package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js +0 -209
  1987. package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_writable.js +0 -477
  1988. package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +0 -32
  1989. package/node_modules/ftp-response-parser/node_modules/readable-stream/passthrough.js +0 -1
  1990. package/node_modules/ftp-response-parser/node_modules/readable-stream/readable.js +0 -10
  1991. package/node_modules/ftp-response-parser/node_modules/readable-stream/transform.js +0 -1
  1992. package/node_modules/ftp-response-parser/node_modules/readable-stream/writable.js +0 -1
  1993. package/node_modules/ftp-response-parser/node_modules/string_decoder/.npmignore +0 -2
  1994. package/node_modules/ftp-response-parser/node_modules/string_decoder/LICENSE +0 -20
  1995. package/node_modules/ftp-response-parser/node_modules/string_decoder/README.md +0 -7
  1996. package/node_modules/ftp-response-parser/node_modules/string_decoder/index.js +0 -221
  1997. package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +0 -25
  1998. package/node_modules/ftp-response-parser/package.json +0 -35
  1999. package/node_modules/ftp-response-parser/test.js +0 -149
  2000. package/node_modules/glob/LICENSE.md +0 -63
  2001. package/node_modules/glob/README.md +0 -1203
  2002. package/node_modules/glob/dist/commonjs/glob.d.ts +0 -396
  2003. package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  2004. package/node_modules/glob/dist/commonjs/glob.js +0 -248
  2005. package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  2006. package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  2007. package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  2008. package/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  2009. package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  2010. package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  2011. package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  2012. package/node_modules/glob/dist/commonjs/ignore.js +0 -119
  2013. package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  2014. package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  2015. package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  2016. package/node_modules/glob/dist/commonjs/index.js +0 -68
  2017. package/node_modules/glob/dist/commonjs/index.js.map +0 -1
  2018. package/node_modules/glob/dist/commonjs/index.min.js +0 -4
  2019. package/node_modules/glob/dist/commonjs/index.min.js.map +0 -7
  2020. package/node_modules/glob/dist/commonjs/package.json +0 -3
  2021. package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -79
  2022. package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  2023. package/node_modules/glob/dist/commonjs/pattern.js +0 -223
  2024. package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  2025. package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  2026. package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  2027. package/node_modules/glob/dist/commonjs/processor.js +0 -301
  2028. package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  2029. package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  2030. package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  2031. package/node_modules/glob/dist/commonjs/walker.js +0 -387
  2032. package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  2033. package/node_modules/glob/dist/esm/glob.d.ts +0 -396
  2034. package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  2035. package/node_modules/glob/dist/esm/glob.js +0 -244
  2036. package/node_modules/glob/dist/esm/glob.js.map +0 -1
  2037. package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  2038. package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  2039. package/node_modules/glob/dist/esm/has-magic.js +0 -23
  2040. package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  2041. package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  2042. package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  2043. package/node_modules/glob/dist/esm/ignore.js +0 -115
  2044. package/node_modules/glob/dist/esm/ignore.js.map +0 -1
  2045. package/node_modules/glob/dist/esm/index.d.ts +0 -97
  2046. package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  2047. package/node_modules/glob/dist/esm/index.js +0 -55
  2048. package/node_modules/glob/dist/esm/index.js.map +0 -1
  2049. package/node_modules/glob/dist/esm/index.min.js +0 -4
  2050. package/node_modules/glob/dist/esm/index.min.js.map +0 -7
  2051. package/node_modules/glob/dist/esm/package.json +0 -3
  2052. package/node_modules/glob/dist/esm/pattern.d.ts +0 -79
  2053. package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  2054. package/node_modules/glob/dist/esm/pattern.js +0 -219
  2055. package/node_modules/glob/dist/esm/pattern.js.map +0 -1
  2056. package/node_modules/glob/dist/esm/processor.d.ts +0 -59
  2057. package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  2058. package/node_modules/glob/dist/esm/processor.js +0 -294
  2059. package/node_modules/glob/dist/esm/processor.js.map +0 -1
  2060. package/node_modules/glob/dist/esm/walker.d.ts +0 -97
  2061. package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  2062. package/node_modules/glob/dist/esm/walker.js +0 -381
  2063. package/node_modules/glob/dist/esm/walker.js.map +0 -1
  2064. package/node_modules/glob/package.json +0 -98
  2065. package/node_modules/handle-thing/.travis.yml +0 -15
  2066. package/node_modules/handle-thing/README.md +0 -44
  2067. package/node_modules/handle-thing/lib/handle.js +0 -263
  2068. package/node_modules/handle-thing/lib/queue.js +0 -48
  2069. package/node_modules/handle-thing/package.json +0 -38
  2070. package/node_modules/handle-thing/test/api-test.js +0 -110
  2071. package/node_modules/hosted-git-info/LICENSE +0 -13
  2072. package/node_modules/hosted-git-info/README.md +0 -138
  2073. package/node_modules/hosted-git-info/lib/from-url.js +0 -122
  2074. package/node_modules/hosted-git-info/lib/hosts.js +0 -229
  2075. package/node_modules/hosted-git-info/lib/index.js +0 -227
  2076. package/node_modules/hosted-git-info/lib/parse-url.js +0 -81
  2077. package/node_modules/hosted-git-info/package.json +0 -57
  2078. package/node_modules/hpack.js/.npmignore +0 -2
  2079. package/node_modules/hpack.js/.travis.yml +0 -6
  2080. package/node_modules/hpack.js/README.md +0 -52
  2081. package/node_modules/hpack.js/bin/benchmark +0 -34
  2082. package/node_modules/hpack.js/lib/hpack/compressor.js +0 -127
  2083. package/node_modules/hpack.js/lib/hpack/decoder.js +0 -169
  2084. package/node_modules/hpack.js/lib/hpack/decompressor.js +0 -116
  2085. package/node_modules/hpack.js/lib/hpack/encoder.js +0 -129
  2086. package/node_modules/hpack.js/lib/hpack/huffman.js +0 -159
  2087. package/node_modules/hpack.js/lib/hpack/static-table.js +0 -691
  2088. package/node_modules/hpack.js/lib/hpack/table.js +0 -85
  2089. package/node_modules/hpack.js/lib/hpack/utils.js +0 -25
  2090. package/node_modules/hpack.js/lib/hpack.js +0 -12
  2091. package/node_modules/hpack.js/node_modules/readable-stream/.travis.yml +0 -34
  2092. package/node_modules/hpack.js/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  2093. package/node_modules/hpack.js/node_modules/readable-stream/GOVERNANCE.md +0 -136
  2094. package/node_modules/hpack.js/node_modules/readable-stream/LICENSE +0 -47
  2095. package/node_modules/hpack.js/node_modules/readable-stream/README.md +0 -58
  2096. package/node_modules/hpack.js/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  2097. package/node_modules/hpack.js/node_modules/readable-stream/duplex-browser.js +0 -1
  2098. package/node_modules/hpack.js/node_modules/readable-stream/duplex.js +0 -1
  2099. package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
  2100. package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  2101. package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
  2102. package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  2103. package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_writable.js +0 -685
  2104. package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
  2105. package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
  2106. package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  2107. package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  2108. package/node_modules/hpack.js/node_modules/readable-stream/package.json +0 -52
  2109. package/node_modules/hpack.js/node_modules/readable-stream/passthrough.js +0 -1
  2110. package/node_modules/hpack.js/node_modules/readable-stream/readable-browser.js +0 -7
  2111. package/node_modules/hpack.js/node_modules/readable-stream/readable.js +0 -19
  2112. package/node_modules/hpack.js/node_modules/readable-stream/transform.js +0 -1
  2113. package/node_modules/hpack.js/node_modules/readable-stream/writable-browser.js +0 -1
  2114. package/node_modules/hpack.js/node_modules/readable-stream/writable.js +0 -8
  2115. package/node_modules/hpack.js/node_modules/string_decoder/.travis.yml +0 -50
  2116. package/node_modules/hpack.js/node_modules/string_decoder/LICENSE +0 -48
  2117. package/node_modules/hpack.js/node_modules/string_decoder/README.md +0 -47
  2118. package/node_modules/hpack.js/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2119. package/node_modules/hpack.js/node_modules/string_decoder/package.json +0 -31
  2120. package/node_modules/hpack.js/package.json +0 -35
  2121. package/node_modules/hpack.js/test/compressor-test.js +0 -136
  2122. package/node_modules/hpack.js/test/decoder-test.js +0 -181
  2123. package/node_modules/hpack.js/test/decompressor-test.js +0 -184
  2124. package/node_modules/hpack.js/test/encoder-test.js +0 -166
  2125. package/node_modules/hpack.js/test/fixtures.js +0 -232
  2126. package/node_modules/hpack.js/tools/gen-huffman.js +0 -309
  2127. package/node_modules/hpack.js/tools/gen-static-table.js +0 -103
  2128. package/node_modules/hpack.js/tools/utils.js +0 -23
  2129. package/node_modules/http-deceiver/.npmignore +0 -2
  2130. package/node_modules/http-deceiver/.travis.yml +0 -5
  2131. package/node_modules/http-deceiver/README.md +0 -31
  2132. package/node_modules/http-deceiver/lib/deceiver.js +0 -250
  2133. package/node_modules/http-deceiver/package.json +0 -30
  2134. package/node_modules/http-deceiver/test/api-test.js +0 -226
  2135. package/node_modules/http-errors/HISTORY.md +0 -186
  2136. package/node_modules/http-errors/LICENSE +0 -23
  2137. package/node_modules/http-errors/README.md +0 -169
  2138. package/node_modules/http-errors/index.js +0 -290
  2139. package/node_modules/http-errors/package.json +0 -54
  2140. package/node_modules/http-status-codes/LICENSE +0 -19
  2141. package/node_modules/http-status-codes/README.md +0 -140
  2142. package/node_modules/http-status-codes/build/cjs/index.d.ts +0 -63
  2143. package/node_modules/http-status-codes/build/cjs/index.js +0 -39
  2144. package/node_modules/http-status-codes/build/cjs/legacy.d.ts +0 -326
  2145. package/node_modules/http-status-codes/build/cjs/legacy.js +0 -330
  2146. package/node_modules/http-status-codes/build/cjs/reason-phrases.d.ts +0 -356
  2147. package/node_modules/http-status-codes/build/cjs/reason-phrases.js +0 -361
  2148. package/node_modules/http-status-codes/build/cjs/status-codes.d.ts +0 -356
  2149. package/node_modules/http-status-codes/build/cjs/status-codes.js +0 -361
  2150. package/node_modules/http-status-codes/build/cjs/utils-functions.d.ts +0 -28
  2151. package/node_modules/http-status-codes/build/cjs/utils-functions.js +0 -46
  2152. package/node_modules/http-status-codes/build/cjs/utils.d.ts +0 -2
  2153. package/node_modules/http-status-codes/build/cjs/utils.js +0 -124
  2154. package/node_modules/http-status-codes/build/es/index.d.ts +0 -63
  2155. package/node_modules/http-status-codes/build/es/index.js +0 -19
  2156. package/node_modules/http-status-codes/build/es/legacy.d.ts +0 -326
  2157. package/node_modules/http-status-codes/build/es/legacy.js +0 -327
  2158. package/node_modules/http-status-codes/build/es/reason-phrases.d.ts +0 -356
  2159. package/node_modules/http-status-codes/build/es/reason-phrases.js +0 -358
  2160. package/node_modules/http-status-codes/build/es/status-codes.d.ts +0 -356
  2161. package/node_modules/http-status-codes/build/es/status-codes.js +0 -358
  2162. package/node_modules/http-status-codes/build/es/utils-functions.d.ts +0 -28
  2163. package/node_modules/http-status-codes/build/es/utils-functions.js +0 -41
  2164. package/node_modules/http-status-codes/build/es/utils.d.ts +0 -2
  2165. package/node_modules/http-status-codes/build/es/utils.js +0 -121
  2166. package/node_modules/http-status-codes/package.json +0 -51
  2167. package/node_modules/iconv-lite/LICENSE +0 -21
  2168. package/node_modules/iconv-lite/README.md +0 -138
  2169. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
  2170. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
  2171. package/node_modules/iconv-lite/encodings/index.js +0 -23
  2172. package/node_modules/iconv-lite/encodings/internal.js +0 -218
  2173. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
  2174. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  2175. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -180
  2176. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  2177. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  2178. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  2179. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  2180. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  2181. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  2182. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  2183. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  2184. package/node_modules/iconv-lite/encodings/utf16.js +0 -187
  2185. package/node_modules/iconv-lite/encodings/utf32.js +0 -314
  2186. package/node_modules/iconv-lite/encodings/utf7.js +0 -283
  2187. package/node_modules/iconv-lite/lib/bom-handling.js +0 -48
  2188. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
  2189. package/node_modules/iconv-lite/lib/index.d.ts +0 -129
  2190. package/node_modules/iconv-lite/lib/index.js +0 -182
  2191. package/node_modules/iconv-lite/lib/streams.js +0 -105
  2192. package/node_modules/iconv-lite/package.json +0 -70
  2193. package/node_modules/iconv-lite/types/encodings.d.ts +0 -425
  2194. package/node_modules/ipaddr.js/LICENSE +0 -19
  2195. package/node_modules/ipaddr.js/README.md +0 -233
  2196. package/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  2197. package/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  2198. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  2199. package/node_modules/ipaddr.js/package.json +0 -35
  2200. package/node_modules/is-promise/LICENSE +0 -19
  2201. package/node_modules/is-promise/index.d.ts +0 -2
  2202. package/node_modules/is-promise/index.js +0 -6
  2203. package/node_modules/is-promise/index.mjs +0 -3
  2204. package/node_modules/is-promise/package.json +0 -30
  2205. package/node_modules/is-promise/readme.md +0 -33
  2206. package/node_modules/jsftp/LICENSE +0 -22
  2207. package/node_modules/jsftp/README.md +0 -329
  2208. package/node_modules/jsftp/index.js +0 -1
  2209. package/node_modules/jsftp/lib/jsftp.js +0 -772
  2210. package/node_modules/jsftp/node_modules/debug/CHANGELOG.md +0 -395
  2211. package/node_modules/jsftp/node_modules/debug/LICENSE +0 -19
  2212. package/node_modules/jsftp/node_modules/debug/README.md +0 -437
  2213. package/node_modules/jsftp/node_modules/debug/node.js +0 -1
  2214. package/node_modules/jsftp/node_modules/debug/package.json +0 -51
  2215. package/node_modules/jsftp/node_modules/debug/src/browser.js +0 -180
  2216. package/node_modules/jsftp/node_modules/debug/src/common.js +0 -249
  2217. package/node_modules/jsftp/node_modules/debug/src/index.js +0 -12
  2218. package/node_modules/jsftp/node_modules/debug/src/node.js +0 -177
  2219. package/node_modules/jsftp/package.json +0 -43
  2220. package/node_modules/json-schema/LICENSE +0 -195
  2221. package/node_modules/json-schema/README.md +0 -3
  2222. package/node_modules/json-schema/lib/links.js +0 -65
  2223. package/node_modules/json-schema/lib/validate.js +0 -271
  2224. package/node_modules/json-schema/package.json +0 -24
  2225. package/node_modules/klaw/LICENSE +0 -15
  2226. package/node_modules/klaw/README.md +0 -261
  2227. package/node_modules/klaw/package.json +0 -39
  2228. package/node_modules/klaw/src/index.js +0 -76
  2229. package/node_modules/media-typer/HISTORY.md +0 -50
  2230. package/node_modules/media-typer/LICENSE +0 -22
  2231. package/node_modules/media-typer/README.md +0 -94
  2232. package/node_modules/media-typer/index.js +0 -135
  2233. package/node_modules/media-typer/package.json +0 -37
  2234. package/node_modules/merge-descriptors/index.d.ts +0 -11
  2235. package/node_modules/merge-descriptors/index.js +0 -26
  2236. package/node_modules/merge-descriptors/license +0 -11
  2237. package/node_modules/merge-descriptors/package.json +0 -50
  2238. package/node_modules/merge-descriptors/readme.md +0 -55
  2239. package/node_modules/method-override/HISTORY.md +0 -163
  2240. package/node_modules/method-override/LICENSE +0 -23
  2241. package/node_modules/method-override/README.md +0 -180
  2242. package/node_modules/method-override/index.js +0 -144
  2243. package/node_modules/method-override/node_modules/debug/.coveralls.yml +0 -1
  2244. package/node_modules/method-override/node_modules/debug/.eslintrc +0 -14
  2245. package/node_modules/method-override/node_modules/debug/.npmignore +0 -9
  2246. package/node_modules/method-override/node_modules/debug/.travis.yml +0 -20
  2247. package/node_modules/method-override/node_modules/debug/CHANGELOG.md +0 -395
  2248. package/node_modules/method-override/node_modules/debug/LICENSE +0 -19
  2249. package/node_modules/method-override/node_modules/debug/Makefile +0 -58
  2250. package/node_modules/method-override/node_modules/debug/README.md +0 -368
  2251. package/node_modules/method-override/node_modules/debug/karma.conf.js +0 -70
  2252. package/node_modules/method-override/node_modules/debug/node.js +0 -1
  2253. package/node_modules/method-override/node_modules/debug/package.json +0 -43
  2254. package/node_modules/method-override/node_modules/debug/src/browser.js +0 -195
  2255. package/node_modules/method-override/node_modules/debug/src/debug.js +0 -225
  2256. package/node_modules/method-override/node_modules/debug/src/index.js +0 -10
  2257. package/node_modules/method-override/node_modules/debug/src/node.js +0 -186
  2258. package/node_modules/method-override/node_modules/ms/index.js +0 -152
  2259. package/node_modules/method-override/node_modules/ms/license.md +0 -21
  2260. package/node_modules/method-override/node_modules/ms/package.json +0 -37
  2261. package/node_modules/method-override/node_modules/ms/readme.md +0 -51
  2262. package/node_modules/method-override/package.json +0 -43
  2263. package/node_modules/methods/HISTORY.md +0 -29
  2264. package/node_modules/methods/LICENSE +0 -24
  2265. package/node_modules/methods/README.md +0 -51
  2266. package/node_modules/methods/index.js +0 -69
  2267. package/node_modules/methods/package.json +0 -36
  2268. package/node_modules/minimalistic-assert/LICENSE +0 -13
  2269. package/node_modules/minimalistic-assert/index.js +0 -11
  2270. package/node_modules/minimalistic-assert/package.json +0 -19
  2271. package/node_modules/minimalistic-assert/readme.md +0 -4
  2272. package/node_modules/minipass/LICENSE.md +0 -55
  2273. package/node_modules/minipass/README.md +0 -825
  2274. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  2275. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  2276. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  2277. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  2278. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  2279. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  2280. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  2281. package/node_modules/minipass/dist/esm/index.js +0 -1020
  2282. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  2283. package/node_modules/minipass/dist/esm/package.json +0 -3
  2284. package/node_modules/minipass/package.json +0 -77
  2285. package/node_modules/morgan/LICENSE +0 -23
  2286. package/node_modules/morgan/README.md +0 -479
  2287. package/node_modules/morgan/index.js +0 -596
  2288. package/node_modules/morgan/node_modules/debug/.coveralls.yml +0 -1
  2289. package/node_modules/morgan/node_modules/debug/.eslintrc +0 -11
  2290. package/node_modules/morgan/node_modules/debug/.npmignore +0 -9
  2291. package/node_modules/morgan/node_modules/debug/.travis.yml +0 -14
  2292. package/node_modules/morgan/node_modules/debug/CHANGELOG.md +0 -362
  2293. package/node_modules/morgan/node_modules/debug/LICENSE +0 -19
  2294. package/node_modules/morgan/node_modules/debug/Makefile +0 -50
  2295. package/node_modules/morgan/node_modules/debug/README.md +0 -312
  2296. package/node_modules/morgan/node_modules/debug/component.json +0 -19
  2297. package/node_modules/morgan/node_modules/debug/karma.conf.js +0 -70
  2298. package/node_modules/morgan/node_modules/debug/node.js +0 -1
  2299. package/node_modules/morgan/node_modules/debug/package.json +0 -49
  2300. package/node_modules/morgan/node_modules/debug/src/browser.js +0 -185
  2301. package/node_modules/morgan/node_modules/debug/src/debug.js +0 -202
  2302. package/node_modules/morgan/node_modules/debug/src/index.js +0 -10
  2303. package/node_modules/morgan/node_modules/debug/src/inspector-log.js +0 -15
  2304. package/node_modules/morgan/node_modules/debug/src/node.js +0 -248
  2305. package/node_modules/morgan/node_modules/ms/index.js +0 -152
  2306. package/node_modules/morgan/node_modules/ms/license.md +0 -21
  2307. package/node_modules/morgan/node_modules/ms/package.json +0 -37
  2308. package/node_modules/morgan/node_modules/ms/readme.md +0 -51
  2309. package/node_modules/morgan/package.json +0 -55
  2310. package/node_modules/negotiator/LICENSE +0 -24
  2311. package/node_modules/negotiator/README.md +0 -212
  2312. package/node_modules/negotiator/index.js +0 -83
  2313. package/node_modules/negotiator/lib/accept.js +0 -54
  2314. package/node_modules/negotiator/lib/charset.js +0 -145
  2315. package/node_modules/negotiator/lib/encoding.js +0 -184
  2316. package/node_modules/negotiator/lib/language.js +0 -158
  2317. package/node_modules/negotiator/lib/mediaType.js +0 -176
  2318. package/node_modules/negotiator/package.json +0 -49
  2319. package/node_modules/normalize-package-data/LICENSE +0 -15
  2320. package/node_modules/normalize-package-data/README.md +0 -108
  2321. package/node_modules/normalize-package-data/lib/extract_description.js +0 -24
  2322. package/node_modules/normalize-package-data/lib/fixer.js +0 -472
  2323. package/node_modules/normalize-package-data/lib/make_warning.js +0 -22
  2324. package/node_modules/normalize-package-data/lib/normalize.js +0 -48
  2325. package/node_modules/normalize-package-data/lib/safe_format.js +0 -11
  2326. package/node_modules/normalize-package-data/lib/typos.json +0 -25
  2327. package/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  2328. package/node_modules/normalize-package-data/package.json +0 -56
  2329. package/node_modules/object-inspect/.eslintrc +0 -53
  2330. package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  2331. package/node_modules/object-inspect/.nycrc +0 -13
  2332. package/node_modules/object-inspect/CHANGELOG.md +0 -424
  2333. package/node_modules/object-inspect/LICENSE +0 -21
  2334. package/node_modules/object-inspect/example/all.js +0 -23
  2335. package/node_modules/object-inspect/example/circular.js +0 -6
  2336. package/node_modules/object-inspect/example/fn.js +0 -5
  2337. package/node_modules/object-inspect/example/inspect.js +0 -10
  2338. package/node_modules/object-inspect/index.js +0 -544
  2339. package/node_modules/object-inspect/package-support.json +0 -20
  2340. package/node_modules/object-inspect/package.json +0 -105
  2341. package/node_modules/object-inspect/readme.markdown +0 -84
  2342. package/node_modules/object-inspect/test/bigint.js +0 -58
  2343. package/node_modules/object-inspect/test/browser/dom.js +0 -15
  2344. package/node_modules/object-inspect/test/circular.js +0 -16
  2345. package/node_modules/object-inspect/test/deep.js +0 -12
  2346. package/node_modules/object-inspect/test/element.js +0 -53
  2347. package/node_modules/object-inspect/test/err.js +0 -48
  2348. package/node_modules/object-inspect/test/fakes.js +0 -29
  2349. package/node_modules/object-inspect/test/fn.js +0 -76
  2350. package/node_modules/object-inspect/test/global.js +0 -17
  2351. package/node_modules/object-inspect/test/has.js +0 -15
  2352. package/node_modules/object-inspect/test/holes.js +0 -15
  2353. package/node_modules/object-inspect/test/indent-option.js +0 -271
  2354. package/node_modules/object-inspect/test/inspect.js +0 -139
  2355. package/node_modules/object-inspect/test/lowbyte.js +0 -12
  2356. package/node_modules/object-inspect/test/number.js +0 -58
  2357. package/node_modules/object-inspect/test/quoteStyle.js +0 -26
  2358. package/node_modules/object-inspect/test/toStringTag.js +0 -40
  2359. package/node_modules/object-inspect/test/undef.js +0 -12
  2360. package/node_modules/object-inspect/test/values.js +0 -261
  2361. package/node_modules/object-inspect/test-core-js.js +0 -26
  2362. package/node_modules/object-inspect/util.inspect.js +0 -1
  2363. package/node_modules/obuf/LICENSE +0 -20
  2364. package/node_modules/obuf/README.md +0 -12
  2365. package/node_modules/obuf/index.js +0 -396
  2366. package/node_modules/obuf/package.json +0 -27
  2367. package/node_modules/obuf/test/buffer-test.js +0 -268
  2368. package/node_modules/on-finished/LICENSE +0 -23
  2369. package/node_modules/on-finished/README.md +0 -162
  2370. package/node_modules/on-finished/index.js +0 -246
  2371. package/node_modules/on-finished/package.json +0 -43
  2372. package/node_modules/on-headers/HISTORY.md +0 -26
  2373. package/node_modules/on-headers/LICENSE +0 -22
  2374. package/node_modules/on-headers/README.md +0 -81
  2375. package/node_modules/on-headers/index.js +0 -180
  2376. package/node_modules/on-headers/package.json +0 -44
  2377. package/node_modules/once/LICENSE +0 -15
  2378. package/node_modules/once/README.md +0 -79
  2379. package/node_modules/once/once.js +0 -42
  2380. package/node_modules/once/package.json +0 -33
  2381. package/node_modules/parse-listing/..gitignore.un~ +0 -0
  2382. package/node_modules/parse-listing/..travis.yml.un~ +0 -0
  2383. package/node_modules/parse-listing/.Makefile.un~ +0 -0
  2384. package/node_modules/parse-listing/.README.md.un~ +0 -0
  2385. package/node_modules/parse-listing/.npmignore +0 -4
  2386. package/node_modules/parse-listing/.package.json.un~ +0 -0
  2387. package/node_modules/parse-listing/.parser.js.un~ +0 -0
  2388. package/node_modules/parse-listing/.parset_test.js.un~ +0 -0
  2389. package/node_modules/parse-listing/.travis.yml +0 -7
  2390. package/node_modules/parse-listing/Makefile +0 -30
  2391. package/node_modules/parse-listing/README.md +0 -115
  2392. package/node_modules/parse-listing/_site/Makefile +0 -30
  2393. package/node_modules/parse-listing/_site/README.md +0 -115
  2394. package/node_modules/parse-listing/_site/package.json +0 -41
  2395. package/node_modules/parse-listing/_site/src/ftp-parser.js +0 -456
  2396. package/node_modules/parse-listing/_site/src/parser.js +0 -338
  2397. package/node_modules/parse-listing/_site/test/parser.test.js +0 -707
  2398. package/node_modules/parse-listing/package.json +0 -41
  2399. package/node_modules/parse-listing/src/.parser.js.un~ +0 -0
  2400. package/node_modules/parse-listing/src/ftp-parser.js +0 -456
  2401. package/node_modules/parse-listing/src/parser.js +0 -339
  2402. package/node_modules/parse-listing/test/.parser.test.js.un~ +0 -0
  2403. package/node_modules/parse-listing/test/.parser_test.js.un~ +0 -0
  2404. package/node_modules/parse-listing/test/parser.test.js +0 -714
  2405. package/node_modules/parseurl/HISTORY.md +0 -58
  2406. package/node_modules/parseurl/LICENSE +0 -24
  2407. package/node_modules/parseurl/README.md +0 -133
  2408. package/node_modules/parseurl/index.js +0 -158
  2409. package/node_modules/parseurl/package.json +0 -40
  2410. package/node_modules/path-scurry/LICENSE.md +0 -55
  2411. package/node_modules/path-scurry/README.md +0 -636
  2412. package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
  2413. package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
  2414. package/node_modules/path-scurry/dist/commonjs/index.js +0 -2018
  2415. package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
  2416. package/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  2417. package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
  2418. package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
  2419. package/node_modules/path-scurry/dist/esm/index.js +0 -1983
  2420. package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
  2421. package/node_modules/path-scurry/dist/esm/package.json +0 -3
  2422. package/node_modules/path-scurry/package.json +0 -72
  2423. package/node_modules/plist/index.js +0 -2
  2424. package/node_modules/plist/lib/build.js +0 -147
  2425. package/node_modules/plist/lib/parse.js +0 -213
  2426. package/node_modules/proxy-addr/HISTORY.md +0 -167
  2427. package/node_modules/proxy-addr/LICENSE +0 -22
  2428. package/node_modules/proxy-addr/README.md +0 -139
  2429. package/node_modules/proxy-addr/index.js +0 -359
  2430. package/node_modules/proxy-addr/package.json +0 -51
  2431. package/node_modules/qs/.editorconfig +0 -46
  2432. package/node_modules/qs/.github/FUNDING.yml +0 -12
  2433. package/node_modules/qs/.github/SECURITY.md +0 -11
  2434. package/node_modules/qs/.github/THREAT_MODEL.md +0 -80
  2435. package/node_modules/qs/.nycrc +0 -13
  2436. package/node_modules/qs/CHANGELOG.md +0 -937
  2437. package/node_modules/qs/LICENSE.md +0 -29
  2438. package/node_modules/qs/README.md +0 -857
  2439. package/node_modules/qs/dist/qs.js +0 -141
  2440. package/node_modules/qs/eslint.config.mjs +0 -68
  2441. package/node_modules/qs/lib/formats.js +0 -28
  2442. package/node_modules/qs/lib/index.js +0 -11
  2443. package/node_modules/qs/lib/parse.js +0 -522
  2444. package/node_modules/qs/lib/stringify.js +0 -380
  2445. package/node_modules/qs/lib/utils.js +0 -531
  2446. package/node_modules/qs/package.json +0 -95
  2447. package/node_modules/qs/test/empty-keys-cases.js +0 -267
  2448. package/node_modules/qs/test/parse.js +0 -2629
  2449. package/node_modules/qs/test/stringify.js +0 -2217
  2450. package/node_modules/qs/test/utils.js +0 -880
  2451. package/node_modules/range-parser/HISTORY.md +0 -56
  2452. package/node_modules/range-parser/LICENSE +0 -23
  2453. package/node_modules/range-parser/README.md +0 -85
  2454. package/node_modules/range-parser/index.js +0 -181
  2455. package/node_modules/range-parser/package.json +0 -48
  2456. package/node_modules/raw-body/LICENSE +0 -22
  2457. package/node_modules/raw-body/README.md +0 -223
  2458. package/node_modules/raw-body/index.d.ts +0 -85
  2459. package/node_modules/raw-body/index.js +0 -336
  2460. package/node_modules/raw-body/package.json +0 -46
  2461. package/node_modules/router/HISTORY.md +0 -228
  2462. package/node_modules/router/LICENSE +0 -23
  2463. package/node_modules/router/README.md +0 -416
  2464. package/node_modules/router/index.js +0 -748
  2465. package/node_modules/router/lib/layer.js +0 -247
  2466. package/node_modules/router/lib/route.js +0 -242
  2467. package/node_modules/router/package.json +0 -44
  2468. package/node_modules/safer-buffer/LICENSE +0 -21
  2469. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  2470. package/node_modules/safer-buffer/Readme.md +0 -156
  2471. package/node_modules/safer-buffer/dangerous.js +0 -58
  2472. package/node_modules/safer-buffer/package.json +0 -34
  2473. package/node_modules/safer-buffer/safer.js +0 -77
  2474. package/node_modules/safer-buffer/tests.js +0 -406
  2475. package/node_modules/select-hose/.jscsrc +0 -46
  2476. package/node_modules/select-hose/.jshintrc +0 -89
  2477. package/node_modules/select-hose/.npmignore +0 -2
  2478. package/node_modules/select-hose/.travis.yml +0 -5
  2479. package/node_modules/select-hose/README.md +0 -31
  2480. package/node_modules/select-hose/lib/hose.js +0 -101
  2481. package/node_modules/select-hose/package.json +0 -31
  2482. package/node_modules/select-hose/test/api-test.js +0 -111
  2483. package/node_modules/select-hose/test/fixtures.js +0 -14
  2484. package/node_modules/send/LICENSE +0 -23
  2485. package/node_modules/send/README.md +0 -317
  2486. package/node_modules/send/index.js +0 -997
  2487. package/node_modules/send/package.json +0 -63
  2488. package/node_modules/serve-favicon/HISTORY.md +0 -194
  2489. package/node_modules/serve-favicon/LICENSE +0 -25
  2490. package/node_modules/serve-favicon/README.md +0 -136
  2491. package/node_modules/serve-favicon/index.js +0 -226
  2492. package/node_modules/serve-favicon/node_modules/fresh/HISTORY.md +0 -70
  2493. package/node_modules/serve-favicon/node_modules/fresh/LICENSE +0 -23
  2494. package/node_modules/serve-favicon/node_modules/fresh/README.md +0 -119
  2495. package/node_modules/serve-favicon/node_modules/fresh/index.js +0 -137
  2496. package/node_modules/serve-favicon/node_modules/fresh/package.json +0 -46
  2497. package/node_modules/serve-favicon/node_modules/safe-buffer/LICENSE +0 -21
  2498. package/node_modules/serve-favicon/node_modules/safe-buffer/README.md +0 -584
  2499. package/node_modules/serve-favicon/node_modules/safe-buffer/index.d.ts +0 -187
  2500. package/node_modules/serve-favicon/node_modules/safe-buffer/index.js +0 -65
  2501. package/node_modules/serve-favicon/node_modules/safe-buffer/package.json +0 -51
  2502. package/node_modules/serve-favicon/package.json +0 -47
  2503. package/node_modules/serve-static/LICENSE +0 -25
  2504. package/node_modules/serve-static/README.md +0 -253
  2505. package/node_modules/serve-static/index.js +0 -208
  2506. package/node_modules/serve-static/package.json +0 -44
  2507. package/node_modules/setprototypeof/LICENSE +0 -13
  2508. package/node_modules/setprototypeof/README.md +0 -31
  2509. package/node_modules/setprototypeof/index.d.ts +0 -2
  2510. package/node_modules/setprototypeof/index.js +0 -17
  2511. package/node_modules/setprototypeof/package.json +0 -38
  2512. package/node_modules/setprototypeof/test/index.js +0 -24
  2513. package/node_modules/sharp/LICENSE +0 -191
  2514. package/node_modules/sharp/README.md +0 -112
  2515. package/node_modules/sharp/dist/channel.cjs +0 -177
  2516. package/node_modules/sharp/dist/channel.mjs +0 -177
  2517. package/node_modules/sharp/dist/colour.cjs +0 -199
  2518. package/node_modules/sharp/dist/colour.mjs +0 -199
  2519. package/node_modules/sharp/dist/composite.cjs +0 -213
  2520. package/node_modules/sharp/dist/composite.mjs +0 -213
  2521. package/node_modules/sharp/dist/constructor.cjs +0 -511
  2522. package/node_modules/sharp/dist/constructor.mjs +0 -511
  2523. package/node_modules/sharp/dist/index.cjs +0 -25
  2524. package/node_modules/sharp/dist/index.d.cts +0 -1999
  2525. package/node_modules/sharp/dist/index.d.mts +0 -2046
  2526. package/node_modules/sharp/dist/index.mjs +0 -25
  2527. package/node_modules/sharp/dist/input.cjs +0 -819
  2528. package/node_modules/sharp/dist/input.mjs +0 -819
  2529. package/node_modules/sharp/dist/is.cjs +0 -149
  2530. package/node_modules/sharp/dist/is.mjs +0 -149
  2531. package/node_modules/sharp/dist/libvips.cjs +0 -212
  2532. package/node_modules/sharp/dist/libvips.mjs +0 -212
  2533. package/node_modules/sharp/dist/operation.cjs +0 -1002
  2534. package/node_modules/sharp/dist/operation.mjs +0 -1002
  2535. package/node_modules/sharp/dist/output.cjs +0 -1786
  2536. package/node_modules/sharp/dist/output.mjs +0 -1786
  2537. package/node_modules/sharp/dist/resize.cjs +0 -617
  2538. package/node_modules/sharp/dist/resize.mjs +0 -617
  2539. package/node_modules/sharp/dist/sharp.cjs +0 -174
  2540. package/node_modules/sharp/dist/sharp.mjs +0 -174
  2541. package/node_modules/sharp/dist/utility.cjs +0 -301
  2542. package/node_modules/sharp/dist/utility.mjs +0 -301
  2543. package/node_modules/sharp/install/build.js +0 -38
  2544. package/node_modules/sharp/lib/index.d.ts +0 -1999
  2545. package/node_modules/sharp/package.json +0 -227
  2546. package/node_modules/sharp/src/binding.gyp +0 -303
  2547. package/node_modules/sharp/src/common.cc +0 -1186
  2548. package/node_modules/sharp/src/common.h +0 -421
  2549. package/node_modules/sharp/src/metadata.cc +0 -404
  2550. package/node_modules/sharp/src/metadata.h +0 -95
  2551. package/node_modules/sharp/src/operations.cc +0 -516
  2552. package/node_modules/sharp/src/operations.h +0 -137
  2553. package/node_modules/sharp/src/pipeline.cc +0 -1973
  2554. package/node_modules/sharp/src/pipeline.h +0 -422
  2555. package/node_modules/sharp/src/sharp.cc +0 -43
  2556. package/node_modules/sharp/src/stats.cc +0 -186
  2557. package/node_modules/sharp/src/stats.h +0 -62
  2558. package/node_modules/sharp/src/utilities.cc +0 -289
  2559. package/node_modules/sharp/src/utilities.h +0 -22
  2560. package/node_modules/side-channel/.editorconfig +0 -9
  2561. package/node_modules/side-channel/.eslintrc +0 -12
  2562. package/node_modules/side-channel/.github/FUNDING.yml +0 -12
  2563. package/node_modules/side-channel/.nycrc +0 -13
  2564. package/node_modules/side-channel/CHANGELOG.md +0 -120
  2565. package/node_modules/side-channel/LICENSE +0 -21
  2566. package/node_modules/side-channel/README.md +0 -61
  2567. package/node_modules/side-channel/index.d.ts +0 -14
  2568. package/node_modules/side-channel/index.js +0 -46
  2569. package/node_modules/side-channel/package.json +0 -85
  2570. package/node_modules/side-channel/test/index.js +0 -120
  2571. package/node_modules/side-channel/tsconfig.json +0 -9
  2572. package/node_modules/side-channel-list/.editorconfig +0 -9
  2573. package/node_modules/side-channel-list/.eslintrc +0 -11
  2574. package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  2575. package/node_modules/side-channel-list/.nycrc +0 -13
  2576. package/node_modules/side-channel-list/CHANGELOG.md +0 -36
  2577. package/node_modules/side-channel-list/LICENSE +0 -21
  2578. package/node_modules/side-channel-list/README.md +0 -62
  2579. package/node_modules/side-channel-list/index.d.ts +0 -13
  2580. package/node_modules/side-channel-list/index.js +0 -111
  2581. package/node_modules/side-channel-list/list.d.ts +0 -14
  2582. package/node_modules/side-channel-list/package.json +0 -77
  2583. package/node_modules/side-channel-list/test/index.js +0 -154
  2584. package/node_modules/side-channel-list/tsconfig.json +0 -9
  2585. package/node_modules/side-channel-map/.editorconfig +0 -9
  2586. package/node_modules/side-channel-map/.eslintrc +0 -11
  2587. package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  2588. package/node_modules/side-channel-map/.nycrc +0 -13
  2589. package/node_modules/side-channel-map/CHANGELOG.md +0 -22
  2590. package/node_modules/side-channel-map/LICENSE +0 -21
  2591. package/node_modules/side-channel-map/README.md +0 -62
  2592. package/node_modules/side-channel-map/index.d.ts +0 -15
  2593. package/node_modules/side-channel-map/index.js +0 -68
  2594. package/node_modules/side-channel-map/package.json +0 -80
  2595. package/node_modules/side-channel-map/test/index.js +0 -114
  2596. package/node_modules/side-channel-map/tsconfig.json +0 -9
  2597. package/node_modules/side-channel-weakmap/.editorconfig +0 -9
  2598. package/node_modules/side-channel-weakmap/.eslintrc +0 -12
  2599. package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  2600. package/node_modules/side-channel-weakmap/.nycrc +0 -13
  2601. package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  2602. package/node_modules/side-channel-weakmap/LICENSE +0 -21
  2603. package/node_modules/side-channel-weakmap/README.md +0 -62
  2604. package/node_modules/side-channel-weakmap/index.d.ts +0 -15
  2605. package/node_modules/side-channel-weakmap/index.js +0 -84
  2606. package/node_modules/side-channel-weakmap/package.json +0 -87
  2607. package/node_modules/side-channel-weakmap/test/index.js +0 -114
  2608. package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  2609. package/node_modules/spdx-correct/LICENSE +0 -202
  2610. package/node_modules/spdx-correct/README.md +0 -22
  2611. package/node_modules/spdx-correct/index.js +0 -386
  2612. package/node_modules/spdx-correct/package.json +0 -32
  2613. package/node_modules/spdx-exceptions/README.md +0 -36
  2614. package/node_modules/spdx-exceptions/deprecated.json +0 -3
  2615. package/node_modules/spdx-exceptions/index.json +0 -68
  2616. package/node_modules/spdx-exceptions/package.json +0 -19
  2617. package/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2618. package/node_modules/spdx-expression-parse/LICENSE +0 -22
  2619. package/node_modules/spdx-expression-parse/README.md +0 -91
  2620. package/node_modules/spdx-expression-parse/index.js +0 -8
  2621. package/node_modules/spdx-expression-parse/package.json +0 -39
  2622. package/node_modules/spdx-expression-parse/parse.js +0 -138
  2623. package/node_modules/spdx-expression-parse/scan.js +0 -131
  2624. package/node_modules/spdx-license-ids/README.md +0 -51
  2625. package/node_modules/spdx-license-ids/deprecated.json +0 -28
  2626. package/node_modules/spdx-license-ids/index.json +0 -710
  2627. package/node_modules/spdx-license-ids/package.json +0 -29
  2628. package/node_modules/spdy/.travis.yml +0 -13
  2629. package/node_modules/spdy/README.md +0 -267
  2630. package/node_modules/spdy/lib/spdy/agent.js +0 -295
  2631. package/node_modules/spdy/lib/spdy/handle.js +0 -247
  2632. package/node_modules/spdy/lib/spdy/request.js +0 -33
  2633. package/node_modules/spdy/lib/spdy/response.js +0 -100
  2634. package/node_modules/spdy/lib/spdy/server.js +0 -288
  2635. package/node_modules/spdy/lib/spdy/socket.js +0 -39
  2636. package/node_modules/spdy/lib/spdy.js +0 -20
  2637. package/node_modules/spdy/package.json +0 -54
  2638. package/node_modules/spdy/test/client-test.js +0 -242
  2639. package/node_modules/spdy/test/fixtures.js +0 -95
  2640. package/node_modules/spdy/test/server-test.js +0 -487
  2641. package/node_modules/spdy-transport/.travis.yml +0 -14
  2642. package/node_modules/spdy-transport/README.md +0 -76
  2643. package/node_modules/spdy-transport/lib/spdy-transport/connection.js +0 -845
  2644. package/node_modules/spdy-transport/lib/spdy-transport/priority.js +0 -188
  2645. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/constants.js +0 -4
  2646. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/framer.js +0 -58
  2647. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/index.js +0 -7
  2648. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/parser.js +0 -106
  2649. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/scheduler.js +0 -216
  2650. package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/utils.js +0 -94
  2651. package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/constants.js +0 -93
  2652. package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/framer.js +0 -542
  2653. package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/hpack-pool.js +0 -34
  2654. package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/index.js +0 -8
  2655. package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/parser.js +0 -578
  2656. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/constants.js +0 -146
  2657. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/dictionary.js +0 -203
  2658. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/framer.js +0 -519
  2659. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/index.js +0 -9
  2660. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/parser.js +0 -485
  2661. package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/zlib-pool.js +0 -65
  2662. package/node_modules/spdy-transport/lib/spdy-transport/stream.js +0 -710
  2663. package/node_modules/spdy-transport/lib/spdy-transport/utils.js +0 -196
  2664. package/node_modules/spdy-transport/lib/spdy-transport/window.js +0 -174
  2665. package/node_modules/spdy-transport/lib/spdy-transport.js +0 -25
  2666. package/node_modules/spdy-transport/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  2667. package/node_modules/spdy-transport/node_modules/readable-stream/GOVERNANCE.md +0 -136
  2668. package/node_modules/spdy-transport/node_modules/readable-stream/LICENSE +0 -47
  2669. package/node_modules/spdy-transport/node_modules/readable-stream/README.md +0 -106
  2670. package/node_modules/spdy-transport/node_modules/readable-stream/errors-browser.js +0 -127
  2671. package/node_modules/spdy-transport/node_modules/readable-stream/errors.js +0 -116
  2672. package/node_modules/spdy-transport/node_modules/readable-stream/experimentalWarning.js +0 -17
  2673. package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  2674. package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  2675. package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  2676. package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  2677. package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  2678. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  2679. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  2680. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  2681. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  2682. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  2683. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  2684. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  2685. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  2686. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  2687. package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  2688. package/node_modules/spdy-transport/node_modules/readable-stream/package.json +0 -68
  2689. package/node_modules/spdy-transport/node_modules/readable-stream/readable-browser.js +0 -9
  2690. package/node_modules/spdy-transport/node_modules/readable-stream/readable.js +0 -16
  2691. package/node_modules/spdy-transport/package.json +0 -43
  2692. package/node_modules/statuses/HISTORY.md +0 -87
  2693. package/node_modules/statuses/LICENSE +0 -23
  2694. package/node_modules/statuses/README.md +0 -139
  2695. package/node_modules/statuses/codes.json +0 -65
  2696. package/node_modules/statuses/index.js +0 -146
  2697. package/node_modules/statuses/package.json +0 -49
  2698. package/node_modules/stream-buffers/.codeclimate.yml +0 -12
  2699. package/node_modules/stream-buffers/.eslintignore +0 -1
  2700. package/node_modules/stream-buffers/.eslintrc +0 -25
  2701. package/node_modules/stream-buffers/.github/workflows/codeql-analysis.yml +0 -71
  2702. package/node_modules/stream-buffers/.github/workflows/node.js.yml +0 -31
  2703. package/node_modules/stream-buffers/.mailmap +0 -3
  2704. package/node_modules/stream-buffers/.nvmrc +0 -1
  2705. package/node_modules/stream-buffers/README.md +0 -157
  2706. package/node_modules/stream-buffers/UNLICENSE +0 -24
  2707. package/node_modules/stream-buffers/lib/constants.js +0 -8
  2708. package/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -114
  2709. package/node_modules/stream-buffers/lib/streambuffer.js +0 -5
  2710. package/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -72
  2711. package/node_modules/stream-buffers/package.json +0 -30
  2712. package/node_modules/stream-combiner/.npmignore +0 -3
  2713. package/node_modules/stream-combiner/.travis.yml +0 -4
  2714. package/node_modules/stream-combiner/LICENSE +0 -22
  2715. package/node_modules/stream-combiner/README.md +0 -55
  2716. package/node_modules/stream-combiner/index.js +0 -45
  2717. package/node_modules/stream-combiner/package.json +0 -22
  2718. package/node_modules/stream-combiner/test/index.js +0 -65
  2719. package/node_modules/tagged-tag/index.d.ts +0 -3
  2720. package/node_modules/tagged-tag/license +0 -9
  2721. package/node_modules/tagged-tag/package.json +0 -36
  2722. package/node_modules/tagged-tag/readme.md +0 -5
  2723. package/node_modules/through/.travis.yml +0 -5
  2724. package/node_modules/through/LICENSE.APACHE2 +0 -15
  2725. package/node_modules/through/LICENSE.MIT +0 -24
  2726. package/node_modules/through/index.js +0 -108
  2727. package/node_modules/through/package.json +0 -36
  2728. package/node_modules/through/readme.markdown +0 -64
  2729. package/node_modules/through/test/async.js +0 -28
  2730. package/node_modules/through/test/auto-destroy.js +0 -30
  2731. package/node_modules/through/test/buffering.js +0 -71
  2732. package/node_modules/through/test/end.js +0 -45
  2733. package/node_modules/through/test/index.js +0 -133
  2734. package/node_modules/toidentifier/HISTORY.md +0 -9
  2735. package/node_modules/toidentifier/LICENSE +0 -21
  2736. package/node_modules/toidentifier/README.md +0 -61
  2737. package/node_modules/toidentifier/index.js +0 -32
  2738. package/node_modules/toidentifier/package.json +0 -38
  2739. package/node_modules/type-fest/index.d.ts +0 -227
  2740. package/node_modules/type-fest/license-cc0 +0 -121
  2741. package/node_modules/type-fest/license-mit +0 -9
  2742. package/node_modules/type-fest/package.json +0 -76
  2743. package/node_modules/type-fest/readme.md +0 -1076
  2744. package/node_modules/type-fest/source/absolute.d.ts +0 -52
  2745. package/node_modules/type-fest/source/all-extend.d.ts +0 -123
  2746. package/node_modules/type-fest/source/all-union-fields.d.ts +0 -91
  2747. package/node_modules/type-fest/source/and-all.d.ts +0 -76
  2748. package/node_modules/type-fest/source/and.d.ts +0 -82
  2749. package/node_modules/type-fest/source/array-element.d.ts +0 -46
  2750. package/node_modules/type-fest/source/array-indices.d.ts +0 -25
  2751. package/node_modules/type-fest/source/array-length.d.ts +0 -36
  2752. package/node_modules/type-fest/source/array-reverse.d.ts +0 -86
  2753. package/node_modules/type-fest/source/array-slice.d.ts +0 -132
  2754. package/node_modules/type-fest/source/array-splice.d.ts +0 -104
  2755. package/node_modules/type-fest/source/array-tail.d.ts +0 -70
  2756. package/node_modules/type-fest/source/array-values.d.ts +0 -24
  2757. package/node_modules/type-fest/source/arrayable.d.ts +0 -31
  2758. package/node_modules/type-fest/source/async-return-type.d.ts +0 -28
  2759. package/node_modules/type-fest/source/asyncify.d.ts +0 -25
  2760. package/node_modules/type-fest/source/basic.d.ts +0 -38
  2761. package/node_modules/type-fest/source/camel-case.d.ts +0 -125
  2762. package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -106
  2763. package/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -49
  2764. package/node_modules/type-fest/source/characters.d.ts +0 -67
  2765. package/node_modules/type-fest/source/conditional-except.d.ts +0 -47
  2766. package/node_modules/type-fest/source/conditional-keys.d.ts +0 -63
  2767. package/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -122
  2768. package/node_modules/type-fest/source/conditional-pick.d.ts +0 -48
  2769. package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +0 -73
  2770. package/node_modules/type-fest/source/conditional-simplify.d.ts +0 -50
  2771. package/node_modules/type-fest/source/delimiter-case.d.ts +0 -79
  2772. package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -115
  2773. package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -52
  2774. package/node_modules/type-fest/source/distributed-omit.d.ts +0 -96
  2775. package/node_modules/type-fest/source/distributed-pick.d.ts +0 -92
  2776. package/node_modules/type-fest/source/empty-object.d.ts +0 -51
  2777. package/node_modules/type-fest/source/entries.d.ts +0 -64
  2778. package/node_modules/type-fest/source/entry.d.ts +0 -67
  2779. package/node_modules/type-fest/source/exact.d.ts +0 -73
  2780. package/node_modules/type-fest/source/except.d.ts +0 -112
  2781. package/node_modules/type-fest/source/exclude-exactly.d.ts +0 -57
  2782. package/node_modules/type-fest/source/exclude-rest-element.d.ts +0 -40
  2783. package/node_modules/type-fest/source/exclude-strict.d.ts +0 -51
  2784. package/node_modules/type-fest/source/exclusify-union.d.ts +0 -147
  2785. package/node_modules/type-fest/source/extends-strict.d.ts +0 -151
  2786. package/node_modules/type-fest/source/extract-exactly.d.ts +0 -56
  2787. package/node_modules/type-fest/source/extract-rest-element.d.ts +0 -30
  2788. package/node_modules/type-fest/source/extract-strict.d.ts +0 -51
  2789. package/node_modules/type-fest/source/find-global-type.d.ts +0 -68
  2790. package/node_modules/type-fest/source/fixed-length-array.d.ts +0 -97
  2791. package/node_modules/type-fest/source/get.d.ts +0 -227
  2792. package/node_modules/type-fest/source/global-this.d.ts +0 -24
  2793. package/node_modules/type-fest/source/globals/index.d.ts +0 -3
  2794. package/node_modules/type-fest/source/globals/observable-like.d.ts +0 -78
  2795. package/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -63
  2796. package/node_modules/type-fest/source/greater-than.d.ts +0 -92
  2797. package/node_modules/type-fest/source/has-optional-keys.d.ts +0 -23
  2798. package/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -23
  2799. package/node_modules/type-fest/source/has-required-keys.d.ts +0 -61
  2800. package/node_modules/type-fest/source/has-writable-keys.d.ts +0 -23
  2801. package/node_modules/type-fest/source/if-any.d.ts +0 -28
  2802. package/node_modules/type-fest/source/if-empty-object.d.ts +0 -30
  2803. package/node_modules/type-fest/source/if-never.d.ts +0 -28
  2804. package/node_modules/type-fest/source/if-null.d.ts +0 -28
  2805. package/node_modules/type-fest/source/if-unknown.d.ts +0 -28
  2806. package/node_modules/type-fest/source/if.d.ts +0 -102
  2807. package/node_modules/type-fest/source/includes.d.ts +0 -24
  2808. package/node_modules/type-fest/source/int-closed-range.d.ts +0 -48
  2809. package/node_modules/type-fest/source/int-range.d.ts +0 -114
  2810. package/node_modules/type-fest/source/internal/array.d.ts +0 -145
  2811. package/node_modules/type-fest/source/internal/characters.d.ts +0 -65
  2812. package/node_modules/type-fest/source/internal/enforce-optional.d.ts +0 -49
  2813. package/node_modules/type-fest/source/internal/index.d.ts +0 -11
  2814. package/node_modules/type-fest/source/internal/keys.d.ts +0 -100
  2815. package/node_modules/type-fest/source/internal/numeric.d.ts +0 -105
  2816. package/node_modules/type-fest/source/internal/object.d.ts +0 -330
  2817. package/node_modules/type-fest/source/internal/string.d.ts +0 -127
  2818. package/node_modules/type-fest/source/internal/tuple.d.ts +0 -79
  2819. package/node_modules/type-fest/source/internal/type.d.ts +0 -171
  2820. package/node_modules/type-fest/source/invariant-of.d.ts +0 -85
  2821. package/node_modules/type-fest/source/is-any.d.ts +0 -31
  2822. package/node_modules/type-fest/source/is-boolean-literal.d.ts +0 -39
  2823. package/node_modules/type-fest/source/is-equal.d.ts +0 -41
  2824. package/node_modules/type-fest/source/is-float.d.ts +0 -43
  2825. package/node_modules/type-fest/source/is-integer.d.ts +0 -60
  2826. package/node_modules/type-fest/source/is-literal.d.ts +0 -91
  2827. package/node_modules/type-fest/source/is-lowercase.d.ts +0 -38
  2828. package/node_modules/type-fest/source/is-never.d.ts +0 -56
  2829. package/node_modules/type-fest/source/is-null.d.ts +0 -22
  2830. package/node_modules/type-fest/source/is-nullable.d.ts +0 -30
  2831. package/node_modules/type-fest/source/is-numeric-literal.d.ts +0 -50
  2832. package/node_modules/type-fest/source/is-optional-key-of.d.ts +0 -51
  2833. package/node_modules/type-fest/source/is-optional.d.ts +0 -28
  2834. package/node_modules/type-fest/source/is-readonly-key-of.d.ts +0 -55
  2835. package/node_modules/type-fest/source/is-required-key-of.d.ts +0 -51
  2836. package/node_modules/type-fest/source/is-string-literal.d.ts +0 -72
  2837. package/node_modules/type-fest/source/is-symbol-literal.d.ts +0 -39
  2838. package/node_modules/type-fest/source/is-tuple.d.ts +0 -92
  2839. package/node_modules/type-fest/source/is-undefined.d.ts +0 -22
  2840. package/node_modules/type-fest/source/is-union.d.ts +0 -40
  2841. package/node_modules/type-fest/source/is-unknown.d.ts +0 -43
  2842. package/node_modules/type-fest/source/is-uppercase.d.ts +0 -38
  2843. package/node_modules/type-fest/source/is-writable-key-of.d.ts +0 -51
  2844. package/node_modules/type-fest/source/iterable-element.d.ts +0 -66
  2845. package/node_modules/type-fest/source/join.d.ts +0 -79
  2846. package/node_modules/type-fest/source/json-value.d.ts +0 -33
  2847. package/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  2848. package/node_modules/type-fest/source/jsonify.d.ts +0 -123
  2849. package/node_modules/type-fest/source/kebab-case.d.ts +0 -47
  2850. package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -72
  2851. package/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -46
  2852. package/node_modules/type-fest/source/key-as-string.d.ts +0 -27
  2853. package/node_modules/type-fest/source/keys-of-union.d.ts +0 -44
  2854. package/node_modules/type-fest/source/last-array-element.d.ts +0 -89
  2855. package/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -60
  2856. package/node_modules/type-fest/source/less-than.d.ts +0 -60
  2857. package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -71
  2858. package/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -38
  2859. package/node_modules/type-fest/source/literal-union.d.ts +0 -39
  2860. package/node_modules/type-fest/source/merge-deep.d.ts +0 -495
  2861. package/node_modules/type-fest/source/merge-exclusive.d.ts +0 -45
  2862. package/node_modules/type-fest/source/merge.d.ts +0 -87
  2863. package/node_modules/type-fest/source/multidimensional-array.d.ts +0 -38
  2864. package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -38
  2865. package/node_modules/type-fest/source/non-empty-object.d.ts +0 -38
  2866. package/node_modules/type-fest/source/non-empty-string.d.ts +0 -32
  2867. package/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -24
  2868. package/node_modules/type-fest/source/non-nullable-deep.d.ts +0 -102
  2869. package/node_modules/type-fest/source/numeric.d.ts +0 -226
  2870. package/node_modules/type-fest/source/object-merge.d.ts +0 -199
  2871. package/node_modules/type-fest/source/omit-deep.d.ts +0 -153
  2872. package/node_modules/type-fest/source/omit-index-signature.d.ts +0 -98
  2873. package/node_modules/type-fest/source/opaque.d.ts +0 -3
  2874. package/node_modules/type-fest/source/optional-keys-of.d.ts +0 -46
  2875. package/node_modules/type-fest/source/optional.d.ts +0 -31
  2876. package/node_modules/type-fest/source/or-all.d.ts +0 -73
  2877. package/node_modules/type-fest/source/or.d.ts +0 -82
  2878. package/node_modules/type-fest/source/override-properties.d.ts +0 -43
  2879. package/node_modules/type-fest/source/package-json.d.ts +0 -710
  2880. package/node_modules/type-fest/source/partial-deep.d.ts +0 -157
  2881. package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -81
  2882. package/node_modules/type-fest/source/pascal-case.d.ts +0 -52
  2883. package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -79
  2884. package/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -46
  2885. package/node_modules/type-fest/source/paths.d.ts +0 -241
  2886. package/node_modules/type-fest/source/pick-deep.d.ts +0 -139
  2887. package/node_modules/type-fest/source/pick-index-signature.d.ts +0 -52
  2888. package/node_modules/type-fest/source/primitive.d.ts +0 -15
  2889. package/node_modules/type-fest/source/promisable.d.ts +0 -27
  2890. package/node_modules/type-fest/source/readonly-deep.d.ts +0 -118
  2891. package/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -38
  2892. package/node_modules/type-fest/source/readonly-tuple.d.ts +0 -34
  2893. package/node_modules/type-fest/source/remove-prefix.d.ts +0 -114
  2894. package/node_modules/type-fest/source/remove-suffix.d.ts +0 -114
  2895. package/node_modules/type-fest/source/rename-keys.d.ts +0 -163
  2896. package/node_modules/type-fest/source/replace.d.ts +0 -87
  2897. package/node_modules/type-fest/source/require-all-or-none.d.ts +0 -54
  2898. package/node_modules/type-fest/source/require-at-least-one.d.ts +0 -48
  2899. package/node_modules/type-fest/source/require-exactly-one.d.ts +0 -48
  2900. package/node_modules/type-fest/source/require-one-or-none.d.ts +0 -49
  2901. package/node_modules/type-fest/source/required-deep.d.ts +0 -78
  2902. package/node_modules/type-fest/source/required-keys-of.d.ts +0 -38
  2903. package/node_modules/type-fest/source/schema.d.ts +0 -127
  2904. package/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -31
  2905. package/node_modules/type-fest/source/set-field-type.d.ts +0 -67
  2906. package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -89
  2907. package/node_modules/type-fest/source/set-non-nullable.d.ts +0 -34
  2908. package/node_modules/type-fest/source/set-optional.d.ts +0 -42
  2909. package/node_modules/type-fest/source/set-parameter-type.d.ts +0 -125
  2910. package/node_modules/type-fest/source/set-readonly.d.ts +0 -40
  2911. package/node_modules/type-fest/source/set-required-deep.d.ts +0 -65
  2912. package/node_modules/type-fest/source/set-required.d.ts +0 -76
  2913. package/node_modules/type-fest/source/set-return-type.d.ts +0 -31
  2914. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -182
  2915. package/node_modules/type-fest/source/shared-union-fields.d.ts +0 -79
  2916. package/node_modules/type-fest/source/simplify-deep.d.ts +0 -117
  2917. package/node_modules/type-fest/source/simplify.d.ts +0 -61
  2918. package/node_modules/type-fest/source/single-key-object.d.ts +0 -28
  2919. package/node_modules/type-fest/source/snake-case.d.ts +0 -48
  2920. package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -72
  2921. package/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -46
  2922. package/node_modules/type-fest/source/some-extend.d.ts +0 -117
  2923. package/node_modules/type-fest/source/split-on-rest-element.d.ts +0 -109
  2924. package/node_modules/type-fest/source/split.d.ts +0 -101
  2925. package/node_modules/type-fest/source/spread.d.ts +0 -78
  2926. package/node_modules/type-fest/source/string-length.d.ts +0 -38
  2927. package/node_modules/type-fest/source/string-repeat.d.ts +0 -76
  2928. package/node_modules/type-fest/source/string-slice.d.ts +0 -39
  2929. package/node_modules/type-fest/source/string-to-array.d.ts +0 -97
  2930. package/node_modules/type-fest/source/string-to-number.d.ts +0 -67
  2931. package/node_modules/type-fest/source/stringified.d.ts +0 -25
  2932. package/node_modules/type-fest/source/structured-cloneable.d.ts +0 -89
  2933. package/node_modules/type-fest/source/subtract.d.ts +0 -87
  2934. package/node_modules/type-fest/source/sum.d.ts +0 -82
  2935. package/node_modules/type-fest/source/tagged-union.d.ts +0 -53
  2936. package/node_modules/type-fest/source/tagged.d.ts +0 -261
  2937. package/node_modules/type-fest/source/trim.d.ts +0 -29
  2938. package/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1356
  2939. package/node_modules/type-fest/source/tuple-of.d.ts +0 -114
  2940. package/node_modules/type-fest/source/tuple-to-object.d.ts +0 -47
  2941. package/node_modules/type-fest/source/tuple-to-union.d.ts +0 -54
  2942. package/node_modules/type-fest/source/typed-array.d.ts +0 -25
  2943. package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -83
  2944. package/node_modules/type-fest/source/union-length.d.ts +0 -27
  2945. package/node_modules/type-fest/source/union-max.d.ts +0 -56
  2946. package/node_modules/type-fest/source/union-member.d.ts +0 -65
  2947. package/node_modules/type-fest/source/union-to-intersection.d.ts +0 -35
  2948. package/node_modules/type-fest/source/union-to-tuple.d.ts +0 -49
  2949. package/node_modules/type-fest/source/unknown-array.d.ts +0 -27
  2950. package/node_modules/type-fest/source/unknown-map.d.ts +0 -26
  2951. package/node_modules/type-fest/source/unknown-record.d.ts +0 -33
  2952. package/node_modules/type-fest/source/unknown-set.d.ts +0 -26
  2953. package/node_modules/type-fest/source/unwrap-partial.d.ts +0 -33
  2954. package/node_modules/type-fest/source/unwrap-required.d.ts +0 -37
  2955. package/node_modules/type-fest/source/value-of.d.ts +0 -24
  2956. package/node_modules/type-fest/source/words.d.ts +0 -148
  2957. package/node_modules/type-fest/source/writable-deep.d.ts +0 -84
  2958. package/node_modules/type-fest/source/writable-keys-of.d.ts +0 -34
  2959. package/node_modules/type-fest/source/writable.d.ts +0 -68
  2960. package/node_modules/type-fest/source/xor.d.ts +0 -83
  2961. package/node_modules/type-is/HISTORY.md +0 -292
  2962. package/node_modules/type-is/LICENSE +0 -23
  2963. package/node_modules/type-is/README.md +0 -198
  2964. package/node_modules/type-is/index.js +0 -240
  2965. package/node_modules/type-is/package.json +0 -51
  2966. package/node_modules/unorm/LICENSE.md +0 -42
  2967. package/node_modules/unorm/README.md +0 -118
  2968. package/node_modules/unorm/lib/unorm.js +0 -452
  2969. package/node_modules/unorm/package.json +0 -31
  2970. package/node_modules/unpipe/HISTORY.md +0 -4
  2971. package/node_modules/unpipe/LICENSE +0 -22
  2972. package/node_modules/unpipe/README.md +0 -43
  2973. package/node_modules/unpipe/index.js +0 -69
  2974. package/node_modules/unpipe/package.json +0 -27
  2975. package/node_modules/uuid/LICENSE.md +0 -9
  2976. package/node_modules/uuid/README.md +0 -491
  2977. package/node_modules/uuid/dist/index.d.ts +0 -15
  2978. package/node_modules/uuid/dist/index.js +0 -14
  2979. package/node_modules/uuid/dist/max.d.ts +0 -2
  2980. package/node_modules/uuid/dist/max.js +0 -1
  2981. package/node_modules/uuid/dist/md5.d.ts +0 -2
  2982. package/node_modules/uuid/dist/md5.js +0 -135
  2983. package/node_modules/uuid/dist/nil.d.ts +0 -2
  2984. package/node_modules/uuid/dist/nil.js +0 -1
  2985. package/node_modules/uuid/dist/parse.d.ts +0 -3
  2986. package/node_modules/uuid/dist/parse.js +0 -9
  2987. package/node_modules/uuid/dist/regex.d.ts +0 -2
  2988. package/node_modules/uuid/dist/regex.js +0 -1
  2989. package/node_modules/uuid/dist/rng.d.ts +0 -1
  2990. package/node_modules/uuid/dist/rng.js +0 -4
  2991. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  2992. package/node_modules/uuid/dist/sha1.js +0 -70
  2993. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  2994. package/node_modules/uuid/dist/stringify.js +0 -35
  2995. package/node_modules/uuid/dist/types.d.ts +0 -22
  2996. package/node_modules/uuid/dist/types.js +0 -1
  2997. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  2998. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  2999. package/node_modules/uuid/dist/v1.d.ts +0 -11
  3000. package/node_modules/uuid/dist/v1.js +0 -87
  3001. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  3002. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  3003. package/node_modules/uuid/dist/v3.d.ts +0 -9
  3004. package/node_modules/uuid/dist/v3.js +0 -9
  3005. package/node_modules/uuid/dist/v35.d.ts +0 -7
  3006. package/node_modules/uuid/dist/v35.js +0 -39
  3007. package/node_modules/uuid/dist/v4.d.ts +0 -4
  3008. package/node_modules/uuid/dist/v4.js +0 -29
  3009. package/node_modules/uuid/dist/v5.d.ts +0 -9
  3010. package/node_modules/uuid/dist/v5.js +0 -9
  3011. package/node_modules/uuid/dist/v6.d.ts +0 -4
  3012. package/node_modules/uuid/dist/v6.js +0 -20
  3013. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  3014. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  3015. package/node_modules/uuid/dist/v7.d.ts +0 -9
  3016. package/node_modules/uuid/dist/v7.js +0 -68
  3017. package/node_modules/uuid/dist/validate.d.ts +0 -2
  3018. package/node_modules/uuid/dist/validate.js +0 -5
  3019. package/node_modules/uuid/dist/version.d.ts +0 -2
  3020. package/node_modules/uuid/dist/version.js +0 -8
  3021. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  3022. package/node_modules/uuid/dist-node/index.js +0 -14
  3023. package/node_modules/uuid/dist-node/max.js +0 -1
  3024. package/node_modules/uuid/dist-node/md5.js +0 -11
  3025. package/node_modules/uuid/dist-node/nil.js +0 -1
  3026. package/node_modules/uuid/dist-node/parse.js +0 -9
  3027. package/node_modules/uuid/dist-node/regex.js +0 -1
  3028. package/node_modules/uuid/dist-node/rng.js +0 -4
  3029. package/node_modules/uuid/dist-node/sha1.js +0 -11
  3030. package/node_modules/uuid/dist-node/stringify.js +0 -35
  3031. package/node_modules/uuid/dist-node/types.js +0 -1
  3032. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  3033. package/node_modules/uuid/dist-node/v1.js +0 -87
  3034. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  3035. package/node_modules/uuid/dist-node/v3.js +0 -9
  3036. package/node_modules/uuid/dist-node/v35.js +0 -39
  3037. package/node_modules/uuid/dist-node/v4.js +0 -29
  3038. package/node_modules/uuid/dist-node/v5.js +0 -9
  3039. package/node_modules/uuid/dist-node/v6.js +0 -20
  3040. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  3041. package/node_modules/uuid/dist-node/v7.js +0 -68
  3042. package/node_modules/uuid/dist-node/validate.js +0 -5
  3043. package/node_modules/uuid/dist-node/version.js +0 -8
  3044. package/node_modules/uuid/package.json +0 -115
  3045. package/node_modules/validate-npm-package-license/LICENSE +0 -202
  3046. package/node_modules/validate-npm-package-license/README.md +0 -113
  3047. package/node_modules/validate-npm-package-license/index.js +0 -86
  3048. package/node_modules/validate-npm-package-license/package.json +0 -28
  3049. package/node_modules/vary/HISTORY.md +0 -39
  3050. package/node_modules/vary/LICENSE +0 -22
  3051. package/node_modules/vary/README.md +0 -101
  3052. package/node_modules/vary/index.js +0 -149
  3053. package/node_modules/vary/package.json +0 -43
  3054. package/node_modules/wbuf/README.md +0 -26
  3055. package/node_modules/wbuf/index.js +0 -425
  3056. package/node_modules/wbuf/package.json +0 -29
  3057. package/node_modules/wbuf/test/wbuf-test.js +0 -357
  3058. package/node_modules/wrappy/LICENSE +0 -15
  3059. package/node_modules/wrappy/README.md +0 -36
  3060. package/node_modules/wrappy/package.json +0 -29
  3061. package/node_modules/wrappy/wrappy.js +0 -33
  3062. /package/node_modules/@appium/base-driver/lib/{basedriver → helpers}/logger.ts +0 -0
  3063. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/AUTHORS.md +0 -0
  3064. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/LICENSE +0 -0
  3065. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/README.md +0 -0
  3066. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/index.d.ts +0 -0
  3067. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/index.js +0 -0
  3068. /package/node_modules/{readable-stream/node_modules/buffer → buffer}/package.json +0 -0
@@ -1,1973 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- #include <algorithm>
7
- #include <cmath>
8
- #include <filesystem> // NOLINT(build/c++17)
9
- #include <map>
10
- #include <memory>
11
- #include <numeric>
12
- #include <string>
13
- #include <tuple>
14
- #include <utility>
15
- #include <vector>
16
- #include <sys/types.h>
17
- #include <sys/stat.h>
18
-
19
- #include <vips/vips8>
20
- #include <napi.h>
21
-
22
- #include "./common.h"
23
- #include "./operations.h"
24
- #include "./pipeline.h"
25
-
26
- class PipelineWorker : public Napi::AsyncWorker {
27
- public:
28
- PipelineWorker(Napi::Function callback, PipelineBaton *baton,
29
- Napi::Function debuglog, Napi::Function queueListener) :
30
- Napi::AsyncWorker(callback),
31
- baton(baton),
32
- debuglog(Napi::Persistent(debuglog)),
33
- queueListener(Napi::Persistent(queueListener)) {}
34
- ~PipelineWorker() {}
35
-
36
- // libuv worker
37
- void Execute() {
38
- // Decrement queued task counter
39
- sharp::counterQueue--;
40
- // Increment processing task counter
41
- sharp::counterProcess++;
42
-
43
- try {
44
- // Open input
45
- vips::VImage image;
46
- sharp::ImageType inputImageType;
47
- if (baton->join.empty()) {
48
- std::tie(image, inputImageType) = sharp::OpenInput(baton->input);
49
- } else {
50
- std::vector<VImage> images;
51
- bool hasAlpha = false;
52
- for (auto &join : baton->join) {
53
- std::tie(image, inputImageType) = sharp::OpenInput(join);
54
- image = sharp::EnsureColourspace(image, baton->colourspacePipeline);
55
- images.push_back(image);
56
- hasAlpha |= image.has_alpha();
57
- }
58
- if (hasAlpha) {
59
- for (size_t i = 0; i < images.size(); i++) {
60
- if (!images[i].has_alpha()) {
61
- images[i] = sharp::EnsureAlpha(images[i], 1);
62
- }
63
- }
64
- } else {
65
- baton->input->joinBackground.pop_back();
66
- }
67
- inputImageType = sharp::ImageType::PNG;
68
- image = VImage::arrayjoin(images, VImage::option()
69
- ->set("across", baton->input->joinAcross)
70
- ->set("shim", baton->input->joinShim)
71
- ->set("background", baton->input->joinBackground)
72
- ->set("halign", baton->input->joinHalign)
73
- ->set("valign", baton->input->joinValign));
74
- if (baton->input->joinAnimated) {
75
- image = image.copy();
76
- image.set(VIPS_META_N_PAGES, static_cast<int>(images.size()));
77
- image.set(VIPS_META_PAGE_HEIGHT, static_cast<int>(image.height() / images.size()));
78
- }
79
- }
80
- VipsAccess access = baton->input->access;
81
- image = sharp::EnsureColourspace(image, baton->colourspacePipeline);
82
-
83
- int nPages = baton->input->pages;
84
- if (nPages == -1) {
85
- // Resolve the number of pages if we need to render until the end of the document
86
- nPages = image.get_typeof(VIPS_META_N_PAGES) != 0
87
- ? image.get_int(VIPS_META_N_PAGES) - std::max(0, baton->input->page)
88
- : 1;
89
- }
90
-
91
- // Get pre-resize page height
92
- int pageHeight = sharp::GetPageHeight(image);
93
-
94
- // Calculate angle of rotation
95
- VipsAngle rotation = VIPS_ANGLE_D0;
96
- VipsAngle autoRotation = VIPS_ANGLE_D0;
97
- VipsAngle gainMapRotation = VIPS_ANGLE_D0;
98
- bool autoFlop = false;
99
- bool gainMapFlip = false;
100
- bool gainMapFlop = false;
101
-
102
- if (baton->input->autoOrient) {
103
- // Rotate and flip image according to Exif orientation
104
- std::tie(autoRotation, autoFlop) = CalculateExifRotationAndFlop(sharp::ExifOrientation(image));
105
- }
106
-
107
- rotation = CalculateAngleRotation(baton->angle);
108
-
109
- bool const shouldRotateBefore = baton->rotateBefore &&
110
- (rotation != VIPS_ANGLE_D0 || baton->flip || baton->flop || baton->rotationAngle != 0.0);
111
- bool const shouldOrientBefore = (shouldRotateBefore || baton->orientBefore) &&
112
- (autoRotation != VIPS_ANGLE_D0 || autoFlop);
113
-
114
- if (shouldOrientBefore) {
115
- image = sharp::StaySequential(image, autoRotation != VIPS_ANGLE_D0);
116
- if (autoRotation != VIPS_ANGLE_D0) {
117
- if (autoRotation != VIPS_ANGLE_D180) {
118
- MultiPageUnsupported(nPages, "Rotate");
119
- }
120
- image = image.rot(autoRotation);
121
- gainMapRotation = autoRotation;
122
- autoRotation = VIPS_ANGLE_D0;
123
- }
124
- if (autoFlop) {
125
- image = image.flip(VIPS_DIRECTION_HORIZONTAL);
126
- autoFlop = false;
127
- gainMapFlop = true;
128
- }
129
- }
130
-
131
- if (shouldRotateBefore) {
132
- image = sharp::StaySequential(image, rotation != VIPS_ANGLE_D0 || baton->flip || baton->rotationAngle != 0.0);
133
- if (baton->flip) {
134
- image = image.flip(VIPS_DIRECTION_VERTICAL);
135
- baton->flip = false;
136
- gainMapFlip = true;
137
- }
138
- if (baton->flop) {
139
- image = image.flip(VIPS_DIRECTION_HORIZONTAL);
140
- baton->flop = false;
141
- gainMapFlop = true;
142
- }
143
- if (rotation != VIPS_ANGLE_D0) {
144
- if (rotation != VIPS_ANGLE_D180) {
145
- MultiPageUnsupported(nPages, "Rotate");
146
- }
147
- image = image.rot(rotation);
148
- gainMapRotation = rotation;
149
- rotation = VIPS_ANGLE_D0;
150
- }
151
- if (baton->rotationAngle != 0.0) {
152
- MultiPageUnsupported(nPages, "Rotate");
153
- KeepGainMapUnsupported(baton->keepGainMap, "Rotate");
154
- std::vector<double> background;
155
- std::tie(image, background) = sharp::ApplyAlpha(image, baton->rotationBackground, false);
156
- image = image.rotate(baton->rotationAngle, VImage::option()->set("background", background)).copy_memory();
157
- baton->rotationAngle = 0.0;
158
- }
159
- }
160
-
161
- // Trim
162
- if (baton->trimThreshold >= 0.0) {
163
- MultiPageUnsupported(nPages, "Trim");
164
- KeepGainMapUnsupported(baton->keepGainMap, "Trim");
165
- image = sharp::StaySequential(image);
166
- image = sharp::Trim(image, baton->trimBackground, baton->trimThreshold, baton->trimLineArt, baton->trimMargin);
167
- baton->trimOffsetLeft = image.xoffset();
168
- baton->trimOffsetTop = image.yoffset();
169
- }
170
-
171
- // Pre extraction
172
- if (baton->topOffsetPre != -1) {
173
- image = nPages > 1
174
- ? sharp::CropMultiPage(image,
175
- baton->leftOffsetPre, baton->topOffsetPre, baton->widthPre, baton->heightPre, nPages, &pageHeight)
176
- : image.extract_area(baton->leftOffsetPre, baton->topOffsetPre, baton->widthPre, baton->heightPre);
177
- }
178
-
179
- // Get pre-resize image width and height
180
- int inputWidth = image.width();
181
- int inputHeight = image.height();
182
-
183
- // Is there just one page? Shrink to inputHeight instead
184
- if (nPages == 1) {
185
- pageHeight = inputHeight;
186
- }
187
-
188
- // Scaling calculations
189
- double hshrink;
190
- double vshrink;
191
- int targetResizeWidth = baton->width;
192
- int targetResizeHeight = baton->height;
193
-
194
- // When auto-rotating by 90 or 270 degrees, swap the target width and
195
- // height to ensure the behavior aligns with how it would have been if
196
- // the rotation had taken place *before* resizing.
197
- if (autoRotation == VIPS_ANGLE_D90 || autoRotation == VIPS_ANGLE_D270) {
198
- std::swap(targetResizeWidth, targetResizeHeight);
199
- }
200
-
201
- // Shrink to pageHeight, so we work for multi-page images
202
- std::tie(hshrink, vshrink) = sharp::ResolveShrink(
203
- inputWidth, pageHeight, targetResizeWidth, targetResizeHeight,
204
- baton->canvas, baton->withoutEnlargement, baton->withoutReduction);
205
-
206
- // The jpeg preload shrink.
207
- int jpegShrinkOnLoad = 1;
208
-
209
- // WebP, PDF, SVG scale
210
- double scale = 1.0;
211
-
212
- // Try to reload input using shrink-on-load for JPEG, WebP, SVG and PDF, when:
213
- // - the width or height parameters are specified;
214
- // - gamma correction doesn't need to be applied;
215
- // - trimming or pre-resize extract isn't required;
216
- // - gain map processing is not required;
217
- // - input colourspace is not specified;
218
- bool const shouldPreShrink = (targetResizeWidth > 0 || targetResizeHeight > 0) &&
219
- baton->gamma == 0 && baton->topOffsetPre == -1 && baton->trimThreshold < 0.0 &&
220
- !baton->keepGainMap && !baton->withGainMap &&
221
- baton->colourspacePipeline == VIPS_INTERPRETATION_LAST && !(shouldOrientBefore || shouldRotateBefore);
222
-
223
- if (shouldPreShrink) {
224
- // The common part of the shrink: the bit by which both axes must be shrunk
225
- double shrink = std::min(hshrink, vshrink);
226
-
227
- if (inputImageType == sharp::ImageType::JPEG) {
228
- // Leave at least a factor of two for the final resize step, when fastShrinkOnLoad: false
229
- // for more consistent results and to avoid extra sharpness to the image
230
- int factor = baton->fastShrinkOnLoad ? 1 : 2;
231
- if (shrink >= 8 * factor) {
232
- jpegShrinkOnLoad = 8;
233
- } else if (shrink >= 4 * factor) {
234
- jpegShrinkOnLoad = 4;
235
- } else if (shrink >= 2 * factor) {
236
- jpegShrinkOnLoad = 2;
237
- }
238
- // Lower shrink-on-load for known libjpeg rounding errors
239
- if (jpegShrinkOnLoad > 1 && static_cast<int>(shrink) == jpegShrinkOnLoad) {
240
- jpegShrinkOnLoad /= 2;
241
- }
242
- } else if (inputImageType == sharp::ImageType::WEBP && baton->fastShrinkOnLoad && shrink > 1.0) {
243
- // Avoid upscaling via webp
244
- scale = 1.0 / shrink;
245
- } else if (inputImageType == sharp::ImageType::SVG ||
246
- inputImageType == sharp::ImageType::PDF) {
247
- scale = 1.0 / shrink;
248
- }
249
- }
250
-
251
- // Reload input using shrink-on-load, it'll be an integer shrink
252
- // factor for jpegload*, a double scale factor for webpload*,
253
- // pdfload* and svgload*
254
- if (jpegShrinkOnLoad > 1) {
255
- vips::VOption *option = GetOptionsForImageType(inputImageType, baton->input)->set("shrink", jpegShrinkOnLoad);
256
- if (baton->input->buffer != nullptr) {
257
- // Reload JPEG buffer
258
- VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
259
- image = VImage::jpegload_buffer(blob, option);
260
- vips_area_unref(reinterpret_cast<VipsArea*>(blob));
261
- } else {
262
- // Reload JPEG file
263
- image = VImage::jpegload(const_cast<char*>(baton->input->file.data()), option);
264
- }
265
- } else if (scale != 1.0) {
266
- vips::VOption *option = GetOptionsForImageType(inputImageType, baton->input)->set("scale", scale);
267
- if (inputImageType == sharp::ImageType::WEBP) {
268
- if (baton->input->buffer != nullptr) {
269
- // Reload WebP buffer
270
- VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
271
- image = VImage::webpload_buffer(blob, option);
272
- vips_area_unref(reinterpret_cast<VipsArea*>(blob));
273
- } else {
274
- // Reload WebP file
275
- image = VImage::webpload(const_cast<char*>(baton->input->file.data()), option);
276
- }
277
- } else if (inputImageType == sharp::ImageType::SVG) {
278
- if (baton->input->buffer != nullptr) {
279
- // Reload SVG buffer
280
- VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
281
- image = VImage::svgload_buffer(blob, option);
282
- vips_area_unref(reinterpret_cast<VipsArea*>(blob));
283
- } else {
284
- // Reload SVG file
285
- image = VImage::svgload(const_cast<char*>(baton->input->file.data()), option);
286
- }
287
- sharp::SetDensity(image, baton->input->density);
288
- if (image.width() > 32767 || image.height() > 32767) {
289
- throw std::runtime_error("Input SVG image will exceed 32767x32767 pixel limit when scaled");
290
- }
291
- } else if (inputImageType == sharp::ImageType::PDF) {
292
- if (baton->input->buffer != nullptr) {
293
- // Reload PDF buffer
294
- VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
295
- image = VImage::pdfload_buffer(blob, option);
296
- vips_area_unref(reinterpret_cast<VipsArea*>(blob));
297
- } else {
298
- // Reload PDF file
299
- image = VImage::pdfload(const_cast<char*>(baton->input->file.data()), option);
300
- }
301
- sharp::SetDensity(image, baton->input->density);
302
- }
303
- } else {
304
- if (inputImageType == sharp::ImageType::SVG && (image.width() > 32767 || image.height() > 32767)) {
305
- throw std::runtime_error("Input SVG image exceeds 32767x32767 pixel limit");
306
- }
307
- }
308
- if (baton->input->autoOrient) {
309
- image = sharp::RemoveExifOrientation(image);
310
- }
311
- VImage gainMap;
312
- int gainMapScaleFactor = 1;
313
- if (sharp::HasGainMap(image)) {
314
- if (baton->keepGainMap) {
315
- gainMap = image.gainmap();
316
- if (image.get_typeof("gainmap-scale-factor") == G_TYPE_INT) {
317
- gainMapScaleFactor = image.get_int("gainmap-scale-factor");
318
- }
319
- if (gainMapFlip) {
320
- gainMap = gainMap.flip(VIPS_DIRECTION_VERTICAL);
321
- }
322
- if (gainMapFlop) {
323
- gainMap = gainMap.flip(VIPS_DIRECTION_HORIZONTAL);
324
- }
325
- if (gainMapRotation != VIPS_ANGLE_D0) {
326
- gainMap = gainMap.rot(gainMapRotation);
327
- }
328
- if (baton->topOffsetPre != -1) {
329
- gainMap = gainMap.extract_area(
330
- baton->leftOffsetPre / gainMapScaleFactor, baton->topOffsetPre / gainMapScaleFactor,
331
- baton->widthPre / gainMapScaleFactor, baton->heightPre / gainMapScaleFactor);
332
- }
333
- } else if (baton->withGainMap) {
334
- image = image.uhdr2scRGB();
335
- }
336
- image = sharp::RemoveGainMap(image);
337
- } else {
338
- baton->keepGainMap = false;
339
- baton->withGainMap = false;
340
- }
341
-
342
- // Any pre-shrinking may already have been done
343
- inputWidth = image.width();
344
- inputHeight = image.height();
345
-
346
- // After pre-shrink, but before the main shrink stage
347
- // Reuse the initial pageHeight if we didn't pre-shrink
348
- if (shouldPreShrink) {
349
- pageHeight = sharp::GetPageHeight(image);
350
- }
351
-
352
- // Shrink to pageHeight, so we work for multi-page images
353
- std::tie(hshrink, vshrink) = sharp::ResolveShrink(
354
- inputWidth, pageHeight, targetResizeWidth, targetResizeHeight,
355
- baton->canvas, baton->withoutEnlargement, baton->withoutReduction);
356
-
357
- int targetHeight = static_cast<int>(std::rint(static_cast<double>(pageHeight) / vshrink));
358
- int targetPageHeight = targetHeight;
359
-
360
- // In toilet-roll mode, we must adjust vshrink so that we exactly hit
361
- // pageHeight or we'll have pixels straddling pixel boundaries
362
- if (inputHeight > pageHeight) {
363
- targetHeight *= nPages;
364
- vshrink = static_cast<double>(inputHeight) / targetHeight;
365
- }
366
-
367
- // Ensure we're using a device-independent colour space
368
- std::pair<char*, size_t> inputProfile(nullptr, 0);
369
- if ((baton->keepMetadata & VIPS_FOREIGN_KEEP_ICC) && baton->withIccProfile.empty()) {
370
- // Cache input profile for use with output
371
- inputProfile = sharp::GetProfile(image);
372
- baton->input->ignoreIcc = true;
373
- }
374
- char const *processingProfile = image.interpretation() == VIPS_INTERPRETATION_RGB16 ? "p3" : "srgb";
375
- if (
376
- sharp::HasProfile(image) &&
377
- image.interpretation() != VIPS_INTERPRETATION_LABS &&
378
- image.interpretation() != VIPS_INTERPRETATION_GREY16 &&
379
- baton->colourspacePipeline != VIPS_INTERPRETATION_CMYK &&
380
- !baton->input->ignoreIcc && !baton->withGainMap
381
- ) {
382
- // Convert to sRGB/P3 using embedded profile
383
- try {
384
- image = image.icc_transform(processingProfile, VImage::option()
385
- ->set("embedded", true)
386
- ->set("depth", sharp::Is16Bit(image.interpretation()) ? 16 : 8)
387
- ->set("intent", VIPS_INTENT_PERCEPTUAL));
388
- } catch(...) {
389
- sharp::VipsWarningCallback(nullptr, G_LOG_LEVEL_WARNING, "Invalid embedded profile", nullptr);
390
- }
391
- } else if (
392
- image.interpretation() == VIPS_INTERPRETATION_CMYK &&
393
- baton->colourspacePipeline != VIPS_INTERPRETATION_CMYK
394
- ) {
395
- image = image.icc_transform(processingProfile, VImage::option()
396
- ->set("input_profile", "cmyk")
397
- ->set("intent", VIPS_INTENT_PERCEPTUAL));
398
- }
399
-
400
- // Flatten image to remove alpha channel
401
- if (baton->flatten && image.has_alpha()) {
402
- image = sharp::Flatten(image, baton->flattenBackground);
403
- }
404
-
405
- // Gamma encoding (darken)
406
- if (baton->gamma >= 1 && baton->gamma <= 3) {
407
- image = sharp::Gamma(image, 1.0 / baton->gamma);
408
- }
409
-
410
- // Convert to greyscale (linear, therefore after gamma encoding, if any)
411
- if (baton->greyscale) {
412
- image = image.colourspace(VIPS_INTERPRETATION_B_W);
413
- }
414
-
415
- bool const shouldResize = hshrink != 1.0 || vshrink != 1.0;
416
- bool const shouldBlur = baton->blurSigma != 0.0;
417
- bool const shouldConv = baton->convKernelWidth * baton->convKernelHeight > 0;
418
- bool const shouldSharpen = baton->sharpenSigma != 0.0;
419
- bool const shouldComposite = !baton->composite.empty();
420
-
421
- if (shouldComposite && !image.has_alpha()) {
422
- image = sharp::EnsureAlpha(image, 1);
423
- }
424
-
425
- VipsBandFormat premultiplyFormat = image.format();
426
- bool const shouldPremultiplyAlpha = image.has_alpha() &&
427
- (shouldResize || shouldBlur || shouldConv || shouldSharpen);
428
-
429
- if (shouldPremultiplyAlpha) {
430
- image = image.premultiply().cast(premultiplyFormat);
431
- }
432
-
433
- // Resize
434
- if (shouldResize) {
435
- image = image.resize(1.0 / hshrink, VImage::option()
436
- ->set("vscale", 1.0 / vshrink)
437
- ->set("kernel", baton->kernel));
438
- if (baton->keepGainMap) {
439
- gainMap = gainMap.resize(1.0 / hshrink, VImage::option()
440
- ->set("vscale", 1.0 / vshrink)
441
- ->set("kernel", baton->kernel));
442
- }
443
- }
444
-
445
- image = sharp::StaySequential(image,
446
- autoRotation != VIPS_ANGLE_D0 ||
447
- baton->flip ||
448
- rotation != VIPS_ANGLE_D0);
449
- // Auto-rotate post-extract
450
- if (autoRotation != VIPS_ANGLE_D0) {
451
- if (autoRotation != VIPS_ANGLE_D180) {
452
- MultiPageUnsupported(nPages, "Rotate");
453
- }
454
- image = image.rot(autoRotation);
455
- if (baton->keepGainMap) {
456
- gainMap = sharp::StaySequential(gainMap).rot(autoRotation);
457
- }
458
- }
459
- // Mirror vertically (up-down) about the x-axis
460
- if (baton->flip) {
461
- image = image.flip(VIPS_DIRECTION_VERTICAL);
462
- if (baton->keepGainMap) {
463
- gainMap = sharp::StaySequential(gainMap).flip(VIPS_DIRECTION_VERTICAL);
464
- }
465
- }
466
- // Mirror horizontally (left-right) about the y-axis
467
- if (baton->flop != autoFlop) {
468
- image = image.flip(VIPS_DIRECTION_HORIZONTAL);
469
- if (baton->keepGainMap) {
470
- gainMap = gainMap.flip(VIPS_DIRECTION_HORIZONTAL);
471
- }
472
- }
473
- // Rotate post-extract 90-angle
474
- if (rotation != VIPS_ANGLE_D0) {
475
- if (rotation != VIPS_ANGLE_D180) {
476
- MultiPageUnsupported(nPages, "Rotate");
477
- }
478
- image = image.rot(rotation);
479
- if (baton->keepGainMap) {
480
- gainMap = sharp::StaySequential(gainMap).rot(rotation);
481
- }
482
- }
483
-
484
- // Join additional color channels to the image
485
- if (!baton->joinChannelIn.empty()) {
486
- VImage joinImage;
487
- sharp::ImageType joinImageType = sharp::ImageType::UNKNOWN;
488
-
489
- for (unsigned int i = 0; i < baton->joinChannelIn.size(); i++) {
490
- baton->joinChannelIn[i]->access = access;
491
- std::tie(joinImage, joinImageType) = sharp::OpenInput(baton->joinChannelIn[i]);
492
- joinImage = sharp::EnsureColourspace(joinImage, baton->colourspacePipeline);
493
- image = image.bandjoin(joinImage);
494
- }
495
- image = image.copy(VImage::option()->set("interpretation", baton->colourspace));
496
- image = sharp::RemoveGifPalette(image);
497
- }
498
-
499
- inputWidth = image.width();
500
- inputHeight = nPages > 1 ? targetPageHeight : image.height();
501
-
502
- // Resolve dimensions
503
- if (baton->width <= 0) {
504
- baton->width = inputWidth;
505
- }
506
- if (baton->height <= 0) {
507
- baton->height = inputHeight;
508
- }
509
-
510
- // Crop/embed
511
- if (inputWidth != baton->width || inputHeight != baton->height) {
512
- if (baton->canvas == sharp::Canvas::EMBED) {
513
- std::vector<double> background;
514
- std::tie(image, background) = sharp::ApplyAlpha(image, baton->resizeBackground, shouldPremultiplyAlpha);
515
-
516
- // Embed
517
- const auto& [left, top] = sharp::CalculateEmbedPosition(
518
- inputWidth, inputHeight, baton->width, baton->height, baton->position);
519
- const int width = std::max(inputWidth, baton->width);
520
- const int height = std::max(inputHeight, baton->height);
521
-
522
- image = nPages > 1
523
- ? sharp::EmbedMultiPage(image,
524
- left, top, width, height, VIPS_EXTEND_BACKGROUND, background, nPages, &targetPageHeight)
525
- : image.embed(left, top, width, height, VImage::option()
526
- ->set("extend", VIPS_EXTEND_BACKGROUND)
527
- ->set("background", background));
528
- if (baton->keepGainMap) {
529
- gainMap = gainMap.embed(left / gainMapScaleFactor, top / gainMapScaleFactor,
530
- width / gainMapScaleFactor, height / gainMapScaleFactor, VImage::option()
531
- ->set("extend", VIPS_EXTEND_BACKGROUND)
532
- ->set("background", 0));
533
- }
534
- } else if (baton->canvas == sharp::Canvas::CROP) {
535
- if (baton->width > inputWidth) {
536
- baton->width = inputWidth;
537
- }
538
- if (baton->height > inputHeight) {
539
- baton->height = inputHeight;
540
- }
541
-
542
- // Crop
543
- if (baton->position < 9) {
544
- // Gravity-based crop
545
- const auto& [left, top] = sharp::CalculateCrop(
546
- inputWidth, inputHeight, baton->width, baton->height, baton->position);
547
- const int width = std::min(inputWidth, baton->width);
548
- const int height = std::min(inputHeight, baton->height);
549
-
550
- image = nPages > 1
551
- ? sharp::CropMultiPage(image,
552
- left, top, width, height, nPages, &targetPageHeight)
553
- : image.extract_area(left, top, width, height);
554
- if (baton->keepGainMap) {
555
- gainMap = gainMap.extract_area(left / gainMapScaleFactor, top / gainMapScaleFactor,
556
- width / gainMapScaleFactor, height / gainMapScaleFactor);
557
- }
558
- } else {
559
- int attention_x;
560
- int attention_y;
561
-
562
- // Attention-based or Entropy-based crop
563
- MultiPageUnsupported(nPages, "Resize strategy");
564
- KeepGainMapUnsupported(baton->keepGainMap, "Resize strategy");
565
- image = sharp::StaySequential(image);
566
- image = image.smartcrop(baton->width, baton->height, VImage::option()
567
- ->set("interesting", baton->position == 16 ? VIPS_INTERESTING_ENTROPY : VIPS_INTERESTING_ATTENTION)
568
- ->set("premultiplied", shouldPremultiplyAlpha)
569
- ->set("attention_x", &attention_x)
570
- ->set("attention_y", &attention_y));
571
- baton->hasCropOffset = true;
572
- baton->cropOffsetLeft = static_cast<int>(image.xoffset());
573
- baton->cropOffsetTop = static_cast<int>(image.yoffset());
574
- baton->hasAttentionCenter = true;
575
- baton->attentionX = static_cast<int>(attention_x * jpegShrinkOnLoad / scale);
576
- baton->attentionY = static_cast<int>(attention_y * jpegShrinkOnLoad / scale);
577
- }
578
- }
579
- }
580
-
581
- // Rotate post-extract non-90 angle
582
- if (!baton->rotateBefore && baton->rotationAngle != 0.0) {
583
- MultiPageUnsupported(nPages, "Rotate");
584
- KeepGainMapUnsupported(baton->keepGainMap, "Rotate");
585
- image = sharp::StaySequential(image);
586
- std::vector<double> background;
587
- std::tie(image, background) = sharp::ApplyAlpha(image, baton->rotationBackground, shouldPremultiplyAlpha);
588
- image = image.rotate(baton->rotationAngle, VImage::option()->set("background", background));
589
- if (baton->keepGainMap) {
590
- gainMap = gainMap.rotate(baton->rotationAngle, VImage::option()->set("background", 0));
591
- }
592
- }
593
-
594
- // Post extraction
595
- if (baton->topOffsetPost != -1) {
596
- if (nPages > 1) {
597
- image = sharp::CropMultiPage(image,
598
- baton->leftOffsetPost, baton->topOffsetPost, baton->widthPost, baton->heightPost,
599
- nPages, &targetPageHeight);
600
- // heightPost is used in the info object, so update to reflect the number of pages
601
- baton->heightPost *= nPages;
602
- } else {
603
- image = image.extract_area(
604
- baton->leftOffsetPost, baton->topOffsetPost, baton->widthPost, baton->heightPost);
605
- if (baton->keepGainMap) {
606
- gainMap = gainMap.extract_area(baton->leftOffsetPost / gainMapScaleFactor,
607
- baton->topOffsetPost / gainMapScaleFactor, baton->widthPost / gainMapScaleFactor,
608
- baton->heightPost / gainMapScaleFactor);
609
- }
610
- }
611
- }
612
-
613
- // Affine transform
614
- if (!baton->affineMatrix.empty()) {
615
- MultiPageUnsupported(nPages, "Affine");
616
- KeepGainMapUnsupported(baton->keepGainMap, "Affine");
617
- image = sharp::StaySequential(image);
618
- std::vector<double> background;
619
- std::tie(image, background) = sharp::ApplyAlpha(image, baton->affineBackground, shouldPremultiplyAlpha);
620
- vips::VInterpolate interp = vips::VInterpolate::new_from_name(
621
- const_cast<char*>(baton->affineInterpolator.data()));
622
- image = image.affine(baton->affineMatrix, VImage::option()->set("background", background)
623
- ->set("idx", baton->affineIdx)
624
- ->set("idy", baton->affineIdy)
625
- ->set("odx", baton->affineOdx)
626
- ->set("ody", baton->affineOdy)
627
- ->set("interpolate", interp));
628
- }
629
-
630
- // Extend edges
631
- if (baton->extendTop > 0 || baton->extendBottom > 0 || baton->extendLeft > 0 || baton->extendRight > 0) {
632
- // Embed
633
- baton->width = image.width() + baton->extendLeft + baton->extendRight;
634
- baton->height = (nPages > 1 ? targetPageHeight : image.height()) + baton->extendTop + baton->extendBottom;
635
-
636
- std::vector<double> background;
637
- if (baton->extendWith == VIPS_EXTEND_BACKGROUND) {
638
- std::tie(image, background) = sharp::ApplyAlpha(image, baton->extendBackground, shouldPremultiplyAlpha);
639
- }
640
- image = sharp::StaySequential(image, nPages > 1 || baton->extendWith != VIPS_EXTEND_BACKGROUND);
641
- auto options = VImage::option()->set("extend", baton->extendWith);
642
- if (baton->extendWith == VIPS_EXTEND_BACKGROUND) {
643
- options->set("background", background);
644
- }
645
- image = nPages > 1
646
- ? sharp::EmbedMultiPage(image,
647
- baton->extendLeft, baton->extendTop, baton->width, baton->height,
648
- baton->extendWith, background, nPages, &targetPageHeight)
649
- : image.embed(baton->extendLeft, baton->extendTop, baton->width, baton->height, options);
650
- if (baton->keepGainMap) {
651
- gainMap = gainMap.embed(baton->extendLeft / gainMapScaleFactor, baton->extendTop / gainMapScaleFactor,
652
- baton->width / gainMapScaleFactor, baton->height / gainMapScaleFactor, VImage::option()
653
- ->set("extend", baton->extendWith)
654
- ->set("background", 0));
655
- }
656
- }
657
- // Median - must happen before blurring, due to the utility of blurring after thresholding
658
- if (baton->medianSize > 0) {
659
- image = image.median(baton->medianSize);
660
- }
661
-
662
- // Threshold - must happen before blurring, due to the utility of blurring after thresholding
663
- // Threshold - must happen before unflatten to enable non-white unflattening
664
- if (baton->threshold != 0) {
665
- image = sharp::Threshold(image, baton->threshold, baton->thresholdGrayscale);
666
- }
667
-
668
- // Dilate - must happen before blurring, due to the utility of dilating after thresholding
669
- if (baton->dilateWidth != 0) {
670
- image = sharp::Dilate(image, baton->dilateWidth);
671
- }
672
-
673
- // Erode - must happen before blurring, due to the utility of eroding after thresholding
674
- if (baton->erodeWidth != 0) {
675
- image = sharp::Erode(image, baton->erodeWidth);
676
- }
677
-
678
- // Blur
679
- if (shouldBlur) {
680
- image = sharp::Blur(image, baton->blurSigma, baton->precision, baton->minAmpl);
681
- if (baton->keepGainMap) {
682
- gainMap = sharp::Blur(gainMap, baton->blurSigma, baton->precision, baton->minAmpl);
683
- }
684
- }
685
-
686
- // Unflatten the image
687
- if (baton->unflatten) {
688
- image = sharp::Unflatten(image);
689
- }
690
-
691
- // Convolve
692
- if (shouldConv) {
693
- KeepGainMapUnsupported(baton->keepGainMap, "Convolve");
694
- image = sharp::Convolve(image,
695
- baton->convKernelWidth, baton->convKernelHeight,
696
- baton->convKernelScale, baton->convKernelOffset,
697
- baton->convKernel);
698
- }
699
-
700
- // Recomb
701
- if (!baton->recombMatrix.empty()) {
702
- KeepGainMapUnsupported(baton->keepGainMap, "Recomb");
703
- image = sharp::Recomb(image, baton->recombMatrix);
704
- }
705
-
706
- // Modulate
707
- if (baton->brightness != 1.0 || baton->saturation != 1.0 || baton->hue != 0.0 || baton->lightness != 0.0) {
708
- KeepGainMapUnsupported(baton->keepGainMap, "Modulate");
709
- image = sharp::Modulate(image, baton->brightness, baton->saturation, baton->hue, baton->lightness);
710
- }
711
-
712
- // Sharpen
713
- if (shouldSharpen) {
714
- image = sharp::Sharpen(image, baton->sharpenSigma, baton->sharpenM1, baton->sharpenM2,
715
- baton->sharpenX1, baton->sharpenY2, baton->sharpenY3);
716
- }
717
-
718
- // Reverse premultiplication after all transformations
719
- if (shouldPremultiplyAlpha) {
720
- image = image.unpremultiply().cast(premultiplyFormat);
721
- }
722
- baton->premultiplied = shouldPremultiplyAlpha;
723
-
724
- // Composite
725
- if (shouldComposite) {
726
- KeepGainMapUnsupported(baton->keepGainMap, "Composite");
727
- std::vector<VImage> images = { image };
728
- std::vector<int> modes, xs, ys;
729
- for (Composite *composite : baton->composite) {
730
- VImage compositeImage;
731
- sharp::ImageType compositeImageType = sharp::ImageType::UNKNOWN;
732
- composite->input->access = access;
733
- std::tie(compositeImage, compositeImageType) = sharp::OpenInput(composite->input);
734
-
735
- if (composite->input->autoOrient) {
736
- // Respect EXIF Orientation
737
- VipsAngle compositeAutoRotation = VIPS_ANGLE_D0;
738
- bool compositeAutoFlop = false;
739
- std::tie(compositeAutoRotation, compositeAutoFlop) =
740
- CalculateExifRotationAndFlop(sharp::ExifOrientation(compositeImage));
741
-
742
- compositeImage = sharp::RemoveExifOrientation(compositeImage);
743
- compositeImage = sharp::StaySequential(compositeImage, compositeAutoRotation != VIPS_ANGLE_D0);
744
-
745
- if (compositeAutoRotation != VIPS_ANGLE_D0) {
746
- compositeImage = compositeImage.rot(compositeAutoRotation);
747
- }
748
- if (compositeAutoFlop) {
749
- compositeImage = compositeImage.flip(VIPS_DIRECTION_HORIZONTAL);
750
- }
751
- }
752
-
753
- // Verify within current dimensions
754
- if (compositeImage.width() > image.width() || compositeImage.height() > image.height()) {
755
- throw std::runtime_error("Image to composite must have same dimensions or smaller");
756
- }
757
- // Check if overlay is tiled
758
- if (composite->tile) {
759
- int across = 0;
760
- int down = 0;
761
- // Use gravity in overlay
762
- if (compositeImage.width() <= image.width()) {
763
- across = static_cast<int>(ceil(static_cast<double>(image.width()) / compositeImage.width()));
764
- // Ensure odd number of tiles across when gravity is centre, north or south
765
- if (composite->gravity == 0 || composite->gravity == 1 || composite->gravity == 3) {
766
- across |= 1;
767
- }
768
- }
769
- if (compositeImage.height() <= image.height()) {
770
- down = static_cast<int>(ceil(static_cast<double>(image.height()) / compositeImage.height()));
771
- // Ensure odd number of tiles down when gravity is centre, east or west
772
- if (composite->gravity == 0 || composite->gravity == 2 || composite->gravity == 4) {
773
- down |= 1;
774
- }
775
- }
776
- if (across != 0 || down != 0) {
777
- int left;
778
- int top;
779
- compositeImage = sharp::StaySequential(compositeImage).replicate(across, down);
780
- if (composite->hasOffset) {
781
- std::tie(left, top) = sharp::CalculateCrop(
782
- compositeImage.width(), compositeImage.height(), image.width(), image.height(),
783
- composite->left, composite->top);
784
- } else {
785
- std::tie(left, top) = sharp::CalculateCrop(
786
- compositeImage.width(), compositeImage.height(), image.width(), image.height(), composite->gravity);
787
- }
788
- compositeImage = compositeImage.extract_area(left, top, image.width(), image.height());
789
- }
790
- // gravity was used for extract_area, set it back to its default value of 0
791
- composite->gravity = 0;
792
- }
793
- // Ensure image to composite is with unpremultiplied alpha
794
- compositeImage = sharp::EnsureAlpha(compositeImage, 1);
795
- if (composite->premultiplied) compositeImage = compositeImage.unpremultiply();
796
- // Calculate position
797
- int left;
798
- int top;
799
- if (composite->hasOffset) {
800
- // Composite image at given offsets
801
- if (composite->tile) {
802
- std::tie(left, top) = sharp::CalculateCrop(image.width(), image.height(),
803
- compositeImage.width(), compositeImage.height(), composite->left, composite->top);
804
- } else {
805
- left = composite->left;
806
- top = composite->top;
807
- }
808
- } else {
809
- // Composite image with given gravity
810
- std::tie(left, top) = sharp::CalculateCrop(image.width(), image.height(),
811
- compositeImage.width(), compositeImage.height(), composite->gravity);
812
- }
813
- images.push_back(compositeImage);
814
- modes.push_back(composite->mode);
815
- xs.push_back(left);
816
- ys.push_back(top);
817
- }
818
- image = VImage::composite(images, modes, VImage::option()
819
- ->set("compositing_space", baton->colourspacePipeline == VIPS_INTERPRETATION_LAST
820
- ? VIPS_INTERPRETATION_sRGB
821
- : baton->colourspacePipeline)
822
- ->set("x", xs)
823
- ->set("y", ys));
824
- image = sharp::RemoveGifPalette(image);
825
- }
826
-
827
- // Gamma decoding (brighten)
828
- if (baton->gammaOut >= 1 && baton->gammaOut <= 3) {
829
- image = sharp::Gamma(image, baton->gammaOut);
830
- }
831
-
832
- // Linear adjustment (a * in + b)
833
- if (!baton->linearA.empty()) {
834
- image = sharp::Linear(image, baton->linearA, baton->linearB);
835
- }
836
-
837
- // Apply normalisation - stretch luminance to cover full dynamic range
838
- if (baton->normalise) {
839
- KeepGainMapUnsupported(baton->keepGainMap, "Normalise");
840
- image = sharp::StaySequential(image);
841
- image = sharp::Normalise(image, baton->normaliseLower, baton->normaliseUpper);
842
- }
843
-
844
- // Apply contrast limiting adaptive histogram equalization (CLAHE)
845
- if (baton->claheWidth != 0 && baton->claheHeight != 0) {
846
- KeepGainMapUnsupported(baton->keepGainMap, "Clahe");
847
- image = sharp::StaySequential(image);
848
- image = sharp::Clahe(image, baton->claheWidth, baton->claheHeight, baton->claheMaxSlope);
849
- }
850
-
851
- // Apply bitwise boolean operation between images
852
- if (baton->boolean != nullptr) {
853
- KeepGainMapUnsupported(baton->keepGainMap, "Boolean");
854
- VImage booleanImage;
855
- sharp::ImageType booleanImageType = sharp::ImageType::UNKNOWN;
856
- baton->boolean->access = access;
857
- std::tie(booleanImage, booleanImageType) = sharp::OpenInput(baton->boolean);
858
- booleanImage = sharp::EnsureColourspace(booleanImage, baton->colourspacePipeline);
859
- image = sharp::Boolean(image, booleanImage, baton->booleanOp);
860
- image = sharp::RemoveGifPalette(image);
861
- }
862
-
863
- // Apply per-channel Bandbool bitwise operations after all other operations
864
- if (baton->bandBoolOp >= VIPS_OPERATION_BOOLEAN_AND && baton->bandBoolOp < VIPS_OPERATION_BOOLEAN_LAST) {
865
- image = sharp::Bandbool(image, baton->bandBoolOp);
866
- }
867
-
868
- // Tint the image
869
- if (baton->tint[0] >= 0.0) {
870
- image = sharp::Tint(image, baton->tint);
871
- }
872
-
873
- // Remove alpha channel, if any
874
- if (baton->removeAlpha) {
875
- image = sharp::RemoveAlpha(image);
876
- }
877
-
878
- // Ensure alpha channel, if missing
879
- if (baton->ensureAlpha != -1) {
880
- image = sharp::EnsureAlpha(image, baton->ensureAlpha);
881
- }
882
-
883
- // Ensure output colour space
884
- if (sharp::Is16Bit(image.interpretation())) {
885
- image = image.cast(VIPS_FORMAT_USHORT);
886
- }
887
- if (image.interpretation() != baton->colourspace) {
888
- image = image.colourspace(baton->colourspace, VImage::option()->set("source_space", image.interpretation()));
889
- if (inputProfile.first != nullptr && baton->withIccProfile.empty()) {
890
- image = sharp::SetProfile(image, inputProfile);
891
- }
892
- }
893
-
894
- // Extract channel
895
- if (baton->extractChannel > -1) {
896
- KeepGainMapUnsupported(baton->keepGainMap, "Extract channel");
897
- if (baton->extractChannel >= image.bands()) {
898
- if (baton->extractChannel == 3 && image.has_alpha()) {
899
- baton->extractChannel = image.bands() - 1;
900
- } else {
901
- (baton->err)
902
- .append("Cannot extract channel ").append(std::to_string(baton->extractChannel))
903
- .append(" from image with channels 0-").append(std::to_string(image.bands() - 1));
904
- return Error();
905
- }
906
- }
907
- VipsInterpretation colourspace = sharp::Is16Bit(image.interpretation())
908
- ? VIPS_INTERPRETATION_GREY16
909
- : VIPS_INTERPRETATION_B_W;
910
- image = image
911
- .extract_band(baton->extractChannel)
912
- .copy(VImage::option()->set("interpretation", colourspace));
913
- }
914
-
915
- // Apply output ICC profile
916
- if (!baton->withIccProfile.empty()) {
917
- try {
918
- image = image.icc_transform(const_cast<char*>(baton->withIccProfile.data()), VImage::option()
919
- ->set("input_profile", processingProfile)
920
- ->set("embedded", true)
921
- ->set("depth", sharp::Is16Bit(image.interpretation()) ? 16 : 8)
922
- ->set("intent", VIPS_INTENT_PERCEPTUAL));
923
- } catch(...) {
924
- sharp::VipsWarningCallback(nullptr, G_LOG_LEVEL_WARNING, "Invalid profile", nullptr);
925
- }
926
- }
927
-
928
- // Negate the colours in the image
929
- if (baton->negate) {
930
- image = sharp::Negate(image, baton->negateAlpha);
931
- if (baton->keepGainMap) {
932
- gainMap = sharp::Negate(gainMap, false);
933
- }
934
- }
935
-
936
- // Override EXIF Orientation tag
937
- if (baton->withMetadataOrientation != -1) {
938
- image = sharp::SetExifOrientation(image, baton->withMetadataOrientation);
939
- }
940
- // Override pixel density
941
- if (baton->withMetadataDensity > 0) {
942
- image = sharp::SetDensity(image, baton->withMetadataDensity);
943
- }
944
- // EXIF key/value pairs
945
- if (baton->keepMetadata & VIPS_FOREIGN_KEEP_EXIF) {
946
- image = image.copy();
947
- if (!baton->withExifMerge) {
948
- image = sharp::RemoveExif(image);
949
- }
950
- for (const auto& [key, value] : baton->withExif) {
951
- image.set(key.c_str(), value.c_str());
952
- }
953
- }
954
- // XMP buffer
955
- if ((baton->keepMetadata & VIPS_FOREIGN_KEEP_XMP) && !baton->withXmp.empty()) {
956
- image = image.copy();
957
- image.set(VIPS_META_XMP_NAME, nullptr,
958
- const_cast<void*>(static_cast<void const*>(baton->withXmp.c_str())), baton->withXmp.size());
959
- }
960
- // Number of channels used in output image
961
- baton->channels = image.bands();
962
- baton->width = image.width();
963
- baton->height = image.height();
964
-
965
- image = sharp::SetAnimationProperties(
966
- image, nPages, targetPageHeight, baton->delay, baton->loop);
967
-
968
- if (image.get_typeof(VIPS_META_PAGE_HEIGHT) == G_TYPE_INT) {
969
- baton->pageHeightOut = image.get_int(VIPS_META_PAGE_HEIGHT);
970
- baton->pagesOut = image.get_int(VIPS_META_N_PAGES);
971
- }
972
- baton->hasAlphaOut = image.has_alpha();
973
-
974
- // Output
975
- sharp::SetTimeout(image, baton->timeoutSeconds);
976
- if (baton->fileOut.empty()) {
977
- // Buffer output
978
- if (baton->formatOut == "jpeg" || (baton->formatOut == "input" && inputImageType == sharp::ImageType::JPEG)) {
979
- // Write JPEG to buffer
980
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
981
- VipsArea *area;
982
- if (baton->keepGainMap) {
983
- image = ReattachGainMap(image, gainMap, baton);
984
- area = reinterpret_cast<VipsArea*>(image.uhdrsave_buffer(VImage::option()
985
- ->set("keep", baton->keepMetadata)
986
- ->set("Q", baton->jpegQuality)
987
- ->set("gainmap_scale_factor", gainMapScaleFactor)));
988
- } else {
989
- area = reinterpret_cast<VipsArea*>(image.jpegsave_buffer(VImage::option()
990
- ->set("keep", baton->keepMetadata)
991
- ->set("Q", baton->jpegQuality)
992
- ->set("interlace", baton->jpegProgressive)
993
- ->set("subsample_mode", baton->jpegChromaSubsampling == "4:4:4"
994
- ? VIPS_FOREIGN_SUBSAMPLE_OFF
995
- : VIPS_FOREIGN_SUBSAMPLE_ON)
996
- ->set("trellis_quant", baton->jpegTrellisQuantisation)
997
- ->set("quant_table", baton->jpegQuantisationTable)
998
- ->set("overshoot_deringing", baton->jpegOvershootDeringing)
999
- ->set("optimize_scans", baton->jpegOptimiseScans)
1000
- ->set("optimize_coding", baton->jpegOptimiseCoding)));
1001
- }
1002
- baton->bufferOut = static_cast<char*>(area->data);
1003
- baton->bufferOutLength = area->length;
1004
- area->free_fn = nullptr;
1005
- vips_area_unref(area);
1006
- baton->formatOut = "jpeg";
1007
- if (baton->colourspace == VIPS_INTERPRETATION_CMYK) {
1008
- baton->channels = std::min(baton->channels, 4);
1009
- } else {
1010
- baton->channels = std::min(baton->channels, 3);
1011
- }
1012
- baton->hasAlphaOut = false;
1013
- } else if (baton->formatOut == "jp2" || (baton->formatOut == "input"
1014
- && inputImageType == sharp::ImageType::JP2)) {
1015
- // Write JP2 to Buffer
1016
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JP2);
1017
- VipsArea *area = reinterpret_cast<VipsArea*>(image.jp2ksave_buffer(VImage::option()
1018
- ->set("Q", baton->jp2Quality)
1019
- ->set("lossless", baton->jp2Lossless)
1020
- ->set("subsample_mode", baton->jp2ChromaSubsampling == "4:4:4"
1021
- ? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
1022
- ->set("tile_height", baton->jp2TileHeight)
1023
- ->set("tile_width", baton->jp2TileWidth)));
1024
- baton->bufferOut = static_cast<char*>(area->data);
1025
- baton->bufferOutLength = area->length;
1026
- area->free_fn = nullptr;
1027
- vips_area_unref(area);
1028
- baton->formatOut = "jp2";
1029
- } else if (baton->formatOut == "png" || (baton->formatOut == "input" &&
1030
- (inputImageType == sharp::ImageType::PNG || inputImageType == sharp::ImageType::SVG))) {
1031
- // Write PNG to buffer
1032
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::PNG);
1033
- VipsArea *area = reinterpret_cast<VipsArea*>(image.pngsave_buffer(VImage::option()
1034
- ->set("keep", baton->keepMetadata)
1035
- ->set("interlace", baton->pngProgressive)
1036
- ->set("compression", baton->pngCompressionLevel)
1037
- ->set("filter", baton->pngAdaptiveFiltering ? VIPS_FOREIGN_PNG_FILTER_ALL : VIPS_FOREIGN_PNG_FILTER_NONE)
1038
- ->set("palette", baton->pngPalette)
1039
- ->set("Q", baton->pngQuality)
1040
- ->set("effort", baton->pngEffort)
1041
- ->set("bitdepth", sharp::Is16Bit(image.interpretation()) ? 16 : baton->pngBitdepth)
1042
- ->set("dither", baton->pngDither)));
1043
- baton->bufferOut = static_cast<char*>(area->data);
1044
- baton->bufferOutLength = area->length;
1045
- area->free_fn = nullptr;
1046
- vips_area_unref(area);
1047
- baton->formatOut = "png";
1048
- } else if (baton->formatOut == "webp" ||
1049
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::WEBP)) {
1050
- // Write WEBP to buffer
1051
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::WEBP);
1052
- VipsArea *area = reinterpret_cast<VipsArea*>(image.webpsave_buffer(VImage::option()
1053
- ->set("keep", baton->keepMetadata)
1054
- ->set("Q", baton->webpQuality)
1055
- ->set("lossless", baton->webpLossless)
1056
- ->set("near_lossless", baton->webpNearLossless)
1057
- ->set("smart_subsample", baton->webpSmartSubsample)
1058
- ->set("smart_deblock", baton->webpSmartDeblock)
1059
- ->set("preset", baton->webpPreset)
1060
- ->set("effort", baton->webpEffort)
1061
- ->set("min_size", baton->webpMinSize)
1062
- ->set("mixed", baton->webpMixed)
1063
- ->set("exact", baton->webpExact)
1064
- ->set("alpha_q", baton->webpAlphaQuality)));
1065
- baton->bufferOut = static_cast<char*>(area->data);
1066
- baton->bufferOutLength = area->length;
1067
- area->free_fn = nullptr;
1068
- vips_area_unref(area);
1069
- baton->formatOut = "webp";
1070
- } else if (baton->formatOut == "gif" ||
1071
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::GIF)) {
1072
- // Write GIF to buffer
1073
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::GIF);
1074
- VipsArea *area = reinterpret_cast<VipsArea*>(image.gifsave_buffer(VImage::option()
1075
- ->set("keep", baton->keepMetadata)
1076
- ->set("bitdepth", baton->gifBitdepth)
1077
- ->set("effort", baton->gifEffort)
1078
- ->set("reuse", baton->gifReuse)
1079
- ->set("interlace", baton->gifProgressive)
1080
- ->set("interframe_maxerror", baton->gifInterFrameMaxError)
1081
- ->set("interpalette_maxerror", baton->gifInterPaletteMaxError)
1082
- ->set("keep_duplicate_frames", baton->gifKeepDuplicateFrames)
1083
- ->set("dither", baton->gifDither)));
1084
- baton->bufferOut = static_cast<char*>(area->data);
1085
- baton->bufferOutLength = area->length;
1086
- area->free_fn = nullptr;
1087
- vips_area_unref(area);
1088
- baton->formatOut = "gif";
1089
- } else if (baton->formatOut == "tiff" ||
1090
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::TIFF)) {
1091
- // Write TIFF to buffer
1092
- if (baton->tiffCompression == VIPS_FOREIGN_TIFF_COMPRESSION_JPEG) {
1093
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
1094
- baton->channels = std::min(baton->channels, 3);
1095
- baton->hasAlphaOut = false;
1096
- }
1097
- // Cast pixel values to float, if required
1098
- if (baton->tiffPredictor == VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT) {
1099
- image = image.cast(VIPS_FORMAT_FLOAT);
1100
- }
1101
- VipsArea *area = reinterpret_cast<VipsArea*>(image.tiffsave_buffer(VImage::option()
1102
- ->set("keep", baton->keepMetadata)
1103
- ->set("Q", baton->tiffQuality)
1104
- ->set("bitdepth", baton->tiffBitdepth)
1105
- ->set("compression", baton->tiffCompression)
1106
- ->set("bigtiff", baton->tiffBigtiff)
1107
- ->set("miniswhite", baton->tiffMiniswhite)
1108
- ->set("predictor", baton->tiffPredictor)
1109
- ->set("pyramid", baton->tiffPyramid)
1110
- ->set("tile", baton->tiffTile)
1111
- ->set("tile_height", baton->tiffTileHeight)
1112
- ->set("tile_width", baton->tiffTileWidth)
1113
- ->set("xres", baton->tiffXres)
1114
- ->set("yres", baton->tiffYres)
1115
- ->set("resunit", baton->tiffResolutionUnit)));
1116
- baton->bufferOut = static_cast<char*>(area->data);
1117
- baton->bufferOutLength = area->length;
1118
- area->free_fn = nullptr;
1119
- vips_area_unref(area);
1120
- baton->formatOut = "tiff";
1121
- } else if (baton->formatOut == "heif" ||
1122
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::HEIF)) {
1123
- // Write HEIF to buffer
1124
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::HEIF);
1125
- image = sharp::RemoveAnimationProperties(image);
1126
- VipsArea *area = reinterpret_cast<VipsArea*>(image.heifsave_buffer(VImage::option()
1127
- ->set("keep", baton->keepMetadata)
1128
- ->set("Q", baton->heifQuality)
1129
- ->set("compression", baton->heifCompression)
1130
- ->set("effort", baton->heifEffort)
1131
- ->set("bitdepth", baton->heifBitdepth)
1132
- ->set("tune", baton->heifTune.c_str())
1133
- ->set("subsample_mode", baton->heifChromaSubsampling == "4:4:4"
1134
- ? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
1135
- ->set("lossless", baton->heifLossless)));
1136
- baton->bufferOut = static_cast<char*>(area->data);
1137
- baton->bufferOutLength = area->length;
1138
- area->free_fn = nullptr;
1139
- vips_area_unref(area);
1140
- baton->formatOut = "heif";
1141
- } else if (baton->formatOut == "dz") {
1142
- // Write DZ to buffer
1143
- baton->tileContainer = VIPS_FOREIGN_DZ_CONTAINER_ZIP;
1144
- if (!image.has_alpha()) {
1145
- baton->tileBackground.pop_back();
1146
- }
1147
- image = sharp::StaySequential(image, baton->tileAngle != 0);
1148
- vips::VOption *options = BuildOptionsDZ(baton);
1149
- VipsArea *area = reinterpret_cast<VipsArea*>(image.dzsave_buffer(options));
1150
- baton->bufferOut = static_cast<char*>(area->data);
1151
- baton->bufferOutLength = area->length;
1152
- area->free_fn = nullptr;
1153
- vips_area_unref(area);
1154
- baton->formatOut = "dz";
1155
- if (baton->tileFormat == "jpeg") {
1156
- baton->hasAlphaOut = false;
1157
- }
1158
- } else if (baton->formatOut == "jxl" ||
1159
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::JXL)) {
1160
- // Write JXL to buffer
1161
- image = sharp::RemoveAnimationProperties(image);
1162
- VipsArea *area = reinterpret_cast<VipsArea*>(image.jxlsave_buffer(VImage::option()
1163
- ->set("keep", baton->keepMetadata)
1164
- ->set("distance", baton->jxlDistance)
1165
- ->set("tier", baton->jxlDecodingTier)
1166
- ->set("effort", baton->jxlEffort)
1167
- ->set("lossless", baton->jxlLossless)));
1168
- baton->bufferOut = static_cast<char*>(area->data);
1169
- baton->bufferOutLength = area->length;
1170
- area->free_fn = nullptr;
1171
- vips_area_unref(area);
1172
- baton->formatOut = "jxl";
1173
- } else if (baton->formatOut == "raw" ||
1174
- (baton->formatOut == "input" && inputImageType == sharp::ImageType::RAW)) {
1175
- // Write raw, uncompressed image data to buffer
1176
- if (baton->greyscale || image.interpretation() == VIPS_INTERPRETATION_B_W) {
1177
- // Extract first band for greyscale image
1178
- image = image[0];
1179
- baton->channels = 1;
1180
- }
1181
- if (image.format() != baton->rawDepth) {
1182
- // Cast pixels to requested format
1183
- image = image.cast(baton->rawDepth);
1184
- }
1185
- // Get raw image data
1186
- baton->bufferOut = static_cast<char*>(image.write_to_memory(&baton->bufferOutLength));
1187
- if (baton->bufferOut == nullptr) {
1188
- throw std::runtime_error("Could not allocate enough memory for raw output");
1189
- }
1190
- baton->formatOut = "raw";
1191
- } else {
1192
- // Unsupported output format
1193
- auto unsupported = std::string("Unsupported output format ");
1194
- if (baton->formatOut == "input") {
1195
- unsupported.append("when trying to match input format of ");
1196
- unsupported.append(ImageTypeId(inputImageType));
1197
- } else {
1198
- unsupported.append(baton->formatOut);
1199
- }
1200
- throw std::runtime_error(unsupported);
1201
- }
1202
- } else {
1203
- // File output
1204
- bool const isJpeg = sharp::IsJpeg(baton->fileOut);
1205
- bool const isPng = sharp::IsPng(baton->fileOut);
1206
- bool const isWebp = sharp::IsWebp(baton->fileOut);
1207
- bool const isGif = sharp::IsGif(baton->fileOut);
1208
- bool const isTiff = sharp::IsTiff(baton->fileOut);
1209
- bool const isJp2 = sharp::IsJp2(baton->fileOut);
1210
- bool const isHeif = sharp::IsHeif(baton->fileOut);
1211
- bool const isJxl = sharp::IsJxl(baton->fileOut);
1212
- bool const isDz = sharp::IsDz(baton->fileOut);
1213
- bool const isDzZip = sharp::IsDzZip(baton->fileOut);
1214
- bool const isV = sharp::IsV(baton->fileOut);
1215
- bool const mightMatchInput = baton->formatOut == "input";
1216
- bool const willMatchInput = mightMatchInput &&
1217
- !(isJpeg || isPng || isWebp || isGif || isTiff || isJp2 || isHeif || isDz || isDzZip || isV);
1218
-
1219
- if (baton->formatOut == "jpeg" || (mightMatchInput && isJpeg) ||
1220
- (willMatchInput && inputImageType == sharp::ImageType::JPEG)) {
1221
- // Write JPEG to file
1222
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
1223
- if (baton->keepGainMap) {
1224
- image = ReattachGainMap(image, gainMap, baton);
1225
- image.uhdrsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1226
- ->set("keep", baton->keepMetadata)
1227
- ->set("Q", baton->jpegQuality)
1228
- ->set("gainmap_scale_factor", gainMapScaleFactor));
1229
- } else {
1230
- image.jpegsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1231
- ->set("keep", baton->keepMetadata)
1232
- ->set("Q", baton->jpegQuality)
1233
- ->set("interlace", baton->jpegProgressive)
1234
- ->set("subsample_mode", baton->jpegChromaSubsampling == "4:4:4"
1235
- ? VIPS_FOREIGN_SUBSAMPLE_OFF
1236
- : VIPS_FOREIGN_SUBSAMPLE_ON)
1237
- ->set("trellis_quant", baton->jpegTrellisQuantisation)
1238
- ->set("quant_table", baton->jpegQuantisationTable)
1239
- ->set("overshoot_deringing", baton->jpegOvershootDeringing)
1240
- ->set("optimize_scans", baton->jpegOptimiseScans)
1241
- ->set("optimize_coding", baton->jpegOptimiseCoding));
1242
- }
1243
- baton->formatOut = "jpeg";
1244
- baton->channels = std::min(baton->channels, 3);
1245
- baton->hasAlphaOut = false;
1246
- } else if (baton->formatOut == "jp2" || (mightMatchInput && isJp2) ||
1247
- (willMatchInput && (inputImageType == sharp::ImageType::JP2))) {
1248
- // Write JP2 to file
1249
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JP2);
1250
- image.jp2ksave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1251
- ->set("Q", baton->jp2Quality)
1252
- ->set("lossless", baton->jp2Lossless)
1253
- ->set("subsample_mode", baton->jp2ChromaSubsampling == "4:4:4"
1254
- ? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
1255
- ->set("tile_height", baton->jp2TileHeight)
1256
- ->set("tile_width", baton->jp2TileWidth));
1257
- baton->formatOut = "jp2";
1258
- } else if (baton->formatOut == "png" || (mightMatchInput && isPng) || (willMatchInput &&
1259
- (inputImageType == sharp::ImageType::PNG || inputImageType == sharp::ImageType::SVG))) {
1260
- // Write PNG to file
1261
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::PNG);
1262
- image.pngsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1263
- ->set("keep", baton->keepMetadata)
1264
- ->set("interlace", baton->pngProgressive)
1265
- ->set("compression", baton->pngCompressionLevel)
1266
- ->set("filter", baton->pngAdaptiveFiltering ? VIPS_FOREIGN_PNG_FILTER_ALL : VIPS_FOREIGN_PNG_FILTER_NONE)
1267
- ->set("palette", baton->pngPalette)
1268
- ->set("Q", baton->pngQuality)
1269
- ->set("bitdepth", sharp::Is16Bit(image.interpretation()) ? 16 : baton->pngBitdepth)
1270
- ->set("effort", baton->pngEffort)
1271
- ->set("dither", baton->pngDither));
1272
- baton->formatOut = "png";
1273
- } else if (baton->formatOut == "webp" || (mightMatchInput && isWebp) ||
1274
- (willMatchInput && inputImageType == sharp::ImageType::WEBP)) {
1275
- // Write WEBP to file
1276
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::WEBP);
1277
- image.webpsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1278
- ->set("keep", baton->keepMetadata)
1279
- ->set("Q", baton->webpQuality)
1280
- ->set("lossless", baton->webpLossless)
1281
- ->set("near_lossless", baton->webpNearLossless)
1282
- ->set("smart_subsample", baton->webpSmartSubsample)
1283
- ->set("smart_deblock", baton->webpSmartDeblock)
1284
- ->set("preset", baton->webpPreset)
1285
- ->set("effort", baton->webpEffort)
1286
- ->set("min_size", baton->webpMinSize)
1287
- ->set("mixed", baton->webpMixed)
1288
- ->set("exact", baton->webpExact)
1289
- ->set("alpha_q", baton->webpAlphaQuality));
1290
- baton->formatOut = "webp";
1291
- } else if (baton->formatOut == "gif" || (mightMatchInput && isGif) ||
1292
- (willMatchInput && inputImageType == sharp::ImageType::GIF)) {
1293
- // Write GIF to file
1294
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::GIF);
1295
- image.gifsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1296
- ->set("keep", baton->keepMetadata)
1297
- ->set("bitdepth", baton->gifBitdepth)
1298
- ->set("effort", baton->gifEffort)
1299
- ->set("reuse", baton->gifReuse)
1300
- ->set("interlace", baton->gifProgressive)
1301
- ->set("interframe_maxerror", baton->gifInterFrameMaxError)
1302
- ->set("interpalette_maxerror", baton->gifInterPaletteMaxError)
1303
- ->set("keep_duplicate_frames", baton->gifKeepDuplicateFrames)
1304
- ->set("dither", baton->gifDither));
1305
- baton->formatOut = "gif";
1306
- } else if (baton->formatOut == "tiff" || (mightMatchInput && isTiff) ||
1307
- (willMatchInput && inputImageType == sharp::ImageType::TIFF)) {
1308
- // Write TIFF to file
1309
- if (baton->tiffCompression == VIPS_FOREIGN_TIFF_COMPRESSION_JPEG) {
1310
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
1311
- baton->channels = std::min(baton->channels, 3);
1312
- baton->hasAlphaOut = false;
1313
- }
1314
- // Cast pixel values to float, if required
1315
- if (baton->tiffPredictor == VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT) {
1316
- image = image.cast(VIPS_FORMAT_FLOAT);
1317
- }
1318
- image.tiffsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1319
- ->set("keep", baton->keepMetadata)
1320
- ->set("Q", baton->tiffQuality)
1321
- ->set("bitdepth", baton->tiffBitdepth)
1322
- ->set("compression", baton->tiffCompression)
1323
- ->set("bigtiff", baton->tiffBigtiff)
1324
- ->set("miniswhite", baton->tiffMiniswhite)
1325
- ->set("predictor", baton->tiffPredictor)
1326
- ->set("pyramid", baton->tiffPyramid)
1327
- ->set("tile", baton->tiffTile)
1328
- ->set("tile_height", baton->tiffTileHeight)
1329
- ->set("tile_width", baton->tiffTileWidth)
1330
- ->set("xres", baton->tiffXres)
1331
- ->set("yres", baton->tiffYres)
1332
- ->set("resunit", baton->tiffResolutionUnit));
1333
- baton->formatOut = "tiff";
1334
- } else if (baton->formatOut == "heif" || (mightMatchInput && isHeif) ||
1335
- (willMatchInput && inputImageType == sharp::ImageType::HEIF)) {
1336
- // Write HEIF to file
1337
- sharp::AssertImageTypeDimensions(image, sharp::ImageType::HEIF);
1338
- image = sharp::RemoveAnimationProperties(image);
1339
- image.heifsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1340
- ->set("keep", baton->keepMetadata)
1341
- ->set("Q", baton->heifQuality)
1342
- ->set("compression", baton->heifCompression)
1343
- ->set("effort", baton->heifEffort)
1344
- ->set("bitdepth", baton->heifBitdepth)
1345
- ->set("tune", baton->heifTune.c_str())
1346
- ->set("subsample_mode", baton->heifChromaSubsampling == "4:4:4"
1347
- ? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
1348
- ->set("lossless", baton->heifLossless));
1349
- baton->formatOut = "heif";
1350
- } else if (baton->formatOut == "jxl" || (mightMatchInput && isJxl) ||
1351
- (willMatchInput && inputImageType == sharp::ImageType::JXL)) {
1352
- // Write JXL to file
1353
- image = sharp::RemoveAnimationProperties(image);
1354
- image.jxlsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1355
- ->set("keep", baton->keepMetadata)
1356
- ->set("distance", baton->jxlDistance)
1357
- ->set("tier", baton->jxlDecodingTier)
1358
- ->set("effort", baton->jxlEffort)
1359
- ->set("lossless", baton->jxlLossless));
1360
- baton->formatOut = "jxl";
1361
- } else if (baton->formatOut == "dz" || isDz || isDzZip) {
1362
- // Write DZ to file
1363
- if (isDzZip) {
1364
- baton->tileContainer = VIPS_FOREIGN_DZ_CONTAINER_ZIP;
1365
- }
1366
- if (!image.has_alpha()) {
1367
- baton->tileBackground.pop_back();
1368
- }
1369
- image = sharp::StaySequential(image, baton->tileAngle != 0);
1370
- vips::VOption *options = BuildOptionsDZ(baton);
1371
- image.dzsave(const_cast<char*>(baton->fileOut.data()), options);
1372
- baton->formatOut = "dz";
1373
- if (baton->tileFormat == "jpeg") {
1374
- baton->hasAlphaOut = false;
1375
- }
1376
- } else if (baton->formatOut == "v" || (mightMatchInput && isV) ||
1377
- (willMatchInput && inputImageType == sharp::ImageType::VIPS)) {
1378
- // Write V to file
1379
- image.vipssave(const_cast<char*>(baton->fileOut.data()), VImage::option()
1380
- ->set("keep", baton->keepMetadata));
1381
- baton->formatOut = "v";
1382
- } else {
1383
- // Unsupported output format
1384
- (baton->err).append("Unsupported output format " + baton->fileOut);
1385
- return Error();
1386
- }
1387
- }
1388
- } catch (std::runtime_error const &err) {
1389
- char const *what = err.what();
1390
- if (what && what[0]) {
1391
- (baton->err).append(what);
1392
- } else {
1393
- if (baton->input->failOn == VIPS_FAIL_ON_WARNING) {
1394
- (baton->err).append("Warning treated as error due to failOn setting");
1395
- baton->errUseWarning = true;
1396
- } else {
1397
- (baton->err).append("Unknown error");
1398
- }
1399
- }
1400
- }
1401
- // Clean up libvips' per-request data and threads
1402
- vips_error_clear();
1403
- vips_thread_shutdown();
1404
- }
1405
-
1406
- void OnOK() {
1407
- Napi::Env env = Env();
1408
- Napi::HandleScope scope(env);
1409
-
1410
- // Handle warnings
1411
- std::string warning = sharp::VipsWarningPop();
1412
- while (!warning.empty()) {
1413
- if (baton->errUseWarning) {
1414
- (baton->err).append("\n").append(warning);
1415
- } else {
1416
- debuglog.SHARP_CALLBACK_FN_NAME(Receiver().Value(), { Napi::String::New(env, warning) });
1417
- }
1418
- warning = sharp::VipsWarningPop();
1419
- }
1420
- if (baton->err.empty()) {
1421
- int width = baton->width;
1422
- int height = baton->height;
1423
- if (baton->topOffsetPre != -1 && (baton->width == -1 || baton->height == -1)) {
1424
- width = baton->widthPre;
1425
- height = baton->heightPre;
1426
- }
1427
- if (baton->topOffsetPost != -1) {
1428
- width = baton->widthPost;
1429
- height = baton->heightPost;
1430
- }
1431
- // Info Object
1432
- Napi::Object info = Napi::Object::New(env);
1433
- info.Set("format", baton->formatOut);
1434
- info.Set("width", static_cast<uint32_t>(width));
1435
- info.Set("height", static_cast<uint32_t>(height));
1436
- info.Set("channels", static_cast<uint32_t>(baton->channels));
1437
- if (baton->formatOut == "raw") {
1438
- info.Set("depth", vips_enum_nick(VIPS_TYPE_BAND_FORMAT, baton->rawDepth));
1439
- }
1440
- info.Set("premultiplied", baton->premultiplied);
1441
- if (baton->hasCropOffset) {
1442
- info.Set("cropOffsetLeft", static_cast<int32_t>(baton->cropOffsetLeft));
1443
- info.Set("cropOffsetTop", static_cast<int32_t>(baton->cropOffsetTop));
1444
- }
1445
- if (baton->hasAttentionCenter) {
1446
- info.Set("attentionX", static_cast<int32_t>(baton->attentionX));
1447
- info.Set("attentionY", static_cast<int32_t>(baton->attentionY));
1448
- }
1449
- if (baton->trimThreshold >= 0.0) {
1450
- info.Set("trimOffsetLeft", static_cast<int32_t>(baton->trimOffsetLeft));
1451
- info.Set("trimOffsetTop", static_cast<int32_t>(baton->trimOffsetTop));
1452
- }
1453
- if (baton->input->textAutofitDpi) {
1454
- info.Set("textAutofitDpi", static_cast<uint32_t>(baton->input->textAutofitDpi));
1455
- }
1456
- if (baton->pageHeightOut) {
1457
- info.Set("pageHeight", static_cast<int32_t>(baton->pageHeightOut));
1458
- info.Set("pages", static_cast<int32_t>(baton->pagesOut));
1459
- }
1460
- info.Set("hasAlpha", baton->hasAlphaOut);
1461
-
1462
- if (baton->bufferOutLength > 0) {
1463
- info.Set("size", static_cast<uint32_t>(baton->bufferOutLength));
1464
- if (baton->typedArrayOut) {
1465
- // ECMAScript ArrayBuffer with Uint8Array view
1466
- Napi::TypedArrayOf<uint8_t> data = Napi::Buffer<char>::Copy(env,
1467
- static_cast<char*>(baton->bufferOut), baton->bufferOutLength);
1468
- sharp::FreeCallback(static_cast<char*>(baton->bufferOut), nullptr);
1469
- Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), data, info });
1470
- } else {
1471
- // Node.js Buffer
1472
- Napi::Buffer<char> data = Napi::Buffer<char>::NewOrCopy(env, static_cast<char*>(baton->bufferOut),
1473
- baton->bufferOutLength, sharp::FreeCallback);
1474
- Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), data, info });
1475
- }
1476
- } else {
1477
- // Add file size to info
1478
- if (baton->formatOut != "dz" || sharp::IsDzZip(baton->fileOut)) {
1479
- try {
1480
- uint32_t const size = static_cast<uint32_t>(
1481
- std::filesystem::file_size(std::filesystem::u8path(baton->fileOut)));
1482
- info.Set("size", size);
1483
- } catch (...) {}
1484
- }
1485
- Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), info });
1486
- }
1487
- } else {
1488
- Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(),
1489
- { Napi::Error::New(env, sharp::TrimEnd(baton->err)).Value() });
1490
- }
1491
-
1492
- // Delete baton
1493
- delete baton->input;
1494
- delete baton->boolean;
1495
- for (Composite *composite : baton->composite) {
1496
- delete composite->input;
1497
- delete composite;
1498
- }
1499
- for (sharp::InputDescriptor *input : baton->joinChannelIn) {
1500
- delete input;
1501
- }
1502
- for (sharp::InputDescriptor *input : baton->join) {
1503
- delete input;
1504
- }
1505
- delete baton;
1506
-
1507
- // Decrement processing task counter
1508
- sharp::counterProcess--;
1509
- Napi::Number queueLength = Napi::Number::New(env, static_cast<int>(sharp::counterQueue));
1510
- queueListener.SHARP_CALLBACK_FN_NAME(Receiver().Value(), { queueLength });
1511
- }
1512
-
1513
- private:
1514
- PipelineBaton *baton;
1515
- Napi::FunctionReference debuglog;
1516
- Napi::FunctionReference queueListener;
1517
-
1518
- void MultiPageUnsupported(int const pages, std::string op) {
1519
- if (pages > 1) {
1520
- throw std::runtime_error(op + " is not supported for multi-page images");
1521
- }
1522
- }
1523
-
1524
- void KeepGainMapUnsupported(bool const keepGainMap, std::string op) {
1525
- if (keepGainMap) {
1526
- throw std::runtime_error(op + " is not supported when keeping gain maps");
1527
- }
1528
- }
1529
-
1530
- /*
1531
- Calculate the angle of rotation and need-to-flip for the given Exif orientation
1532
- By default, returns zero, i.e. no rotation.
1533
- */
1534
- std::tuple<VipsAngle, bool>
1535
- CalculateExifRotationAndFlop(int const exifOrientation) {
1536
- VipsAngle rotate = VIPS_ANGLE_D0;
1537
- bool flop = false;
1538
- switch (exifOrientation) {
1539
- case 6: rotate = VIPS_ANGLE_D90; break;
1540
- case 3: rotate = VIPS_ANGLE_D180; break;
1541
- case 8: rotate = VIPS_ANGLE_D270; break;
1542
- case 2: flop = true; break;
1543
- case 7: flop = true; rotate = VIPS_ANGLE_D270; break;
1544
- case 4: flop = true; rotate = VIPS_ANGLE_D180; break;
1545
- case 5: flop = true; rotate = VIPS_ANGLE_D90; break;
1546
- }
1547
- return std::make_tuple(rotate, flop);
1548
- }
1549
-
1550
- /*
1551
- Calculate the rotation for the given angle.
1552
- Supports any positive or negative angle that is a multiple of 90.
1553
- */
1554
- VipsAngle
1555
- CalculateAngleRotation(int angle) {
1556
- angle = angle % 360;
1557
- if (angle < 0)
1558
- angle = 360 + angle;
1559
- switch (angle) {
1560
- case 90: return VIPS_ANGLE_D90;
1561
- case 180: return VIPS_ANGLE_D180;
1562
- case 270: return VIPS_ANGLE_D270;
1563
- }
1564
- return VIPS_ANGLE_D0;
1565
- }
1566
-
1567
- /*
1568
- Assemble the suffix argument to dzsave, which is the format (by extname)
1569
- alongside comma-separated arguments to the corresponding `formatsave` vips
1570
- action.
1571
- */
1572
- std::string
1573
- AssembleSuffixString(std::string extname, std::vector<std::pair<std::string, std::string>> options) {
1574
- std::string argument;
1575
- for (const auto& [key, value] : options) {
1576
- if (!argument.empty()) {
1577
- argument += ",";
1578
- }
1579
- argument += key + "=" + value;
1580
- }
1581
- return extname + "[" + argument + "]";
1582
- }
1583
-
1584
- /*
1585
- Build VOption for dzsave
1586
- */
1587
- vips::VOption*
1588
- BuildOptionsDZ(PipelineBaton *baton) {
1589
- // Forward format options through suffix
1590
- std::string suffix;
1591
- if (baton->tileFormat == "png") {
1592
- std::vector<std::pair<std::string, std::string>> options {
1593
- {"interlace", baton->pngProgressive ? "true" : "false"},
1594
- {"compression", std::to_string(baton->pngCompressionLevel)},
1595
- {"filter", baton->pngAdaptiveFiltering ? "all" : "none"}
1596
- };
1597
- suffix = AssembleSuffixString(".png", options);
1598
- } else if (baton->tileFormat == "webp") {
1599
- std::vector<std::pair<std::string, std::string>> options {
1600
- {"Q", std::to_string(baton->webpQuality)},
1601
- {"alpha_q", std::to_string(baton->webpAlphaQuality)},
1602
- {"lossless", baton->webpLossless ? "true" : "false"},
1603
- {"near_lossless", baton->webpNearLossless ? "true" : "false"},
1604
- {"smart_subsample", baton->webpSmartSubsample ? "true" : "false"},
1605
- {"smart_deblock", baton->webpSmartDeblock ? "true" : "false"},
1606
- {"preset", vips_enum_nick(VIPS_TYPE_FOREIGN_WEBP_PRESET, baton->webpPreset)},
1607
- {"min_size", baton->webpMinSize ? "true" : "false"},
1608
- {"mixed", baton->webpMixed ? "true" : "false"},
1609
- {"exact", baton->webpExact ? "true" : "false"},
1610
- {"effort", std::to_string(baton->webpEffort)}
1611
- };
1612
- suffix = AssembleSuffixString(".webp", options);
1613
- } else {
1614
- std::vector<std::pair<std::string, std::string>> options {
1615
- {"Q", std::to_string(baton->jpegQuality)},
1616
- {"interlace", baton->jpegProgressive ? "true" : "false"},
1617
- {"subsample_mode", baton->jpegChromaSubsampling == "4:4:4" ? "off" : "on"},
1618
- {"trellis_quant", baton->jpegTrellisQuantisation ? "true" : "false"},
1619
- {"quant_table", std::to_string(baton->jpegQuantisationTable)},
1620
- {"overshoot_deringing", baton->jpegOvershootDeringing ? "true": "false"},
1621
- {"optimize_scans", baton->jpegOptimiseScans ? "true": "false"},
1622
- {"optimize_coding", baton->jpegOptimiseCoding ? "true": "false"}
1623
- };
1624
- std::string extname = baton->tileLayout == VIPS_FOREIGN_DZ_LAYOUT_DZ ? ".jpeg" : ".jpg";
1625
- suffix = AssembleSuffixString(extname, options);
1626
- }
1627
- vips::VOption *options = VImage::option()
1628
- ->set("keep", baton->keepMetadata)
1629
- ->set("tile_size", baton->tileSize)
1630
- ->set("overlap", baton->tileOverlap)
1631
- ->set("container", baton->tileContainer)
1632
- ->set("layout", baton->tileLayout)
1633
- ->set("suffix", const_cast<char*>(suffix.data()))
1634
- ->set("angle", CalculateAngleRotation(baton->tileAngle))
1635
- ->set("background", baton->tileBackground)
1636
- ->set("centre", baton->tileCentre)
1637
- ->set("id", const_cast<char*>(baton->tileId.data()))
1638
- ->set("skip_blanks", baton->tileSkipBlanks);
1639
- if (baton->tileDepth < VIPS_FOREIGN_DZ_DEPTH_LAST) {
1640
- options->set("depth", baton->tileDepth);
1641
- }
1642
- if (!baton->tileBasename.empty()) {
1643
- options->set("basename", const_cast<char*>(baton->tileBasename.data()));
1644
- }
1645
- return options;
1646
- }
1647
-
1648
- VImage ReattachGainMap(VImage image, VImage gainMap, PipelineBaton *baton) {
1649
- VipsArea *gainMapJpeg = reinterpret_cast<VipsArea*>(gainMap.jpegsave_buffer(VImage::option()
1650
- ->set("keep", FALSE)
1651
- ->set("Q", baton->jpegQuality)
1652
- ->set("subsample_mode", VIPS_FOREIGN_SUBSAMPLE_OFF)
1653
- ->set("trellis_quant", baton->jpegTrellisQuantisation)
1654
- ->set("quant_table", baton->jpegQuantisationTable)
1655
- ->set("overshoot_deringing", baton->jpegOvershootDeringing)
1656
- ->set("optimize_coding", baton->jpegOptimiseCoding)));
1657
- image = image.copy();
1658
- image.set("gainmap-data", reinterpret_cast<VipsCallbackFn>(vips_area_free_cb),
1659
- gainMapJpeg->data, gainMapJpeg->length);
1660
- return image;
1661
- }
1662
-
1663
- /*
1664
- Clear all thread-local data.
1665
- */
1666
- void Error() {
1667
- // Clean up libvips' per-request data and threads
1668
- vips_error_clear();
1669
- vips_thread_shutdown();
1670
- }
1671
- };
1672
-
1673
- /*
1674
- pipeline(options, output, callback)
1675
- */
1676
- Napi::Value pipeline(const Napi::CallbackInfo& info) {
1677
- // V8 objects are converted to non-V8 types held in the baton struct
1678
- PipelineBaton *baton = new PipelineBaton;
1679
- Napi::Object options = info[size_t(0)].As<Napi::Object>();
1680
-
1681
- // Input
1682
- baton->input = sharp::CreateInputDescriptor(options.Get("input").As<Napi::Object>());
1683
- // Join images together
1684
- if (sharp::HasAttr(options, "join")) {
1685
- Napi::Array join = options.Get("join").As<Napi::Array>();
1686
- for (unsigned int i = 0; i < join.Length(); i++) {
1687
- baton->join.push_back(
1688
- sharp::CreateInputDescriptor(join.Get(i).As<Napi::Object>()));
1689
- }
1690
- }
1691
- // Extract image options
1692
- baton->topOffsetPre = sharp::AttrAsInt32(options, "topOffsetPre");
1693
- baton->leftOffsetPre = sharp::AttrAsInt32(options, "leftOffsetPre");
1694
- baton->widthPre = sharp::AttrAsInt32(options, "widthPre");
1695
- baton->heightPre = sharp::AttrAsInt32(options, "heightPre");
1696
- baton->topOffsetPost = sharp::AttrAsInt32(options, "topOffsetPost");
1697
- baton->leftOffsetPost = sharp::AttrAsInt32(options, "leftOffsetPost");
1698
- baton->widthPost = sharp::AttrAsInt32(options, "widthPost");
1699
- baton->heightPost = sharp::AttrAsInt32(options, "heightPost");
1700
- // Output image dimensions
1701
- baton->width = sharp::AttrAsInt32(options, "width");
1702
- baton->height = sharp::AttrAsInt32(options, "height");
1703
- // Canvas option
1704
- std::string canvas = sharp::AttrAsStr(options, "canvas");
1705
- if (canvas == "crop") {
1706
- baton->canvas = sharp::Canvas::CROP;
1707
- } else if (canvas == "embed") {
1708
- baton->canvas = sharp::Canvas::EMBED;
1709
- } else if (canvas == "max") {
1710
- baton->canvas = sharp::Canvas::MAX;
1711
- } else if (canvas == "min") {
1712
- baton->canvas = sharp::Canvas::MIN;
1713
- } else if (canvas == "ignore_aspect") {
1714
- baton->canvas = sharp::Canvas::IGNORE_ASPECT;
1715
- }
1716
- // Composite
1717
- Napi::Array compositeArray = options.Get("composite").As<Napi::Array>();
1718
- for (unsigned int i = 0; i < compositeArray.Length(); i++) {
1719
- Napi::Object compositeObject = compositeArray.Get(i).As<Napi::Object>();
1720
- Composite *composite = new Composite;
1721
- composite->input = sharp::CreateInputDescriptor(compositeObject.Get("input").As<Napi::Object>());
1722
- composite->mode = sharp::AttrAsEnum<VipsBlendMode>(compositeObject, "blend", VIPS_TYPE_BLEND_MODE);
1723
- composite->gravity = sharp::AttrAsUint32(compositeObject, "gravity");
1724
- composite->left = sharp::AttrAsInt32(compositeObject, "left");
1725
- composite->top = sharp::AttrAsInt32(compositeObject, "top");
1726
- composite->hasOffset = sharp::AttrAsBool(compositeObject, "hasOffset");
1727
- composite->tile = sharp::AttrAsBool(compositeObject, "tile");
1728
- composite->premultiplied = sharp::AttrAsBool(compositeObject, "premultiplied");
1729
- baton->composite.push_back(composite);
1730
- }
1731
- // Resize options
1732
- baton->withoutEnlargement = sharp::AttrAsBool(options, "withoutEnlargement");
1733
- baton->withoutReduction = sharp::AttrAsBool(options, "withoutReduction");
1734
- baton->position = sharp::AttrAsInt32(options, "position");
1735
- baton->resizeBackground = sharp::AttrAsVectorOfDouble(options, "resizeBackground");
1736
- baton->kernel = sharp::AttrAsEnum<VipsKernel>(options, "kernel", VIPS_TYPE_KERNEL);
1737
- baton->fastShrinkOnLoad = sharp::AttrAsBool(options, "fastShrinkOnLoad");
1738
- // Join Channel Options
1739
- if (options.Has("joinChannelIn")) {
1740
- Napi::Array joinChannelArray = options.Get("joinChannelIn").As<Napi::Array>();
1741
- for (unsigned int i = 0; i < joinChannelArray.Length(); i++) {
1742
- baton->joinChannelIn.push_back(
1743
- sharp::CreateInputDescriptor(joinChannelArray.Get(i).As<Napi::Object>()));
1744
- }
1745
- }
1746
- // Operators
1747
- baton->flatten = sharp::AttrAsBool(options, "flatten");
1748
- baton->flattenBackground = sharp::AttrAsVectorOfDouble(options, "flattenBackground");
1749
- baton->unflatten = sharp::AttrAsBool(options, "unflatten");
1750
- baton->negate = sharp::AttrAsBool(options, "negate");
1751
- baton->negateAlpha = sharp::AttrAsBool(options, "negateAlpha");
1752
- baton->blurSigma = sharp::AttrAsDouble(options, "blurSigma");
1753
- baton->precision = sharp::AttrAsEnum<VipsPrecision>(options, "precision", VIPS_TYPE_PRECISION);
1754
- baton->minAmpl = sharp::AttrAsDouble(options, "minAmpl");
1755
- baton->brightness = sharp::AttrAsDouble(options, "brightness");
1756
- baton->saturation = sharp::AttrAsDouble(options, "saturation");
1757
- baton->hue = sharp::AttrAsInt32(options, "hue");
1758
- baton->lightness = sharp::AttrAsDouble(options, "lightness");
1759
- baton->medianSize = sharp::AttrAsUint32(options, "medianSize");
1760
- baton->sharpenSigma = sharp::AttrAsDouble(options, "sharpenSigma");
1761
- baton->sharpenM1 = sharp::AttrAsDouble(options, "sharpenM1");
1762
- baton->sharpenM2 = sharp::AttrAsDouble(options, "sharpenM2");
1763
- baton->sharpenX1 = sharp::AttrAsDouble(options, "sharpenX1");
1764
- baton->sharpenY2 = sharp::AttrAsDouble(options, "sharpenY2");
1765
- baton->sharpenY3 = sharp::AttrAsDouble(options, "sharpenY3");
1766
- baton->threshold = sharp::AttrAsInt32(options, "threshold");
1767
- baton->thresholdGrayscale = sharp::AttrAsBool(options, "thresholdGrayscale");
1768
- baton->trimBackground = sharp::AttrAsVectorOfDouble(options, "trimBackground");
1769
- baton->trimThreshold = sharp::AttrAsDouble(options, "trimThreshold");
1770
- baton->trimLineArt = sharp::AttrAsBool(options, "trimLineArt");
1771
- baton->trimMargin = sharp::AttrAsUint32(options, "trimMargin");
1772
- baton->gamma = sharp::AttrAsDouble(options, "gamma");
1773
- baton->gammaOut = sharp::AttrAsDouble(options, "gammaOut");
1774
- baton->linearA = sharp::AttrAsVectorOfDouble(options, "linearA");
1775
- baton->linearB = sharp::AttrAsVectorOfDouble(options, "linearB");
1776
- baton->dilateWidth = sharp::AttrAsUint32(options, "dilateWidth");
1777
- baton->erodeWidth = sharp::AttrAsUint32(options, "erodeWidth");
1778
- baton->greyscale = sharp::AttrAsBool(options, "greyscale");
1779
- baton->normalise = sharp::AttrAsBool(options, "normalise");
1780
- baton->normaliseLower = sharp::AttrAsUint32(options, "normaliseLower");
1781
- baton->normaliseUpper = sharp::AttrAsUint32(options, "normaliseUpper");
1782
- baton->tint = sharp::AttrAsVectorOfDouble(options, "tint");
1783
- baton->claheWidth = sharp::AttrAsUint32(options, "claheWidth");
1784
- baton->claheHeight = sharp::AttrAsUint32(options, "claheHeight");
1785
- baton->claheMaxSlope = sharp::AttrAsUint32(options, "claheMaxSlope");
1786
- baton->angle = sharp::AttrAsInt32(options, "angle");
1787
- baton->rotationAngle = sharp::AttrAsDouble(options, "rotationAngle");
1788
- baton->rotationBackground = sharp::AttrAsVectorOfDouble(options, "rotationBackground");
1789
- baton->rotateBefore = sharp::AttrAsBool(options, "rotateBefore");
1790
- baton->orientBefore = sharp::AttrAsBool(options, "orientBefore");
1791
- baton->flip = sharp::AttrAsBool(options, "flip");
1792
- baton->flop = sharp::AttrAsBool(options, "flop");
1793
- baton->extendTop = sharp::AttrAsInt32(options, "extendTop");
1794
- baton->extendBottom = sharp::AttrAsInt32(options, "extendBottom");
1795
- baton->extendLeft = sharp::AttrAsInt32(options, "extendLeft");
1796
- baton->extendRight = sharp::AttrAsInt32(options, "extendRight");
1797
- baton->extendBackground = sharp::AttrAsVectorOfDouble(options, "extendBackground");
1798
- baton->extendWith = sharp::AttrAsEnum<VipsExtend>(options, "extendWith", VIPS_TYPE_EXTEND);
1799
- baton->extractChannel = sharp::AttrAsInt32(options, "extractChannel");
1800
- baton->affineMatrix = sharp::AttrAsVectorOfDouble(options, "affineMatrix");
1801
- baton->affineBackground = sharp::AttrAsVectorOfDouble(options, "affineBackground");
1802
- baton->affineIdx = sharp::AttrAsDouble(options, "affineIdx");
1803
- baton->affineIdy = sharp::AttrAsDouble(options, "affineIdy");
1804
- baton->affineOdx = sharp::AttrAsDouble(options, "affineOdx");
1805
- baton->affineOdy = sharp::AttrAsDouble(options, "affineOdy");
1806
- baton->affineInterpolator = sharp::AttrAsStr(options, "affineInterpolator");
1807
- baton->removeAlpha = sharp::AttrAsBool(options, "removeAlpha");
1808
- baton->ensureAlpha = sharp::AttrAsDouble(options, "ensureAlpha");
1809
- if (options.Has("boolean")) {
1810
- baton->boolean = sharp::CreateInputDescriptor(options.Get("boolean").As<Napi::Object>());
1811
- baton->booleanOp = sharp::AttrAsEnum<VipsOperationBoolean>(options, "booleanOp", VIPS_TYPE_OPERATION_BOOLEAN);
1812
- }
1813
- if (options.Has("bandBoolOp")) {
1814
- baton->bandBoolOp = sharp::AttrAsEnum<VipsOperationBoolean>(options, "bandBoolOp", VIPS_TYPE_OPERATION_BOOLEAN);
1815
- }
1816
- if (options.Has("convKernel")) {
1817
- Napi::Object kernel = options.Get("convKernel").As<Napi::Object>();
1818
- baton->convKernelWidth = sharp::AttrAsUint32(kernel, "width");
1819
- baton->convKernelHeight = sharp::AttrAsUint32(kernel, "height");
1820
- baton->convKernelScale = sharp::AttrAsDouble(kernel, "scale");
1821
- baton->convKernelOffset = sharp::AttrAsDouble(kernel, "offset");
1822
- size_t const kernelSize = static_cast<size_t>(baton->convKernelWidth * baton->convKernelHeight);
1823
- baton->convKernel.resize(kernelSize);
1824
- Napi::Array kdata = kernel.Get("kernel").As<Napi::Array>();
1825
- for (unsigned int i = 0; i < kernelSize; i++) {
1826
- baton->convKernel[i] = sharp::AttrAsDouble(kdata, i);
1827
- }
1828
- }
1829
- if (options.Has("recombMatrix")) {
1830
- Napi::Array recombMatrix = options.Get("recombMatrix").As<Napi::Array>();
1831
- unsigned int matrixElements = recombMatrix.Length();
1832
- baton->recombMatrix.resize(matrixElements);
1833
- for (unsigned int i = 0; i < matrixElements; i++) {
1834
- baton->recombMatrix[i] = sharp::AttrAsDouble(recombMatrix, i);
1835
- }
1836
- }
1837
- baton->colourspacePipeline = sharp::AttrAsEnum<VipsInterpretation>(
1838
- options, "colourspacePipeline", VIPS_TYPE_INTERPRETATION);
1839
- if (baton->colourspacePipeline == VIPS_INTERPRETATION_ERROR) {
1840
- baton->colourspacePipeline = VIPS_INTERPRETATION_LAST;
1841
- }
1842
- baton->colourspace = sharp::AttrAsEnum<VipsInterpretation>(options, "colourspace", VIPS_TYPE_INTERPRETATION);
1843
- if (baton->colourspace == VIPS_INTERPRETATION_ERROR) {
1844
- baton->colourspace = VIPS_INTERPRETATION_sRGB;
1845
- }
1846
- // Output
1847
- baton->formatOut = sharp::AttrAsStr(options, "formatOut");
1848
- baton->fileOut = sharp::AttrAsStr(options, "fileOut");
1849
- baton->typedArrayOut = sharp::AttrAsBool(options, "typedArrayOut");
1850
- baton->keepMetadata = sharp::AttrAsUint32(options, "keepMetadata");
1851
- baton->withMetadataOrientation = sharp::AttrAsUint32(options, "withMetadataOrientation");
1852
- baton->withMetadataDensity = sharp::AttrAsDouble(options, "withMetadataDensity");
1853
- baton->withIccProfile = sharp::AttrAsStr(options, "withIccProfile");
1854
- Napi::Object withExif = options.Get("withExif").As<Napi::Object>();
1855
- Napi::Array withExifKeys = withExif.GetPropertyNames();
1856
- for (unsigned int i = 0; i < withExifKeys.Length(); i++) {
1857
- std::string k = sharp::AttrAsStr(withExifKeys, i);
1858
- if (withExif.HasOwnProperty(k)) {
1859
- baton->withExif.insert(std::make_pair(k, sharp::AttrAsStr(withExif, k)));
1860
- }
1861
- }
1862
- baton->withExifMerge = sharp::AttrAsBool(options, "withExifMerge");
1863
- baton->withXmp = sharp::AttrAsStr(options, "withXmp");
1864
- baton->keepGainMap = sharp::AttrAsBool(options, "keepGainMap");
1865
- baton->withGainMap = sharp::AttrAsBool(options, "withGainMap");
1866
- baton->timeoutSeconds = sharp::AttrAsUint32(options, "timeoutSeconds");
1867
- baton->loop = sharp::AttrAsUint32(options, "loop");
1868
- baton->delay = sharp::AttrAsInt32Vector(options, "delay");
1869
- // Format-specific
1870
- baton->jpegQuality = sharp::AttrAsUint32(options, "jpegQuality");
1871
- baton->jpegProgressive = sharp::AttrAsBool(options, "jpegProgressive");
1872
- baton->jpegChromaSubsampling = sharp::AttrAsStr(options, "jpegChromaSubsampling");
1873
- baton->jpegTrellisQuantisation = sharp::AttrAsBool(options, "jpegTrellisQuantisation");
1874
- baton->jpegQuantisationTable = sharp::AttrAsUint32(options, "jpegQuantisationTable");
1875
- baton->jpegOvershootDeringing = sharp::AttrAsBool(options, "jpegOvershootDeringing");
1876
- baton->jpegOptimiseScans = sharp::AttrAsBool(options, "jpegOptimiseScans");
1877
- baton->jpegOptimiseCoding = sharp::AttrAsBool(options, "jpegOptimiseCoding");
1878
- baton->pngProgressive = sharp::AttrAsBool(options, "pngProgressive");
1879
- baton->pngCompressionLevel = sharp::AttrAsUint32(options, "pngCompressionLevel");
1880
- baton->pngAdaptiveFiltering = sharp::AttrAsBool(options, "pngAdaptiveFiltering");
1881
- baton->pngPalette = sharp::AttrAsBool(options, "pngPalette");
1882
- baton->pngQuality = sharp::AttrAsUint32(options, "pngQuality");
1883
- baton->pngEffort = sharp::AttrAsUint32(options, "pngEffort");
1884
- baton->pngBitdepth = sharp::AttrAsUint32(options, "pngBitdepth");
1885
- baton->pngDither = sharp::AttrAsDouble(options, "pngDither");
1886
- baton->jp2Quality = sharp::AttrAsUint32(options, "jp2Quality");
1887
- baton->jp2Lossless = sharp::AttrAsBool(options, "jp2Lossless");
1888
- baton->jp2TileHeight = sharp::AttrAsUint32(options, "jp2TileHeight");
1889
- baton->jp2TileWidth = sharp::AttrAsUint32(options, "jp2TileWidth");
1890
- baton->jp2ChromaSubsampling = sharp::AttrAsStr(options, "jp2ChromaSubsampling");
1891
- baton->webpQuality = sharp::AttrAsUint32(options, "webpQuality");
1892
- baton->webpAlphaQuality = sharp::AttrAsUint32(options, "webpAlphaQuality");
1893
- baton->webpLossless = sharp::AttrAsBool(options, "webpLossless");
1894
- baton->webpNearLossless = sharp::AttrAsBool(options, "webpNearLossless");
1895
- baton->webpSmartSubsample = sharp::AttrAsBool(options, "webpSmartSubsample");
1896
- baton->webpSmartDeblock = sharp::AttrAsBool(options, "webpSmartDeblock");
1897
- baton->webpPreset = sharp::AttrAsEnum<VipsForeignWebpPreset>(options, "webpPreset", VIPS_TYPE_FOREIGN_WEBP_PRESET);
1898
- baton->webpEffort = sharp::AttrAsUint32(options, "webpEffort");
1899
- baton->webpMinSize = sharp::AttrAsBool(options, "webpMinSize");
1900
- baton->webpMixed = sharp::AttrAsBool(options, "webpMixed");
1901
- baton->webpExact = sharp::AttrAsBool(options, "webpExact");
1902
- baton->gifBitdepth = sharp::AttrAsUint32(options, "gifBitdepth");
1903
- baton->gifEffort = sharp::AttrAsUint32(options, "gifEffort");
1904
- baton->gifDither = sharp::AttrAsDouble(options, "gifDither");
1905
- baton->gifInterFrameMaxError = sharp::AttrAsDouble(options, "gifInterFrameMaxError");
1906
- baton->gifInterPaletteMaxError = sharp::AttrAsDouble(options, "gifInterPaletteMaxError");
1907
- baton->gifKeepDuplicateFrames = sharp::AttrAsBool(options, "gifKeepDuplicateFrames");
1908
- baton->gifReuse = sharp::AttrAsBool(options, "gifReuse");
1909
- baton->gifProgressive = sharp::AttrAsBool(options, "gifProgressive");
1910
- baton->tiffQuality = sharp::AttrAsUint32(options, "tiffQuality");
1911
- baton->tiffBigtiff = sharp::AttrAsBool(options, "tiffBigtiff");
1912
- baton->tiffPyramid = sharp::AttrAsBool(options, "tiffPyramid");
1913
- baton->tiffMiniswhite = sharp::AttrAsBool(options, "tiffMiniswhite");
1914
- baton->tiffBitdepth = sharp::AttrAsUint32(options, "tiffBitdepth");
1915
- baton->tiffTile = sharp::AttrAsBool(options, "tiffTile");
1916
- baton->tiffTileWidth = sharp::AttrAsUint32(options, "tiffTileWidth");
1917
- baton->tiffTileHeight = sharp::AttrAsUint32(options, "tiffTileHeight");
1918
- baton->tiffXres = sharp::AttrAsDouble(options, "tiffXres");
1919
- baton->tiffYres = sharp::AttrAsDouble(options, "tiffYres");
1920
- if (baton->tiffXres == 1.0 && baton->tiffYres == 1.0 && baton->withMetadataDensity > 0) {
1921
- baton->tiffXres = baton->tiffYres = baton->withMetadataDensity / 25.4;
1922
- }
1923
- baton->tiffCompression = sharp::AttrAsEnum<VipsForeignTiffCompression>(
1924
- options, "tiffCompression", VIPS_TYPE_FOREIGN_TIFF_COMPRESSION);
1925
- baton->tiffPredictor = sharp::AttrAsEnum<VipsForeignTiffPredictor>(
1926
- options, "tiffPredictor", VIPS_TYPE_FOREIGN_TIFF_PREDICTOR);
1927
- baton->tiffResolutionUnit = sharp::AttrAsEnum<VipsForeignTiffResunit>(
1928
- options, "tiffResolutionUnit", VIPS_TYPE_FOREIGN_TIFF_RESUNIT);
1929
- baton->heifQuality = sharp::AttrAsUint32(options, "heifQuality");
1930
- baton->heifLossless = sharp::AttrAsBool(options, "heifLossless");
1931
- baton->heifCompression = sharp::AttrAsEnum<VipsForeignHeifCompression>(
1932
- options, "heifCompression", VIPS_TYPE_FOREIGN_HEIF_COMPRESSION);
1933
- baton->heifEffort = sharp::AttrAsUint32(options, "heifEffort");
1934
- baton->heifChromaSubsampling = sharp::AttrAsStr(options, "heifChromaSubsampling");
1935
- baton->heifBitdepth = sharp::AttrAsUint32(options, "heifBitdepth");
1936
- baton->heifTune = sharp::AttrAsStr(options, "heifTune");
1937
- baton->jxlDistance = sharp::AttrAsDouble(options, "jxlDistance");
1938
- baton->jxlDecodingTier = sharp::AttrAsUint32(options, "jxlDecodingTier");
1939
- baton->jxlEffort = sharp::AttrAsUint32(options, "jxlEffort");
1940
- baton->jxlLossless = sharp::AttrAsBool(options, "jxlLossless");
1941
- baton->rawDepth = sharp::AttrAsEnum<VipsBandFormat>(options, "rawDepth", VIPS_TYPE_BAND_FORMAT);
1942
- baton->tileSize = sharp::AttrAsUint32(options, "tileSize");
1943
- baton->tileOverlap = sharp::AttrAsUint32(options, "tileOverlap");
1944
- baton->tileAngle = sharp::AttrAsInt32(options, "tileAngle");
1945
- baton->tileBackground = sharp::AttrAsVectorOfDouble(options, "tileBackground");
1946
- baton->tileSkipBlanks = sharp::AttrAsInt32(options, "tileSkipBlanks");
1947
- baton->tileContainer = sharp::AttrAsEnum<VipsForeignDzContainer>(
1948
- options, "tileContainer", VIPS_TYPE_FOREIGN_DZ_CONTAINER);
1949
- baton->tileLayout = sharp::AttrAsEnum<VipsForeignDzLayout>(options, "tileLayout", VIPS_TYPE_FOREIGN_DZ_LAYOUT);
1950
- baton->tileFormat = sharp::AttrAsStr(options, "tileFormat");
1951
- baton->tileDepth = sharp::AttrAsEnum<VipsForeignDzDepth>(options, "tileDepth", VIPS_TYPE_FOREIGN_DZ_DEPTH);
1952
- baton->tileCentre = sharp::AttrAsBool(options, "tileCentre");
1953
- baton->tileId = sharp::AttrAsStr(options, "tileId");
1954
- baton->tileBasename = sharp::AttrAsStr(options, "tileBasename");
1955
-
1956
- // Function to notify of libvips warnings
1957
- Napi::Function debuglog = options.Get("debuglog").As<Napi::Function>();
1958
-
1959
- // Function to notify of queue length changes
1960
- Napi::Function queueListener = options.Get("queueListener").As<Napi::Function>();
1961
-
1962
- // Join queue for worker thread
1963
- Napi::Function callback = info[size_t(1)].As<Napi::Function>();
1964
- PipelineWorker *worker = new PipelineWorker(callback, baton, debuglog, queueListener);
1965
- worker->Receiver().Set("options", options);
1966
- worker->Queue();
1967
-
1968
- // Increment queued task counter
1969
- Napi::Number queueLength = Napi::Number::New(info.Env(), static_cast<int>(++sharp::counterQueue));
1970
- queueListener.SHARP_CALLBACK_FN_NAME(info.This(), { queueLength });
1971
-
1972
- return info.Env().Undefined();
1973
- }