shell-mirror 1.5.139 → 1.5.143

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 (2457) hide show
  1. package/auth.js +8 -2
  2. package/mac-agent/.env.example +9 -0
  3. package/mac-agent/agent.js +46 -18
  4. package/package.json +4 -1
  5. package/public/app/config.js +12 -0
  6. package/public/app/dashboard.html +1 -0
  7. package/public/app/dashboard.js +10 -4
  8. package/public/app/terminal.html +115 -67
  9. package/public/app/terminal.js +252 -61
  10. package/mac-agent/.env +0 -9
  11. package/mac-agent/agent-debug.log +0 -143
  12. package/mac-agent/authorized-users.json +0 -35
  13. package/mac-agent/logs/http-agent.log +0 -823
  14. package/mac-agent/node +0 -0
  15. package/mac-agent/node_modules/.package-lock.json +0 -2255
  16. package/mac-agent/node_modules/@colors/colors/LICENSE +0 -26
  17. package/mac-agent/node_modules/@colors/colors/README.md +0 -219
  18. package/mac-agent/node_modules/@colors/colors/examples/normal-usage.js +0 -83
  19. package/mac-agent/node_modules/@colors/colors/examples/safe-string.js +0 -80
  20. package/mac-agent/node_modules/@colors/colors/index.d.ts +0 -184
  21. package/mac-agent/node_modules/@colors/colors/lib/colors.js +0 -211
  22. package/mac-agent/node_modules/@colors/colors/lib/custom/trap.js +0 -46
  23. package/mac-agent/node_modules/@colors/colors/lib/custom/zalgo.js +0 -110
  24. package/mac-agent/node_modules/@colors/colors/lib/extendStringPrototype.js +0 -110
  25. package/mac-agent/node_modules/@colors/colors/lib/index.js +0 -13
  26. package/mac-agent/node_modules/@colors/colors/lib/maps/america.js +0 -10
  27. package/mac-agent/node_modules/@colors/colors/lib/maps/rainbow.js +0 -12
  28. package/mac-agent/node_modules/@colors/colors/lib/maps/random.js +0 -11
  29. package/mac-agent/node_modules/@colors/colors/lib/maps/zebra.js +0 -5
  30. package/mac-agent/node_modules/@colors/colors/lib/styles.js +0 -95
  31. package/mac-agent/node_modules/@colors/colors/lib/system/has-flag.js +0 -35
  32. package/mac-agent/node_modules/@colors/colors/lib/system/supports-colors.js +0 -151
  33. package/mac-agent/node_modules/@colors/colors/package.json +0 -45
  34. package/mac-agent/node_modules/@colors/colors/safe.d.ts +0 -64
  35. package/mac-agent/node_modules/@colors/colors/safe.js +0 -10
  36. package/mac-agent/node_modules/@colors/colors/themes/generic-logging.js +0 -12
  37. package/mac-agent/node_modules/@dabh/diagnostics/CHANGELOG.md +0 -26
  38. package/mac-agent/node_modules/@dabh/diagnostics/LICENSE +0 -20
  39. package/mac-agent/node_modules/@dabh/diagnostics/README.md +0 -473
  40. package/mac-agent/node_modules/@dabh/diagnostics/adapters/hash.js +0 -11
  41. package/mac-agent/node_modules/@dabh/diagnostics/adapters/index.js +0 -18
  42. package/mac-agent/node_modules/@dabh/diagnostics/adapters/localstorage.js +0 -11
  43. package/mac-agent/node_modules/@dabh/diagnostics/adapters/process.env.js +0 -11
  44. package/mac-agent/node_modules/@dabh/diagnostics/browser/development.js +0 -35
  45. package/mac-agent/node_modules/@dabh/diagnostics/browser/index.js +0 -8
  46. package/mac-agent/node_modules/@dabh/diagnostics/browser/override.js +0 -6
  47. package/mac-agent/node_modules/@dabh/diagnostics/browser/production.js +0 -24
  48. package/mac-agent/node_modules/@dabh/diagnostics/diagnostics.js +0 -212
  49. package/mac-agent/node_modules/@dabh/diagnostics/logger/console.js +0 -19
  50. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +0 -20
  51. package/mac-agent/node_modules/@dabh/diagnostics/modifiers/namespace.js +0 -32
  52. package/mac-agent/node_modules/@dabh/diagnostics/node/development.js +0 -36
  53. package/mac-agent/node_modules/@dabh/diagnostics/node/index.js +0 -8
  54. package/mac-agent/node_modules/@dabh/diagnostics/node/override.js +0 -21
  55. package/mac-agent/node_modules/@dabh/diagnostics/node/production.js +0 -24
  56. package/mac-agent/node_modules/@dabh/diagnostics/package.json +0 -64
  57. package/mac-agent/node_modules/@koush/wrtc/CMakeLists.txt +0 -664
  58. package/mac-agent/node_modules/@koush/wrtc/LICENSE.md +0 -30
  59. package/mac-agent/node_modules/@koush/wrtc/NodeJS.cmake +0 -638
  60. package/mac-agent/node_modules/@koush/wrtc/README.md +0 -120
  61. package/mac-agent/node_modules/@koush/wrtc/THIRD_PARTY_LICENSES.md +0 -1314
  62. package/mac-agent/node_modules/@koush/wrtc/build/Release/wrtc.node +0 -0
  63. package/mac-agent/node_modules/@koush/wrtc/build-linux-variants.sh +0 -10
  64. package/mac-agent/node_modules/@koush/wrtc/build-mac-variants.sh +0 -14
  65. package/mac-agent/node_modules/@koush/wrtc/clean.sh +0 -2
  66. package/mac-agent/node_modules/@koush/wrtc/lib/binding.js +0 -7
  67. package/mac-agent/node_modules/@koush/wrtc/lib/browser.js +0 -18
  68. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelevent.js +0 -26
  69. package/mac-agent/node_modules/@koush/wrtc/lib/datachannelmessageevent.js +0 -9
  70. package/mac-agent/node_modules/@koush/wrtc/lib/error.js +0 -20
  71. package/mac-agent/node_modules/@koush/wrtc/lib/eventtarget.js +0 -50
  72. package/mac-agent/node_modules/@koush/wrtc/lib/icecandidate.js +0 -28
  73. package/mac-agent/node_modules/@koush/wrtc/lib/index.js +0 -81
  74. package/mac-agent/node_modules/@koush/wrtc/lib/mediadevices.js +0 -24
  75. package/mac-agent/node_modules/@koush/wrtc/lib/peerconnection.js +0 -313
  76. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceerrorevent.js +0 -36
  77. package/mac-agent/node_modules/@koush/wrtc/lib/rtcpeerconnectioniceevent.js +0 -20
  78. package/mac-agent/node_modules/@koush/wrtc/lib/sessiondescription.js +0 -10
  79. package/mac-agent/node_modules/@koush/wrtc/package.json +0 -95
  80. package/mac-agent/node_modules/@koush/wrtc/scripts/build-appveyor.bat +0 -73
  81. package/mac-agent/node_modules/@koush/wrtc/scripts/build-from-source.js +0 -45
  82. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.bat +0 -20
  83. package/mac-agent/node_modules/@koush/wrtc/scripts/build-webrtc.sh +0 -23
  84. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.bat +0 -28
  85. package/mac-agent/node_modules/@koush/wrtc/scripts/configure-webrtc.sh +0 -25
  86. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt-or-build-from-source.js +0 -25
  87. package/mac-agent/node_modules/@koush/wrtc/scripts/download-prebuilt.js +0 -35
  88. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.bat +0 -47
  89. package/mac-agent/node_modules/@koush/wrtc/scripts/download-webrtc.sh +0 -21
  90. package/mac-agent/node_modules/@koush/wrtc/scripts/install-example.js +0 -80
  91. package/mac-agent/node_modules/@koush/wrtc/scripts/karma.js +0 -70
  92. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.bat +0 -1
  93. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.js +0 -93
  94. package/mac-agent/node_modules/@koush/wrtc/scripts/pack-webrtc.sh +0 -38
  95. package/mac-agent/node_modules/@koush/wrtc/scripts/publish-to-npm.js +0 -98
  96. package/mac-agent/node_modules/@koush/wrtc/scripts/publish.js +0 -26
  97. package/mac-agent/node_modules/@koush/wrtc/scripts/run-tests.bat +0 -25
  98. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.bat +0 -1
  99. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.js +0 -36
  100. package/mac-agent/node_modules/@koush/wrtc/scripts/unpack-webrtc.sh +0 -28
  101. package/mac-agent/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml +0 -74
  102. package/mac-agent/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md +0 -510
  103. package/mac-agent/node_modules/@mapbox/node-pre-gyp/LICENSE +0 -27
  104. package/mac-agent/node_modules/@mapbox/node-pre-gyp/README.md +0 -742
  105. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp +0 -4
  106. package/mac-agent/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd +0 -2
  107. package/mac-agent/node_modules/@mapbox/node-pre-gyp/contributing.md +0 -10
  108. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/build.js +0 -51
  109. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/clean.js +0 -31
  110. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/configure.js +0 -52
  111. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/info.js +0 -38
  112. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/install.js +0 -235
  113. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/main.js +0 -125
  114. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +0 -309
  115. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/package.js +0 -73
  116. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +0 -34
  117. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/publish.js +0 -81
  118. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js +0 -20
  119. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js +0 -19
  120. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/reveal.js +0 -32
  121. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js +0 -79
  122. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js +0 -53
  123. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js +0 -41
  124. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json +0 -2602
  125. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js +0 -93
  126. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js +0 -102
  127. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +0 -205
  128. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html +0 -26
  129. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json +0 -9
  130. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +0 -163
  131. package/mac-agent/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +0 -335
  132. package/mac-agent/node_modules/@mapbox/node-pre-gyp/package.json +0 -62
  133. package/mac-agent/node_modules/@types/triple-beam/LICENSE +0 -21
  134. package/mac-agent/node_modules/@types/triple-beam/README.md +0 -36
  135. package/mac-agent/node_modules/@types/triple-beam/index.d.ts +0 -17
  136. package/mac-agent/node_modules/@types/triple-beam/package.json +0 -25
  137. package/mac-agent/node_modules/abbrev/LICENSE +0 -46
  138. package/mac-agent/node_modules/abbrev/README.md +0 -23
  139. package/mac-agent/node_modules/abbrev/abbrev.js +0 -61
  140. package/mac-agent/node_modules/abbrev/package.json +0 -21
  141. package/mac-agent/node_modules/agent-base/README.md +0 -145
  142. package/mac-agent/node_modules/agent-base/dist/src/index.d.ts +0 -78
  143. package/mac-agent/node_modules/agent-base/dist/src/index.js +0 -203
  144. package/mac-agent/node_modules/agent-base/dist/src/index.js.map +0 -1
  145. package/mac-agent/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
  146. package/mac-agent/node_modules/agent-base/dist/src/promisify.js +0 -18
  147. package/mac-agent/node_modules/agent-base/dist/src/promisify.js.map +0 -1
  148. package/mac-agent/node_modules/agent-base/package.json +0 -64
  149. package/mac-agent/node_modules/agent-base/src/index.ts +0 -345
  150. package/mac-agent/node_modules/agent-base/src/promisify.ts +0 -33
  151. package/mac-agent/node_modules/ansi-regex/index.d.ts +0 -37
  152. package/mac-agent/node_modules/ansi-regex/index.js +0 -10
  153. package/mac-agent/node_modules/ansi-regex/license +0 -9
  154. package/mac-agent/node_modules/ansi-regex/package.json +0 -55
  155. package/mac-agent/node_modules/ansi-regex/readme.md +0 -78
  156. package/mac-agent/node_modules/anymatch/LICENSE +0 -15
  157. package/mac-agent/node_modules/anymatch/README.md +0 -87
  158. package/mac-agent/node_modules/anymatch/index.d.ts +0 -20
  159. package/mac-agent/node_modules/anymatch/index.js +0 -104
  160. package/mac-agent/node_modules/anymatch/package.json +0 -48
  161. package/mac-agent/node_modules/aproba/LICENSE +0 -14
  162. package/mac-agent/node_modules/aproba/README.md +0 -94
  163. package/mac-agent/node_modules/aproba/index.js +0 -105
  164. package/mac-agent/node_modules/aproba/package.json +0 -35
  165. package/mac-agent/node_modules/are-we-there-yet/LICENSE.md +0 -18
  166. package/mac-agent/node_modules/are-we-there-yet/README.md +0 -208
  167. package/mac-agent/node_modules/are-we-there-yet/lib/index.js +0 -4
  168. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-base.js +0 -11
  169. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-group.js +0 -116
  170. package/mac-agent/node_modules/are-we-there-yet/lib/tracker-stream.js +0 -36
  171. package/mac-agent/node_modules/are-we-there-yet/lib/tracker.js +0 -32
  172. package/mac-agent/node_modules/are-we-there-yet/package.json +0 -53
  173. package/mac-agent/node_modules/async/CHANGELOG.md +0 -351
  174. package/mac-agent/node_modules/async/LICENSE +0 -19
  175. package/mac-agent/node_modules/async/README.md +0 -59
  176. package/mac-agent/node_modules/async/all.js +0 -119
  177. package/mac-agent/node_modules/async/allLimit.js +0 -46
  178. package/mac-agent/node_modules/async/allSeries.js +0 -45
  179. package/mac-agent/node_modules/async/any.js +0 -122
  180. package/mac-agent/node_modules/async/anyLimit.js +0 -47
  181. package/mac-agent/node_modules/async/anySeries.js +0 -46
  182. package/mac-agent/node_modules/async/apply.js +0 -11
  183. package/mac-agent/node_modules/async/applyEach.js +0 -57
  184. package/mac-agent/node_modules/async/applyEachSeries.js +0 -37
  185. package/mac-agent/node_modules/async/asyncify.js +0 -118
  186. package/mac-agent/node_modules/async/auto.js +0 -333
  187. package/mac-agent/node_modules/async/autoInject.js +0 -182
  188. package/mac-agent/node_modules/async/bower.json +0 -17
  189. package/mac-agent/node_modules/async/cargo.js +0 -63
  190. package/mac-agent/node_modules/async/cargoQueue.js +0 -71
  191. package/mac-agent/node_modules/async/compose.js +0 -55
  192. package/mac-agent/node_modules/async/concat.js +0 -115
  193. package/mac-agent/node_modules/async/concatLimit.js +0 -60
  194. package/mac-agent/node_modules/async/concatSeries.js +0 -41
  195. package/mac-agent/node_modules/async/constant.js +0 -14
  196. package/mac-agent/node_modules/async/detect.js +0 -96
  197. package/mac-agent/node_modules/async/detectLimit.js +0 -48
  198. package/mac-agent/node_modules/async/detectSeries.js +0 -47
  199. package/mac-agent/node_modules/async/dir.js +0 -43
  200. package/mac-agent/node_modules/async/dist/async.js +0 -6061
  201. package/mac-agent/node_modules/async/dist/async.min.js +0 -1
  202. package/mac-agent/node_modules/async/dist/async.mjs +0 -5948
  203. package/mac-agent/node_modules/async/doDuring.js +0 -68
  204. package/mac-agent/node_modules/async/doUntil.js +0 -46
  205. package/mac-agent/node_modules/async/doWhilst.js +0 -68
  206. package/mac-agent/node_modules/async/during.js +0 -78
  207. package/mac-agent/node_modules/async/each.js +0 -129
  208. package/mac-agent/node_modules/async/eachLimit.js +0 -50
  209. package/mac-agent/node_modules/async/eachOf.js +0 -185
  210. package/mac-agent/node_modules/async/eachOfLimit.js +0 -47
  211. package/mac-agent/node_modules/async/eachOfSeries.js +0 -39
  212. package/mac-agent/node_modules/async/eachSeries.js +0 -44
  213. package/mac-agent/node_modules/async/ensureAsync.js +0 -67
  214. package/mac-agent/node_modules/async/every.js +0 -119
  215. package/mac-agent/node_modules/async/everyLimit.js +0 -46
  216. package/mac-agent/node_modules/async/everySeries.js +0 -45
  217. package/mac-agent/node_modules/async/filter.js +0 -93
  218. package/mac-agent/node_modules/async/filterLimit.js +0 -45
  219. package/mac-agent/node_modules/async/filterSeries.js +0 -43
  220. package/mac-agent/node_modules/async/find.js +0 -96
  221. package/mac-agent/node_modules/async/findLimit.js +0 -48
  222. package/mac-agent/node_modules/async/findSeries.js +0 -47
  223. package/mac-agent/node_modules/async/flatMap.js +0 -115
  224. package/mac-agent/node_modules/async/flatMapLimit.js +0 -60
  225. package/mac-agent/node_modules/async/flatMapSeries.js +0 -41
  226. package/mac-agent/node_modules/async/foldl.js +0 -153
  227. package/mac-agent/node_modules/async/foldr.js +0 -41
  228. package/mac-agent/node_modules/async/forEach.js +0 -129
  229. package/mac-agent/node_modules/async/forEachLimit.js +0 -50
  230. package/mac-agent/node_modules/async/forEachOf.js +0 -185
  231. package/mac-agent/node_modules/async/forEachOfLimit.js +0 -47
  232. package/mac-agent/node_modules/async/forEachOfSeries.js +0 -39
  233. package/mac-agent/node_modules/async/forEachSeries.js +0 -44
  234. package/mac-agent/node_modules/async/forever.js +0 -68
  235. package/mac-agent/node_modules/async/groupBy.js +0 -108
  236. package/mac-agent/node_modules/async/groupByLimit.js +0 -71
  237. package/mac-agent/node_modules/async/groupBySeries.js +0 -36
  238. package/mac-agent/node_modules/async/index.js +0 -588
  239. package/mac-agent/node_modules/async/inject.js +0 -153
  240. package/mac-agent/node_modules/async/internal/DoublyLinkedList.js +0 -92
  241. package/mac-agent/node_modules/async/internal/Heap.js +0 -120
  242. package/mac-agent/node_modules/async/internal/applyEach.js +0 -29
  243. package/mac-agent/node_modules/async/internal/asyncEachOfLimit.js +0 -75
  244. package/mac-agent/node_modules/async/internal/awaitify.js +0 -28
  245. package/mac-agent/node_modules/async/internal/breakLoop.js +0 -10
  246. package/mac-agent/node_modules/async/internal/consoleFunc.js +0 -31
  247. package/mac-agent/node_modules/async/internal/createTester.js +0 -40
  248. package/mac-agent/node_modules/async/internal/eachOfLimit.js +0 -90
  249. package/mac-agent/node_modules/async/internal/filter.js +0 -55
  250. package/mac-agent/node_modules/async/internal/getIterator.js +0 -11
  251. package/mac-agent/node_modules/async/internal/initialParams.js +0 -14
  252. package/mac-agent/node_modules/async/internal/isArrayLike.js +0 -10
  253. package/mac-agent/node_modules/async/internal/iterator.js +0 -57
  254. package/mac-agent/node_modules/async/internal/map.js +0 -30
  255. package/mac-agent/node_modules/async/internal/once.js +0 -17
  256. package/mac-agent/node_modules/async/internal/onlyOnce.js +0 -15
  257. package/mac-agent/node_modules/async/internal/parallel.js +0 -34
  258. package/mac-agent/node_modules/async/internal/promiseCallback.js +0 -23
  259. package/mac-agent/node_modules/async/internal/queue.js +0 -294
  260. package/mac-agent/node_modules/async/internal/range.js +0 -14
  261. package/mac-agent/node_modules/async/internal/reject.js +0 -26
  262. package/mac-agent/node_modules/async/internal/setImmediate.js +0 -34
  263. package/mac-agent/node_modules/async/internal/withoutIndex.js +0 -10
  264. package/mac-agent/node_modules/async/internal/wrapAsync.js +0 -34
  265. package/mac-agent/node_modules/async/log.js +0 -41
  266. package/mac-agent/node_modules/async/map.js +0 -142
  267. package/mac-agent/node_modules/async/mapLimit.js +0 -45
  268. package/mac-agent/node_modules/async/mapSeries.js +0 -44
  269. package/mac-agent/node_modules/async/mapValues.js +0 -152
  270. package/mac-agent/node_modules/async/mapValuesLimit.js +0 -61
  271. package/mac-agent/node_modules/async/mapValuesSeries.js +0 -37
  272. package/mac-agent/node_modules/async/memoize.js +0 -91
  273. package/mac-agent/node_modules/async/nextTick.js +0 -52
  274. package/mac-agent/node_modules/async/package.json +0 -75
  275. package/mac-agent/node_modules/async/parallel.js +0 -180
  276. package/mac-agent/node_modules/async/parallelLimit.js +0 -41
  277. package/mac-agent/node_modules/async/priorityQueue.js +0 -60
  278. package/mac-agent/node_modules/async/queue.js +0 -24
  279. package/mac-agent/node_modules/async/race.js +0 -67
  280. package/mac-agent/node_modules/async/reduce.js +0 -153
  281. package/mac-agent/node_modules/async/reduceRight.js +0 -41
  282. package/mac-agent/node_modules/async/reflect.js +0 -78
  283. package/mac-agent/node_modules/async/reflectAll.js +0 -93
  284. package/mac-agent/node_modules/async/reject.js +0 -87
  285. package/mac-agent/node_modules/async/rejectLimit.js +0 -45
  286. package/mac-agent/node_modules/async/rejectSeries.js +0 -43
  287. package/mac-agent/node_modules/async/retry.js +0 -159
  288. package/mac-agent/node_modules/async/retryable.js +0 -77
  289. package/mac-agent/node_modules/async/select.js +0 -93
  290. package/mac-agent/node_modules/async/selectLimit.js +0 -45
  291. package/mac-agent/node_modules/async/selectSeries.js +0 -43
  292. package/mac-agent/node_modules/async/seq.js +0 -79
  293. package/mac-agent/node_modules/async/series.js +0 -186
  294. package/mac-agent/node_modules/async/setImmediate.js +0 -45
  295. package/mac-agent/node_modules/async/some.js +0 -122
  296. package/mac-agent/node_modules/async/someLimit.js +0 -47
  297. package/mac-agent/node_modules/async/someSeries.js +0 -46
  298. package/mac-agent/node_modules/async/sortBy.js +0 -190
  299. package/mac-agent/node_modules/async/timeout.js +0 -89
  300. package/mac-agent/node_modules/async/times.js +0 -50
  301. package/mac-agent/node_modules/async/timesLimit.js +0 -43
  302. package/mac-agent/node_modules/async/timesSeries.js +0 -32
  303. package/mac-agent/node_modules/async/transform.js +0 -173
  304. package/mac-agent/node_modules/async/tryEach.js +0 -78
  305. package/mac-agent/node_modules/async/unmemoize.js +0 -25
  306. package/mac-agent/node_modules/async/until.js +0 -61
  307. package/mac-agent/node_modules/async/waterfall.js +0 -105
  308. package/mac-agent/node_modules/async/whilst.js +0 -78
  309. package/mac-agent/node_modules/async/wrapSync.js +0 -118
  310. package/mac-agent/node_modules/asynckit/LICENSE +0 -21
  311. package/mac-agent/node_modules/asynckit/README.md +0 -233
  312. package/mac-agent/node_modules/asynckit/bench.js +0 -76
  313. package/mac-agent/node_modules/asynckit/index.js +0 -6
  314. package/mac-agent/node_modules/asynckit/lib/abort.js +0 -29
  315. package/mac-agent/node_modules/asynckit/lib/async.js +0 -34
  316. package/mac-agent/node_modules/asynckit/lib/defer.js +0 -26
  317. package/mac-agent/node_modules/asynckit/lib/iterate.js +0 -75
  318. package/mac-agent/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  319. package/mac-agent/node_modules/asynckit/lib/readable_parallel.js +0 -25
  320. package/mac-agent/node_modules/asynckit/lib/readable_serial.js +0 -25
  321. package/mac-agent/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  322. package/mac-agent/node_modules/asynckit/lib/state.js +0 -37
  323. package/mac-agent/node_modules/asynckit/lib/streamify.js +0 -141
  324. package/mac-agent/node_modules/asynckit/lib/terminator.js +0 -29
  325. package/mac-agent/node_modules/asynckit/package.json +0 -63
  326. package/mac-agent/node_modules/asynckit/parallel.js +0 -43
  327. package/mac-agent/node_modules/asynckit/serial.js +0 -17
  328. package/mac-agent/node_modules/asynckit/serialOrdered.js +0 -75
  329. package/mac-agent/node_modules/asynckit/stream.js +0 -21
  330. package/mac-agent/node_modules/axios/CHANGELOG.md +0 -1220
  331. package/mac-agent/node_modules/axios/LICENSE +0 -7
  332. package/mac-agent/node_modules/axios/MIGRATION_GUIDE.md +0 -3
  333. package/mac-agent/node_modules/axios/README.md +0 -1682
  334. package/mac-agent/node_modules/axios/dist/axios.js +0 -4296
  335. package/mac-agent/node_modules/axios/dist/axios.js.map +0 -1
  336. package/mac-agent/node_modules/axios/dist/axios.min.js +0 -3
  337. package/mac-agent/node_modules/axios/dist/axios.min.js.map +0 -1
  338. package/mac-agent/node_modules/axios/dist/browser/axios.cjs +0 -3730
  339. package/mac-agent/node_modules/axios/dist/browser/axios.cjs.map +0 -1
  340. package/mac-agent/node_modules/axios/dist/esm/axios.js +0 -3753
  341. package/mac-agent/node_modules/axios/dist/esm/axios.js.map +0 -1
  342. package/mac-agent/node_modules/axios/dist/esm/axios.min.js +0 -3
  343. package/mac-agent/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  344. package/mac-agent/node_modules/axios/dist/node/axios.cjs +0 -4787
  345. package/mac-agent/node_modules/axios/dist/node/axios.cjs.map +0 -1
  346. package/mac-agent/node_modules/axios/index.d.cts +0 -550
  347. package/mac-agent/node_modules/axios/index.d.ts +0 -572
  348. package/mac-agent/node_modules/axios/index.js +0 -43
  349. package/mac-agent/node_modules/axios/lib/adapters/README.md +0 -37
  350. package/mac-agent/node_modules/axios/lib/adapters/adapters.js +0 -79
  351. package/mac-agent/node_modules/axios/lib/adapters/fetch.js +0 -229
  352. package/mac-agent/node_modules/axios/lib/adapters/http.js +0 -695
  353. package/mac-agent/node_modules/axios/lib/adapters/xhr.js +0 -197
  354. package/mac-agent/node_modules/axios/lib/axios.js +0 -89
  355. package/mac-agent/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  356. package/mac-agent/node_modules/axios/lib/cancel/CanceledError.js +0 -25
  357. package/mac-agent/node_modules/axios/lib/cancel/isCancel.js +0 -5
  358. package/mac-agent/node_modules/axios/lib/core/Axios.js +0 -242
  359. package/mac-agent/node_modules/axios/lib/core/AxiosError.js +0 -103
  360. package/mac-agent/node_modules/axios/lib/core/AxiosHeaders.js +0 -314
  361. package/mac-agent/node_modules/axios/lib/core/InterceptorManager.js +0 -71
  362. package/mac-agent/node_modules/axios/lib/core/README.md +0 -8
  363. package/mac-agent/node_modules/axios/lib/core/buildFullPath.js +0 -22
  364. package/mac-agent/node_modules/axios/lib/core/dispatchRequest.js +0 -81
  365. package/mac-agent/node_modules/axios/lib/core/mergeConfig.js +0 -106
  366. package/mac-agent/node_modules/axios/lib/core/settle.js +0 -27
  367. package/mac-agent/node_modules/axios/lib/core/transformData.js +0 -28
  368. package/mac-agent/node_modules/axios/lib/defaults/index.js +0 -161
  369. package/mac-agent/node_modules/axios/lib/defaults/transitional.js +0 -7
  370. package/mac-agent/node_modules/axios/lib/env/README.md +0 -3
  371. package/mac-agent/node_modules/axios/lib/env/classes/FormData.js +0 -2
  372. package/mac-agent/node_modules/axios/lib/env/data.js +0 -1
  373. package/mac-agent/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -143
  374. package/mac-agent/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -58
  375. package/mac-agent/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  376. package/mac-agent/node_modules/axios/lib/helpers/README.md +0 -7
  377. package/mac-agent/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -28
  378. package/mac-agent/node_modules/axios/lib/helpers/bind.js +0 -7
  379. package/mac-agent/node_modules/axios/lib/helpers/buildURL.js +0 -69
  380. package/mac-agent/node_modules/axios/lib/helpers/callbackify.js +0 -16
  381. package/mac-agent/node_modules/axios/lib/helpers/combineURLs.js +0 -15
  382. package/mac-agent/node_modules/axios/lib/helpers/composeSignals.js +0 -48
  383. package/mac-agent/node_modules/axios/lib/helpers/cookies.js +0 -42
  384. package/mac-agent/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -26
  385. package/mac-agent/node_modules/axios/lib/helpers/formDataToJSON.js +0 -95
  386. package/mac-agent/node_modules/axios/lib/helpers/formDataToStream.js +0 -112
  387. package/mac-agent/node_modules/axios/lib/helpers/fromDataURI.js +0 -53
  388. package/mac-agent/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
  389. package/mac-agent/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  390. package/mac-agent/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -14
  391. package/mac-agent/node_modules/axios/lib/helpers/null.js +0 -2
  392. package/mac-agent/node_modules/axios/lib/helpers/parseHeaders.js +0 -55
  393. package/mac-agent/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  394. package/mac-agent/node_modules/axios/lib/helpers/progressEventReducer.js +0 -44
  395. package/mac-agent/node_modules/axios/lib/helpers/readBlob.js +0 -15
  396. package/mac-agent/node_modules/axios/lib/helpers/resolveConfig.js +0 -57
  397. package/mac-agent/node_modules/axios/lib/helpers/speedometer.js +0 -55
  398. package/mac-agent/node_modules/axios/lib/helpers/spread.js +0 -28
  399. package/mac-agent/node_modules/axios/lib/helpers/throttle.js +0 -44
  400. package/mac-agent/node_modules/axios/lib/helpers/toFormData.js +0 -223
  401. package/mac-agent/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
  402. package/mac-agent/node_modules/axios/lib/helpers/trackStream.js +0 -87
  403. package/mac-agent/node_modules/axios/lib/helpers/validator.js +0 -99
  404. package/mac-agent/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  405. package/mac-agent/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  406. package/mac-agent/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  407. package/mac-agent/node_modules/axios/lib/platform/browser/index.js +0 -13
  408. package/mac-agent/node_modules/axios/lib/platform/common/utils.js +0 -51
  409. package/mac-agent/node_modules/axios/lib/platform/index.js +0 -7
  410. package/mac-agent/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  411. package/mac-agent/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  412. package/mac-agent/node_modules/axios/lib/platform/node/index.js +0 -38
  413. package/mac-agent/node_modules/axios/lib/utils.js +0 -744
  414. package/mac-agent/node_modules/axios/package.json +0 -228
  415. package/mac-agent/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  416. package/mac-agent/node_modules/balanced-match/LICENSE.md +0 -21
  417. package/mac-agent/node_modules/balanced-match/README.md +0 -97
  418. package/mac-agent/node_modules/balanced-match/index.js +0 -62
  419. package/mac-agent/node_modules/balanced-match/package.json +0 -48
  420. package/mac-agent/node_modules/binary-extensions/binary-extensions.json +0 -263
  421. package/mac-agent/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
  422. package/mac-agent/node_modules/binary-extensions/index.d.ts +0 -14
  423. package/mac-agent/node_modules/binary-extensions/index.js +0 -1
  424. package/mac-agent/node_modules/binary-extensions/license +0 -10
  425. package/mac-agent/node_modules/binary-extensions/package.json +0 -40
  426. package/mac-agent/node_modules/binary-extensions/readme.md +0 -25
  427. package/mac-agent/node_modules/brace-expansion/LICENSE +0 -21
  428. package/mac-agent/node_modules/brace-expansion/README.md +0 -129
  429. package/mac-agent/node_modules/brace-expansion/index.js +0 -201
  430. package/mac-agent/node_modules/brace-expansion/package.json +0 -50
  431. package/mac-agent/node_modules/braces/LICENSE +0 -21
  432. package/mac-agent/node_modules/braces/README.md +0 -586
  433. package/mac-agent/node_modules/braces/index.js +0 -170
  434. package/mac-agent/node_modules/braces/lib/compile.js +0 -60
  435. package/mac-agent/node_modules/braces/lib/constants.js +0 -57
  436. package/mac-agent/node_modules/braces/lib/expand.js +0 -113
  437. package/mac-agent/node_modules/braces/lib/parse.js +0 -331
  438. package/mac-agent/node_modules/braces/lib/stringify.js +0 -32
  439. package/mac-agent/node_modules/braces/lib/utils.js +0 -122
  440. package/mac-agent/node_modules/braces/package.json +0 -77
  441. package/mac-agent/node_modules/call-bind/.eslintignore +0 -1
  442. package/mac-agent/node_modules/call-bind/.eslintrc +0 -16
  443. package/mac-agent/node_modules/call-bind/.github/FUNDING.yml +0 -12
  444. package/mac-agent/node_modules/call-bind/.nycrc +0 -9
  445. package/mac-agent/node_modules/call-bind/CHANGELOG.md +0 -106
  446. package/mac-agent/node_modules/call-bind/LICENSE +0 -21
  447. package/mac-agent/node_modules/call-bind/README.md +0 -64
  448. package/mac-agent/node_modules/call-bind/callBound.js +0 -15
  449. package/mac-agent/node_modules/call-bind/index.js +0 -24
  450. package/mac-agent/node_modules/call-bind/package.json +0 -93
  451. package/mac-agent/node_modules/call-bind/test/callBound.js +0 -54
  452. package/mac-agent/node_modules/call-bind/test/index.js +0 -74
  453. package/mac-agent/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  454. package/mac-agent/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  455. package/mac-agent/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  456. package/mac-agent/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  457. package/mac-agent/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  458. package/mac-agent/node_modules/call-bind-apply-helpers/README.md +0 -62
  459. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  460. package/mac-agent/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  461. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  462. package/mac-agent/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  463. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  464. package/mac-agent/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  465. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  466. package/mac-agent/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  467. package/mac-agent/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  468. package/mac-agent/node_modules/call-bind-apply-helpers/index.js +0 -15
  469. package/mac-agent/node_modules/call-bind-apply-helpers/package.json +0 -85
  470. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  471. package/mac-agent/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  472. package/mac-agent/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  473. package/mac-agent/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  474. package/mac-agent/node_modules/call-bound/.eslintrc +0 -13
  475. package/mac-agent/node_modules/call-bound/.github/FUNDING.yml +0 -12
  476. package/mac-agent/node_modules/call-bound/.nycrc +0 -9
  477. package/mac-agent/node_modules/call-bound/CHANGELOG.md +0 -42
  478. package/mac-agent/node_modules/call-bound/LICENSE +0 -21
  479. package/mac-agent/node_modules/call-bound/README.md +0 -53
  480. package/mac-agent/node_modules/call-bound/index.d.ts +0 -94
  481. package/mac-agent/node_modules/call-bound/index.js +0 -19
  482. package/mac-agent/node_modules/call-bound/package.json +0 -99
  483. package/mac-agent/node_modules/call-bound/test/index.js +0 -61
  484. package/mac-agent/node_modules/call-bound/tsconfig.json +0 -10
  485. package/mac-agent/node_modules/camelcase/index.js +0 -56
  486. package/mac-agent/node_modules/camelcase/license +0 -21
  487. package/mac-agent/node_modules/camelcase/package.json +0 -39
  488. package/mac-agent/node_modules/camelcase/readme.md +0 -57
  489. package/mac-agent/node_modules/chokidar/LICENSE +0 -21
  490. package/mac-agent/node_modules/chokidar/README.md +0 -308
  491. package/mac-agent/node_modules/chokidar/index.js +0 -973
  492. package/mac-agent/node_modules/chokidar/lib/constants.js +0 -66
  493. package/mac-agent/node_modules/chokidar/lib/fsevents-handler.js +0 -526
  494. package/mac-agent/node_modules/chokidar/lib/nodefs-handler.js +0 -654
  495. package/mac-agent/node_modules/chokidar/package.json +0 -70
  496. package/mac-agent/node_modules/chokidar/types/index.d.ts +0 -192
  497. package/mac-agent/node_modules/chownr/LICENSE +0 -15
  498. package/mac-agent/node_modules/chownr/README.md +0 -3
  499. package/mac-agent/node_modules/chownr/chownr.js +0 -167
  500. package/mac-agent/node_modules/chownr/package.json +0 -32
  501. package/mac-agent/node_modules/cliui/CHANGELOG.md +0 -15
  502. package/mac-agent/node_modules/cliui/LICENSE.txt +0 -14
  503. package/mac-agent/node_modules/cliui/README.md +0 -110
  504. package/mac-agent/node_modules/cliui/index.js +0 -316
  505. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/index.js +0 -4
  506. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/license +0 -21
  507. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/package.json +0 -64
  508. package/mac-agent/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -39
  509. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +0 -46
  510. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/license +0 -21
  511. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +0 -45
  512. package/mac-agent/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +0 -39
  513. package/mac-agent/node_modules/cliui/node_modules/string-width/index.js +0 -37
  514. package/mac-agent/node_modules/cliui/node_modules/string-width/license +0 -21
  515. package/mac-agent/node_modules/cliui/node_modules/string-width/package.json +0 -56
  516. package/mac-agent/node_modules/cliui/node_modules/string-width/readme.md +0 -42
  517. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/index.js +0 -6
  518. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/license +0 -21
  519. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/package.json +0 -57
  520. package/mac-agent/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -33
  521. package/mac-agent/node_modules/cliui/package.json +0 -64
  522. package/mac-agent/node_modules/code-point-at/index.js +0 -32
  523. package/mac-agent/node_modules/code-point-at/license +0 -21
  524. package/mac-agent/node_modules/code-point-at/package.json +0 -38
  525. package/mac-agent/node_modules/code-point-at/readme.md +0 -32
  526. package/mac-agent/node_modules/color/LICENSE +0 -21
  527. package/mac-agent/node_modules/color/README.md +0 -123
  528. package/mac-agent/node_modules/color/index.js +0 -482
  529. package/mac-agent/node_modules/color/package.json +0 -40
  530. package/mac-agent/node_modules/color-convert/CHANGELOG.md +0 -54
  531. package/mac-agent/node_modules/color-convert/LICENSE +0 -21
  532. package/mac-agent/node_modules/color-convert/README.md +0 -68
  533. package/mac-agent/node_modules/color-convert/conversions.js +0 -868
  534. package/mac-agent/node_modules/color-convert/index.js +0 -78
  535. package/mac-agent/node_modules/color-convert/package.json +0 -46
  536. package/mac-agent/node_modules/color-convert/route.js +0 -97
  537. package/mac-agent/node_modules/color-name/.eslintrc.json +0 -43
  538. package/mac-agent/node_modules/color-name/LICENSE +0 -8
  539. package/mac-agent/node_modules/color-name/README.md +0 -11
  540. package/mac-agent/node_modules/color-name/index.js +0 -152
  541. package/mac-agent/node_modules/color-name/package.json +0 -25
  542. package/mac-agent/node_modules/color-name/test.js +0 -7
  543. package/mac-agent/node_modules/color-string/LICENSE +0 -21
  544. package/mac-agent/node_modules/color-string/README.md +0 -62
  545. package/mac-agent/node_modules/color-string/index.js +0 -242
  546. package/mac-agent/node_modules/color-string/package.json +0 -39
  547. package/mac-agent/node_modules/color-support/LICENSE +0 -15
  548. package/mac-agent/node_modules/color-support/README.md +0 -129
  549. package/mac-agent/node_modules/color-support/bin.js +0 -3
  550. package/mac-agent/node_modules/color-support/browser.js +0 -14
  551. package/mac-agent/node_modules/color-support/index.js +0 -134
  552. package/mac-agent/node_modules/color-support/package.json +0 -36
  553. package/mac-agent/node_modules/colorspace/LICENSE.md +0 -20
  554. package/mac-agent/node_modules/colorspace/README.md +0 -43
  555. package/mac-agent/node_modules/colorspace/index.js +0 -29
  556. package/mac-agent/node_modules/colorspace/package.json +0 -37
  557. package/mac-agent/node_modules/combined-stream/License +0 -19
  558. package/mac-agent/node_modules/combined-stream/Readme.md +0 -138
  559. package/mac-agent/node_modules/combined-stream/lib/combined_stream.js +0 -208
  560. package/mac-agent/node_modules/combined-stream/package.json +0 -25
  561. package/mac-agent/node_modules/combined-stream/yarn.lock +0 -17
  562. package/mac-agent/node_modules/concat-map/.travis.yml +0 -4
  563. package/mac-agent/node_modules/concat-map/LICENSE +0 -18
  564. package/mac-agent/node_modules/concat-map/README.markdown +0 -62
  565. package/mac-agent/node_modules/concat-map/example/map.js +0 -6
  566. package/mac-agent/node_modules/concat-map/index.js +0 -13
  567. package/mac-agent/node_modules/concat-map/package.json +0 -43
  568. package/mac-agent/node_modules/concat-map/test/map.js +0 -39
  569. package/mac-agent/node_modules/console-control-strings/LICENSE +0 -13
  570. package/mac-agent/node_modules/console-control-strings/README.md +0 -145
  571. package/mac-agent/node_modules/console-control-strings/README.md~ +0 -140
  572. package/mac-agent/node_modules/console-control-strings/index.js +0 -125
  573. package/mac-agent/node_modules/console-control-strings/package.json +0 -27
  574. package/mac-agent/node_modules/debug/LICENSE +0 -20
  575. package/mac-agent/node_modules/debug/README.md +0 -481
  576. package/mac-agent/node_modules/debug/package.json +0 -64
  577. package/mac-agent/node_modules/debug/src/browser.js +0 -272
  578. package/mac-agent/node_modules/debug/src/common.js +0 -292
  579. package/mac-agent/node_modules/debug/src/index.js +0 -10
  580. package/mac-agent/node_modules/debug/src/node.js +0 -263
  581. package/mac-agent/node_modules/decamelize/index.js +0 -13
  582. package/mac-agent/node_modules/decamelize/license +0 -21
  583. package/mac-agent/node_modules/decamelize/package.json +0 -38
  584. package/mac-agent/node_modules/decamelize/readme.md +0 -48
  585. package/mac-agent/node_modules/define-data-property/.eslintrc +0 -24
  586. package/mac-agent/node_modules/define-data-property/.github/FUNDING.yml +0 -12
  587. package/mac-agent/node_modules/define-data-property/.nycrc +0 -13
  588. package/mac-agent/node_modules/define-data-property/CHANGELOG.md +0 -70
  589. package/mac-agent/node_modules/define-data-property/LICENSE +0 -21
  590. package/mac-agent/node_modules/define-data-property/README.md +0 -67
  591. package/mac-agent/node_modules/define-data-property/index.d.ts +0 -12
  592. package/mac-agent/node_modules/define-data-property/index.js +0 -56
  593. package/mac-agent/node_modules/define-data-property/package.json +0 -106
  594. package/mac-agent/node_modules/define-data-property/test/index.js +0 -392
  595. package/mac-agent/node_modules/define-data-property/tsconfig.json +0 -59
  596. package/mac-agent/node_modules/define-properties/.editorconfig +0 -13
  597. package/mac-agent/node_modules/define-properties/.eslintrc +0 -19
  598. package/mac-agent/node_modules/define-properties/.github/FUNDING.yml +0 -12
  599. package/mac-agent/node_modules/define-properties/.nycrc +0 -9
  600. package/mac-agent/node_modules/define-properties/CHANGELOG.md +0 -91
  601. package/mac-agent/node_modules/define-properties/LICENSE +0 -21
  602. package/mac-agent/node_modules/define-properties/README.md +0 -84
  603. package/mac-agent/node_modules/define-properties/index.js +0 -47
  604. package/mac-agent/node_modules/define-properties/package.json +0 -88
  605. package/mac-agent/node_modules/delayed-stream/License +0 -19
  606. package/mac-agent/node_modules/delayed-stream/Makefile +0 -7
  607. package/mac-agent/node_modules/delayed-stream/Readme.md +0 -141
  608. package/mac-agent/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  609. package/mac-agent/node_modules/delayed-stream/package.json +0 -27
  610. package/mac-agent/node_modules/delegates/History.md +0 -22
  611. package/mac-agent/node_modules/delegates/License +0 -20
  612. package/mac-agent/node_modules/delegates/Makefile +0 -8
  613. package/mac-agent/node_modules/delegates/Readme.md +0 -94
  614. package/mac-agent/node_modules/delegates/index.js +0 -121
  615. package/mac-agent/node_modules/delegates/package.json +0 -13
  616. package/mac-agent/node_modules/delegates/test/index.js +0 -94
  617. package/mac-agent/node_modules/detect-libc/LICENSE +0 -201
  618. package/mac-agent/node_modules/detect-libc/README.md +0 -163
  619. package/mac-agent/node_modules/detect-libc/index.d.ts +0 -14
  620. package/mac-agent/node_modules/detect-libc/lib/detect-libc.js +0 -267
  621. package/mac-agent/node_modules/detect-libc/lib/filesystem.js +0 -41
  622. package/mac-agent/node_modules/detect-libc/lib/process.js +0 -24
  623. package/mac-agent/node_modules/detect-libc/package.json +0 -41
  624. package/mac-agent/node_modules/domexception/LICENSE.txt +0 -21
  625. package/mac-agent/node_modules/domexception/README.md +0 -19
  626. package/mac-agent/node_modules/domexception/lib/DOMException-impl.js +0 -22
  627. package/mac-agent/node_modules/domexception/lib/DOMException.js +0 -368
  628. package/mac-agent/node_modules/domexception/lib/legacy-error-codes.json +0 -27
  629. package/mac-agent/node_modules/domexception/lib/public-api.js +0 -5
  630. package/mac-agent/node_modules/domexception/lib/utils.js +0 -86
  631. package/mac-agent/node_modules/domexception/package.json +0 -36
  632. package/mac-agent/node_modules/dotenv/CHANGELOG.md +0 -520
  633. package/mac-agent/node_modules/dotenv/LICENSE +0 -23
  634. package/mac-agent/node_modules/dotenv/README-es.md +0 -411
  635. package/mac-agent/node_modules/dotenv/README.md +0 -645
  636. package/mac-agent/node_modules/dotenv/SECURITY.md +0 -1
  637. package/mac-agent/node_modules/dotenv/config.d.ts +0 -1
  638. package/mac-agent/node_modules/dotenv/config.js +0 -9
  639. package/mac-agent/node_modules/dotenv/lib/cli-options.js +0 -17
  640. package/mac-agent/node_modules/dotenv/lib/env-options.js +0 -28
  641. package/mac-agent/node_modules/dotenv/lib/main.d.ts +0 -162
  642. package/mac-agent/node_modules/dotenv/lib/main.js +0 -386
  643. package/mac-agent/node_modules/dotenv/package.json +0 -62
  644. package/mac-agent/node_modules/dunder-proto/.eslintrc +0 -5
  645. package/mac-agent/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  646. package/mac-agent/node_modules/dunder-proto/.nycrc +0 -13
  647. package/mac-agent/node_modules/dunder-proto/CHANGELOG.md +0 -24
  648. package/mac-agent/node_modules/dunder-proto/LICENSE +0 -21
  649. package/mac-agent/node_modules/dunder-proto/README.md +0 -54
  650. package/mac-agent/node_modules/dunder-proto/get.d.ts +0 -5
  651. package/mac-agent/node_modules/dunder-proto/get.js +0 -30
  652. package/mac-agent/node_modules/dunder-proto/package.json +0 -76
  653. package/mac-agent/node_modules/dunder-proto/set.d.ts +0 -5
  654. package/mac-agent/node_modules/dunder-proto/set.js +0 -35
  655. package/mac-agent/node_modules/dunder-proto/test/get.js +0 -34
  656. package/mac-agent/node_modules/dunder-proto/test/index.js +0 -4
  657. package/mac-agent/node_modules/dunder-proto/test/set.js +0 -50
  658. package/mac-agent/node_modules/dunder-proto/tsconfig.json +0 -9
  659. package/mac-agent/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  660. package/mac-agent/node_modules/emoji-regex/README.md +0 -73
  661. package/mac-agent/node_modules/emoji-regex/es2015/index.js +0 -6
  662. package/mac-agent/node_modules/emoji-regex/es2015/text.js +0 -6
  663. package/mac-agent/node_modules/emoji-regex/index.d.ts +0 -23
  664. package/mac-agent/node_modules/emoji-regex/index.js +0 -6
  665. package/mac-agent/node_modules/emoji-regex/package.json +0 -50
  666. package/mac-agent/node_modules/emoji-regex/text.js +0 -6
  667. package/mac-agent/node_modules/enabled/.travis.yml +0 -9
  668. package/mac-agent/node_modules/enabled/LICENSE +0 -20
  669. package/mac-agent/node_modules/enabled/README.md +0 -68
  670. package/mac-agent/node_modules/enabled/index.js +0 -34
  671. package/mac-agent/node_modules/enabled/package.json +0 -33
  672. package/mac-agent/node_modules/enabled/test.js +0 -39
  673. package/mac-agent/node_modules/error-ex/LICENSE +0 -21
  674. package/mac-agent/node_modules/error-ex/README.md +0 -144
  675. package/mac-agent/node_modules/error-ex/index.js +0 -141
  676. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.editorconfig +0 -18
  677. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.istanbul.yml +0 -4
  678. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/.travis.yml +0 -17
  679. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/LICENSE +0 -21
  680. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/README.md +0 -16
  681. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/index.js +0 -10
  682. package/mac-agent/node_modules/error-ex/node_modules/is-arrayish/package.json +0 -34
  683. package/mac-agent/node_modules/error-ex/package.json +0 -46
  684. package/mac-agent/node_modules/es-define-property/.eslintrc +0 -13
  685. package/mac-agent/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  686. package/mac-agent/node_modules/es-define-property/.nycrc +0 -9
  687. package/mac-agent/node_modules/es-define-property/CHANGELOG.md +0 -29
  688. package/mac-agent/node_modules/es-define-property/LICENSE +0 -21
  689. package/mac-agent/node_modules/es-define-property/README.md +0 -49
  690. package/mac-agent/node_modules/es-define-property/index.d.ts +0 -3
  691. package/mac-agent/node_modules/es-define-property/index.js +0 -14
  692. package/mac-agent/node_modules/es-define-property/package.json +0 -81
  693. package/mac-agent/node_modules/es-define-property/test/index.js +0 -56
  694. package/mac-agent/node_modules/es-define-property/tsconfig.json +0 -10
  695. package/mac-agent/node_modules/es-errors/.eslintrc +0 -5
  696. package/mac-agent/node_modules/es-errors/.github/FUNDING.yml +0 -12
  697. package/mac-agent/node_modules/es-errors/CHANGELOG.md +0 -40
  698. package/mac-agent/node_modules/es-errors/LICENSE +0 -21
  699. package/mac-agent/node_modules/es-errors/README.md +0 -55
  700. package/mac-agent/node_modules/es-errors/eval.d.ts +0 -3
  701. package/mac-agent/node_modules/es-errors/eval.js +0 -4
  702. package/mac-agent/node_modules/es-errors/index.d.ts +0 -3
  703. package/mac-agent/node_modules/es-errors/index.js +0 -4
  704. package/mac-agent/node_modules/es-errors/package.json +0 -80
  705. package/mac-agent/node_modules/es-errors/range.d.ts +0 -3
  706. package/mac-agent/node_modules/es-errors/range.js +0 -4
  707. package/mac-agent/node_modules/es-errors/ref.d.ts +0 -3
  708. package/mac-agent/node_modules/es-errors/ref.js +0 -4
  709. package/mac-agent/node_modules/es-errors/syntax.d.ts +0 -3
  710. package/mac-agent/node_modules/es-errors/syntax.js +0 -4
  711. package/mac-agent/node_modules/es-errors/test/index.js +0 -19
  712. package/mac-agent/node_modules/es-errors/tsconfig.json +0 -49
  713. package/mac-agent/node_modules/es-errors/type.d.ts +0 -3
  714. package/mac-agent/node_modules/es-errors/type.js +0 -4
  715. package/mac-agent/node_modules/es-errors/uri.d.ts +0 -3
  716. package/mac-agent/node_modules/es-errors/uri.js +0 -4
  717. package/mac-agent/node_modules/es-object-atoms/.eslintrc +0 -16
  718. package/mac-agent/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  719. package/mac-agent/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  720. package/mac-agent/node_modules/es-object-atoms/LICENSE +0 -21
  721. package/mac-agent/node_modules/es-object-atoms/README.md +0 -63
  722. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  723. package/mac-agent/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  724. package/mac-agent/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  725. package/mac-agent/node_modules/es-object-atoms/ToObject.js +0 -10
  726. package/mac-agent/node_modules/es-object-atoms/index.d.ts +0 -3
  727. package/mac-agent/node_modules/es-object-atoms/index.js +0 -4
  728. package/mac-agent/node_modules/es-object-atoms/isObject.d.ts +0 -3
  729. package/mac-agent/node_modules/es-object-atoms/isObject.js +0 -6
  730. package/mac-agent/node_modules/es-object-atoms/package.json +0 -80
  731. package/mac-agent/node_modules/es-object-atoms/test/index.js +0 -38
  732. package/mac-agent/node_modules/es-object-atoms/tsconfig.json +0 -6
  733. package/mac-agent/node_modules/es-set-tostringtag/.eslintrc +0 -13
  734. package/mac-agent/node_modules/es-set-tostringtag/.nycrc +0 -9
  735. package/mac-agent/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  736. package/mac-agent/node_modules/es-set-tostringtag/LICENSE +0 -21
  737. package/mac-agent/node_modules/es-set-tostringtag/README.md +0 -53
  738. package/mac-agent/node_modules/es-set-tostringtag/index.d.ts +0 -10
  739. package/mac-agent/node_modules/es-set-tostringtag/index.js +0 -35
  740. package/mac-agent/node_modules/es-set-tostringtag/package.json +0 -78
  741. package/mac-agent/node_modules/es-set-tostringtag/test/index.js +0 -85
  742. package/mac-agent/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  743. package/mac-agent/node_modules/fecha/LICENSE +0 -22
  744. package/mac-agent/node_modules/fecha/README.md +0 -320
  745. package/mac-agent/node_modules/fecha/dist/fecha.min.js +0 -2
  746. package/mac-agent/node_modules/fecha/dist/fecha.min.js.map +0 -1
  747. package/mac-agent/node_modules/fecha/lib/fecha.d.ts +0 -52
  748. package/mac-agent/node_modules/fecha/lib/fecha.js +0 -403
  749. package/mac-agent/node_modules/fecha/lib/fecha.js.map +0 -1
  750. package/mac-agent/node_modules/fecha/lib/fecha.umd.js +0 -418
  751. package/mac-agent/node_modules/fecha/lib/fecha.umd.js.map +0 -1
  752. package/mac-agent/node_modules/fecha/package.json +0 -55
  753. package/mac-agent/node_modules/fecha/src/fecha.ts +0 -524
  754. package/mac-agent/node_modules/fill-range/LICENSE +0 -21
  755. package/mac-agent/node_modules/fill-range/README.md +0 -237
  756. package/mac-agent/node_modules/fill-range/index.js +0 -248
  757. package/mac-agent/node_modules/fill-range/package.json +0 -74
  758. package/mac-agent/node_modules/find-up/index.js +0 -53
  759. package/mac-agent/node_modules/find-up/license +0 -21
  760. package/mac-agent/node_modules/find-up/package.json +0 -51
  761. package/mac-agent/node_modules/find-up/readme.md +0 -72
  762. package/mac-agent/node_modules/fn.name/.gitattributes +0 -1
  763. package/mac-agent/node_modules/fn.name/.travis.yml +0 -10
  764. package/mac-agent/node_modules/fn.name/LICENSE +0 -22
  765. package/mac-agent/node_modules/fn.name/README.md +0 -42
  766. package/mac-agent/node_modules/fn.name/index.js +0 -42
  767. package/mac-agent/node_modules/fn.name/package.json +0 -37
  768. package/mac-agent/node_modules/fn.name/test.js +0 -73
  769. package/mac-agent/node_modules/follow-redirects/LICENSE +0 -18
  770. package/mac-agent/node_modules/follow-redirects/README.md +0 -155
  771. package/mac-agent/node_modules/follow-redirects/debug.js +0 -15
  772. package/mac-agent/node_modules/follow-redirects/http.js +0 -1
  773. package/mac-agent/node_modules/follow-redirects/https.js +0 -1
  774. package/mac-agent/node_modules/follow-redirects/index.js +0 -686
  775. package/mac-agent/node_modules/follow-redirects/package.json +0 -58
  776. package/mac-agent/node_modules/form-data/License +0 -19
  777. package/mac-agent/node_modules/form-data/README.md.bak +0 -355
  778. package/mac-agent/node_modules/form-data/Readme.md +0 -355
  779. package/mac-agent/node_modules/form-data/index.d.ts +0 -62
  780. package/mac-agent/node_modules/form-data/lib/browser.js +0 -4
  781. package/mac-agent/node_modules/form-data/lib/form_data.js +0 -498
  782. package/mac-agent/node_modules/form-data/lib/populate.js +0 -10
  783. package/mac-agent/node_modules/form-data/package.json +0 -66
  784. package/mac-agent/node_modules/fs-minipass/LICENSE +0 -15
  785. package/mac-agent/node_modules/fs-minipass/README.md +0 -70
  786. package/mac-agent/node_modules/fs-minipass/index.js +0 -422
  787. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/LICENSE +0 -15
  788. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/README.md +0 -728
  789. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.d.ts +0 -155
  790. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/index.js +0 -649
  791. package/mac-agent/node_modules/fs-minipass/node_modules/minipass/package.json +0 -56
  792. package/mac-agent/node_modules/fs-minipass/package.json +0 -39
  793. package/mac-agent/node_modules/fs.realpath/LICENSE +0 -43
  794. package/mac-agent/node_modules/fs.realpath/README.md +0 -33
  795. package/mac-agent/node_modules/fs.realpath/index.js +0 -66
  796. package/mac-agent/node_modules/fs.realpath/old.js +0 -303
  797. package/mac-agent/node_modules/fs.realpath/package.json +0 -26
  798. package/mac-agent/node_modules/fsevents/LICENSE +0 -22
  799. package/mac-agent/node_modules/fsevents/README.md +0 -89
  800. package/mac-agent/node_modules/fsevents/fsevents.d.ts +0 -46
  801. package/mac-agent/node_modules/fsevents/fsevents.js +0 -83
  802. package/mac-agent/node_modules/fsevents/fsevents.node +0 -0
  803. package/mac-agent/node_modules/fsevents/package.json +0 -62
  804. package/mac-agent/node_modules/function-bind/.eslintrc +0 -21
  805. package/mac-agent/node_modules/function-bind/.github/FUNDING.yml +0 -12
  806. package/mac-agent/node_modules/function-bind/.github/SECURITY.md +0 -3
  807. package/mac-agent/node_modules/function-bind/.nycrc +0 -13
  808. package/mac-agent/node_modules/function-bind/CHANGELOG.md +0 -136
  809. package/mac-agent/node_modules/function-bind/LICENSE +0 -20
  810. package/mac-agent/node_modules/function-bind/README.md +0 -46
  811. package/mac-agent/node_modules/function-bind/implementation.js +0 -84
  812. package/mac-agent/node_modules/function-bind/index.js +0 -5
  813. package/mac-agent/node_modules/function-bind/package.json +0 -87
  814. package/mac-agent/node_modules/function-bind/test/.eslintrc +0 -9
  815. package/mac-agent/node_modules/function-bind/test/index.js +0 -252
  816. package/mac-agent/node_modules/gauge/CHANGELOG.md +0 -163
  817. package/mac-agent/node_modules/gauge/LICENSE +0 -13
  818. package/mac-agent/node_modules/gauge/README.md +0 -402
  819. package/mac-agent/node_modules/gauge/base-theme.js +0 -14
  820. package/mac-agent/node_modules/gauge/error.js +0 -24
  821. package/mac-agent/node_modules/gauge/has-color.js +0 -4
  822. package/mac-agent/node_modules/gauge/index.js +0 -233
  823. package/mac-agent/node_modules/gauge/package.json +0 -66
  824. package/mac-agent/node_modules/gauge/plumbing.js +0 -48
  825. package/mac-agent/node_modules/gauge/process.js +0 -3
  826. package/mac-agent/node_modules/gauge/progress-bar.js +0 -35
  827. package/mac-agent/node_modules/gauge/render-template.js +0 -178
  828. package/mac-agent/node_modules/gauge/set-immediate.js +0 -7
  829. package/mac-agent/node_modules/gauge/set-interval.js +0 -3
  830. package/mac-agent/node_modules/gauge/spin.js +0 -5
  831. package/mac-agent/node_modules/gauge/template-item.js +0 -72
  832. package/mac-agent/node_modules/gauge/theme-set.js +0 -114
  833. package/mac-agent/node_modules/gauge/themes.js +0 -56
  834. package/mac-agent/node_modules/gauge/wide-truncate.js +0 -25
  835. package/mac-agent/node_modules/get-caller-file/LICENSE.md +0 -6
  836. package/mac-agent/node_modules/get-caller-file/README.md +0 -4
  837. package/mac-agent/node_modules/get-caller-file/index.js +0 -20
  838. package/mac-agent/node_modules/get-caller-file/package.json +0 -31
  839. package/mac-agent/node_modules/get-intrinsic/.eslintrc +0 -42
  840. package/mac-agent/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  841. package/mac-agent/node_modules/get-intrinsic/.nycrc +0 -9
  842. package/mac-agent/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  843. package/mac-agent/node_modules/get-intrinsic/LICENSE +0 -21
  844. package/mac-agent/node_modules/get-intrinsic/README.md +0 -71
  845. package/mac-agent/node_modules/get-intrinsic/index.js +0 -378
  846. package/mac-agent/node_modules/get-intrinsic/package.json +0 -97
  847. package/mac-agent/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  848. package/mac-agent/node_modules/get-proto/.eslintrc +0 -10
  849. package/mac-agent/node_modules/get-proto/.github/FUNDING.yml +0 -12
  850. package/mac-agent/node_modules/get-proto/.nycrc +0 -9
  851. package/mac-agent/node_modules/get-proto/CHANGELOG.md +0 -21
  852. package/mac-agent/node_modules/get-proto/LICENSE +0 -21
  853. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  854. package/mac-agent/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  855. package/mac-agent/node_modules/get-proto/README.md +0 -50
  856. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  857. package/mac-agent/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  858. package/mac-agent/node_modules/get-proto/index.d.ts +0 -5
  859. package/mac-agent/node_modules/get-proto/index.js +0 -27
  860. package/mac-agent/node_modules/get-proto/package.json +0 -81
  861. package/mac-agent/node_modules/get-proto/test/index.js +0 -68
  862. package/mac-agent/node_modules/get-proto/tsconfig.json +0 -9
  863. package/mac-agent/node_modules/glob/LICENSE +0 -21
  864. package/mac-agent/node_modules/glob/README.md +0 -378
  865. package/mac-agent/node_modules/glob/common.js +0 -238
  866. package/mac-agent/node_modules/glob/glob.js +0 -790
  867. package/mac-agent/node_modules/glob/package.json +0 -55
  868. package/mac-agent/node_modules/glob/sync.js +0 -486
  869. package/mac-agent/node_modules/glob-parent/CHANGELOG.md +0 -110
  870. package/mac-agent/node_modules/glob-parent/LICENSE +0 -15
  871. package/mac-agent/node_modules/glob-parent/README.md +0 -137
  872. package/mac-agent/node_modules/glob-parent/index.js +0 -42
  873. package/mac-agent/node_modules/glob-parent/package.json +0 -48
  874. package/mac-agent/node_modules/gopd/.eslintrc +0 -16
  875. package/mac-agent/node_modules/gopd/.github/FUNDING.yml +0 -12
  876. package/mac-agent/node_modules/gopd/CHANGELOG.md +0 -45
  877. package/mac-agent/node_modules/gopd/LICENSE +0 -21
  878. package/mac-agent/node_modules/gopd/README.md +0 -40
  879. package/mac-agent/node_modules/gopd/gOPD.d.ts +0 -1
  880. package/mac-agent/node_modules/gopd/gOPD.js +0 -4
  881. package/mac-agent/node_modules/gopd/index.d.ts +0 -5
  882. package/mac-agent/node_modules/gopd/index.js +0 -15
  883. package/mac-agent/node_modules/gopd/package.json +0 -77
  884. package/mac-agent/node_modules/gopd/test/index.js +0 -36
  885. package/mac-agent/node_modules/gopd/tsconfig.json +0 -9
  886. package/mac-agent/node_modules/graceful-fs/LICENSE +0 -15
  887. package/mac-agent/node_modules/graceful-fs/README.md +0 -143
  888. package/mac-agent/node_modules/graceful-fs/clone.js +0 -23
  889. package/mac-agent/node_modules/graceful-fs/graceful-fs.js +0 -448
  890. package/mac-agent/node_modules/graceful-fs/legacy-streams.js +0 -118
  891. package/mac-agent/node_modules/graceful-fs/package.json +0 -53
  892. package/mac-agent/node_modules/graceful-fs/polyfills.js +0 -355
  893. package/mac-agent/node_modules/has-flag/index.js +0 -8
  894. package/mac-agent/node_modules/has-flag/license +0 -9
  895. package/mac-agent/node_modules/has-flag/package.json +0 -44
  896. package/mac-agent/node_modules/has-flag/readme.md +0 -70
  897. package/mac-agent/node_modules/has-property-descriptors/.eslintrc +0 -13
  898. package/mac-agent/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
  899. package/mac-agent/node_modules/has-property-descriptors/.nycrc +0 -9
  900. package/mac-agent/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
  901. package/mac-agent/node_modules/has-property-descriptors/LICENSE +0 -21
  902. package/mac-agent/node_modules/has-property-descriptors/README.md +0 -43
  903. package/mac-agent/node_modules/has-property-descriptors/index.js +0 -22
  904. package/mac-agent/node_modules/has-property-descriptors/package.json +0 -77
  905. package/mac-agent/node_modules/has-property-descriptors/test/index.js +0 -57
  906. package/mac-agent/node_modules/has-symbols/.eslintrc +0 -11
  907. package/mac-agent/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  908. package/mac-agent/node_modules/has-symbols/.nycrc +0 -9
  909. package/mac-agent/node_modules/has-symbols/CHANGELOG.md +0 -91
  910. package/mac-agent/node_modules/has-symbols/LICENSE +0 -21
  911. package/mac-agent/node_modules/has-symbols/README.md +0 -46
  912. package/mac-agent/node_modules/has-symbols/index.d.ts +0 -3
  913. package/mac-agent/node_modules/has-symbols/index.js +0 -14
  914. package/mac-agent/node_modules/has-symbols/package.json +0 -111
  915. package/mac-agent/node_modules/has-symbols/shams.d.ts +0 -3
  916. package/mac-agent/node_modules/has-symbols/shams.js +0 -45
  917. package/mac-agent/node_modules/has-symbols/test/index.js +0 -22
  918. package/mac-agent/node_modules/has-symbols/test/shams/core-js.js +0 -29
  919. package/mac-agent/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  920. package/mac-agent/node_modules/has-symbols/test/tests.js +0 -58
  921. package/mac-agent/node_modules/has-symbols/tsconfig.json +0 -10
  922. package/mac-agent/node_modules/has-tostringtag/.eslintrc +0 -5
  923. package/mac-agent/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  924. package/mac-agent/node_modules/has-tostringtag/.nycrc +0 -13
  925. package/mac-agent/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  926. package/mac-agent/node_modules/has-tostringtag/LICENSE +0 -21
  927. package/mac-agent/node_modules/has-tostringtag/README.md +0 -46
  928. package/mac-agent/node_modules/has-tostringtag/index.d.ts +0 -3
  929. package/mac-agent/node_modules/has-tostringtag/index.js +0 -8
  930. package/mac-agent/node_modules/has-tostringtag/package.json +0 -108
  931. package/mac-agent/node_modules/has-tostringtag/shams.d.ts +0 -3
  932. package/mac-agent/node_modules/has-tostringtag/shams.js +0 -8
  933. package/mac-agent/node_modules/has-tostringtag/test/index.js +0 -21
  934. package/mac-agent/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  935. package/mac-agent/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  936. package/mac-agent/node_modules/has-tostringtag/test/tests.js +0 -15
  937. package/mac-agent/node_modules/has-tostringtag/tsconfig.json +0 -49
  938. package/mac-agent/node_modules/has-unicode/LICENSE +0 -14
  939. package/mac-agent/node_modules/has-unicode/README.md +0 -43
  940. package/mac-agent/node_modules/has-unicode/index.js +0 -16
  941. package/mac-agent/node_modules/has-unicode/package.json +0 -30
  942. package/mac-agent/node_modules/hasown/.eslintrc +0 -5
  943. package/mac-agent/node_modules/hasown/.github/FUNDING.yml +0 -12
  944. package/mac-agent/node_modules/hasown/.nycrc +0 -13
  945. package/mac-agent/node_modules/hasown/CHANGELOG.md +0 -40
  946. package/mac-agent/node_modules/hasown/LICENSE +0 -21
  947. package/mac-agent/node_modules/hasown/README.md +0 -40
  948. package/mac-agent/node_modules/hasown/index.d.ts +0 -3
  949. package/mac-agent/node_modules/hasown/index.js +0 -8
  950. package/mac-agent/node_modules/hasown/package.json +0 -92
  951. package/mac-agent/node_modules/hasown/tsconfig.json +0 -6
  952. package/mac-agent/node_modules/hosted-git-info/CHANGELOG.md +0 -151
  953. package/mac-agent/node_modules/hosted-git-info/LICENSE +0 -13
  954. package/mac-agent/node_modules/hosted-git-info/README.md +0 -133
  955. package/mac-agent/node_modules/hosted-git-info/git-host-info.js +0 -79
  956. package/mac-agent/node_modules/hosted-git-info/git-host.js +0 -156
  957. package/mac-agent/node_modules/hosted-git-info/index.js +0 -148
  958. package/mac-agent/node_modules/hosted-git-info/package.json +0 -40
  959. package/mac-agent/node_modules/https-proxy-agent/README.md +0 -137
  960. package/mac-agent/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
  961. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js +0 -177
  962. package/mac-agent/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
  963. package/mac-agent/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
  964. package/mac-agent/node_modules/https-proxy-agent/dist/index.js +0 -14
  965. package/mac-agent/node_modules/https-proxy-agent/dist/index.js.map +0 -1
  966. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
  967. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
  968. package/mac-agent/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
  969. package/mac-agent/node_modules/https-proxy-agent/package.json +0 -56
  970. package/mac-agent/node_modules/ignore-by-default/LICENSE +0 -14
  971. package/mac-agent/node_modules/ignore-by-default/README.md +0 -26
  972. package/mac-agent/node_modules/ignore-by-default/index.js +0 -12
  973. package/mac-agent/node_modules/ignore-by-default/package.json +0 -34
  974. package/mac-agent/node_modules/inflight/LICENSE +0 -15
  975. package/mac-agent/node_modules/inflight/README.md +0 -37
  976. package/mac-agent/node_modules/inflight/inflight.js +0 -54
  977. package/mac-agent/node_modules/inflight/package.json +0 -29
  978. package/mac-agent/node_modules/inherits/LICENSE +0 -16
  979. package/mac-agent/node_modules/inherits/README.md +0 -42
  980. package/mac-agent/node_modules/inherits/inherits.js +0 -9
  981. package/mac-agent/node_modules/inherits/inherits_browser.js +0 -27
  982. package/mac-agent/node_modules/inherits/package.json +0 -29
  983. package/mac-agent/node_modules/invert-kv/index.js +0 -15
  984. package/mac-agent/node_modules/invert-kv/package.json +0 -33
  985. package/mac-agent/node_modules/invert-kv/readme.md +0 -25
  986. package/mac-agent/node_modules/is-arrayish/LICENSE +0 -21
  987. package/mac-agent/node_modules/is-arrayish/README.md +0 -16
  988. package/mac-agent/node_modules/is-arrayish/index.js +0 -9
  989. package/mac-agent/node_modules/is-arrayish/package.json +0 -45
  990. package/mac-agent/node_modules/is-arrayish/yarn-error.log +0 -1443
  991. package/mac-agent/node_modules/is-binary-path/index.d.ts +0 -17
  992. package/mac-agent/node_modules/is-binary-path/index.js +0 -7
  993. package/mac-agent/node_modules/is-binary-path/license +0 -9
  994. package/mac-agent/node_modules/is-binary-path/package.json +0 -40
  995. package/mac-agent/node_modules/is-binary-path/readme.md +0 -34
  996. package/mac-agent/node_modules/is-core-module/.eslintrc +0 -18
  997. package/mac-agent/node_modules/is-core-module/.nycrc +0 -9
  998. package/mac-agent/node_modules/is-core-module/CHANGELOG.md +0 -218
  999. package/mac-agent/node_modules/is-core-module/LICENSE +0 -20
  1000. package/mac-agent/node_modules/is-core-module/README.md +0 -40
  1001. package/mac-agent/node_modules/is-core-module/core.json +0 -162
  1002. package/mac-agent/node_modules/is-core-module/index.js +0 -69
  1003. package/mac-agent/node_modules/is-core-module/package.json +0 -76
  1004. package/mac-agent/node_modules/is-core-module/test/index.js +0 -157
  1005. package/mac-agent/node_modules/is-extglob/LICENSE +0 -21
  1006. package/mac-agent/node_modules/is-extglob/README.md +0 -107
  1007. package/mac-agent/node_modules/is-extglob/index.js +0 -20
  1008. package/mac-agent/node_modules/is-extglob/package.json +0 -69
  1009. package/mac-agent/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  1010. package/mac-agent/node_modules/is-fullwidth-code-point/index.js +0 -50
  1011. package/mac-agent/node_modules/is-fullwidth-code-point/license +0 -9
  1012. package/mac-agent/node_modules/is-fullwidth-code-point/package.json +0 -42
  1013. package/mac-agent/node_modules/is-fullwidth-code-point/readme.md +0 -39
  1014. package/mac-agent/node_modules/is-glob/LICENSE +0 -21
  1015. package/mac-agent/node_modules/is-glob/README.md +0 -206
  1016. package/mac-agent/node_modules/is-glob/index.js +0 -150
  1017. package/mac-agent/node_modules/is-glob/package.json +0 -81
  1018. package/mac-agent/node_modules/is-number/LICENSE +0 -21
  1019. package/mac-agent/node_modules/is-number/README.md +0 -187
  1020. package/mac-agent/node_modules/is-number/index.js +0 -18
  1021. package/mac-agent/node_modules/is-number/package.json +0 -82
  1022. package/mac-agent/node_modules/is-stream/index.d.ts +0 -79
  1023. package/mac-agent/node_modules/is-stream/index.js +0 -28
  1024. package/mac-agent/node_modules/is-stream/license +0 -9
  1025. package/mac-agent/node_modules/is-stream/package.json +0 -42
  1026. package/mac-agent/node_modules/is-stream/readme.md +0 -60
  1027. package/mac-agent/node_modules/is-utf8/LICENSE +0 -9
  1028. package/mac-agent/node_modules/is-utf8/README.md +0 -16
  1029. package/mac-agent/node_modules/is-utf8/is-utf8.js +0 -76
  1030. package/mac-agent/node_modules/is-utf8/package.json +0 -19
  1031. package/mac-agent/node_modules/isexe/LICENSE +0 -15
  1032. package/mac-agent/node_modules/isexe/README.md +0 -51
  1033. package/mac-agent/node_modules/isexe/index.js +0 -57
  1034. package/mac-agent/node_modules/isexe/mode.js +0 -41
  1035. package/mac-agent/node_modules/isexe/package.json +0 -31
  1036. package/mac-agent/node_modules/isexe/test/basic.js +0 -221
  1037. package/mac-agent/node_modules/isexe/windows.js +0 -42
  1038. package/mac-agent/node_modules/kuler/.travis.yml +0 -5
  1039. package/mac-agent/node_modules/kuler/LICENSE +0 -7
  1040. package/mac-agent/node_modules/kuler/README.md +0 -40
  1041. package/mac-agent/node_modules/kuler/index.js +0 -118
  1042. package/mac-agent/node_modules/kuler/package.json +0 -34
  1043. package/mac-agent/node_modules/kuler/test.js +0 -23
  1044. package/mac-agent/node_modules/lcid/index.js +0 -22
  1045. package/mac-agent/node_modules/lcid/lcid.json +0 -203
  1046. package/mac-agent/node_modules/lcid/license +0 -21
  1047. package/mac-agent/node_modules/lcid/package.json +0 -46
  1048. package/mac-agent/node_modules/lcid/readme.md +0 -35
  1049. package/mac-agent/node_modules/load-json-file/index.js +0 -21
  1050. package/mac-agent/node_modules/load-json-file/license +0 -21
  1051. package/mac-agent/node_modules/load-json-file/package.json +0 -46
  1052. package/mac-agent/node_modules/load-json-file/readme.md +0 -45
  1053. package/mac-agent/node_modules/logform/.babelrc +0 -3
  1054. package/mac-agent/node_modules/logform/.eslintrc +0 -7
  1055. package/mac-agent/node_modules/logform/.gitattributes +0 -1
  1056. package/mac-agent/node_modules/logform/CHANGELOG.md +0 -309
  1057. package/mac-agent/node_modules/logform/LICENSE +0 -21
  1058. package/mac-agent/node_modules/logform/README.md +0 -653
  1059. package/mac-agent/node_modules/logform/align.js +0 -14
  1060. package/mac-agent/node_modules/logform/browser.js +0 -38
  1061. package/mac-agent/node_modules/logform/cli.js +0 -52
  1062. package/mac-agent/node_modules/logform/colorize.js +0 -122
  1063. package/mac-agent/node_modules/logform/combine.js +0 -66
  1064. package/mac-agent/node_modules/logform/dist/align.js +0 -14
  1065. package/mac-agent/node_modules/logform/dist/browser.js +0 -72
  1066. package/mac-agent/node_modules/logform/dist/cli.js +0 -62
  1067. package/mac-agent/node_modules/logform/dist/colorize.js +0 -131
  1068. package/mac-agent/node_modules/logform/dist/combine.js +0 -62
  1069. package/mac-agent/node_modules/logform/dist/errors.js +0 -44
  1070. package/mac-agent/node_modules/logform/dist/format.js +0 -70
  1071. package/mac-agent/node_modules/logform/dist/index.js +0 -86
  1072. package/mac-agent/node_modules/logform/dist/json.js +0 -30
  1073. package/mac-agent/node_modules/logform/dist/label.js +0 -18
  1074. package/mac-agent/node_modules/logform/dist/levels.js +0 -13
  1075. package/mac-agent/node_modules/logform/dist/logstash.js +0 -28
  1076. package/mac-agent/node_modules/logform/dist/metadata.js +0 -56
  1077. package/mac-agent/node_modules/logform/dist/ms.js +0 -18
  1078. package/mac-agent/node_modules/logform/dist/pad-levels.js +0 -110
  1079. package/mac-agent/node_modules/logform/dist/pretty-print.js +0 -32
  1080. package/mac-agent/node_modules/logform/dist/printf.js +0 -33
  1081. package/mac-agent/node_modules/logform/dist/simple.js +0 -32
  1082. package/mac-agent/node_modules/logform/dist/splat.js +0 -143
  1083. package/mac-agent/node_modules/logform/dist/timestamp.js +0 -26
  1084. package/mac-agent/node_modules/logform/dist/uncolorize.js +0 -25
  1085. package/mac-agent/node_modules/logform/errors.js +0 -41
  1086. package/mac-agent/node_modules/logform/format.js +0 -52
  1087. package/mac-agent/node_modules/logform/index.d.ts +0 -201
  1088. package/mac-agent/node_modules/logform/index.js +0 -52
  1089. package/mac-agent/node_modules/logform/json.js +0 -30
  1090. package/mac-agent/node_modules/logform/label.js +0 -19
  1091. package/mac-agent/node_modules/logform/levels.js +0 -12
  1092. package/mac-agent/node_modules/logform/logstash.js +0 -29
  1093. package/mac-agent/node_modules/logform/metadata.js +0 -61
  1094. package/mac-agent/node_modules/logform/ms.js +0 -18
  1095. package/mac-agent/node_modules/logform/package.json +0 -53
  1096. package/mac-agent/node_modules/logform/pad-levels.js +0 -83
  1097. package/mac-agent/node_modules/logform/pretty-print.js +0 -29
  1098. package/mac-agent/node_modules/logform/printf.js +0 -26
  1099. package/mac-agent/node_modules/logform/simple.js +0 -33
  1100. package/mac-agent/node_modules/logform/splat.js +0 -132
  1101. package/mac-agent/node_modules/logform/timestamp.js +0 -30
  1102. package/mac-agent/node_modules/logform/tsconfig.json +0 -22
  1103. package/mac-agent/node_modules/logform/uncolorize.js +0 -27
  1104. package/mac-agent/node_modules/make-dir/index.d.ts +0 -66
  1105. package/mac-agent/node_modules/make-dir/index.js +0 -156
  1106. package/mac-agent/node_modules/make-dir/license +0 -9
  1107. package/mac-agent/node_modules/make-dir/node_modules/semver/LICENSE +0 -15
  1108. package/mac-agent/node_modules/make-dir/node_modules/semver/README.md +0 -443
  1109. package/mac-agent/node_modules/make-dir/node_modules/semver/bin/semver.js +0 -174
  1110. package/mac-agent/node_modules/make-dir/node_modules/semver/package.json +0 -38
  1111. package/mac-agent/node_modules/make-dir/node_modules/semver/range.bnf +0 -16
  1112. package/mac-agent/node_modules/make-dir/node_modules/semver/semver.js +0 -1643
  1113. package/mac-agent/node_modules/make-dir/package.json +0 -59
  1114. package/mac-agent/node_modules/make-dir/readme.md +0 -125
  1115. package/mac-agent/node_modules/math-intrinsics/.eslintrc +0 -16
  1116. package/mac-agent/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1117. package/mac-agent/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1118. package/mac-agent/node_modules/math-intrinsics/LICENSE +0 -21
  1119. package/mac-agent/node_modules/math-intrinsics/README.md +0 -50
  1120. package/mac-agent/node_modules/math-intrinsics/abs.d.ts +0 -1
  1121. package/mac-agent/node_modules/math-intrinsics/abs.js +0 -4
  1122. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1123. package/mac-agent/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1124. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1125. package/mac-agent/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1126. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1127. package/mac-agent/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1128. package/mac-agent/node_modules/math-intrinsics/floor.d.ts +0 -1
  1129. package/mac-agent/node_modules/math-intrinsics/floor.js +0 -4
  1130. package/mac-agent/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1131. package/mac-agent/node_modules/math-intrinsics/isFinite.js +0 -12
  1132. package/mac-agent/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1133. package/mac-agent/node_modules/math-intrinsics/isInteger.js +0 -16
  1134. package/mac-agent/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1135. package/mac-agent/node_modules/math-intrinsics/isNaN.js +0 -6
  1136. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1137. package/mac-agent/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1138. package/mac-agent/node_modules/math-intrinsics/max.d.ts +0 -1
  1139. package/mac-agent/node_modules/math-intrinsics/max.js +0 -4
  1140. package/mac-agent/node_modules/math-intrinsics/min.d.ts +0 -1
  1141. package/mac-agent/node_modules/math-intrinsics/min.js +0 -4
  1142. package/mac-agent/node_modules/math-intrinsics/mod.d.ts +0 -3
  1143. package/mac-agent/node_modules/math-intrinsics/mod.js +0 -9
  1144. package/mac-agent/node_modules/math-intrinsics/package.json +0 -86
  1145. package/mac-agent/node_modules/math-intrinsics/pow.d.ts +0 -1
  1146. package/mac-agent/node_modules/math-intrinsics/pow.js +0 -4
  1147. package/mac-agent/node_modules/math-intrinsics/round.d.ts +0 -1
  1148. package/mac-agent/node_modules/math-intrinsics/round.js +0 -4
  1149. package/mac-agent/node_modules/math-intrinsics/sign.d.ts +0 -3
  1150. package/mac-agent/node_modules/math-intrinsics/sign.js +0 -11
  1151. package/mac-agent/node_modules/math-intrinsics/test/index.js +0 -192
  1152. package/mac-agent/node_modules/math-intrinsics/tsconfig.json +0 -3
  1153. package/mac-agent/node_modules/mime-db/HISTORY.md +0 -507
  1154. package/mac-agent/node_modules/mime-db/LICENSE +0 -23
  1155. package/mac-agent/node_modules/mime-db/README.md +0 -100
  1156. package/mac-agent/node_modules/mime-db/db.json +0 -8519
  1157. package/mac-agent/node_modules/mime-db/index.js +0 -12
  1158. package/mac-agent/node_modules/mime-db/package.json +0 -60
  1159. package/mac-agent/node_modules/mime-types/HISTORY.md +0 -397
  1160. package/mac-agent/node_modules/mime-types/LICENSE +0 -23
  1161. package/mac-agent/node_modules/mime-types/README.md +0 -113
  1162. package/mac-agent/node_modules/mime-types/index.js +0 -188
  1163. package/mac-agent/node_modules/mime-types/package.json +0 -44
  1164. package/mac-agent/node_modules/minimatch/LICENSE +0 -15
  1165. package/mac-agent/node_modules/minimatch/README.md +0 -230
  1166. package/mac-agent/node_modules/minimatch/minimatch.js +0 -947
  1167. package/mac-agent/node_modules/minimatch/package.json +0 -33
  1168. package/mac-agent/node_modules/minipass/LICENSE +0 -15
  1169. package/mac-agent/node_modules/minipass/README.md +0 -769
  1170. package/mac-agent/node_modules/minipass/index.d.ts +0 -152
  1171. package/mac-agent/node_modules/minipass/index.js +0 -702
  1172. package/mac-agent/node_modules/minipass/index.mjs +0 -702
  1173. package/mac-agent/node_modules/minipass/package.json +0 -76
  1174. package/mac-agent/node_modules/minizlib/LICENSE +0 -26
  1175. package/mac-agent/node_modules/minizlib/README.md +0 -60
  1176. package/mac-agent/node_modules/minizlib/constants.js +0 -115
  1177. package/mac-agent/node_modules/minizlib/index.js +0 -348
  1178. package/mac-agent/node_modules/minizlib/node_modules/minipass/LICENSE +0 -15
  1179. package/mac-agent/node_modules/minizlib/node_modules/minipass/README.md +0 -728
  1180. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.d.ts +0 -155
  1181. package/mac-agent/node_modules/minizlib/node_modules/minipass/index.js +0 -649
  1182. package/mac-agent/node_modules/minizlib/node_modules/minipass/package.json +0 -56
  1183. package/mac-agent/node_modules/minizlib/package.json +0 -42
  1184. package/mac-agent/node_modules/mkdirp/CHANGELOG.md +0 -15
  1185. package/mac-agent/node_modules/mkdirp/LICENSE +0 -21
  1186. package/mac-agent/node_modules/mkdirp/bin/cmd.js +0 -68
  1187. package/mac-agent/node_modules/mkdirp/index.js +0 -31
  1188. package/mac-agent/node_modules/mkdirp/lib/find-made.js +0 -29
  1189. package/mac-agent/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
  1190. package/mac-agent/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
  1191. package/mac-agent/node_modules/mkdirp/lib/opts-arg.js +0 -23
  1192. package/mac-agent/node_modules/mkdirp/lib/path-arg.js +0 -29
  1193. package/mac-agent/node_modules/mkdirp/lib/use-native.js +0 -10
  1194. package/mac-agent/node_modules/mkdirp/package.json +0 -44
  1195. package/mac-agent/node_modules/mkdirp/readme.markdown +0 -266
  1196. package/mac-agent/node_modules/ms/index.js +0 -162
  1197. package/mac-agent/node_modules/ms/license.md +0 -21
  1198. package/mac-agent/node_modules/ms/package.json +0 -38
  1199. package/mac-agent/node_modules/ms/readme.md +0 -59
  1200. package/mac-agent/node_modules/nan/.github/workflows/ci.yml +0 -52
  1201. package/mac-agent/node_modules/nan/CHANGELOG.md +0 -577
  1202. package/mac-agent/node_modules/nan/CMakeLists.txt +0 -138
  1203. package/mac-agent/node_modules/nan/LICENSE.md +0 -9
  1204. package/mac-agent/node_modules/nan/README.md +0 -455
  1205. package/mac-agent/node_modules/nan/doc/asyncworker.md +0 -146
  1206. package/mac-agent/node_modules/nan/doc/buffers.md +0 -54
  1207. package/mac-agent/node_modules/nan/doc/callback.md +0 -76
  1208. package/mac-agent/node_modules/nan/doc/converters.md +0 -41
  1209. package/mac-agent/node_modules/nan/doc/errors.md +0 -226
  1210. package/mac-agent/node_modules/nan/doc/json.md +0 -62
  1211. package/mac-agent/node_modules/nan/doc/maybe_types.md +0 -583
  1212. package/mac-agent/node_modules/nan/doc/methods.md +0 -672
  1213. package/mac-agent/node_modules/nan/doc/new.md +0 -147
  1214. package/mac-agent/node_modules/nan/doc/node_misc.md +0 -123
  1215. package/mac-agent/node_modules/nan/doc/object_wrappers.md +0 -263
  1216. package/mac-agent/node_modules/nan/doc/persistent.md +0 -296
  1217. package/mac-agent/node_modules/nan/doc/scopes.md +0 -73
  1218. package/mac-agent/node_modules/nan/doc/script.md +0 -58
  1219. package/mac-agent/node_modules/nan/doc/string_bytes.md +0 -62
  1220. package/mac-agent/node_modules/nan/doc/v8_internals.md +0 -199
  1221. package/mac-agent/node_modules/nan/doc/v8_misc.md +0 -85
  1222. package/mac-agent/node_modules/nan/include_dirs.js +0 -1
  1223. package/mac-agent/node_modules/nan/nan.h +0 -3049
  1224. package/mac-agent/node_modules/nan/nan_callbacks.h +0 -128
  1225. package/mac-agent/node_modules/nan/nan_callbacks_12_inl.h +0 -676
  1226. package/mac-agent/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
  1227. package/mac-agent/node_modules/nan/nan_converters.h +0 -72
  1228. package/mac-agent/node_modules/nan/nan_converters_43_inl.h +0 -68
  1229. package/mac-agent/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  1230. package/mac-agent/node_modules/nan/nan_define_own_property_helper.h +0 -29
  1231. package/mac-agent/node_modules/nan/nan_implementation_12_inl.h +0 -430
  1232. package/mac-agent/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  1233. package/mac-agent/node_modules/nan/nan_json.h +0 -166
  1234. package/mac-agent/node_modules/nan/nan_maybe_43_inl.h +0 -356
  1235. package/mac-agent/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  1236. package/mac-agent/node_modules/nan/nan_new.h +0 -340
  1237. package/mac-agent/node_modules/nan/nan_object_wrap.h +0 -156
  1238. package/mac-agent/node_modules/nan/nan_persistent_12_inl.h +0 -132
  1239. package/mac-agent/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  1240. package/mac-agent/node_modules/nan/nan_private.h +0 -73
  1241. package/mac-agent/node_modules/nan/nan_scriptorigin.h +0 -95
  1242. package/mac-agent/node_modules/nan/nan_string_bytes.h +0 -305
  1243. package/mac-agent/node_modules/nan/nan_typedarray_contents.h +0 -96
  1244. package/mac-agent/node_modules/nan/nan_weak.h +0 -437
  1245. package/mac-agent/node_modules/nan/package.json +0 -38
  1246. package/mac-agent/node_modules/nan/tools/1to2.js +0 -412
  1247. package/mac-agent/node_modules/nan/tools/README.md +0 -14
  1248. package/mac-agent/node_modules/nan/tools/package.json +0 -19
  1249. package/mac-agent/node_modules/node-addon-api/.editorconfig +0 -8
  1250. package/mac-agent/node_modules/node-addon-api/.travis.yml +0 -65
  1251. package/mac-agent/node_modules/node-addon-api/CHANGELOG.md +0 -325
  1252. package/mac-agent/node_modules/node-addon-api/CODE_OF_CONDUCT.md +0 -4
  1253. package/mac-agent/node_modules/node-addon-api/CONTRIBUTING.md +0 -66
  1254. package/mac-agent/node_modules/node-addon-api/LICENSE.md +0 -13
  1255. package/mac-agent/node_modules/node-addon-api/README.md +0 -200
  1256. package/mac-agent/node_modules/node-addon-api/appveyor.yml +0 -48
  1257. package/mac-agent/node_modules/node-addon-api/doc/Doxyfile +0 -2450
  1258. package/mac-agent/node_modules/node-addon-api/doc/array_buffer.md +0 -129
  1259. package/mac-agent/node_modules/node-addon-api/doc/async_context.md +0 -76
  1260. package/mac-agent/node_modules/node-addon-api/doc/async_operations.md +0 -31
  1261. package/mac-agent/node_modules/node-addon-api/doc/async_worker.md +0 -397
  1262. package/mac-agent/node_modules/node-addon-api/doc/basic_types.md +0 -415
  1263. package/mac-agent/node_modules/node-addon-api/doc/bigint.md +0 -92
  1264. package/mac-agent/node_modules/node-addon-api/doc/boolean.md +0 -64
  1265. package/mac-agent/node_modules/node-addon-api/doc/buffer.md +0 -140
  1266. package/mac-agent/node_modules/node-addon-api/doc/callback_scope.md +0 -54
  1267. package/mac-agent/node_modules/node-addon-api/doc/callbackinfo.md +0 -97
  1268. package/mac-agent/node_modules/node-addon-api/doc/checker-tool.md +0 -32
  1269. package/mac-agent/node_modules/node-addon-api/doc/class_property_descriptor.md +0 -118
  1270. package/mac-agent/node_modules/node-addon-api/doc/cmake-js.md +0 -19
  1271. package/mac-agent/node_modules/node-addon-api/doc/conversion-tool.md +0 -28
  1272. package/mac-agent/node_modules/node-addon-api/doc/creating_a_release.md +0 -62
  1273. package/mac-agent/node_modules/node-addon-api/doc/dataview.md +0 -244
  1274. package/mac-agent/node_modules/node-addon-api/doc/env.md +0 -63
  1275. package/mac-agent/node_modules/node-addon-api/doc/error.md +0 -115
  1276. package/mac-agent/node_modules/node-addon-api/doc/error_handling.md +0 -186
  1277. package/mac-agent/node_modules/node-addon-api/doc/escapable_handle_scope.md +0 -82
  1278. package/mac-agent/node_modules/node-addon-api/doc/external.md +0 -59
  1279. package/mac-agent/node_modules/node-addon-api/doc/function.md +0 -294
  1280. package/mac-agent/node_modules/node-addon-api/doc/function_reference.md +0 -238
  1281. package/mac-agent/node_modules/node-addon-api/doc/generator.md +0 -13
  1282. package/mac-agent/node_modules/node-addon-api/doc/handle_scope.md +0 -65
  1283. package/mac-agent/node_modules/node-addon-api/doc/memory_management.md +0 -27
  1284. package/mac-agent/node_modules/node-addon-api/doc/node-gyp.md +0 -82
  1285. package/mac-agent/node_modules/node-addon-api/doc/number.md +0 -163
  1286. package/mac-agent/node_modules/node-addon-api/doc/object.md +0 -202
  1287. package/mac-agent/node_modules/node-addon-api/doc/object_lifetime_management.md +0 -83
  1288. package/mac-agent/node_modules/node-addon-api/doc/object_reference.md +0 -117
  1289. package/mac-agent/node_modules/node-addon-api/doc/object_wrap.md +0 -546
  1290. package/mac-agent/node_modules/node-addon-api/doc/prebuild_tools.md +0 -16
  1291. package/mac-agent/node_modules/node-addon-api/doc/promises.md +0 -74
  1292. package/mac-agent/node_modules/node-addon-api/doc/property_descriptor.md +0 -231
  1293. package/mac-agent/node_modules/node-addon-api/doc/range_error.md +0 -59
  1294. package/mac-agent/node_modules/node-addon-api/doc/reference.md +0 -111
  1295. package/mac-agent/node_modules/node-addon-api/doc/setup.md +0 -82
  1296. package/mac-agent/node_modules/node-addon-api/doc/string.md +0 -89
  1297. package/mac-agent/node_modules/node-addon-api/doc/symbol.md +0 -44
  1298. package/mac-agent/node_modules/node-addon-api/doc/threadsafe_function.md +0 -303
  1299. package/mac-agent/node_modules/node-addon-api/doc/type_error.md +0 -59
  1300. package/mac-agent/node_modules/node-addon-api/doc/typed_array.md +0 -74
  1301. package/mac-agent/node_modules/node-addon-api/doc/typed_array_of.md +0 -133
  1302. package/mac-agent/node_modules/node-addon-api/doc/value.md +0 -269
  1303. package/mac-agent/node_modules/node-addon-api/doc/version_management.md +0 -43
  1304. package/mac-agent/node_modules/node-addon-api/doc/working_with_javascript_values.md +0 -14
  1305. package/mac-agent/node_modules/node-addon-api/external-napi/node_api.h +0 -7
  1306. package/mac-agent/node_modules/node-addon-api/index.js +0 -45
  1307. package/mac-agent/node_modules/node-addon-api/napi-inl.deprecated.h +0 -192
  1308. package/mac-agent/node_modules/node-addon-api/napi-inl.h +0 -4097
  1309. package/mac-agent/node_modules/node-addon-api/napi.h +0 -2053
  1310. package/mac-agent/node_modules/node-addon-api/package.json +0 -79
  1311. package/mac-agent/node_modules/node-addon-api/src/node_api.cc +0 -3655
  1312. package/mac-agent/node_modules/node-addon-api/src/node_api.gyp +0 -21
  1313. package/mac-agent/node_modules/node-addon-api/src/node_api.h +0 -588
  1314. package/mac-agent/node_modules/node-addon-api/src/node_api_types.h +0 -115
  1315. package/mac-agent/node_modules/node-addon-api/src/node_internals.cc +0 -142
  1316. package/mac-agent/node_modules/node-addon-api/src/node_internals.h +0 -157
  1317. package/mac-agent/node_modules/node-addon-api/src/nothing.c +0 -0
  1318. package/mac-agent/node_modules/node-addon-api/src/util-inl.h +0 -38
  1319. package/mac-agent/node_modules/node-addon-api/src/util.h +0 -7
  1320. package/mac-agent/node_modules/node-addon-api/tools/README.md +0 -67
  1321. package/mac-agent/node_modules/node-addon-api/tools/check-napi.js +0 -100
  1322. package/mac-agent/node_modules/node-addon-api/tools/conversion.js +0 -313
  1323. package/mac-agent/node_modules/node-cmake/.jshintrc +0 -20
  1324. package/mac-agent/node_modules/node-cmake/LICENSE.txt +0 -15
  1325. package/mac-agent/node_modules/node-cmake/NodeJS.cmake +0 -637
  1326. package/mac-agent/node_modules/node-cmake/README.md +0 -93
  1327. package/mac-agent/node_modules/node-cmake/docs/Nan.md +0 -9
  1328. package/mac-agent/node_modules/node-cmake/docs/NcmakeManual.md +0 -83
  1329. package/mac-agent/node_modules/node-cmake/docs/NodeJSCmakeManual.md +0 -107
  1330. package/mac-agent/node_modules/node-cmake/example/CMakeLists.txt +0 -8
  1331. package/mac-agent/node_modules/node-cmake/example/README.md +0 -28
  1332. package/mac-agent/node_modules/node-cmake/example/index.js +0 -2
  1333. package/mac-agent/node_modules/node-cmake/example/package.json +0 -20
  1334. package/mac-agent/node_modules/node-cmake/example/src/hello.cc +0 -16
  1335. package/mac-agent/node_modules/node-cmake/index.js +0 -44
  1336. package/mac-agent/node_modules/node-cmake/lib/embed.js +0 -17
  1337. package/mac-agent/node_modules/node-cmake/lib/ncmake.js +0 -284
  1338. package/mac-agent/node_modules/node-cmake/package.json +0 -34
  1339. package/mac-agent/node_modules/node-cmake/src/win_delay_load_hook.c +0 -68
  1340. package/mac-agent/node_modules/node-fetch/LICENSE.md +0 -22
  1341. package/mac-agent/node_modules/node-fetch/README.md +0 -634
  1342. package/mac-agent/node_modules/node-fetch/browser.js +0 -25
  1343. package/mac-agent/node_modules/node-fetch/lib/index.es.js +0 -1777
  1344. package/mac-agent/node_modules/node-fetch/lib/index.js +0 -1787
  1345. package/mac-agent/node_modules/node-fetch/lib/index.mjs +0 -1775
  1346. package/mac-agent/node_modules/node-fetch/package.json +0 -89
  1347. package/mac-agent/node_modules/node-pty/LICENSE +0 -69
  1348. package/mac-agent/node_modules/node-pty/README.md +0 -163
  1349. package/mac-agent/node_modules/node-pty/binding.gyp +0 -117
  1350. package/mac-agent/node_modules/node-pty/build/Makefile +0 -352
  1351. package/mac-agent/node_modules/node-pty/build/Release/pty.node +0 -0
  1352. package/mac-agent/node_modules/node-pty/build/Release/spawn-helper +0 -0
  1353. package/mac-agent/node_modules/node-pty/build/binding.Makefile +0 -6
  1354. package/mac-agent/node_modules/node-pty/build/gyp-mac-tool +0 -768
  1355. package/mac-agent/node_modules/node-pty/build/pty.target.mk +0 -183
  1356. package/mac-agent/node_modules/node-pty/build/spawn-helper.target.mk +0 -172
  1357. package/mac-agent/node_modules/node-pty/deps/.editorconfig +0 -2
  1358. package/mac-agent/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
  1359. package/mac-agent/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
  1360. package/mac-agent/node_modules/node-pty/deps/winpty/LICENSE +0 -21
  1361. package/mac-agent/node_modules/node-pty/deps/winpty/Makefile +0 -166
  1362. package/mac-agent/node_modules/node-pty/deps/winpty/README.md +0 -151
  1363. package/mac-agent/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
  1364. package/mac-agent/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
  1365. package/mac-agent/node_modules/node-pty/deps/winpty/configure +0 -167
  1366. package/mac-agent/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
  1367. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
  1368. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
  1369. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
  1370. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
  1371. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
  1372. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
  1373. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
  1374. package/mac-agent/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
  1375. package/mac-agent/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
  1376. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
  1377. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
  1378. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
  1379. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
  1380. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
  1381. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
  1382. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
  1383. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
  1384. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
  1385. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
  1386. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
  1387. package/mac-agent/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
  1388. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
  1389. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
  1390. package/mac-agent/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
  1391. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
  1392. package/mac-agent/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
  1393. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
  1394. package/mac-agent/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
  1395. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
  1396. package/mac-agent/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
  1397. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
  1398. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
  1399. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
  1400. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
  1401. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
  1402. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
  1403. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
  1404. package/mac-agent/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
  1405. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
  1406. package/mac-agent/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
  1407. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
  1408. package/mac-agent/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
  1409. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
  1410. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
  1411. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
  1412. package/mac-agent/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
  1413. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
  1414. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
  1415. package/mac-agent/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
  1416. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
  1417. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
  1418. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
  1419. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
  1420. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
  1421. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
  1422. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
  1423. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
  1424. package/mac-agent/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
  1425. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
  1426. package/mac-agent/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
  1427. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
  1428. package/mac-agent/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
  1429. package/mac-agent/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
  1430. package/mac-agent/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
  1431. package/mac-agent/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
  1432. package/mac-agent/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
  1433. package/mac-agent/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
  1434. package/mac-agent/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
  1435. package/mac-agent/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
  1436. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -605
  1437. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
  1438. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
  1439. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
  1440. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
  1441. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
  1442. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
  1443. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
  1444. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
  1445. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
  1446. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
  1447. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
  1448. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
  1449. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
  1450. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
  1451. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
  1452. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
  1453. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
  1454. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
  1455. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
  1456. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
  1457. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
  1458. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
  1459. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
  1460. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
  1461. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
  1462. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
  1463. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
  1464. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
  1465. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
  1466. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
  1467. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
  1468. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
  1469. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
  1470. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
  1471. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
  1472. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
  1473. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
  1474. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
  1475. package/mac-agent/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
  1476. package/mac-agent/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
  1477. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
  1478. package/mac-agent/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
  1479. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
  1480. package/mac-agent/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
  1481. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
  1482. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
  1483. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
  1484. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
  1485. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
  1486. package/mac-agent/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
  1487. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
  1488. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
  1489. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
  1490. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
  1491. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
  1492. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
  1493. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
  1494. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
  1495. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
  1496. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
  1497. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
  1498. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
  1499. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
  1500. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
  1501. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
  1502. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
  1503. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
  1504. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
  1505. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
  1506. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
  1507. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
  1508. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
  1509. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
  1510. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
  1511. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
  1512. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
  1513. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
  1514. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
  1515. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
  1516. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
  1517. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
  1518. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
  1519. package/mac-agent/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
  1520. package/mac-agent/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
  1521. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
  1522. package/mac-agent/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
  1523. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
  1524. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
  1525. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
  1526. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
  1527. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
  1528. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
  1529. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
  1530. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
  1531. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
  1532. package/mac-agent/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
  1533. package/mac-agent/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -206
  1534. package/mac-agent/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
  1535. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -20
  1536. package/mac-agent/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
  1537. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js +0 -47
  1538. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
  1539. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
  1540. package/mac-agent/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
  1541. package/mac-agent/node_modules/node-pty/lib/index.js +0 -51
  1542. package/mac-agent/node_modules/node-pty/lib/index.js.map +0 -1
  1543. package/mac-agent/node_modules/node-pty/lib/interfaces.js +0 -7
  1544. package/mac-agent/node_modules/node-pty/lib/interfaces.js.map +0 -1
  1545. package/mac-agent/node_modules/node-pty/lib/shared/conout.js +0 -11
  1546. package/mac-agent/node_modules/node-pty/lib/shared/conout.js.map +0 -1
  1547. package/mac-agent/node_modules/node-pty/lib/terminal.js +0 -190
  1548. package/mac-agent/node_modules/node-pty/lib/terminal.js.map +0 -1
  1549. package/mac-agent/node_modules/node-pty/lib/terminal.test.js +0 -139
  1550. package/mac-agent/node_modules/node-pty/lib/terminal.test.js.map +0 -1
  1551. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js +0 -28
  1552. package/mac-agent/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
  1553. package/mac-agent/node_modules/node-pty/lib/types.js +0 -7
  1554. package/mac-agent/node_modules/node-pty/lib/types.js.map +0 -1
  1555. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js +0 -304
  1556. package/mac-agent/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
  1557. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js +0 -330
  1558. package/mac-agent/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
  1559. package/mac-agent/node_modules/node-pty/lib/utils.js +0 -17
  1560. package/mac-agent/node_modules/node-pty/lib/utils.js.map +0 -1
  1561. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js +0 -122
  1562. package/mac-agent/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
  1563. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js +0 -324
  1564. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
  1565. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
  1566. package/mac-agent/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
  1567. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js +0 -201
  1568. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
  1569. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js +0 -203
  1570. package/mac-agent/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
  1571. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
  1572. package/mac-agent/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
  1573. package/mac-agent/node_modules/node-pty/package.json +0 -59
  1574. package/mac-agent/node_modules/node-pty/scripts/post-install.js +0 -42
  1575. package/mac-agent/node_modules/node-pty/scripts/publish.js +0 -62
  1576. package/mac-agent/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -19
  1577. package/mac-agent/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
  1578. package/mac-agent/node_modules/node-pty/src/eventEmitter2.ts +0 -48
  1579. package/mac-agent/node_modules/node-pty/src/index.ts +0 -51
  1580. package/mac-agent/node_modules/node-pty/src/interfaces.ts +0 -129
  1581. package/mac-agent/node_modules/node-pty/src/native.d.ts +0 -56
  1582. package/mac-agent/node_modules/node-pty/src/shared/conout.ts +0 -15
  1583. package/mac-agent/node_modules/node-pty/src/terminal.test.ts +0 -119
  1584. package/mac-agent/node_modules/node-pty/src/terminal.ts +0 -211
  1585. package/mac-agent/node_modules/node-pty/src/testUtils.test.ts +0 -23
  1586. package/mac-agent/node_modules/node-pty/src/tsconfig.json +0 -22
  1587. package/mac-agent/node_modules/node-pty/src/types.ts +0 -15
  1588. package/mac-agent/node_modules/node-pty/src/unix/pty.cc +0 -826
  1589. package/mac-agent/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
  1590. package/mac-agent/node_modules/node-pty/src/unixTerminal.test.ts +0 -335
  1591. package/mac-agent/node_modules/node-pty/src/unixTerminal.ts +0 -320
  1592. package/mac-agent/node_modules/node-pty/src/utils.ts +0 -9
  1593. package/mac-agent/node_modules/node-pty/src/win/conpty.cc +0 -498
  1594. package/mac-agent/node_modules/node-pty/src/win/conpty_console_list.cc +0 -43
  1595. package/mac-agent/node_modules/node-pty/src/win/path_util.cc +0 -73
  1596. package/mac-agent/node_modules/node-pty/src/win/path_util.h +0 -22
  1597. package/mac-agent/node_modules/node-pty/src/win/winpty.cc +0 -312
  1598. package/mac-agent/node_modules/node-pty/src/windowsConoutConnection.ts +0 -79
  1599. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
  1600. package/mac-agent/node_modules/node-pty/src/windowsPtyAgent.ts +0 -323
  1601. package/mac-agent/node_modules/node-pty/src/windowsTerminal.test.ts +0 -214
  1602. package/mac-agent/node_modules/node-pty/src/windowsTerminal.ts +0 -208
  1603. package/mac-agent/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
  1604. package/mac-agent/node_modules/node-pty/typings/node-pty.d.ts +0 -203
  1605. package/mac-agent/node_modules/nodemon/.prettierrc.json +0 -3
  1606. package/mac-agent/node_modules/nodemon/LICENSE +0 -21
  1607. package/mac-agent/node_modules/nodemon/README.md +0 -441
  1608. package/mac-agent/node_modules/nodemon/bin/nodemon.js +0 -16
  1609. package/mac-agent/node_modules/nodemon/bin/windows-kill.exe +0 -0
  1610. package/mac-agent/node_modules/nodemon/doc/cli/authors.txt +0 -8
  1611. package/mac-agent/node_modules/nodemon/doc/cli/config.txt +0 -44
  1612. package/mac-agent/node_modules/nodemon/doc/cli/help.txt +0 -29
  1613. package/mac-agent/node_modules/nodemon/doc/cli/logo.txt +0 -20
  1614. package/mac-agent/node_modules/nodemon/doc/cli/options.txt +0 -36
  1615. package/mac-agent/node_modules/nodemon/doc/cli/topics.txt +0 -8
  1616. package/mac-agent/node_modules/nodemon/doc/cli/usage.txt +0 -3
  1617. package/mac-agent/node_modules/nodemon/doc/cli/whoami.txt +0 -9
  1618. package/mac-agent/node_modules/nodemon/index.d.ts +0 -125
  1619. package/mac-agent/node_modules/nodemon/jsconfig.json +0 -7
  1620. package/mac-agent/node_modules/nodemon/lib/cli/index.js +0 -49
  1621. package/mac-agent/node_modules/nodemon/lib/cli/parse.js +0 -230
  1622. package/mac-agent/node_modules/nodemon/lib/config/command.js +0 -43
  1623. package/mac-agent/node_modules/nodemon/lib/config/defaults.js +0 -34
  1624. package/mac-agent/node_modules/nodemon/lib/config/exec.js +0 -234
  1625. package/mac-agent/node_modules/nodemon/lib/config/index.js +0 -93
  1626. package/mac-agent/node_modules/nodemon/lib/config/load.js +0 -225
  1627. package/mac-agent/node_modules/nodemon/lib/help/index.js +0 -27
  1628. package/mac-agent/node_modules/nodemon/lib/index.js +0 -1
  1629. package/mac-agent/node_modules/nodemon/lib/monitor/index.js +0 -4
  1630. package/mac-agent/node_modules/nodemon/lib/monitor/match.js +0 -287
  1631. package/mac-agent/node_modules/nodemon/lib/monitor/run.js +0 -562
  1632. package/mac-agent/node_modules/nodemon/lib/monitor/signals.js +0 -34
  1633. package/mac-agent/node_modules/nodemon/lib/monitor/watch.js +0 -244
  1634. package/mac-agent/node_modules/nodemon/lib/nodemon.js +0 -317
  1635. package/mac-agent/node_modules/nodemon/lib/rules/add.js +0 -89
  1636. package/mac-agent/node_modules/nodemon/lib/rules/index.js +0 -53
  1637. package/mac-agent/node_modules/nodemon/lib/rules/parse.js +0 -43
  1638. package/mac-agent/node_modules/nodemon/lib/spawn.js +0 -74
  1639. package/mac-agent/node_modules/nodemon/lib/utils/bus.js +0 -44
  1640. package/mac-agent/node_modules/nodemon/lib/utils/clone.js +0 -40
  1641. package/mac-agent/node_modules/nodemon/lib/utils/colour.js +0 -26
  1642. package/mac-agent/node_modules/nodemon/lib/utils/index.js +0 -103
  1643. package/mac-agent/node_modules/nodemon/lib/utils/log.js +0 -82
  1644. package/mac-agent/node_modules/nodemon/lib/utils/merge.js +0 -47
  1645. package/mac-agent/node_modules/nodemon/lib/version.js +0 -100
  1646. package/mac-agent/node_modules/nodemon/package.json +0 -75
  1647. package/mac-agent/node_modules/nopt/CHANGELOG.md +0 -58
  1648. package/mac-agent/node_modules/nopt/LICENSE +0 -15
  1649. package/mac-agent/node_modules/nopt/README.md +0 -213
  1650. package/mac-agent/node_modules/nopt/bin/nopt.js +0 -54
  1651. package/mac-agent/node_modules/nopt/lib/nopt.js +0 -441
  1652. package/mac-agent/node_modules/nopt/package.json +0 -34
  1653. package/mac-agent/node_modules/normalize-package-data/AUTHORS +0 -4
  1654. package/mac-agent/node_modules/normalize-package-data/LICENSE +0 -30
  1655. package/mac-agent/node_modules/normalize-package-data/README.md +0 -106
  1656. package/mac-agent/node_modules/normalize-package-data/lib/extract_description.js +0 -14
  1657. package/mac-agent/node_modules/normalize-package-data/lib/fixer.js +0 -418
  1658. package/mac-agent/node_modules/normalize-package-data/lib/make_warning.js +0 -23
  1659. package/mac-agent/node_modules/normalize-package-data/lib/normalize.js +0 -39
  1660. package/mac-agent/node_modules/normalize-package-data/lib/safe_format.js +0 -9
  1661. package/mac-agent/node_modules/normalize-package-data/lib/typos.json +0 -25
  1662. package/mac-agent/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
  1663. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/LICENSE +0 -15
  1664. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/README.md +0 -412
  1665. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/bin/semver +0 -160
  1666. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/package.json +0 -38
  1667. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/range.bnf +0 -16
  1668. package/mac-agent/node_modules/normalize-package-data/node_modules/semver/semver.js +0 -1525
  1669. package/mac-agent/node_modules/normalize-package-data/package.json +0 -31
  1670. package/mac-agent/node_modules/normalize-path/LICENSE +0 -21
  1671. package/mac-agent/node_modules/normalize-path/README.md +0 -127
  1672. package/mac-agent/node_modules/normalize-path/index.js +0 -35
  1673. package/mac-agent/node_modules/normalize-path/package.json +0 -77
  1674. package/mac-agent/node_modules/npmlog/LICENSE +0 -15
  1675. package/mac-agent/node_modules/npmlog/README.md +0 -216
  1676. package/mac-agent/node_modules/npmlog/log.js +0 -403
  1677. package/mac-agent/node_modules/npmlog/package.json +0 -33
  1678. package/mac-agent/node_modules/number-is-nan/index.js +0 -4
  1679. package/mac-agent/node_modules/number-is-nan/license +0 -21
  1680. package/mac-agent/node_modules/number-is-nan/package.json +0 -35
  1681. package/mac-agent/node_modules/number-is-nan/readme.md +0 -28
  1682. package/mac-agent/node_modules/object-assign/index.js +0 -90
  1683. package/mac-agent/node_modules/object-assign/license +0 -21
  1684. package/mac-agent/node_modules/object-assign/package.json +0 -42
  1685. package/mac-agent/node_modules/object-assign/readme.md +0 -61
  1686. package/mac-agent/node_modules/object-keys/.editorconfig +0 -13
  1687. package/mac-agent/node_modules/object-keys/.eslintrc +0 -17
  1688. package/mac-agent/node_modules/object-keys/.travis.yml +0 -277
  1689. package/mac-agent/node_modules/object-keys/CHANGELOG.md +0 -232
  1690. package/mac-agent/node_modules/object-keys/LICENSE +0 -21
  1691. package/mac-agent/node_modules/object-keys/README.md +0 -76
  1692. package/mac-agent/node_modules/object-keys/implementation.js +0 -122
  1693. package/mac-agent/node_modules/object-keys/index.js +0 -32
  1694. package/mac-agent/node_modules/object-keys/isArguments.js +0 -17
  1695. package/mac-agent/node_modules/object-keys/package.json +0 -88
  1696. package/mac-agent/node_modules/object-keys/test/index.js +0 -5
  1697. package/mac-agent/node_modules/object.assign/.editorconfig +0 -20
  1698. package/mac-agent/node_modules/object.assign/.eslintrc +0 -28
  1699. package/mac-agent/node_modules/object.assign/.github/FUNDING.yml +0 -12
  1700. package/mac-agent/node_modules/object.assign/.nycrc +0 -9
  1701. package/mac-agent/node_modules/object.assign/CHANGELOG.md +0 -246
  1702. package/mac-agent/node_modules/object.assign/LICENSE +0 -21
  1703. package/mac-agent/node_modules/object.assign/README.md +0 -136
  1704. package/mac-agent/node_modules/object.assign/auto.js +0 -3
  1705. package/mac-agent/node_modules/object.assign/dist/browser.js +0 -1304
  1706. package/mac-agent/node_modules/object.assign/hasSymbols.js +0 -43
  1707. package/mac-agent/node_modules/object.assign/implementation.js +0 -46
  1708. package/mac-agent/node_modules/object.assign/index.js +0 -22
  1709. package/mac-agent/node_modules/object.assign/package.json +0 -96
  1710. package/mac-agent/node_modules/object.assign/polyfill.js +0 -55
  1711. package/mac-agent/node_modules/object.assign/shim.js +0 -14
  1712. package/mac-agent/node_modules/object.assign/test/implementation.js +0 -19
  1713. package/mac-agent/node_modules/object.assign/test/index.js +0 -17
  1714. package/mac-agent/node_modules/object.assign/test/native.js +0 -49
  1715. package/mac-agent/node_modules/object.assign/test/ses-compat.js +0 -12
  1716. package/mac-agent/node_modules/object.assign/test/shimmed.js +0 -52
  1717. package/mac-agent/node_modules/object.assign/test/tests.js +0 -232
  1718. package/mac-agent/node_modules/once/LICENSE +0 -15
  1719. package/mac-agent/node_modules/once/README.md +0 -79
  1720. package/mac-agent/node_modules/once/once.js +0 -42
  1721. package/mac-agent/node_modules/once/package.json +0 -33
  1722. package/mac-agent/node_modules/one-time/LICENSE +0 -22
  1723. package/mac-agent/node_modules/one-time/README.md +0 -88
  1724. package/mac-agent/node_modules/one-time/async.js +0 -43
  1725. package/mac-agent/node_modules/one-time/index.js +0 -42
  1726. package/mac-agent/node_modules/one-time/package.json +0 -34
  1727. package/mac-agent/node_modules/os-locale/index.js +0 -127
  1728. package/mac-agent/node_modules/os-locale/license +0 -21
  1729. package/mac-agent/node_modules/os-locale/package.json +0 -43
  1730. package/mac-agent/node_modules/os-locale/readme.md +0 -47
  1731. package/mac-agent/node_modules/parse-json/index.js +0 -35
  1732. package/mac-agent/node_modules/parse-json/license +0 -21
  1733. package/mac-agent/node_modules/parse-json/package.json +0 -46
  1734. package/mac-agent/node_modules/parse-json/readme.md +0 -83
  1735. package/mac-agent/node_modules/parse-json/vendor/parse.js +0 -752
  1736. package/mac-agent/node_modules/parse-json/vendor/unicode.js +0 -71
  1737. package/mac-agent/node_modules/path-exists/index.js +0 -24
  1738. package/mac-agent/node_modules/path-exists/license +0 -21
  1739. package/mac-agent/node_modules/path-exists/package.json +0 -40
  1740. package/mac-agent/node_modules/path-exists/readme.md +0 -45
  1741. package/mac-agent/node_modules/path-is-absolute/index.js +0 -20
  1742. package/mac-agent/node_modules/path-is-absolute/license +0 -21
  1743. package/mac-agent/node_modules/path-is-absolute/package.json +0 -43
  1744. package/mac-agent/node_modules/path-is-absolute/readme.md +0 -59
  1745. package/mac-agent/node_modules/path-parse/LICENSE +0 -21
  1746. package/mac-agent/node_modules/path-parse/README.md +0 -42
  1747. package/mac-agent/node_modules/path-parse/index.js +0 -75
  1748. package/mac-agent/node_modules/path-parse/package.json +0 -33
  1749. package/mac-agent/node_modules/path-type/index.js +0 -29
  1750. package/mac-agent/node_modules/path-type/license +0 -21
  1751. package/mac-agent/node_modules/path-type/package.json +0 -52
  1752. package/mac-agent/node_modules/path-type/readme.md +0 -42
  1753. package/mac-agent/node_modules/picomatch/CHANGELOG.md +0 -136
  1754. package/mac-agent/node_modules/picomatch/LICENSE +0 -21
  1755. package/mac-agent/node_modules/picomatch/README.md +0 -708
  1756. package/mac-agent/node_modules/picomatch/index.js +0 -3
  1757. package/mac-agent/node_modules/picomatch/lib/constants.js +0 -179
  1758. package/mac-agent/node_modules/picomatch/lib/parse.js +0 -1091
  1759. package/mac-agent/node_modules/picomatch/lib/picomatch.js +0 -342
  1760. package/mac-agent/node_modules/picomatch/lib/scan.js +0 -391
  1761. package/mac-agent/node_modules/picomatch/lib/utils.js +0 -64
  1762. package/mac-agent/node_modules/picomatch/package.json +0 -81
  1763. package/mac-agent/node_modules/pify/index.js +0 -68
  1764. package/mac-agent/node_modules/pify/license +0 -21
  1765. package/mac-agent/node_modules/pify/package.json +0 -48
  1766. package/mac-agent/node_modules/pify/readme.md +0 -119
  1767. package/mac-agent/node_modules/pinkie/index.js +0 -292
  1768. package/mac-agent/node_modules/pinkie/license +0 -21
  1769. package/mac-agent/node_modules/pinkie/package.json +0 -36
  1770. package/mac-agent/node_modules/pinkie/readme.md +0 -83
  1771. package/mac-agent/node_modules/pinkie-promise/index.js +0 -3
  1772. package/mac-agent/node_modules/pinkie-promise/license +0 -21
  1773. package/mac-agent/node_modules/pinkie-promise/package.json +0 -35
  1774. package/mac-agent/node_modules/pinkie-promise/readme.md +0 -28
  1775. package/mac-agent/node_modules/proxy-from-env/.eslintrc +0 -29
  1776. package/mac-agent/node_modules/proxy-from-env/.travis.yml +0 -10
  1777. package/mac-agent/node_modules/proxy-from-env/LICENSE +0 -20
  1778. package/mac-agent/node_modules/proxy-from-env/README.md +0 -131
  1779. package/mac-agent/node_modules/proxy-from-env/index.js +0 -108
  1780. package/mac-agent/node_modules/proxy-from-env/package.json +0 -34
  1781. package/mac-agent/node_modules/proxy-from-env/test.js +0 -483
  1782. package/mac-agent/node_modules/pstree.remy/.travis.yml +0 -8
  1783. package/mac-agent/node_modules/pstree.remy/LICENSE +0 -7
  1784. package/mac-agent/node_modules/pstree.remy/README.md +0 -26
  1785. package/mac-agent/node_modules/pstree.remy/lib/index.js +0 -37
  1786. package/mac-agent/node_modules/pstree.remy/lib/tree.js +0 -37
  1787. package/mac-agent/node_modules/pstree.remy/lib/utils.js +0 -53
  1788. package/mac-agent/node_modules/pstree.remy/package.json +0 -33
  1789. package/mac-agent/node_modules/pstree.remy/tests/fixtures/index.js +0 -13
  1790. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out1 +0 -10
  1791. package/mac-agent/node_modules/pstree.remy/tests/fixtures/out2 +0 -29
  1792. package/mac-agent/node_modules/pstree.remy/tests/index.test.js +0 -51
  1793. package/mac-agent/node_modules/read-pkg/index.js +0 -48
  1794. package/mac-agent/node_modules/read-pkg/license +0 -21
  1795. package/mac-agent/node_modules/read-pkg/package.json +0 -42
  1796. package/mac-agent/node_modules/read-pkg/readme.md +0 -79
  1797. package/mac-agent/node_modules/read-pkg-up/index.js +0 -31
  1798. package/mac-agent/node_modules/read-pkg-up/license +0 -21
  1799. package/mac-agent/node_modules/read-pkg-up/package.json +0 -59
  1800. package/mac-agent/node_modules/read-pkg-up/readme.md +0 -79
  1801. package/mac-agent/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  1802. package/mac-agent/node_modules/readable-stream/GOVERNANCE.md +0 -136
  1803. package/mac-agent/node_modules/readable-stream/LICENSE +0 -47
  1804. package/mac-agent/node_modules/readable-stream/README.md +0 -106
  1805. package/mac-agent/node_modules/readable-stream/errors-browser.js +0 -127
  1806. package/mac-agent/node_modules/readable-stream/errors.js +0 -116
  1807. package/mac-agent/node_modules/readable-stream/experimentalWarning.js +0 -17
  1808. package/mac-agent/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  1809. package/mac-agent/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  1810. package/mac-agent/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  1811. package/mac-agent/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  1812. package/mac-agent/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  1813. package/mac-agent/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  1814. package/mac-agent/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  1815. package/mac-agent/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  1816. package/mac-agent/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  1817. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  1818. package/mac-agent/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  1819. package/mac-agent/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  1820. package/mac-agent/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  1821. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  1822. package/mac-agent/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  1823. package/mac-agent/node_modules/readable-stream/package.json +0 -68
  1824. package/mac-agent/node_modules/readable-stream/readable-browser.js +0 -9
  1825. package/mac-agent/node_modules/readable-stream/readable.js +0 -16
  1826. package/mac-agent/node_modules/readdirp/LICENSE +0 -21
  1827. package/mac-agent/node_modules/readdirp/README.md +0 -122
  1828. package/mac-agent/node_modules/readdirp/index.d.ts +0 -43
  1829. package/mac-agent/node_modules/readdirp/index.js +0 -287
  1830. package/mac-agent/node_modules/readdirp/package.json +0 -122
  1831. package/mac-agent/node_modules/require-directory/.jshintrc +0 -67
  1832. package/mac-agent/node_modules/require-directory/.travis.yml +0 -3
  1833. package/mac-agent/node_modules/require-directory/LICENSE +0 -22
  1834. package/mac-agent/node_modules/require-directory/README.markdown +0 -184
  1835. package/mac-agent/node_modules/require-directory/index.js +0 -86
  1836. package/mac-agent/node_modules/require-directory/package.json +0 -40
  1837. package/mac-agent/node_modules/require-main-filename/.travis.yml +0 -8
  1838. package/mac-agent/node_modules/require-main-filename/LICENSE.txt +0 -14
  1839. package/mac-agent/node_modules/require-main-filename/README.md +0 -26
  1840. package/mac-agent/node_modules/require-main-filename/index.js +0 -18
  1841. package/mac-agent/node_modules/require-main-filename/package.json +0 -30
  1842. package/mac-agent/node_modules/require-main-filename/test.js +0 -36
  1843. package/mac-agent/node_modules/resolve/.editorconfig +0 -37
  1844. package/mac-agent/node_modules/resolve/.eslintrc +0 -65
  1845. package/mac-agent/node_modules/resolve/.github/FUNDING.yml +0 -12
  1846. package/mac-agent/node_modules/resolve/LICENSE +0 -21
  1847. package/mac-agent/node_modules/resolve/SECURITY.md +0 -3
  1848. package/mac-agent/node_modules/resolve/async.js +0 -3
  1849. package/mac-agent/node_modules/resolve/bin/resolve +0 -50
  1850. package/mac-agent/node_modules/resolve/example/async.js +0 -5
  1851. package/mac-agent/node_modules/resolve/example/sync.js +0 -3
  1852. package/mac-agent/node_modules/resolve/index.js +0 -6
  1853. package/mac-agent/node_modules/resolve/lib/async.js +0 -329
  1854. package/mac-agent/node_modules/resolve/lib/caller.js +0 -8
  1855. package/mac-agent/node_modules/resolve/lib/core.js +0 -12
  1856. package/mac-agent/node_modules/resolve/lib/core.json +0 -162
  1857. package/mac-agent/node_modules/resolve/lib/homedir.js +0 -24
  1858. package/mac-agent/node_modules/resolve/lib/is-core.js +0 -5
  1859. package/mac-agent/node_modules/resolve/lib/node-modules-paths.js +0 -42
  1860. package/mac-agent/node_modules/resolve/lib/normalize-options.js +0 -10
  1861. package/mac-agent/node_modules/resolve/lib/sync.js +0 -208
  1862. package/mac-agent/node_modules/resolve/package.json +0 -75
  1863. package/mac-agent/node_modules/resolve/readme.markdown +0 -301
  1864. package/mac-agent/node_modules/resolve/sync.js +0 -3
  1865. package/mac-agent/node_modules/resolve/test/core.js +0 -88
  1866. package/mac-agent/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  1867. package/mac-agent/node_modules/resolve/test/dotdot/index.js +0 -1
  1868. package/mac-agent/node_modules/resolve/test/dotdot.js +0 -29
  1869. package/mac-agent/node_modules/resolve/test/faulty_basedir.js +0 -29
  1870. package/mac-agent/node_modules/resolve/test/filter.js +0 -34
  1871. package/mac-agent/node_modules/resolve/test/filter_sync.js +0 -33
  1872. package/mac-agent/node_modules/resolve/test/home_paths.js +0 -127
  1873. package/mac-agent/node_modules/resolve/test/home_paths_sync.js +0 -114
  1874. package/mac-agent/node_modules/resolve/test/mock.js +0 -315
  1875. package/mac-agent/node_modules/resolve/test/mock_sync.js +0 -214
  1876. package/mac-agent/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  1877. package/mac-agent/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  1878. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  1879. package/mac-agent/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  1880. package/mac-agent/node_modules/resolve/test/module_dir.js +0 -56
  1881. package/mac-agent/node_modules/resolve/test/node-modules-paths.js +0 -143
  1882. package/mac-agent/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  1883. package/mac-agent/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  1884. package/mac-agent/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  1885. package/mac-agent/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  1886. package/mac-agent/node_modules/resolve/test/node_path.js +0 -70
  1887. package/mac-agent/node_modules/resolve/test/nonstring.js +0 -9
  1888. package/mac-agent/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1889. package/mac-agent/node_modules/resolve/test/pathfilter.js +0 -75
  1890. package/mac-agent/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  1891. package/mac-agent/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  1892. package/mac-agent/node_modules/resolve/test/precedence/aaa.js +0 -1
  1893. package/mac-agent/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  1894. package/mac-agent/node_modules/resolve/test/precedence/bbb.js +0 -1
  1895. package/mac-agent/node_modules/resolve/test/precedence.js +0 -23
  1896. package/mac-agent/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1897. package/mac-agent/node_modules/resolve/test/resolver/baz/package.json +0 -4
  1898. package/mac-agent/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  1899. package/mac-agent/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1900. package/mac-agent/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1901. package/mac-agent/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  1902. package/mac-agent/node_modules/resolve/test/resolver/cup.coffee +0 -1
  1903. package/mac-agent/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  1904. package/mac-agent/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  1905. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  1906. package/mac-agent/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  1907. package/mac-agent/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1908. package/mac-agent/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  1909. package/mac-agent/node_modules/resolve/test/resolver/foo.js +0 -1
  1910. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  1911. package/mac-agent/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  1912. package/mac-agent/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  1913. package/mac-agent/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1914. package/mac-agent/node_modules/resolve/test/resolver/mug.js +0 -0
  1915. package/mac-agent/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  1916. package/mac-agent/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  1917. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  1918. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  1919. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1920. package/mac-agent/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  1921. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  1922. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  1923. package/mac-agent/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  1924. package/mac-agent/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1925. package/mac-agent/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1926. package/mac-agent/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  1927. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  1928. package/mac-agent/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  1929. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1930. package/mac-agent/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1931. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  1932. package/mac-agent/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  1933. package/mac-agent/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  1934. package/mac-agent/node_modules/resolve/test/resolver.js +0 -597
  1935. package/mac-agent/node_modules/resolve/test/resolver_sync.js +0 -730
  1936. package/mac-agent/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1937. package/mac-agent/node_modules/resolve/test/shadowed_core.js +0 -54
  1938. package/mac-agent/node_modules/resolve/test/subdirs.js +0 -13
  1939. package/mac-agent/node_modules/resolve/test/symlinks.js +0 -176
  1940. package/mac-agent/node_modules/rimraf/CHANGELOG.md +0 -65
  1941. package/mac-agent/node_modules/rimraf/LICENSE +0 -15
  1942. package/mac-agent/node_modules/rimraf/README.md +0 -101
  1943. package/mac-agent/node_modules/rimraf/bin.js +0 -68
  1944. package/mac-agent/node_modules/rimraf/package.json +0 -32
  1945. package/mac-agent/node_modules/rimraf/rimraf.js +0 -360
  1946. package/mac-agent/node_modules/safe-buffer/LICENSE +0 -21
  1947. package/mac-agent/node_modules/safe-buffer/README.md +0 -584
  1948. package/mac-agent/node_modules/safe-buffer/index.d.ts +0 -187
  1949. package/mac-agent/node_modules/safe-buffer/index.js +0 -65
  1950. package/mac-agent/node_modules/safe-buffer/package.json +0 -51
  1951. package/mac-agent/node_modules/safe-stable-stringify/LICENSE +0 -21
  1952. package/mac-agent/node_modules/safe-stable-stringify/esm/package.json +0 -4
  1953. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
  1954. package/mac-agent/node_modules/safe-stable-stringify/esm/wrapper.js +0 -6
  1955. package/mac-agent/node_modules/safe-stable-stringify/index.d.ts +0 -22
  1956. package/mac-agent/node_modules/safe-stable-stringify/index.js +0 -625
  1957. package/mac-agent/node_modules/safe-stable-stringify/package.json +0 -65
  1958. package/mac-agent/node_modules/safe-stable-stringify/readme.md +0 -179
  1959. package/mac-agent/node_modules/semver/LICENSE +0 -15
  1960. package/mac-agent/node_modules/semver/README.md +0 -664
  1961. package/mac-agent/node_modules/semver/bin/semver.js +0 -191
  1962. package/mac-agent/node_modules/semver/classes/comparator.js +0 -143
  1963. package/mac-agent/node_modules/semver/classes/index.js +0 -7
  1964. package/mac-agent/node_modules/semver/classes/range.js +0 -556
  1965. package/mac-agent/node_modules/semver/classes/semver.js +0 -319
  1966. package/mac-agent/node_modules/semver/functions/clean.js +0 -8
  1967. package/mac-agent/node_modules/semver/functions/cmp.js +0 -54
  1968. package/mac-agent/node_modules/semver/functions/coerce.js +0 -62
  1969. package/mac-agent/node_modules/semver/functions/compare-build.js +0 -9
  1970. package/mac-agent/node_modules/semver/functions/compare-loose.js +0 -5
  1971. package/mac-agent/node_modules/semver/functions/compare.js +0 -7
  1972. package/mac-agent/node_modules/semver/functions/diff.js +0 -60
  1973. package/mac-agent/node_modules/semver/functions/eq.js +0 -5
  1974. package/mac-agent/node_modules/semver/functions/gt.js +0 -5
  1975. package/mac-agent/node_modules/semver/functions/gte.js +0 -5
  1976. package/mac-agent/node_modules/semver/functions/inc.js +0 -21
  1977. package/mac-agent/node_modules/semver/functions/lt.js +0 -5
  1978. package/mac-agent/node_modules/semver/functions/lte.js +0 -5
  1979. package/mac-agent/node_modules/semver/functions/major.js +0 -5
  1980. package/mac-agent/node_modules/semver/functions/minor.js +0 -5
  1981. package/mac-agent/node_modules/semver/functions/neq.js +0 -5
  1982. package/mac-agent/node_modules/semver/functions/parse.js +0 -18
  1983. package/mac-agent/node_modules/semver/functions/patch.js +0 -5
  1984. package/mac-agent/node_modules/semver/functions/prerelease.js +0 -8
  1985. package/mac-agent/node_modules/semver/functions/rcompare.js +0 -5
  1986. package/mac-agent/node_modules/semver/functions/rsort.js +0 -5
  1987. package/mac-agent/node_modules/semver/functions/satisfies.js +0 -12
  1988. package/mac-agent/node_modules/semver/functions/sort.js +0 -5
  1989. package/mac-agent/node_modules/semver/functions/valid.js +0 -8
  1990. package/mac-agent/node_modules/semver/index.js +0 -91
  1991. package/mac-agent/node_modules/semver/internal/constants.js +0 -37
  1992. package/mac-agent/node_modules/semver/internal/debug.js +0 -11
  1993. package/mac-agent/node_modules/semver/internal/identifiers.js +0 -25
  1994. package/mac-agent/node_modules/semver/internal/lrucache.js +0 -42
  1995. package/mac-agent/node_modules/semver/internal/parse-options.js +0 -17
  1996. package/mac-agent/node_modules/semver/internal/re.js +0 -223
  1997. package/mac-agent/node_modules/semver/package.json +0 -78
  1998. package/mac-agent/node_modules/semver/preload.js +0 -4
  1999. package/mac-agent/node_modules/semver/range.bnf +0 -16
  2000. package/mac-agent/node_modules/semver/ranges/gtr.js +0 -6
  2001. package/mac-agent/node_modules/semver/ranges/intersects.js +0 -9
  2002. package/mac-agent/node_modules/semver/ranges/ltr.js +0 -6
  2003. package/mac-agent/node_modules/semver/ranges/max-satisfying.js +0 -27
  2004. package/mac-agent/node_modules/semver/ranges/min-satisfying.js +0 -26
  2005. package/mac-agent/node_modules/semver/ranges/min-version.js +0 -63
  2006. package/mac-agent/node_modules/semver/ranges/outside.js +0 -82
  2007. package/mac-agent/node_modules/semver/ranges/simplify.js +0 -49
  2008. package/mac-agent/node_modules/semver/ranges/subset.js +0 -249
  2009. package/mac-agent/node_modules/semver/ranges/to-comparators.js +0 -10
  2010. package/mac-agent/node_modules/semver/ranges/valid.js +0 -13
  2011. package/mac-agent/node_modules/set-blocking/CHANGELOG.md +0 -26
  2012. package/mac-agent/node_modules/set-blocking/LICENSE.txt +0 -14
  2013. package/mac-agent/node_modules/set-blocking/README.md +0 -31
  2014. package/mac-agent/node_modules/set-blocking/index.js +0 -7
  2015. package/mac-agent/node_modules/set-blocking/package.json +0 -42
  2016. package/mac-agent/node_modules/set-function-length/.eslintrc +0 -27
  2017. package/mac-agent/node_modules/set-function-length/.github/FUNDING.yml +0 -12
  2018. package/mac-agent/node_modules/set-function-length/.nycrc +0 -13
  2019. package/mac-agent/node_modules/set-function-length/CHANGELOG.md +0 -70
  2020. package/mac-agent/node_modules/set-function-length/LICENSE +0 -21
  2021. package/mac-agent/node_modules/set-function-length/README.md +0 -56
  2022. package/mac-agent/node_modules/set-function-length/env.d.ts +0 -9
  2023. package/mac-agent/node_modules/set-function-length/env.js +0 -25
  2024. package/mac-agent/node_modules/set-function-length/index.d.ts +0 -7
  2025. package/mac-agent/node_modules/set-function-length/index.js +0 -42
  2026. package/mac-agent/node_modules/set-function-length/package.json +0 -102
  2027. package/mac-agent/node_modules/set-function-length/tsconfig.json +0 -9
  2028. package/mac-agent/node_modules/signal-exit/LICENSE.txt +0 -16
  2029. package/mac-agent/node_modules/signal-exit/README.md +0 -39
  2030. package/mac-agent/node_modules/signal-exit/index.js +0 -202
  2031. package/mac-agent/node_modules/signal-exit/package.json +0 -38
  2032. package/mac-agent/node_modules/signal-exit/signals.js +0 -53
  2033. package/mac-agent/node_modules/simple-swizzle/LICENSE +0 -21
  2034. package/mac-agent/node_modules/simple-swizzle/README.md +0 -39
  2035. package/mac-agent/node_modules/simple-swizzle/index.js +0 -29
  2036. package/mac-agent/node_modules/simple-swizzle/package.json +0 -36
  2037. package/mac-agent/node_modules/simple-update-notifier/LICENSE +0 -21
  2038. package/mac-agent/node_modules/simple-update-notifier/README.md +0 -82
  2039. package/mac-agent/node_modules/simple-update-notifier/build/index.d.ts +0 -13
  2040. package/mac-agent/node_modules/simple-update-notifier/build/index.js +0 -210
  2041. package/mac-agent/node_modules/simple-update-notifier/package.json +0 -100
  2042. package/mac-agent/node_modules/simple-update-notifier/src/borderedText.ts +0 -12
  2043. package/mac-agent/node_modules/simple-update-notifier/src/cache.spec.ts +0 -17
  2044. package/mac-agent/node_modules/simple-update-notifier/src/cache.ts +0 -44
  2045. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +0 -35
  2046. package/mac-agent/node_modules/simple-update-notifier/src/getDistVersion.ts +0 -29
  2047. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +0 -82
  2048. package/mac-agent/node_modules/simple-update-notifier/src/hasNewVersion.ts +0 -40
  2049. package/mac-agent/node_modules/simple-update-notifier/src/index.spec.ts +0 -27
  2050. package/mac-agent/node_modules/simple-update-notifier/src/index.ts +0 -34
  2051. package/mac-agent/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +0 -12
  2052. package/mac-agent/node_modules/simple-update-notifier/src/types.ts +0 -8
  2053. package/mac-agent/node_modules/spdx-correct/LICENSE +0 -202
  2054. package/mac-agent/node_modules/spdx-correct/README.md +0 -22
  2055. package/mac-agent/node_modules/spdx-correct/index.js +0 -386
  2056. package/mac-agent/node_modules/spdx-correct/package.json +0 -32
  2057. package/mac-agent/node_modules/spdx-exceptions/README.md +0 -36
  2058. package/mac-agent/node_modules/spdx-exceptions/deprecated.json +0 -3
  2059. package/mac-agent/node_modules/spdx-exceptions/index.json +0 -68
  2060. package/mac-agent/node_modules/spdx-exceptions/package.json +0 -19
  2061. package/mac-agent/node_modules/spdx-expression-parse/AUTHORS +0 -4
  2062. package/mac-agent/node_modules/spdx-expression-parse/LICENSE +0 -22
  2063. package/mac-agent/node_modules/spdx-expression-parse/README.md +0 -91
  2064. package/mac-agent/node_modules/spdx-expression-parse/index.js +0 -8
  2065. package/mac-agent/node_modules/spdx-expression-parse/package.json +0 -39
  2066. package/mac-agent/node_modules/spdx-expression-parse/parse.js +0 -138
  2067. package/mac-agent/node_modules/spdx-expression-parse/scan.js +0 -131
  2068. package/mac-agent/node_modules/spdx-license-ids/README.md +0 -51
  2069. package/mac-agent/node_modules/spdx-license-ids/deprecated.json +0 -28
  2070. package/mac-agent/node_modules/spdx-license-ids/index.json +0 -650
  2071. package/mac-agent/node_modules/spdx-license-ids/package.json +0 -29
  2072. package/mac-agent/node_modules/stack-trace/License +0 -19
  2073. package/mac-agent/node_modules/stack-trace/Makefile +0 -11
  2074. package/mac-agent/node_modules/stack-trace/Readme.md +0 -98
  2075. package/mac-agent/node_modules/stack-trace/lib/stack-trace.js +0 -136
  2076. package/mac-agent/node_modules/stack-trace/package.json +0 -21
  2077. package/mac-agent/node_modules/string-width/index.d.ts +0 -29
  2078. package/mac-agent/node_modules/string-width/index.js +0 -47
  2079. package/mac-agent/node_modules/string-width/license +0 -9
  2080. package/mac-agent/node_modules/string-width/package.json +0 -56
  2081. package/mac-agent/node_modules/string-width/readme.md +0 -50
  2082. package/mac-agent/node_modules/string_decoder/LICENSE +0 -48
  2083. package/mac-agent/node_modules/string_decoder/README.md +0 -47
  2084. package/mac-agent/node_modules/string_decoder/lib/string_decoder.js +0 -296
  2085. package/mac-agent/node_modules/string_decoder/package.json +0 -34
  2086. package/mac-agent/node_modules/strip-ansi/index.d.ts +0 -17
  2087. package/mac-agent/node_modules/strip-ansi/index.js +0 -4
  2088. package/mac-agent/node_modules/strip-ansi/license +0 -9
  2089. package/mac-agent/node_modules/strip-ansi/package.json +0 -54
  2090. package/mac-agent/node_modules/strip-ansi/readme.md +0 -46
  2091. package/mac-agent/node_modules/strip-bom/index.js +0 -17
  2092. package/mac-agent/node_modules/strip-bom/license +0 -21
  2093. package/mac-agent/node_modules/strip-bom/package.json +0 -42
  2094. package/mac-agent/node_modules/strip-bom/readme.md +0 -39
  2095. package/mac-agent/node_modules/supports-color/browser.js +0 -5
  2096. package/mac-agent/node_modules/supports-color/index.js +0 -131
  2097. package/mac-agent/node_modules/supports-color/license +0 -9
  2098. package/mac-agent/node_modules/supports-color/package.json +0 -53
  2099. package/mac-agent/node_modules/supports-color/readme.md +0 -66
  2100. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  2101. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  2102. package/mac-agent/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  2103. package/mac-agent/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  2104. package/mac-agent/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  2105. package/mac-agent/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  2106. package/mac-agent/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  2107. package/mac-agent/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  2108. package/mac-agent/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  2109. package/mac-agent/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  2110. package/mac-agent/node_modules/tar/LICENSE +0 -15
  2111. package/mac-agent/node_modules/tar/README.md +0 -1080
  2112. package/mac-agent/node_modules/tar/index.js +0 -18
  2113. package/mac-agent/node_modules/tar/lib/create.js +0 -111
  2114. package/mac-agent/node_modules/tar/lib/extract.js +0 -113
  2115. package/mac-agent/node_modules/tar/lib/get-write-flag.js +0 -20
  2116. package/mac-agent/node_modules/tar/lib/header.js +0 -304
  2117. package/mac-agent/node_modules/tar/lib/high-level-opt.js +0 -29
  2118. package/mac-agent/node_modules/tar/lib/large-numbers.js +0 -104
  2119. package/mac-agent/node_modules/tar/lib/list.js +0 -139
  2120. package/mac-agent/node_modules/tar/lib/mkdir.js +0 -229
  2121. package/mac-agent/node_modules/tar/lib/mode-fix.js +0 -27
  2122. package/mac-agent/node_modules/tar/lib/normalize-unicode.js +0 -12
  2123. package/mac-agent/node_modules/tar/lib/normalize-windows-path.js +0 -8
  2124. package/mac-agent/node_modules/tar/lib/pack.js +0 -432
  2125. package/mac-agent/node_modules/tar/lib/parse.js +0 -552
  2126. package/mac-agent/node_modules/tar/lib/path-reservations.js +0 -156
  2127. package/mac-agent/node_modules/tar/lib/pax.js +0 -150
  2128. package/mac-agent/node_modules/tar/lib/read-entry.js +0 -107
  2129. package/mac-agent/node_modules/tar/lib/replace.js +0 -246
  2130. package/mac-agent/node_modules/tar/lib/strip-absolute-path.js +0 -24
  2131. package/mac-agent/node_modules/tar/lib/strip-trailing-slashes.js +0 -13
  2132. package/mac-agent/node_modules/tar/lib/types.js +0 -44
  2133. package/mac-agent/node_modules/tar/lib/unpack.js +0 -923
  2134. package/mac-agent/node_modules/tar/lib/update.js +0 -40
  2135. package/mac-agent/node_modules/tar/lib/warn-mixin.js +0 -24
  2136. package/mac-agent/node_modules/tar/lib/winchars.js +0 -23
  2137. package/mac-agent/node_modules/tar/lib/write-entry.js +0 -546
  2138. package/mac-agent/node_modules/tar/package.json +0 -70
  2139. package/mac-agent/node_modules/text-hex/LICENSE +0 -21
  2140. package/mac-agent/node_modules/text-hex/README.md +0 -20
  2141. package/mac-agent/node_modules/text-hex/index.js +0 -24
  2142. package/mac-agent/node_modules/text-hex/package.json +0 -30
  2143. package/mac-agent/node_modules/text-hex/test.js +0 -11
  2144. package/mac-agent/node_modules/to-regex-range/LICENSE +0 -21
  2145. package/mac-agent/node_modules/to-regex-range/README.md +0 -305
  2146. package/mac-agent/node_modules/to-regex-range/index.js +0 -288
  2147. package/mac-agent/node_modules/to-regex-range/package.json +0 -88
  2148. package/mac-agent/node_modules/touch/LICENSE +0 -15
  2149. package/mac-agent/node_modules/touch/README.md +0 -52
  2150. package/mac-agent/node_modules/touch/bin/nodetouch.js +0 -112
  2151. package/mac-agent/node_modules/touch/index.js +0 -224
  2152. package/mac-agent/node_modules/touch/package.json +0 -25
  2153. package/mac-agent/node_modules/tr46/index.js +0 -193
  2154. package/mac-agent/node_modules/tr46/lib/.gitkeep +0 -0
  2155. package/mac-agent/node_modules/tr46/lib/mappingTable.json +0 -1
  2156. package/mac-agent/node_modules/tr46/package.json +0 -31
  2157. package/mac-agent/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
  2158. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
  2159. package/mac-agent/node_modules/triple-beam/.nyc_output/processinfo/index.json +0 -1
  2160. package/mac-agent/node_modules/triple-beam/CHANGELOG.md +0 -22
  2161. package/mac-agent/node_modules/triple-beam/LICENSE +0 -21
  2162. package/mac-agent/node_modules/triple-beam/README.md +0 -34
  2163. package/mac-agent/node_modules/triple-beam/config/cli.js +0 -42
  2164. package/mac-agent/node_modules/triple-beam/config/index.js +0 -32
  2165. package/mac-agent/node_modules/triple-beam/config/npm.js +0 -36
  2166. package/mac-agent/node_modules/triple-beam/config/syslog.js +0 -38
  2167. package/mac-agent/node_modules/triple-beam/index.js +0 -46
  2168. package/mac-agent/node_modules/triple-beam/package.json +0 -40
  2169. package/mac-agent/node_modules/undefsafe/.github/workflows/release.yml +0 -25
  2170. package/mac-agent/node_modules/undefsafe/.jscsrc +0 -13
  2171. package/mac-agent/node_modules/undefsafe/.jshintrc +0 -16
  2172. package/mac-agent/node_modules/undefsafe/.travis.yml +0 -18
  2173. package/mac-agent/node_modules/undefsafe/LICENSE +0 -22
  2174. package/mac-agent/node_modules/undefsafe/README.md +0 -63
  2175. package/mac-agent/node_modules/undefsafe/example.js +0 -14
  2176. package/mac-agent/node_modules/undefsafe/lib/undefsafe.js +0 -125
  2177. package/mac-agent/node_modules/undefsafe/package.json +0 -34
  2178. package/mac-agent/node_modules/util-deprecate/History.md +0 -16
  2179. package/mac-agent/node_modules/util-deprecate/LICENSE +0 -24
  2180. package/mac-agent/node_modules/util-deprecate/README.md +0 -53
  2181. package/mac-agent/node_modules/util-deprecate/browser.js +0 -67
  2182. package/mac-agent/node_modules/util-deprecate/node.js +0 -6
  2183. package/mac-agent/node_modules/util-deprecate/package.json +0 -27
  2184. package/mac-agent/node_modules/uuid/CHANGELOG.md +0 -229
  2185. package/mac-agent/node_modules/uuid/CONTRIBUTING.md +0 -18
  2186. package/mac-agent/node_modules/uuid/LICENSE.md +0 -9
  2187. package/mac-agent/node_modules/uuid/README.md +0 -505
  2188. package/mac-agent/node_modules/uuid/dist/bin/uuid +0 -2
  2189. package/mac-agent/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2190. package/mac-agent/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2191. package/mac-agent/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2192. package/mac-agent/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2193. package/mac-agent/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2194. package/mac-agent/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  2195. package/mac-agent/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2196. package/mac-agent/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  2197. package/mac-agent/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2198. package/mac-agent/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2199. package/mac-agent/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  2200. package/mac-agent/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  2201. package/mac-agent/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2202. package/mac-agent/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2203. package/mac-agent/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2204. package/mac-agent/node_modules/uuid/dist/esm-node/index.js +0 -9
  2205. package/mac-agent/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2206. package/mac-agent/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2207. package/mac-agent/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2208. package/mac-agent/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2209. package/mac-agent/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2210. package/mac-agent/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2211. package/mac-agent/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  2212. package/mac-agent/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2213. package/mac-agent/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2214. package/mac-agent/node_modules/uuid/dist/esm-node/v35.js +0 -64
  2215. package/mac-agent/node_modules/uuid/dist/esm-node/v4.js +0 -24
  2216. package/mac-agent/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2217. package/mac-agent/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2218. package/mac-agent/node_modules/uuid/dist/esm-node/version.js +0 -11
  2219. package/mac-agent/node_modules/uuid/dist/index.js +0 -79
  2220. package/mac-agent/node_modules/uuid/dist/md5-browser.js +0 -223
  2221. package/mac-agent/node_modules/uuid/dist/md5.js +0 -23
  2222. package/mac-agent/node_modules/uuid/dist/nil.js +0 -8
  2223. package/mac-agent/node_modules/uuid/dist/parse.js +0 -45
  2224. package/mac-agent/node_modules/uuid/dist/regex.js +0 -8
  2225. package/mac-agent/node_modules/uuid/dist/rng-browser.js +0 -26
  2226. package/mac-agent/node_modules/uuid/dist/rng.js +0 -24
  2227. package/mac-agent/node_modules/uuid/dist/sha1-browser.js +0 -104
  2228. package/mac-agent/node_modules/uuid/dist/sha1.js +0 -23
  2229. package/mac-agent/node_modules/uuid/dist/stringify.js +0 -39
  2230. package/mac-agent/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  2231. package/mac-agent/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  2232. package/mac-agent/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  2233. package/mac-agent/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  2234. package/mac-agent/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  2235. package/mac-agent/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  2236. package/mac-agent/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  2237. package/mac-agent/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  2238. package/mac-agent/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  2239. package/mac-agent/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  2240. package/mac-agent/node_modules/uuid/dist/uuid-bin.js +0 -85
  2241. package/mac-agent/node_modules/uuid/dist/v1.js +0 -107
  2242. package/mac-agent/node_modules/uuid/dist/v3.js +0 -16
  2243. package/mac-agent/node_modules/uuid/dist/v35.js +0 -78
  2244. package/mac-agent/node_modules/uuid/dist/v4.js +0 -37
  2245. package/mac-agent/node_modules/uuid/dist/v5.js +0 -16
  2246. package/mac-agent/node_modules/uuid/dist/validate.js +0 -17
  2247. package/mac-agent/node_modules/uuid/dist/version.js +0 -21
  2248. package/mac-agent/node_modules/uuid/package.json +0 -135
  2249. package/mac-agent/node_modules/uuid/wrapper.mjs +0 -10
  2250. package/mac-agent/node_modules/validate-npm-package-license/LICENSE +0 -202
  2251. package/mac-agent/node_modules/validate-npm-package-license/README.md +0 -113
  2252. package/mac-agent/node_modules/validate-npm-package-license/index.js +0 -86
  2253. package/mac-agent/node_modules/validate-npm-package-license/package.json +0 -28
  2254. package/mac-agent/node_modules/webidl-conversions/LICENSE.md +0 -12
  2255. package/mac-agent/node_modules/webidl-conversions/README.md +0 -80
  2256. package/mac-agent/node_modules/webidl-conversions/lib/index.js +0 -332
  2257. package/mac-agent/node_modules/webidl-conversions/package.json +0 -27
  2258. package/mac-agent/node_modules/whatwg-url/LICENSE.txt +0 -21
  2259. package/mac-agent/node_modules/whatwg-url/README.md +0 -67
  2260. package/mac-agent/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2261. package/mac-agent/node_modules/whatwg-url/lib/URL.js +0 -196
  2262. package/mac-agent/node_modules/whatwg-url/lib/public-api.js +0 -11
  2263. package/mac-agent/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2264. package/mac-agent/node_modules/whatwg-url/lib/utils.js +0 -20
  2265. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/LICENSE.md +0 -12
  2266. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/README.md +0 -53
  2267. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/lib/index.js +0 -189
  2268. package/mac-agent/node_modules/whatwg-url/node_modules/webidl-conversions/package.json +0 -23
  2269. package/mac-agent/node_modules/whatwg-url/package.json +0 -32
  2270. package/mac-agent/node_modules/which/CHANGELOG.md +0 -152
  2271. package/mac-agent/node_modules/which/LICENSE +0 -15
  2272. package/mac-agent/node_modules/which/README.md +0 -51
  2273. package/mac-agent/node_modules/which/bin/which +0 -52
  2274. package/mac-agent/node_modules/which/package.json +0 -30
  2275. package/mac-agent/node_modules/which/which.js +0 -135
  2276. package/mac-agent/node_modules/which-module/CHANGELOG.md +0 -11
  2277. package/mac-agent/node_modules/which-module/LICENSE +0 -13
  2278. package/mac-agent/node_modules/which-module/README.md +0 -55
  2279. package/mac-agent/node_modules/which-module/index.js +0 -9
  2280. package/mac-agent/node_modules/which-module/package.json +0 -41
  2281. package/mac-agent/node_modules/wide-align/LICENSE +0 -14
  2282. package/mac-agent/node_modules/wide-align/README.md +0 -47
  2283. package/mac-agent/node_modules/wide-align/align.js +0 -65
  2284. package/mac-agent/node_modules/wide-align/package.json +0 -33
  2285. package/mac-agent/node_modules/winston/LICENSE +0 -19
  2286. package/mac-agent/node_modules/winston/README.md +0 -1271
  2287. package/mac-agent/node_modules/winston/dist/winston/common.js +0 -44
  2288. package/mac-agent/node_modules/winston/dist/winston/config/index.js +0 -36
  2289. package/mac-agent/node_modules/winston/dist/winston/container.js +0 -141
  2290. package/mac-agent/node_modules/winston/dist/winston/create-logger.js +0 -123
  2291. package/mac-agent/node_modules/winston/dist/winston/exception-handler.js +0 -265
  2292. package/mac-agent/node_modules/winston/dist/winston/exception-stream.js +0 -75
  2293. package/mac-agent/node_modules/winston/dist/winston/logger.js +0 -672
  2294. package/mac-agent/node_modules/winston/dist/winston/profiler.js +0 -65
  2295. package/mac-agent/node_modules/winston/dist/winston/rejection-handler.js +0 -265
  2296. package/mac-agent/node_modules/winston/dist/winston/rejection-stream.js +0 -72
  2297. package/mac-agent/node_modules/winston/dist/winston/tail-file.js +0 -113
  2298. package/mac-agent/node_modules/winston/dist/winston/transports/console.js +0 -143
  2299. package/mac-agent/node_modules/winston/dist/winston/transports/file.js +0 -788
  2300. package/mac-agent/node_modules/winston/dist/winston/transports/http.js +0 -288
  2301. package/mac-agent/node_modules/winston/dist/winston/transports/index.js +0 -56
  2302. package/mac-agent/node_modules/winston/dist/winston/transports/stream.js +0 -86
  2303. package/mac-agent/node_modules/winston/dist/winston.js +0 -171
  2304. package/mac-agent/node_modules/winston/index.d.ts +0 -208
  2305. package/mac-agent/node_modules/winston/lib/winston/common.js +0 -46
  2306. package/mac-agent/node_modules/winston/lib/winston/config/index.d.ts +0 -99
  2307. package/mac-agent/node_modules/winston/lib/winston/config/index.js +0 -35
  2308. package/mac-agent/node_modules/winston/lib/winston/container.js +0 -118
  2309. package/mac-agent/node_modules/winston/lib/winston/create-logger.js +0 -104
  2310. package/mac-agent/node_modules/winston/lib/winston/exception-handler.js +0 -245
  2311. package/mac-agent/node_modules/winston/lib/winston/exception-stream.js +0 -54
  2312. package/mac-agent/node_modules/winston/lib/winston/logger.js +0 -677
  2313. package/mac-agent/node_modules/winston/lib/winston/profiler.js +0 -53
  2314. package/mac-agent/node_modules/winston/lib/winston/rejection-handler.js +0 -251
  2315. package/mac-agent/node_modules/winston/lib/winston/rejection-stream.js +0 -52
  2316. package/mac-agent/node_modules/winston/lib/winston/tail-file.js +0 -124
  2317. package/mac-agent/node_modules/winston/lib/winston/transports/console.js +0 -125
  2318. package/mac-agent/node_modules/winston/lib/winston/transports/file.js +0 -763
  2319. package/mac-agent/node_modules/winston/lib/winston/transports/http.js +0 -262
  2320. package/mac-agent/node_modules/winston/lib/winston/transports/index.d.ts +0 -117
  2321. package/mac-agent/node_modules/winston/lib/winston/transports/index.js +0 -56
  2322. package/mac-agent/node_modules/winston/lib/winston/transports/stream.js +0 -63
  2323. package/mac-agent/node_modules/winston/lib/winston.js +0 -191
  2324. package/mac-agent/node_modules/winston/package.json +0 -74
  2325. package/mac-agent/node_modules/winston-transport/.babelrc +0 -3
  2326. package/mac-agent/node_modules/winston-transport/.eslintrc +0 -7
  2327. package/mac-agent/node_modules/winston-transport/.gitattributes +0 -1
  2328. package/mac-agent/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
  2329. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
  2330. package/mac-agent/node_modules/winston-transport/.nyc_output/processinfo/index.json +0 -1
  2331. package/mac-agent/node_modules/winston-transport/CHANGELOG.md +0 -126
  2332. package/mac-agent/node_modules/winston-transport/LICENSE +0 -22
  2333. package/mac-agent/node_modules/winston-transport/README.md +0 -50
  2334. package/mac-agent/node_modules/winston-transport/dist/index.js +0 -8
  2335. package/mac-agent/node_modules/winston-transport/dist/legacy.js +0 -116
  2336. package/mac-agent/node_modules/winston-transport/dist/modern.js +0 -212
  2337. package/mac-agent/node_modules/winston-transport/index.d.ts +0 -39
  2338. package/mac-agent/node_modules/winston-transport/index.js +0 -7
  2339. package/mac-agent/node_modules/winston-transport/legacy.js +0 -119
  2340. package/mac-agent/node_modules/winston-transport/modern.js +0 -211
  2341. package/mac-agent/node_modules/winston-transport/package.json +0 -52
  2342. package/mac-agent/node_modules/wrap-ansi/index.js +0 -168
  2343. package/mac-agent/node_modules/wrap-ansi/license +0 -21
  2344. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -4
  2345. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -21
  2346. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -64
  2347. package/mac-agent/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -39
  2348. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +0 -46
  2349. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +0 -21
  2350. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +0 -45
  2351. package/mac-agent/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +0 -39
  2352. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -37
  2353. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/license +0 -21
  2354. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -56
  2355. package/mac-agent/node_modules/wrap-ansi/node_modules/string-width/readme.md +0 -42
  2356. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -6
  2357. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -21
  2358. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -57
  2359. package/mac-agent/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -33
  2360. package/mac-agent/node_modules/wrap-ansi/package.json +0 -68
  2361. package/mac-agent/node_modules/wrap-ansi/readme.md +0 -73
  2362. package/mac-agent/node_modules/wrappy/LICENSE +0 -15
  2363. package/mac-agent/node_modules/wrappy/README.md +0 -36
  2364. package/mac-agent/node_modules/wrappy/package.json +0 -29
  2365. package/mac-agent/node_modules/wrappy/wrappy.js +0 -33
  2366. package/mac-agent/node_modules/ws/LICENSE +0 -20
  2367. package/mac-agent/node_modules/ws/README.md +0 -548
  2368. package/mac-agent/node_modules/ws/browser.js +0 -8
  2369. package/mac-agent/node_modules/ws/index.js +0 -13
  2370. package/mac-agent/node_modules/ws/lib/buffer-util.js +0 -131
  2371. package/mac-agent/node_modules/ws/lib/constants.js +0 -18
  2372. package/mac-agent/node_modules/ws/lib/event-target.js +0 -292
  2373. package/mac-agent/node_modules/ws/lib/extension.js +0 -203
  2374. package/mac-agent/node_modules/ws/lib/limiter.js +0 -55
  2375. package/mac-agent/node_modules/ws/lib/permessage-deflate.js +0 -528
  2376. package/mac-agent/node_modules/ws/lib/receiver.js +0 -706
  2377. package/mac-agent/node_modules/ws/lib/sender.js +0 -602
  2378. package/mac-agent/node_modules/ws/lib/stream.js +0 -161
  2379. package/mac-agent/node_modules/ws/lib/subprotocol.js +0 -62
  2380. package/mac-agent/node_modules/ws/lib/validation.js +0 -152
  2381. package/mac-agent/node_modules/ws/lib/websocket-server.js +0 -550
  2382. package/mac-agent/node_modules/ws/lib/websocket.js +0 -1388
  2383. package/mac-agent/node_modules/ws/package.json +0 -69
  2384. package/mac-agent/node_modules/ws/wrapper.mjs +0 -8
  2385. package/mac-agent/node_modules/y18n/CHANGELOG.md +0 -6
  2386. package/mac-agent/node_modules/y18n/LICENSE +0 -13
  2387. package/mac-agent/node_modules/y18n/README.md +0 -91
  2388. package/mac-agent/node_modules/y18n/index.js +0 -172
  2389. package/mac-agent/node_modules/y18n/package.json +0 -37
  2390. package/mac-agent/node_modules/yallist/LICENSE +0 -15
  2391. package/mac-agent/node_modules/yallist/README.md +0 -204
  2392. package/mac-agent/node_modules/yallist/iterator.js +0 -8
  2393. package/mac-agent/node_modules/yallist/package.json +0 -29
  2394. package/mac-agent/node_modules/yallist/yallist.js +0 -426
  2395. package/mac-agent/node_modules/yargs/CHANGELOG.md +0 -928
  2396. package/mac-agent/node_modules/yargs/LICENSE +0 -22
  2397. package/mac-agent/node_modules/yargs/README.md +0 -2017
  2398. package/mac-agent/node_modules/yargs/completion.sh.hbs +0 -28
  2399. package/mac-agent/node_modules/yargs/index.js +0 -31
  2400. package/mac-agent/node_modules/yargs/lib/apply-extends.js +0 -41
  2401. package/mac-agent/node_modules/yargs/lib/argsert.js +0 -72
  2402. package/mac-agent/node_modules/yargs/lib/assign.js +0 -15
  2403. package/mac-agent/node_modules/yargs/lib/command.js +0 -334
  2404. package/mac-agent/node_modules/yargs/lib/completion.js +0 -104
  2405. package/mac-agent/node_modules/yargs/lib/levenshtein.js +0 -47
  2406. package/mac-agent/node_modules/yargs/lib/obj-filter.js +0 -10
  2407. package/mac-agent/node_modules/yargs/lib/usage.js +0 -489
  2408. package/mac-agent/node_modules/yargs/lib/validation.js +0 -363
  2409. package/mac-agent/node_modules/yargs/lib/yerror.js +0 -10
  2410. package/mac-agent/node_modules/yargs/locales/be.json +0 -39
  2411. package/mac-agent/node_modules/yargs/locales/de.json +0 -39
  2412. package/mac-agent/node_modules/yargs/locales/en.json +0 -40
  2413. package/mac-agent/node_modules/yargs/locales/es.json +0 -39
  2414. package/mac-agent/node_modules/yargs/locales/fr.json +0 -37
  2415. package/mac-agent/node_modules/yargs/locales/hi.json +0 -39
  2416. package/mac-agent/node_modules/yargs/locales/hu.json +0 -39
  2417. package/mac-agent/node_modules/yargs/locales/id.json +0 -40
  2418. package/mac-agent/node_modules/yargs/locales/it.json +0 -39
  2419. package/mac-agent/node_modules/yargs/locales/ja.json +0 -39
  2420. package/mac-agent/node_modules/yargs/locales/ko.json +0 -39
  2421. package/mac-agent/node_modules/yargs/locales/nb.json +0 -37
  2422. package/mac-agent/node_modules/yargs/locales/nl.json +0 -39
  2423. package/mac-agent/node_modules/yargs/locales/pirate.json +0 -12
  2424. package/mac-agent/node_modules/yargs/locales/pl.json +0 -39
  2425. package/mac-agent/node_modules/yargs/locales/pt.json +0 -38
  2426. package/mac-agent/node_modules/yargs/locales/pt_BR.json +0 -40
  2427. package/mac-agent/node_modules/yargs/locales/ru.json +0 -39
  2428. package/mac-agent/node_modules/yargs/locales/th.json +0 -39
  2429. package/mac-agent/node_modules/yargs/locales/tr.json +0 -39
  2430. package/mac-agent/node_modules/yargs/locales/zh_CN.json +0 -37
  2431. package/mac-agent/node_modules/yargs/locales/zh_TW.json +0 -40
  2432. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/index.js +0 -4
  2433. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/license +0 -21
  2434. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/package.json +0 -64
  2435. package/mac-agent/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -39
  2436. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +0 -46
  2437. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/license +0 -21
  2438. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +0 -45
  2439. package/mac-agent/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +0 -39
  2440. package/mac-agent/node_modules/yargs/node_modules/string-width/index.js +0 -37
  2441. package/mac-agent/node_modules/yargs/node_modules/string-width/license +0 -21
  2442. package/mac-agent/node_modules/yargs/node_modules/string-width/package.json +0 -56
  2443. package/mac-agent/node_modules/yargs/node_modules/string-width/readme.md +0 -42
  2444. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/index.js +0 -6
  2445. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/license +0 -21
  2446. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/package.json +0 -57
  2447. package/mac-agent/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -33
  2448. package/mac-agent/node_modules/yargs/package.json +0 -80
  2449. package/mac-agent/node_modules/yargs/yargs.js +0 -1126
  2450. package/mac-agent/node_modules/yargs-parser/CHANGELOG.md +0 -176
  2451. package/mac-agent/node_modules/yargs-parser/LICENSE.txt +0 -14
  2452. package/mac-agent/node_modules/yargs-parser/README.md +0 -257
  2453. package/mac-agent/node_modules/yargs-parser/index.js +0 -753
  2454. package/mac-agent/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -34
  2455. package/mac-agent/node_modules/yargs-parser/package.json +0 -44
  2456. package/mac-agent/package-lock.json +0 -2272
  2457. package/mac-agent/shell-mirror@1.5.7 +0 -0
