appium-mac2-driver 4.3.5 → 4.3.6

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 (340) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBXPath.m +48 -2
  3. package/WebDriverAgentMac/WebDriverAgentMac.xcodeproj/project.pbxproj +4 -0
  4. package/build/lib/wda-mac.d.ts.map +1 -1
  5. package/build/lib/wda-mac.js +4 -5
  6. package/build/lib/wda-mac.js.map +1 -1
  7. package/lib/wda-mac.ts +4 -5
  8. package/node_modules/@appium/logger/CHANGELOG.md +8 -0
  9. package/node_modules/@appium/logger/package.json +3 -3
  10. package/node_modules/@appium/strongbox/build/lib/index.d.ts.map +1 -1
  11. package/node_modules/@appium/strongbox/build/lib/index.js +6 -1
  12. package/node_modules/@appium/strongbox/build/lib/index.js.map +1 -1
  13. package/node_modules/@appium/strongbox/lib/index.ts +6 -1
  14. package/node_modules/@appium/strongbox/package.json +2 -2
  15. package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -1
  16. package/node_modules/@appium/support/build/lib/fs.js +7 -0
  17. package/node_modules/@appium/support/build/lib/fs.js.map +1 -1
  18. package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -1
  19. package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -1
  20. package/node_modules/@appium/support/build/lib/net.js +6 -2
  21. package/node_modules/@appium/support/build/lib/net.js.map +1 -1
  22. package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
  23. package/node_modules/@appium/support/build/lib/util.js +10 -4
  24. package/node_modules/@appium/support/build/lib/util.js.map +1 -1
  25. package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
  26. package/node_modules/@appium/support/build/lib/zip.js +2 -7
  27. package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
  28. package/node_modules/@appium/support/lib/fs.ts +8 -1
  29. package/node_modules/@appium/support/lib/net.ts +7 -2
  30. package/node_modules/@appium/support/lib/util.ts +9 -3
  31. package/node_modules/@appium/support/lib/zip.ts +3 -9
  32. package/node_modules/@appium/support/package.json +9 -9
  33. package/node_modules/@appium/types/package.json +4 -4
  34. package/node_modules/@img/sharp-darwin-arm64/index.cjs +1 -1
  35. package/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.5.node +0 -0
  36. package/node_modules/@img/sharp-darwin-arm64/package.json +2 -2
  37. package/node_modules/@img/sharp-libvips-darwin-arm64/README.md +1 -1
  38. package/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +2 -2
  39. package/node_modules/@img/sharp-libvips-darwin-arm64/lib/{libvips-cpp.8.18.6.dylib → libvips-cpp.8.18.7.dylib} +0 -0
  40. package/node_modules/@img/sharp-libvips-darwin-arm64/package.json +2 -2
  41. package/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +11 -11
  42. package/node_modules/appium-xcode/CHANGELOG.md +28 -0
  43. package/node_modules/appium-xcode/README.md +1 -1
  44. package/node_modules/appium-xcode/package.json +14 -18
  45. package/node_modules/b4a/browser.js +5 -0
  46. package/node_modules/b4a/index.d.ts +144 -0
  47. package/node_modules/b4a/index.js +5 -0
  48. package/node_modules/b4a/package.json +4 -1
  49. package/node_modules/b4a/runtime.d.ts +14 -0
  50. package/node_modules/bare-fs/binding.c +53 -24
  51. package/node_modules/bare-fs/index.d.ts +12 -10
  52. package/node_modules/bare-fs/index.js +13 -4
  53. package/node_modules/bare-fs/package.json +2 -1
  54. package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
  55. package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
  56. package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
  57. package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
  58. package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
  59. package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
  60. package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
  61. package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
  62. package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
  63. package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
  64. package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
  65. package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
  66. package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
  67. package/node_modules/bplist-creator/README.md +26 -6
  68. package/node_modules/bplist-creator/dist/index.cjs +508 -0
  69. package/node_modules/bplist-creator/dist/index.cjs.map +7 -0
  70. package/node_modules/bplist-creator/dist/index.d.cts +12 -0
  71. package/node_modules/bplist-creator/dist/index.d.ts +12 -0
  72. package/node_modules/bplist-creator/dist/index.mjs +472 -0
  73. package/node_modules/bplist-creator/dist/index.mjs.map +7 -0
  74. package/node_modules/bplist-creator/package.json +43 -9
  75. package/node_modules/bplist-parser/README.md +37 -3
  76. package/node_modules/bplist-parser/dist/index.cjs +385 -0
  77. package/node_modules/bplist-parser/dist/index.cjs.map +7 -0
  78. package/node_modules/bplist-parser/dist/index.d.cts +13 -0
  79. package/node_modules/bplist-parser/dist/index.d.ts +13 -0
  80. package/node_modules/bplist-parser/{bplistParser.js → dist/index.mjs} +141 -171
  81. package/node_modules/bplist-parser/dist/index.mjs.map +7 -0
  82. package/node_modules/bplist-parser/package.json +39 -12
  83. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +4 -0
  84. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -1
  85. package/node_modules/brace-expansion/dist/commonjs/index.js +69 -25
  86. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
  87. package/node_modules/brace-expansion/dist/esm/index.d.ts +4 -0
  88. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -1
  89. package/node_modules/brace-expansion/dist/esm/index.js +68 -24
  90. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
  91. package/node_modules/brace-expansion/package.json +2 -1
  92. package/node_modules/follow-redirects/index.js +10 -1
  93. package/node_modules/follow-redirects/package.json +1 -1
  94. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
  95. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
  96. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
  97. package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
  98. package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
  99. package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
  100. package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
  101. package/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
  102. package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
  103. package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
  104. package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
  105. package/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
  106. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
  107. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
  108. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
  109. package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
  110. package/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
  111. package/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
  112. package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
  113. package/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
  114. package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
  115. package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
  116. package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
  117. package/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
  118. package/node_modules/lru-cache/package.json +27 -1
  119. package/node_modules/p-limit/index.d.ts +2 -0
  120. package/node_modules/p-limit/index.js +17 -1
  121. package/node_modules/p-limit/package.json +1 -1
  122. package/node_modules/p-limit/readme.md +2 -0
  123. package/node_modules/sharp/dist/index.d.cts +2 -2
  124. package/node_modules/sharp/dist/index.d.mts +3 -3
  125. package/node_modules/sharp/dist/is.cjs +8 -2
  126. package/node_modules/sharp/dist/is.mjs +8 -2
  127. package/node_modules/sharp/dist/operation.cjs +2 -2
  128. package/node_modules/sharp/dist/operation.mjs +2 -2
  129. package/node_modules/sharp/dist/output.cjs +1 -0
  130. package/node_modules/sharp/dist/output.mjs +1 -0
  131. package/node_modules/sharp/dist/resize.cjs +14 -14
  132. package/node_modules/sharp/dist/resize.mjs +14 -14
  133. package/node_modules/sharp/dist/sharp.cjs +3 -3
  134. package/node_modules/sharp/dist/sharp.mjs +3 -3
  135. package/node_modules/sharp/lib/index.d.ts +2 -2
  136. package/node_modules/sharp/package.json +35 -35
  137. package/node_modules/sharp/src/binding.gyp +1 -1
  138. package/node_modules/sharp/src/common.cc +4 -4
  139. package/node_modules/sharp/src/common.h +2 -2
  140. package/node_modules/sharp/src/pipeline.cc +31 -6
  141. package/node_modules/sharp/src/utilities.cc +1 -1
  142. package/node_modules/spdx-license-ids/index.json +13 -0
  143. package/node_modules/spdx-license-ids/package.json +1 -1
  144. package/node_modules/stream-buffers/.codeclimate.yml +12 -0
  145. package/node_modules/stream-buffers/.eslintignore +1 -0
  146. package/node_modules/stream-buffers/.eslintrc +25 -0
  147. package/node_modules/stream-buffers/.github/workflows/codeql-analysis.yml +71 -0
  148. package/node_modules/stream-buffers/.github/workflows/node.js.yml +31 -0
  149. package/node_modules/stream-buffers/.mailmap +1 -0
  150. package/node_modules/stream-buffers/.nvmrc +1 -0
  151. package/node_modules/stream-buffers/README.md +65 -65
  152. package/node_modules/stream-buffers/lib/constants.js +8 -6
  153. package/node_modules/stream-buffers/lib/readable_streambuffer.js +114 -136
  154. package/node_modules/stream-buffers/lib/streambuffer.js +5 -3
  155. package/node_modules/stream-buffers/lib/writable_streambuffer.js +72 -97
  156. package/node_modules/stream-buffers/package.json +7 -5
  157. package/node_modules/type-fest/index.d.ts +7 -7
  158. package/node_modules/type-fest/package.json +2 -1
  159. package/node_modules/type-fest/readme.md +7 -16
  160. package/node_modules/type-fest/source/all-extend.d.ts +9 -7
  161. package/node_modules/type-fest/source/array-reverse.d.ts +13 -12
  162. package/node_modules/type-fest/source/array-tail.d.ts +3 -3
  163. package/node_modules/type-fest/source/delimiter-case.d.ts +1 -1
  164. package/node_modules/type-fest/source/get.d.ts +1 -1
  165. package/node_modules/type-fest/source/int-closed-range.d.ts +4 -1
  166. package/node_modules/type-fest/source/int-range.d.ts +56 -9
  167. package/node_modules/type-fest/source/internal/array.d.ts +14 -13
  168. package/node_modules/type-fest/source/internal/numeric.d.ts +0 -38
  169. package/node_modules/type-fest/source/internal/object.d.ts +30 -1
  170. package/node_modules/type-fest/source/is-boolean-literal.d.ts +39 -0
  171. package/node_modules/type-fest/source/is-literal.d.ts +43 -269
  172. package/node_modules/type-fest/source/is-numeric-literal.d.ts +50 -0
  173. package/node_modules/type-fest/source/is-string-literal.d.ts +72 -0
  174. package/node_modules/type-fest/source/is-symbol-literal.d.ts +39 -0
  175. package/node_modules/type-fest/source/is-tuple.d.ts +3 -3
  176. package/node_modules/type-fest/source/jsonify.d.ts +1 -5
  177. package/node_modules/type-fest/source/merge-deep.d.ts +3 -3
  178. package/node_modules/type-fest/source/remove-prefix.d.ts +1 -1
  179. package/node_modules/type-fest/source/remove-suffix.d.ts +1 -1
  180. package/node_modules/type-fest/source/rename-keys.d.ts +163 -0
  181. package/node_modules/type-fest/source/set-required.d.ts +10 -9
  182. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +6 -4
  183. package/node_modules/type-fest/source/some-extend.d.ts +9 -7
  184. package/node_modules/type-fest/source/split-on-rest-element.d.ts +14 -13
  185. package/node_modules/type-fest/source/split.d.ts +22 -11
  186. package/node_modules/type-fest/source/string-repeat.d.ts +1 -1
  187. package/node_modules/type-fest/source/string-to-array.d.ts +1 -1
  188. package/node_modules/type-fest/source/tsconfig-json.d.ts +1 -1
  189. package/node_modules/type-fest/source/typed-array.d.ts +6 -0
  190. package/node_modules/type-fest/source/union-max.d.ts +56 -0
  191. package/node_modules/type-fest/source/writable.d.ts +2 -2
  192. package/package.json +3 -3
  193. package/node_modules/@appium/support/node_modules/asyncbox/LICENSE +0 -203
  194. package/node_modules/@appium/support/node_modules/asyncbox/README.md +0 -215
  195. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +0 -103
  196. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +0 -1
  197. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.js +0 -301
  198. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +0 -1
  199. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts +0 -84
  200. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +0 -1
  201. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js +0 -3
  202. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js.map +0 -1
  203. package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/package.json +0 -3
  204. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +0 -103
  205. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +0 -1
  206. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.js +0 -288
  207. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +0 -1
  208. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts +0 -84
  209. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts.map +0 -1
  210. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js +0 -2
  211. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js.map +0 -1
  212. package/node_modules/@appium/support/node_modules/asyncbox/build/esm/package.json +0 -3
  213. package/node_modules/@appium/support/node_modules/asyncbox/lib/asyncbox.ts +0 -365
  214. package/node_modules/@appium/support/node_modules/asyncbox/lib/types.ts +0 -88
  215. package/node_modules/@appium/support/node_modules/asyncbox/package.json +0 -74
  216. package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +0 -1872
  217. package/node_modules/@appium/support/node_modules/axios/LICENSE +0 -7
  218. package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +0 -877
  219. package/node_modules/@appium/support/node_modules/axios/README.md +0 -2623
  220. package/node_modules/@appium/support/node_modules/axios/dist/axios.js +0 -5509
  221. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +0 -5
  222. package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +0 -1
  223. package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +0 -5469
  224. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +0 -5490
  225. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +0 -3
  226. package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  227. package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +0 -6356
  228. package/node_modules/@appium/support/node_modules/axios/index.d.cts +0 -762
  229. package/node_modules/@appium/support/node_modules/axios/index.d.ts +0 -783
  230. package/node_modules/@appium/support/node_modules/axios/index.js +0 -45
  231. package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +0 -36
  232. package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +0 -132
  233. package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +0 -643
  234. package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +0 -1406
  235. package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +0 -228
  236. package/node_modules/@appium/support/node_modules/axios/lib/axios.js +0 -89
  237. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  238. package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +0 -22
  239. package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +0 -5
  240. package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +0 -301
  241. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +0 -219
  242. package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
  243. package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +0 -72
  244. package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +0 -8
  245. package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +0 -88
  246. package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +0 -89
  247. package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +0 -174
  248. package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
  249. package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +0 -27
  250. package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +0 -28
  251. package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +0 -177
  252. package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +0 -10
  253. package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +0 -3
  254. package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +0 -2
  255. package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +0 -1
  256. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
  257. package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
  258. package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
  259. package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -78
  260. package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +0 -7
  261. package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
  262. package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +0 -14
  263. package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +0 -69
  264. package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +0 -18
  265. package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +0 -23
  266. package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +0 -68
  267. package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +0 -64
  268. package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
  269. package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
  270. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
  271. package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
  272. package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
  273. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
  274. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  275. package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
  276. package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +0 -2
  277. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
  278. package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  279. package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
  280. package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +0 -15
  281. package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +0 -105
  282. package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
  283. package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -329
  284. package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +0 -55
  285. package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +0 -28
  286. package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +0 -44
  287. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +0 -286
  288. package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  289. package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +0 -89
  290. package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +0 -112
  291. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  292. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  293. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  294. package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +0 -13
  295. package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +0 -52
  296. package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +0 -7
  297. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
  298. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  299. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  300. package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +0 -37
  301. package/node_modules/@appium/support/node_modules/axios/lib/utils.js +0 -1029
  302. package/node_modules/@appium/support/node_modules/axios/package.json +0 -203
  303. package/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.4.node +0 -0
  304. package/node_modules/big-integer/BigInteger.d.ts +0 -2393
  305. package/node_modules/big-integer/BigInteger.js +0 -1453
  306. package/node_modules/big-integer/BigInteger.min.js +0 -1
  307. package/node_modules/big-integer/LICENSE +0 -24
  308. package/node_modules/big-integer/README.md +0 -589
  309. package/node_modules/big-integer/bower.json +0 -29
  310. package/node_modules/big-integer/package.json +0 -48
  311. package/node_modules/big-integer/tsconfig.json +0 -24
  312. package/node_modules/bplist-creator/bplistCreator.d.ts +0 -8
  313. package/node_modules/bplist-creator/bplistCreator.js +0 -460
  314. package/node_modules/bplist-creator/test/airplay.bplist +0 -0
  315. package/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  316. package/node_modules/bplist-creator/test/creatorTest.js +0 -211
  317. package/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  318. package/node_modules/bplist-creator/test/integers.bplist +0 -0
  319. package/node_modules/bplist-creator/test/sample1.bplist +0 -0
  320. package/node_modules/bplist-creator/test/sample2.bplist +0 -0
  321. package/node_modules/bplist-creator/test/uid.bplist +0 -0
  322. package/node_modules/bplist-creator/test/utf16.bplist +0 -0
  323. package/node_modules/bplist-parser/.editorconfig +0 -12
  324. package/node_modules/bplist-parser/.eslintignore +0 -1
  325. package/node_modules/bplist-parser/.eslintrc.js +0 -296
  326. package/node_modules/bplist-parser/bplistParser.d.ts +0 -8
  327. package/node_modules/stream-buffers/.travis.yml +0 -28
  328. package/node_modules/stream-buffers/coverage/coverage.json +0 -1
  329. package/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
  330. package/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
  331. package/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
  332. package/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
  333. package/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
  334. package/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
  335. package/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
  336. package/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
  337. package/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
  338. package/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  339. package/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
  340. package/node_modules/stream-buffers/coverage/lcov.info +0 -305
