appium-mac2-driver 4.5.0 → 4.5.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 (295) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/build/lib/session-claim-handler.d.ts.map +1 -1
  3. package/build/lib/session-claim-handler.js +1 -2
  4. package/build/lib/session-claim-handler.js.map +1 -1
  5. package/build/lib/wda-mac.d.ts +0 -1
  6. package/build/lib/wda-mac.d.ts.map +1 -1
  7. package/build/lib/wda-mac.js +1 -1
  8. package/lib/session-claim-handler.ts +1 -2
  9. package/lib/wda-mac.ts +1 -2
  10. package/node_modules/@appium/support/build/lib/npm.d.ts.map +1 -1
  11. package/node_modules/@appium/support/build/lib/npm.js +2 -1
  12. package/node_modules/@appium/support/build/lib/npm.js.map +1 -1
  13. package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
  14. package/node_modules/@appium/support/build/lib/util.js +13 -1
  15. package/node_modules/@appium/support/build/lib/util.js.map +1 -1
  16. package/node_modules/@appium/support/build/lib/zip.d.ts +2 -1
  17. package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
  18. package/node_modules/@appium/support/build/lib/zip.js +193 -64
  19. package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
  20. package/node_modules/@appium/support/lib/npm.ts +2 -1
  21. package/node_modules/@appium/support/lib/util.ts +13 -1
  22. package/node_modules/@appium/support/lib/zip.ts +231 -71
  23. package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +1934 -0
  24. package/node_modules/@appium/support/node_modules/axios/LICENSE +7 -0
  25. package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +877 -0
  26. package/node_modules/@appium/support/node_modules/axios/README.md +2851 -0
  27. package/node_modules/@appium/support/node_modules/axios/dist/axios.js +5807 -0
  28. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +5 -0
  29. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +1 -0
  30. package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +5829 -0
  31. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +5850 -0
  32. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +3 -0
  33. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  34. package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +6808 -0
  35. package/node_modules/@appium/support/node_modules/axios/index.d.cts +766 -0
  36. package/node_modules/@appium/support/node_modules/axios/index.d.ts +787 -0
  37. package/node_modules/@appium/support/node_modules/axios/index.js +45 -0
  38. package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +36 -0
  39. package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +132 -0
  40. package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +696 -0
  41. package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +1490 -0
  42. package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +277 -0
  43. package/node_modules/@appium/support/node_modules/axios/lib/axios.js +89 -0
  44. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  45. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +22 -0
  46. package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +5 -0
  47. package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +306 -0
  48. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +219 -0
  49. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
  50. package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +171 -0
  51. package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +8 -0
  52. package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +76 -0
  53. package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +95 -0
  54. package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +174 -0
  55. package/node_modules/@appium/support/node_modules/axios/lib/core/methodList.js +17 -0
  56. package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
  57. package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +27 -0
  58. package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +28 -0
  59. package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +178 -0
  60. package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +10 -0
  61. package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +3 -0
  62. package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +2 -0
  63. package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +1 -0
  64. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
  65. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
  66. package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
  67. package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
  68. package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +7 -0
  69. package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
  70. package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +14 -0
  71. package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +69 -0
  72. package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +18 -0
  73. package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +23 -0
  74. package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +68 -0
  75. package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +64 -0
  76. package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
  77. package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
  78. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
  79. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  80. package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
  81. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
  82. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  83. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  84. package/node_modules/@appium/support/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
  85. package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +2 -0
  86. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
  87. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  88. package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  89. package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +15 -0
  90. package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
  91. package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  92. package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
  93. package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +55 -0
  94. package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +28 -0
  95. package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +45 -0
  96. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +279 -0
  97. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  98. package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +89 -0
  99. package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +112 -0
  100. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  101. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  102. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  103. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +13 -0
  104. package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +52 -0
  105. package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +7 -0
  106. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
  107. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  108. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  109. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +37 -0
  110. package/node_modules/@appium/support/node_modules/axios/lib/utils.js +1150 -0
  111. package/node_modules/@appium/support/node_modules/axios/package.json +203 -0
  112. package/node_modules/@appium/support/package.json +6 -6
  113. package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +6 -4
  114. package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
  115. package/node_modules/@appium/types/lib/commands/basedriver.ts +4 -4
  116. package/node_modules/@appium/types/package.json +2 -2
  117. package/node_modules/appium-xcode/CHANGELOG.md +7 -0
  118. package/node_modules/appium-xcode/package.json +4 -4
  119. package/node_modules/asyncbox/README.md +43 -0
  120. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts +9 -0
  121. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
  122. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +35 -0
  123. package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
  124. package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts +9 -0
  125. package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
  126. package/node_modules/asyncbox/build/cjs/lib/asyncmap.js +23 -0
  127. package/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
  128. package/node_modules/asyncbox/build/cjs/lib/errors.d.ts +9 -0
  129. package/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
  130. package/node_modules/asyncbox/build/cjs/lib/errors.js +20 -0
  131. package/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
  132. package/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
  133. package/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
  134. package/node_modules/asyncbox/build/cjs/lib/index.js +24 -0
  135. package/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
  136. package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
  137. package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
  138. package/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
  139. package/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
  140. package/node_modules/asyncbox/build/cjs/lib/lock.d.ts +74 -0
  141. package/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
  142. package/node_modules/asyncbox/build/cjs/lib/lock.js +295 -0
  143. package/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
  144. package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts +15 -0
  145. package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
  146. package/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
  147. package/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
  148. package/node_modules/asyncbox/build/cjs/lib/retry.d.ts +17 -0
  149. package/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
  150. package/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
  151. package/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
  152. package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts +20 -0
  153. package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
  154. package/node_modules/asyncbox/build/cjs/lib/sleep.js +61 -0
  155. package/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
  156. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +18 -0
  157. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
  158. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +51 -0
  159. package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
  160. package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts +16 -0
  161. package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
  162. package/node_modules/asyncbox/build/cjs/lib/with-timeout.js +45 -0
  163. package/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
  164. package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
  165. package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
  166. package/node_modules/asyncbox/build/esm/lib/asyncfilter.js +32 -0
  167. package/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
  168. package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts +9 -0
  169. package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
  170. package/node_modules/asyncbox/build/esm/lib/asyncmap.js +20 -0
  171. package/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
  172. package/node_modules/asyncbox/build/esm/lib/errors.d.ts +9 -0
  173. package/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
  174. package/node_modules/asyncbox/build/esm/lib/errors.js +15 -0
  175. package/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
  176. package/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
  177. package/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
  178. package/node_modules/asyncbox/build/esm/lib/index.js +10 -0
  179. package/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
  180. package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
  181. package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
  182. package/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
  183. package/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
  184. package/node_modules/asyncbox/build/esm/lib/lock.d.ts +74 -0
  185. package/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
  186. package/node_modules/asyncbox/build/esm/lib/lock.js +291 -0
  187. package/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
  188. package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
  189. package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
  190. package/node_modules/asyncbox/build/esm/lib/long-sleep.js +33 -0
  191. package/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
  192. package/node_modules/asyncbox/build/esm/lib/retry.d.ts +17 -0
  193. package/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
  194. package/node_modules/asyncbox/build/esm/lib/retry.js +53 -0
  195. package/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
  196. package/node_modules/asyncbox/build/esm/lib/sleep.d.ts +20 -0
  197. package/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
  198. package/node_modules/asyncbox/build/esm/lib/sleep.js +58 -0
  199. package/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
  200. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
  201. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
  202. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +48 -0
  203. package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
  204. package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts +16 -0
  205. package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
  206. package/node_modules/asyncbox/build/esm/lib/with-timeout.js +42 -0
  207. package/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
  208. package/node_modules/asyncbox/lib/asyncfilter.ts +38 -0
  209. package/node_modules/asyncbox/lib/asyncmap.ts +29 -0
  210. package/node_modules/asyncbox/lib/errors.ts +15 -0
  211. package/node_modules/asyncbox/lib/index.ts +21 -0
  212. package/node_modules/asyncbox/lib/limit-function.ts +18 -0
  213. package/node_modules/asyncbox/lib/lock.ts +360 -0
  214. package/node_modules/asyncbox/lib/long-sleep.ts +38 -0
  215. package/node_modules/asyncbox/lib/retry.ts +61 -0
  216. package/node_modules/asyncbox/lib/sleep.ts +79 -0
  217. package/node_modules/asyncbox/lib/wait-for-condition.ts +52 -0
  218. package/node_modules/asyncbox/lib/with-timeout.ts +43 -0
  219. package/node_modules/asyncbox/package.json +8 -8
  220. package/node_modules/axios/README.md +41 -106
  221. package/node_modules/axios/dist/axios.js +931 -278
  222. package/node_modules/axios/dist/axios.min.js +2 -2
  223. package/node_modules/axios/dist/axios.min.js.map +1 -1
  224. package/node_modules/axios/dist/browser/axios.cjs +948 -268
  225. package/node_modules/axios/dist/esm/axios.js +948 -268
  226. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  227. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  228. package/node_modules/axios/dist/node/axios.cjs +925 -242
  229. package/node_modules/axios/index.d.cts +20 -1
  230. package/node_modules/axios/index.d.ts +18 -1
  231. package/node_modules/axios/lib/adapters/fetch.js +73 -20
  232. package/node_modules/axios/lib/adapters/http.js +145 -26
  233. package/node_modules/axios/lib/adapters/xhr.js +120 -13
  234. package/node_modules/axios/lib/core/Axios.js +67 -12
  235. package/node_modules/axios/lib/core/AxiosError.js +59 -0
  236. package/node_modules/axios/lib/core/AxiosHeaders.js +17 -4
  237. package/node_modules/axios/lib/core/InterceptorManager.js +13 -2
  238. package/node_modules/axios/lib/core/assertParamsAcyclic.js +49 -0
  239. package/node_modules/axios/lib/core/createMultipartBody.js +37 -0
  240. package/node_modules/axios/lib/core/dispatchRequest.js +20 -0
  241. package/node_modules/axios/lib/core/mergeConfig.js +183 -120
  242. package/node_modules/axios/lib/defaults/transitional.js +1 -0
  243. package/node_modules/axios/lib/env/data.js +1 -1
  244. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +11 -2
  245. package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -1
  246. package/node_modules/axios/lib/helpers/composeSignals.js +6 -3
  247. package/node_modules/axios/lib/helpers/cookies.js +30 -6
  248. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +34 -7
  249. package/node_modules/axios/lib/helpers/formDataToBlob.js +113 -0
  250. package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -1
  251. package/node_modules/axios/lib/helpers/fromDataURI.js +8 -2
  252. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +4 -9
  253. package/node_modules/axios/lib/helpers/parseHeaders.js +2 -1
  254. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  255. package/node_modules/axios/lib/helpers/resolveConfig.js +16 -3
  256. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +16 -1
  257. package/node_modules/axios/lib/utils.js +61 -10
  258. package/node_modules/axios/package.json +1 -2
  259. package/node_modules/follow-redirects/README.md +27 -1
  260. package/node_modules/follow-redirects/index.js +1 -5
  261. package/node_modules/follow-redirects/package.json +1 -1
  262. package/node_modules/shell-quote/README.md +37 -4
  263. package/node_modules/shell-quote/package.json +10 -6
  264. package/node_modules/shell-quote/parse.d.ts +1 -1
  265. package/node_modules/shell-quote/parse.js +63 -11
  266. package/node_modules/shell-quote/quote.d.ts +2 -1
  267. package/node_modules/shell-quote/quote.js +23 -3
  268. package/node_modules/uuid/package.json +17 -17
  269. package/package.json +4 -6
  270. package/node_modules/async-lock/AUTHORS +0 -21
  271. package/node_modules/async-lock/History.md +0 -132
  272. package/node_modules/async-lock/LICENSE +0 -22
  273. package/node_modules/async-lock/README.md +0 -177
  274. package/node_modules/async-lock/index.js +0 -2
  275. package/node_modules/async-lock/lib/index.js +0 -312
  276. package/node_modules/async-lock/package.json +0 -48
  277. package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +0 -103
  278. package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +0 -1
  279. package/node_modules/asyncbox/build/cjs/lib/asyncbox.js +0 -311
  280. package/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +0 -1
  281. package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +0 -103
  282. package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +0 -1
  283. package/node_modules/asyncbox/build/esm/lib/asyncbox.js +0 -298
  284. package/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +0 -1
  285. package/node_modules/asyncbox/lib/asyncbox.ts +0 -382
  286. package/node_modules/shell-quote/.nycrc +0 -14
  287. package/node_modules/shell-quote/eslint.config.mjs +0 -29
  288. package/node_modules/shell-quote/security.md +0 -11
  289. package/node_modules/shell-quote/test/comment.js +0 -16
  290. package/node_modules/shell-quote/test/env.js +0 -52
  291. package/node_modules/shell-quote/test/env_fn.js +0 -21
  292. package/node_modules/shell-quote/test/op.js +0 -102
  293. package/node_modules/shell-quote/test/parse.js +0 -149
  294. package/node_modules/shell-quote/test/quote.js +0 -145
  295. package/node_modules/shell-quote/test/set.js +0 -31
