@dbmx/confy 0.0.77 → 0.0.80

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 (413) hide show
  1. package/esm/_virtual/browser.js +4 -0
  2. package/esm/_virtual/browser.js.map +1 -0
  3. package/esm/_virtual/index15.js +4 -0
  4. package/esm/_virtual/index15.js.map +1 -0
  5. package/esm/_virtual/index16.js +4 -0
  6. package/esm/_virtual/index16.js.map +1 -0
  7. package/esm/_virtual/index17.js +4 -0
  8. package/esm/_virtual/index17.js.map +1 -0
  9. package/esm/_virtual/index18.js +4 -0
  10. package/esm/_virtual/index18.js.map +1 -0
  11. package/esm/_virtual/node.js +4 -0
  12. package/esm/_virtual/node.js.map +1 -0
  13. package/esm/_virtual/serialOrdered.js +4 -0
  14. package/esm/_virtual/serialOrdered.js.map +1 -0
  15. package/esm/components/SelectMemberMenu/index.js +1 -1
  16. package/esm/ducks/utils.js +1 -1
  17. package/esm/forms/utils.js +2 -2
  18. package/esm/hooks/roles.js +1 -1
  19. package/esm/node_modules/asynckit/index.js +13 -0
  20. package/esm/node_modules/asynckit/index.js.map +1 -0
  21. package/esm/node_modules/asynckit/lib/abort.js +32 -0
  22. package/esm/node_modules/asynckit/lib/abort.js.map +1 -0
  23. package/esm/node_modules/asynckit/lib/async.js +39 -0
  24. package/esm/node_modules/asynckit/lib/async.js.map +1 -0
  25. package/esm/node_modules/asynckit/lib/defer.js +29 -0
  26. package/esm/node_modules/asynckit/lib/defer.js.map +1 -0
  27. package/esm/node_modules/asynckit/lib/iterate.js +81 -0
  28. package/esm/node_modules/asynckit/lib/iterate.js.map +1 -0
  29. package/esm/node_modules/asynckit/lib/state.js +40 -0
  30. package/esm/node_modules/asynckit/lib/state.js.map +1 -0
  31. package/esm/node_modules/asynckit/lib/terminator.js +35 -0
  32. package/esm/node_modules/asynckit/lib/terminator.js.map +1 -0
  33. package/esm/node_modules/asynckit/parallel.js +50 -0
  34. package/esm/node_modules/asynckit/parallel.js.map +1 -0
  35. package/esm/node_modules/asynckit/serial.js +22 -0
  36. package/esm/node_modules/asynckit/serial.js.map +1 -0
  37. package/esm/node_modules/asynckit/serialOrdered.js +85 -0
  38. package/esm/node_modules/asynckit/serialOrdered.js.map +1 -0
  39. package/esm/node_modules/axios/index.js +26 -0
  40. package/esm/node_modules/axios/index.js.map +1 -0
  41. package/esm/node_modules/axios/lib/adapters/adapters.js +133 -0
  42. package/esm/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  43. package/esm/node_modules/axios/lib/adapters/fetch.js +331 -0
  44. package/esm/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  45. package/esm/node_modules/axios/lib/adapters/http.js +945 -0
  46. package/esm/node_modules/axios/lib/adapters/http.js.map +1 -0
  47. package/esm/node_modules/axios/lib/adapters/xhr.js +225 -0
  48. package/esm/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  49. package/esm/node_modules/axios/lib/axios.js +87 -0
  50. package/esm/node_modules/axios/lib/axios.js.map +1 -0
  51. package/esm/node_modules/axios/lib/cancel/CancelToken.js +134 -0
  52. package/esm/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  53. package/esm/node_modules/axios/lib/cancel/CanceledError.js +21 -0
  54. package/esm/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  55. package/esm/node_modules/axios/lib/cancel/isCancel.js +6 -0
  56. package/esm/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  57. package/esm/node_modules/axios/lib/core/Axios.js +260 -0
  58. package/esm/node_modules/axios/lib/core/Axios.js.map +1 -0
  59. package/esm/node_modules/axios/lib/core/AxiosError.js +89 -0
  60. package/esm/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  61. package/esm/node_modules/axios/lib/core/AxiosHeaders.js +343 -0
  62. package/esm/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  63. package/esm/node_modules/axios/lib/core/InterceptorManager.js +71 -0
  64. package/esm/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  65. package/esm/node_modules/axios/lib/core/buildFullPath.js +23 -0
  66. package/esm/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  67. package/esm/node_modules/axios/lib/core/dispatchRequest.js +78 -0
  68. package/esm/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  69. package/esm/node_modules/axios/lib/core/mergeConfig.js +108 -0
  70. package/esm/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  71. package/esm/node_modules/axios/lib/core/settle.js +32 -0
  72. package/esm/node_modules/axios/lib/core/settle.js.map +1 -0
  73. package/esm/node_modules/axios/lib/core/transformData.js +29 -0
  74. package/esm/node_modules/axios/lib/core/transformData.js.map +1 -0
  75. package/esm/node_modules/axios/lib/defaults/index.js +171 -0
  76. package/esm/node_modules/axios/lib/defaults/index.js.map +1 -0
  77. package/esm/node_modules/axios/lib/defaults/transitional.js +9 -0
  78. package/esm/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  79. package/esm/node_modules/axios/lib/env/data.js +4 -0
  80. package/esm/node_modules/axios/lib/env/data.js.map +1 -0
  81. package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js +155 -0
  82. package/esm/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +1 -0
  83. package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +61 -0
  84. package/esm/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  85. package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  86. package/esm/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  87. package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  88. package/esm/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +1 -0
  89. package/esm/node_modules/axios/lib/helpers/bind.js +15 -0
  90. package/esm/node_modules/axios/lib/helpers/bind.js.map +1 -0
  91. package/esm/node_modules/axios/lib/helpers/buildURL.js +67 -0
  92. package/esm/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  93. package/esm/node_modules/axios/lib/helpers/callbackify.js +19 -0
  94. package/esm/node_modules/axios/lib/helpers/callbackify.js.map +1 -0
  95. package/esm/node_modules/axios/lib/helpers/combineURLs.js +16 -0
  96. package/esm/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  97. package/esm/node_modules/axios/lib/helpers/composeSignals.js +57 -0
  98. package/esm/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  99. package/esm/node_modules/axios/lib/helpers/cookies.js +51 -0
  100. package/esm/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  101. package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +76 -0
  102. package/esm/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
  103. package/esm/node_modules/axios/lib/helpers/formDataToJSON.js +94 -0
  104. package/esm/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  105. package/esm/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
  106. package/esm/node_modules/axios/lib/helpers/formDataToStream.js.map +1 -0
  107. package/esm/node_modules/axios/lib/helpers/fromDataURI.js +54 -0
  108. package/esm/node_modules/axios/lib/helpers/fromDataURI.js.map +1 -0
  109. package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js +20 -0
  110. package/esm/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  111. package/esm/node_modules/axios/lib/helpers/isAxiosError.js +15 -0
  112. package/esm/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  113. package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js +19 -0
  114. package/esm/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  115. package/esm/node_modules/axios/lib/helpers/parseHeaders.js +70 -0
  116. package/esm/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  117. package/esm/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  118. package/esm/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  119. package/esm/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
  120. package/esm/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  121. package/esm/node_modules/axios/lib/helpers/readBlob.js +16 -0
  122. package/esm/node_modules/axios/lib/helpers/readBlob.js.map +1 -0
  123. package/esm/node_modules/axios/lib/helpers/resolveConfig.js +73 -0
  124. package/esm/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  125. package/esm/node_modules/axios/lib/helpers/speedometer.js +54 -0
  126. package/esm/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  127. package/esm/node_modules/axios/lib/helpers/spread.js +29 -0
  128. package/esm/node_modules/axios/lib/helpers/spread.js.map +1 -0
  129. package/esm/node_modules/axios/lib/helpers/throttle.js +45 -0
  130. package/esm/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  131. package/esm/node_modules/axios/lib/helpers/toFormData.js +239 -0
  132. package/esm/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  133. package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js +20 -0
  134. package/esm/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  135. package/esm/node_modules/axios/lib/helpers/trackStream.js +92 -0
  136. package/esm/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  137. package/esm/node_modules/axios/lib/helpers/validator.js +111 -0
  138. package/esm/node_modules/axios/lib/helpers/validator.js.map +1 -0
  139. package/esm/node_modules/axios/lib/platform/common/utils.js +47 -0
  140. package/esm/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  141. package/esm/node_modules/axios/lib/platform/index.js +10 -0
  142. package/esm/node_modules/axios/lib/platform/index.js.map +1 -0
  143. package/esm/node_modules/axios/lib/platform/node/classes/FormData.js +6 -0
  144. package/esm/node_modules/axios/lib/platform/node/classes/FormData.js.map +1 -0
  145. package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +6 -0
  146. package/esm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +1 -0
  147. package/esm/node_modules/axios/lib/platform/node/index.js +40 -0
  148. package/esm/node_modules/axios/lib/platform/node/index.js.map +1 -0
  149. package/esm/node_modules/axios/lib/utils.js +920 -0
  150. package/esm/node_modules/axios/lib/utils.js.map +1 -0
  151. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js +66 -0
  152. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/implementation.js.map +1 -0
  153. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js +7 -0
  154. package/esm/node_modules/call-bind-apply-helpers/node_modules/function-bind/index.js.map +1 -0
  155. package/esm/node_modules/combined-stream/lib/combined_stream.js +215 -0
  156. package/esm/node_modules/combined-stream/lib/combined_stream.js.map +1 -0
  157. package/esm/node_modules/debug/src/browser.js +287 -0
  158. package/esm/node_modules/debug/src/browser.js.map +1 -0
  159. package/esm/node_modules/debug/src/common.js +304 -0
  160. package/esm/node_modules/debug/src/common.js.map +1 -0
  161. package/esm/node_modules/debug/src/index.js +24 -0
  162. package/esm/node_modules/debug/src/index.js.map +1 -0
  163. package/esm/node_modules/debug/src/node.js +281 -0
  164. package/esm/node_modules/debug/src/node.js.map +1 -0
  165. package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js +22 -0
  166. package/esm/node_modules/deep-equal/node_modules/has-symbols/index.js.map +1 -0
  167. package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js +58 -0
  168. package/esm/node_modules/deep-equal/node_modules/has-symbols/shams.js.map +1 -0
  169. package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js +9 -0
  170. package/esm/node_modules/deep-equal/node_modules/has-tostringtag/shams.js.map +1 -0
  171. package/esm/node_modules/deep-equal/node_modules/is-regex/index.js +53 -0
  172. package/esm/node_modules/deep-equal/node_modules/is-regex/index.js.map +1 -0
  173. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js +16 -0
  174. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/callBound.js.map +1 -0
  175. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js +53 -0
  176. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/call-bind/index.js.map +1 -0
  177. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js +307 -0
  178. package/esm/node_modules/deep-equal/node_modules/is-regex/node_modules/get-intrinsic/index.js.map +1 -0
  179. package/esm/node_modules/delayed-stream/lib/delayed_stream.js +113 -0
  180. package/esm/node_modules/delayed-stream/lib/delayed_stream.js.map +1 -0
  181. package/esm/node_modules/es-set-tostringtag/index.js +41 -0
  182. package/esm/node_modules/es-set-tostringtag/index.js.map +1 -0
  183. package/esm/node_modules/follow-redirects/debug.js +20 -0
  184. package/esm/node_modules/follow-redirects/debug.js.map +1 -0
  185. package/esm/node_modules/follow-redirects/index.js +701 -0
  186. package/esm/node_modules/follow-redirects/index.js.map +1 -0
  187. package/esm/node_modules/form-data/lib/form_data.js +514 -0
  188. package/esm/node_modules/form-data/lib/form_data.js.map +1 -0
  189. package/esm/node_modules/form-data/lib/populate.js +11 -0
  190. package/esm/node_modules/form-data/lib/populate.js.map +1 -0
  191. package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js +75 -0
  192. package/esm/node_modules/get-intrinsic/node_modules/function-bind/implementation.js.map +1 -0
  193. package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js +16 -0
  194. package/esm/node_modules/get-intrinsic/node_modules/function-bind/index.js.map +1 -0
  195. package/esm/node_modules/has/src/index.js +7 -0
  196. package/esm/node_modules/has/src/index.js.map +1 -0
  197. package/esm/node_modules/has-flag/index.js +18 -0
  198. package/esm/node_modules/has-flag/index.js.map +1 -0
  199. package/esm/node_modules/hasown/node_modules/function-bind/implementation.js +75 -0
  200. package/esm/node_modules/hasown/node_modules/function-bind/implementation.js.map +1 -0
  201. package/esm/node_modules/hasown/node_modules/function-bind/index.js +16 -0
  202. package/esm/node_modules/hasown/node_modules/function-bind/index.js.map +1 -0
  203. package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js +16 -0
  204. package/esm/node_modules/is-boolean-object/node_modules/call-bind/callBound.js.map +1 -0
  205. package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js +53 -0
  206. package/esm/node_modules/is-boolean-object/node_modules/call-bind/index.js.map +1 -0
  207. package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js +307 -0
  208. package/esm/node_modules/is-boolean-object/node_modules/get-intrinsic/index.js.map +1 -0
  209. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js +22 -0
  210. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/index.js.map +1 -0
  211. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js +67 -0
  212. package/esm/node_modules/is-boolean-object/node_modules/has-symbols/shams.js.map +1 -0
  213. package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js +18 -0
  214. package/esm/node_modules/is-boolean-object/node_modules/has-tostringtag/shams.js.map +1 -0
  215. package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js +58 -0
  216. package/esm/node_modules/is-number-object/node_modules/has-symbols/shams.js.map +1 -0
  217. package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js +9 -0
  218. package/esm/node_modules/is-number-object/node_modules/has-tostringtag/shams.js.map +1 -0
  219. package/esm/node_modules/is-string/node_modules/has-symbols/shams.js +58 -0
  220. package/esm/node_modules/is-string/node_modules/has-symbols/shams.js.map +1 -0
  221. package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js +9 -0
  222. package/esm/node_modules/is-string/node_modules/has-tostringtag/shams.js.map +1 -0
  223. package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js +22 -0
  224. package/esm/node_modules/is-symbol/node_modules/has-symbols/index.js.map +1 -0
  225. package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js +58 -0
  226. package/esm/node_modules/is-symbol/node_modules/has-symbols/shams.js.map +1 -0
  227. package/esm/node_modules/mime-db/db.json.js +10705 -0
  228. package/esm/node_modules/mime-db/db.json.js.map +1 -0
  229. package/esm/node_modules/mime-db/index.js +17 -0
  230. package/esm/node_modules/mime-db/index.js.map +1 -0
  231. package/esm/node_modules/mime-types/index.js +194 -0
  232. package/esm/node_modules/mime-types/index.js.map +1 -0
  233. package/esm/node_modules/ms/index.js +173 -0
  234. package/esm/node_modules/ms/index.js.map +1 -0
  235. package/esm/node_modules/proxy-from-env/index.js +112 -0
  236. package/esm/node_modules/proxy-from-env/index.js.map +1 -0
  237. package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js +16 -0
  238. package/esm/node_modules/side-channel/node_modules/call-bind/callBound.js.map +1 -0
  239. package/esm/node_modules/side-channel/node_modules/call-bind/index.js +53 -0
  240. package/esm/node_modules/side-channel/node_modules/call-bind/index.js.map +1 -0
  241. package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js +307 -0
  242. package/esm/node_modules/side-channel/node_modules/get-intrinsic/index.js.map +1 -0
  243. package/esm/node_modules/side-channel/node_modules/has-symbols/index.js +22 -0
  244. package/esm/node_modules/side-channel/node_modules/has-symbols/index.js.map +1 -0
  245. package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js +58 -0
  246. package/esm/node_modules/side-channel/node_modules/has-symbols/shams.js.map +1 -0
  247. package/esm/node_modules/side-channel/node_modules/object-inspect/index.js +469 -0
  248. package/esm/node_modules/side-channel/node_modules/object-inspect/index.js.map +1 -0
  249. package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js +6 -0
  250. package/esm/node_modules/side-channel/node_modules/object-inspect/util.inspect.js.map +1 -0
  251. package/esm/node_modules/supports-color/index.js +149 -0
  252. package/esm/node_modules/supports-color/index.js.map +1 -0
  253. package/esm/utils/authorizations.js +1 -1
  254. package/esm/utils/confy.js +1 -1
  255. package/package.json +3 -3
  256. package/esm/lib/api/apiKeys.js +0 -51
  257. package/esm/lib/api/apiKeys.js.map +0 -1
  258. package/esm/lib/api/dataBuckets.js +0 -18
  259. package/esm/lib/api/dataBuckets.js.map +0 -1
  260. package/esm/lib/api/jobs.js +0 -56
  261. package/esm/lib/api/jobs.js.map +0 -1
  262. package/esm/lib/api/members.js +0 -33
  263. package/esm/lib/api/members.js.map +0 -1
  264. package/esm/lib/api/people.js +0 -50
  265. package/esm/lib/api/people.js.map +0 -1
  266. package/esm/lib/api/roles.js +0 -17
  267. package/esm/lib/api/roles.js.map +0 -1
  268. package/esm/lib/api/routes.js +0 -43
  269. package/esm/lib/api/routes.js.map +0 -1
  270. package/esm/lib/api/servicesMap.js +0 -17
  271. package/esm/lib/api/servicesMap.js.map +0 -1
  272. package/esm/lib/api/spaces.js +0 -32
  273. package/esm/lib/api/spaces.js.map +0 -1
  274. package/esm/lib/api/storage.js +0 -94
  275. package/esm/lib/api/storage.js.map +0 -1
  276. package/esm/node_modules/@dbmx/auth/dist/index.js +0 -638
  277. package/esm/node_modules/@dbmx/auth/dist/index.js.map +0 -1
  278. package/esm/node_modules/@dbmx/auth/dist/oidc-client.js +0 -107
  279. package/esm/node_modules/@dbmx/auth/dist/oidc-client.js.map +0 -1
  280. package/esm/node_modules/@dbmx/semver/dist/index.esm.js +0 -958
  281. package/esm/node_modules/@dbmx/semver/dist/index.esm.js.map +0 -1
  282. package/esm/node_modules/@dbmx/semver/node_modules/lru-cache/index.js +0 -340
  283. package/esm/node_modules/@dbmx/semver/node_modules/lru-cache/index.js.map +0 -1
  284. package/esm/node_modules/@dbmx/semver/node_modules/yallist/iterator.js +0 -18
  285. package/esm/node_modules/@dbmx/semver/node_modules/yallist/iterator.js.map +0 -1
  286. package/esm/node_modules/@dbmx/semver/node_modules/yallist/yallist.js +0 -430
  287. package/esm/node_modules/@dbmx/semver/node_modules/yallist/yallist.js.map +0 -1
  288. package/esm/node_modules/@dbmx/users/esm/index.js +0 -251
  289. package/esm/node_modules/@dbmx/users/esm/index.js.map +0 -1
  290. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/ap.js +0 -44
  291. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/ap.js.map +0 -1
  292. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/bind.js +0 -36
  293. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/bind.js.map +0 -1
  294. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curry.js +0 -53
  295. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curry.js.map +0 -1
  296. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curryN.js +0 -60
  297. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/curryN.js.map +0 -1
  298. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/difference.js +0 -50
  299. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/difference.js.map +0 -1
  300. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/either.js +0 -46
  301. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/either.js.map +0 -1
  302. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/equals.js +0 -37
  303. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/equals.js.map +0 -1
  304. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/flip.js +0 -37
  305. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/flip.js.map +0 -1
  306. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/identity.js +0 -29
  307. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/identity.js.map +0 -1
  308. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/includes.js +0 -32
  309. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/includes.js.map +0 -1
  310. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_Set.js +0 -201
  311. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_Set.js.map +0 -1
  312. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arity.js +0 -65
  313. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arity.js.map +0 -1
  314. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arrayFromIterator.js +0 -13
  315. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_arrayFromIterator.js.map +0 -1
  316. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_concat.js +0 -37
  317. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_concat.js.map +0 -1
  318. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry1.js +0 -23
  319. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry1.js.map +0 -1
  320. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry2.js +0 -35
  321. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry2.js.map +0 -1
  322. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry3.js +0 -53
  323. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curry3.js.map +0 -1
  324. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curryN.js +0 -46
  325. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_curryN.js.map +0 -1
  326. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_dispatchable.js +0 -50
  327. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_dispatchable.js.map +0 -1
  328. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_equals.js +0 -170
  329. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_equals.js.map +0 -1
  330. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_filter.js +0 -18
  331. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_filter.js.map +0 -1
  332. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_functionName.js +0 -8
  333. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_functionName.js.map +0 -1
  334. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_has.js +0 -6
  335. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_has.js.map +0 -1
  336. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_identity.js +0 -6
  337. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_identity.js.map +0 -1
  338. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includes.js +0 -8
  339. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includes.js.map +0 -1
  340. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includesWith.js +0 -17
  341. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_includesWith.js.map +0 -1
  342. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_indexOf.js +0 -71
  343. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_indexOf.js.map +0 -1
  344. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArguments.js +0 -16
  345. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArguments.js.map +0 -1
  346. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArray.js +0 -18
  347. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArray.js.map +0 -1
  348. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArrayLike.js +0 -58
  349. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isArrayLike.js.map +0 -1
  350. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isFunction.js +0 -7
  351. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isFunction.js.map +0 -1
  352. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isInteger.js +0 -14
  353. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isInteger.js.map +0 -1
  354. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isPlaceholder.js +0 -6
  355. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isPlaceholder.js.map +0 -1
  356. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isString.js +0 -6
  357. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isString.js.map +0 -1
  358. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isTransformer.js +0 -6
  359. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_isTransformer.js.map +0 -1
  360. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_map.js +0 -15
  361. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_map.js.map +0 -1
  362. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_objectIs.js +0 -17
  363. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_objectIs.js.map +0 -1
  364. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_reduce.js +0 -74
  365. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_reduce.js.map +0 -1
  366. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xfBase.js +0 -11
  367. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xfBase.js.map +0 -1
  368. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xmap.js +0 -29
  369. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xmap.js.map +0 -1
  370. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xwrap.js +0 -28
  371. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/internal/_xwrap.js.map +0 -1
  372. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/intersection.js +0 -42
  373. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/intersection.js.map +0 -1
  374. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/is.js +0 -34
  375. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/is.js.map +0 -1
  376. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/keys.js +0 -92
  377. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/keys.js.map +0 -1
  378. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/lift.js +0 -34
  379. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/lift.js.map +0 -1
  380. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/liftN.js +0 -35
  381. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/liftN.js.map +0 -1
  382. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/map.js +0 -68
  383. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/map.js.map +0 -1
  384. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/nth.js +0 -39
  385. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/nth.js.map +0 -1
  386. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/or.js +0 -31
  387. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/or.js.map +0 -1
  388. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/path.js +0 -32
  389. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/path.js.map +0 -1
  390. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/paths.js +0 -47
  391. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/paths.js.map +0 -1
  392. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/prop.js +0 -33
  393. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/prop.js.map +0 -1
  394. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/propEq.js +0 -37
  395. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/propEq.js.map +0 -1
  396. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/type.js +0 -36
  397. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/type.js.map +0 -1
  398. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniq.js +0 -27
  399. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniq.js.map +0 -1
  400. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniqBy.js +0 -46
  401. package/esm/node_modules/@dbmx/users/esm/node_modules/ramda/es/uniqBy.js.map +0 -1
  402. package/esm/node_modules/@dbmx/users/esm/roles.js +0 -127
  403. package/esm/node_modules/@dbmx/users/esm/roles.js.map +0 -1
  404. package/esm/node_modules/jsrsasign/lib/jsrsasign.js +0 -248
  405. package/esm/node_modules/jsrsasign/lib/jsrsasign.js.map +0 -1
  406. package/esm/node_modules/jwt-decode/build/esm/index.js +0 -60
  407. package/esm/node_modules/jwt-decode/build/esm/index.js.map +0 -1
  408. package/esm/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +0 -3591
  409. package/esm/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +0 -1
  410. package/esm/node_modules/ramda/es/internal/_objectAssign.js +0 -32
  411. package/esm/node_modules/ramda/es/internal/_objectAssign.js.map +0 -1
  412. package/esm/node_modules/ramda/es/merge.js +0 -36
  413. package/esm/node_modules/ramda/es/merge.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/follow-redirects/index.js"],"sourcesContent":["var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Preventive platform detection\n// istanbul ignore next\n(function detectUnsupportedEnvironment() {\n var looksLikeNode = typeof process !== \"undefined\";\n var looksLikeBrowser = typeof window !== \"undefined\" && typeof document !== \"undefined\";\n var looksLikeV8 = isFunction(Error.captureStackTrace);\n if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {\n console.warn(\"The follow-redirects package should be excluded from browser builds.\");\n }\n}());\n\n// Whether to use the native URL object or the legacy url module\nvar useNativeURL = false;\ntry {\n assert(new URL(\"\"));\n}\ncatch (error) {\n useNativeURL = error.code === \"ERR_INVALID_URL\";\n}\n\n// URL fields to preserve in copy operations\nvar preservedUrlFields = [\n \"auth\",\n \"host\",\n \"hostname\",\n \"href\",\n \"path\",\n \"pathname\",\n \"port\",\n \"protocol\",\n \"query\",\n \"search\",\n \"hash\",\n];\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\n// Error types with codes\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\",\n RedirectionError\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// istanbul ignore next\nvar destroy = Writable.prototype.destroy || noop;\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n try {\n self._processResponse(response);\n }\n catch (cause) {\n self.emit(\"error\", cause instanceof RedirectionError ?\n cause : new RedirectionError({ cause: cause }));\n }\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n destroyRequest(this._currentRequest);\n this._currentRequest.abort();\n this.emit(\"abort\");\n};\n\nRedirectableRequest.prototype.destroy = function (error) {\n destroyRequest(this._currentRequest, error);\n destroy.call(this, error);\n return this;\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n self.removeListener(\"close\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n this.on(\"close\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n throw new TypeError(\"Unsupported protocol \" + protocol);\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n // istanbul ignore else\n if (request === self._currentRequest) {\n // Report any write errors\n // istanbul ignore if\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n // istanbul ignore else\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n destroyRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n throw new TooManyRedirectsError();\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = parseUrl(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Create the redirected request\n var redirectUrl = resolveUrl(location, currentUrl);\n debug(\"redirecting to\", redirectUrl.href);\n this._isRedirect = true;\n spreadUrlObject(redirectUrl, this._options);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrl.protocol !== currentUrlParts.protocol &&\n redirectUrl.protocol !== \"https:\" ||\n redirectUrl.host !== currentHost &&\n !isSubdomain(redirectUrl.host, currentHost)) {\n removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n beforeRedirect(this._options, responseDetails, requestDetails);\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n this._performRequest();\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters, ensuring that input is an object\n if (isURL(input)) {\n input = spreadUrlObject(input);\n }\n else if (isString(input)) {\n input = spreadUrlObject(parseUrl(input));\n }\n else {\n callback = options;\n options = validateUrl(input);\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\nfunction noop() { /* empty */ }\n\nfunction parseUrl(input) {\n var parsed;\n // istanbul ignore else\n if (useNativeURL) {\n parsed = new URL(input);\n }\n else {\n // Ensure the URL is valid and absolute\n parsed = validateUrl(url.parse(input));\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n }\n return parsed;\n}\n\nfunction resolveUrl(relative, base) {\n // istanbul ignore next\n return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative));\n}\n\nfunction validateUrl(input) {\n if (/^\\[/.test(input.hostname) && !/^\\[[:0-9a-f]+\\]$/i.test(input.hostname)) {\n throw new InvalidUrlError({ input: input.href || input });\n }\n if (/^\\[/.test(input.host) && !/^\\[[:0-9a-f]+\\](:\\d+)?$/i.test(input.host)) {\n throw new InvalidUrlError({ input: input.href || input });\n }\n return input;\n}\n\nfunction spreadUrlObject(urlObject, target) {\n var spread = target || {};\n for (var key of preservedUrlFields) {\n spread[key] = urlObject[key];\n }\n\n // Fix IPv6 hostname\n if (spread.hostname.startsWith(\"[\")) {\n spread.hostname = spread.hostname.slice(1, -1);\n }\n // Ensure port is a number\n if (spread.port !== \"\") {\n spread.port = Number(spread.port);\n }\n // Concatenate path\n spread.path = spread.search ? spread.pathname + spread.search : spread.pathname;\n\n return spread;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n // istanbul ignore else\n if (isFunction(Error.captureStackTrace)) {\n Error.captureStackTrace(this, this.constructor);\n }\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n Object.defineProperties(CustomError.prototype, {\n constructor: {\n value: CustomError,\n enumerable: false,\n },\n name: {\n value: \"Error [\" + code + \"]\",\n enumerable: false,\n },\n });\n return CustomError;\n}\n\nfunction destroyRequest(request, error) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.destroy(error);\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\nfunction isURL(value) {\n return URL && value instanceof URL;\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n"],"names":["require$$1","require$$2","require$$3","require$$5","exports","followRedirectsModule"],"mappings":";;;;;;;;;AAAA,IAAI,GAAG,GAAG,UAAc;AACxB,IAAI,GAAG,GAAG,GAAG,CAAC,GAAG;AACjB,IAAI,IAAI,GAAGA,UAAe;AAC1B,IAAI,KAAK,GAAGC,YAAgB;AAC5B,IAAI,QAAQ,GAAGC,MAAiB,CAAC,QAAQ;AACzC,IAAI,MAAM,GAAG,UAAiB;AAC9B,IAAI,KAAK,GAAGC,OAAkB;;AAE9B;AACA;AACA,CAAC,SAAS,4BAA4B,GAAG;AACzC,EAAE,IAAI,aAAa,GAAG,OAAO,OAAO,KAAK,WAAW;AACpD,EAAE,IAAI,gBAAgB,GAAG,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,QAAQ,KAAK,WAAW;AACzF,EAAE,IAAI,WAAW,GAAG,UAAU,CAAC,KAAK,CAAC,iBAAiB,CAAC;AACvD,EAAE,IAAI,CAAC,aAAa,KAAK,gBAAgB,IAAI,CAAC,WAAW,CAAC,EAAE;AAC5D,IAAI,OAAO,CAAC,IAAI,CAAC,sEAAsE,CAAC;AACxF,EAAA;AACA,CAAC,EAAE;;AAEH;AACA,IAAI,YAAY,GAAG,KAAK;AACxB,IAAI;AACJ,EAAE,MAAM,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC;AACrB;AACA,OAAO,KAAK,EAAE;AACd,EAAE,YAAY,GAAG,KAAK,CAAC,IAAI,KAAK,iBAAiB;AACjD;;AAEA;AACA,IAAI,kBAAkB,GAAG;AACzB,EAAE,MAAM;AACR,EAAE,MAAM;AACR,EAAE,UAAU;AACZ,EAAE,MAAM;AACR,EAAE,MAAM;AACR,EAAE,UAAU;AACZ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KAAK,YAAY,GAAG;AACpC;;AAEA;AACAC,iBAAA,CAAA,OAAc,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AACnDA,iBAAA,CAAA,OAAA,CAAA,IAAmB,GAAG;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,514 @@