@@ -1,301 +0,0 @@
1
- 'use strict';
2
-
3
- import utils from '../utils.js';
4
- import buildURL from '../helpers/buildURL.js';
5
- import InterceptorManager from './InterceptorManager.js';
6
- import dispatchRequest from './dispatchRequest.js';
7
- import mergeConfig from './mergeConfig.js';
8
- import buildFullPath from './buildFullPath.js';
9
- import validator from '../helpers/validator.js';
10
- import AxiosHeaders from './AxiosHeaders.js';
11
- import transitionalDefaults from '../defaults/transitional.js';
12
-
13
- const validators = validator.validators;
14
-
15
- /**
16
- * Create a new instance of Axios
17
- *
18
- * @param {Object} instanceConfig The default config for the instance
19
- *
20
- * @return {Axios} A new instance of Axios
21
- */
22
- class Axios {
23
- constructor(instanceConfig) {
24
- this.defaults = instanceConfig || {};
25
- this.interceptors = {
26
- request: new InterceptorManager(),
27
- response: new InterceptorManager(),
28
- };
29
- }
30
-
31
- /**
32
- * Dispatch a request
33
- *
34
- * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
35
- * @param {?Object} config
36
- *
37
- * @returns {Promise} The Promise to be fulfilled
38
- */
39
- async request(configOrUrl, config) {
40
- try {
41
- return await this._request(configOrUrl, config);
42
- } catch (err) {
43
- if (err instanceof Error) {
44
- let dummy = {};
45
-
46
- Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
47
-
48
- // slice off the Error: ... line
49
- const stack = (() => {
50
- if (!dummy.stack) {
51
- return '';
52
- }
53
-
54
- const firstNewlineIndex = dummy.stack.indexOf('\n');
55
-
56
- return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);
57
- })();
58
- try {
59
- if (!err.stack) {
60
- err.stack = stack;
61
- // match without the 2 top stack lines
62
- } else if (stack) {
63
- const firstNewlineIndex = stack.indexOf('\n');
64
- const secondNewlineIndex =
65
- firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1);
66
- const stackWithoutTwoTopLines =
67
- secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);
68
-
69
- if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
70
- err.stack += '\n' + stack;
71
- }
72
- }
73
- } catch (e) {
74
- // ignore the case where "stack" is an un-writable property
75
- }
76
- }
77
-
78
- throw err;
79
- }
80
- }
81
-
82
- _request(configOrUrl, config) {
83
- /*eslint no-param-reassign:0*/
84
- // Allow for axios('example/url'[, config]) a la fetch API
85
- if (typeof configOrUrl === 'string') {
86
- config = config || {};
87
- config.url = configOrUrl;
88
- } else {
89
- config = configOrUrl || {};
90
- }
91
-
92
- config = mergeConfig(this.defaults, config);
93
-
94
- const { transitional, paramsSerializer, headers } = config;
95
-
96
- if (transitional !== undefined) {
97
- validator.assertOptions(
98
- transitional,
99
- {
100
- silentJSONParsing: validators.transitional(validators.boolean),
101
- forcedJSONParsing: validators.transitional(validators.boolean),
102
- clarifyTimeoutError: validators.transitional(validators.boolean),
103
- legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
104
- advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
105
- validateStatusUndefinedResolves: validators.transitional(validators.boolean),
106
- },
107
- false
108
- );
109
- }
110
-
111
- if (paramsSerializer != null) {
112
- if (utils.isFunction(paramsSerializer)) {
113
- config.paramsSerializer = {
114
- serialize: paramsSerializer,
115
- };
116
- } else {
117
- validator.assertOptions(
118
- paramsSerializer,
119
- {
120
- encode: validators.function,
121
- serialize: validators.function,
122
- },
123
- true
124
- );
125
- }
126
- }
127
-
128
- // Set config.allowAbsoluteUrls
129
- if (config.allowAbsoluteUrls !== undefined) {
130
- // do nothing
131
- } else if (this.defaults.allowAbsoluteUrls !== undefined) {
132
- config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
133
- } else {
134
- config.allowAbsoluteUrls = true;
135
- }
136
-
137
- validator.assertOptions(
138
- config,
139
- {
140
- baseUrl: validators.spelling('baseURL'),
141
- withXsrfToken: validators.spelling('withXSRFToken'),
142
- },
143
- true
144
- );
145
-
146
- // Set config.method
147
- config.method = (config.method || this.defaults.method || 'get').toLowerCase();
148
-
149
- // Flatten headers
150
- let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);
151
-
152
- headers &&
153
- utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {
154
- delete headers[method];
155
- });
156
-
157
- config.headers = AxiosHeaders.concat(contextHeaders, headers);
158
-
159
- // filter out skipped interceptors
160
- const requestInterceptorChain = [];
161
- let synchronousRequestInterceptors = true;
162
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
163
- if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
164
- return;
165
- }
166
-
167
- synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
168
-
169
- const transitional = config.transitional || transitionalDefaults;
170
- const legacyInterceptorReqResOrdering =
171
- transitional && transitional.legacyInterceptorReqResOrdering;
172
-
173
- if (legacyInterceptorReqResOrdering) {
174
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
175
- } else {
176
- requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
177
- }
178
- });
179
-
180
- const responseInterceptorChain = [];
181
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
182
- responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
183
- });
184
-
185
- let promise;
186
- let i = 0;
187
- let len;
188
-
189
- if (!synchronousRequestInterceptors) {
190
- const chain = [dispatchRequest.bind(this), undefined];
191
- chain.unshift(...requestInterceptorChain);
192
- chain.push(...responseInterceptorChain);
193
- len = chain.length;
194
-
195
- promise = Promise.resolve(config);
196
-
197
- while (i < len) {
198
- promise = promise.then(chain[i++], chain[i++]);
199
- }
200
-
201
- return promise;
202
- }
203
-
204
- len = requestInterceptorChain.length;
205
-
206
- let newConfig = config;
207
-
208
- while (i < len) {
209
- const onFulfilled = requestInterceptorChain[i++];
210
- const onRejected = requestInterceptorChain[i++];
211
- try {
212
- newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
213
- } catch (error) {
214
- if (!onRejected) {
215
- promise = Promise.reject(error);
216
- break;
217
- }
218
-
219
- try {
220
- const rejectedResult = onRejected.call(this, error);
221
-
222
- if (utils.isThenable(rejectedResult)) {
223
- promise = Promise.resolve(rejectedResult).then(() =>
224
- dispatchRequest.call(this, newConfig)
225
- );
226
- }
227
- } catch (rejectedError) {
228
- promise = Promise.reject(rejectedError);
229
- }
230
-
231
- break;
232
- }
233
- }
234
-
235
- if (!promise) {
236
- try {
237
- promise = dispatchRequest.call(this, newConfig);
238
- } catch (error) {
239
- promise = Promise.reject(error);
240
- }
241
- }
242
-
243
- i = 0;
244
- len = responseInterceptorChain.length;
245
-
246
- while (i < len) {
247
- promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
248
- }
249
-
250
- return promise;
251
- }
252
-
253
- getUri(config) {
254
- config = mergeConfig(this.defaults, config);
255
- const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);
256
- return buildURL(fullPath, config.params, config.paramsSerializer);
257
- }
258
- }
259
-
260
- // Provide aliases for supported request methods
261
- utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
262
- /*eslint func-names:0*/
263
- Axios.prototype[method] = function (url, config) {
264
- return this.request(
265
- mergeConfig(config || {}, {
266
- method,
267
- url,
268
- data: config && utils.hasOwnProp(config, 'data') ? config.data : undefined,
269
- })
270
- );
271
- };
272
- });
273
-
274
- utils.forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {
275
- function generateHTTPMethod(isForm) {
276
- return function httpMethod(url, data, config) {
277
- return this.request(
278
- mergeConfig(config || {}, {
279
- method,
280
- headers: isForm
281
- ? {
282
- 'Content-Type': 'multipart/form-data',
283
- }
284
- : {},
285
- url,
286
- data,
287
- })
288
- );
289
- };
290
- }
291
-
292
- Axios.prototype[method] = generateHTTPMethod();
293
-
294
- // QUERY is a safe/idempotent read method; multipart form bodies don't fit
295
- // its semantics, so no queryForm shorthand is generated.
296
- if (method !== 'query') {
297
- Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
298
- }
299
- });
300
-
301
- export default Axios;
@@ -1,219 +0,0 @@
1
- 'use strict';
2
-
3
- import utils from '../utils.js';
4
- import AxiosHeaders from './AxiosHeaders.js';
5
-
6
- export const REDACTED = '[REDACTED ****]';
7
-
8
- function hasOwnOrPrototypeToJSON(source) {
9
- if (utils.hasOwnProp(source, 'toJSON')) {
10
- return true;
11
- }
12
-
13
- let prototype = Object.getPrototypeOf(source);
14
-
15
- while (prototype && prototype !== Object.prototype) {
16
- if (utils.hasOwnProp(prototype, 'toJSON')) {
17
- return true;
18
- }
19
-
20
- prototype = Object.getPrototypeOf(prototype);
21
- }
22
-
23
- return false;
24
- }
25
-
26
- // Build a plain-object snapshot of `config` and replace the value of any key
27
- // (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays
28
- // and AxiosHeaders, and short-circuits on circular references.
29
- function redactConfig(config, redactKeys) {
30
- const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));
31
- const seen = [];
32
-
33
- const visit = (source) => {
34
- if (source === null || typeof source !== 'object') return source;
35
- if (utils.isBuffer(source)) return source;
36
- if (seen.indexOf(source) !== -1) return undefined;
37
-
38
- if (source instanceof AxiosHeaders) {
39
- source = source.toJSON();
40
- }
41
-
42
- seen.push(source);
43
-
44
- let result;
45
- if (utils.isArray(source)) {
46
- result = [];
47
- source.forEach((v, i) => {
48
- const reducedValue = visit(v);
49
- if (!utils.isUndefined(reducedValue)) {
50
- result[i] = reducedValue;
51
- }
52
- });
53
- } else {
54
- if (!utils.isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {
55
- seen.pop();
56
- return source;
57
- }
58
-
59
- result = Object.create(null);
60
- for (const [key, value] of Object.entries(source)) {
61
- const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);
62
- if (!utils.isUndefined(reducedValue)) {
63
- result[key] = reducedValue;
64
- }
65
- }
66
- }
67
-
68
- seen.pop();
69
- return result;
70
- };
71
-
72
- return visit(config);
73
- }
74
-
75
- function stringifySafely(value) {
76
- try {
77
- return String(value);
78
- } catch (err) {
79
- return '';
80
- }
81
- }
82
-
83
- function aggregateErrorMessage(error) {
84
- const message = error.errors
85
- .map((entry) => {
86
- try {
87
- return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);
88
- } catch (err) {
89
- return '';
90
- }
91
- })
92
- .filter(Boolean)
93
- .join('; ');
94
-
95
- return message || error.name || 'AggregateError';
96
- }
97
-
98
- class AxiosError extends Error {
99
- static from(error, code, config, request, response, customProps) {
100
- // `AggregateError` (thrown by Node on dual-stack/Happy-Eyeballs connection
101
- // failures) has an empty `message`; its detail lives in `errors[]`. Without
102
- // this, the wrapped error surfaces with a blank message (see #6721).
103
- let message = error.message;
104
- if (!message && utils.isArray(error.errors) && error.errors.length) {
105
- message = aggregateErrorMessage(error);
106
- }
107
-
108
- const axiosError = new AxiosError(message, code || error.code, config, request, response);
109
- // Match native `Error` `cause` semantics: non-enumerable. The wrapped
110
- // error often carries circular internals (sockets, requests, agents), so
111
- // an enumerable `cause` makes structured loggers (pino/winston) and any
112
- // own-property walk throw "Converting circular structure to JSON".
113
- // Regression from #6982; see #7205. `__proto__: null` mirrors the
114
- // `message` descriptor below (prototype-pollution-safe descriptor).
115
- Object.defineProperty(axiosError, 'cause', {
116
- __proto__: null,
117
- value: error,
118
- writable: true,
119
- enumerable: false,
120
- configurable: true,
121
- });
122
- axiosError.name = error.name;
123
-
124
- // Preserve status from the original error if not already set from response
125
- if (error.status != null && axiosError.status == null) {
126
- axiosError.status = error.status;
127
- }
128
-
129
- customProps && Object.assign(axiosError, customProps);
130
- return axiosError;
131
- }
132
-
133
- /**
134
- * Create an Error with the specified message, config, error code, request and response.
135
- *
136
- * @param {string} message The error message.
137
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
138
- * @param {Object} [config] The config.
139
- * @param {Object} [request] The request.
140
- * @param {Object} [response] The response.
141
- *
142
- * @returns {Error} The created error.
143
- */
144
- constructor(message, code, config, request, response) {
145
- super(message);
146
-
147
- // Make message enumerable to maintain backward compatibility
148
- // The native Error constructor sets message as non-enumerable,
149
- // but axios < v1.13.3 had it as enumerable
150
- Object.defineProperty(this, 'message', {
151
- // Null-proto descriptor so a polluted Object.prototype.get cannot turn
152
- // this data descriptor into an accessor descriptor on the way in.
153
- __proto__: null,
154
- value: message,
155
- enumerable: true,
156
- writable: true,
157
- configurable: true,
158
- });
159
-
160
- this.name = 'AxiosError';
161
- this.isAxiosError = true;
162
- code && (this.code = code);
163
- config && (this.config = config);
164
- request && (this.request = request);
165
- if (response) {
166
- this.response = response;
167
- this.status = response.status;
168
- }
169
- }
170
-
171
- toJSON() {
172
- // Opt-in redaction: when the request config carries a `redact` array, the
173
- // value of any matching key (case-insensitive, at any depth) is replaced
174
- // with REDACTED in the serialized snapshot. Undefined or empty leaves the
175
- // existing serialization behavior unchanged.
176
- const config = this.config;
177
- const redactKeys = config && utils.hasOwnProp(config, 'redact') ? config.redact : undefined;
178
- const serializedConfig =
179
- utils.isArray(redactKeys) && redactKeys.length > 0
180
- ? redactConfig(config, redactKeys)
181
- : utils.toJSONObject(config);
182
-
183
- return {
184
- // Standard
185
- message: this.message,
186
- name: this.name,
187
- // Microsoft
188
- description: this.description,
189
- number: this.number,
190
- // Mozilla
191
- fileName: this.fileName,
192
- lineNumber: this.lineNumber,
193
- columnNumber: this.columnNumber,
194
- stack: this.stack,
195
- // Axios
196
- config: serializedConfig,
197
- code: this.code,
198
- status: this.status,
199
- };
200
- }
201
- }
202
-
203
- // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
204
- AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
205
- AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
206
- AxiosError.ECONNABORTED = 'ECONNABORTED';
207
- AxiosError.ETIMEDOUT = 'ETIMEDOUT';
208
- AxiosError.ECONNREFUSED = 'ECONNREFUSED';
209
- AxiosError.ERR_NETWORK = 'ERR_NETWORK';
210
- AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
211
- AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
212
- AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
213
- AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
214
- AxiosError.ERR_CANCELED = 'ERR_CANCELED';
215
- AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
216
- AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
217
- AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';
218
-
219
- export default AxiosError;