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,2217 +0,0 @@
1
- 'use strict';
2
-
3
- var test = require('tape');
4
- var qs = require('../');
5
- var utils = require('../lib/utils');
6
- var iconv = require('iconv-lite');
7
- var SaferBuffer = require('safer-buffer').Buffer;
8
- var url = require('url');
9
- var hasSymbols = require('has-symbols');
10
- var mockProperty = require('mock-property');
11
- var emptyTestCases = require('./empty-keys-cases').emptyTestCases;
12
- var hasProto = require('has-proto')();
13
- var hasBigInt = require('has-bigints')();
14
-
15
- test('stringify()', function (t) {
16
- t.test('stringifies a querystring object', function (st) {
17
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
18
- st.equal(qs.stringify({ a: 1 }), 'a=1');
19
- st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2');
20
- st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z');
21
- st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC');
22
- st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80');
23
- st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90');
24
- st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7');
25
- st.end();
26
- });
27
-
28
- t.test('stringifies lone surrogates as U+FFFD', function (st) {
29
- st.equal(qs.stringify({ a: '\uD800x' }), 'a=%EF%BF%BDx', 'lone high surrogate does not swallow the next character');
30
- st.equal(qs.stringify({ a: '\uDC00x' }), 'a=%EF%BF%BDx', 'lone low surrogate does not swallow the next character');
31
- st.equal(qs.stringify({ '\uD800': 'b' }), '%EF%BF%BD=b', 'lone surrogate in a key');
32
- st.deepEqual(qs.parse(qs.stringify({ a: 'x\uD800y' })), { a: 'x\uFFFDy' }, 'parses back with U+FFFD in place of the lone surrogate');
33
- st.equal(qs.stringify({ '\uDC00': 'b' }), '%EF%BF%BD=b', 'lone low surrogate in a key');
34
- st.equal(qs.stringify({ a: { 'b\uD800': 'c' } }), 'a%5Bb%EF%BF%BD%5D=c', 'lone surrogate in a nested key does not swallow the closing bracket');
35
- st.equal(qs.stringify({ a: '\uD800 x' }, { format: 'RFC1738' }), 'a=%EF%BF%BD+x', 'lone surrogate does not swallow a space in RFC1738');
36
- st.equal(
37
- qs.stringify({ 'a\uD800': { b: 'c' } }, { allowDots: true, encodeDotInKeys: true }),
38
- 'a%EF%BF%BD.b=c',
39
- 'lone surrogate does not swallow a dot separator'
40
- );
41
- st.equal(qs.stringify({ a: ['x\uD800', 'y'] }, { arrayFormat: 'comma' }), 'a=x%EF%BF%BD%2Cy', 'lone surrogate does not swallow a comma');
42
- st.equal(
43
- qs.stringify({ a: ['x\uD800', 'y'] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
44
- 'a=x%EF%BF%BD,y',
45
- 'lone surrogate at the end of a comma-joined element encodes as U+FFFD'
46
- );
47
- st.end();
48
- });
49
-
50
- t.test('stringifies falsy values', function (st) {
51
- st.equal(qs.stringify(undefined), '');
52
- st.equal(qs.stringify(null), '');
53
- st.equal(qs.stringify(null, { strictNullHandling: true }), '');
54
- st.equal(qs.stringify(false), '');
55
- st.equal(qs.stringify(0), '');
56
- st.end();
57
- });
58
-
59
- t.test('stringifies symbols', { skip: !hasSymbols() }, function (st) {
60
- st.equal(qs.stringify(Symbol.iterator), '');
61
- st.equal(qs.stringify([Symbol.iterator]), '0=Symbol%28Symbol.iterator%29');
62
- st.equal(qs.stringify({ a: Symbol.iterator }), 'a=Symbol%28Symbol.iterator%29');
63
- st.equal(
64
- qs.stringify({ a: [Symbol.iterator] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
65
- 'a[]=Symbol%28Symbol.iterator%29'
66
- );
67
- st.end();
68
- });
69
-
70
- t.test('stringifies bigints', { skip: !hasBigInt }, function (st) {
71
- var three = BigInt(3);
72
- var encodeWithN = function (value, defaultEncoder, charset) {
73
- var result = defaultEncoder(value, defaultEncoder, charset);
74
- return typeof value === 'bigint' ? result + 'n' : result;
75
- };
76
- st.equal(qs.stringify(three), '');
77
- st.equal(qs.stringify([three]), '0=3');
78
- st.equal(qs.stringify([three], { encoder: encodeWithN }), '0=3n');
79
- st.equal(qs.stringify({ a: three }), 'a=3');
80
- st.equal(qs.stringify({ a: three }, { encoder: encodeWithN }), 'a=3n');
81
- st.equal(
82
- qs.stringify({ a: [three] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
83
- 'a[]=3'
84
- );
85
- st.equal(
86
- qs.stringify({ a: [three] }, { encodeValuesOnly: true, encoder: encodeWithN, arrayFormat: 'brackets' }),
87
- 'a[]=3n'
88
- );
89
- st.end();
90
- });
91
-
92
- t.test('encodes dot in key of object when encodeDotInKeys and allowDots is provided', function (st) {
93
- st.equal(
94
- qs.stringify(
95
- { 'name.obj': { first: 'John', last: 'Doe' } },
96
- { allowDots: false, encodeDotInKeys: false }
97
- ),
98
- 'name.obj%5Bfirst%5D=John&name.obj%5Blast%5D=Doe',
99
- 'with allowDots false and encodeDotInKeys false'
100
- );
101
- st.equal(
102
- qs.stringify(
103
- { 'name.obj': { first: 'John', last: 'Doe' } },
104
- { allowDots: true, encodeDotInKeys: false }
105
- ),
106
- 'name.obj.first=John&name.obj.last=Doe',
107
- 'with allowDots true and encodeDotInKeys false'
108
- );
109
- st.equal(
110
- qs.stringify(
111
- { 'name.obj': { first: 'John', last: 'Doe' } },
112
- { allowDots: false, encodeDotInKeys: true }
113
- ),
114
- 'name%252Eobj%5Bfirst%5D=John&name%252Eobj%5Blast%5D=Doe',
115
- 'with allowDots false and encodeDotInKeys true'
116
- );
117
- st.equal(
118
- qs.stringify(
119
- { 'name.obj': { first: 'John', last: 'Doe' } },
120
- { allowDots: true, encodeDotInKeys: true }
121
- ),
122
- 'name%252Eobj.first=John&name%252Eobj.last=Doe',
123
- 'with allowDots true and encodeDotInKeys true'
124
- );
125
-
126
- st.equal(
127
- qs.stringify(
128
- { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
129
- { allowDots: false, encodeDotInKeys: false }
130
- ),
131
- 'name.obj.subobject%5Bfirst.godly.name%5D=John&name.obj.subobject%5Blast%5D=Doe',
132
- 'with allowDots false and encodeDotInKeys false'
133
- );
134
- st.equal(
135
- qs.stringify(
136
- { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
137
- { allowDots: true, encodeDotInKeys: false }
138
- ),
139
- 'name.obj.subobject.first.godly.name=John&name.obj.subobject.last=Doe',
140
- 'with allowDots false and encodeDotInKeys false'
141
- );
142
- st.equal(
143
- qs.stringify(
144
- { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
145
- { allowDots: false, encodeDotInKeys: true }
146
- ),
147
- 'name%252Eobj%252Esubobject%5Bfirst.godly.name%5D=John&name%252Eobj%252Esubobject%5Blast%5D=Doe',
148
- 'with allowDots false and encodeDotInKeys true'
149
- );
150
- st.equal(
151
- qs.stringify(
152
- { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
153
- { allowDots: true, encodeDotInKeys: true }
154
- ),
155
- 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe',
156
- 'with allowDots true and encodeDotInKeys true'
157
- );
158
-
159
- st.end();
160
- });
161
-
162
- t.test('encodes dot in key of object with a primitive value when encodeDotInKeys and allowDots is provided', function (st) {
163
- st.equal(
164
- qs.stringify(
165
- { 'name.obj': 'John' },
166
- { allowDots: true, encodeDotInKeys: true }
167
- ),
168
- 'name%252Eobj=John',
169
- 'with allowDots true and encodeDotInKeys true'
170
- );
171
- st.equal(
172
- qs.stringify(
173
- { 'name.obj': 'John' },
174
- { allowDots: false, encodeDotInKeys: true }
175
- ),
176
- 'name%252Eobj=John',
177
- 'with allowDots false and encodeDotInKeys true'
178
- );
179
- st.equal(
180
- qs.stringify(
181
- { 'name.obj': 'John' },
182
- { encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true }
183
- ),
184
- 'name%2Eobj=John',
185
- 'with encodeValuesOnly true'
186
- );
187
-
188
- // With `encodeValuesOnly` the key encoder is skipped, so the dot is encoded once
189
- // (`%2E`) rather than twice. That single `%2E` decodes back to a structural dot, so
190
- // unlike the default output below this does not round-trip to the original dotted key
191
- // (a pre-existing `encodeValuesOnly` + `encodeDotInKeys` limitation, not new here).
192
- st.deepEqual(
193
- qs.parse(
194
- qs.stringify(
195
- { 'name.obj': 'John' },
196
- { encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true }
197
- ),
198
- { allowDots: true, decodeDotInKeys: true }
199
- ),
200
- { name: { obj: 'John' } },
201
- 'with encodeValuesOnly the single-encoded dot decodes structurally (does not round-trip)'
202
- );
203
-
204
- st.deepEqual(
205
- qs.parse(
206
- qs.stringify({ 'name.obj': 'John' }, { allowDots: true, encodeDotInKeys: true }),
207
- { allowDots: true, decodeDotInKeys: true }
208
- ),
209
- { 'name.obj': 'John' },
210
- 'round-trips a dotted key with a primitive value'
211
- );
212
-
213
- st.equal(
214
- qs.stringify({ 'a.b': null }, { allowDots: true, encodeDotInKeys: true, strictNullHandling: true }),
215
- 'a%252Eb',
216
- 'encodes a dotted key with a null value'
217
- );
218
- st.equal(
219
- qs.stringify({ 'a.b': '1', 'c.d': '2' }, { allowDots: true, encodeDotInKeys: true }),
220
- 'a%252Eb=1&c%252Ed=2',
221
- 'encodes dots in every top-level key, not just the first'
222
- );
223
- st.equal(
224
- qs.stringify({ 'a.b.c': 'x' }, { allowDots: true, encodeDotInKeys: true }),
225
- 'a%252Eb%252Ec=x',
226
- 'encodes every dot in a key'
227
- );
228
- var primitiveKey = qs.stringify({ 'a.b': 'c' }, { allowDots: true, encodeDotInKeys: true }).split('=')[0];
229
- st.equal(
230
- qs.stringify({ 'a.b': { x: 'c' } }, { allowDots: true, encodeDotInKeys: true }).indexOf(primitiveKey + '.'),
231
- 0,
232
- 'a top-level dotted key encodes identically for primitive and object values'
233
- );
234
-
235
- st.end();
236
- });
237
-
238
- t.test('does not encode the structural separator dots between nested keys when encodeDotInKeys and allowDots are provided', function (st) {
239
- st.equal(
240
- qs.stringify(
241
- { a: { b: { c: 'd' } } },
242
- { allowDots: true, encodeDotInKeys: true }
243
- ),
244
- 'a.b.c=d',
245
- 'no key contains a literal dot, so encodeDotInKeys is a no-op on the separators'
246
- );
247
- st.equal(
248
- qs.stringify(
249
- { a: { b: { c: { d: 'e' } } } },
250
- { allowDots: true, encodeDotInKeys: true }
251
- ),
252
- 'a.b.c.d=e',
253
- 'every nesting separator is preserved, not just the last one'
254
- );
255
-
256
- st.deepEqual(
257
- qs.parse(
258
- qs.stringify({ a: { b: { c: 'd' } } }, { allowDots: true, encodeDotInKeys: true }),
259
- { allowDots: true, decodeDotInKeys: true }
260
- ),
261
- { a: { b: { c: 'd' } } },
262
- 'stringify -> parse round-trips a deeply nested object'
263
- );
264
-
265
- st.end();
266
- });
267
-
268
- t.test('encodeDotInKeys encodes only literal dots inside nested keys, never the structural separators, at any depth', function (st) {
269
- st.equal(
270
- qs.stringify({ a: { 'b.c': { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
271
- 'a.b%252Ec.d=e',
272
- 'a nested key with a literal dot and an object value encodes only its own dot'
273
- );
274
- st.equal(
275
- qs.stringify({ 'a.b': { c: { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
276
- 'a%252Eb.c.d=e',
277
- 'a top-level dotted key stays encoded while deeper separators stay literal'
278
- );
279
- st.equal(
280
- qs.stringify({ a: { b: { 'c.d': { e: 'f' } } } }, { allowDots: true, encodeDotInKeys: true }),
281
- 'a.b.c%252Ed.e=f',
282
- 'a literal dot in a deeply nested key is encoded without touching the separators around it'
283
- );
284
-
285
- st.equal(
286
- qs.stringify({ a: { b: [1, 2] } }, { allowDots: true, encodeDotInKeys: true }),
287
- 'a.b%5B0%5D=1&a.b%5B1%5D=2',
288
- 'separator dots are preserved for an array value nested under keys'
289
- );
290
- st.equal(
291
- qs.stringify({ a: { 'b.c': [1, 2] } }, { allowDots: true, encodeDotInKeys: true }),
292
- 'a.b%252Ec%5B0%5D=1&a.b%252Ec%5B1%5D=2',
293
- 'a nested dotted key with an array value encodes only its own dot'
294
- );
295
-
296
- st.deepEqual(
297
- qs.parse(
298
- qs.stringify({ a: { 'b.c': { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
299
- { allowDots: true, decodeDotInKeys: true }
300
- ),
301
- { a: { 'b.c': { d: 'e' } } },
302
- 'stringify -> parse round-trips a nested dotted key with an object value'
303
- );
304
- st.deepEqual(
305
- qs.parse(
306
- qs.stringify({ 'a.b': { c: { d: 'e' } } }, { allowDots: true, encodeDotInKeys: true }),
307
- { allowDots: true, decodeDotInKeys: true }
308
- ),
309
- { 'a.b': { c: { d: 'e' } } },
310
- 'stringify -> parse round-trips a top-level dotted key with deep nesting'
311
- );
312
-
313
- st.end();
314
- });
315
-
316
- t.test('with allowDots false, encodeDotInKeys leaves nested-key dots literal, consistently for object and primitive values', function (st) {
317
- st.equal(
318
- qs.stringify({ a: { 'b.c': { d: 'e' } } }, { allowDots: false, encodeDotInKeys: true }),
319
- 'a%5Bb.c%5D%5Bd%5D=e',
320
- 'nested dotted key with an object value'
321
- );
322
- st.equal(
323
- qs.stringify({ a: { 'b.c': 'e' } }, { allowDots: false, encodeDotInKeys: true }),
324
- 'a%5Bb.c%5D=e',
325
- 'nested dotted key with a primitive value matches the object-value case'
326
- );
327
-
328
- st.end();
329
- });
330
-
331
- t.test('should encode dot in key of object, and automatically set allowDots to `true` when encodeDotInKeys is true and allowDots in undefined', function (st) {
332
- st.equal(
333
- qs.stringify(
334
- { 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } },
335
- { encodeDotInKeys: true }
336
- ),
337
- 'name%252Eobj%252Esubobject.first%252Egodly%252Ename=John&name%252Eobj%252Esubobject.last=Doe',
338
- 'with allowDots undefined and encodeDotInKeys true'
339
- );
340
- st.end();
341
- });
342
-
343
- t.test('should encode dot in key of object when encodeDotInKeys and allowDots is provided, and nothing else when encodeValuesOnly is provided', function (st) {
344
- st.equal(
345
- qs.stringify({ 'name.obj': { first: 'John', last: 'Doe' } }, {
346
- encodeDotInKeys: true, allowDots: true, encodeValuesOnly: true
347
- }),
348
- 'name%2Eobj.first=John&name%2Eobj.last=Doe'
349
- );
350
-
351
- st.equal(
352
- qs.stringify({ 'name.obj.subobject': { 'first.godly.name': 'John', last: 'Doe' } }, { allowDots: true, encodeDotInKeys: true, encodeValuesOnly: true }),
353
- 'name%2Eobj%2Esubobject.first%2Egodly%2Ename=John&name%2Eobj%2Esubobject.last=Doe'
354
- );
355
-
356
- st.end();
357
- });
358
-
359
- t.test('throws when `commaRoundTrip` is not a boolean', function (st) {
360
- st['throws'](
361
- function () { qs.stringify({}, { commaRoundTrip: 'not a boolean' }); },
362
- TypeError,
363
- 'throws when `commaRoundTrip` is not a boolean'
364
- );
365
-
366
- st.end();
367
- });
368
-
369
- t.test('throws when `encodeDotInKeys` is not a boolean', function (st) {
370
- st['throws'](
371
- function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 'foobar' }); },
372
- TypeError
373
- );
374
-
375
- st['throws'](
376
- function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: 0 }); },
377
- TypeError
378
- );
379
-
380
- st['throws'](
381
- function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: NaN }); },
382
- TypeError
383
- );
384
-
385
- st['throws'](
386
- function () { qs.stringify({ a: [], b: 'zz' }, { encodeDotInKeys: null }); },
387
- TypeError
388
- );
389
-
390
- st.end();
391
- });
392
-
393
- t.test('adds query prefix', function (st) {
394
- st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b');
395
- st.end();
396
- });
397
-
398
- t.test('with query prefix, outputs blank string given an empty object', function (st) {
399
- st.equal(qs.stringify({}, { addQueryPrefix: true }), '');
400
- st.end();
401
- });
402
-
403
- t.test('stringifies nested falsy values', function (st) {
404
- st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D=');
405
- st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D');
406
- st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false');
407
- st.end();
408
- });
409
-
410
- t.test('stringifies a nested object', function (st) {
411
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
412
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e');
413
- st.end();
414
- });
415
-
416
- t.test('`allowDots` option: stringifies a nested object with dots notation', function (st) {
417
- st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c');
418
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e');
419
- st.end();
420
- });
421
-
422
- t.test('stringifies an array value', function (st) {
423
- st.equal(
424
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }),
425
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
426
- 'indices => indices'
427
- );
428
- st.equal(
429
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }),
430
- 'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d',
431
- 'brackets => brackets'
432
- );
433
- st.equal(
434
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }),
435
- 'a=b%2Cc%2Cd',
436
- 'comma => comma'
437
- );
438
- st.equal(
439
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma', commaRoundTrip: true }),
440
- 'a=b%2Cc%2Cd',
441
- 'comma round trip => comma'
442
- );
443
- st.equal(
444
- qs.stringify({ a: ['b', 'c', 'd'] }),
445
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
446
- 'default => indices'
447
- );
448
- st.end();
449
- });
450
-
451
- t.test('ignores inherited array format names', function (st) {
452
- var array = { a: ['b', 'c'] };
453
- var indices = 'a%5B0%5D=b&a%5B1%5D=c';
454
- var repeat = 'a=b&a=c';
455
-
456
- st.equal(qs.stringify(array, { arrayFormat: 'unsupported' }), indices, 'unknown format falls back to `indices`');
457
-
458
- var names = [
459
- 'constructor',
460
- 'toString',
461
- '__proto__',
462
- 'valueOf',
463
- 'hasOwnProperty',
464
- 'isPrototypeOf',
465
- 'propertyIsEnumerable',
466
- 'toLocaleString'
467
- ];
468
- for (var i = 0; i < names.length; i++) {
469
- var name = names[i];
470
- st.equal(qs.stringify(array, { arrayFormat: name }), indices, '`' + name + '` falls back to `indices`');
471
- st.equal(
472
- qs.stringify(array, { arrayFormat: name, indices: true }),
473
- indices,
474
- '`' + name + '` with `indices: true` falls back to `indices`'
475
- );
476
- st.equal(
477
- qs.stringify(array, { arrayFormat: name, indices: false }),
478
- repeat,
479
- '`' + name + '` with `indices: false` falls back to `repeat`'
480
- );
481
- }
482
-
483
- st.end();
484
- });
485
-
486
- t.test('`skipNulls` option', function (st) {
487
- st.equal(
488
- qs.stringify({ a: 'b', c: null }, { skipNulls: true }),
489
- 'a=b',
490
- 'omits nulls when asked'
491
- );
492
-
493
- st.equal(
494
- qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }),
495
- 'a%5Bb%5D=c',
496
- 'omits nested nulls when asked'
497
- );
498
-
499
- st.end();
500
- });
501
-
502
- t.test('omits array indices when asked', function (st) {
503
- st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d');
504
-
505
- st.end();
506
- });
507
-
508
- t.test('omits object key/value pair when value is empty array', function (st) {
509
- st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz');
510
-
511
- st.end();
512
- });
513
-
514
- t.test('should not omit object key/value pair when value is empty array and when asked', function (st) {
515
- st.equal(qs.stringify({ a: [], b: 'zz' }), 'b=zz');
516
- st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: false }), 'b=zz');
517
- st.equal(qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: true }), 'a[]&b=zz');
518
-
519
- st.end();
520
- });
521
-
522
- t.test('should throw when allowEmptyArrays is not of type boolean', function (st) {
523
- st['throws'](
524
- function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 'foobar' }); },
525
- TypeError
526
- );
527
-
528
- st['throws'](
529
- function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: 0 }); },
530
- TypeError
531
- );
532
-
533
- st['throws'](
534
- function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: NaN }); },
535
- TypeError
536
- );
537
-
538
- st['throws'](
539
- function () { qs.stringify({ a: [], b: 'zz' }, { allowEmptyArrays: null }); },
540
- TypeError
541
- );
542
-
543
- st.end();
544
- });
545
-
546
- t.test('allowEmptyArrays keys that need no encoding', function (st) {
547
- st.equal(qs.stringify({ foo: [] }, { allowEmptyArrays: true, format: 'RFC1738' }), 'foo[]', 'a top-level key in RFC1738');
548
- st.equal(
549
- qs.stringify({ a: { b: [] }, c: 'd e' }, { allowEmptyArrays: true, encodeValuesOnly: true }),
550
- 'a[b][]&c=d%20e',
551
- 'a nested key with encodeValuesOnly'
552
- );
553
- st.equal(qs.stringify({ a: { b: [] } }, { allowEmptyArrays: true, encode: false }), 'a[b][]', 'a nested key with encode: false');
554
- st.equal(qs.stringify({ a: { b: [] } }, { allowEmptyArrays: true, allowDots: true }), 'a.b[]', 'a nested key with allowDots');
555
- st.equal(
556
- qs.stringify({ a: { b: [] } }, { allowEmptyArrays: true, allowDots: true, format: 'RFC1738' }),
557
- 'a.b[]',
558
- 'a nested key with allowDots in RFC1738'
559
- );
560
-
561
- st.end();
562
- });
563
-
564
- t.test('allowEmptyArrays + strictNullHandling', function (st) {
565
- st.equal(
566
- qs.stringify(
567
- { testEmptyArray: [] },
568
- { strictNullHandling: true, allowEmptyArrays: true }
569
- ),
570
- 'testEmptyArray[]'
571
- );
572
-
573
- st.end();
574
- });
575
-
576
- t.test('allowEmptyArrays only short-circuits arrays with no own keys', function (st) {
577
- st.equal(
578
- qs.stringify({ a: [] }, { allowEmptyArrays: true }),
579
- 'a[]',
580
- 'a genuinely empty array is still emitted as `[]`'
581
- );
582
-
583
- var withKey = [];
584
- withKey.extra = 'x';
585
- st.equal(
586
- qs.stringify({ a: withKey }, { allowEmptyArrays: true }),
587
- 'a%5Bextra%5D=x',
588
- 'an own key on an empty array is serialized rather than dropped'
589
- );
590
- st.equal(
591
- qs.stringify({ a: withKey }, { allowEmptyArrays: true }),
592
- qs.stringify({ a: withKey }),
593
- 'the allowEmptyArrays fast path matches the default path when the array has own keys'
594
- );
595
-
596
- var container = {};
597
- var cyclic = [];
598
- cyclic.back = container;
599
- container.a = cyclic;
600
- st['throws'](
601
- function () { qs.stringify(container, { allowEmptyArrays: true }); },
602
- RangeError,
603
- 'a cycle through an empty array with an own key is still detected'
604
- );
605
-
606
- st.end();
607
- });
608
-
609
- t.test('should encode the key of an empty array when allowEmptyArrays is set', function (st) {
610
- st.equal(
611
- qs.stringify({ 'a b': [] }, { allowEmptyArrays: true }),
612
- 'a%20b[]',
613
- 'default (RFC3986) percent-encodes the space in the key'
614
- );
615
- st.equal(
616
- qs.stringify({ 'a b': [] }, { allowEmptyArrays: true, format: 'RFC1738' }),
617
- 'a+b[]',
618
- 'RFC1738 encodes the space in the key as a plus'
619
- );
620
- st.equal(
621
- qs.stringify({ 'a b': [] }, { allowEmptyArrays: true, encodeValuesOnly: true }),
622
- 'a b[]',
623
- 'encodeValuesOnly leaves the key unencoded'
624
- );
625
- st.equal(
626
- qs.stringify({ 'a b': [] }, { allowEmptyArrays: true, encode: false }),
627
- 'a b[]',
628
- 'encode: false leaves the key unencoded'
629
- );
630
-
631
- st.deepEqual(
632
- qs.parse(qs.stringify({ 'a b': [], 'a&b=c': [] }, { allowEmptyArrays: true }), { allowEmptyArrays: true }),
633
- { 'a b': [], 'a&b=c': [] },
634
- 'the encoded keys round-trip back to the original, including `&` and `=`'
635
- );
636
- st.equal(
637
- qs.stringify({ 'a b': ['x'] }, { allowEmptyArrays: true, arrayFormat: 'brackets' }),
638
- 'a%20b%5B%5D=x',
639
- 'the same key with a value encodes the key prefix identically'
640
- );
641
- st.equal(
642
- qs.stringify({ a: { 'b c': [] } }, { allowEmptyArrays: true }),
643
- 'a%5Bb%20c%5D[]',
644
- 'a nested key prefix is encoded like the value path encodes it'
645
- );
646
- st.equal(
647
- qs.stringify({ a: { b: [] } }, { allowEmptyArrays: true }),
648
- 'a%5Bb%5D[]',
649
- 'a nested key that needs no encoding still has its brackets encoded'
650
- );
651
- st.equal(
652
- qs.stringify({ 'a.b': [] }, { allowEmptyArrays: true, allowDots: true, encodeDotInKeys: true }),
653
- 'a%252Eb[]',
654
- 'encodeDotInKeys double-encodes the dot, as on the value path'
655
- );
656
- st.deepEqual(
657
- qs.parse('a%252Eb[]', { allowEmptyArrays: true, allowDots: true, decodeDotInKeys: true }),
658
- { 'a.b': [] },
659
- 'the encodeDotInKeys output round-trips'
660
- );
661
-
662
- st.end();
663
- });
664
-
665
- t.test('stringifies an array value with one item vs multiple items', function (st) {
666
- st.test('non-array item', function (s2t) {
667
- s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=c');
668
- s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=c');
669
- s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c');
670
- s2t.equal(qs.stringify({ a: 'c' }, { encodeValuesOnly: true }), 'a=c');
671
-
672
- s2t.end();
673
- });
674
-
675
- st.test('array with a single item', function (s2t) {
676
- s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c');
677
- s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c');
678
- s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c');
679
- s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a[]=c'); // so it parses back as an array
680
- s2t.equal(qs.stringify({ a: ['c'] }, { encodeValuesOnly: true }), 'a[0]=c');
681
-
682
- s2t.end();
683
- });
684
-
685
- st.test('array with multiple items', function (s2t) {
686
- s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=c&a[1]=d');
687
- s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=c&a[]=d');
688
- s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c,d');
689
- s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c,d');
690
- s2t.equal(qs.stringify({ a: ['c', 'd'] }, { encodeValuesOnly: true }), 'a[0]=c&a[1]=d');
691
-
692
- s2t.end();
693
- });
694
-
695
- st.test('array with multiple items with a comma inside', function (s2t) {
696
- s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c%2Cd,e');
697
- s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma' }), 'a=c%2Cd%2Ce');
698
-
699
- s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd,e');
700
- s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma', commaRoundTrip: true }), 'a=c%2Cd%2Ce');
701
-
702
- s2t.end();
703
- });
704
-
705
- st.end();
706
- });
707
-
708
- t.test('stringifies a nested array value', function (st) {
709
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[b][0]=c&a[b][1]=d');
710
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[b][]=c&a[b][]=d');
711
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a[b]=c,d');
712
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { encodeValuesOnly: true }), 'a[b][0]=c&a[b][1]=d');
713
- st.end();
714
- });
715
-
716
- t.test('stringifies comma and empty array values', function (st) {
717
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'indices' }), 'a[0]=,&a[1]=&a[2]=c,d%');
718
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'brackets' }), 'a[]=,&a[]=&a[]=c,d%');
719
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'comma' }), 'a=,,,c,d%');
720
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: false, arrayFormat: 'repeat' }), 'a=,&a=&a=c,d%');
721
-
722
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[0]=%2C&a[1]=&a[2]=c%2Cd%25');
723
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=%2C&a[]=&a[]=c%2Cd%25');
724
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C,,c%2Cd%25');
725
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25');
726
-
727
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a%5B0%5D=%2C&a%5B1%5D=&a%5B2%5D=c%2Cd%25');
728
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a%5B%5D=%2C&a%5B%5D=&a%5B%5D=c%2Cd%25');
729
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C%2C%2Cc%2Cd%25');
730
- st.equal(qs.stringify({ a: [',', '', 'c,d%'] }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&a=&a=c%2Cd%25');
731
-
732
- st.end();
733
- });
734
-
735
- t.test('encodes comma array values with the same encoder arguments as other values, with encodeValuesOnly', function (st) {
736
- var commaValuesOnly = { arrayFormat: 'comma', encodeValuesOnly: true };
737
-
738
- st.equal(
739
- qs.stringify({ a: ['é', 'x'], b: 'é' }, utils.assign({ charset: 'iso-8859-1' }, commaValuesOnly)),
740
- 'a=%E9,x&b=%E9',
741
- 'respects charset iso-8859-1'
742
- );
743
- st.deepEqual(
744
- qs.parse(qs.stringify({ a: ['é', 'x'] }, utils.assign({ charset: 'iso-8859-1' }, commaValuesOnly)), { charset: 'iso-8859-1', comma: true }),
745
- { a: ['é', 'x'] },
746
- 'round-trips in iso-8859-1'
747
- );
748
- st.equal(
749
- qs.stringify({ a: ['☺'] }, utils.assign({ charset: 'iso-8859-1' }, commaValuesOnly)),
750
- 'a=%26%239786%3B',
751
- 'encodes unrepresentable chars as numeric entities in iso-8859-1'
752
- );
753
- st.equal(
754
- qs.stringify({ a: ['(x)', 'y z'], b: '(x)' }, utils.assign({ format: qs.formats.RFC1738 }, commaValuesOnly)),
755
- 'a=(x),y+z&b=(x)',
756
- 'respects format RFC1738'
757
- );
758
-
759
- var calls = [];
760
- st.equal(
761
- qs.stringify({ a: ['b', 'c'] }, utils.assign({
762
- encoder: function (str, defaultEncoder, charset, kind, format) {
763
- calls[calls.length] = [str, typeof defaultEncoder, charset, kind, format];
764
- return defaultEncoder(str, defaultEncoder, charset, kind, format).toUpperCase();
765
- }
766
- }, commaValuesOnly)),
767
- 'a=B,C',
768
- 'a custom encoder can call defaultEncoder'
769
- );
770
- st.deepEqual(
771
- calls,
772
- [
773
- ['b', 'function', 'utf-8', 'value', qs.formats.RFC3986],
774
- ['c', 'function', 'utf-8', 'value', qs.formats.RFC3986]
775
- ],
776
- 'a custom encoder receives defaultEncoder, charset, kind, and format'
777
- );
778
-
779
- st.end();
780
- });
781
-
782
- t.test('stringifies comma and empty non-array values', function (st) {
783
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'indices' }), 'a=,&b=&c=c,d%');
784
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'brackets' }), 'a=,&b=&c=c,d%');
785
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'comma' }), 'a=,&b=&c=c,d%');
786
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: false, arrayFormat: 'repeat' }), 'a=,&b=&c=c,d%');
787
-
788
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25');
789
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25');
790
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25');
791
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25');
792
-
793
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'indices' }), 'a=%2C&b=&c=c%2Cd%25');
794
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'brackets' }), 'a=%2C&b=&c=c%2Cd%25');
795
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'comma' }), 'a=%2C&b=&c=c%2Cd%25');
796
- st.equal(qs.stringify({ a: ',', b: '', c: 'c,d%' }, { encode: true, encodeValuesOnly: false, arrayFormat: 'repeat' }), 'a=%2C&b=&c=c%2Cd%25');
797
-
798
- st.end();
799
- });
800
-
801
- t.test('stringifies a nested array value with dots notation', function (st) {
802
- st.equal(
803
- qs.stringify(
804
- { a: { b: ['c', 'd'] } },
805
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'indices' }
806
- ),
807
- 'a.b[0]=c&a.b[1]=d',
808
- 'indices: stringifies with dots + indices'
809
- );
810
- st.equal(
811
- qs.stringify(
812
- { a: { b: ['c', 'd'] } },
813
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'brackets' }
814
- ),
815
- 'a.b[]=c&a.b[]=d',
816
- 'brackets: stringifies with dots + brackets'
817
- );
818
- st.equal(
819
- qs.stringify(
820
- { a: { b: ['c', 'd'] } },
821
- { allowDots: true, encodeValuesOnly: true, arrayFormat: 'comma' }
822
- ),
823
- 'a.b=c,d',
824
- 'comma: stringifies with dots + comma'
825
- );
826
- st.equal(
827
- qs.stringify(
828
- { a: { b: ['c', 'd'] } },
829
- { allowDots: true, encodeValuesOnly: true }
830
- ),
831
- 'a.b[0]=c&a.b[1]=d',
832
- 'default: stringifies with dots + indices'
833
- );
834
- st.end();
835
- });
836
-
837
- t.test('stringifies an object inside an array', function (st) {
838
- st.equal(
839
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices', encodeValuesOnly: true }),
840
- 'a[0][b]=c',
841
- 'indices => indices'
842
- );
843
- st.equal(
844
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }),
845
- 'a[b]=c',
846
- 'repeat => repeat'
847
- );
848
- st.equal(
849
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }),
850
- 'a[][b]=c',
851
- 'brackets => brackets'
852
- );
853
- st.equal(
854
- qs.stringify({ a: [{ b: 'c' }] }, { encodeValuesOnly: true }),
855
- 'a[0][b]=c',
856
- 'default => indices'
857
- );
858
-
859
- st.equal(
860
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices', encodeValuesOnly: true }),
861
- 'a[0][b][c][0]=1',
862
- 'indices => indices'
863
- );
864
- st.equal(
865
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'repeat', encodeValuesOnly: true }),
866
- 'a[b][c]=1',
867
- 'repeat => repeat'
868
- );
869
- st.equal(
870
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets', encodeValuesOnly: true }),
871
- 'a[][b][c][]=1',
872
- 'brackets => brackets'
873
- );
874
- st.equal(
875
- qs.stringify({ a: [{ b: { c: [1] } }] }, { encodeValuesOnly: true }),
876
- 'a[0][b][c][0]=1',
877
- 'default => indices'
878
- );
879
-
880
- st.end();
881
- });
882
-
883
- t.test('stringifies an array with mixed objects and primitives', function (st) {
884
- st.equal(
885
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'indices' }),
886
- 'a[0][b]=1&a[1]=2&a[2]=3',
887
- 'indices => indices'
888
- );
889
- st.equal(
890
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
891
- 'a[][b]=1&a[]=2&a[]=3',
892
- 'brackets => brackets'
893
- );
894
- st.equal(
895
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true, arrayFormat: 'comma' }),
896
- '???',
897
- 'brackets => brackets',
898
- { skip: 'TODO: figure out what this should do' }
899
- );
900
- st.equal(
901
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encodeValuesOnly: true }),
902
- 'a[0][b]=1&a[1]=2&a[2]=3',
903
- 'default => indices'
904
- );
905
-
906
- st.end();
907
- });
908
-
909
- t.test('stringifies an object inside an array with dots notation', function (st) {
910
- st.equal(
911
- qs.stringify(
912
- { a: [{ b: 'c' }] },
913
- { allowDots: true, encode: false, arrayFormat: 'indices' }
914
- ),
915
- 'a[0].b=c',
916
- 'indices => indices'
917
- );
918
- st.equal(
919
- qs.stringify(
920
- { a: [{ b: 'c' }] },
921
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
922
- ),
923
- 'a[].b=c',
924
- 'brackets => brackets'
925
- );
926
- st.equal(
927
- qs.stringify(
928
- { a: [{ b: 'c' }] },
929
- { allowDots: true, encode: false }
930
- ),
931
- 'a[0].b=c',
932
- 'default => indices'
933
- );
934
-
935
- st.equal(
936
- qs.stringify(
937
- { a: [{ b: { c: [1] } }] },
938
- { allowDots: true, encode: false, arrayFormat: 'indices' }
939
- ),
940
- 'a[0].b.c[0]=1',
941
- 'indices => indices'
942
- );
943
- st.equal(
944
- qs.stringify(
945
- { a: [{ b: { c: [1] } }] },
946
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
947
- ),
948
- 'a[].b.c[]=1',
949
- 'brackets => brackets'
950
- );
951
- st.equal(
952
- qs.stringify(
953
- { a: [{ b: { c: [1] } }] },
954
- { allowDots: true, encode: false }
955
- ),
956
- 'a[0].b.c[0]=1',
957
- 'default => indices'
958
- );
959
-
960
- st.end();
961
- });
962
-
963
- t.test('does not omit object keys when indices = false', function (st) {
964
- st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c');
965
- st.end();
966
- });
967
-
968
- t.test('uses indices notation for arrays when indices=true', function (st) {
969
- st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c');
970
- st.end();
971
- });
972
-
973
- t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) {
974
- st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c');
975
- st.end();
976
- });
977
-
978
- t.test('uses indices notation for arrays when arrayFormat=indices', function (st) {
979
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c');
980
- st.end();
981
- });
982
-
983
- t.test('uses repeat notation for arrays when arrayFormat=repeat', function (st) {
984
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c');
985
- st.end();
986
- });
987
-
988
- t.test('uses brackets notation for arrays when arrayFormat=brackets', function (st) {
989
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c');
990
- st.end();
991
- });
992
-
993
- t.test('stringifies a complicated object', function (st) {
994
- st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e');
995
- st.end();
996
- });
997
-
998
- t.test('stringifies an empty value', function (st) {
999
- st.equal(qs.stringify({ a: '' }), 'a=');
1000
- st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a');
1001
-
1002
- st.equal(qs.stringify({ a: '', b: '' }), 'a=&b=');
1003
- st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b=');
1004
-
1005
- st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D=');
1006
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D');
1007
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D=');
1008
-
1009
- st.end();
1010
- });
1011
-
1012
- t.test('stringifies an empty array in different arrayFormat', function (st) {
1013
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false }), 'b[0]=&c=c');
1014
- // arrayFormat default
1015
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices' }), 'b[0]=&c=c');
1016
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets' }), 'b[]=&c=c');
1017
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat' }), 'b=&c=c');
1018
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma' }), 'b=&c=c');
1019
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', commaRoundTrip: true }), 'b[]=&c=c');
1020
- // with strictNullHandling
1021
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', strictNullHandling: true }), 'b[0]&c=c');
1022
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', strictNullHandling: true }), 'b[]&c=c');
1023
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', strictNullHandling: true }), 'b&c=c');
1024
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true }), 'b&c=c');
1025
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', strictNullHandling: true, commaRoundTrip: true }), 'b[]&c=c');
1026
- // with skipNulls
1027
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'indices', skipNulls: true }), 'c=c');
1028
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'brackets', skipNulls: true }), 'c=c');
1029
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'repeat', skipNulls: true }), 'c=c');
1030
- st.equal(qs.stringify({ a: [], b: [null], c: 'c' }, { encode: false, arrayFormat: 'comma', skipNulls: true }), 'c=c');
1031
-
1032
- st.end();
1033
- });
1034
-
1035
- t.test('does not crash on null/undefined entries in arrayFormat=comma with encodeValuesOnly', function (st) {
1036
- st.doesNotThrow(
1037
- function () { qs.stringify({ a: [null, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
1038
- 'does not pass a raw null array entry to the encoder'
1039
- );
1040
- st.doesNotThrow(
1041
- function () { qs.stringify({ a: [undefined, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
1042
- 'does not pass a raw undefined array entry to the encoder'
1043
- );
1044
- st.doesNotThrow(
1045
- function () { qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true }); },
1046
- 'does not crash on a single-null array'
1047
- );
1048
-
1049
- st.equal(
1050
- qs.stringify({ a: [null, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
1051
- 'a=,b',
1052
- 'null entry joins as empty, comma stays unencoded under encodeValuesOnly'
1053
- );
1054
- st.equal(
1055
- qs.stringify({ a: [undefined, 'b'] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
1056
- 'a=,b',
1057
- 'undefined entry joins as empty, comma stays unencoded under encodeValuesOnly'
1058
- );
1059
- st.equal(
1060
- qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true }),
1061
- 'a=',
1062
- 'single-null array stringifies as empty value'
1063
- );
1064
- st.equal(
1065
- qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true, strictNullHandling: true }),
1066
- 'a',
1067
- 'strictNullHandling drops the equals sign for a single-null array'
1068
- );
1069
- st.equal(
1070
- qs.stringify({ a: [null] }, { arrayFormat: 'comma', encodeValuesOnly: true, skipNulls: true }),
1071
- '',
1072
- 'skipNulls drops a single-null array entirely'
1073
- );
1074
-
1075
- st.end();
1076
- });
1077
-
1078
- t.test('arrayFormat=comma: does not crash on entries with no callable `toString`', function (st) {
1079
- var json = JSON.parse('{ "a": ["b", { "toString": "x" }, "c"] }');
1080
- st.equal(qs.stringify(json, { arrayFormat: 'comma' }), 'a=b%2C%5Bobject%20Object%5D%2Cc', 'JSON own `toString`');
1081
- st.equal(qs.stringify(json, { arrayFormat: 'comma', encode: false }), 'a=b,[object Object],c', 'with encode: false');
1082
- st.equal(
1083
- qs.stringify(json, { arrayFormat: 'comma', encodeValuesOnly: true }),
1084
- 'a=b,%5Bobject%20Object%5D,c',
1085
- 'with encodeValuesOnly'
1086
- );
1087
- st.equal(
1088
- qs.stringify(JSON.parse('{ "a": [{ "toString": "x" }] }'), { arrayFormat: 'comma', commaRoundTrip: true }),
1089
- 'a%5B%5D=%5Bobject%20Object%5D',
1090
- 'with commaRoundTrip'
1091
- );
1092
- st.equal(
1093
- qs.stringify(JSON.parse('{ "a": [{ "toString": "x" }] }'), { arrayFormat: 'comma' }),
1094
- qs.stringify({ a: [{ b: 1 }] }, { arrayFormat: 'comma' }),
1095
- 'renders the same as a plain object entry'
1096
- );
1097
-
1098
- st.equal(
1099
- qs.stringify(qs.parse('a[][b]=c', { plainObjects: true }), { arrayFormat: 'comma' }),
1100
- 'a=%5Bobject%20Object%5D',
1101
- 'null-prototype entry from `parse` with plainObjects'
1102
- );
1103
- st.equal(
1104
- qs.stringify(qs.parse('a[][b]=c', { plainObjects: true }), { arrayFormat: 'comma', encodeValuesOnly: true }),
1105
- 'a=%5Bobject%20Object%5D',
1106
- 'null-prototype entry from `parse` with plainObjects, with encodeValuesOnly'
1107
- );
1108
- st.equal(
1109
- qs.stringify(qs.parse('a[0][toString]=x', { allowPrototypes: true }), { arrayFormat: 'comma' }),
1110
- 'a=%5Bobject%20Object%5D',
1111
- 'own `toString` entry from `parse` with allowPrototypes'
1112
- );
1113
-
1114
- var nested = JSON.parse('{ "a": [[1, [{ "toString": "x" }]], "y"] }');
1115
- st.equal(qs.stringify(nested, { arrayFormat: 'comma', encode: false }), 'a=1,[object Object],y', 'nested array');
1116
- st.equal(
1117
- qs.stringify(nested, { arrayFormat: 'comma', encodeValuesOnly: true }),
1118
- 'a=1%2C%5Bobject%20Object%5D,y',
1119
- 'nested array, with encodeValuesOnly'
1120
- );
1121
- st.equal(qs.stringify({ a: [[1, 2], 3] }, { arrayFormat: 'comma', encode: false }), 'a=1,2,3', 'nested array is still flattened');
1122
-
1123
- var cyclic = [{ toString: 'x' }];
1124
- cyclic[cyclic.length] = cyclic;
1125
- st.equal(
1126
- qs.stringify({ a: cyclic }, { arrayFormat: 'comma', encode: false }),
1127
- 'a=[object Object],[object Object],',
1128
- 'cyclic nested array joins its cycle as empty'
1129
- );
1130
-
1131
- var customJoin = [{ toString: 'x' }];
1132
- customJoin.join = function () { return 'j'; };
1133
- st.equal(qs.stringify({ a: [customJoin, 'y'] }, { arrayFormat: 'comma', encode: false }), 'a=j,y', 'own `join` is still used');
1134
-
1135
- st.equal(
1136
- qs.stringify({ a: [{ toString: 'x', valueOf: function () { return 7; } }] }, { arrayFormat: 'comma' }),
1137
- 'a=7',
1138
- 'primitive `valueOf` is still used'
1139
- );
1140
- st.equal(
1141
- qs.stringify({ a: [{ toString: 'x', valueOf: function () { return null; } }] }, { arrayFormat: 'comma' }),
1142
- 'a=null',
1143
- 'null `valueOf` is still used'
1144
- );
1145
- st.equal(
1146
- qs.stringify({ a: [{ toString: 'x', valueOf: function () { return {}; } }] }, { arrayFormat: 'comma' }),
1147
- 'a=%5Bobject%20Object%5D',
1148
- 'non-primitive `valueOf` falls back'
1149
- );
1150
-
1151
- st.equal(
1152
- qs.stringify({ a: [{ toString: function () { return 't'; } }, new Date(0)] }, { arrayFormat: 'comma', encode: false }),
1153
- 'a=t,1970-01-01T00:00:00.000Z',
1154
- 'callable `toString` and dates are unaffected'
1155
- );
1156
-
1157
- st['throws'](
1158
- function () {
1159
- qs.stringify({ a: [{ toString: function () { throw new SyntaxError('mine'); } }] }, { arrayFormat: 'comma' });
1160
- },
1161
- SyntaxError,
1162
- 'a throwing `toString` still throws'
1163
- );
1164
- st['throws'](
1165
- function () {
1166
- qs.stringify({ a: [{ toString: 'x', valueOf: function () { throw new EvalError('mine'); } }] }, { arrayFormat: 'comma' });
1167
- },
1168
- EvalError,
1169
- 'a throwing `valueOf` still throws'
1170
- );
1171
-
1172
- st.end();
1173
- });
1174
-
1175
- t.test('arrayFormat=comma: entries with `Symbol.toPrimitive` are unaffected', { skip: !hasSymbols() || typeof Symbol.toPrimitive !== 'symbol' }, function (st) {
1176
- var entry = { toString: 'x' };
1177
- entry[Symbol.toPrimitive] = function () { return 'p'; };
1178
- st.equal(qs.stringify({ a: [entry] }, { arrayFormat: 'comma' }), 'a=p');
1179
- st.equal(qs.stringify({ a: [entry] }, { arrayFormat: 'comma', encodeValuesOnly: true }), 'a=p');
1180
-
1181
- st.end();
1182
- });
1183
-
1184
- t.test('stringifies a null object', { skip: !hasProto }, function (st) {
1185
- st.equal(qs.stringify({ __proto__: null, a: 'b' }), 'a=b');
1186
- st.end();
1187
- });
1188
-
1189
- t.test('returns an empty string for invalid input', function (st) {
1190
- st.equal(qs.stringify(undefined), '');
1191
- st.equal(qs.stringify(false), '');
1192
- st.equal(qs.stringify(null), '');
1193
- st.equal(qs.stringify(''), '');
1194
- st.end();
1195
- });
1196
-
1197
- t.test('stringifies an object with a null object as a child', { skip: !hasProto }, function (st) {
1198
- st.equal(qs.stringify({ a: { __proto__: null, b: 'c' } }), 'a%5Bb%5D=c');
1199
- st.end();
1200
- });
1201
-
1202
- t.test('drops keys with a value of undefined', function (st) {
1203
- st.equal(qs.stringify({ a: undefined }), '');
1204
-
1205
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D');
1206
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D=');
1207
- st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D=');
1208
- st.end();
1209
- });
1210
-
1211
- t.test('url encodes values', function (st) {
1212
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
1213
- st.end();
1214
- });
1215
-
1216
- t.test('stringifies a date', function (st) {
1217
- var now = new Date();
1218
- var str = 'a=' + encodeURIComponent(now.toISOString());
1219
- st.equal(qs.stringify({ a: now }), str);
1220
- st.end();
1221
- });
1222
-
1223
- t.test('stringifies the weird object from qs', function (st) {
1224
- st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F');
1225
- st.end();
1226
- });
1227
-
1228
- t.test('skips properties that are part of the object prototype', function (st) {
1229
- st.intercept(Object.prototype, 'crash', { value: 'test' });
1230
-
1231
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
1232
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
1233
-
1234
- st.end();
1235
- });
1236
-
1237
- t.test('stringifies boolean values', function (st) {
1238
- st.equal(qs.stringify({ a: true }), 'a=true');
1239
- st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true');
1240
- st.equal(qs.stringify({ b: false }), 'b=false');
1241
- st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false');
1242
- st.end();
1243
- });
1244
-
1245
- t.test('stringifies buffer values', function (st) {
1246
- st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test');
1247
- st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test');
1248
- st.end();
1249
- });
1250
-
1251
- t.test('does not throw on a non-callable `constructor.isBuffer` key', function (st) {
1252
- var input = { a: { constructor: { isBuffer: 'x' } } };
1253
- st.doesNotThrow(function () { qs.stringify(input); });
1254
- st.equal(qs.stringify(input), 'a%5Bconstructor%5D%5BisBuffer%5D=x');
1255
- st.equal(qs.stringify({ a: { constructor: { isBuffer: { b: 'c' } } } }), 'a%5Bconstructor%5D%5BisBuffer%5D%5Bb%5D=c');
1256
- st.equal(qs.stringify({ a: { constructor: { isBuffer: ['b'] } } }), 'a%5Bconstructor%5D%5BisBuffer%5D%5B0%5D=b');
1257
- st.equal(qs.stringify({ a: { constructor: { isBuffer: true } } }), 'a%5Bconstructor%5D%5BisBuffer%5D=true');
1258
- st.end();
1259
- });
1260
-
1261
- t.test('round-trips a parsed `constructor[isBuffer]` key', function (st) {
1262
- var str = 'x%5Bconstructor%5D%5BisBuffer%5D=y';
1263
-
1264
- var plain = qs.parse(str, { plainObjects: true });
1265
- st.deepEqual(plain, { __proto__: null, x: { __proto__: null, constructor: { __proto__: null, isBuffer: 'y' } } }, 'plainObjects keeps the key');
1266
- st.doesNotThrow(function () { qs.stringify(plain); });
1267
- st.equal(qs.stringify(plain), str, 'plainObjects round-trips');
1268
-
1269
- var proto = qs.parse(str, { allowPrototypes: true });
1270
- st.deepEqual(proto, { x: { constructor: { isBuffer: 'y' } } }, 'allowPrototypes keeps the key');
1271
- st.doesNotThrow(function () { qs.stringify(proto); });
1272
- st.equal(qs.stringify(proto), str, 'allowPrototypes round-trips');
1273
-
1274
- st.equal(qs.stringify(qs.parse(str)), '', 'default options drop the key');
1275
- st.end();
1276
- });
1277
-
1278
- t.test('stringifies an object using an alternative delimiter', function (st) {
1279
- st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
1280
- st.end();
1281
- });
1282
-
1283
- t.test('does not blow up when Buffer global is missing', function (st) {
1284
- var restore = mockProperty(global, 'Buffer', { 'delete': true });
1285
-
1286
- var result = qs.stringify({ a: 'b', c: 'd' });
1287
-
1288
- restore();
1289
-
1290
- st.equal(result, 'a=b&c=d');
1291
- st.end();
1292
- });
1293
-
1294
- t.test('does not crash when parsing circular references', function (st) {
1295
- var a = {};
1296
- a.b = a;
1297
-
1298
- st['throws'](
1299
- function () { qs.stringify({ 'foo[bar]': 'baz', 'foo[baz]': a }); },
1300
- /RangeError: Cyclic object value/,
1301
- 'cyclic values throw'
1302
- );
1303
-
1304
- var circular = {
1305
- a: 'value'
1306
- };
1307
- circular.a = circular;
1308
- st['throws'](
1309
- function () { qs.stringify(circular); },
1310
- /RangeError: Cyclic object value/,
1311
- 'cyclic values throw'
1312
- );
1313
-
1314
- var arr = ['a'];
1315
- st.doesNotThrow(
1316
- function () { qs.stringify({ x: arr, y: arr }); },
1317
- 'non-cyclic values do not throw'
1318
- );
1319
-
1320
- st.end();
1321
- });
1322
-
1323
- t.test('non-circular duplicated references can still work', function (st) {
1324
- var hourOfDay = {
1325
- 'function': 'hour_of_day'
1326
- };
1327
-
1328
- var p1 = {
1329
- 'function': 'gte',
1330
- arguments: [hourOfDay, 0]
1331
- };
1332
- var p2 = {
1333
- 'function': 'lte',
1334
- arguments: [hourOfDay, 23]
1335
- };
1336
-
1337
- st.equal(
1338
- qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'indices' }),
1339
- 'filters[$and][0][function]=gte&filters[$and][0][arguments][0][function]=hour_of_day&filters[$and][0][arguments][1]=0&filters[$and][1][function]=lte&filters[$and][1][arguments][0][function]=hour_of_day&filters[$and][1][arguments][1]=23'
1340
- );
1341
- st.equal(
1342
- qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'brackets' }),
1343
- 'filters[$and][][function]=gte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=0&filters[$and][][function]=lte&filters[$and][][arguments][][function]=hour_of_day&filters[$and][][arguments][]=23'
1344
- );
1345
- st.equal(
1346
- qs.stringify({ filters: { $and: [p1, p2] } }, { encodeValuesOnly: true, arrayFormat: 'repeat' }),
1347
- 'filters[$and][function]=gte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=0&filters[$and][function]=lte&filters[$and][arguments][function]=hour_of_day&filters[$and][arguments]=23'
1348
- );
1349
-
1350
- st.end();
1351
- });
1352
-
1353
- t.test('selects properties when filter=array', function (st) {
1354
- st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b');
1355
- st.equal(qs.stringify({ a: 1 }, { filter: [] }), '');
1356
-
1357
- st.equal(
1358
- qs.stringify(
1359
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
1360
- { filter: ['a', 'b', 0, 2], arrayFormat: 'indices' }
1361
- ),
1362
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
1363
- 'indices => indices'
1364
- );
1365
- st.equal(
1366
- qs.stringify(
1367
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
1368
- { filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' }
1369
- ),
1370
- 'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3',
1371
- 'brackets => brackets'
1372
- );
1373
- st.equal(
1374
- qs.stringify(
1375
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
1376
- { filter: ['a', 'b', 0, 2] }
1377
- ),
1378
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
1379
- 'default => indices'
1380
- );
1381
-
1382
- st.end();
1383
- });
1384
-
1385
- t.test('skips null/undefined entries in filter=array', function (st) {
1386
- st.doesNotThrow(
1387
- function () { qs.stringify({ a: 'b', undefined: 'x' }, { filter: ['a', undefined] }); },
1388
- 'does not pass a raw undefined filter entry to the encoder'
1389
- );
1390
- st.doesNotThrow(
1391
- function () { qs.stringify({ a: 'b', 'null': 'x' }, { filter: ['a', null] }); },
1392
- 'does not pass a raw null filter entry to the encoder'
1393
- );
1394
-
1395
- st.equal(
1396
- qs.stringify({ a: 'b', undefined: 'x', c: 'd' }, { filter: ['a', undefined, 'c'] }),
1397
- 'a=b&c=d',
1398
- 'undefined filter entry is skipped, remaining keys are kept'
1399
- );
1400
- st.equal(
1401
- qs.stringify({ a: 'b', 'null': 'x', c: 'd' }, { filter: ['a', null, 'c'] }),
1402
- 'a=b&c=d',
1403
- 'null filter entry is skipped, remaining keys are kept'
1404
- );
1405
- st.equal(
1406
- qs.stringify({ a: 'b', 'null': 'x' }, { filter: [null] }),
1407
- '',
1408
- 'filter array containing only null yields empty string'
1409
- );
1410
-
1411
- st.end();
1412
- });
1413
-
1414
- t.test('applies sort to nested keys selected by filter=array', function (st) {
1415
- var asc = function (a, b) { return a.localeCompare(b); };
1416
- var desc = function (a, b) { return b.localeCompare(a); };
1417
-
1418
- st.equal(
1419
- qs.stringify({ a: { c: 1, b: 2 }, z: 3 }, { filter: ['z', 'a', 'c', 'b'], sort: asc, encode: false }),
1420
- 'a[b]=2&a[c]=1&z=3',
1421
- 'nested keys are sorted, not left in filter order'
1422
- );
1423
- st.equal(
1424
- qs.stringify({ a: { c: 1, b: 2 }, z: 3 }, { filter: ['z', 'b', 'a', 'c'], sort: desc, encode: false }),
1425
- 'z=3&a[c]=1&a[b]=2',
1426
- 'nested keys follow a descending sort'
1427
- );
1428
- st.equal(
1429
- qs.stringify({ a: [{ y: 1, x: 2 }] }, { filter: ['a', '0', 'y', 'x'], sort: asc, encode: false }),
1430
- 'a[0][x]=2&a[0][y]=1',
1431
- 'keys of objects nested in arrays are sorted'
1432
- );
1433
- st.equal(
1434
- qs.stringify({ a: { c: 1, b: 2 }, z: 3 }, { filter: ['z', 'a', 'c', 'b'], encode: false }),
1435
- 'z=3&a[c]=1&a[b]=2',
1436
- 'without sort, keys keep filter order at every level'
1437
- );
1438
-
1439
- st.end();
1440
- });
1441
-
1442
- t.test('does not reorder the caller\'s filter array when sorting', function (st) {
1443
- var filter = ['z', 'a', 'c', 'b'];
1444
- var asc = function (a, b) { return a.localeCompare(b); };
1445
-
1446
- st.equal(
1447
- qs.stringify({ a: { c: 1, b: 2 }, z: 3 }, { filter: filter, sort: asc, encode: false }),
1448
- 'a[b]=2&a[c]=1&z=3',
1449
- 'keys are sorted at every level'
1450
- );
1451
- st.deepEqual(filter, ['z', 'a', 'c', 'b'], 'filter array is not mutated');
1452
- st.equal(
1453
- qs.stringify({ a: { c: 1, b: 2 }, z: 3 }, { filter: filter, encode: false }),
1454
- 'z=3&a[c]=1&a[b]=2',
1455
- 'reusing the filter without sort keeps its own order'
1456
- );
1457
-
1458
- st.end();
1459
- });
1460
-
1461
- t.test('supports custom representations when filter=function', function (st) {
1462
- var calls = 0;
1463
- var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } };
1464
- var filterFunc = function (prefix, value) {
1465
- calls += 1;
1466
- if (calls === 1) {
1467
- st.equal(prefix, '', 'prefix is empty');
1468
- st.equal(value, obj);
1469
- } else if (prefix === 'c') {
1470
- return void 0;
1471
- } else if (value instanceof Date) {
1472
- st.equal(prefix, 'e[f]');
1473
- return value.getTime();
1474
- }
1475
- return value;
1476
- };
1477
-
1478
- st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000');
1479
- st.equal(calls, 5);
1480
- st.end();
1481
- });
1482
-
1483
- t.test('serializes Date values unless filter transforms them', function (st) {
1484
- var obj = {
1485
- a: new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260)),
1486
- b: [new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260))]
1487
- };
1488
- var iso = '2023-03-07T09%3A02%3A41.260Z';
1489
- st.equal(
1490
- qs.stringify(obj, { filter: function (prefix, value) { return value; } }),
1491
- 'a=' + iso + '&b%5B0%5D=' + iso,
1492
- 'Dates returned unchanged by a filter are serialized'
1493
- );
1494
- st.equal(
1495
- qs.stringify({ a: new Date(0) }, { filter: function (prefix, value) { return value instanceof Date ? 'kept' : value; } }),
1496
- 'a=kept',
1497
- 'a filter that transforms a Date wins over default serialization'
1498
- );
1499
- st.end();
1500
- });
1501
-
1502
- t.test('applies default Date handling to whatever a filter function returns', function (st) {
1503
- var date = new Date(Date.UTC(2023, 2, 7, 9, 2, 41, 260));
1504
- var iso = '2023-03-07T09%3A02%3A41.260Z';
1505
- var identity = function (prefix, value) { return value; };
1506
-
1507
- st.equal(
1508
- qs.stringify({ a: { b: date } }, { filter: identity }),
1509
- 'a%5Bb%5D=' + iso,
1510
- 'a nested Date is serialized through a filter'
1511
- );
1512
- st.equal(
1513
- qs.stringify(
1514
- { a: date },
1515
- { filter: identity, serializeDate: function (d) { return String(d.getTime()); } }
1516
- ),
1517
- 'a=1678179761260',
1518
- '`serializeDate` is honored after a filter'
1519
- );
1520
- st.equal(
1521
- qs.stringify({ a: [date, 'x'] }, { filter: identity, arrayFormat: 'comma' }),
1522
- 'a=' + iso + '%2Cx',
1523
- 'Dates inside a comma array are serialized through a filter, not stringified as locale text'
1524
- );
1525
- st.equal(
1526
- qs.stringify({ a: 'x' }, { filter: function (prefix, value) { return prefix === 'a' ? date : value; } }),
1527
- 'a=' + iso,
1528
- 'a Date produced by the filter is serialized'
1529
- );
1530
- st.equal(
1531
- qs.stringify({ a: date, b: 1 }, { filter: ['a'] }),
1532
- 'a=' + iso,
1533
- 'an array filter still serializes Dates'
1534
- );
1535
- st['throws'](
1536
- function () { qs.stringify({ a: new Date(NaN) }, { filter: identity }); },
1537
- RangeError,
1538
- 'an invalid Date through a filter throws like the no-filter path'
1539
- );
1540
- st.end();
1541
- });
1542
-
1543
- t.test('can disable uri encoding', function (st) {
1544
- st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b');
1545
- st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c');
1546
- st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c');
1547
- st.end();
1548
- });
1549
-
1550
- t.test('can sort the keys', function (st) {
1551
- var sort = function (a, b) {
1552
- return a.localeCompare(b);
1553
- };
1554
- st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y');
1555
- st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a');
1556
- st.end();
1557
- });
1558
-
1559
- t.test('can sort the keys at depth 3 or more too', function (st) {
1560
- var sort = function (a, b) {
1561
- return a.localeCompare(b);
1562
- };
1563
- st.equal(
1564
- qs.stringify(
1565
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
1566
- { sort: sort, encode: false }
1567
- ),
1568
- 'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb'
1569
- );
1570
- st.equal(
1571
- qs.stringify(
1572
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
1573
- { sort: null, encode: false }
1574
- ),
1575
- 'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b'
1576
- );
1577
- st.end();
1578
- });
1579
-
1580
- t.test('can stringify with custom encoding', function (st) {
1581
- st.equal(qs.stringify({ 県: '大阪府', '': '' }, {
1582
- encoder: function (str) {
1583
- if (str.length === 0) {
1584
- return '';
1585
- }
1586
- var buf = iconv.encode(str, 'shiftjis');
1587
- var result = [];
1588
- for (var i = 0; i < buf.length; ++i) {
1589
- result.push(buf.readUInt8(i).toString(16));
1590
- }
1591
- return '%' + result.join('%');
1592
- }
1593
- }), '%8c%a7=%91%e5%8d%e3%95%7b&=');
1594
- st.end();
1595
- });
1596
-
1597
- t.test('receives the default encoder as a second argument', function (st) {
1598
- st.plan(8);
1599
-
1600
- qs.stringify({ a: 1, b: new Date(), c: true, d: [1] }, {
1601
- encoder: function (str) {
1602
- st.match(typeof str, /^(?:string|number|boolean)$/);
1603
- return '';
1604
- }
1605
- });
1606
-
1607
- st.end();
1608
- });
1609
-
1610
- t.test('receives the default encoder as a second argument', function (st) {
1611
- st.plan(2);
1612
-
1613
- qs.stringify({ a: 1 }, {
1614
- encoder: function (str, defaultEncoder) {
1615
- st.equal(defaultEncoder, utils.encode);
1616
- }
1617
- });
1618
-
1619
- st.end();
1620
- });
1621
-
1622
- t.test('throws error with wrong encoder', function (st) {
1623
- st['throws'](function () {
1624
- qs.stringify({}, { encoder: 'string' });
1625
- }, new TypeError('Encoder has to be a function.'));
1626
- st.end();
1627
- });
1628
-
1629
- t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) {
1630
- st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, {
1631
- encoder: function (buffer) {
1632
- if (typeof buffer === 'string') {
1633
- return buffer;
1634
- }
1635
- return String.fromCharCode(buffer.readUInt8(0) + 97);
1636
- }
1637
- }), 'a=b');
1638
-
1639
- st.equal(qs.stringify({ a: SaferBuffer.from('a b') }, {
1640
- encoder: function (buffer) {
1641
- return buffer;
1642
- }
1643
- }), 'a=a b');
1644
- st.end();
1645
- });
1646
-
1647
- t.test('serializeDate option', function (st) {
1648
- var date = new Date();
1649
- st.equal(
1650
- qs.stringify({ a: date }),
1651
- 'a=' + date.toISOString().replace(/:/g, '%3A'),
1652
- 'default is toISOString'
1653
- );
1654
-
1655
- var mutatedDate = new Date();
1656
- mutatedDate.toISOString = function () {
1657
- throw new SyntaxError();
1658
- };
1659
- st['throws'](function () {
1660
- mutatedDate.toISOString();
1661
- }, SyntaxError);
1662
- st.equal(
1663
- qs.stringify({ a: mutatedDate }),
1664
- 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'),
1665
- 'toISOString works even when method is not locally present'
1666
- );
1667
-
1668
- var specificDate = new Date(6);
1669
- st.equal(
1670
- qs.stringify(
1671
- { a: specificDate },
1672
- { serializeDate: function (d) { return d.getTime() * 7; } }
1673
- ),
1674
- 'a=42',
1675
- 'custom serializeDate function called'
1676
- );
1677
-
1678
- st.equal(
1679
- qs.stringify(
1680
- { a: [date] },
1681
- {
1682
- serializeDate: function (d) { return d.getTime(); },
1683
- arrayFormat: 'comma'
1684
- }
1685
- ),
1686
- 'a=' + date.getTime(),
1687
- 'works with arrayFormat comma'
1688
- );
1689
- st.equal(
1690
- qs.stringify(
1691
- { a: [date] },
1692
- {
1693
- serializeDate: function (d) { return d.getTime(); },
1694
- arrayFormat: 'comma',
1695
- commaRoundTrip: true
1696
- }
1697
- ),
1698
- 'a%5B%5D=' + date.getTime(),
1699
- 'works with arrayFormat comma'
1700
- );
1701
-
1702
- st.end();
1703
- });
1704
-
1705
- t.test('RFC 1738 serialization', function (st) {
1706
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c');
1707
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d');
1708
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC1738 }), 'a+b=a+b');
1709
-
1710
- st.equal(qs.stringify({ 'foo(ref)': 'bar' }, { format: qs.formats.RFC1738 }), 'foo(ref)=bar');
1711
- st.equal(qs.stringify({ 'a~*': '~*()' }, { format: qs.formats.RFC1738 }), 'a~%2A=~%2A()', 'leaves `~` unencoded and encodes `*`');
1712
-
1713
- st.end();
1714
- });
1715
-
1716
- t.test('RFC 3986 spaces serialization', function (st) {
1717
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c');
1718
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d');
1719
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC3986 }), 'a%20b=a%20b');
1720
- st.equal(qs.stringify({ 'a~*': '~*()' }, { format: qs.formats.RFC3986 }), 'a~%2A=~%2A%28%29', 'leaves `~` unencoded, and encodes `*` and parens');
1721
-
1722
- st.end();
1723
- });
1724
-
1725
- t.test('WHATWG serialization', function (st) {
1726
- st.equal(qs.formats.WHATWG, 'WHATWG', 'is exported');
1727
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.WHATWG }), 'a=b+c');
1728
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.WHATWG }), 'a+b=c+d');
1729
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.WHATWG }), 'a+b=a+b');
1730
-
1731
- st.equal(qs.stringify({ a: '~' }, { format: qs.formats.WHATWG }), 'a=%7E', 'encodes `~`');
1732
- st.equal(qs.stringify({ a: '*' }, { format: qs.formats.WHATWG }), 'a=*', 'does not encode `*`');
1733
- st.equal(qs.stringify({ 'foo(ref)': 'bar' }, { format: qs.formats.WHATWG }), 'foo%28ref%29=bar', 'encodes parentheses');
1734
- st.equal(qs.stringify({ a: '-._' }, { format: qs.formats.WHATWG }), 'a=-._');
1735
- st.equal(qs.stringify({ a: '+&=' }, { format: qs.formats.WHATWG }), 'a=%2B%26%3D');
1736
- st.equal(qs.stringify({ a: { b: 'c d' } }, { format: qs.formats.WHATWG }), 'a%5Bb%5D=c+d');
1737
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.WHATWG, encode: false }), 'a=b c', 'encode: false leaves the value alone');
1738
-
1739
- st.equal(
1740
- qs.stringify({ 'a~b*': { 'c d': '~* ' } }, { format: qs.formats.WHATWG, encodeValuesOnly: true }),
1741
- 'a~b*[c d]=%7E*+',
1742
- 'encodeValuesOnly: leaves keys alone'
1743
- );
1744
- st.equal(
1745
- qs.stringify({ a: '~*\u00e9 ' }, { format: qs.formats.WHATWG, charset: 'iso-8859-1' }),
1746
- 'a=%7E*%E9+',
1747
- 'charset iso-8859-1'
1748
- );
1749
- st.equal(
1750
- qs.stringify({ a: '~* ' }, {
1751
- format: qs.formats.WHATWG,
1752
- encoder: function (str, defaultEncoder, charset, type, format) {
1753
- return defaultEncoder(str, defaultEncoder, charset, type, format);
1754
- }
1755
- }),
1756
- 'a=%7E*+',
1757
- 'an encoder wrapping the default encoder'
1758
- );
1759
- st.equal(
1760
- qs.stringify({ a: ['~ x', '*'] }, { format: qs.formats.WHATWG, arrayFormat: 'comma' }),
1761
- 'a=%7E+x%2C*',
1762
- 'arrayFormat comma'
1763
- );
1764
-
1765
- st.end();
1766
- });
1767
-
1768
- var USP = typeof URLSearchParams === 'function' ? URLSearchParams : url.URLSearchParams;
1769
-
1770
- t.test('WHATWG serialization matches URLSearchParams', { skip: typeof USP !== 'function' }, function (st) {
1771
- var chars = [];
1772
- for (var c = 0; c < 0x80; c++) {
1773
- chars[chars.length] = String.fromCharCode(c);
1774
- }
1775
- chars.push('\u00e9', '\u20ac', '\uFFFF', '\uD83D\uDCA9', 'a b~c*d(e)f', '\uD800', '\uDC00', 'x\uDC00y');
1776
-
1777
- for (var i = 0; i < chars.length; i++) {
1778
- var key = {};
1779
- key[chars[i]] = 'v';
1780
- st.equal(
1781
- qs.stringify({ k: chars[i] }, { format: qs.formats.WHATWG }),
1782
- new USP([['k', chars[i]]]).toString(),
1783
- 'value ' + JSON.stringify(chars[i])
1784
- );
1785
- st.equal(
1786
- qs.stringify(key, { format: qs.formats.WHATWG }),
1787
- new USP([[chars[i], 'v']]).toString(),
1788
- 'key ' + JSON.stringify(chars[i])
1789
- );
1790
- }
1791
-
1792
- st.equal(
1793
- qs.stringify({ a: { 'b~': 'c d' } }, { format: qs.formats.WHATWG }),
1794
- new USP([['a[b~]', 'c d']]).toString(),
1795
- 'nested key'
1796
- );
1797
-
1798
- st.end();
1799
- });
1800
-
1801
- t.test('Backward compatibility to RFC 3986', function (st) {
1802
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
1803
- st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }), 'a%20b=a%20b');
1804
-
1805
- st.end();
1806
- });
1807
-
1808
- t.test('Edge cases and unknown formats', function (st) {
1809
- ['UFO1234', false, 1234, null, {}, []].forEach(function (format) {
1810
- st['throws'](
1811
- function () {
1812
- qs.stringify({ a: 'b c' }, { format: format });
1813
- },
1814
- new TypeError('Unknown format option provided.')
1815
- );
1816
- });
1817
- st.end();
1818
- });
1819
-
1820
- t.test('encodeValuesOnly', function (st) {
1821
- st.equal(
1822
- qs.stringify(
1823
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
1824
- { encodeValuesOnly: true, arrayFormat: 'indices' }
1825
- ),
1826
- 'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h',
1827
- 'encodeValuesOnly + indices'
1828
- );
1829
- st.equal(
1830
- qs.stringify(
1831
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
1832
- { encodeValuesOnly: true, arrayFormat: 'brackets' }
1833
- ),
1834
- 'a=b&c[]=d&c[]=e%3Df&f[][]=g&f[][]=h',
1835
- 'encodeValuesOnly + brackets'
1836
- );
1837
- st.equal(
1838
- qs.stringify(
1839
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
1840
- { encodeValuesOnly: true, arrayFormat: 'repeat' }
1841
- ),
1842
- 'a=b&c=d&c=e%3Df&f=g&f=h',
1843
- 'encodeValuesOnly + repeat'
1844
- );
1845
-
1846
- st.equal(
1847
- qs.stringify(
1848
- { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
1849
- { arrayFormat: 'indices' }
1850
- ),
1851
- 'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h',
1852
- 'no encodeValuesOnly + indices'
1853
- );
1854
- st.equal(
1855
- qs.stringify(
1856
- { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
1857
- { arrayFormat: 'brackets' }
1858
- ),
1859
- 'a=b&c%5B%5D=d&c%5B%5D=e&f%5B%5D%5B%5D=g&f%5B%5D%5B%5D=h',
1860
- 'no encodeValuesOnly + brackets'
1861
- );
1862
- st.equal(
1863
- qs.stringify(
1864
- { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] },
1865
- { arrayFormat: 'repeat' }
1866
- ),
1867
- 'a=b&c=d&c=e&f=g&f=h',
1868
- 'no encodeValuesOnly + repeat'
1869
- );
1870
-
1871
- st.end();
1872
- });
1873
-
1874
- t.test('encodeValuesOnly - strictNullHandling', function (st) {
1875
- st.equal(
1876
- qs.stringify(
1877
- { a: { b: null } },
1878
- { encodeValuesOnly: true, strictNullHandling: true }
1879
- ),
1880
- 'a[b]'
1881
- );
1882
- st.end();
1883
- });
1884
-
1885
- t.test('strictNullHandling: applies the formatter to the encoded key (RFC1738)', function (st) {
1886
- st.equal(
1887
- qs.stringify(
1888
- { 'a b': null, 'c d': 'e f' },
1889
- { strictNullHandling: false, format: 'RFC1738' }
1890
- ),
1891
- 'a+b=&c+d=e+f',
1892
- 'without: as expected'
1893
- );
1894
-
1895
- st.equal(
1896
- qs.stringify(
1897
- { 'a b': null, 'c d': 'e f' },
1898
- { strictNullHandling: true, format: 'RFC1738' }
1899
- ),
1900
- 'a+b&c+d=e+f',
1901
- 'with: as expected'
1902
- );
1903
-
1904
- st.end();
1905
- });
1906
-
1907
- t.test('throws if an invalid charset is specified', function (st) {
1908
- st['throws'](function () {
1909
- qs.stringify({ a: 'b' }, { charset: 'foobar' });
1910
- }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'));
1911
- st.end();
1912
- });
1913
-
1914
- t.test('respects a charset of iso-8859-1', function (st) {
1915
- st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6');
1916
- st.end();
1917
- });
1918
-
1919
- t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) {
1920
- st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B');
1921
- st.end();
1922
- });
1923
-
1924
- t.test('encodes a literal `+` as `%2B` in iso-8859-1 mode so it round-trips', function (st) {
1925
- st.equal(qs.stringify({ a: 'b+c' }, { charset: 'iso-8859-1' }), 'a=b%2Bc', 'a `+` in a value is percent-encoded');
1926
- st.equal(qs.stringify({ 'a+b': 'c' }, { charset: 'iso-8859-1' }), 'a%2Bb=c', 'a `+` in a key is percent-encoded');
1927
- st.deepEqual(
1928
- qs.parse(qs.stringify({ a: 'b+c' }, { charset: 'iso-8859-1' }), { charset: 'iso-8859-1' }),
1929
- { a: 'b+c' },
1930
- 'the `+` survives a round-trip instead of decoding to a space'
1931
- );
1932
- st.end();
1933
- });
1934
-
1935
- t.test('respects an explicit charset of utf-8 (the default)', function (st) {
1936
- st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6');
1937
- st.end();
1938
- });
1939
-
1940
- t.test('`charsetSentinel` option', function (st) {
1941
- st.equal(
1942
- qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }),
1943
- 'utf8=%E2%9C%93&a=%C3%A6',
1944
- 'adds the right sentinel when instructed to and the charset is utf-8'
1945
- );
1946
-
1947
- st.equal(
1948
- qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }),
1949
- 'utf8=%26%2310003%3B&a=%E6',
1950
- 'adds the right sentinel when instructed to and the charset is iso-8859-1'
1951
- );
1952
-
1953
- st.equal(
1954
- qs.stringify({ a: 1, b: 2 }, { charsetSentinel: true, delimiter: ';' }),
1955
- 'utf8=%E2%9C%93;a=1;b=2',
1956
- 'uses the configured delimiter after the sentinel'
1957
- );
1958
-
1959
- st.end();
1960
- });
1961
-
1962
- t.test('does not mutate the options argument', function (st) {
1963
- var options = {};
1964
- qs.stringify({}, options);
1965
- st.deepEqual(options, {});
1966
- st.end();
1967
- });
1968
-
1969
- t.test('strictNullHandling works with custom filter', function (st) {
1970
- var filter = function (prefix, value) {
1971
- return value;
1972
- };
1973
-
1974
- var options = { strictNullHandling: true, filter: filter };
1975
- st.equal(qs.stringify({ key: null }, options), 'key');
1976
- st.end();
1977
- });
1978
-
1979
- t.test('strictNullHandling works with null serializeDate', function (st) {
1980
- var serializeDate = function () {
1981
- return null;
1982
- };
1983
- var options = { strictNullHandling: true, serializeDate: serializeDate };
1984
- var date = new Date();
1985
- st.equal(qs.stringify({ key: date }, options), 'key');
1986
- st.end();
1987
- });
1988
-
1989
- t.test('allows for encoding keys and values differently', function (st) {
1990
- var encoder = function (str, defaultEncoder, charset, type) {
1991
- if (type === 'key') {
1992
- return defaultEncoder(str, defaultEncoder, charset, type).toLowerCase();
1993
- }
1994
- if (type === 'value') {
1995
- return defaultEncoder(str, defaultEncoder, charset, type).toUpperCase();
1996
- }
1997
- throw 'this should never happen! type: ' + type;
1998
- };
1999
-
2000
- st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE');
2001
-
2002
- var noopEncoder = function () { return 'x'; };
2003
- noopEncoder();
2004
- st['throws'](
2005
- function () { encoder('x', noopEncoder, 'utf-8', 'unknown'); },
2006
- 'this should never happen! type: unknown',
2007
- 'encoder throws for unexpected type'
2008
- );
2009
-
2010
- st.end();
2011
- });
2012
-
2013
- t.test('objects inside arrays', function (st) {
2014
- var obj = { a: { b: { c: 'd', e: 'f' } } };
2015
- var withArray = { a: { b: [{ c: 'd', e: 'f' }] } };
2016
-
2017
- st.equal(qs.stringify(obj, { encode: false }), 'a[b][c]=d&a[b][e]=f', 'no array, no arrayFormat');
2018
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'brackets' }), 'a[b][c]=d&a[b][e]=f', 'no array, bracket');
2019
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'indices' }), 'a[b][c]=d&a[b][e]=f', 'no array, indices');
2020
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'no array, repeat');
2021
- st.equal(qs.stringify(obj, { encode: false, arrayFormat: 'comma' }), 'a[b][c]=d&a[b][e]=f', 'no array, comma');
2022
-
2023
- st.equal(qs.stringify(withArray, { encode: false }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, no arrayFormat');
2024
- st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'brackets' }), 'a[b][][c]=d&a[b][][e]=f', 'array, bracket');
2025
- st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'indices' }), 'a[b][0][c]=d&a[b][0][e]=f', 'array, indices');
2026
- st.equal(qs.stringify(withArray, { encode: false, arrayFormat: 'repeat' }), 'a[b][c]=d&a[b][e]=f', 'array, repeat');
2027
- st.equal(
2028
- qs.stringify(withArray, { encode: false, arrayFormat: 'comma' }),
2029
- '???',
2030
- 'array, comma',
2031
- { skip: 'TODO: figure out what this should do' }
2032
- );
2033
-
2034
- st.end();
2035
- });
2036
-
2037
- t.test('stringifies sparse arrays', function (st) {
2038
- /* eslint no-sparse-arrays: 0 */
2039
- st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1]=2&a[4]=1');
2040
- st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[]=2&a[]=1');
2041
- st.equal(qs.stringify({ a: [, '2', , , '1'] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a=2&a=1');
2042
-
2043
- st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][b][2][c]=1');
2044
- st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][b][][c]=1');
2045
- st.equal(qs.stringify({ a: [, { b: [, , { c: '1' }] }] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[b][c]=1');
2046
-
2047
- st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c]=1');
2048
- st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c]=1');
2049
- st.equal(qs.stringify({ a: [, [, , [, , , { c: '1' }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1');
2050
-
2051
- st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'indices' }), 'a[1][2][3][c][1]=1');
2052
- st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), 'a[][][][c][]=1');
2053
- st.equal(qs.stringify({ a: [, [, , [, , , { c: [, '1'] }]]] }, { encodeValuesOnly: true, arrayFormat: 'repeat' }), 'a[c]=1');
2054
-
2055
- st.end();
2056
- });
2057
-
2058
- t.test('encodes a very long string', function (st) {
2059
- var chars = [];
2060
- var expected = [];
2061
- for (var i = 0; i < 5e3; i++) {
2062
- chars.push(' ' + i);
2063
-
2064
- expected.push('%20' + i);
2065
- }
2066
-
2067
- var obj = {
2068
- foo: chars.join('')
2069
- };
2070
-
2071
- st.equal(
2072
- qs.stringify(obj, { arrayFormat: 'brackets', charset: 'utf-8' }),
2073
- 'foo=' + expected.join('')
2074
- );
2075
-
2076
- st.end();
2077
- });
2078
-
2079
- t.end();
2080
- });
2081
-
2082
- test('stringifies empty keys', function (t) {
2083
- emptyTestCases.forEach(function (testCase) {
2084
- t.test('stringifies an object with empty string key with ' + testCase.input, function (st) {
2085
- st.deepEqual(
2086
- qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'indices' }),
2087
- testCase.stringifyOutput.indices,
2088
- 'test case: ' + testCase.input + ', indices'
2089
- );
2090
- st.deepEqual(
2091
- qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'brackets' }),
2092
- testCase.stringifyOutput.brackets,
2093
- 'test case: ' + testCase.input + ', brackets'
2094
- );
2095
- st.deepEqual(
2096
- qs.stringify(testCase.withEmptyKeys, { encode: false, arrayFormat: 'repeat' }),
2097
- testCase.stringifyOutput.repeat,
2098
- 'test case: ' + testCase.input + ', repeat'
2099
- );
2100
-
2101
- st.end();
2102
- });
2103
- });
2104
-
2105
- t.test('edge case with object/arrays', function (st) {
2106
- st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false }), '[][0]=2&[][1]=3');
2107
- st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false }), '[][0]=2&[][1]=3&[a]=2');
2108
- st.deepEqual(qs.stringify({ '': { '': [2, 3] } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3');
2109
- st.deepEqual(qs.stringify({ '': { '': [2, 3], a: 2 } }, { encode: false, arrayFormat: 'indices' }), '[][0]=2&[][1]=3&[a]=2');
2110
-
2111
- st.end();
2112
- });
2113
-
2114
- t.test('stringifies non-string keys', function (st) {
2115
- var S = Object('abc');
2116
- S.toString = function () {
2117
- return 'd';
2118
- };
2119
- var actual = qs.stringify({ a: 'b', 'false': {}, 1e+22: 'c', d: 'e' }, {
2120
- filter: ['a', false, null, 10000000000000000000000, S],
2121
- allowDots: true,
2122
- encodeDotInKeys: true
2123
- });
2124
-
2125
- st.equal(actual, 'a=b&1e%2B22=c&d=e', 'stringifies correctly');
2126
-
2127
- st.end();
2128
- });
2129
-
2130
- t.test('round-trips keys containing percent-encoded bracket text', function (st) {
2131
- var cases = [
2132
- { 'a%5Bb': 'c' },
2133
- { 'a%5Db': 'c' },
2134
- { 'a%255Bb': 'c' },
2135
- { 'a%255Db': 'c' },
2136
- { a: { 'b%5Bc': 'd' } },
2137
- { a: { 'b%255Bc': 'd' } },
2138
- { 'a%5B%255Bb': 'c' }
2139
- ];
2140
- for (var i = 0; i < cases.length; i++) {
2141
- st.deepEqual(
2142
- qs.parse(qs.stringify(cases[i])),
2143
- cases[i],
2144
- 'round-trips ' + JSON.stringify(cases[i])
2145
- );
2146
- }
2147
-
2148
- st.end();
2149
- });
2150
-
2151
- t.test('parses input containing percent-encoded bracket text without mangling', function (st) {
2152
- st.deepEqual(qs.parse('a%25255Bb=c'), { 'a%255Bb': 'c' }, 'a%25255Bb decodes to a%255Bb, not a%5Bb');
2153
- st.deepEqual(qs.parse('a%25255Db=c'), { 'a%255Db': 'c' }, 'a%25255Db decodes to a%255Db, not a%5Db');
2154
- st.deepEqual(qs.parse('a%5Bb%25255Bc%5D=d'), { a: { 'b%255Bc': 'd' } }, 'nested %25255B decodes to %255B inside segment, not %5B');
2155
-
2156
- st.end();
2157
- });
2158
-
2159
- t.test('limits nesting depth with the `depth` option', function (st) {
2160
- st.equal(
2161
- qs.stringify({ a: { b: { c: 'd' } } }),
2162
- 'a%5Bb%5D%5Bc%5D=d',
2163
- 'the default depth is unlimited and does not alter output'
2164
- );
2165
- st.equal(
2166
- qs.stringify({ a: { b: { c: 'd' } } }, { depth: 2 }),
2167
- 'a%5Bb%5D%5Bc%5D=d',
2168
- 'does not throw when nesting is within the depth limit'
2169
- );
2170
- st.equal(
2171
- qs.stringify({ a: { b: 'c' } }, { depth: Infinity }),
2172
- 'a%5Bb%5D=c',
2173
- 'an explicit Infinity depth is unlimited'
2174
- );
2175
- st.equal(
2176
- qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: null }),
2177
- qs.stringify({ a: { b: { c: { d: 'e' } } } }),
2178
- 'a non-number depth is ignored and treated as unlimited'
2179
- );
2180
- st.equal(
2181
- qs.stringify({ a: 'b' }, { depth: 0 }),
2182
- 'a=b',
2183
- 'a flat object serializes with a depth of 0'
2184
- );
2185
-
2186
- var deep = {};
2187
- var cursor = deep;
2188
- for (var i = 0; i < 250; i++) {
2189
- cursor.a = {};
2190
- cursor = cursor.a;
2191
- }
2192
- cursor.b = 'c';
2193
- st.equal(typeof qs.stringify(deep), 'string', 'the default depth serializes deeply nested objects without throwing');
2194
-
2195
- st['throws'](
2196
- function () { qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: 2 }); },
2197
- RangeError,
2198
- 'throws a RangeError when nesting exceeds the depth limit'
2199
- );
2200
- st['throws'](
2201
- function () { qs.stringify({ a: { b: 'c' } }, { depth: 0 }); },
2202
- RangeError,
2203
- 'a depth of 0 throws for any nested object'
2204
- );
2205
-
2206
- var caught;
2207
- try {
2208
- qs.stringify({ a: { b: { c: { d: 'e' } } } }, { depth: 2 });
2209
- } catch (e) {
2210
- caught = e;
2211
- }
2212
- st.ok(caught instanceof RangeError, 'the thrown value is a RangeError');
2213
- st.equal(caught.message, 'Input depth exceeded depth option of 2', 'the RangeError names the exceeded depth');
2214
-
2215
- st.end();
2216
- });
2217
- });