1
+ import { getDefaultExportFromCjs } from '../../../_virtual/_commonjsHelpers.js';
2
+ import { c as combined_stream } from '../../combined-stream/lib/combined_stream.js';
3
+ import require$$1 from 'util';
4
+ import require$$1$1 from 'path';
5
+ import require$$3 from 'http';
6
+ import require$$4 from 'https';
7
+ import require$$0 from 'url';
8
+ import require$$6 from 'fs';
9
+ import stream from 'stream';
10
+ import require$$8 from 'crypto';
11
+ import '../../mime-types/index.js';
12
+ import { a as asynckit$1 } from '../../asynckit/index.js';
13
+ import { e as esSetTostringtag } from '../../es-set-tostringtag/index.js';
14
+ import { h as hasown } from '../../hasown/index.js';
15
+ import { p as populate$1 } from './populate.js';
16
+ import { __exports as mimeTypes } from '../../../_virtual/index12.js';
17
+
18
+ var CombinedStream = combined_stream;
19
+ var util = require$$1;
20
+ var path = require$$1$1;
21
+ var http = require$$3;
22
+ var https = require$$4;
23
+ var parseUrl = require$$0.parse;
24
+ var fs = require$$6;
25
+ var Stream = stream.Stream;
26
+ var crypto = require$$8;
27
+ var mime = mimeTypes;
28
+ var asynckit = asynckit$1;
29
+ var setToStringTag = esSetTostringtag;
30
+ var hasOwn = hasown;
31
+ var populate = populate$1;
32
+
33
+ /**
34
+ * Create readable "multipart/form-data" streams.
35
+ * Can be used to submit forms
36
+ * and file uploads to other web applications.
37
+ *
38
+ * @constructor
39
+ * @param {object} options - Properties to be added/overriden for FormData and CombinedStream
40
+ */
41
+ function FormData(options) {
42
+ if (!(this instanceof FormData)) {
43
+ return new FormData(options);
44
+ }
45
+
46
+ this._overheadLength = 0;
47
+ this._valueLength = 0;
48
+ this._valuesToMeasure = [];
49
+
50
+ CombinedStream.call(this);
51
+
52
+ options = options || {}; // eslint-disable-line no-param-reassign
53
+ for (var option in options) { // eslint-disable-line no-restricted-syntax
54
+ this[option] = options[option];
55
+ }
56
+ }
57
+
58
+ // make it a Stream
59
+ util.inherits(FormData, CombinedStream);
60
+
61
+ FormData.LINE_BREAK = '\r\n';
62
+ FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';
63
+
64
+ FormData.prototype.append = function (field, value, options) {
65
+ options = options || {}; // eslint-disable-line no-param-reassign
66
+
67
+ // allow filename as single option
68
+ if (typeof options === 'string') {
69
+ options = { filename: options }; // eslint-disable-line no-param-reassign
70
+ }
71
+
72
+ var append = CombinedStream.prototype.append.bind(this);
73
+
74
+ // all that streamy business can't handle numbers
75
+ if (typeof value === 'number' || value == null) {
76
+ value = String(value); // eslint-disable-line no-param-reassign
77
+ }
78
+
79
+ // https://github.com/felixge/node-form-data/issues/38
80
+ if (Array.isArray(value)) {
81
+ /*
82
+ * Please convert your array into string
83
+ * the way web server expects it
84
+ */
85
+ this._error(new Error('Arrays are not supported.'));
86
+ return;
87
+ }
88
+
89
+ var header = this._multiPartHeader(field, value, options);
90
+ var footer = this._multiPartFooter();
91
+
92
+ append(header);
93
+ append(value);
94
+ append(footer);
95
+
96
+ // pass along options.knownLength
97
+ this._trackLength(header, value, options);
98
+ };
99
+
100
+ FormData.prototype._trackLength = function (header, value, options) {
101
+ var valueLength = 0;
102
+
103
+ /*
104
+ * used w/ getLengthSync(), when length is known.
105
+ * e.g. for streaming directly from a remote server,
106
+ * w/ a known file a size, and not wanting to wait for
107
+ * incoming file to finish to get its size.
108
+ */
109
+ if (options.knownLength != null) {
110
+ valueLength += Number(options.knownLength);
111
+ } else if (Buffer.isBuffer(value)) {
112
+ valueLength = value.length;
113
+ } else if (typeof value === 'string') {
114
+ valueLength = Buffer.byteLength(value);
115
+ }
116
+
117
+ this._valueLength += valueLength;
118
+
119
+ // @check why add CRLF? does this account for custom/multiple CRLFs?
120
+ this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;
121
+
122
+ // empty or either doesn't have path or not an http response or not a stream
123
+ if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) {
124
+ return;
125
+ }
126
+
127
+ // no need to bother with the length
128
+ if (!options.knownLength) {
129
+ this._valuesToMeasure.push(value);
130
+ }
131
+ };
132
+
133
+ FormData.prototype._lengthRetriever = function (value, callback) {
134
+ if (hasOwn(value, 'fd')) {
135
+ // take read range into a account
136
+ // `end` = Infinity –> read file till the end
137
+ //
138
+ // TODO: Looks like there is bug in Node fs.createReadStream
139
+ // it doesn't respect `end` options without `start` options
140
+ // Fix it when node fixes it.
141
+ // https://github.com/joyent/node/issues/7819
142
+ if (value.end != undefined && value.end != Infinity && value.start != undefined) {
143
+ // when end specified
144
+ // no need to calculate range
145
+ // inclusive, starts with 0
146
+ callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return
147
+
148
+ // not that fast snoopy
149
+ } else {
150
+ // still need to fetch file size from fs
151
+ fs.stat(value.path, function (err, stat) {
152
+ if (err) {
153
+ callback(err);
154
+ return;
155
+ }
156
+
157
+ // update final size based on the range options
158
+ var fileSize = stat.size - (value.start ? value.start : 0);
159
+ callback(null, fileSize);
160
+ });
161
+ }
162
+
163
+ // or http response
164
+ } else if (hasOwn(value, 'httpVersion')) {
165
+ callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return
166
+
167
+ // or request stream http://github.com/mikeal/request
168
+ } else if (hasOwn(value, 'httpModule')) {
169
+ // wait till response come back
170
+ value.on('response', function (response) {
171
+ value.pause();
172
+ callback(null, Number(response.headers['content-length']));
173
+ });
174
+ value.resume();
175
+
176
+ // something else
177
+ } else {
178
+ callback('Unknown stream'); // eslint-disable-line callback-return
179
+ }
180
+ };
181
+
182
+ FormData.prototype._multiPartHeader = function (field, value, options) {
183
+ /*
184
+ * custom header specified (as string)?
185
+ * it becomes responsible for boundary
186
+ * (e.g. to handle extra CRLFs on .NET servers)
187
+ */
188
+ if (typeof options.header === 'string') {
189
+ return options.header;
190
+ }
191
+
192
+ var contentDisposition = this._getContentDisposition(value, options);
193
+ var contentType = this._getContentType(value, options);
194
+
195
+ var contents = '';
196
+ var headers = {
197
+ // add custom disposition as third element or keep it two elements if not
198
+ 'Content-Disposition': ['form-data', 'name="' + field + '"'].concat(contentDisposition || []),
199
+ // if no content type. allow it to be empty array
200
+ 'Content-Type': [].concat(contentType || [])
201
+ };
202
+
203
+ // allow custom headers.
204
+ if (typeof options.header === 'object') {
205
+ populate(headers, options.header);
206
+ }
207
+
208
+ var header;
209
+ for (var prop in headers) { // eslint-disable-line no-restricted-syntax
210
+ if (hasOwn(headers, prop)) {
211
+ header = headers[prop];
212
+
213
+ // skip nullish headers.
214
+ if (header == null) {
215
+ continue; // eslint-disable-line no-restricted-syntax, no-continue
216
+ }
217
+
218
+ // convert all headers to arrays.
219
+ if (!Array.isArray(header)) {
220
+ header = [header];
221
+ }
222
+
223
+ // add non-empty headers.
224
+ if (header.length) {
225
+ contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;
226
+ }
227
+ }
228
+ }
229
+
230
+ return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;
231
+ };
232
+
233
+ FormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return
234
+ var filename;
235
+
236
+ if (typeof options.filepath === 'string') {
237
+ // custom filepath for relative paths
238
+ filename = path.normalize(options.filepath).replace(/\\/g, '/');
239
+ } else if (options.filename || (value && (value.name || value.path))) {
240
+ /*
241
+ * custom filename take precedence
242
+ * formidable and the browser add a name property
243
+ * fs- and request- streams have path property
244
+ */
245
+ filename = path.basename(options.filename || (value && (value.name || value.path)));
246
+ } else if (value && value.readable && hasOwn(value, 'httpVersion')) {
247
+ // or try http response
248
+ filename = path.basename(value.client._httpMessage.path || '');
249
+ }
250
+
251
+ if (filename) {
252
+ return 'filename="' + filename + '"';
253
+ }
254
+ };
255
+
256
+ FormData.prototype._getContentType = function (value, options) {
257
+ // use custom content-type above all
258
+ var contentType = options.contentType;
259
+
260
+ // or try `name` from formidable, browser
261
+ if (!contentType && value && value.name) {
262
+ contentType = mime.lookup(value.name);
263
+ }
264
+
265
+ // or try `path` from fs-, request- streams
266
+ if (!contentType && value && value.path) {
267
+ contentType = mime.lookup(value.path);
268
+ }
269
+
270
+ // or if it's http-reponse
271
+ if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) {
272
+ contentType = value.headers['content-type'];
273
+ }
274
+
275
+ // or guess it from the filepath or filename
276
+ if (!contentType && (options.filepath || options.filename)) {
277
+ contentType = mime.lookup(options.filepath || options.filename);
278
+ }
279
+
280
+ // fallback to the default content type if `value` is not simple value
281
+ if (!contentType && value && typeof value === 'object') {
282
+ contentType = FormData.DEFAULT_CONTENT_TYPE;
283
+ }
284
+
285
+ return contentType;
286
+ };
287
+
288
+ FormData.prototype._multiPartFooter = function () {
289
+ return function (next) {
290
+ var footer = FormData.LINE_BREAK;
291
+
292
+ var lastPart = this._streams.length === 0;
293
+ if (lastPart) {
294
+ footer += this._lastBoundary();
295
+ }
296
+
297
+ next(footer);
298
+ }.bind(this);
299
+ };
300
+
301
+ FormData.prototype._lastBoundary = function () {
302
+ return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;
303
+ };
304
+
305
+ FormData.prototype.getHeaders = function (userHeaders) {
306
+ var header;
307
+ var formHeaders = {
308
+ 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()
309
+ };
310
+
311
+ for (header in userHeaders) { // eslint-disable-line no-restricted-syntax
312
+ if (hasOwn(userHeaders, header)) {
313
+ formHeaders[header.toLowerCase()] = userHeaders[header];
314
+ }
315
+ }
316
+
317
+ return formHeaders;
318
+ };
319
+
320
+ FormData.prototype.setBoundary = function (boundary) {
321
+ if (typeof boundary !== 'string') {
322
+ throw new TypeError('FormData boundary must be a string');
323
+ }
324
+ this._boundary = boundary;
325
+ };
326
+
327
+ FormData.prototype.getBoundary = function () {
328
+ if (!this._boundary) {
329
+ this._generateBoundary();
330
+ }
331
+
332
+ return this._boundary;
333
+ };
334
+
335
+ FormData.prototype.getBuffer = function () {
336
+ var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap
337
+ var boundary = this.getBoundary();
338
+
339
+ // Create the form content. Add Line breaks to the end of data.
340
+ for (var i = 0, len = this._streams.length; i < len; i++) {
341
+ if (typeof this._streams[i] !== 'function') {
342
+ // Add content to the buffer.
343
+ if (Buffer.isBuffer(this._streams[i])) {
344
+ dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]);
345
+ } else {
346
+ dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]);
347
+ }
348
+
349
+ // Add break after content.
350
+ if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) {
351
+ dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]);
352
+ }
353
+ }
354
+ }
355
+
356
+ // Add the footer and return the Buffer object.
357
+ return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
358
+ };
359
+
360
+ FormData.prototype._generateBoundary = function () {
361
+ // This generates a 50 character boundary similar to those used by Firefox.
362
+
363
+ // They are optimized for boyer-moore parsing.
364
+ this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex');
365
+ };
366
+
367
+ // Note: getLengthSync DOESN'T calculate streams length
368
+ // As workaround one can calculate file size manually and add it as knownLength option
369
+ FormData.prototype.getLengthSync = function () {
370
+ var knownLength = this._overheadLength + this._valueLength;
371
+
372
+ // Don't get confused, there are 3 "internal" streams for each keyval pair so it basically checks if there is any value added to the form
373
+ if (this._streams.length) {
374
+ knownLength += this._lastBoundary().length;
375
+ }
376
+
377
+ // https://github.com/form-data/form-data/issues/40
378
+ if (!this.hasKnownLength()) {
379
+ /*
380
+ * Some async length retrievers are present
381
+ * therefore synchronous length calculation is false.
382
+ * Please use getLength(callback) to get proper length
383
+ */
384
+ this._error(new Error('Cannot calculate proper length in synchronous way.'));
385
+ }
386
+
387
+ return knownLength;
388
+ };
389
+
390
+ // Public API to check if length of added values is known
391
+ // https://github.com/form-data/form-data/issues/196
392
+ // https://github.com/form-data/form-data/issues/262
393
+ FormData.prototype.hasKnownLength = function () {
394
+ var hasKnownLength = true;
395
+
396
+ if (this._valuesToMeasure.length) {
397
+ hasKnownLength = false;
398
+ }
399
+
400
+ return hasKnownLength;
401
+ };
402
+
403
+ FormData.prototype.getLength = function (cb) {
404
+ var knownLength = this._overheadLength + this._valueLength;
405
+
406
+ if (this._streams.length) {
407
+ knownLength += this._lastBoundary().length;
408
+ }
409
+
410
+ if (!this._valuesToMeasure.length) {
411
+ process.nextTick(cb.bind(this, null, knownLength));
412
+ return;
413
+ }
414
+
415
+ asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) {
416
+ if (err) {
417
+ cb(err);
418
+ return;
419
+ }
420
+
421
+ values.forEach(function (length) {
422
+ knownLength += length;
423
+ });
424
+
425
+ cb(null, knownLength);
426
+ });
427
+ };
428
+
429
+ FormData.prototype.submit = function (params, cb) {
430
+ var request;
431
+ var options;
432
+ var defaults = { method: 'post' };
433
+
434
+ // parse provided url if it's string or treat it as options object
435
+ if (typeof params === 'string') {
436
+ params = parseUrl(params); // eslint-disable-line no-param-reassign
437
+ /* eslint sort-keys: 0 */
438
+ options = populate({
439
+ port: params.port,
440
+ path: params.pathname,
441
+ host: params.hostname,
442
+ protocol: params.protocol
443
+ }, defaults);
444
+ } else { // use custom params
445
+ options = populate(params, defaults);
446
+ // if no port provided use default one
447
+ if (!options.port) {
448
+ options.port = options.protocol === 'https:' ? 443 : 80;
449
+ }
450
+ }
451
+
452
+ // put that good code in getHeaders to some use
453
+ options.headers = this.getHeaders(params.headers);
454
+
455
+ // https if specified, fallback to http in any other case
456
+ if (options.protocol === 'https:') {
457
+ request = https.request(options);
458
+ } else {
459
+ request = http.request(options);
460
+ }
461
+
462
+ // get content length and fire away
463
+ this.getLength(function (err, length) {
464
+ if (err && err !== 'Unknown stream') {
465
+ this._error(err);
466
+ return;
467
+ }
468
+
469
+ // add content length
470
+ if (length) {
471
+ request.setHeader('Content-Length', length);
472
+ }
473
+
474
+ this.pipe(request);
475
+ if (cb) {
476
+ var onResponse;
477
+
478
+ var callback = function (error, responce) {
479
+ request.removeListener('error', callback);
480
+ request.removeListener('response', onResponse);
481
+
482
+ return cb.call(this, error, responce);
483
+ };
484
+
485
+ onResponse = callback.bind(this, null);
486
+
487
+ request.on('error', callback);
488
+ request.on('response', onResponse);
489
+ }
490
+ }.bind(this));
491
+
492
+ return request;
493
+ };
494
+
495
+ FormData.prototype._error = function (err) {
496
+ if (!this.error) {
497
+ this.error = err;
498
+ this.pause();
499
+ this.emit('error', err);
500
+ }
501
+ };
502
+
503
+ FormData.prototype.toString = function () {
504
+ return '[object FormData]';
505
+ };
506
+ setToStringTag(FormData.prototype, 'FormData');
507
+
508
+ // Public API
509
+ var form_data = FormData;
510
+
511
+ var FormData$1 = /*@__PURE__*/getDefaultExportFromCjs(form_data);
512
+
513
+ export { FormData$1 as default };
514
+ //# sourceMappingURL=form_data.js.map