@@ -6,13 +6,22 @@
6
6
  var OPS = /** @type {const} */ ([
7
7
  '||',
8
8
  '&&',
9
+ ';;&',
9
10
  ';;',
11
+ ';&',
10
12
  '|&',
11
13
  '<(',
14
+ '>(',
12
15
  '<<<',
16
+ '<<-',
17
+ '<<',
13
18
  '>>',
14
19
  '>&',
20
+ '>|',
21
+ '&>>',
22
+ '&>',
15
23
  '<&',
24
+ '<>',
16
25
  '&',
17
26
  ';',
18
27
  '(',
@@ -22,11 +31,15 @@ var OPS = /** @type {const} */ ([
22
31
  '>'
23
32
  ]);
24
33
  var LINE_TERMINATORS = /[\n\r\u2028\u2029]/;
25
- var GLOB_SHELL_SPECIAL = /[\s#!"$&'():;<=>@\\^`|]/g;
34
+ var GLOB_SHELL_SPECIAL = /[\s#!"$&'():;<=>@\\^`|~]/g;
26
35
 
27
36
  /** @type {typeof import('./quote')} */
28
37
  module.exports = function quote(xs) {
38
+ var sawComment = false;
29
39
  return xs.map(function (s) {
40
+ if (sawComment && typeof s === 'string' && LINE_TERMINATORS.test(s)) {
41
+ throw new TypeError('a token after a `comment` must not contain line terminators');
42
+ }
30
43
  if (s === '') {
31
44
  return /** @type {const} */ ('\'\'');
32
45
  }
@@ -38,6 +51,9 @@ module.exports = function quote(xs) {
38
51
  if (LINE_TERMINATORS.test(s.pattern)) {
39
52
  throw new TypeError('glob `pattern` must not contain line terminators');
40
53
  }
54
+ if (s.pattern === '') {
55
+ return /** @type {const} */ ('\'\'');
56
+ }
41
57
  return s.pattern.replace(GLOB_SHELL_SPECIAL, '\\$&');
42
58
  }
43
59
  if ('op' in s && typeof s.op === 'string') {
@@ -50,15 +66,19 @@ module.exports = function quote(xs) {
50
66
  if (LINE_TERMINATORS.test(s.comment)) {
51
67
  throw new TypeError('`comment` must not contain line terminators');
52
68
  }
69
+ sawComment = true;
53
70
  return '#' + s.comment;
54
71
  }
55
72
  throw new TypeError('unrecognized object token shape');
56
73
  }
74
+ if ((/'/).test(s) && (/!/).test(s)) {
75
+ return "'" + s.replace(/'/g, "'\"'\"'") + "'";
76
+ }
57
77
  if ((/["\s\\]/).test(s) && !(/'/).test(s)) {
58
- return "'" + s.replace(/(['])/g, '\\$1') + "'";
78
+ return "'" + s + "'";
59
79
  }
60
80
  if ((/["'\s]/).test(s)) {
61
- return '"' + s.replace(/(["\\$`!])/g, '\\$1') + '"';
81
+ return '"' + s.replace(/(["\\$`])/g, '\\$1') + '"';
62
82
  }
63
83
  return String(s).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}~])/g, '$1\\$2');
64
84
  }).join(' ');
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uuid",
3
- "version": "14.0.2",
3
+ "version": "14.0.3",
4
4
  "description": "RFC9562 UUIDs",
5
5
  "type": "module",
6
6
  "funding": [
@@ -40,20 +40,20 @@
40
40
  "!**/test"
41
41
  ],
42
42
  "devDependencies": {
43
- "@biomejs/biome": "2.4.10",
44
- "@commitlint/cli": "20.5.0",
45
- "@commitlint/config-conventional": "20.5.0",
46
- "bundlewatch": "0.4.1",
47
- "commander": "14.0.3",
48
- "globals": "17.4.0",
49
- "jest": "30.3.0",
50
- "lefthook": "1.11.13",
51
- "lint-staged": "16.4.0",
43
+ "@biomejs/biome": "2.5.13",
44
+ "@commitlint/cli": "21.2.2",
45
+ "@commitlint/config-conventional": "21.2.2",
46
+ "bundlewatch": "0.4.2",
47
+ "commander": "15.0.0",
48
+ "globals": "17.12.0",
49
+ "jest": "30.5.1",
50
+ "lefthook": "2.1.12",
51
+ "lint-staged": "17.5.1",
52
52
  "neostandard": "0.13.0",
53
- "npm-run-all2": "8.0.4",
54
- "prettier": "3.8.3",
55
- "publint": "0.3.21",
56
- "release-please": "17.3.0",
53
+ "npm-run-all2": "9.0.3",
54
+ "prettier": "3.9.6",
55
+ "publint": "0.3.24",
56
+ "release-please": "17.11.2",
57
57
  "runmd": "2.1.1",
58
58
  "standard-version": "9.5.0",
59
59
  "typescript": "5.4.3"
@@ -84,12 +84,12 @@
84
84
  "lint": "npm run biome:check",
85
85
  "md": "runmd --watch --output=README.md README_js.md",
86
86
  "prepack": "npm run build -- --no-pack",
87
- "prepare": "lefthook install",
87
+ "prepare": "if [ -d .git ]; then npx lefthook install; fi",
88
88
  "prepublishOnly": "npm run build",
89
89
  "pretest:benchmark": "npm run build",
90
90
  "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**",
91
91
  "pretest:node": "npm run build",
92
- "pretest": "npm run build",
92
+ "pretest": "if [ -d .git ]; then npm run build; fi",
93
93
  "release": "standard-version --no-verify",
94
94
  "test:benchmark": "cd examples/benchmark && npm test",
95
95
  "test:browser": "wdio run ./wdio.conf.js",
@@ -111,5 +111,5 @@
111
111
  "postchangelog": "biome format --write CHANGELOG.md"
112
112
  }
113
113
  },
114
- "packageManager": "npm@11.12.1"
114
+ "packageManager": "npm@12.0.2"
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-mac2-driver",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "XCTest-based Appium driver for macOS apps automation",
5
5
  "keywords": [
6
6
  "XCTest",
@@ -47,10 +47,9 @@
47
47
  "dependencies": {
48
48
  "@appium/strongbox": "2.0.1",
49
49
  "@colors/colors": "1.6.1",
50
- "appium-xcode": "7.2.3",
51
- "async-lock": "1.4.1",
52
- "asyncbox": "6.4.3",
53
- "axios": "1.20.0",
50
+ "appium-xcode": "7.2.4",
51
+ "asyncbox": "6.5.0",
52
+ "axios": "1.21.0",
54
53
  "portscanner": "2.2.0",
55
54
  "teen_process": "4.2.1"
56
55
  },
@@ -83,7 +82,6 @@
83
82
  "@appium/strongbox",
84
83
  "@colors/colors",
85
84
  "appium-xcode",
86
- "async-lock",
87
85
  "asyncbox",
88
86
  "axios",
89
87
  "portscanner",
@@ -1,21 +0,0 @@
1
- # Authors ordered by first contribution.
2
-
3
- rain1017 (https://github.com/rain1017)
4
- JonathanPicques (https://github.com/JonathanPicques)
5
- Rogier Schouten (https://github.com/rogierschouten)
6
- erikvold (https://github.com/erikvold)
7
- Christian Passet (https://github.com/thePunIssuer)
8
- Tanguy Krotoff (https://github.com/tkrotoff)
9
- jtyers (https://github.com/jtyers)
10
- Paul Roub (https://github.com/paulroub)
11
- Geoff Whatley (https://github.com/meatwallace)
12
- Patryk L. (https://github.com/LosTigeros)
13
- Julian Saunderson (https://github.com/bitrivers)
14
- Philipp Keck (https://github.com/Philipp91)
15
- abozaralizadeh (https://github.com/abozaralizadeh)
16
- ThePiz (https://github.com/ThePiz)
17
- Luke Stead (https://github.com/luke-stead-sonocent)
18
- Simeon Borko (https://github.com/simeonborko)
19
- Tim Schmidt (https://github.com/taschmidt)
20
- Motty Milshtein (https://github.com/mottymilshtein)
21
-
@@ -1,132 +0,0 @@
1
- 1.4.0
2
- ==================
3
- * add execution timeout (thank you @mottymilshtein)
4
-
5
- 1.3.2
6
- ==================
7
- * Handle errors from user-supplied callback better (Thank you @simeonborko)
8
- * Ensure the array parameter does not get mutated for batch acquire (Thank you @taschmidt)
9
-
10
- 1.3.1
11
- ==================
12
- * Show queue name in errors (thank you @luke-stead-sonocent)
13
-
14
- 1.3.0
15
- ==================
16
- * Add maxOccupationTime option (Thank you @abozaralizadeh and @ThePiz)
17
-
18
- 1.2.8
19
- ==================
20
- * Fix #37 process not set when acquiring lock (Thank you @Philipp91)
21
-
22
- 1.2.7
23
- ==================
24
- DO NOT USE, erroneous publish
25
-
26
- 1.2.6
27
- ==================
28
- * Fix `maxPending = Infinity` no longer allowed (thank you @coderaiser)
29
-
30
- 1.2.5
31
- ==================
32
- * Allow `maxPending = 0` (thank you @bmrpatel)
33
- * Upgrade dependencies
34
-
35
- 1.2.4
36
- ==================
37
- * Be robust to lock names that are also Object keys - simpler solution, extra tests.
38
-
39
- 1.2.3
40
- ==================
41
- * Be robust to lock names that are also Object keys.
42
- * Upgrade dependencies
43
-
44
- 1.2.2
45
- ==================
46
- * Fix grunt-env accidentally having become a dependency (#25)
47
-
48
- 1.2.1
49
- ==================
50
- * Remove empty postinstall script (#24)
51
- * Fixed some vulnerable dev dependencies
52
-
53
- 1.2.0
54
- ==================
55
- * ES5 compatibility (#21)
56
-
57
- 1.1.4
58
- ==================
59
- * Fix for #17, update dependencies
60
-
61
- 1.1.3
62
- ==================
63
- * Fix for #14
64
-
65
- 1.1.1
66
- ==================
67
- * Fix result Promise not resolving when locking empty key array
68
-
69
- 1.1.0 / 2017-10-17
70
- ==================
71
- * Add option to add waiters to the front of the queue
72
-
73
- 1.1.0 / 2017-10-17
74
- ==================
75
- * Add option to add waiters to the front of the queue
76
-
77
- 1.0.0 / 2017-06-29
78
- ==================
79
- * Remove dependency on Q by using the global Promise variable by default. Thank you @erikvold (https://github.com/erikvold) for the PR
80
-
81
- 0.3.10 / 2017-06-27
82
- ==================
83
- * Remove dependencies on Q-specific nodify(), try(), and defer() methods so that you can inject e.g. standard ES6 promises using `new AsyncLock({ Promise: Promise })`
84
-
85
- 0.3.9 / 2016-11-30
86
- ==================
87
- * Referred to MIT license in package.json
88
- * Update NPM module dependencies, remove no-longer-maintained blanket code coverage
89
- * Change author to rogierschouten
90
- * Fix invalid JSDoc comments (thanks @JonathanPicques)
91
- * Bugfix: TypeError when locking multiple keys at once
92
-
93
- 0.3.7-0.3.8
94
- ==================
95
- Unknown, previous author did not commit this to Github.
96
-
97
- 0.3.6 / 2015-09-07
98
- ==================
99
- * Performance improvement
100
-
101
- 0.3.5 / 2015-06-15
102
- ==================
103
- * Performance improvement
104
-
105
- 0.3.4 / 2015-06-09
106
- ==================
107
- * Bug fix
108
-
109
- 0.3.3 / 2015-05-19
110
- ==================
111
- * Bug fix
112
-
113
- 0.3.2 / 2015-05-08
114
- ==================
115
- * Set default timeout to never
116
-
117
- 0.3.1 / 2015-04-15
118
- ==================
119
- * Use your own promise
120
-
121
- 0.3.0 / 2015-03-06
122
- ==================
123
- * Domain reentrant
124
-
125
- 0.2.0 / 2015-02-21
126
- ==================
127
- * Support promise mode
128
- * Pending task limit
129
-
130
- 0.1.0 / 2015-01-13
131
- ==================
132
- * Initial version
@@ -1,22 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 Rogier Schouten <github@workingcode.ninja>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
@@ -1,177 +0,0 @@
1
- # async-lock
2
-
3
- Lock on asynchronous code
4
-
5
- [![Build Status](https://travis-ci.org/rogierschouten/async-lock.svg?branch=master)](https://travis-ci.org/rogierschouten/async-lock)
6
-
7
- * ES6 promise supported
8
- * Multiple keys lock supported
9
- * Timeout supported
10
- * Occupation time limit supported
11
- * Execution time limit supported
12
- * Pending task limit supported
13
- * Domain reentrant supported
14
- * 100% code coverage
15
-
16
- ## Disclaimer
17
-
18
- I did not create this package, and I will not add any features to it myself. I was granted the ownership because it was no longer being
19
- maintained, and I volunteered to fix a bug.
20
-
21
- If you have a new feature you would like to have incorporated, please send me a PR and I will be happy to work with you and get it merged.
22
- For any bugs, PRs are most welcome but when possible I will try to get them resolved as soon as possible.
23
-
24
- ## Why do you need locking on single threaded nodejs?
25
-
26
- Nodejs is single threaded, and the code execution never gets interrupted inside an event loop, so locking is unnecessary? This is true ONLY IF your critical section can be executed inside a single event loop.
27
- However, if you have any async code inside your critical section (it can be simply triggered by any I/O operation, or timer), your critical logic will across multiple event loops, therefore it's not concurrency safe!
28
-
29
- Consider the following code
30
- ```js
31
- redis.get('key', function(err, value) {
32
- redis.set('key', value * 2);
33
- });
34
- ```
35
- The above code simply multiply a redis key by 2.
36
- However, if two users run concurrently, the execution order may like this
37
- ```
38
- user1: redis.get('key') -> 1
39
- user2: redis.get('key') -> 1
40
- user1: redis.set('key', 1 x 2) -> 2
41
- user2: redis.set('key', 1 x 2) -> 2
42
- ```
43
- Obviously it's not what you expected
44
-
45
-
46
- With asyncLock, you can easily write your async critical section
47
- ```js
48
- lock.acquire('key', function(cb) {
49
- // Concurrency safe
50
- redis.get('key', function(err, value) {
51
- redis.set('key', value * 2, cb);
52
- });
53
- }, function(err, ret) {
54
- });
55
- ```
56
-
57
- ## Get Started
58
-
59
- ```js
60
- var AsyncLock = require('async-lock');
61
- var lock = new AsyncLock();
62
-
63
- /**
64
- * @param {String|Array} key resource key or keys to lock
65
- * @param {function} fn execute function
66
- * @param {function} cb (optional) callback function, otherwise will return a promise
67
- * @param {Object} opts (optional) options
68
- */
69
- lock.acquire(key, function(done) {
70
- // async work
71
- done(err, ret);
72
- }, function(err, ret) {
73
- // lock released
74
- }, opts);
75
-
76
- // Promise mode
77
- lock.acquire(key, function() {
78
- // return value or promise
79
- }, opts).then(function() {
80
- // lock released
81
- });
82
- ```
83
-
84
- ## Error Handling
85
-
86
- ```js
87
- // Callback mode
88
- lock.acquire(key, function(done) {
89
- done(new Error('error'));
90
- }, function(err, ret) {
91
- console.log(err.message) // output: error
92
- });
93
-
94
- // Promise mode
95
- lock.acquire(key, function() {
96
- throw new Error('error');
97
- }).catch(function(err) {
98
- console.log(err.message) // output: error
99
- });
100
- ```
101
-
102
- ## Acquire multiple keys
103
-
104
- ```js
105
- lock.acquire([key1, key2], fn, cb);
106
- ```
107
-
108
- ## Domain reentrant lock
109
-
110
- Lock is reentrant in the same domain
111
-
112
- ```js
113
- var domain = require('domain');
114
- var lock = new AsyncLock({domainReentrant : true});
115
-
116
- var d = domain.create();
117
- d.run(function() {
118
- lock.acquire('key', function() {
119
- //Enter lock
120
- return lock.acquire('key', function() {
121
- //Enter same lock twice
122
- });
123
- });
124
- });
125
- ```
126
-
127
- ## Options
128
-
129
- ```js
130
- // Specify timeout - max amount of time an item can remain in the queue before acquiring the lock
131
- var lock = new AsyncLock({timeout: 5000});
132
- lock.acquire(key, fn, function(err, ret) {
133
- // timed out error will be returned here if lock not acquired in given time
134
- });
135
-
136
- // Specify max occupation time - max amount of time allowed between entering the queue and completing execution
137
- var lock = new AsyncLock({maxOccupationTime: 3000});
138
- lock.acquire(key, fn, function(err, ret) {
139
- // occupation time exceeded error will be returned here if job not completed in given time
140
- });
141
-
142
- // Specify max execution time - max amount of time allowed between acquiring the lock and completing execution
143
- var lock = new AsyncLock({maxExecutionTime: 3000});
144
- lock.acquire(key, fn, function(err, ret) {
145
- // execution time exceeded error will be returned here if job not completed in given time
146
- });
147
-
148
- // Set max pending tasks - max number of tasks allowed in the queue at a time
149
- var lock = new AsyncLock({maxPending: 1000});
150
- lock.acquire(key, fn, function(err, ret) {
151
- // Handle too much pending error
152
- })
153
-
154
- // Whether there is any running or pending async function
155
- lock.isBusy();
156
-
157
- // Use your own promise library instead of the global Promise variable
158
- var lock = new AsyncLock({Promise: require('bluebird')}); // Bluebird
159
- var lock = new AsyncLock({Promise: require('q')}); // Q
160
-
161
- // Add a task to the front of the queue waiting for a given lock
162
- lock.acquire(key, fn1, cb); // runs immediately
163
- lock.acquire(key, fn2, cb); // added to queue
164
- lock.acquire(key, priorityFn, cb, {skipQueue: true}); // jumps queue and runs before fn2
165
- ```
166
-
167
- ## Changelog
168
-
169
- See [Changelog](./History.md)
170
-
171
- ## Issues
172
-
173
- See [issue tracker](https://github.com/rogierschouten/async-lock/issues).
174
-
175
- ## License
176
-
177
- MIT, see [LICENSE](./LICENSE)
@@ -1,2 +0,0 @@
1
- 'use strict';
2
- module.exports = require('./lib');