@@ -1,4296 +0,0 @@
1
- /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
2
- (function (global, factory) {
3
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
- typeof define === 'function' && define.amd ? define(factory) :
5
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory());
6
- })(this, (function () { 'use strict';
7
-
8
- function _AsyncGenerator(e) {
9
- var r, t;
10
- function resume(r, t) {
11
- try {
12
- var n = e[r](t),
13
- o = n.value,
14
- u = o instanceof _OverloadYield;
15
- Promise.resolve(u ? o.v : o).then(function (t) {
16
- if (u) {
17
- var i = "return" === r ? "return" : "next";
18
- if (!o.k || t.done) return resume(i, t);
19
- t = e[i](t).value;
20
- }
21
- settle(n.done ? "return" : "normal", t);
22
- }, function (e) {
23
- resume("throw", e);
24
- });
25
- } catch (e) {
26
- settle("throw", e);
27
- }
28
- }
29
- function settle(e, n) {
30
- switch (e) {
31
- case "return":
32
- r.resolve({
33
- value: n,
34
- done: !0
35
- });
36
- break;
37
- case "throw":
38
- r.reject(n);
39
- break;
40
- default:
41
- r.resolve({
42
- value: n,
43
- done: !1
44
- });
45
- }
46
- (r = r.next) ? resume(r.key, r.arg) : t = null;
47
- }
48
- this._invoke = function (e, n) {
49
- return new Promise(function (o, u) {
50
- var i = {
51
- key: e,
52
- arg: n,
53
- resolve: o,
54
- reject: u,
55
- next: null
56
- };
57
- t ? t = t.next = i : (r = t = i, resume(e, n));
58
- });
59
- }, "function" != typeof e.return && (this.return = void 0);
60
- }
61
- _AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
62
- return this;
63
- }, _AsyncGenerator.prototype.next = function (e) {
64
- return this._invoke("next", e);
65
- }, _AsyncGenerator.prototype.throw = function (e) {
66
- return this._invoke("throw", e);
67
- }, _AsyncGenerator.prototype.return = function (e) {
68
- return this._invoke("return", e);
69
- };
70
- function _OverloadYield(t, e) {
71
- this.v = t, this.k = e;
72
- }
73
- function _asyncGeneratorDelegate(t) {
74
- var e = {},
75
- n = !1;
76
- function pump(e, r) {
77
- return n = !0, r = new Promise(function (n) {
78
- n(t[e](r));
79
- }), {
80
- done: !1,
81
- value: new _OverloadYield(r, 1)
82
- };
83
- }
84
- return e["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () {
85
- return this;
86
- }, e.next = function (t) {
87
- return n ? (n = !1, t) : pump("next", t);
88
- }, "function" == typeof t.throw && (e.throw = function (t) {
89
- if (n) throw n = !1, t;
90
- return pump("throw", t);
91
- }), "function" == typeof t.return && (e.return = function (t) {
92
- return n ? (n = !1, t) : pump("return", t);
93
- }), e;
94
- }
95
- function _asyncIterator(r) {
96
- var n,
97
- t,
98
- o,
99
- e = 2;
100
- for ("undefined" != typeof Symbol && (t = Symbol.asyncIterator, o = Symbol.iterator); e--;) {
101
- if (t && null != (n = r[t])) return n.call(r);
102
- if (o && null != (n = r[o])) return new AsyncFromSyncIterator(n.call(r));
103
- t = "@@asyncIterator", o = "@@iterator";
104
- }
105
- throw new TypeError("Object is not async iterable");
106
- }
107
- function AsyncFromSyncIterator(r) {
108
- function AsyncFromSyncIteratorContinuation(r) {
109
- if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object."));
110
- var n = r.done;
111
- return Promise.resolve(r.value).then(function (r) {
112
- return {
113
- value: r,
114
- done: n
115
- };
116
- });
117
- }
118
- return AsyncFromSyncIterator = function (r) {
119
- this.s = r, this.n = r.next;
120
- }, AsyncFromSyncIterator.prototype = {
121
- s: null,
122
- n: null,
123
- next: function () {
124
- return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
125
- },
126
- return: function (r) {
127
- var n = this.s.return;
128
- return void 0 === n ? Promise.resolve({
129
- value: r,
130
- done: !0
131
- }) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments));
132
- },
133
- throw: function (r) {
134
- var n = this.s.return;
135
- return void 0 === n ? Promise.reject(r) : AsyncFromSyncIteratorContinuation(n.apply(this.s, arguments));
136
- }
137
- }, new AsyncFromSyncIterator(r);
138
- }
139
- function _awaitAsyncGenerator(e) {
140
- return new _OverloadYield(e, 0);
141
- }
142
- function _iterableToArrayLimit(r, l) {
143
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
144
- if (null != t) {
145
- var e,
146
- n,
147
- i,
148
- u,
149
- a = [],
150
- f = !0,
151
- o = !1;
152
- try {
153
- if (i = (t = t.call(r)).next, 0 === l) {
154
- if (Object(t) !== t) return;
155
- f = !1;
156
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
157
- } catch (r) {
158
- o = !0, n = r;
159
- } finally {
160
- try {
161
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
162
- } finally {
163
- if (o) throw n;
164
- }
165
- }
166
- return a;
167
- }
168
- }
169
- function ownKeys(e, r) {
170
- var t = Object.keys(e);
171
- if (Object.getOwnPropertySymbols) {
172
- var o = Object.getOwnPropertySymbols(e);
173
- r && (o = o.filter(function (r) {
174
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
175
- })), t.push.apply(t, o);
176
- }
177
- return t;
178
- }
179
- function _objectSpread2(e) {
180
- for (var r = 1; r < arguments.length; r++) {
181
- var t = null != arguments[r] ? arguments[r] : {};
182
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
183
- _defineProperty(e, r, t[r]);
184
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
185
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
186
- });
187
- }
188
- return e;
189
- }
190
- function _regeneratorRuntime() {
191
- _regeneratorRuntime = function () {
192
- return e;
193
- };
194
- var t,
195
- e = {},
196
- r = Object.prototype,
197
- n = r.hasOwnProperty,
198
- o = Object.defineProperty || function (t, e, r) {
199
- t[e] = r.value;
200
- },
201
- i = "function" == typeof Symbol ? Symbol : {},
202
- a = i.iterator || "@@iterator",
203
- c = i.asyncIterator || "@@asyncIterator",
204
- u = i.toStringTag || "@@toStringTag";
205
- function define(t, e, r) {
206
- return Object.defineProperty(t, e, {
207
- value: r,
208
- enumerable: !0,
209
- configurable: !0,
210
- writable: !0
211
- }), t[e];
212
- }
213
- try {
214
- define({}, "");
215
- } catch (t) {
216
- define = function (t, e, r) {
217
- return t[e] = r;
218
- };
219
- }
220
- function wrap(t, e, r, n) {
221
- var i = e && e.prototype instanceof Generator ? e : Generator,
222
- a = Object.create(i.prototype),
223
- c = new Context(n || []);
224
- return o(a, "_invoke", {
225
- value: makeInvokeMethod(t, r, c)
226
- }), a;
227
- }
228
- function tryCatch(t, e, r) {
229
- try {
230
- return {
231
- type: "normal",
232
- arg: t.call(e, r)
233
- };
234
- } catch (t) {
235
- return {
236
- type: "throw",
237
- arg: t
238
- };
239
- }
240
- }
241
- e.wrap = wrap;
242
- var h = "suspendedStart",
243
- l = "suspendedYield",
244
- f = "executing",
245
- s = "completed",
246
- y = {};
247
- function Generator() {}
248
- function GeneratorFunction() {}
249
- function GeneratorFunctionPrototype() {}
250
- var p = {};
251
- define(p, a, function () {
252
- return this;
253
- });
254
- var d = Object.getPrototypeOf,
255
- v = d && d(d(values([])));
256
- v && v !== r && n.call(v, a) && (p = v);
257
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
258
- function defineIteratorMethods(t) {
259
- ["next", "throw", "return"].forEach(function (e) {
260
- define(t, e, function (t) {
261
- return this._invoke(e, t);
262
- });
263
- });
264
- }
265
- function AsyncIterator(t, e) {
266
- function invoke(r, o, i, a) {
267
- var c = tryCatch(t[r], t, o);
268
- if ("throw" !== c.type) {
269
- var u = c.arg,
270
- h = u.value;
271
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
272
- invoke("next", t, i, a);
273
- }, function (t) {
274
- invoke("throw", t, i, a);
275
- }) : e.resolve(h).then(function (t) {
276
- u.value = t, i(u);
277
- }, function (t) {
278
- return invoke("throw", t, i, a);
279
- });
280
- }
281
- a(c.arg);
282
- }
283
- var r;
284
- o(this, "_invoke", {
285
- value: function (t, n) {
286
- function callInvokeWithMethodAndArg() {
287
- return new e(function (e, r) {
288
- invoke(t, n, e, r);
289
- });
290
- }
291
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
292
- }
293
- });
294
- }
295
- function makeInvokeMethod(e, r, n) {
296
- var o = h;
297
- return function (i, a) {
298
- if (o === f) throw new Error("Generator is already running");
299
- if (o === s) {
300
- if ("throw" === i) throw a;
301
- return {
302
- value: t,
303
- done: !0
304
- };
305
- }
306
- for (n.method = i, n.arg = a;;) {
307
- var c = n.delegate;
308
- if (c) {
309
- var u = maybeInvokeDelegate(c, n);
310
- if (u) {
311
- if (u === y) continue;
312
- return u;
313
- }
314
- }
315
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
316
- if (o === h) throw o = s, n.arg;
317
- n.dispatchException(n.arg);
318
- } else "return" === n.method && n.abrupt("return", n.arg);
319
- o = f;
320
- var p = tryCatch(e, r, n);
321
- if ("normal" === p.type) {
322
- if (o = n.done ? s : l, p.arg === y) continue;
323
- return {
324
- value: p.arg,
325
- done: n.done
326
- };
327
- }
328
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
329
- }
330
- };
331
- }
332
- function maybeInvokeDelegate(e, r) {
333
- var n = r.method,
334
- o = e.iterator[n];
335
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
336
- var i = tryCatch(o, e.iterator, r.arg);
337
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
338
- var a = i.arg;
339
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
340
- }
341
- function pushTryEntry(t) {
342
- var e = {
343
- tryLoc: t[0]
344
- };
345
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
346
- }
347
- function resetTryEntry(t) {
348
- var e = t.completion || {};
349
- e.type = "normal", delete e.arg, t.completion = e;
350
- }
351
- function Context(t) {
352
- this.tryEntries = [{
353
- tryLoc: "root"
354
- }], t.forEach(pushTryEntry, this), this.reset(!0);
355
- }
356
- function values(e) {
357
- if (e || "" === e) {
358
- var r = e[a];
359
- if (r) return r.call(e);
360
- if ("function" == typeof e.next) return e;
361
- if (!isNaN(e.length)) {
362
- var o = -1,
363
- i = function next() {
364
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
365
- return next.value = t, next.done = !0, next;
366
- };
367
- return i.next = i;
368
- }
369
- }
370
- throw new TypeError(typeof e + " is not iterable");
371
- }
372
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
373
- value: GeneratorFunctionPrototype,
374
- configurable: !0
375
- }), o(GeneratorFunctionPrototype, "constructor", {
376
- value: GeneratorFunction,
377
- configurable: !0
378
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
379
- var e = "function" == typeof t && t.constructor;
380
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
381
- }, e.mark = function (t) {
382
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
383
- }, e.awrap = function (t) {
384
- return {
385
- __await: t
386
- };
387
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
388
- return this;
389
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
390
- void 0 === i && (i = Promise);
391
- var a = new AsyncIterator(wrap(t, r, n, o), i);
392
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
393
- return t.done ? t.value : a.next();
394
- });
395
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
396
- return this;
397
- }), define(g, "toString", function () {
398
- return "[object Generator]";
399
- }), e.keys = function (t) {
400
- var e = Object(t),
401
- r = [];
402
- for (var n in e) r.push(n);
403
- return r.reverse(), function next() {
404
- for (; r.length;) {
405
- var t = r.pop();
406
- if (t in e) return next.value = t, next.done = !1, next;
407
- }
408
- return next.done = !0, next;
409
- };
410
- }, e.values = values, Context.prototype = {
411
- constructor: Context,
412
- reset: function (e) {
413
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
414
- },
415
- stop: function () {
416
- this.done = !0;
417
- var t = this.tryEntries[0].completion;
418
- if ("throw" === t.type) throw t.arg;
419
- return this.rval;
420
- },
421
- dispatchException: function (e) {
422
- if (this.done) throw e;
423
- var r = this;
424
- function handle(n, o) {
425
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
426
- }
427
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
428
- var i = this.tryEntries[o],
429
- a = i.completion;
430
- if ("root" === i.tryLoc) return handle("end");
431
- if (i.tryLoc <= this.prev) {
432
- var c = n.call(i, "catchLoc"),
433
- u = n.call(i, "finallyLoc");
434
- if (c && u) {
435
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
436
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
437
- } else if (c) {
438
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
439
- } else {
440
- if (!u) throw new Error("try statement without catch or finally");
441
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
442
- }
443
- }
444
- }
445
- },
446
- abrupt: function (t, e) {
447
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
448
- var o = this.tryEntries[r];
449
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
450
- var i = o;
451
- break;
452
- }
453
- }
454
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
455
- var a = i ? i.completion : {};
456
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
457
- },
458
- complete: function (t, e) {
459
- if ("throw" === t.type) throw t.arg;
460
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
461
- },
462
- finish: function (t) {
463
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
464
- var r = this.tryEntries[e];
465
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
466
- }
467
- },
468
- catch: function (t) {
469
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
470
- var r = this.tryEntries[e];
471
- if (r.tryLoc === t) {
472
- var n = r.completion;
473
- if ("throw" === n.type) {
474
- var o = n.arg;
475
- resetTryEntry(r);
476
- }
477
- return o;
478
- }
479
- }
480
- throw new Error("illegal catch attempt");
481
- },
482
- delegateYield: function (e, r, n) {
483
- return this.delegate = {
484
- iterator: values(e),
485
- resultName: r,
486
- nextLoc: n
487
- }, "next" === this.method && (this.arg = t), y;
488
- }
489
- }, e;
490
- }
491
- function _toPrimitive(t, r) {
492
- if ("object" != typeof t || !t) return t;
493
- var e = t[Symbol.toPrimitive];
494
- if (void 0 !== e) {
495
- var i = e.call(t, r || "default");
496
- if ("object" != typeof i) return i;
497
- throw new TypeError("@@toPrimitive must return a primitive value.");
498
- }
499
- return ("string" === r ? String : Number)(t);
500
- }
501
- function _toPropertyKey(t) {
502
- var i = _toPrimitive(t, "string");
503
- return "symbol" == typeof i ? i : String(i);
504
- }
505
- function _typeof(o) {
506
- "@babel/helpers - typeof";
507
-
508
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
509
- return typeof o;
510
- } : function (o) {
511
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
512
- }, _typeof(o);
513
- }
514
- function _wrapAsyncGenerator(fn) {
515
- return function () {
516
- return new _AsyncGenerator(fn.apply(this, arguments));
517
- };
518
- }
519
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
520
- try {
521
- var info = gen[key](arg);
522
- var value = info.value;
523
- } catch (error) {
524
- reject(error);
525
- return;
526
- }
527
- if (info.done) {
528
- resolve(value);
529
- } else {
530
- Promise.resolve(value).then(_next, _throw);
531
- }
532
- }
533
- function _asyncToGenerator(fn) {
534
- return function () {
535
- var self = this,
536
- args = arguments;
537
- return new Promise(function (resolve, reject) {
538
- var gen = fn.apply(self, args);
539
- function _next(value) {
540
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
541
- }
542
- function _throw(err) {
543
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
544
- }
545
- _next(undefined);
546
- });
547
- };
548
- }
549
- function _classCallCheck(instance, Constructor) {
550
- if (!(instance instanceof Constructor)) {
551
- throw new TypeError("Cannot call a class as a function");
552
- }
553
- }
554
- function _defineProperties(target, props) {
555
- for (var i = 0; i < props.length; i++) {
556
- var descriptor = props[i];
557
- descriptor.enumerable = descriptor.enumerable || false;
558
- descriptor.configurable = true;
559
- if ("value" in descriptor) descriptor.writable = true;
560
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
561
- }
562
- }
563
- function _createClass(Constructor, protoProps, staticProps) {
564
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
565
- if (staticProps) _defineProperties(Constructor, staticProps);
566
- Object.defineProperty(Constructor, "prototype", {
567
- writable: false
568
- });
569
- return Constructor;
570
- }
571
- function _defineProperty(obj, key, value) {
572
- key = _toPropertyKey(key);
573
- if (key in obj) {
574
- Object.defineProperty(obj, key, {
575
- value: value,
576
- enumerable: true,
577
- configurable: true,
578
- writable: true
579
- });
580
- } else {
581
- obj[key] = value;
582
- }
583
- return obj;
584
- }
585
- function _slicedToArray(arr, i) {
586
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
587
- }
588
- function _toArray(arr) {
589
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
590
- }
591
- function _toConsumableArray(arr) {
592
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
593
- }
594
- function _arrayWithoutHoles(arr) {
595
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
596
- }
597
- function _arrayWithHoles(arr) {
598
- if (Array.isArray(arr)) return arr;
599
- }
600
- function _iterableToArray(iter) {
601
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
602
- }
603
- function _unsupportedIterableToArray(o, minLen) {
604
- if (!o) return;
605
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
606
- var n = Object.prototype.toString.call(o).slice(8, -1);
607
- if (n === "Object" && o.constructor) n = o.constructor.name;
608
- if (n === "Map" || n === "Set") return Array.from(o);
609
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
610
- }
611
- function _arrayLikeToArray(arr, len) {
612
- if (len == null || len > arr.length) len = arr.length;
613
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
614
- return arr2;
615
- }
616
- function _nonIterableSpread() {
617
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
618
- }
619
- function _nonIterableRest() {
620
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
621
- }
622
- function _createForOfIteratorHelper(o, allowArrayLike) {
623
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
624
- if (!it) {
625
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
626
- if (it) o = it;
627
- var i = 0;
628
- var F = function () {};
629
- return {
630
- s: F,
631
- n: function () {
632
- if (i >= o.length) return {
633
- done: true
634
- };
635
- return {
636
- done: false,
637
- value: o[i++]
638
- };
639
- },
640
- e: function (e) {
641
- throw e;
642
- },
643
- f: F
644
- };
645
- }
646
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
647
- }
648
- var normalCompletion = true,
649
- didErr = false,
650
- err;
651
- return {
652
- s: function () {
653
- it = it.call(o);
654
- },
655
- n: function () {
656
- var step = it.next();
657
- normalCompletion = step.done;
658
- return step;
659
- },
660
- e: function (e) {
661
- didErr = true;
662
- err = e;
663
- },
664
- f: function () {
665
- try {
666
- if (!normalCompletion && it.return != null) it.return();
667
- } finally {
668
- if (didErr) throw err;
669
- }
670
- }
671
- };
672
- }
673
-
674
- function bind(fn, thisArg) {
675
- return function wrap() {
676
- return fn.apply(thisArg, arguments);
677
- };
678
- }
679
-
680
- // utils is a library of generic helper functions non-specific to axios
681
-
682
- var toString = Object.prototype.toString;
683
- var getPrototypeOf = Object.getPrototypeOf;
684
- var iterator = Symbol.iterator,
685
- toStringTag = Symbol.toStringTag;
686
- var kindOf = function (cache) {
687
- return function (thing) {
688
- var str = toString.call(thing);
689
- return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
690
- };
691
- }(Object.create(null));
692
- var kindOfTest = function kindOfTest(type) {
693
- type = type.toLowerCase();
694
- return function (thing) {
695
- return kindOf(thing) === type;
696
- };
697
- };
698
- var typeOfTest = function typeOfTest(type) {
699
- return function (thing) {
700
- return _typeof(thing) === type;
701
- };
702
- };
703
-
704
- /**
705
- * Determine if a value is an Array
706
- *
707
- * @param {Object} val The value to test
708
- *
709
- * @returns {boolean} True if value is an Array, otherwise false
710
- */
711
- var isArray = Array.isArray;
712
-
713
- /**
714
- * Determine if a value is undefined
715
- *
716
- * @param {*} val The value to test
717
- *
718
- * @returns {boolean} True if the value is undefined, otherwise false
719
- */
720
- var isUndefined = typeOfTest('undefined');
721
-
722
- /**
723
- * Determine if a value is a Buffer
724
- *
725
- * @param {*} val The value to test
726
- *
727
- * @returns {boolean} True if value is a Buffer, otherwise false
728
- */
729
- function isBuffer(val) {
730
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
731
- }
732
-
733
- /**
734
- * Determine if a value is an ArrayBuffer
735
- *
736
- * @param {*} val The value to test
737
- *
738
- * @returns {boolean} True if value is an ArrayBuffer, otherwise false
739
- */
740
- var isArrayBuffer = kindOfTest('ArrayBuffer');
741
-
742
- /**
743
- * Determine if a value is a view on an ArrayBuffer
744
- *
745
- * @param {*} val The value to test
746
- *
747
- * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
748
- */
749
- function isArrayBufferView(val) {
750
- var result;
751
- if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
752
- result = ArrayBuffer.isView(val);
753
- } else {
754
- result = val && val.buffer && isArrayBuffer(val.buffer);
755
- }
756
- return result;
757
- }
758
-
759
- /**
760
- * Determine if a value is a String
761
- *
762
- * @param {*} val The value to test
763
- *
764
- * @returns {boolean} True if value is a String, otherwise false
765
- */
766
- var isString = typeOfTest('string');
767
-
768
- /**
769
- * Determine if a value is a Function
770
- *
771
- * @param {*} val The value to test
772
- * @returns {boolean} True if value is a Function, otherwise false
773
- */
774
- var isFunction = typeOfTest('function');
775
-
776
- /**
777
- * Determine if a value is a Number
778
- *
779
- * @param {*} val The value to test
780
- *
781
- * @returns {boolean} True if value is a Number, otherwise false
782
- */
783
- var isNumber = typeOfTest('number');
784
-
785
- /**
786
- * Determine if a value is an Object
787
- *
788
- * @param {*} thing The value to test
789
- *
790
- * @returns {boolean} True if value is an Object, otherwise false
791
- */
792
- var isObject = function isObject(thing) {
793
- return thing !== null && _typeof(thing) === 'object';
794
- };
795
-
796
- /**
797
- * Determine if a value is a Boolean
798
- *
799
- * @param {*} thing The value to test
800
- * @returns {boolean} True if value is a Boolean, otherwise false
801
- */
802
- var isBoolean = function isBoolean(thing) {
803
- return thing === true || thing === false;
804
- };
805
-
806
- /**
807
- * Determine if a value is a plain Object
808
- *
809
- * @param {*} val The value to test
810
- *
811
- * @returns {boolean} True if value is a plain Object, otherwise false
812
- */
813
- var isPlainObject = function isPlainObject(val) {
814
- if (kindOf(val) !== 'object') {
815
- return false;
816
- }
817
- var prototype = getPrototypeOf(val);
818
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
819
- };
820
-
821
- /**
822
- * Determine if a value is a Date
823
- *
824
- * @param {*} val The value to test
825
- *
826
- * @returns {boolean} True if value is a Date, otherwise false
827
- */
828
- var isDate = kindOfTest('Date');
829
-
830
- /**
831
- * Determine if a value is a File
832
- *
833
- * @param {*} val The value to test
834
- *
835
- * @returns {boolean} True if value is a File, otherwise false
836
- */
837
- var isFile = kindOfTest('File');
838
-
839
- /**
840
- * Determine if a value is a Blob
841
- *
842
- * @param {*} val The value to test
843
- *
844
- * @returns {boolean} True if value is a Blob, otherwise false
845
- */
846
- var isBlob = kindOfTest('Blob');
847
-
848
- /**
849
- * Determine if a value is a FileList
850
- *
851
- * @param {*} val The value to test
852
- *
853
- * @returns {boolean} True if value is a File, otherwise false
854
- */
855
- var isFileList = kindOfTest('FileList');
856
-
857
- /**
858
- * Determine if a value is a Stream
859
- *
860
- * @param {*} val The value to test
861
- *
862
- * @returns {boolean} True if value is a Stream, otherwise false
863
- */
864
- var isStream = function isStream(val) {
865
- return isObject(val) && isFunction(val.pipe);
866
- };
867
-
868
- /**
869
- * Determine if a value is a FormData
870
- *
871
- * @param {*} thing The value to test
872
- *
873
- * @returns {boolean} True if value is an FormData, otherwise false
874
- */
875
- var isFormData = function isFormData(thing) {
876
- var kind;
877
- return thing && (typeof FormData === 'function' && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||
878
- // detect form-data instance
879
- kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]'));
880
- };
881
-
882
- /**
883
- * Determine if a value is a URLSearchParams object
884
- *
885
- * @param {*} val The value to test
886
- *
887
- * @returns {boolean} True if value is a URLSearchParams object, otherwise false
888
- */
889
- var isURLSearchParams = kindOfTest('URLSearchParams');
890
- var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
891
- _map2 = _slicedToArray(_map, 4),
892
- isReadableStream = _map2[0],
893
- isRequest = _map2[1],
894
- isResponse = _map2[2],
895
- isHeaders = _map2[3];
896
-
897
- /**
898
- * Trim excess whitespace off the beginning and end of a string
899
- *
900
- * @param {String} str The String to trim
901
- *
902
- * @returns {String} The String freed of excess whitespace
903
- */
904
- var trim = function trim(str) {
905
- return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
906
- };
907
-
908
- /**
909
- * Iterate over an Array or an Object invoking a function for each item.
910
- *
911
- * If `obj` is an Array callback will be called passing
912
- * the value, index, and complete array for each item.
913
- *
914
- * If 'obj' is an Object callback will be called passing
915
- * the value, key, and complete object for each property.
916
- *
917
- * @param {Object|Array} obj The object to iterate
918
- * @param {Function} fn The callback to invoke for each item
919
- *
920
- * @param {Boolean} [allOwnKeys = false]
921
- * @returns {any}
922
- */
923
- function forEach(obj, fn) {
924
- var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
925
- _ref$allOwnKeys = _ref.allOwnKeys,
926
- allOwnKeys = _ref$allOwnKeys === void 0 ? false : _ref$allOwnKeys;
927
- // Don't bother if no value provided
928
- if (obj === null || typeof obj === 'undefined') {
929
- return;
930
- }
931
- var i;
932
- var l;
933
-
934
- // Force an array if not already something iterable
935
- if (_typeof(obj) !== 'object') {
936
- /*eslint no-param-reassign:0*/
937
- obj = [obj];
938
- }
939
- if (isArray(obj)) {
940
- // Iterate over array values
941
- for (i = 0, l = obj.length; i < l; i++) {
942
- fn.call(null, obj[i], i, obj);
943
- }
944
- } else {
945
- // Iterate over object keys
946
- var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
947
- var len = keys.length;
948
- var key;
949
- for (i = 0; i < len; i++) {
950
- key = keys[i];
951
- fn.call(null, obj[key], key, obj);
952
- }
953
- }
954
- }
955
- function findKey(obj, key) {
956
- key = key.toLowerCase();
957
- var keys = Object.keys(obj);
958
- var i = keys.length;
959
- var _key;
960
- while (i-- > 0) {
961
- _key = keys[i];
962
- if (key === _key.toLowerCase()) {
963
- return _key;
964
- }
965
- }
966
- return null;
967
- }
968
- var _global = function () {
969
- /*eslint no-undef:0*/
970
- if (typeof globalThis !== "undefined") return globalThis;
971
- return typeof self !== "undefined" ? self : typeof window !== 'undefined' ? window : global;
972
- }();
973
- var isContextDefined = function isContextDefined(context) {
974
- return !isUndefined(context) && context !== _global;
975
- };
976
-
977
- /**
978
- * Accepts varargs expecting each argument to be an object, then
979
- * immutably merges the properties of each object and returns result.
980
- *
981
- * When multiple objects contain the same key the later object in
982
- * the arguments list will take precedence.
983
- *
984
- * Example:
985
- *
986
- * ```js
987
- * var result = merge({foo: 123}, {foo: 456});
988
- * console.log(result.foo); // outputs 456
989
- * ```
990
- *
991
- * @param {Object} obj1 Object to merge
992
- *
993
- * @returns {Object} Result of all merge properties
994
- */
995
- function merge( /* obj1, obj2, obj3, ... */
996
- ) {
997
- var _ref2 = isContextDefined(this) && this || {},
998
- caseless = _ref2.caseless;
999
- var result = {};
1000
- var assignValue = function assignValue(val, key) {
1001
- var targetKey = caseless && findKey(result, key) || key;
1002
- if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
1003
- result[targetKey] = merge(result[targetKey], val);
1004
- } else if (isPlainObject(val)) {
1005
- result[targetKey] = merge({}, val);
1006
- } else if (isArray(val)) {
1007
- result[targetKey] = val.slice();
1008
- } else {
1009
- result[targetKey] = val;
1010
- }
1011
- };
1012
- for (var i = 0, l = arguments.length; i < l; i++) {
1013
- arguments[i] && forEach(arguments[i], assignValue);
1014
- }
1015
- return result;
1016
- }
1017
-
1018
- /**
1019
- * Extends object a by mutably adding to it the properties of object b.
1020
- *
1021
- * @param {Object} a The object to be extended
1022
- * @param {Object} b The object to copy properties from
1023
- * @param {Object} thisArg The object to bind function to
1024
- *
1025
- * @param {Boolean} [allOwnKeys]
1026
- * @returns {Object} The resulting value of object a
1027
- */
1028
- var extend = function extend(a, b, thisArg) {
1029
- var _ref3 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
1030
- allOwnKeys = _ref3.allOwnKeys;
1031
- forEach(b, function (val, key) {
1032
- if (thisArg && isFunction(val)) {
1033
- a[key] = bind(val, thisArg);
1034
- } else {
1035
- a[key] = val;
1036
- }
1037
- }, {
1038
- allOwnKeys: allOwnKeys
1039
- });
1040
- return a;
1041
- };
1042
-
1043
- /**
1044
- * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
1045
- *
1046
- * @param {string} content with BOM
1047
- *
1048
- * @returns {string} content value without BOM
1049
- */
1050
- var stripBOM = function stripBOM(content) {
1051
- if (content.charCodeAt(0) === 0xFEFF) {
1052
- content = content.slice(1);
1053
- }
1054
- return content;
1055
- };
1056
-
1057
- /**
1058
- * Inherit the prototype methods from one constructor into another
1059
- * @param {function} constructor
1060
- * @param {function} superConstructor
1061
- * @param {object} [props]
1062
- * @param {object} [descriptors]
1063
- *
1064
- * @returns {void}
1065
- */
1066
- var inherits = function inherits(constructor, superConstructor, props, descriptors) {
1067
- constructor.prototype = Object.create(superConstructor.prototype, descriptors);
1068
- constructor.prototype.constructor = constructor;
1069
- Object.defineProperty(constructor, 'super', {
1070
- value: superConstructor.prototype
1071
- });
1072
- props && Object.assign(constructor.prototype, props);
1073
- };
1074
-
1075
- /**
1076
- * Resolve object with deep prototype chain to a flat object
1077
- * @param {Object} sourceObj source object
1078
- * @param {Object} [destObj]
1079
- * @param {Function|Boolean} [filter]
1080
- * @param {Function} [propFilter]
1081
- *
1082
- * @returns {Object}
1083
- */
1084
- var toFlatObject = function toFlatObject(sourceObj, destObj, filter, propFilter) {
1085
- var props;
1086
- var i;
1087
- var prop;
1088
- var merged = {};
1089
- destObj = destObj || {};
1090
- // eslint-disable-next-line no-eq-null,eqeqeq
1091
- if (sourceObj == null) return destObj;
1092
- do {
1093
- props = Object.getOwnPropertyNames(sourceObj);
1094
- i = props.length;
1095
- while (i-- > 0) {
1096
- prop = props[i];
1097
- if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
1098
- destObj[prop] = sourceObj[prop];
1099
- merged[prop] = true;
1100
- }
1101
- }
1102
- sourceObj = filter !== false && getPrototypeOf(sourceObj);
1103
- } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
1104
- return destObj;
1105
- };
1106
-
1107
- /**
1108
- * Determines whether a string ends with the characters of a specified string
1109
- *
1110
- * @param {String} str
1111
- * @param {String} searchString
1112
- * @param {Number} [position= 0]
1113
- *
1114
- * @returns {boolean}
1115
- */
1116
- var endsWith = function endsWith(str, searchString, position) {
1117
- str = String(str);
1118
- if (position === undefined || position > str.length) {
1119
- position = str.length;
1120
- }
1121
- position -= searchString.length;
1122
- var lastIndex = str.indexOf(searchString, position);
1123
- return lastIndex !== -1 && lastIndex === position;
1124
- };
1125
-
1126
- /**
1127
- * Returns new array from array like object or null if failed
1128
- *
1129
- * @param {*} [thing]
1130
- *
1131
- * @returns {?Array}
1132
- */
1133
- var toArray = function toArray(thing) {
1134
- if (!thing) return null;
1135
- if (isArray(thing)) return thing;
1136
- var i = thing.length;
1137
- if (!isNumber(i)) return null;
1138
- var arr = new Array(i);
1139
- while (i-- > 0) {
1140
- arr[i] = thing[i];
1141
- }
1142
- return arr;
1143
- };
1144
-
1145
- /**
1146
- * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
1147
- * thing passed in is an instance of Uint8Array
1148
- *
1149
- * @param {TypedArray}
1150
- *
1151
- * @returns {Array}
1152
- */
1153
- // eslint-disable-next-line func-names
1154
- var isTypedArray = function (TypedArray) {
1155
- // eslint-disable-next-line func-names
1156
- return function (thing) {
1157
- return TypedArray && thing instanceof TypedArray;
1158
- };
1159
- }(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
1160
-
1161
- /**
1162
- * For each entry in the object, call the function with the key and value.
1163
- *
1164
- * @param {Object<any, any>} obj - The object to iterate over.
1165
- * @param {Function} fn - The function to call for each entry.
1166
- *
1167
- * @returns {void}
1168
- */
1169
- var forEachEntry = function forEachEntry(obj, fn) {
1170
- var generator = obj && obj[iterator];
1171
- var _iterator = generator.call(obj);
1172
- var result;
1173
- while ((result = _iterator.next()) && !result.done) {
1174
- var pair = result.value;
1175
- fn.call(obj, pair[0], pair[1]);
1176
- }
1177
- };
1178
-
1179
- /**
1180
- * It takes a regular expression and a string, and returns an array of all the matches
1181
- *
1182
- * @param {string} regExp - The regular expression to match against.
1183
- * @param {string} str - The string to search.
1184
- *
1185
- * @returns {Array<boolean>}
1186
- */
1187
- var matchAll = function matchAll(regExp, str) {
1188
- var matches;
1189
- var arr = [];
1190
- while ((matches = regExp.exec(str)) !== null) {
1191
- arr.push(matches);
1192
- }
1193
- return arr;
1194
- };
1195
-
1196
- /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
1197
- var isHTMLForm = kindOfTest('HTMLFormElement');
1198
- var toCamelCase = function toCamelCase(str) {
1199
- return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
1200
- return p1.toUpperCase() + p2;
1201
- });
1202
- };
1203
-
1204
- /* Creating a function that will check if an object has a property. */
1205
- var hasOwnProperty = function (_ref4) {
1206
- var hasOwnProperty = _ref4.hasOwnProperty;
1207
- return function (obj, prop) {
1208
- return hasOwnProperty.call(obj, prop);
1209
- };
1210
- }(Object.prototype);
1211
-
1212
- /**
1213
- * Determine if a value is a RegExp object
1214
- *
1215
- * @param {*} val The value to test
1216
- *
1217
- * @returns {boolean} True if value is a RegExp object, otherwise false
1218
- */
1219
- var isRegExp = kindOfTest('RegExp');
1220
- var reduceDescriptors = function reduceDescriptors(obj, reducer) {
1221
- var descriptors = Object.getOwnPropertyDescriptors(obj);
1222
- var reducedDescriptors = {};
1223
- forEach(descriptors, function (descriptor, name) {
1224
- var ret;
1225
- if ((ret = reducer(descriptor, name, obj)) !== false) {
1226
- reducedDescriptors[name] = ret || descriptor;
1227
- }
1228
- });
1229
- Object.defineProperties(obj, reducedDescriptors);
1230
- };
1231
-
1232
- /**
1233
- * Makes all methods read-only
1234
- * @param {Object} obj
1235
- */
1236
-
1237
- var freezeMethods = function freezeMethods(obj) {
1238
- reduceDescriptors(obj, function (descriptor, name) {
1239
- // skip restricted props in strict mode
1240
- if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
1241
- return false;
1242
- }
1243
- var value = obj[name];
1244
- if (!isFunction(value)) return;
1245
- descriptor.enumerable = false;
1246
- if ('writable' in descriptor) {
1247
- descriptor.writable = false;
1248
- return;
1249
- }
1250
- if (!descriptor.set) {
1251
- descriptor.set = function () {
1252
- throw Error('Can not rewrite read-only method \'' + name + '\'');
1253
- };
1254
- }
1255
- });
1256
- };
1257
- var toObjectSet = function toObjectSet(arrayOrString, delimiter) {
1258
- var obj = {};
1259
- var define = function define(arr) {
1260
- arr.forEach(function (value) {
1261
- obj[value] = true;
1262
- });
1263
- };
1264
- isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
1265
- return obj;
1266
- };
1267
- var noop = function noop() {};
1268
- var toFiniteNumber = function toFiniteNumber(value, defaultValue) {
1269
- return value != null && Number.isFinite(value = +value) ? value : defaultValue;
1270
- };
1271
-
1272
- /**
1273
- * If the thing is a FormData object, return true, otherwise return false.
1274
- *
1275
- * @param {unknown} thing - The thing to check.
1276
- *
1277
- * @returns {boolean}
1278
- */
1279
- function isSpecCompliantForm(thing) {
1280
- return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
1281
- }
1282
- var toJSONObject = function toJSONObject(obj) {
1283
- var stack = new Array(10);
1284
- var visit = function visit(source, i) {
1285
- if (isObject(source)) {
1286
- if (stack.indexOf(source) >= 0) {
1287
- return;
1288
- }
1289
- if (!('toJSON' in source)) {
1290
- stack[i] = source;
1291
- var target = isArray(source) ? [] : {};
1292
- forEach(source, function (value, key) {
1293
- var reducedValue = visit(value, i + 1);
1294
- !isUndefined(reducedValue) && (target[key] = reducedValue);
1295
- });
1296
- stack[i] = undefined;
1297
- return target;
1298
- }
1299
- }
1300
- return source;
1301
- };
1302
- return visit(obj, 0);
1303
- };
1304
- var isAsyncFn = kindOfTest('AsyncFunction');
1305
- var isThenable = function isThenable(thing) {
1306
- return thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing["catch"]);
1307
- };
1308
-
1309
- // original code
1310
- // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
1311
-
1312
- var _setImmediate = function (setImmediateSupported, postMessageSupported) {
1313
- if (setImmediateSupported) {
1314
- return setImmediate;
1315
- }
1316
- return postMessageSupported ? function (token, callbacks) {
1317
- _global.addEventListener("message", function (_ref5) {
1318
- var source = _ref5.source,
1319
- data = _ref5.data;
1320
- if (source === _global && data === token) {
1321
- callbacks.length && callbacks.shift()();
1322
- }
1323
- }, false);
1324
- return function (cb) {
1325
- callbacks.push(cb);
1326
- _global.postMessage(token, "*");
1327
- };
1328
- }("axios@".concat(Math.random()), []) : function (cb) {
1329
- return setTimeout(cb);
1330
- };
1331
- }(typeof setImmediate === 'function', isFunction(_global.postMessage));
1332
- var asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;
1333
-
1334
- // *********************
1335
-
1336
- var isIterable = function isIterable(thing) {
1337
- return thing != null && isFunction(thing[iterator]);
1338
- };
1339
- var utils$1 = {
1340
- isArray: isArray,
1341
- isArrayBuffer: isArrayBuffer,
1342
- isBuffer: isBuffer,
1343
- isFormData: isFormData,
1344
- isArrayBufferView: isArrayBufferView,
1345
- isString: isString,
1346
- isNumber: isNumber,
1347
- isBoolean: isBoolean,
1348
- isObject: isObject,
1349
- isPlainObject: isPlainObject,
1350
- isReadableStream: isReadableStream,
1351
- isRequest: isRequest,
1352
- isResponse: isResponse,
1353
- isHeaders: isHeaders,
1354
- isUndefined: isUndefined,
1355
- isDate: isDate,
1356
- isFile: isFile,
1357
- isBlob: isBlob,
1358
- isRegExp: isRegExp,
1359
- isFunction: isFunction,
1360
- isStream: isStream,
1361
- isURLSearchParams: isURLSearchParams,
1362
- isTypedArray: isTypedArray,
1363
- isFileList: isFileList,
1364
- forEach: forEach,
1365
- merge: merge,
1366
- extend: extend,
1367
- trim: trim,
1368
- stripBOM: stripBOM,
1369
- inherits: inherits,
1370
- toFlatObject: toFlatObject,
1371
- kindOf: kindOf,
1372
- kindOfTest: kindOfTest,
1373
- endsWith: endsWith,
1374
- toArray: toArray,
1375
- forEachEntry: forEachEntry,
1376
- matchAll: matchAll,
1377
- isHTMLForm: isHTMLForm,
1378
- hasOwnProperty: hasOwnProperty,
1379
- hasOwnProp: hasOwnProperty,
1380
- // an alias to avoid ESLint no-prototype-builtins detection
1381
- reduceDescriptors: reduceDescriptors,
1382
- freezeMethods: freezeMethods,
1383
- toObjectSet: toObjectSet,
1384
- toCamelCase: toCamelCase,
1385
- noop: noop,
1386
- toFiniteNumber: toFiniteNumber,
1387
- findKey: findKey,
1388
- global: _global,
1389
- isContextDefined: isContextDefined,
1390
- isSpecCompliantForm: isSpecCompliantForm,
1391
- toJSONObject: toJSONObject,
1392
- isAsyncFn: isAsyncFn,
1393
- isThenable: isThenable,
1394
- setImmediate: _setImmediate,
1395
- asap: asap,
1396
- isIterable: isIterable
1397
- };
1398
-
1399
- /**
1400
- * Create an Error with the specified message, config, error code, request and response.
1401
- *
1402
- * @param {string} message The error message.
1403
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1404
- * @param {Object} [config] The config.
1405
- * @param {Object} [request] The request.
1406
- * @param {Object} [response] The response.
1407
- *
1408
- * @returns {Error} The created error.
1409
- */
1410
- function AxiosError(message, code, config, request, response) {
1411
- Error.call(this);
1412
- if (Error.captureStackTrace) {
1413
- Error.captureStackTrace(this, this.constructor);
1414
- } else {
1415
- this.stack = new Error().stack;
1416
- }
1417
- this.message = message;
1418
- this.name = 'AxiosError';
1419
- code && (this.code = code);
1420
- config && (this.config = config);
1421
- request && (this.request = request);
1422
- if (response) {
1423
- this.response = response;
1424
- this.status = response.status ? response.status : null;
1425
- }
1426
- }
1427
- utils$1.inherits(AxiosError, Error, {
1428
- toJSON: function toJSON() {
1429
- return {
1430
- // Standard
1431
- message: this.message,
1432
- name: this.name,
1433
- // Microsoft
1434
- description: this.description,
1435
- number: this.number,
1436
- // Mozilla
1437
- fileName: this.fileName,
1438
- lineNumber: this.lineNumber,
1439
- columnNumber: this.columnNumber,
1440
- stack: this.stack,
1441
- // Axios
1442
- config: utils$1.toJSONObject(this.config),
1443
- code: this.code,
1444
- status: this.status
1445
- };
1446
- }
1447
- });
1448
- var prototype$1 = AxiosError.prototype;
1449
- var descriptors = {};
1450
- ['ERR_BAD_OPTION_VALUE', 'ERR_BAD_OPTION', 'ECONNABORTED', 'ETIMEDOUT', 'ERR_NETWORK', 'ERR_FR_TOO_MANY_REDIRECTS', 'ERR_DEPRECATED', 'ERR_BAD_RESPONSE', 'ERR_BAD_REQUEST', 'ERR_CANCELED', 'ERR_NOT_SUPPORT', 'ERR_INVALID_URL'
1451
- // eslint-disable-next-line func-names
1452
- ].forEach(function (code) {
1453
- descriptors[code] = {
1454
- value: code
1455
- };
1456
- });
1457
- Object.defineProperties(AxiosError, descriptors);
1458
- Object.defineProperty(prototype$1, 'isAxiosError', {
1459
- value: true
1460
- });
1461
-
1462
- // eslint-disable-next-line func-names
1463
- AxiosError.from = function (error, code, config, request, response, customProps) {
1464
- var axiosError = Object.create(prototype$1);
1465
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
1466
- return obj !== Error.prototype;
1467
- }, function (prop) {
1468
- return prop !== 'isAxiosError';
1469
- });
1470
- AxiosError.call(axiosError, error.message, code, config, request, response);
1471
- axiosError.cause = error;
1472
- axiosError.name = error.name;
1473
- customProps && Object.assign(axiosError, customProps);
1474
- return axiosError;
1475
- };
1476
-
1477
- // eslint-disable-next-line strict
1478
- var httpAdapter = null;
1479
-
1480
- /**
1481
- * Determines if the given thing is a array or js object.
1482
- *
1483
- * @param {string} thing - The object or array to be visited.
1484
- *
1485
- * @returns {boolean}
1486
- */
1487
- function isVisitable(thing) {
1488
- return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
1489
- }
1490
-
1491
- /**
1492
- * It removes the brackets from the end of a string
1493
- *
1494
- * @param {string} key - The key of the parameter.
1495
- *
1496
- * @returns {string} the key without the brackets.
1497
- */
1498
- function removeBrackets(key) {
1499
- return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key;
1500
- }
1501
-
1502
- /**
1503
- * It takes a path, a key, and a boolean, and returns a string
1504
- *
1505
- * @param {string} path - The path to the current key.
1506
- * @param {string} key - The key of the current object being iterated over.
1507
- * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
1508
- *
1509
- * @returns {string} The path to the current key.
1510
- */
1511
- function renderKey(path, key, dots) {
1512
- if (!path) return key;
1513
- return path.concat(key).map(function each(token, i) {
1514
- // eslint-disable-next-line no-param-reassign
1515
- token = removeBrackets(token);
1516
- return !dots && i ? '[' + token + ']' : token;
1517
- }).join(dots ? '.' : '');
1518
- }
1519
-
1520
- /**
1521
- * If the array is an array and none of its elements are visitable, then it's a flat array.
1522
- *
1523
- * @param {Array<any>} arr - The array to check
1524
- *
1525
- * @returns {boolean}
1526
- */
1527
- function isFlatArray(arr) {
1528
- return utils$1.isArray(arr) && !arr.some(isVisitable);
1529
- }
1530
- var predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
1531
- return /^is[A-Z]/.test(prop);
1532
- });
1533
-
1534
- /**
1535
- * Convert a data object to FormData
1536
- *
1537
- * @param {Object} obj
1538
- * @param {?Object} [formData]
1539
- * @param {?Object} [options]
1540
- * @param {Function} [options.visitor]
1541
- * @param {Boolean} [options.metaTokens = true]
1542
- * @param {Boolean} [options.dots = false]
1543
- * @param {?Boolean} [options.indexes = false]
1544
- *
1545
- * @returns {Object}
1546
- **/
1547
-
1548
- /**
1549
- * It converts an object into a FormData object
1550
- *
1551
- * @param {Object<any, any>} obj - The object to convert to form data.
1552
- * @param {string} formData - The FormData object to append to.
1553
- * @param {Object<string, any>} options
1554
- *
1555
- * @returns
1556
- */
1557
- function toFormData(obj, formData, options) {
1558
- if (!utils$1.isObject(obj)) {
1559
- throw new TypeError('target must be an object');
1560
- }
1561
-
1562
- // eslint-disable-next-line no-param-reassign
1563
- formData = formData || new (FormData)();
1564
-
1565
- // eslint-disable-next-line no-param-reassign
1566
- options = utils$1.toFlatObject(options, {
1567
- metaTokens: true,
1568
- dots: false,
1569
- indexes: false
1570
- }, false, function defined(option, source) {
1571
- // eslint-disable-next-line no-eq-null,eqeqeq
1572
- return !utils$1.isUndefined(source[option]);
1573
- });
1574
- var metaTokens = options.metaTokens;
1575
- // eslint-disable-next-line no-use-before-define
1576
- var visitor = options.visitor || defaultVisitor;
1577
- var dots = options.dots;
1578
- var indexes = options.indexes;
1579
- var _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
1580
- var useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
1581
- if (!utils$1.isFunction(visitor)) {
1582
- throw new TypeError('visitor must be a function');
1583
- }
1584
- function convertValue(value) {
1585
- if (value === null) return '';
1586
- if (utils$1.isDate(value)) {
1587
- return value.toISOString();
1588
- }
1589
- if (utils$1.isBoolean(value)) {
1590
- return value.toString();
1591
- }
1592
- if (!useBlob && utils$1.isBlob(value)) {
1593
- throw new AxiosError('Blob is not supported. Use a Buffer instead.');
1594
- }
1595
- if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
1596
- return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
1597
- }
1598
- return value;
1599
- }
1600
-
1601
- /**
1602
- * Default visitor.
1603
- *
1604
- * @param {*} value
1605
- * @param {String|Number} key
1606
- * @param {Array<String|Number>} path
1607
- * @this {FormData}
1608
- *
1609
- * @returns {boolean} return true to visit the each prop of the value recursively
1610
- */
1611
- function defaultVisitor(value, key, path) {
1612
- var arr = value;
1613
- if (value && !path && _typeof(value) === 'object') {
1614
- if (utils$1.endsWith(key, '{}')) {
1615
- // eslint-disable-next-line no-param-reassign
1616
- key = metaTokens ? key : key.slice(0, -2);
1617
- // eslint-disable-next-line no-param-reassign
1618
- value = JSON.stringify(value);
1619
- } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) {
1620
- // eslint-disable-next-line no-param-reassign
1621
- key = removeBrackets(key);
1622
- arr.forEach(function each(el, index) {
1623
- !(utils$1.isUndefined(el) || el === null) && formData.append(
1624
- // eslint-disable-next-line no-nested-ternary
1625
- indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el));
1626
- });
1627
- return false;
1628
- }
1629
- }
1630
- if (isVisitable(value)) {
1631
- return true;
1632
- }
1633
- formData.append(renderKey(path, key, dots), convertValue(value));
1634
- return false;
1635
- }
1636
- var stack = [];
1637
- var exposedHelpers = Object.assign(predicates, {
1638
- defaultVisitor: defaultVisitor,
1639
- convertValue: convertValue,
1640
- isVisitable: isVisitable
1641
- });
1642
- function build(value, path) {
1643
- if (utils$1.isUndefined(value)) return;
1644
- if (stack.indexOf(value) !== -1) {
1645
- throw Error('Circular reference detected in ' + path.join('.'));
1646
- }
1647
- stack.push(value);
1648
- utils$1.forEach(value, function each(el, key) {
1649
- var result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
1650
- if (result === true) {
1651
- build(el, path ? path.concat(key) : [key]);
1652
- }
1653
- });
1654
- stack.pop();
1655
- }
1656
- if (!utils$1.isObject(obj)) {
1657
- throw new TypeError('data must be an object');
1658
- }
1659
- build(obj);
1660
- return formData;
1661
- }
1662
-
1663
- /**
1664
- * It encodes a string by replacing all characters that are not in the unreserved set with
1665
- * their percent-encoded equivalents
1666
- *
1667
- * @param {string} str - The string to encode.
1668
- *
1669
- * @returns {string} The encoded string.
1670
- */
1671
- function encode$1(str) {
1672
- var charMap = {
1673
- '!': '%21',
1674
- "'": '%27',
1675
- '(': '%28',
1676
- ')': '%29',
1677
- '~': '%7E',
1678
- '%20': '+',
1679
- '%00': '\x00'
1680
- };
1681
- return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
1682
- return charMap[match];
1683
- });
1684
- }
1685
-
1686
- /**
1687
- * It takes a params object and converts it to a FormData object
1688
- *
1689
- * @param {Object<string, any>} params - The parameters to be converted to a FormData object.
1690
- * @param {Object<string, any>} options - The options object passed to the Axios constructor.
1691
- *
1692
- * @returns {void}
1693
- */
1694
- function AxiosURLSearchParams(params, options) {
1695
- this._pairs = [];
1696
- params && toFormData(params, this, options);
1697
- }
1698
- var prototype = AxiosURLSearchParams.prototype;
1699
- prototype.append = function append(name, value) {
1700
- this._pairs.push([name, value]);
1701
- };
1702
- prototype.toString = function toString(encoder) {
1703
- var _encode = encoder ? function (value) {
1704
- return encoder.call(this, value, encode$1);
1705
- } : encode$1;
1706
- return this._pairs.map(function each(pair) {
1707
- return _encode(pair[0]) + '=' + _encode(pair[1]);
1708
- }, '').join('&');
1709
- };
1710
-
1711
- /**
1712
- * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
1713
- * URI encoded counterparts
1714
- *
1715
- * @param {string} val The value to be encoded.
1716
- *
1717
- * @returns {string} The encoded value.
1718
- */
1719
- function encode(val) {
1720
- return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
1721
- }
1722
-
1723
- /**
1724
- * Build a URL by appending params to the end
1725
- *
1726
- * @param {string} url The base of the url (e.g., http://www.google.com)
1727
- * @param {object} [params] The params to be appended
1728
- * @param {?(object|Function)} options
1729
- *
1730
- * @returns {string} The formatted url
1731
- */
1732
- function buildURL(url, params, options) {
1733
- /*eslint no-param-reassign:0*/
1734
- if (!params) {
1735
- return url;
1736
- }
1737
- var _encode = options && options.encode || encode;
1738
- if (utils$1.isFunction(options)) {
1739
- options = {
1740
- serialize: options
1741
- };
1742
- }
1743
- var serializeFn = options && options.serialize;
1744
- var serializedParams;
1745
- if (serializeFn) {
1746
- serializedParams = serializeFn(params, options);
1747
- } else {
1748
- serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);
1749
- }
1750
- if (serializedParams) {
1751
- var hashmarkIndex = url.indexOf("#");
1752
- if (hashmarkIndex !== -1) {
1753
- url = url.slice(0, hashmarkIndex);
1754
- }
1755
- url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
1756
- }
1757
- return url;
1758
- }
1759
-
1760
- var InterceptorManager = /*#__PURE__*/function () {
1761
- function InterceptorManager() {
1762
- _classCallCheck(this, InterceptorManager);
1763
- this.handlers = [];
1764
- }
1765
-
1766
- /**
1767
- * Add a new interceptor to the stack
1768
- *
1769
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
1770
- * @param {Function} rejected The function to handle `reject` for a `Promise`
1771
- *
1772
- * @return {Number} An ID used to remove interceptor later
1773
- */
1774
- _createClass(InterceptorManager, [{
1775
- key: "use",
1776
- value: function use(fulfilled, rejected, options) {
1777
- this.handlers.push({
1778
- fulfilled: fulfilled,
1779
- rejected: rejected,
1780
- synchronous: options ? options.synchronous : false,
1781
- runWhen: options ? options.runWhen : null
1782
- });
1783
- return this.handlers.length - 1;
1784
- }
1785
-
1786
- /**
1787
- * Remove an interceptor from the stack
1788
- *
1789
- * @param {Number} id The ID that was returned by `use`
1790
- *
1791
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
1792
- */
1793
- }, {
1794
- key: "eject",
1795
- value: function eject(id) {
1796
- if (this.handlers[id]) {
1797
- this.handlers[id] = null;
1798
- }
1799
- }
1800
-
1801
- /**
1802
- * Clear all interceptors from the stack
1803
- *
1804
- * @returns {void}
1805
- */
1806
- }, {
1807
- key: "clear",
1808
- value: function clear() {
1809
- if (this.handlers) {
1810
- this.handlers = [];
1811
- }
1812
- }
1813
-
1814
- /**
1815
- * Iterate over all the registered interceptors
1816
- *
1817
- * This method is particularly useful for skipping over any
1818
- * interceptors that may have become `null` calling `eject`.
1819
- *
1820
- * @param {Function} fn The function to call for each interceptor
1821
- *
1822
- * @returns {void}
1823
- */
1824
- }, {
1825
- key: "forEach",
1826
- value: function forEach(fn) {
1827
- utils$1.forEach(this.handlers, function forEachHandler(h) {
1828
- if (h !== null) {
1829
- fn(h);
1830
- }
1831
- });
1832
- }
1833
- }]);
1834
- return InterceptorManager;
1835
- }();
1836
- var InterceptorManager$1 = InterceptorManager;
1837
-
1838
- var transitionalDefaults = {
1839
- silentJSONParsing: true,
1840
- forcedJSONParsing: true,
1841
- clarifyTimeoutError: false
1842
- };
1843
-
1844
- var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
1845
-
1846
- var FormData$1 = typeof FormData !== 'undefined' ? FormData : null;
1847
-
1848
- var Blob$1 = typeof Blob !== 'undefined' ? Blob : null;
1849
-
1850
- var platform$1 = {
1851
- isBrowser: true,
1852
- classes: {
1853
- URLSearchParams: URLSearchParams$1,
1854
- FormData: FormData$1,
1855
- Blob: Blob$1
1856
- },
1857
- protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
1858
- };
1859
-
1860
- var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
1861
- var _navigator = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === 'object' && navigator || undefined;
1862
-
1863
- /**
1864
- * Determine if we're running in a standard browser environment
1865
- *
1866
- * This allows axios to run in a web worker, and react-native.
1867
- * Both environments support XMLHttpRequest, but not fully standard globals.
1868
- *
1869
- * web workers:
1870
- * typeof window -> undefined
1871
- * typeof document -> undefined
1872
- *
1873
- * react-native:
1874
- * navigator.product -> 'ReactNative'
1875
- * nativescript
1876
- * navigator.product -> 'NativeScript' or 'NS'
1877
- *
1878
- * @returns {boolean}
1879
- */
1880
- var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
1881
-
1882
- /**
1883
- * Determine if we're running in a standard browser webWorker environment
1884
- *
1885
- * Although the `isStandardBrowserEnv` method indicates that
1886
- * `allows axios to run in a web worker`, the WebWorker will still be
1887
- * filtered out due to its judgment standard
1888
- * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
1889
- * This leads to a problem when axios post `FormData` in webWorker
1890
- */
1891
- var hasStandardBrowserWebWorkerEnv = function () {
1892
- return typeof WorkerGlobalScope !== 'undefined' &&
1893
- // eslint-disable-next-line no-undef
1894
- self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
1895
- }();
1896
- var origin = hasBrowserEnv && window.location.href || 'http://localhost';
1897
-
1898
- var utils = /*#__PURE__*/Object.freeze({
1899
- __proto__: null,
1900
- hasBrowserEnv: hasBrowserEnv,
1901
- hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
1902
- hasStandardBrowserEnv: hasStandardBrowserEnv,
1903
- navigator: _navigator,
1904
- origin: origin
1905
- });
1906
-
1907
- var platform = _objectSpread2(_objectSpread2({}, utils), platform$1);
1908
-
1909
- function toURLEncodedForm(data, options) {
1910
- return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
1911
- visitor: function visitor(value, key, path, helpers) {
1912
- if (platform.isNode && utils$1.isBuffer(value)) {
1913
- this.append(key, value.toString('base64'));
1914
- return false;
1915
- }
1916
- return helpers.defaultVisitor.apply(this, arguments);
1917
- }
1918
- }, options));
1919
- }
1920
-
1921
- /**
1922
- * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
1923
- *
1924
- * @param {string} name - The name of the property to get.
1925
- *
1926
- * @returns An array of strings.
1927
- */
1928
- function parsePropPath(name) {
1929
- // foo[x][y][z]
1930
- // foo.x.y.z
1931
- // foo-x-y-z
1932
- // foo x y z
1933
- return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(function (match) {
1934
- return match[0] === '[]' ? '' : match[1] || match[0];
1935
- });
1936
- }
1937
-
1938
- /**
1939
- * Convert an array to an object.
1940
- *
1941
- * @param {Array<any>} arr - The array to convert to an object.
1942
- *
1943
- * @returns An object with the same keys and values as the array.
1944
- */
1945
- function arrayToObject(arr) {
1946
- var obj = {};
1947
- var keys = Object.keys(arr);
1948
- var i;
1949
- var len = keys.length;
1950
- var key;
1951
- for (i = 0; i < len; i++) {
1952
- key = keys[i];
1953
- obj[key] = arr[key];
1954
- }
1955
- return obj;
1956
- }
1957
-
1958
- /**
1959
- * It takes a FormData object and returns a JavaScript object
1960
- *
1961
- * @param {string} formData The FormData object to convert to JSON.
1962
- *
1963
- * @returns {Object<string, any> | null} The converted object.
1964
- */
1965
- function formDataToJSON(formData) {
1966
- function buildPath(path, value, target, index) {
1967
- var name = path[index++];
1968
- if (name === '__proto__') return true;
1969
- var isNumericKey = Number.isFinite(+name);
1970
- var isLast = index >= path.length;
1971
- name = !name && utils$1.isArray(target) ? target.length : name;
1972
- if (isLast) {
1973
- if (utils$1.hasOwnProp(target, name)) {
1974
- target[name] = [target[name], value];
1975
- } else {
1976
- target[name] = value;
1977
- }
1978
- return !isNumericKey;
1979
- }
1980
- if (!target[name] || !utils$1.isObject(target[name])) {
1981
- target[name] = [];
1982
- }
1983
- var result = buildPath(path, value, target[name], index);
1984
- if (result && utils$1.isArray(target[name])) {
1985
- target[name] = arrayToObject(target[name]);
1986
- }
1987
- return !isNumericKey;
1988
- }
1989
- if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
1990
- var obj = {};
1991
- utils$1.forEachEntry(formData, function (name, value) {
1992
- buildPath(parsePropPath(name), value, obj, 0);
1993
- });
1994
- return obj;
1995
- }
1996
- return null;
1997
- }
1998
-
1999
- /**
2000
- * It takes a string, tries to parse it, and if it fails, it returns the stringified version
2001
- * of the input
2002
- *
2003
- * @param {any} rawValue - The value to be stringified.
2004
- * @param {Function} parser - A function that parses a string into a JavaScript object.
2005
- * @param {Function} encoder - A function that takes a value and returns a string.
2006
- *
2007
- * @returns {string} A stringified version of the rawValue.
2008
- */
2009
- function stringifySafely(rawValue, parser, encoder) {
2010
- if (utils$1.isString(rawValue)) {
2011
- try {
2012
- (parser || JSON.parse)(rawValue);
2013
- return utils$1.trim(rawValue);
2014
- } catch (e) {
2015
- if (e.name !== 'SyntaxError') {
2016
- throw e;
2017
- }
2018
- }
2019
- }
2020
- return (encoder || JSON.stringify)(rawValue);
2021
- }
2022
- var defaults = {
2023
- transitional: transitionalDefaults,
2024
- adapter: ['xhr', 'http', 'fetch'],
2025
- transformRequest: [function transformRequest(data, headers) {
2026
- var contentType = headers.getContentType() || '';
2027
- var hasJSONContentType = contentType.indexOf('application/json') > -1;
2028
- var isObjectPayload = utils$1.isObject(data);
2029
- if (isObjectPayload && utils$1.isHTMLForm(data)) {
2030
- data = new FormData(data);
2031
- }
2032
- var isFormData = utils$1.isFormData(data);
2033
- if (isFormData) {
2034
- return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
2035
- }
2036
- if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
2037
- return data;
2038
- }
2039
- if (utils$1.isArrayBufferView(data)) {
2040
- return data.buffer;
2041
- }
2042
- if (utils$1.isURLSearchParams(data)) {
2043
- headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
2044
- return data.toString();
2045
- }
2046
- var isFileList;
2047
- if (isObjectPayload) {
2048
- if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
2049
- return toURLEncodedForm(data, this.formSerializer).toString();
2050
- }
2051
- if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
2052
- var _FormData = this.env && this.env.FormData;
2053
- return toFormData(isFileList ? {
2054
- 'files[]': data
2055
- } : data, _FormData && new _FormData(), this.formSerializer);
2056
- }
2057
- }
2058
- if (isObjectPayload || hasJSONContentType) {
2059
- headers.setContentType('application/json', false);
2060
- return stringifySafely(data);
2061
- }
2062
- return data;
2063
- }],
2064
- transformResponse: [function transformResponse(data) {
2065
- var transitional = this.transitional || defaults.transitional;
2066
- var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
2067
- var JSONRequested = this.responseType === 'json';
2068
- if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
2069
- return data;
2070
- }
2071
- if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
2072
- var silentJSONParsing = transitional && transitional.silentJSONParsing;
2073
- var strictJSONParsing = !silentJSONParsing && JSONRequested;
2074
- try {
2075
- return JSON.parse(data);
2076
- } catch (e) {
2077
- if (strictJSONParsing) {
2078
- if (e.name === 'SyntaxError') {
2079
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
2080
- }
2081
- throw e;
2082
- }
2083
- }
2084
- }
2085
- return data;
2086
- }],
2087
- /**
2088
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
2089
- * timeout is not created.
2090
- */
2091
- timeout: 0,
2092
- xsrfCookieName: 'XSRF-TOKEN',
2093
- xsrfHeaderName: 'X-XSRF-TOKEN',
2094
- maxContentLength: -1,
2095
- maxBodyLength: -1,
2096
- env: {
2097
- FormData: platform.classes.FormData,
2098
- Blob: platform.classes.Blob
2099
- },
2100
- validateStatus: function validateStatus(status) {
2101
- return status >= 200 && status < 300;
2102
- },
2103
- headers: {
2104
- common: {
2105
- 'Accept': 'application/json, text/plain, */*',
2106
- 'Content-Type': undefined
2107
- }
2108
- }
2109
- };
2110
- utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], function (method) {
2111
- defaults.headers[method] = {};
2112
- });
2113
- var defaults$1 = defaults;
2114
-
2115
- // RawAxiosHeaders whose duplicates are ignored by node
2116
- // c.f. https://nodejs.org/api/http.html#http_message_headers
2117
- var ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']);
2118
-
2119
- /**
2120
- * Parse headers into an object
2121
- *
2122
- * ```
2123
- * Date: Wed, 27 Aug 2014 08:58:49 GMT
2124
- * Content-Type: application/json
2125
- * Connection: keep-alive
2126
- * Transfer-Encoding: chunked
2127
- * ```
2128
- *
2129
- * @param {String} rawHeaders Headers needing to be parsed
2130
- *
2131
- * @returns {Object} Headers parsed into an object
2132
- */
2133
- var parseHeaders = (function (rawHeaders) {
2134
- var parsed = {};
2135
- var key;
2136
- var val;
2137
- var i;
2138
- rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
2139
- i = line.indexOf(':');
2140
- key = line.substring(0, i).trim().toLowerCase();
2141
- val = line.substring(i + 1).trim();
2142
- if (!key || parsed[key] && ignoreDuplicateOf[key]) {
2143
- return;
2144
- }
2145
- if (key === 'set-cookie') {
2146
- if (parsed[key]) {
2147
- parsed[key].push(val);
2148
- } else {
2149
- parsed[key] = [val];
2150
- }
2151
- } else {
2152
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
2153
- }
2154
- });
2155
- return parsed;
2156
- });
2157
-
2158
- var $internals = Symbol('internals');
2159
- function normalizeHeader(header) {
2160
- return header && String(header).trim().toLowerCase();
2161
- }
2162
- function normalizeValue(value) {
2163
- if (value === false || value == null) {
2164
- return value;
2165
- }
2166
- return utils$1.isArray(value) ? value.map(normalizeValue) : String(value);
2167
- }
2168
- function parseTokens(str) {
2169
- var tokens = Object.create(null);
2170
- var tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
2171
- var match;
2172
- while (match = tokensRE.exec(str)) {
2173
- tokens[match[1]] = match[2];
2174
- }
2175
- return tokens;
2176
- }
2177
- var isValidHeaderName = function isValidHeaderName(str) {
2178
- return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
2179
- };
2180
- function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
2181
- if (utils$1.isFunction(filter)) {
2182
- return filter.call(this, value, header);
2183
- }
2184
- if (isHeaderNameFilter) {
2185
- value = header;
2186
- }
2187
- if (!utils$1.isString(value)) return;
2188
- if (utils$1.isString(filter)) {
2189
- return value.indexOf(filter) !== -1;
2190
- }
2191
- if (utils$1.isRegExp(filter)) {
2192
- return filter.test(value);
2193
- }
2194
- }
2195
- function formatHeader(header) {
2196
- return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, function (w, _char, str) {
2197
- return _char.toUpperCase() + str;
2198
- });
2199
- }
2200
- function buildAccessors(obj, header) {
2201
- var accessorName = utils$1.toCamelCase(' ' + header);
2202
- ['get', 'set', 'has'].forEach(function (methodName) {
2203
- Object.defineProperty(obj, methodName + accessorName, {
2204
- value: function value(arg1, arg2, arg3) {
2205
- return this[methodName].call(this, header, arg1, arg2, arg3);
2206
- },
2207
- configurable: true
2208
- });
2209
- });
2210
- }
2211
- var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag) {
2212
- function AxiosHeaders(headers) {
2213
- _classCallCheck(this, AxiosHeaders);
2214
- headers && this.set(headers);
2215
- }
2216
- _createClass(AxiosHeaders, [{
2217
- key: "set",
2218
- value: function set(header, valueOrRewrite, rewrite) {
2219
- var self = this;
2220
- function setHeader(_value, _header, _rewrite) {
2221
- var lHeader = normalizeHeader(_header);
2222
- if (!lHeader) {
2223
- throw new Error('header name must be a non-empty string');
2224
- }
2225
- var key = utils$1.findKey(self, lHeader);
2226
- if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) {
2227
- self[key || _header] = normalizeValue(_value);
2228
- }
2229
- }
2230
- var setHeaders = function setHeaders(headers, _rewrite) {
2231
- return utils$1.forEach(headers, function (_value, _header) {
2232
- return setHeader(_value, _header, _rewrite);
2233
- });
2234
- };
2235
- if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
2236
- setHeaders(header, valueOrRewrite);
2237
- } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
2238
- setHeaders(parseHeaders(header), valueOrRewrite);
2239
- } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
2240
- var obj = {},
2241
- dest,
2242
- key;
2243
- var _iterator = _createForOfIteratorHelper(header),
2244
- _step;
2245
- try {
2246
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
2247
- var entry = _step.value;
2248
- if (!utils$1.isArray(entry)) {
2249
- throw TypeError('Object iterator must return a key-value pair');
2250
- }
2251
- obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [].concat(_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]] : entry[1];
2252
- }
2253
- } catch (err) {
2254
- _iterator.e(err);
2255
- } finally {
2256
- _iterator.f();
2257
- }
2258
- setHeaders(obj, valueOrRewrite);
2259
- } else {
2260
- header != null && setHeader(valueOrRewrite, header, rewrite);
2261
- }
2262
- return this;
2263
- }
2264
- }, {
2265
- key: "get",
2266
- value: function get(header, parser) {
2267
- header = normalizeHeader(header);
2268
- if (header) {
2269
- var key = utils$1.findKey(this, header);
2270
- if (key) {
2271
- var value = this[key];
2272
- if (!parser) {
2273
- return value;
2274
- }
2275
- if (parser === true) {
2276
- return parseTokens(value);
2277
- }
2278
- if (utils$1.isFunction(parser)) {
2279
- return parser.call(this, value, key);
2280
- }
2281
- if (utils$1.isRegExp(parser)) {
2282
- return parser.exec(value);
2283
- }
2284
- throw new TypeError('parser must be boolean|regexp|function');
2285
- }
2286
- }
2287
- }
2288
- }, {
2289
- key: "has",
2290
- value: function has(header, matcher) {
2291
- header = normalizeHeader(header);
2292
- if (header) {
2293
- var key = utils$1.findKey(this, header);
2294
- return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
2295
- }
2296
- return false;
2297
- }
2298
- }, {
2299
- key: "delete",
2300
- value: function _delete(header, matcher) {
2301
- var self = this;
2302
- var deleted = false;
2303
- function deleteHeader(_header) {
2304
- _header = normalizeHeader(_header);
2305
- if (_header) {
2306
- var key = utils$1.findKey(self, _header);
2307
- if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
2308
- delete self[key];
2309
- deleted = true;
2310
- }
2311
- }
2312
- }
2313
- if (utils$1.isArray(header)) {
2314
- header.forEach(deleteHeader);
2315
- } else {
2316
- deleteHeader(header);
2317
- }
2318
- return deleted;
2319
- }
2320
- }, {
2321
- key: "clear",
2322
- value: function clear(matcher) {
2323
- var keys = Object.keys(this);
2324
- var i = keys.length;
2325
- var deleted = false;
2326
- while (i--) {
2327
- var key = keys[i];
2328
- if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
2329
- delete this[key];
2330
- deleted = true;
2331
- }
2332
- }
2333
- return deleted;
2334
- }
2335
- }, {
2336
- key: "normalize",
2337
- value: function normalize(format) {
2338
- var self = this;
2339
- var headers = {};
2340
- utils$1.forEach(this, function (value, header) {
2341
- var key = utils$1.findKey(headers, header);
2342
- if (key) {
2343
- self[key] = normalizeValue(value);
2344
- delete self[header];
2345
- return;
2346
- }
2347
- var normalized = format ? formatHeader(header) : String(header).trim();
2348
- if (normalized !== header) {
2349
- delete self[header];
2350
- }
2351
- self[normalized] = normalizeValue(value);
2352
- headers[normalized] = true;
2353
- });
2354
- return this;
2355
- }
2356
- }, {
2357
- key: "concat",
2358
- value: function concat() {
2359
- var _this$constructor;
2360
- for (var _len = arguments.length, targets = new Array(_len), _key = 0; _key < _len; _key++) {
2361
- targets[_key] = arguments[_key];
2362
- }
2363
- return (_this$constructor = this.constructor).concat.apply(_this$constructor, [this].concat(targets));
2364
- }
2365
- }, {
2366
- key: "toJSON",
2367
- value: function toJSON(asStrings) {
2368
- var obj = Object.create(null);
2369
- utils$1.forEach(this, function (value, header) {
2370
- value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
2371
- });
2372
- return obj;
2373
- }
2374
- }, {
2375
- key: _Symbol$iterator,
2376
- value: function value() {
2377
- return Object.entries(this.toJSON())[Symbol.iterator]();
2378
- }
2379
- }, {
2380
- key: "toString",
2381
- value: function toString() {
2382
- return Object.entries(this.toJSON()).map(function (_ref) {
2383
- var _ref2 = _slicedToArray(_ref, 2),
2384
- header = _ref2[0],
2385
- value = _ref2[1];
2386
- return header + ': ' + value;
2387
- }).join('\n');
2388
- }
2389
- }, {
2390
- key: "getSetCookie",
2391
- value: function getSetCookie() {
2392
- return this.get("set-cookie") || [];
2393
- }
2394
- }, {
2395
- key: _Symbol$toStringTag,
2396
- get: function get() {
2397
- return 'AxiosHeaders';
2398
- }
2399
- }], [{
2400
- key: "from",
2401
- value: function from(thing) {
2402
- return thing instanceof this ? thing : new this(thing);
2403
- }
2404
- }, {
2405
- key: "concat",
2406
- value: function concat(first) {
2407
- var computed = new this(first);
2408
- for (var _len2 = arguments.length, targets = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2409
- targets[_key2 - 1] = arguments[_key2];
2410
- }
2411
- targets.forEach(function (target) {
2412
- return computed.set(target);
2413
- });
2414
- return computed;
2415
- }
2416
- }, {
2417
- key: "accessor",
2418
- value: function accessor(header) {
2419
- var internals = this[$internals] = this[$internals] = {
2420
- accessors: {}
2421
- };
2422
- var accessors = internals.accessors;
2423
- var prototype = this.prototype;
2424
- function defineAccessor(_header) {
2425
- var lHeader = normalizeHeader(_header);
2426
- if (!accessors[lHeader]) {
2427
- buildAccessors(prototype, _header);
2428
- accessors[lHeader] = true;
2429
- }
2430
- }
2431
- utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
2432
- return this;
2433
- }
2434
- }]);
2435
- return AxiosHeaders;
2436
- }(Symbol.iterator, Symbol.toStringTag);
2437
- AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
2438
-
2439
- // reserved names hotfix
2440
- utils$1.reduceDescriptors(AxiosHeaders.prototype, function (_ref3, key) {
2441
- var value = _ref3.value;
2442
- var mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
2443
- return {
2444
- get: function get() {
2445
- return value;
2446
- },
2447
- set: function set(headerValue) {
2448
- this[mapped] = headerValue;
2449
- }
2450
- };
2451
- });
2452
- utils$1.freezeMethods(AxiosHeaders);
2453
- var AxiosHeaders$1 = AxiosHeaders;
2454
-
2455
- /**
2456
- * Transform the data for a request or a response
2457
- *
2458
- * @param {Array|Function} fns A single function or Array of functions
2459
- * @param {?Object} response The response object
2460
- *
2461
- * @returns {*} The resulting transformed data
2462
- */
2463
- function transformData(fns, response) {
2464
- var config = this || defaults$1;
2465
- var context = response || config;
2466
- var headers = AxiosHeaders$1.from(context.headers);
2467
- var data = context.data;
2468
- utils$1.forEach(fns, function transform(fn) {
2469
- data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
2470
- });
2471
- headers.normalize();
2472
- return data;
2473
- }
2474
-
2475
- function isCancel(value) {
2476
- return !!(value && value.__CANCEL__);
2477
- }
2478
-
2479
- /**
2480
- * A `CanceledError` is an object that is thrown when an operation is canceled.
2481
- *
2482
- * @param {string=} message The message.
2483
- * @param {Object=} config The config.
2484
- * @param {Object=} request The request.
2485
- *
2486
- * @returns {CanceledError} The created error.
2487
- */
2488
- function CanceledError(message, config, request) {
2489
- // eslint-disable-next-line no-eq-null,eqeqeq
2490
- AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2491
- this.name = 'CanceledError';
2492
- }
2493
- utils$1.inherits(CanceledError, AxiosError, {
2494
- __CANCEL__: true
2495
- });
2496
-
2497
- /**
2498
- * Resolve or reject a Promise based on response status.
2499
- *
2500
- * @param {Function} resolve A function that resolves the promise.
2501
- * @param {Function} reject A function that rejects the promise.
2502
- * @param {object} response The response.
2503
- *
2504
- * @returns {object} The response.
2505
- */
2506
- function settle(resolve, reject, response) {
2507
- var validateStatus = response.config.validateStatus;
2508
- if (!response.status || !validateStatus || validateStatus(response.status)) {
2509
- resolve(response);
2510
- } else {
2511
- reject(new AxiosError('Request failed with status code ' + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
2512
- }
2513
- }
2514
-
2515
- function parseProtocol(url) {
2516
- var match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
2517
- return match && match[1] || '';
2518
- }
2519
-
2520
- /**
2521
- * Calculate data maxRate
2522
- * @param {Number} [samplesCount= 10]
2523
- * @param {Number} [min= 1000]
2524
- * @returns {Function}
2525
- */
2526
- function speedometer(samplesCount, min) {
2527
- samplesCount = samplesCount || 10;
2528
- var bytes = new Array(samplesCount);
2529
- var timestamps = new Array(samplesCount);
2530
- var head = 0;
2531
- var tail = 0;
2532
- var firstSampleTS;
2533
- min = min !== undefined ? min : 1000;
2534
- return function push(chunkLength) {
2535
- var now = Date.now();
2536
- var startedAt = timestamps[tail];
2537
- if (!firstSampleTS) {
2538
- firstSampleTS = now;
2539
- }
2540
- bytes[head] = chunkLength;
2541
- timestamps[head] = now;
2542
- var i = tail;
2543
- var bytesCount = 0;
2544
- while (i !== head) {
2545
- bytesCount += bytes[i++];
2546
- i = i % samplesCount;
2547
- }
2548
- head = (head + 1) % samplesCount;
2549
- if (head === tail) {
2550
- tail = (tail + 1) % samplesCount;
2551
- }
2552
- if (now - firstSampleTS < min) {
2553
- return;
2554
- }
2555
- var passed = startedAt && now - startedAt;
2556
- return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
2557
- };
2558
- }
2559
-
2560
- /**
2561
- * Throttle decorator
2562
- * @param {Function} fn
2563
- * @param {Number} freq
2564
- * @return {Function}
2565
- */
2566
- function throttle(fn, freq) {
2567
- var timestamp = 0;
2568
- var threshold = 1000 / freq;
2569
- var lastArgs;
2570
- var timer;
2571
- var invoke = function invoke(args) {
2572
- var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now();
2573
- timestamp = now;
2574
- lastArgs = null;
2575
- if (timer) {
2576
- clearTimeout(timer);
2577
- timer = null;
2578
- }
2579
- fn.apply(null, args);
2580
- };
2581
- var throttled = function throttled() {
2582
- var now = Date.now();
2583
- var passed = now - timestamp;
2584
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2585
- args[_key] = arguments[_key];
2586
- }
2587
- if (passed >= threshold) {
2588
- invoke(args, now);
2589
- } else {
2590
- lastArgs = args;
2591
- if (!timer) {
2592
- timer = setTimeout(function () {
2593
- timer = null;
2594
- invoke(lastArgs);
2595
- }, threshold - passed);
2596
- }
2597
- }
2598
- };
2599
- var flush = function flush() {
2600
- return lastArgs && invoke(lastArgs);
2601
- };
2602
- return [throttled, flush];
2603
- }
2604
-
2605
- var progressEventReducer = function progressEventReducer(listener, isDownloadStream) {
2606
- var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
2607
- var bytesNotified = 0;
2608
- var _speedometer = speedometer(50, 250);
2609
- return throttle(function (e) {
2610
- var loaded = e.loaded;
2611
- var total = e.lengthComputable ? e.total : undefined;
2612
- var progressBytes = loaded - bytesNotified;
2613
- var rate = _speedometer(progressBytes);
2614
- var inRange = loaded <= total;
2615
- bytesNotified = loaded;
2616
- var data = _defineProperty({
2617
- loaded: loaded,
2618
- total: total,
2619
- progress: total ? loaded / total : undefined,
2620
- bytes: progressBytes,
2621
- rate: rate ? rate : undefined,
2622
- estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
2623
- event: e,
2624
- lengthComputable: total != null
2625
- }, isDownloadStream ? 'download' : 'upload', true);
2626
- listener(data);
2627
- }, freq);
2628
- };
2629
- var progressEventDecorator = function progressEventDecorator(total, throttled) {
2630
- var lengthComputable = total != null;
2631
- return [function (loaded) {
2632
- return throttled[0]({
2633
- lengthComputable: lengthComputable,
2634
- total: total,
2635
- loaded: loaded
2636
- });
2637
- }, throttled[1]];
2638
- };
2639
- var asyncDecorator = function asyncDecorator(fn) {
2640
- return function () {
2641
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2642
- args[_key] = arguments[_key];
2643
- }
2644
- return utils$1.asap(function () {
2645
- return fn.apply(void 0, args);
2646
- });
2647
- };
2648
- };
2649
-
2650
- var isURLSameOrigin = platform.hasStandardBrowserEnv ? function (origin, isMSIE) {
2651
- return function (url) {
2652
- url = new URL(url, platform.origin);
2653
- return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
2654
- };
2655
- }(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : function () {
2656
- return true;
2657
- };
2658
-
2659
- var cookies = platform.hasStandardBrowserEnv ?
2660
- // Standard browser envs support document.cookie
2661
- {
2662
- write: function write(name, value, expires, path, domain, secure) {
2663
- var cookie = [name + '=' + encodeURIComponent(value)];
2664
- utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
2665
- utils$1.isString(path) && cookie.push('path=' + path);
2666
- utils$1.isString(domain) && cookie.push('domain=' + domain);
2667
- secure === true && cookie.push('secure');
2668
- document.cookie = cookie.join('; ');
2669
- },
2670
- read: function read(name) {
2671
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
2672
- return match ? decodeURIComponent(match[3]) : null;
2673
- },
2674
- remove: function remove(name) {
2675
- this.write(name, '', Date.now() - 86400000);
2676
- }
2677
- } :
2678
- // Non-standard browser env (web workers, react-native) lack needed support.
2679
- {
2680
- write: function write() {},
2681
- read: function read() {
2682
- return null;
2683
- },
2684
- remove: function remove() {}
2685
- };
2686
-
2687
- /**
2688
- * Determines whether the specified URL is absolute
2689
- *
2690
- * @param {string} url The URL to test
2691
- *
2692
- * @returns {boolean} True if the specified URL is absolute, otherwise false
2693
- */
2694
- function isAbsoluteURL(url) {
2695
- // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
2696
- // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
2697
- // by any combination of letters, digits, plus, period, or hyphen.
2698
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2699
- }
2700
-
2701
- /**
2702
- * Creates a new URL by combining the specified URLs
2703
- *
2704
- * @param {string} baseURL The base URL
2705
- * @param {string} relativeURL The relative URL
2706
- *
2707
- * @returns {string} The combined URL
2708
- */
2709
- function combineURLs(baseURL, relativeURL) {
2710
- return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
2711
- }
2712
-
2713
- /**
2714
- * Creates a new URL by combining the baseURL with the requestedURL,
2715
- * only when the requestedURL is not already an absolute URL.
2716
- * If the requestURL is absolute, this function returns the requestedURL untouched.
2717
- *
2718
- * @param {string} baseURL The base URL
2719
- * @param {string} requestedURL Absolute or relative URL to combine
2720
- *
2721
- * @returns {string} The combined full path
2722
- */
2723
- function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2724
- var isRelativeUrl = !isAbsoluteURL(requestedURL);
2725
- if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
2726
- return combineURLs(baseURL, requestedURL);
2727
- }
2728
- return requestedURL;
2729
- }
2730
-
2731
- var headersToObject = function headersToObject(thing) {
2732
- return thing instanceof AxiosHeaders$1 ? _objectSpread2({}, thing) : thing;
2733
- };
2734
-
2735
- /**
2736
- * Config-specific merge-function which creates a new config-object
2737
- * by merging two configuration objects together.
2738
- *
2739
- * @param {Object} config1
2740
- * @param {Object} config2
2741
- *
2742
- * @returns {Object} New object resulting from merging config2 to config1
2743
- */
2744
- function mergeConfig(config1, config2) {
2745
- // eslint-disable-next-line no-param-reassign
2746
- config2 = config2 || {};
2747
- var config = {};
2748
- function getMergedValue(target, source, prop, caseless) {
2749
- if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
2750
- return utils$1.merge.call({
2751
- caseless: caseless
2752
- }, target, source);
2753
- } else if (utils$1.isPlainObject(source)) {
2754
- return utils$1.merge({}, source);
2755
- } else if (utils$1.isArray(source)) {
2756
- return source.slice();
2757
- }
2758
- return source;
2759
- }
2760
-
2761
- // eslint-disable-next-line consistent-return
2762
- function mergeDeepProperties(a, b, prop, caseless) {
2763
- if (!utils$1.isUndefined(b)) {
2764
- return getMergedValue(a, b, prop, caseless);
2765
- } else if (!utils$1.isUndefined(a)) {
2766
- return getMergedValue(undefined, a, prop, caseless);
2767
- }
2768
- }
2769
-
2770
- // eslint-disable-next-line consistent-return
2771
- function valueFromConfig2(a, b) {
2772
- if (!utils$1.isUndefined(b)) {
2773
- return getMergedValue(undefined, b);
2774
- }
2775
- }
2776
-
2777
- // eslint-disable-next-line consistent-return
2778
- function defaultToConfig2(a, b) {
2779
- if (!utils$1.isUndefined(b)) {
2780
- return getMergedValue(undefined, b);
2781
- } else if (!utils$1.isUndefined(a)) {
2782
- return getMergedValue(undefined, a);
2783
- }
2784
- }
2785
-
2786
- // eslint-disable-next-line consistent-return
2787
- function mergeDirectKeys(a, b, prop) {
2788
- if (prop in config2) {
2789
- return getMergedValue(a, b);
2790
- } else if (prop in config1) {
2791
- return getMergedValue(undefined, a);
2792
- }
2793
- }
2794
- var mergeMap = {
2795
- url: valueFromConfig2,
2796
- method: valueFromConfig2,
2797
- data: valueFromConfig2,
2798
- baseURL: defaultToConfig2,
2799
- transformRequest: defaultToConfig2,
2800
- transformResponse: defaultToConfig2,
2801
- paramsSerializer: defaultToConfig2,
2802
- timeout: defaultToConfig2,
2803
- timeoutMessage: defaultToConfig2,
2804
- withCredentials: defaultToConfig2,
2805
- withXSRFToken: defaultToConfig2,
2806
- adapter: defaultToConfig2,
2807
- responseType: defaultToConfig2,
2808
- xsrfCookieName: defaultToConfig2,
2809
- xsrfHeaderName: defaultToConfig2,
2810
- onUploadProgress: defaultToConfig2,
2811
- onDownloadProgress: defaultToConfig2,
2812
- decompress: defaultToConfig2,
2813
- maxContentLength: defaultToConfig2,
2814
- maxBodyLength: defaultToConfig2,
2815
- beforeRedirect: defaultToConfig2,
2816
- transport: defaultToConfig2,
2817
- httpAgent: defaultToConfig2,
2818
- httpsAgent: defaultToConfig2,
2819
- cancelToken: defaultToConfig2,
2820
- socketPath: defaultToConfig2,
2821
- responseEncoding: defaultToConfig2,
2822
- validateStatus: mergeDirectKeys,
2823
- headers: function headers(a, b, prop) {
2824
- return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true);
2825
- }
2826
- };
2827
- utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
2828
- var merge = mergeMap[prop] || mergeDeepProperties;
2829
- var configValue = merge(config1[prop], config2[prop], prop);
2830
- utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
2831
- });
2832
- return config;
2833
- }
2834
-
2835
- var resolveConfig = (function (config) {
2836
- var newConfig = mergeConfig({}, config);
2837
- var data = newConfig.data,
2838
- withXSRFToken = newConfig.withXSRFToken,
2839
- xsrfHeaderName = newConfig.xsrfHeaderName,
2840
- xsrfCookieName = newConfig.xsrfCookieName,
2841
- headers = newConfig.headers,
2842
- auth = newConfig.auth;
2843
- newConfig.headers = headers = AxiosHeaders$1.from(headers);
2844
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
2845
-
2846
- // HTTP basic authentication
2847
- if (auth) {
2848
- headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
2849
- }
2850
- var contentType;
2851
- if (utils$1.isFormData(data)) {
2852
- if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
2853
- headers.setContentType(undefined); // Let the browser set it
2854
- } else if ((contentType = headers.getContentType()) !== false) {
2855
- // fix semicolon duplication issue for ReactNative FormData implementation
2856
- var _ref = contentType ? contentType.split(';').map(function (token) {
2857
- return token.trim();
2858
- }).filter(Boolean) : [],
2859
- _ref2 = _toArray(_ref),
2860
- type = _ref2[0],
2861
- tokens = _ref2.slice(1);
2862
- headers.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
2863
- }
2864
- }
2865
-
2866
- // Add xsrf header
2867
- // This is only done if running in a standard browser environment.
2868
- // Specifically not if we're in a web worker, or react-native.
2869
-
2870
- if (platform.hasStandardBrowserEnv) {
2871
- withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
2872
- if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(newConfig.url)) {
2873
- // Add xsrf header
2874
- var xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
2875
- if (xsrfValue) {
2876
- headers.set(xsrfHeaderName, xsrfValue);
2877
- }
2878
- }
2879
- }
2880
- return newConfig;
2881
- });
2882
-
2883
- var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
2884
- var xhrAdapter = isXHRAdapterSupported && function (config) {
2885
- return new Promise(function dispatchXhrRequest(resolve, reject) {
2886
- var _config = resolveConfig(config);
2887
- var requestData = _config.data;
2888
- var requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
2889
- var responseType = _config.responseType,
2890
- onUploadProgress = _config.onUploadProgress,
2891
- onDownloadProgress = _config.onDownloadProgress;
2892
- var onCanceled;
2893
- var uploadThrottled, downloadThrottled;
2894
- var flushUpload, flushDownload;
2895
- function done() {
2896
- flushUpload && flushUpload(); // flush events
2897
- flushDownload && flushDownload(); // flush events
2898
-
2899
- _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
2900
- _config.signal && _config.signal.removeEventListener('abort', onCanceled);
2901
- }
2902
- var request = new XMLHttpRequest();
2903
- request.open(_config.method.toUpperCase(), _config.url, true);
2904
-
2905
- // Set the request timeout in MS
2906
- request.timeout = _config.timeout;
2907
- function onloadend() {
2908
- if (!request) {
2909
- return;
2910
- }
2911
- // Prepare the response
2912
- var responseHeaders = AxiosHeaders$1.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
2913
- var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
2914
- var response = {
2915
- data: responseData,
2916
- status: request.status,
2917
- statusText: request.statusText,
2918
- headers: responseHeaders,
2919
- config: config,
2920
- request: request
2921
- };
2922
- settle(function _resolve(value) {
2923
- resolve(value);
2924
- done();
2925
- }, function _reject(err) {
2926
- reject(err);
2927
- done();
2928
- }, response);
2929
-
2930
- // Clean up request
2931
- request = null;
2932
- }
2933
- if ('onloadend' in request) {
2934
- // Use onloadend if available
2935
- request.onloadend = onloadend;
2936
- } else {
2937
- // Listen for ready state to emulate onloadend
2938
- request.onreadystatechange = function handleLoad() {
2939
- if (!request || request.readyState !== 4) {
2940
- return;
2941
- }
2942
-
2943
- // The request errored out and we didn't get a response, this will be
2944
- // handled by onerror instead
2945
- // With one exception: request that using file: protocol, most browsers
2946
- // will return status as 0 even though it's a successful request
2947
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
2948
- return;
2949
- }
2950
- // readystate handler is calling before onerror or ontimeout handlers,
2951
- // so we should call onloadend on the next 'tick'
2952
- setTimeout(onloadend);
2953
- };
2954
- }
2955
-
2956
- // Handle browser request cancellation (as opposed to a manual cancellation)
2957
- request.onabort = function handleAbort() {
2958
- if (!request) {
2959
- return;
2960
- }
2961
- reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
2962
-
2963
- // Clean up request
2964
- request = null;
2965
- };
2966
-
2967
- // Handle low level network errors
2968
- request.onerror = function handleError() {
2969
- // Real errors are hidden from us by the browser
2970
- // onerror should only fire if it's a network error
2971
- reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
2972
-
2973
- // Clean up request
2974
- request = null;
2975
- };
2976
-
2977
- // Handle timeout
2978
- request.ontimeout = function handleTimeout() {
2979
- var timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
2980
- var transitional = _config.transitional || transitionalDefaults;
2981
- if (_config.timeoutErrorMessage) {
2982
- timeoutErrorMessage = _config.timeoutErrorMessage;
2983
- }
2984
- reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
2985
-
2986
- // Clean up request
2987
- request = null;
2988
- };
2989
-
2990
- // Remove Content-Type if data is undefined
2991
- requestData === undefined && requestHeaders.setContentType(null);
2992
-
2993
- // Add headers to the request
2994
- if ('setRequestHeader' in request) {
2995
- utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
2996
- request.setRequestHeader(key, val);
2997
- });
2998
- }
2999
-
3000
- // Add withCredentials to request if needed
3001
- if (!utils$1.isUndefined(_config.withCredentials)) {
3002
- request.withCredentials = !!_config.withCredentials;
3003
- }
3004
-
3005
- // Add responseType to request if needed
3006
- if (responseType && responseType !== 'json') {
3007
- request.responseType = _config.responseType;
3008
- }
3009
-
3010
- // Handle progress if needed
3011
- if (onDownloadProgress) {
3012
- var _progressEventReducer = progressEventReducer(onDownloadProgress, true);
3013
- var _progressEventReducer2 = _slicedToArray(_progressEventReducer, 2);
3014
- downloadThrottled = _progressEventReducer2[0];
3015
- flushDownload = _progressEventReducer2[1];
3016
- request.addEventListener('progress', downloadThrottled);
3017
- }
3018
-
3019
- // Not all browsers support upload events
3020
- if (onUploadProgress && request.upload) {
3021
- var _progressEventReducer3 = progressEventReducer(onUploadProgress);
3022
- var _progressEventReducer4 = _slicedToArray(_progressEventReducer3, 2);
3023
- uploadThrottled = _progressEventReducer4[0];
3024
- flushUpload = _progressEventReducer4[1];
3025
- request.upload.addEventListener('progress', uploadThrottled);
3026
- request.upload.addEventListener('loadend', flushUpload);
3027
- }
3028
- if (_config.cancelToken || _config.signal) {
3029
- // Handle cancellation
3030
- // eslint-disable-next-line func-names
3031
- onCanceled = function onCanceled(cancel) {
3032
- if (!request) {
3033
- return;
3034
- }
3035
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
3036
- request.abort();
3037
- request = null;
3038
- };
3039
- _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
3040
- if (_config.signal) {
3041
- _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
3042
- }
3043
- }
3044
- var protocol = parseProtocol(_config.url);
3045
- if (protocol && platform.protocols.indexOf(protocol) === -1) {
3046
- reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
3047
- return;
3048
- }
3049
-
3050
- // Send the request
3051
- request.send(requestData || null);
3052
- });
3053
- };
3054
-
3055
- var composeSignals = function composeSignals(signals, timeout) {
3056
- var _signals = signals = signals ? signals.filter(Boolean) : [],
3057
- length = _signals.length;
3058
- if (timeout || length) {
3059
- var controller = new AbortController();
3060
- var aborted;
3061
- var onabort = function onabort(reason) {
3062
- if (!aborted) {
3063
- aborted = true;
3064
- unsubscribe();
3065
- var err = reason instanceof Error ? reason : this.reason;
3066
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
3067
- }
3068
- };
3069
- var timer = timeout && setTimeout(function () {
3070
- timer = null;
3071
- onabort(new AxiosError("timeout ".concat(timeout, " of ms exceeded"), AxiosError.ETIMEDOUT));
3072
- }, timeout);
3073
- var unsubscribe = function unsubscribe() {
3074
- if (signals) {
3075
- timer && clearTimeout(timer);
3076
- timer = null;
3077
- signals.forEach(function (signal) {
3078
- signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
3079
- });
3080
- signals = null;
3081
- }
3082
- };
3083
- signals.forEach(function (signal) {
3084
- return signal.addEventListener('abort', onabort);
3085
- });
3086
- var signal = controller.signal;
3087
- signal.unsubscribe = function () {
3088
- return utils$1.asap(unsubscribe);
3089
- };
3090
- return signal;
3091
- }
3092
- };
3093
- var composeSignals$1 = composeSignals;
3094
-
3095
- var streamChunk = /*#__PURE__*/_regeneratorRuntime().mark(function streamChunk(chunk, chunkSize) {
3096
- var len, pos, end;
3097
- return _regeneratorRuntime().wrap(function streamChunk$(_context) {
3098
- while (1) switch (_context.prev = _context.next) {
3099
- case 0:
3100
- len = chunk.byteLength;
3101
- if (!(!chunkSize || len < chunkSize)) {
3102
- _context.next = 5;
3103
- break;
3104
- }
3105
- _context.next = 4;
3106
- return chunk;
3107
- case 4:
3108
- return _context.abrupt("return");
3109
- case 5:
3110
- pos = 0;
3111
- case 6:
3112
- if (!(pos < len)) {
3113
- _context.next = 13;
3114
- break;
3115
- }
3116
- end = pos + chunkSize;
3117
- _context.next = 10;
3118
- return chunk.slice(pos, end);
3119
- case 10:
3120
- pos = end;
3121
- _context.next = 6;
3122
- break;
3123
- case 13:
3124
- case "end":
3125
- return _context.stop();
3126
- }
3127
- }, streamChunk);
3128
- });
3129
- var readBytes = /*#__PURE__*/function () {
3130
- var _ref = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(iterable, chunkSize) {
3131
- var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
3132
- return _regeneratorRuntime().wrap(function _callee$(_context2) {
3133
- while (1) switch (_context2.prev = _context2.next) {
3134
- case 0:
3135
- _iteratorAbruptCompletion = false;
3136
- _didIteratorError = false;
3137
- _context2.prev = 2;
3138
- _iterator = _asyncIterator(readStream(iterable));
3139
- case 4:
3140
- _context2.next = 6;
3141
- return _awaitAsyncGenerator(_iterator.next());
3142
- case 6:
3143
- if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
3144
- _context2.next = 12;
3145
- break;
3146
- }
3147
- chunk = _step.value;
3148
- return _context2.delegateYield(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk, chunkSize))), "t0", 9);
3149
- case 9:
3150
- _iteratorAbruptCompletion = false;
3151
- _context2.next = 4;
3152
- break;
3153
- case 12:
3154
- _context2.next = 18;
3155
- break;
3156
- case 14:
3157
- _context2.prev = 14;
3158
- _context2.t1 = _context2["catch"](2);
3159
- _didIteratorError = true;
3160
- _iteratorError = _context2.t1;
3161
- case 18:
3162
- _context2.prev = 18;
3163
- _context2.prev = 19;
3164
- if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) {
3165
- _context2.next = 23;
3166
- break;
3167
- }
3168
- _context2.next = 23;
3169
- return _awaitAsyncGenerator(_iterator["return"]());
3170
- case 23:
3171
- _context2.prev = 23;
3172
- if (!_didIteratorError) {
3173
- _context2.next = 26;
3174
- break;
3175
- }
3176
- throw _iteratorError;
3177
- case 26:
3178
- return _context2.finish(23);
3179
- case 27:
3180
- return _context2.finish(18);
3181
- case 28:
3182
- case "end":
3183
- return _context2.stop();
3184
- }
3185
- }, _callee, null, [[2, 14, 18, 28], [19,, 23, 27]]);
3186
- }));
3187
- return function readBytes(_x, _x2) {
3188
- return _ref.apply(this, arguments);
3189
- };
3190
- }();
3191
- var readStream = /*#__PURE__*/function () {
3192
- var _ref2 = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(stream) {
3193
- var reader, _yield$_awaitAsyncGen, done, value;
3194
- return _regeneratorRuntime().wrap(function _callee2$(_context3) {
3195
- while (1) switch (_context3.prev = _context3.next) {
3196
- case 0:
3197
- if (!stream[Symbol.asyncIterator]) {
3198
- _context3.next = 3;
3199
- break;
3200
- }
3201
- return _context3.delegateYield(_asyncGeneratorDelegate(_asyncIterator(stream)), "t0", 2);
3202
- case 2:
3203
- return _context3.abrupt("return");
3204
- case 3:
3205
- reader = stream.getReader();
3206
- _context3.prev = 4;
3207
- case 5:
3208
- _context3.next = 7;
3209
- return _awaitAsyncGenerator(reader.read());
3210
- case 7:
3211
- _yield$_awaitAsyncGen = _context3.sent;
3212
- done = _yield$_awaitAsyncGen.done;
3213
- value = _yield$_awaitAsyncGen.value;
3214
- if (!done) {
3215
- _context3.next = 12;
3216
- break;
3217
- }
3218
- return _context3.abrupt("break", 16);
3219
- case 12:
3220
- _context3.next = 14;
3221
- return value;
3222
- case 14:
3223
- _context3.next = 5;
3224
- break;
3225
- case 16:
3226
- _context3.prev = 16;
3227
- _context3.next = 19;
3228
- return _awaitAsyncGenerator(reader.cancel());
3229
- case 19:
3230
- return _context3.finish(16);
3231
- case 20:
3232
- case "end":
3233
- return _context3.stop();
3234
- }
3235
- }, _callee2, null, [[4,, 16, 20]]);
3236
- }));
3237
- return function readStream(_x3) {
3238
- return _ref2.apply(this, arguments);
3239
- };
3240
- }();
3241
- var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish) {
3242
- var iterator = readBytes(stream, chunkSize);
3243
- var bytes = 0;
3244
- var done;
3245
- var _onFinish = function _onFinish(e) {
3246
- if (!done) {
3247
- done = true;
3248
- onFinish && onFinish(e);
3249
- }
3250
- };
3251
- return new ReadableStream({
3252
- pull: function pull(controller) {
3253
- return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
3254
- var _yield$iterator$next, _done, value, len, loadedBytes;
3255
- return _regeneratorRuntime().wrap(function _callee3$(_context4) {
3256
- while (1) switch (_context4.prev = _context4.next) {
3257
- case 0:
3258
- _context4.prev = 0;
3259
- _context4.next = 3;
3260
- return iterator.next();
3261
- case 3:
3262
- _yield$iterator$next = _context4.sent;
3263
- _done = _yield$iterator$next.done;
3264
- value = _yield$iterator$next.value;
3265
- if (!_done) {
3266
- _context4.next = 10;
3267
- break;
3268
- }
3269
- _onFinish();
3270
- controller.close();
3271
- return _context4.abrupt("return");
3272
- case 10:
3273
- len = value.byteLength;
3274
- if (onProgress) {
3275
- loadedBytes = bytes += len;
3276
- onProgress(loadedBytes);
3277
- }
3278
- controller.enqueue(new Uint8Array(value));
3279
- _context4.next = 19;
3280
- break;
3281
- case 15:
3282
- _context4.prev = 15;
3283
- _context4.t0 = _context4["catch"](0);
3284
- _onFinish(_context4.t0);
3285
- throw _context4.t0;
3286
- case 19:
3287
- case "end":
3288
- return _context4.stop();
3289
- }
3290
- }, _callee3, null, [[0, 15]]);
3291
- }))();
3292
- },
3293
- cancel: function cancel(reason) {
3294
- _onFinish(reason);
3295
- return iterator["return"]();
3296
- }
3297
- }, {
3298
- highWaterMark: 2
3299
- });
3300
- };
3301
-
3302
- var isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
3303
- var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
3304
-
3305
- // used only inside the fetch adapter
3306
- var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) {
3307
- return function (str) {
3308
- return encoder.encode(str);
3309
- };
3310
- }(new TextEncoder()) : ( /*#__PURE__*/function () {
3311
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
3312
- return _regeneratorRuntime().wrap(function _callee$(_context) {
3313
- while (1) switch (_context.prev = _context.next) {
3314
- case 0:
3315
- _context.t0 = Uint8Array;
3316
- _context.next = 3;
3317
- return new Response(str).arrayBuffer();
3318
- case 3:
3319
- _context.t1 = _context.sent;
3320
- return _context.abrupt("return", new _context.t0(_context.t1));
3321
- case 5:
3322
- case "end":
3323
- return _context.stop();
3324
- }
3325
- }, _callee);
3326
- }));
3327
- return function (_x) {
3328
- return _ref.apply(this, arguments);
3329
- };
3330
- }()));
3331
- var test = function test(fn) {
3332
- try {
3333
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
3334
- args[_key - 1] = arguments[_key];
3335
- }
3336
- return !!fn.apply(void 0, args);
3337
- } catch (e) {
3338
- return false;
3339
- }
3340
- };
3341
- var supportsRequestStream = isReadableStreamSupported && test(function () {
3342
- var duplexAccessed = false;
3343
- var hasContentType = new Request(platform.origin, {
3344
- body: new ReadableStream(),
3345
- method: 'POST',
3346
- get duplex() {
3347
- duplexAccessed = true;
3348
- return 'half';
3349
- }
3350
- }).headers.has('Content-Type');
3351
- return duplexAccessed && !hasContentType;
3352
- });
3353
- var DEFAULT_CHUNK_SIZE = 64 * 1024;
3354
- var supportsResponseStream = isReadableStreamSupported && test(function () {
3355
- return utils$1.isReadableStream(new Response('').body);
3356
- });
3357
- var resolvers = {
3358
- stream: supportsResponseStream && function (res) {
3359
- return res.body;
3360
- }
3361
- };
3362
- isFetchSupported && function (res) {
3363
- ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) {
3364
- !resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? function (res) {
3365
- return res[type]();
3366
- } : function (_, config) {
3367
- throw new AxiosError("Response type '".concat(type, "' is not supported"), AxiosError.ERR_NOT_SUPPORT, config);
3368
- });
3369
- });
3370
- }(new Response());
3371
- var getBodyLength = /*#__PURE__*/function () {
3372
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body) {
3373
- var _request;
3374
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3375
- while (1) switch (_context2.prev = _context2.next) {
3376
- case 0:
3377
- if (!(body == null)) {
3378
- _context2.next = 2;
3379
- break;
3380
- }
3381
- return _context2.abrupt("return", 0);
3382
- case 2:
3383
- if (!utils$1.isBlob(body)) {
3384
- _context2.next = 4;
3385
- break;
3386
- }
3387
- return _context2.abrupt("return", body.size);
3388
- case 4:
3389
- if (!utils$1.isSpecCompliantForm(body)) {
3390
- _context2.next = 9;
3391
- break;
3392
- }
3393
- _request = new Request(platform.origin, {
3394
- method: 'POST',
3395
- body: body
3396
- });
3397
- _context2.next = 8;
3398
- return _request.arrayBuffer();
3399
- case 8:
3400
- return _context2.abrupt("return", _context2.sent.byteLength);
3401
- case 9:
3402
- if (!(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body))) {
3403
- _context2.next = 11;
3404
- break;
3405
- }
3406
- return _context2.abrupt("return", body.byteLength);
3407
- case 11:
3408
- if (utils$1.isURLSearchParams(body)) {
3409
- body = body + '';
3410
- }
3411
- if (!utils$1.isString(body)) {
3412
- _context2.next = 16;
3413
- break;
3414
- }
3415
- _context2.next = 15;
3416
- return encodeText(body);
3417
- case 15:
3418
- return _context2.abrupt("return", _context2.sent.byteLength);
3419
- case 16:
3420
- case "end":
3421
- return _context2.stop();
3422
- }
3423
- }, _callee2);
3424
- }));
3425
- return function getBodyLength(_x2) {
3426
- return _ref2.apply(this, arguments);
3427
- };
3428
- }();
3429
- var resolveBodyLength = /*#__PURE__*/function () {
3430
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(headers, body) {
3431
- var length;
3432
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
3433
- while (1) switch (_context3.prev = _context3.next) {
3434
- case 0:
3435
- length = utils$1.toFiniteNumber(headers.getContentLength());
3436
- return _context3.abrupt("return", length == null ? getBodyLength(body) : length);
3437
- case 2:
3438
- case "end":
3439
- return _context3.stop();
3440
- }
3441
- }, _callee3);
3442
- }));
3443
- return function resolveBodyLength(_x3, _x4) {
3444
- return _ref3.apply(this, arguments);
3445
- };
3446
- }();
3447
- var fetchAdapter = isFetchSupported && ( /*#__PURE__*/function () {
3448
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(config) {
3449
- var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, composedSignal, request, unsubscribe, requestContentLength, _request, contentTypeHeader, _progressEventDecorat, _progressEventDecorat2, onProgress, flush, isCredentialsSupported, response, isStreamResponse, options, responseContentLength, _ref5, _ref6, _onProgress, _flush, responseData;
3450
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
3451
- while (1) switch (_context4.prev = _context4.next) {
3452
- case 0:
3453
- _resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
3454
- responseType = responseType ? (responseType + '').toLowerCase() : 'text';
3455
- composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
3456
- unsubscribe = composedSignal && composedSignal.unsubscribe && function () {
3457
- composedSignal.unsubscribe();
3458
- };
3459
- _context4.prev = 4;
3460
- _context4.t0 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
3461
- if (!_context4.t0) {
3462
- _context4.next = 11;
3463
- break;
3464
- }
3465
- _context4.next = 9;
3466
- return resolveBodyLength(headers, data);
3467
- case 9:
3468
- _context4.t1 = requestContentLength = _context4.sent;
3469
- _context4.t0 = _context4.t1 !== 0;
3470
- case 11:
3471
- if (!_context4.t0) {
3472
- _context4.next = 15;
3473
- break;
3474
- }
3475
- _request = new Request(url, {
3476
- method: 'POST',
3477
- body: data,
3478
- duplex: "half"
3479
- });
3480
- if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
3481
- headers.setContentType(contentTypeHeader);
3482
- }
3483
- if (_request.body) {
3484
- _progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 = _slicedToArray(_progressEventDecorat, 2), onProgress = _progressEventDecorat2[0], flush = _progressEventDecorat2[1];
3485
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
3486
- }
3487
- case 15:
3488
- if (!utils$1.isString(withCredentials)) {
3489
- withCredentials = withCredentials ? 'include' : 'omit';
3490
- }
3491
-
3492
- // Cloudflare Workers throws when credentials are defined
3493
- // see https://github.com/cloudflare/workerd/issues/902
3494
- isCredentialsSupported = "credentials" in Request.prototype;
3495
- request = new Request(url, _objectSpread2(_objectSpread2({}, fetchOptions), {}, {
3496
- signal: composedSignal,
3497
- method: method.toUpperCase(),
3498
- headers: headers.normalize().toJSON(),
3499
- body: data,
3500
- duplex: "half",
3501
- credentials: isCredentialsSupported ? withCredentials : undefined
3502
- }));
3503
- _context4.next = 20;
3504
- return fetch(request, fetchOptions);
3505
- case 20:
3506
- response = _context4.sent;
3507
- isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
3508
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
3509
- options = {};
3510
- ['status', 'statusText', 'headers'].forEach(function (prop) {
3511
- options[prop] = response[prop];
3512
- });
3513
- responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
3514
- _ref5 = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [], _ref6 = _slicedToArray(_ref5, 2), _onProgress = _ref6[0], _flush = _ref6[1];
3515
- response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, _onProgress, function () {
3516
- _flush && _flush();
3517
- unsubscribe && unsubscribe();
3518
- }), options);
3519
- }
3520
- responseType = responseType || 'text';
3521
- _context4.next = 26;
3522
- return resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
3523
- case 26:
3524
- responseData = _context4.sent;
3525
- !isStreamResponse && unsubscribe && unsubscribe();
3526
- _context4.next = 30;
3527
- return new Promise(function (resolve, reject) {
3528
- settle(resolve, reject, {
3529
- data: responseData,
3530
- headers: AxiosHeaders$1.from(response.headers),
3531
- status: response.status,
3532
- statusText: response.statusText,
3533
- config: config,
3534
- request: request
3535
- });
3536
- });
3537
- case 30:
3538
- return _context4.abrupt("return", _context4.sent);
3539
- case 33:
3540
- _context4.prev = 33;
3541
- _context4.t2 = _context4["catch"](4);
3542
- unsubscribe && unsubscribe();
3543
- if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /Load failed|fetch/i.test(_context4.t2.message))) {
3544
- _context4.next = 38;
3545
- break;
3546
- }
3547
- throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request), {
3548
- cause: _context4.t2.cause || _context4.t2
3549
- });
3550
- case 38:
3551
- throw AxiosError.from(_context4.t2, _context4.t2 && _context4.t2.code, config, request);
3552
- case 39:
3553
- case "end":
3554
- return _context4.stop();
3555
- }
3556
- }, _callee4, null, [[4, 33]]);
3557
- }));
3558
- return function (_x5) {
3559
- return _ref4.apply(this, arguments);
3560
- };
3561
- }());
3562
-
3563
- var knownAdapters = {
3564
- http: httpAdapter,
3565
- xhr: xhrAdapter,
3566
- fetch: fetchAdapter
3567
- };
3568
- utils$1.forEach(knownAdapters, function (fn, value) {
3569
- if (fn) {
3570
- try {
3571
- Object.defineProperty(fn, 'name', {
3572
- value: value
3573
- });
3574
- } catch (e) {
3575
- // eslint-disable-next-line no-empty
3576
- }
3577
- Object.defineProperty(fn, 'adapterName', {
3578
- value: value
3579
- });
3580
- }
3581
- });
3582
- var renderReason = function renderReason(reason) {
3583
- return "- ".concat(reason);
3584
- };
3585
- var isResolvedHandle = function isResolvedHandle(adapter) {
3586
- return utils$1.isFunction(adapter) || adapter === null || adapter === false;
3587
- };
3588
- var adapters = {
3589
- getAdapter: function getAdapter(adapters) {
3590
- adapters = utils$1.isArray(adapters) ? adapters : [adapters];
3591
- var _adapters = adapters,
3592
- length = _adapters.length;
3593
- var nameOrAdapter;
3594
- var adapter;
3595
- var rejectedReasons = {};
3596
- for (var i = 0; i < length; i++) {
3597
- nameOrAdapter = adapters[i];
3598
- var id = void 0;
3599
- adapter = nameOrAdapter;
3600
- if (!isResolvedHandle(nameOrAdapter)) {
3601
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3602
- if (adapter === undefined) {
3603
- throw new AxiosError("Unknown adapter '".concat(id, "'"));
3604
- }
3605
- }
3606
- if (adapter) {
3607
- break;
3608
- }
3609
- rejectedReasons[id || '#' + i] = adapter;
3610
- }
3611
- if (!adapter) {
3612
- var reasons = Object.entries(rejectedReasons).map(function (_ref) {
3613
- var _ref2 = _slicedToArray(_ref, 2),
3614
- id = _ref2[0],
3615
- state = _ref2[1];
3616
- return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
3617
- });
3618
- var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
3619
- throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
3620
- }
3621
- return adapter;
3622
- },
3623
- adapters: knownAdapters
3624
- };
3625
-
3626
- /**
3627
- * Throws a `CanceledError` if cancellation has been requested.
3628
- *
3629
- * @param {Object} config The config that is to be used for the request
3630
- *
3631
- * @returns {void}
3632
- */
3633
- function throwIfCancellationRequested(config) {
3634
- if (config.cancelToken) {
3635
- config.cancelToken.throwIfRequested();
3636
- }
3637
- if (config.signal && config.signal.aborted) {
3638
- throw new CanceledError(null, config);
3639
- }
3640
- }
3641
-
3642
- /**
3643
- * Dispatch a request to the server using the configured adapter.
3644
- *
3645
- * @param {object} config The config that is to be used for the request
3646
- *
3647
- * @returns {Promise} The Promise to be fulfilled
3648
- */
3649
- function dispatchRequest(config) {
3650
- throwIfCancellationRequested(config);
3651
- config.headers = AxiosHeaders$1.from(config.headers);
3652
-
3653
- // Transform request data
3654
- config.data = transformData.call(config, config.transformRequest);
3655
- if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
3656
- config.headers.setContentType('application/x-www-form-urlencoded', false);
3657
- }
3658
- var adapter = adapters.getAdapter(config.adapter || defaults$1.adapter);
3659
- return adapter(config).then(function onAdapterResolution(response) {
3660
- throwIfCancellationRequested(config);
3661
-
3662
- // Transform response data
3663
- response.data = transformData.call(config, config.transformResponse, response);
3664
- response.headers = AxiosHeaders$1.from(response.headers);
3665
- return response;
3666
- }, function onAdapterRejection(reason) {
3667
- if (!isCancel(reason)) {
3668
- throwIfCancellationRequested(config);
3669
-
3670
- // Transform response data
3671
- if (reason && reason.response) {
3672
- reason.response.data = transformData.call(config, config.transformResponse, reason.response);
3673
- reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
3674
- }
3675
- }
3676
- return Promise.reject(reason);
3677
- });
3678
- }
3679
-
3680
- var VERSION = "1.10.0";
3681
-
3682
- var validators$1 = {};
3683
-
3684
- // eslint-disable-next-line func-names
3685
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
3686
- validators$1[type] = function validator(thing) {
3687
- return _typeof(thing) === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
3688
- };
3689
- });
3690
- var deprecatedWarnings = {};
3691
-
3692
- /**
3693
- * Transitional option validator
3694
- *
3695
- * @param {function|boolean?} validator - set to false if the transitional option has been removed
3696
- * @param {string?} version - deprecated version / removed since version
3697
- * @param {string?} message - some message with additional info
3698
- *
3699
- * @returns {function}
3700
- */
3701
- validators$1.transitional = function transitional(validator, version, message) {
3702
- function formatMessage(opt, desc) {
3703
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
3704
- }
3705
-
3706
- // eslint-disable-next-line func-names
3707
- return function (value, opt, opts) {
3708
- if (validator === false) {
3709
- throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
3710
- }
3711
- if (version && !deprecatedWarnings[opt]) {
3712
- deprecatedWarnings[opt] = true;
3713
- // eslint-disable-next-line no-console
3714
- console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
3715
- }
3716
- return validator ? validator(value, opt, opts) : true;
3717
- };
3718
- };
3719
- validators$1.spelling = function spelling(correctSpelling) {
3720
- return function (value, opt) {
3721
- // eslint-disable-next-line no-console
3722
- console.warn("".concat(opt, " is likely a misspelling of ").concat(correctSpelling));
3723
- return true;
3724
- };
3725
- };
3726
-
3727
- /**
3728
- * Assert object's properties type
3729
- *
3730
- * @param {object} options
3731
- * @param {object} schema
3732
- * @param {boolean?} allowUnknown
3733
- *
3734
- * @returns {object}
3735
- */
3736
-
3737
- function assertOptions(options, schema, allowUnknown) {
3738
- if (_typeof(options) !== 'object') {
3739
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
3740
- }
3741
- var keys = Object.keys(options);
3742
- var i = keys.length;
3743
- while (i-- > 0) {
3744
- var opt = keys[i];
3745
- var validator = schema[opt];
3746
- if (validator) {
3747
- var value = options[opt];
3748
- var result = value === undefined || validator(value, opt, options);
3749
- if (result !== true) {
3750
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
3751
- }
3752
- continue;
3753
- }
3754
- if (allowUnknown !== true) {
3755
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
3756
- }
3757
- }
3758
- }
3759
- var validator = {
3760
- assertOptions: assertOptions,
3761
- validators: validators$1
3762
- };
3763
-
3764
- var validators = validator.validators;
3765
-
3766
- /**
3767
- * Create a new instance of Axios
3768
- *
3769
- * @param {Object} instanceConfig The default config for the instance
3770
- *
3771
- * @return {Axios} A new instance of Axios
3772
- */
3773
- var Axios = /*#__PURE__*/function () {
3774
- function Axios(instanceConfig) {
3775
- _classCallCheck(this, Axios);
3776
- this.defaults = instanceConfig || {};
3777
- this.interceptors = {
3778
- request: new InterceptorManager$1(),
3779
- response: new InterceptorManager$1()
3780
- };
3781
- }
3782
-
3783
- /**
3784
- * Dispatch a request
3785
- *
3786
- * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
3787
- * @param {?Object} config
3788
- *
3789
- * @returns {Promise} The Promise to be fulfilled
3790
- */
3791
- _createClass(Axios, [{
3792
- key: "request",
3793
- value: (function () {
3794
- var _request2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl, config) {
3795
- var dummy, stack;
3796
- return _regeneratorRuntime().wrap(function _callee$(_context) {
3797
- while (1) switch (_context.prev = _context.next) {
3798
- case 0:
3799
- _context.prev = 0;
3800
- _context.next = 3;
3801
- return this._request(configOrUrl, config);
3802
- case 3:
3803
- return _context.abrupt("return", _context.sent);
3804
- case 6:
3805
- _context.prev = 6;
3806
- _context.t0 = _context["catch"](0);
3807
- if (_context.t0 instanceof Error) {
3808
- dummy = {};
3809
- Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
3810
-
3811
- // slice off the Error: ... line
3812
- stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
3813
- try {
3814
- if (!_context.t0.stack) {
3815
- _context.t0.stack = stack;
3816
- // match without the 2 top stack lines
3817
- } else if (stack && !String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
3818
- _context.t0.stack += '\n' + stack;
3819
- }
3820
- } catch (e) {
3821
- // ignore the case where "stack" is an un-writable property
3822
- }
3823
- }
3824
- throw _context.t0;
3825
- case 10:
3826
- case "end":
3827
- return _context.stop();
3828
- }
3829
- }, _callee, this, [[0, 6]]);
3830
- }));
3831
- function request(_x, _x2) {
3832
- return _request2.apply(this, arguments);
3833
- }
3834
- return request;
3835
- }())
3836
- }, {
3837
- key: "_request",
3838
- value: function _request(configOrUrl, config) {
3839
- /*eslint no-param-reassign:0*/
3840
- // Allow for axios('example/url'[, config]) a la fetch API
3841
- if (typeof configOrUrl === 'string') {
3842
- config = config || {};
3843
- config.url = configOrUrl;
3844
- } else {
3845
- config = configOrUrl || {};
3846
- }
3847
- config = mergeConfig(this.defaults, config);
3848
- var _config = config,
3849
- transitional = _config.transitional,
3850
- paramsSerializer = _config.paramsSerializer,
3851
- headers = _config.headers;
3852
- if (transitional !== undefined) {
3853
- validator.assertOptions(transitional, {
3854
- silentJSONParsing: validators.transitional(validators["boolean"]),
3855
- forcedJSONParsing: validators.transitional(validators["boolean"]),
3856
- clarifyTimeoutError: validators.transitional(validators["boolean"])
3857
- }, false);
3858
- }
3859
- if (paramsSerializer != null) {
3860
- if (utils$1.isFunction(paramsSerializer)) {
3861
- config.paramsSerializer = {
3862
- serialize: paramsSerializer
3863
- };
3864
- } else {
3865
- validator.assertOptions(paramsSerializer, {
3866
- encode: validators["function"],
3867
- serialize: validators["function"]
3868
- }, true);
3869
- }
3870
- }
3871
-
3872
- // Set config.allowAbsoluteUrls
3873
- if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
3874
- config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
3875
- } else {
3876
- config.allowAbsoluteUrls = true;
3877
- }
3878
- validator.assertOptions(config, {
3879
- baseUrl: validators.spelling('baseURL'),
3880
- withXsrfToken: validators.spelling('withXSRFToken')
3881
- }, true);
3882
-
3883
- // Set config.method
3884
- config.method = (config.method || this.defaults.method || 'get').toLowerCase();
3885
-
3886
- // Flatten headers
3887
- var contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
3888
- headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], function (method) {
3889
- delete headers[method];
3890
- });
3891
- config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
3892
-
3893
- // filter out skipped interceptors
3894
- var requestInterceptorChain = [];
3895
- var synchronousRequestInterceptors = true;
3896
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
3897
- if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
3898
- return;
3899
- }
3900
- synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
3901
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3902
- });
3903
- var responseInterceptorChain = [];
3904
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
3905
- responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
3906
- });
3907
- var promise;
3908
- var i = 0;
3909
- var len;
3910
- if (!synchronousRequestInterceptors) {
3911
- var chain = [dispatchRequest.bind(this), undefined];
3912
- chain.unshift.apply(chain, requestInterceptorChain);
3913
- chain.push.apply(chain, responseInterceptorChain);
3914
- len = chain.length;
3915
- promise = Promise.resolve(config);
3916
- while (i < len) {
3917
- promise = promise.then(chain[i++], chain[i++]);
3918
- }
3919
- return promise;
3920
- }
3921
- len = requestInterceptorChain.length;
3922
- var newConfig = config;
3923
- i = 0;
3924
- while (i < len) {
3925
- var onFulfilled = requestInterceptorChain[i++];
3926
- var onRejected = requestInterceptorChain[i++];
3927
- try {
3928
- newConfig = onFulfilled(newConfig);
3929
- } catch (error) {
3930
- onRejected.call(this, error);
3931
- break;
3932
- }
3933
- }
3934
- try {
3935
- promise = dispatchRequest.call(this, newConfig);
3936
- } catch (error) {
3937
- return Promise.reject(error);
3938
- }
3939
- i = 0;
3940
- len = responseInterceptorChain.length;
3941
- while (i < len) {
3942
- promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
3943
- }
3944
- return promise;
3945
- }
3946
- }, {
3947
- key: "getUri",
3948
- value: function getUri(config) {
3949
- config = mergeConfig(this.defaults, config);
3950
- var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
3951
- return buildURL(fullPath, config.params, config.paramsSerializer);
3952
- }
3953
- }]);
3954
- return Axios;
3955
- }(); // Provide aliases for supported request methods
3956
- utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
3957
- /*eslint func-names:0*/
3958
- Axios.prototype[method] = function (url, config) {
3959
- return this.request(mergeConfig(config || {}, {
3960
- method: method,
3961
- url: url,
3962
- data: (config || {}).data
3963
- }));
3964
- };
3965
- });
3966
- utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
3967
- /*eslint func-names:0*/
3968
-
3969
- function generateHTTPMethod(isForm) {
3970
- return function httpMethod(url, data, config) {
3971
- return this.request(mergeConfig(config || {}, {
3972
- method: method,
3973
- headers: isForm ? {
3974
- 'Content-Type': 'multipart/form-data'
3975
- } : {},
3976
- url: url,
3977
- data: data
3978
- }));
3979
- };
3980
- }
3981
- Axios.prototype[method] = generateHTTPMethod();
3982
- Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
3983
- });
3984
- var Axios$1 = Axios;
3985
-
3986
- /**
3987
- * A `CancelToken` is an object that can be used to request cancellation of an operation.
3988
- *
3989
- * @param {Function} executor The executor function.
3990
- *
3991
- * @returns {CancelToken}
3992
- */
3993
- var CancelToken = /*#__PURE__*/function () {
3994
- function CancelToken(executor) {
3995
- _classCallCheck(this, CancelToken);
3996
- if (typeof executor !== 'function') {
3997
- throw new TypeError('executor must be a function.');
3998
- }
3999
- var resolvePromise;
4000
- this.promise = new Promise(function promiseExecutor(resolve) {
4001
- resolvePromise = resolve;
4002
- });
4003
- var token = this;
4004
-
4005
- // eslint-disable-next-line func-names
4006
- this.promise.then(function (cancel) {
4007
- if (!token._listeners) return;
4008
- var i = token._listeners.length;
4009
- while (i-- > 0) {
4010
- token._listeners[i](cancel);
4011
- }
4012
- token._listeners = null;
4013
- });
4014
-
4015
- // eslint-disable-next-line func-names
4016
- this.promise.then = function (onfulfilled) {
4017
- var _resolve;
4018
- // eslint-disable-next-line func-names
4019
- var promise = new Promise(function (resolve) {
4020
- token.subscribe(resolve);
4021
- _resolve = resolve;
4022
- }).then(onfulfilled);
4023
- promise.cancel = function reject() {
4024
- token.unsubscribe(_resolve);
4025
- };
4026
- return promise;
4027
- };
4028
- executor(function cancel(message, config, request) {
4029
- if (token.reason) {
4030
- // Cancellation has already been requested
4031
- return;
4032
- }
4033
- token.reason = new CanceledError(message, config, request);
4034
- resolvePromise(token.reason);
4035
- });
4036
- }
4037
-
4038
- /**
4039
- * Throws a `CanceledError` if cancellation has been requested.
4040
- */
4041
- _createClass(CancelToken, [{
4042
- key: "throwIfRequested",
4043
- value: function throwIfRequested() {
4044
- if (this.reason) {
4045
- throw this.reason;
4046
- }
4047
- }
4048
-
4049
- /**
4050
- * Subscribe to the cancel signal
4051
- */
4052
- }, {
4053
- key: "subscribe",
4054
- value: function subscribe(listener) {
4055
- if (this.reason) {
4056
- listener(this.reason);
4057
- return;
4058
- }
4059
- if (this._listeners) {
4060
- this._listeners.push(listener);
4061
- } else {
4062
- this._listeners = [listener];
4063
- }
4064
- }
4065
-
4066
- /**
4067
- * Unsubscribe from the cancel signal
4068
- */
4069
- }, {
4070
- key: "unsubscribe",
4071
- value: function unsubscribe(listener) {
4072
- if (!this._listeners) {
4073
- return;
4074
- }
4075
- var index = this._listeners.indexOf(listener);
4076
- if (index !== -1) {
4077
- this._listeners.splice(index, 1);
4078
- }
4079
- }
4080
- }, {
4081
- key: "toAbortSignal",
4082
- value: function toAbortSignal() {
4083
- var _this = this;
4084
- var controller = new AbortController();
4085
- var abort = function abort(err) {
4086
- controller.abort(err);
4087
- };
4088
- this.subscribe(abort);
4089
- controller.signal.unsubscribe = function () {
4090
- return _this.unsubscribe(abort);
4091
- };
4092
- return controller.signal;
4093
- }
4094
-
4095
- /**
4096
- * Returns an object that contains a new `CancelToken` and a function that, when called,
4097
- * cancels the `CancelToken`.
4098
- */
4099
- }], [{
4100
- key: "source",
4101
- value: function source() {
4102
- var cancel;
4103
- var token = new CancelToken(function executor(c) {
4104
- cancel = c;
4105
- });
4106
- return {
4107
- token: token,
4108
- cancel: cancel
4109
- };
4110
- }
4111
- }]);
4112
- return CancelToken;
4113
- }();
4114
- var CancelToken$1 = CancelToken;
4115
-
4116
- /**
4117
- * Syntactic sugar for invoking a function and expanding an array for arguments.
4118
- *
4119
- * Common use case would be to use `Function.prototype.apply`.
4120
- *
4121
- * ```js
4122
- * function f(x, y, z) {}
4123
- * var args = [1, 2, 3];
4124
- * f.apply(null, args);
4125
- * ```
4126
- *
4127
- * With `spread` this example can be re-written.
4128
- *
4129
- * ```js
4130
- * spread(function(x, y, z) {})([1, 2, 3]);
4131
- * ```
4132
- *
4133
- * @param {Function} callback
4134
- *
4135
- * @returns {Function}
4136
- */
4137
- function spread(callback) {
4138
- return function wrap(arr) {
4139
- return callback.apply(null, arr);
4140
- };
4141
- }
4142
-
4143
- /**
4144
- * Determines whether the payload is an error thrown by Axios
4145
- *
4146
- * @param {*} payload The value to test
4147
- *
4148
- * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
4149
- */
4150
- function isAxiosError(payload) {
4151
- return utils$1.isObject(payload) && payload.isAxiosError === true;
4152
- }
4153
-
4154
- var HttpStatusCode = {
4155
- Continue: 100,
4156
- SwitchingProtocols: 101,
4157
- Processing: 102,
4158
- EarlyHints: 103,
4159
- Ok: 200,
4160
- Created: 201,
4161
- Accepted: 202,
4162
- NonAuthoritativeInformation: 203,
4163
- NoContent: 204,
4164
- ResetContent: 205,
4165
- PartialContent: 206,
4166
- MultiStatus: 207,
4167
- AlreadyReported: 208,
4168
- ImUsed: 226,
4169
- MultipleChoices: 300,
4170
- MovedPermanently: 301,
4171
- Found: 302,
4172
- SeeOther: 303,
4173
- NotModified: 304,
4174
- UseProxy: 305,
4175
- Unused: 306,
4176
- TemporaryRedirect: 307,
4177
- PermanentRedirect: 308,
4178
- BadRequest: 400,
4179
- Unauthorized: 401,
4180
- PaymentRequired: 402,
4181
- Forbidden: 403,
4182
- NotFound: 404,
4183
- MethodNotAllowed: 405,
4184
- NotAcceptable: 406,
4185
- ProxyAuthenticationRequired: 407,
4186
- RequestTimeout: 408,
4187
- Conflict: 409,
4188
- Gone: 410,
4189
- LengthRequired: 411,
4190
- PreconditionFailed: 412,
4191
- PayloadTooLarge: 413,
4192
- UriTooLong: 414,
4193
- UnsupportedMediaType: 415,
4194
- RangeNotSatisfiable: 416,
4195
- ExpectationFailed: 417,
4196
- ImATeapot: 418,
4197
- MisdirectedRequest: 421,
4198
- UnprocessableEntity: 422,
4199
- Locked: 423,
4200
- FailedDependency: 424,
4201
- TooEarly: 425,
4202
- UpgradeRequired: 426,
4203
- PreconditionRequired: 428,
4204
- TooManyRequests: 429,
4205
- RequestHeaderFieldsTooLarge: 431,
4206
- UnavailableForLegalReasons: 451,
4207
- InternalServerError: 500,
4208
- NotImplemented: 501,
4209
- BadGateway: 502,
4210
- ServiceUnavailable: 503,
4211
- GatewayTimeout: 504,
4212
- HttpVersionNotSupported: 505,
4213
- VariantAlsoNegotiates: 506,
4214
- InsufficientStorage: 507,
4215
- LoopDetected: 508,
4216
- NotExtended: 510,
4217
- NetworkAuthenticationRequired: 511
4218
- };
4219
- Object.entries(HttpStatusCode).forEach(function (_ref) {
4220
- var _ref2 = _slicedToArray(_ref, 2),
4221
- key = _ref2[0],
4222
- value = _ref2[1];
4223
- HttpStatusCode[value] = key;
4224
- });
4225
- var HttpStatusCode$1 = HttpStatusCode;
4226
-
4227
- /**
4228
- * Create an instance of Axios
4229
- *
4230
- * @param {Object} defaultConfig The default config for the instance
4231
- *
4232
- * @returns {Axios} A new instance of Axios
4233
- */
4234
- function createInstance(defaultConfig) {
4235
- var context = new Axios$1(defaultConfig);
4236
- var instance = bind(Axios$1.prototype.request, context);
4237
-
4238
- // Copy axios.prototype to instance
4239
- utils$1.extend(instance, Axios$1.prototype, context, {
4240
- allOwnKeys: true
4241
- });
4242
-
4243
- // Copy context to instance
4244
- utils$1.extend(instance, context, null, {
4245
- allOwnKeys: true
4246
- });
4247
-
4248
- // Factory for creating new instances
4249
- instance.create = function create(instanceConfig) {
4250
- return createInstance(mergeConfig(defaultConfig, instanceConfig));
4251
- };
4252
- return instance;
4253
- }
4254
-
4255
- // Create the default instance to be exported
4256
- var axios = createInstance(defaults$1);
4257
-
4258
- // Expose Axios class to allow class inheritance
4259
- axios.Axios = Axios$1;
4260
-
4261
- // Expose Cancel & CancelToken
4262
- axios.CanceledError = CanceledError;
4263
- axios.CancelToken = CancelToken$1;
4264
- axios.isCancel = isCancel;
4265
- axios.VERSION = VERSION;
4266
- axios.toFormData = toFormData;
4267
-
4268
- // Expose AxiosError class
4269
- axios.AxiosError = AxiosError;
4270
-
4271
- // alias for CanceledError for backward compatibility
4272
- axios.Cancel = axios.CanceledError;
4273
-
4274
- // Expose all/spread
4275
- axios.all = function all(promises) {
4276
- return Promise.all(promises);
4277
- };
4278
- axios.spread = spread;
4279
-
4280
- // Expose isAxiosError
4281
- axios.isAxiosError = isAxiosError;
4282
-
4283
- // Expose mergeConfig
4284
- axios.mergeConfig = mergeConfig;
4285
- axios.AxiosHeaders = AxiosHeaders$1;
4286
- axios.formToJSON = function (thing) {
4287
- return formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
4288
- };
4289
- axios.getAdapter = adapters.getAdapter;
4290
- axios.HttpStatusCode = HttpStatusCode$1;
4291
- axios["default"] = axios;
4292
-
4293
- return axios;
4294
-
4295
- }));
4296
- //# sourceMappingURL=axios.js.map