@relative-ci/core 5.3.0-beta.1 → 5.3.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/lib/cjs/__/@actions/http-client/__/undici/index.js +226 -0
  2. package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +1 -0
  3. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +73 -0
  4. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  5. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +131 -0
  6. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  7. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +276 -0
  8. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  9. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +238 -0
  10. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  11. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +246 -0
  12. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  13. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +131 -0
  14. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  15. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +25 -0
  16. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  17. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +405 -0
  18. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  19. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +114 -0
  20. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  21. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +266 -0
  22. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  23. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +130 -0
  24. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  25. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +222 -0
  26. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  27. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +418 -0
  28. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  29. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +417 -0
  30. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  31. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +80 -0
  32. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  33. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js +166 -0
  34. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  35. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +755 -0
  36. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  37. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +149 -0
  38. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  39. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +227 -0
  40. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  41. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1397 -0
  42. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  43. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +768 -0
  44. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  45. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +650 -0
  46. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  47. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +206 -0
  48. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  49. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +83 -0
  50. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  51. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +177 -0
  52. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  53. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +129 -0
  54. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  55. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +211 -0
  56. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  57. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +49 -0
  58. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  59. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +126 -0
  60. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  61. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +299 -0
  62. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  63. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +50 -0
  64. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  65. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +47 -0
  66. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  67. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +56 -0
  68. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  69. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +237 -0
  70. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  71. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +395 -0
  72. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  73. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js +397 -0
  74. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  75. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js +139 -0
  76. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  77. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +35 -0
  78. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  79. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +38 -0
  80. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  81. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js +33 -0
  82. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  83. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +288 -0
  84. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  85. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +23 -0
  86. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  87. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +23 -0
  88. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  89. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +28 -0
  90. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  91. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +183 -0
  92. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  93. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +83 -0
  94. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  95. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +42 -0
  96. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  97. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +224 -0
  98. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  99. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +83 -0
  100. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  101. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +35 -0
  102. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  103. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +390 -0
  104. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  105. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +63 -0
  106. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  107. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +41 -0
  108. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  109. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js +435 -0
  110. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  111. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js +886 -0
  112. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  113. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +169 -0
  114. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  115. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +19 -0
  116. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  117. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js +65 -0
  118. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  119. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +24 -0
  120. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  121. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js +201 -0
  122. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  123. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +338 -0
  124. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  125. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js +294 -0
  126. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  127. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +417 -0
  128. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  129. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +508 -0
  130. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  131. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +49 -0
  132. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  133. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js +560 -0
  134. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  135. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +136 -0
  136. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  137. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +762 -0
  138. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  139. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +60 -0
  140. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  141. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js +146 -0
  142. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  143. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +499 -0
  144. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  145. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +275 -0
  146. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  147. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js +52 -0
  148. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  149. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +709 -0
  150. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  151. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2235 -0
  152. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  153. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1069 -0
  154. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  155. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +640 -0
  156. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  157. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +21 -0
  158. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  159. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1662 -0
  160. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  161. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +716 -0
  162. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  163. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +302 -0
  164. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  165. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +361 -0
  166. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  167. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +92 -0
  168. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  169. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +22 -0
  170. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  171. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +417 -0
  172. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  173. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +391 -0
  174. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  175. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +78 -0
  176. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  177. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js +350 -0
  178. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  179. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +110 -0
  180. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  181. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +89 -0
  182. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  183. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +451 -0
  184. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  185. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +120 -0
  186. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  187. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +24 -0
  188. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  189. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js +336 -0
  190. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  191. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +618 -0
  192. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  193. package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
  194. package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  195. package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
  196. package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
  197. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  198. package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  199. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  200. package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  201. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  202. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  203. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  204. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  205. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  206. package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
  207. package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
  208. package/lib/cjs/__/before-after-hook/index.js.map +1 -0
  209. package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
  210. package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
  211. package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
  212. package/lib/cjs/__/cross-spawn/index.js +1 -1
  213. package/lib/cjs/__/env-ci/lib/git.js +1 -1
  214. package/lib/cjs/__/{env-ci/__/execa → execa}/index.js +3 -3
  215. package/lib/cjs/__/execa/index.js.map +1 -0
  216. package/lib/cjs/__/execa/lib/command.js.map +1 -0
  217. package/lib/cjs/__/execa/lib/error.js.map +1 -0
  218. package/lib/cjs/__/execa/lib/promise.js.map +1 -0
  219. package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
  220. package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  221. package/lib/cjs/__/execa/lib/stream.js.map +1 -0
  222. package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
  223. package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
  224. package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
  225. package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
  226. package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
  227. package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
  228. package/lib/cjs/__/is-stream/index.js.map +1 -0
  229. package/lib/cjs/__/json-with-bigint/json-with-bigint.js +151 -0
  230. package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -0
  231. package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
  232. package/lib/cjs/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  233. package/lib/cjs/__/npm-run-path/index.js.map +1 -0
  234. package/lib/cjs/__/path-key/index.js +1 -1
  235. package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
  236. package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
  237. package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
  238. package/lib/cjs/__/undici/index.js +1 -1
  239. package/lib/cjs/__/undici/lib/api/api-connect.js +3 -3
  240. package/lib/cjs/__/undici/lib/api/api-pipeline.js +3 -3
  241. package/lib/cjs/__/undici/lib/api/api-request.js +3 -3
  242. package/lib/cjs/__/undici/lib/api/api-stream.js +3 -3
  243. package/lib/cjs/__/undici/lib/api/api-upgrade.js +3 -3
  244. package/lib/cjs/__/undici/lib/core/util.js +14 -14
  245. package/lib/cjs/__/undici/lib/fetch/body.js +8 -8
  246. package/lib/cjs/__/undici/lib/fetch/constants.js +3 -3
  247. package/lib/cjs/__/undici/lib/fetch/dataURL.js +5 -5
  248. package/lib/cjs/__/undici/lib/fetch/file.js +3 -3
  249. package/lib/cjs/__/undici/lib/fetch/formdata.js +3 -3
  250. package/lib/cjs/__/undici/lib/fetch/index.js +3 -3
  251. package/lib/cjs/__/undici/lib/fetch/index.js.map +1 -1
  252. package/lib/cjs/__/undici/lib/fetch/util.js +6 -6
  253. package/lib/cjs/__/undici/lib/fileapi/util.js +6 -6
  254. package/lib/cjs/__/undici/lib/websocket/events.js +3 -3
  255. package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
  256. package/lib/cjs/_virtual/api-request2.js +6 -0
  257. package/lib/cjs/_virtual/api-request2.js.map +1 -0
  258. package/lib/cjs/_virtual/constants2.js +6 -0
  259. package/lib/cjs/_virtual/constants2.js.map +1 -0
  260. package/lib/cjs/_virtual/index10.js +2 -2
  261. package/lib/cjs/_virtual/index11.js +2 -2
  262. package/lib/cjs/_virtual/index14.js +2 -2
  263. package/lib/cjs/_virtual/index15.js +6 -0
  264. package/lib/cjs/_virtual/index15.js.map +1 -0
  265. package/lib/cjs/_virtual/index16.js +6 -0
  266. package/lib/cjs/_virtual/index16.js.map +1 -0
  267. package/lib/cjs/_virtual/index2.js +1 -1
  268. package/lib/cjs/_virtual/index3.js +1 -1
  269. package/lib/cjs/_virtual/index4.js +1 -1
  270. package/lib/cjs/_virtual/index8.js +2 -2
  271. package/lib/cjs/_virtual/mock-interceptor2.js +6 -0
  272. package/lib/cjs/_virtual/mock-interceptor2.js.map +1 -0
  273. package/lib/cjs/_virtual/utils4.js +6 -0
  274. package/lib/cjs/_virtual/utils4.js.map +1 -0
  275. package/lib/cjs/env/load.js +1 -1
  276. package/lib/cjs/env/load.js.map +1 -1
  277. package/lib/esm/__/@actions/http-client/__/undici/index.js +220 -0
  278. package/lib/esm/__/@actions/http-client/__/undici/index.js.map +1 -0
  279. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +71 -0
  280. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  281. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +124 -0
  282. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  283. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +268 -0
  284. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  285. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +231 -0
  286. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  287. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +238 -0
  288. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  289. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +124 -0
  290. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  291. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +23 -0
  292. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  293. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +398 -0
  294. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  295. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +108 -0
  296. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  297. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +258 -0
  298. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  299. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +128 -0
  300. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  301. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +215 -0
  302. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  303. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +416 -0
  304. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  305. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +411 -0
  306. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  307. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +78 -0
  308. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  309. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js +164 -0
  310. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  311. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +742 -0
  312. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  313. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +147 -0
  314. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  315. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +225 -0
  316. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  317. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1391 -0
  318. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  319. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +761 -0
  320. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  321. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +642 -0
  322. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  323. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +204 -0
  324. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  325. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +77 -0
  326. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  327. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +175 -0
  328. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  329. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +127 -0
  330. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  331. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +209 -0
  332. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  333. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +47 -0
  334. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  335. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +124 -0
  336. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  337. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +293 -0
  338. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  339. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +48 -0
  340. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  341. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +45 -0
  342. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  343. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +54 -0
  344. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  345. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +230 -0
  346. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  347. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +389 -0
  348. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  349. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js +390 -0
  350. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  351. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js +137 -0
  352. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  353. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +33 -0
  354. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  355. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +36 -0
  356. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  357. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js +31 -0
  358. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  359. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +286 -0
  360. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  361. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +17 -0
  362. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  363. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +17 -0
  364. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  365. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +26 -0
  366. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  367. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +181 -0
  368. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  369. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +77 -0
  370. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  371. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +40 -0
  372. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  373. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +222 -0
  374. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  375. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +77 -0
  376. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  377. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +33 -0
  378. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  379. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +383 -0
  380. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  381. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +56 -0
  382. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  383. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +39 -0
  384. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  385. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js +433 -0
  386. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  387. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js +880 -0
  388. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  389. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +167 -0
  390. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  391. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +17 -0
  392. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  393. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js +59 -0
  394. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  395. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +22 -0
  396. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  397. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js +199 -0
  398. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  399. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +332 -0
  400. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  401. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js +292 -0
  402. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  403. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +411 -0
  404. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  405. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +502 -0
  406. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  407. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +47 -0
  408. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  409. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js +551 -0
  410. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  411. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +134 -0
  412. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  413. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +756 -0
  414. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  415. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +58 -0
  416. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  417. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js +140 -0
  418. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  419. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +492 -0
  420. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  421. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +268 -0
  422. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  423. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js +50 -0
  424. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  425. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +702 -0
  426. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  427. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2224 -0
  428. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  429. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1061 -0
  430. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  431. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +633 -0
  432. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  433. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +19 -0
  434. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  435. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1652 -0
  436. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  437. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +709 -0
  438. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  439. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +300 -0
  440. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  441. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +359 -0
  442. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  443. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +90 -0
  444. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  445. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +20 -0
  446. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  447. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +409 -0
  448. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  449. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +389 -0
  450. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  451. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +76 -0
  452. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  453. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js +344 -0
  454. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  455. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +108 -0
  456. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  457. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +83 -0
  458. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  459. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +444 -0
  460. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  461. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +118 -0
  462. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  463. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +22 -0
  464. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  465. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js +330 -0
  466. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  467. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +612 -0
  468. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  469. package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
  470. package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  471. package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
  472. package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
  473. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  474. package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  475. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  476. package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  477. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  478. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  479. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  480. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  481. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  482. package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
  483. package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
  484. package/lib/esm/__/before-after-hook/index.js.map +1 -0
  485. package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
  486. package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
  487. package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
  488. package/lib/esm/__/cross-spawn/index.js +1 -1
  489. package/lib/esm/__/env-ci/lib/git.js +1 -1
  490. package/lib/esm/__/{env-ci/__/execa → execa}/index.js +1 -1
  491. package/lib/esm/__/execa/index.js.map +1 -0
  492. package/lib/esm/__/execa/lib/command.js.map +1 -0
  493. package/lib/esm/__/execa/lib/error.js.map +1 -0
  494. package/lib/esm/__/execa/lib/promise.js.map +1 -0
  495. package/lib/esm/__/execa/lib/stdio.js.map +1 -0
  496. package/lib/esm/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  497. package/lib/esm/__/execa/lib/stream.js.map +1 -0
  498. package/lib/esm/__/execa/lib/verbose.js.map +1 -0
  499. package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
  500. package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
  501. package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
  502. package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
  503. package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
  504. package/lib/esm/__/is-stream/index.js.map +1 -0
  505. package/lib/esm/__/java-properties/dist-node/index.js +1 -1
  506. package/lib/esm/__/json-with-bigint/json-with-bigint.js +148 -0
  507. package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -0
  508. package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
  509. package/lib/esm/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  510. package/lib/esm/__/npm-run-path/index.js.map +1 -0
  511. package/lib/esm/__/path-key/index.js +1 -1
  512. package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
  513. package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
  514. package/lib/esm/__/strip-final-newline/index.js.map +1 -0
  515. package/lib/esm/__/undici/index.js +1 -1
  516. package/lib/esm/__/undici/lib/api/api-connect.js +2 -2
  517. package/lib/esm/__/undici/lib/api/api-pipeline.js +2 -2
  518. package/lib/esm/__/undici/lib/api/api-request.js +2 -2
  519. package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
  520. package/lib/esm/__/undici/lib/api/api-stream.js +2 -2
  521. package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
  522. package/lib/esm/__/undici/lib/api/api-upgrade.js +2 -2
  523. package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
  524. package/lib/esm/__/undici/lib/core/util.js +10 -10
  525. package/lib/esm/__/undici/lib/core/util.js.map +1 -1
  526. package/lib/esm/__/undici/lib/fetch/body.js +6 -6
  527. package/lib/esm/__/undici/lib/fetch/body.js.map +1 -1
  528. package/lib/esm/__/undici/lib/fetch/constants.js +2 -2
  529. package/lib/esm/__/undici/lib/fetch/constants.js.map +1 -1
  530. package/lib/esm/__/undici/lib/fetch/dataURL.js +4 -4
  531. package/lib/esm/__/undici/lib/fetch/dataURL.js.map +1 -1
  532. package/lib/esm/__/undici/lib/fetch/file.js +2 -2
  533. package/lib/esm/__/undici/lib/fetch/file.js.map +1 -1
  534. package/lib/esm/__/undici/lib/fetch/formdata.js +2 -2
  535. package/lib/esm/__/undici/lib/fetch/index.js +2 -2
  536. package/lib/esm/__/undici/lib/fetch/index.js.map +1 -1
  537. package/lib/esm/__/undici/lib/fetch/util.js +4 -4
  538. package/lib/esm/__/undici/lib/fetch/util.js.map +1 -1
  539. package/lib/esm/__/undici/lib/fileapi/util.js +4 -4
  540. package/lib/esm/__/undici/lib/fileapi/util.js.map +1 -1
  541. package/lib/esm/__/undici/lib/websocket/events.js +2 -2
  542. package/lib/esm/__/universal-user-agent/index.js.map +1 -0
  543. package/lib/esm/_virtual/api-request2.js +4 -0
  544. package/lib/esm/_virtual/api-request2.js.map +1 -0
  545. package/lib/esm/_virtual/constants2.js +4 -0
  546. package/lib/esm/_virtual/constants2.js.map +1 -0
  547. package/lib/esm/_virtual/index10.js +4 -2
  548. package/lib/esm/_virtual/index10.js.map +1 -1
  549. package/lib/esm/_virtual/index11.js +2 -2
  550. package/lib/esm/_virtual/index14.js +2 -2
  551. package/lib/esm/_virtual/index15.js +4 -0
  552. package/lib/esm/_virtual/index15.js.map +1 -0
  553. package/lib/esm/_virtual/index16.js +4 -0
  554. package/lib/esm/_virtual/index16.js.map +1 -0
  555. package/lib/esm/_virtual/index2.js +1 -1
  556. package/lib/esm/_virtual/index3.js +1 -1
  557. package/lib/esm/_virtual/index4.js +1 -1
  558. package/lib/esm/_virtual/index5.js +2 -6
  559. package/lib/esm/_virtual/index5.js.map +1 -1
  560. package/lib/esm/_virtual/index6.js +6 -2
  561. package/lib/esm/_virtual/index6.js.map +1 -1
  562. package/lib/esm/_virtual/index8.js +2 -4
  563. package/lib/esm/_virtual/index8.js.map +1 -1
  564. package/lib/esm/_virtual/index9.js +2 -2
  565. package/lib/esm/_virtual/mock-interceptor2.js +4 -0
  566. package/lib/esm/_virtual/mock-interceptor2.js.map +1 -0
  567. package/lib/esm/_virtual/utils4.js +4 -0
  568. package/lib/esm/_virtual/utils4.js.map +1 -0
  569. package/lib/esm/env/load.js +1 -1
  570. package/lib/esm/env/load.js.map +1 -1
  571. package/lib/types/env/load.d.ts +5 -5
  572. package/lib/types/utils/log-response.d.ts +5 -5
  573. package/lib/types/utils/logger.d.ts +5 -5
  574. package/package.json +9 -9
  575. package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  576. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  577. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  578. package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  579. package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  580. package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  581. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  582. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  583. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  584. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  585. package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  586. package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  587. package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  588. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  589. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  590. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  591. package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  592. package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
  593. package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
  594. package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
  595. package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
  596. package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  597. package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
  598. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  599. package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  600. package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  601. package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  602. package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  603. package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  604. package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
  605. package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
  606. package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
  607. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  608. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  609. package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  610. package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  611. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  612. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  613. package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  614. package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  615. package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  616. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  617. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  618. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  619. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  620. package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  621. package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  622. package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  623. package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  624. package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  625. package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  626. package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  627. package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
  628. package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
  629. package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
  630. package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
  631. package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  632. package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
  633. package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  634. package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  635. package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  636. package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  637. package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  638. package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  639. package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
  640. package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
  641. package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
  642. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  643. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  644. package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  645. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  646. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  647. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  648. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  649. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  650. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  651. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  652. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  653. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  654. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  655. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  656. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  657. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  658. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  659. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  660. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  661. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  662. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  663. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  664. /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  665. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  666. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  667. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  668. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  669. /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  670. /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  671. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  672. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  673. /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  674. /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
  675. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  676. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  677. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  678. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  679. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  680. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  681. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  682. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  683. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  684. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  685. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  686. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  687. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  688. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  689. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  690. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  691. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  692. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  693. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  694. /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  695. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  696. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  697. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  698. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  699. /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  700. /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  701. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  702. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  703. /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  704. /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
@@ -0,0 +1,1069 @@
1
+ 'use strict';
2
+
3
+ var body = require('./body.js');
4
+ var headers = require('./headers.js');
5
+ var dispatcherWeakref = require('./dispatcher-weakref.js');
6
+ var util = require('../../core/util.js');
7
+ var require$$1 = require('node:util');
8
+ var util$1 = require('./util.js');
9
+ var constants = require('./constants.js');
10
+ var symbols = require('./symbols.js');
11
+ var webidl = require('./webidl.js');
12
+ var dataUrl = require('./data-url.js');
13
+ var symbols$1 = require('../../core/symbols.js');
14
+ var require$$0$1 = require('node:assert');
15
+ var require$$0 = require('node:events');
16
+
17
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
18
+
19
+ var require$$1__default = /*#__PURE__*/_interopDefault(require$$1);
20
+ var require$$0__default$1 = /*#__PURE__*/_interopDefault(require$$0$1);
21
+ var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
22
+
23
+ /* globals AbortController */
24
+
25
+ var request;
26
+ var hasRequiredRequest;
27
+
28
+ function requireRequest () {
29
+ if (hasRequiredRequest) return request;
30
+ hasRequiredRequest = 1;
31
+
32
+ const { extractBody, mixinBody, cloneBody, bodyUnusable } = body.__require();
33
+ const { Headers, fill: fillHeaders, HeadersList, setHeadersGuard, getHeadersGuard, setHeadersList, getHeadersList } = headers.__require();
34
+ const { FinalizationRegistry } = dispatcherWeakref.__require()();
35
+ const util$2 = util.__require();
36
+ const nodeUtil = require$$1__default.default;
37
+ const {
38
+ isValidHTTPToken,
39
+ sameOrigin,
40
+ environmentSettingsObject
41
+ } = util$1.__require();
42
+ const {
43
+ forbiddenMethodsSet,
44
+ corsSafeListedMethodsSet,
45
+ referrerPolicy,
46
+ requestRedirect,
47
+ requestMode,
48
+ requestCredentials,
49
+ requestCache,
50
+ requestDuplex
51
+ } = constants.__require();
52
+ const { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util$2;
53
+ const { kHeaders, kSignal, kState, kDispatcher } = symbols.__require();
54
+ const { webidl: webidl$1 } = webidl.__require();
55
+ const { URLSerializer } = dataUrl.__require();
56
+ const { kConstruct } = symbols$1.__require();
57
+ const assert = require$$0__default$1.default;
58
+ const { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require$$0__default.default;
59
+
60
+ const kAbortController = Symbol('abortController');
61
+
62
+ const requestFinalizer = new FinalizationRegistry(({ signal, abort }) => {
63
+ signal.removeEventListener('abort', abort);
64
+ });
65
+
66
+ const dependentControllerMap = new WeakMap();
67
+
68
+ function buildAbort (acRef) {
69
+ return abort
70
+
71
+ function abort () {
72
+ const ac = acRef.deref();
73
+ if (ac !== undefined) {
74
+ // Currently, there is a problem with FinalizationRegistry.
75
+ // https://github.com/nodejs/node/issues/49344
76
+ // https://github.com/nodejs/node/issues/47748
77
+ // In the case of abort, the first step is to unregister from it.
78
+ // If the controller can refer to it, it is still registered.
79
+ // It will be removed in the future.
80
+ requestFinalizer.unregister(abort);
81
+
82
+ // Unsubscribe a listener.
83
+ // FinalizationRegistry will no longer be called, so this must be done.
84
+ this.removeEventListener('abort', abort);
85
+
86
+ ac.abort(this.reason);
87
+
88
+ const controllerList = dependentControllerMap.get(ac.signal);
89
+
90
+ if (controllerList !== undefined) {
91
+ if (controllerList.size !== 0) {
92
+ for (const ref of controllerList) {
93
+ const ctrl = ref.deref();
94
+ if (ctrl !== undefined) {
95
+ ctrl.abort(this.reason);
96
+ }
97
+ }
98
+ controllerList.clear();
99
+ }
100
+ dependentControllerMap.delete(ac.signal);
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ let patchMethodWarning = false;
107
+
108
+ // https://fetch.spec.whatwg.org/#request-class
109
+ class Request {
110
+ // https://fetch.spec.whatwg.org/#dom-request
111
+ constructor (input, init = {}) {
112
+ webidl$1.util.markAsUncloneable(this);
113
+ if (input === kConstruct) {
114
+ return
115
+ }
116
+
117
+ const prefix = 'Request constructor';
118
+ webidl$1.argumentLengthCheck(arguments, 1, prefix);
119
+
120
+ input = webidl$1.converters.RequestInfo(input, prefix, 'input');
121
+ init = webidl$1.converters.RequestInit(init, prefix, 'init');
122
+
123
+ // 1. Let request be null.
124
+ let request = null;
125
+
126
+ // 2. Let fallbackMode be null.
127
+ let fallbackMode = null;
128
+
129
+ // 3. Let baseURL be this’s relevant settings object’s API base URL.
130
+ const baseUrl = environmentSettingsObject.settingsObject.baseUrl;
131
+
132
+ // 4. Let signal be null.
133
+ let signal = null;
134
+
135
+ // 5. If input is a string, then:
136
+ if (typeof input === 'string') {
137
+ this[kDispatcher] = init.dispatcher;
138
+
139
+ // 1. Let parsedURL be the result of parsing input with baseURL.
140
+ // 2. If parsedURL is failure, then throw a TypeError.
141
+ let parsedURL;
142
+ try {
143
+ parsedURL = new URL(input, baseUrl);
144
+ } catch (err) {
145
+ throw new TypeError('Failed to parse URL from ' + input, { cause: err })
146
+ }
147
+
148
+ // 3. If parsedURL includes credentials, then throw a TypeError.
149
+ if (parsedURL.username || parsedURL.password) {
150
+ throw new TypeError(
151
+ 'Request cannot be constructed from a URL that includes credentials: ' +
152
+ input
153
+ )
154
+ }
155
+
156
+ // 4. Set request to a new request whose URL is parsedURL.
157
+ request = makeRequest({ urlList: [parsedURL] });
158
+
159
+ // 5. Set fallbackMode to "cors".
160
+ fallbackMode = 'cors';
161
+ } else {
162
+ this[kDispatcher] = init.dispatcher || input[kDispatcher];
163
+
164
+ // 6. Otherwise:
165
+
166
+ // 7. Assert: input is a Request object.
167
+ assert(input instanceof Request);
168
+
169
+ // 8. Set request to input’s request.
170
+ request = input[kState];
171
+
172
+ // 9. Set signal to input’s signal.
173
+ signal = input[kSignal];
174
+ }
175
+
176
+ // 7. Let origin be this’s relevant settings object’s origin.
177
+ const origin = environmentSettingsObject.settingsObject.origin;
178
+
179
+ // 8. Let window be "client".
180
+ let window = 'client';
181
+
182
+ // 9. If request’s window is an environment settings object and its origin
183
+ // is same origin with origin, then set window to request’s window.
184
+ if (
185
+ request.window?.constructor?.name === 'EnvironmentSettingsObject' &&
186
+ sameOrigin(request.window, origin)
187
+ ) {
188
+ window = request.window;
189
+ }
190
+
191
+ // 10. If init["window"] exists and is non-null, then throw a TypeError.
192
+ if (init.window != null) {
193
+ throw new TypeError(`'window' option '${window}' must be null`)
194
+ }
195
+
196
+ // 11. If init["window"] exists, then set window to "no-window".
197
+ if ('window' in init) {
198
+ window = 'no-window';
199
+ }
200
+
201
+ // 12. Set request to a new request with the following properties:
202
+ request = makeRequest({
203
+ // URL request’s URL.
204
+ // undici implementation note: this is set as the first item in request's urlList in makeRequest
205
+ // method request’s method.
206
+ method: request.method,
207
+ // header list A copy of request’s header list.
208
+ // undici implementation note: headersList is cloned in makeRequest
209
+ headersList: request.headersList,
210
+ // unsafe-request flag Set.
211
+ unsafeRequest: request.unsafeRequest,
212
+ // client This’s relevant settings object.
213
+ client: environmentSettingsObject.settingsObject,
214
+ // window window.
215
+ window,
216
+ // priority request’s priority.
217
+ priority: request.priority,
218
+ // origin request’s origin. The propagation of the origin is only significant for navigation requests
219
+ // being handled by a service worker. In this scenario a request can have an origin that is different
220
+ // from the current client.
221
+ origin: request.origin,
222
+ // referrer request’s referrer.
223
+ referrer: request.referrer,
224
+ // referrer policy request’s referrer policy.
225
+ referrerPolicy: request.referrerPolicy,
226
+ // mode request’s mode.
227
+ mode: request.mode,
228
+ // credentials mode request’s credentials mode.
229
+ credentials: request.credentials,
230
+ // cache mode request’s cache mode.
231
+ cache: request.cache,
232
+ // redirect mode request’s redirect mode.
233
+ redirect: request.redirect,
234
+ // integrity metadata request’s integrity metadata.
235
+ integrity: request.integrity,
236
+ // keepalive request’s keepalive.
237
+ keepalive: request.keepalive,
238
+ // reload-navigation flag request’s reload-navigation flag.
239
+ reloadNavigation: request.reloadNavigation,
240
+ // history-navigation flag request’s history-navigation flag.
241
+ historyNavigation: request.historyNavigation,
242
+ // URL list A clone of request’s URL list.
243
+ urlList: [...request.urlList]
244
+ });
245
+
246
+ const initHasKey = Object.keys(init).length !== 0;
247
+
248
+ // 13. If init is not empty, then:
249
+ if (initHasKey) {
250
+ // 1. If request’s mode is "navigate", then set it to "same-origin".
251
+ if (request.mode === 'navigate') {
252
+ request.mode = 'same-origin';
253
+ }
254
+
255
+ // 2. Unset request’s reload-navigation flag.
256
+ request.reloadNavigation = false;
257
+
258
+ // 3. Unset request’s history-navigation flag.
259
+ request.historyNavigation = false;
260
+
261
+ // 4. Set request’s origin to "client".
262
+ request.origin = 'client';
263
+
264
+ // 5. Set request’s referrer to "client"
265
+ request.referrer = 'client';
266
+
267
+ // 6. Set request’s referrer policy to the empty string.
268
+ request.referrerPolicy = '';
269
+
270
+ // 7. Set request’s URL to request’s current URL.
271
+ request.url = request.urlList[request.urlList.length - 1];
272
+
273
+ // 8. Set request’s URL list to « request’s URL ».
274
+ request.urlList = [request.url];
275
+ }
276
+
277
+ // 14. If init["referrer"] exists, then:
278
+ if (init.referrer !== undefined) {
279
+ // 1. Let referrer be init["referrer"].
280
+ const referrer = init.referrer;
281
+
282
+ // 2. If referrer is the empty string, then set request’s referrer to "no-referrer".
283
+ if (referrer === '') {
284
+ request.referrer = 'no-referrer';
285
+ } else {
286
+ // 1. Let parsedReferrer be the result of parsing referrer with
287
+ // baseURL.
288
+ // 2. If parsedReferrer is failure, then throw a TypeError.
289
+ let parsedReferrer;
290
+ try {
291
+ parsedReferrer = new URL(referrer, baseUrl);
292
+ } catch (err) {
293
+ throw new TypeError(`Referrer "${referrer}" is not a valid URL.`, { cause: err })
294
+ }
295
+
296
+ // 3. If one of the following is true
297
+ // - parsedReferrer’s scheme is "about" and path is the string "client"
298
+ // - parsedReferrer’s origin is not same origin with origin
299
+ // then set request’s referrer to "client".
300
+ if (
301
+ (parsedReferrer.protocol === 'about:' && parsedReferrer.hostname === 'client') ||
302
+ (origin && !sameOrigin(parsedReferrer, environmentSettingsObject.settingsObject.baseUrl))
303
+ ) {
304
+ request.referrer = 'client';
305
+ } else {
306
+ // 4. Otherwise, set request’s referrer to parsedReferrer.
307
+ request.referrer = parsedReferrer;
308
+ }
309
+ }
310
+ }
311
+
312
+ // 15. If init["referrerPolicy"] exists, then set request’s referrer policy
313
+ // to it.
314
+ if (init.referrerPolicy !== undefined) {
315
+ request.referrerPolicy = init.referrerPolicy;
316
+ }
317
+
318
+ // 16. Let mode be init["mode"] if it exists, and fallbackMode otherwise.
319
+ let mode;
320
+ if (init.mode !== undefined) {
321
+ mode = init.mode;
322
+ } else {
323
+ mode = fallbackMode;
324
+ }
325
+
326
+ // 17. If mode is "navigate", then throw a TypeError.
327
+ if (mode === 'navigate') {
328
+ throw webidl$1.errors.exception({
329
+ header: 'Request constructor',
330
+ message: 'invalid request mode navigate.'
331
+ })
332
+ }
333
+
334
+ // 18. If mode is non-null, set request’s mode to mode.
335
+ if (mode != null) {
336
+ request.mode = mode;
337
+ }
338
+
339
+ // 19. If init["credentials"] exists, then set request’s credentials mode
340
+ // to it.
341
+ if (init.credentials !== undefined) {
342
+ request.credentials = init.credentials;
343
+ }
344
+
345
+ // 18. If init["cache"] exists, then set request’s cache mode to it.
346
+ if (init.cache !== undefined) {
347
+ request.cache = init.cache;
348
+ }
349
+
350
+ // 21. If request’s cache mode is "only-if-cached" and request’s mode is
351
+ // not "same-origin", then throw a TypeError.
352
+ if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {
353
+ throw new TypeError(
354
+ "'only-if-cached' can be set only with 'same-origin' mode"
355
+ )
356
+ }
357
+
358
+ // 22. If init["redirect"] exists, then set request’s redirect mode to it.
359
+ if (init.redirect !== undefined) {
360
+ request.redirect = init.redirect;
361
+ }
362
+
363
+ // 23. If init["integrity"] exists, then set request’s integrity metadata to it.
364
+ if (init.integrity != null) {
365
+ request.integrity = String(init.integrity);
366
+ }
367
+
368
+ // 24. If init["keepalive"] exists, then set request’s keepalive to it.
369
+ if (init.keepalive !== undefined) {
370
+ request.keepalive = Boolean(init.keepalive);
371
+ }
372
+
373
+ // 25. If init["method"] exists, then:
374
+ if (init.method !== undefined) {
375
+ // 1. Let method be init["method"].
376
+ let method = init.method;
377
+
378
+ const mayBeNormalized = normalizedMethodRecords[method];
379
+
380
+ if (mayBeNormalized !== undefined) {
381
+ // Note: Bypass validation DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH and these lowercase ones
382
+ request.method = mayBeNormalized;
383
+ } else {
384
+ // 2. If method is not a method or method is a forbidden method, then
385
+ // throw a TypeError.
386
+ if (!isValidHTTPToken(method)) {
387
+ throw new TypeError(`'${method}' is not a valid HTTP method.`)
388
+ }
389
+
390
+ const upperCase = method.toUpperCase();
391
+
392
+ if (forbiddenMethodsSet.has(upperCase)) {
393
+ throw new TypeError(`'${method}' HTTP method is unsupported.`)
394
+ }
395
+
396
+ // 3. Normalize method.
397
+ // https://fetch.spec.whatwg.org/#concept-method-normalize
398
+ // Note: must be in uppercase
399
+ method = normalizedMethodRecordsBase[upperCase] ?? method;
400
+
401
+ // 4. Set request’s method to method.
402
+ request.method = method;
403
+ }
404
+
405
+ if (!patchMethodWarning && request.method === 'patch') {
406
+ process.emitWarning('Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.', {
407
+ code: 'UNDICI-FETCH-patch'
408
+ });
409
+
410
+ patchMethodWarning = true;
411
+ }
412
+ }
413
+
414
+ // 26. If init["signal"] exists, then set signal to it.
415
+ if (init.signal !== undefined) {
416
+ signal = init.signal;
417
+ }
418
+
419
+ // 27. Set this’s request to request.
420
+ this[kState] = request;
421
+
422
+ // 28. Set this’s signal to a new AbortSignal object with this’s relevant
423
+ // Realm.
424
+ // TODO: could this be simplified with AbortSignal.any
425
+ // (https://dom.spec.whatwg.org/#dom-abortsignal-any)
426
+ const ac = new AbortController();
427
+ this[kSignal] = ac.signal;
428
+
429
+ // 29. If signal is not null, then make this’s signal follow signal.
430
+ if (signal != null) {
431
+ if (
432
+ !signal ||
433
+ typeof signal.aborted !== 'boolean' ||
434
+ typeof signal.addEventListener !== 'function'
435
+ ) {
436
+ throw new TypeError(
437
+ "Failed to construct 'Request': member signal is not of type AbortSignal."
438
+ )
439
+ }
440
+
441
+ if (signal.aborted) {
442
+ ac.abort(signal.reason);
443
+ } else {
444
+ // Keep a strong ref to ac while request object
445
+ // is alive. This is needed to prevent AbortController
446
+ // from being prematurely garbage collected.
447
+ // See, https://github.com/nodejs/undici/issues/1926.
448
+ this[kAbortController] = ac;
449
+
450
+ const acRef = new WeakRef(ac);
451
+ const abort = buildAbort(acRef);
452
+
453
+ // Third-party AbortControllers may not work with these.
454
+ // See, https://github.com/nodejs/undici/pull/1910#issuecomment-1464495619.
455
+ try {
456
+ // If the max amount of listeners is equal to the default, increase it
457
+ // This is only available in node >= v19.9.0
458
+ if (typeof getMaxListeners === 'function' && getMaxListeners(signal) === defaultMaxListeners) {
459
+ setMaxListeners(1500, signal);
460
+ } else if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) {
461
+ setMaxListeners(1500, signal);
462
+ }
463
+ } catch {}
464
+
465
+ util$2.addAbortListener(signal, abort);
466
+ // The third argument must be a registry key to be unregistered.
467
+ // Without it, you cannot unregister.
468
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
469
+ // abort is used as the unregister key. (because it is unique)
470
+ requestFinalizer.register(ac, { signal, abort }, abort);
471
+ }
472
+ }
473
+
474
+ // 30. Set this’s headers to a new Headers object with this’s relevant
475
+ // Realm, whose header list is request’s header list and guard is
476
+ // "request".
477
+ this[kHeaders] = new Headers(kConstruct);
478
+ setHeadersList(this[kHeaders], request.headersList);
479
+ setHeadersGuard(this[kHeaders], 'request');
480
+
481
+ // 31. If this’s request’s mode is "no-cors", then:
482
+ if (mode === 'no-cors') {
483
+ // 1. If this’s request’s method is not a CORS-safelisted method,
484
+ // then throw a TypeError.
485
+ if (!corsSafeListedMethodsSet.has(request.method)) {
486
+ throw new TypeError(
487
+ `'${request.method} is unsupported in no-cors mode.`
488
+ )
489
+ }
490
+
491
+ // 2. Set this’s headers’s guard to "request-no-cors".
492
+ setHeadersGuard(this[kHeaders], 'request-no-cors');
493
+ }
494
+
495
+ // 32. If init is not empty, then:
496
+ if (initHasKey) {
497
+ /** @type {HeadersList} */
498
+ const headersList = getHeadersList(this[kHeaders]);
499
+ // 1. Let headers be a copy of this’s headers and its associated header
500
+ // list.
501
+ // 2. If init["headers"] exists, then set headers to init["headers"].
502
+ const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList);
503
+
504
+ // 3. Empty this’s headers’s header list.
505
+ headersList.clear();
506
+
507
+ // 4. If headers is a Headers object, then for each header in its header
508
+ // list, append header’s name/header’s value to this’s headers.
509
+ if (headers instanceof HeadersList) {
510
+ for (const { name, value } of headers.rawValues()) {
511
+ headersList.append(name, value, false);
512
+ }
513
+ // Note: Copy the `set-cookie` meta-data.
514
+ headersList.cookies = headers.cookies;
515
+ } else {
516
+ // 5. Otherwise, fill this’s headers with headers.
517
+ fillHeaders(this[kHeaders], headers);
518
+ }
519
+ }
520
+
521
+ // 33. Let inputBody be input’s request’s body if input is a Request
522
+ // object; otherwise null.
523
+ const inputBody = input instanceof Request ? input[kState].body : null;
524
+
525
+ // 34. If either init["body"] exists and is non-null or inputBody is
526
+ // non-null, and request’s method is `GET` or `HEAD`, then throw a
527
+ // TypeError.
528
+ if (
529
+ (init.body != null || inputBody != null) &&
530
+ (request.method === 'GET' || request.method === 'HEAD')
531
+ ) {
532
+ throw new TypeError('Request with GET/HEAD method cannot have body.')
533
+ }
534
+
535
+ // 35. Let initBody be null.
536
+ let initBody = null;
537
+
538
+ // 36. If init["body"] exists and is non-null, then:
539
+ if (init.body != null) {
540
+ // 1. Let Content-Type be null.
541
+ // 2. Set initBody and Content-Type to the result of extracting
542
+ // init["body"], with keepalive set to request’s keepalive.
543
+ const [extractedBody, contentType] = extractBody(
544
+ init.body,
545
+ request.keepalive
546
+ );
547
+ initBody = extractedBody;
548
+
549
+ // 3, If Content-Type is non-null and this’s headers’s header list does
550
+ // not contain `Content-Type`, then append `Content-Type`/Content-Type to
551
+ // this’s headers.
552
+ if (contentType && !getHeadersList(this[kHeaders]).contains('content-type', true)) {
553
+ this[kHeaders].append('content-type', contentType);
554
+ }
555
+ }
556
+
557
+ // 37. Let inputOrInitBody be initBody if it is non-null; otherwise
558
+ // inputBody.
559
+ const inputOrInitBody = initBody ?? inputBody;
560
+
561
+ // 38. If inputOrInitBody is non-null and inputOrInitBody’s source is
562
+ // null, then:
563
+ if (inputOrInitBody != null && inputOrInitBody.source == null) {
564
+ // 1. If initBody is non-null and init["duplex"] does not exist,
565
+ // then throw a TypeError.
566
+ if (initBody != null && init.duplex == null) {
567
+ throw new TypeError('RequestInit: duplex option is required when sending a body.')
568
+ }
569
+
570
+ // 2. If this’s request’s mode is neither "same-origin" nor "cors",
571
+ // then throw a TypeError.
572
+ if (request.mode !== 'same-origin' && request.mode !== 'cors') {
573
+ throw new TypeError(
574
+ 'If request is made from ReadableStream, mode should be "same-origin" or "cors"'
575
+ )
576
+ }
577
+
578
+ // 3. Set this’s request’s use-CORS-preflight flag.
579
+ request.useCORSPreflightFlag = true;
580
+ }
581
+
582
+ // 39. Let finalBody be inputOrInitBody.
583
+ let finalBody = inputOrInitBody;
584
+
585
+ // 40. If initBody is null and inputBody is non-null, then:
586
+ if (initBody == null && inputBody != null) {
587
+ // 1. If input is unusable, then throw a TypeError.
588
+ if (bodyUnusable(input)) {
589
+ throw new TypeError(
590
+ 'Cannot construct a Request with a Request object that has already been used.'
591
+ )
592
+ }
593
+
594
+ // 2. Set finalBody to the result of creating a proxy for inputBody.
595
+ // https://streams.spec.whatwg.org/#readablestream-create-a-proxy
596
+ const identityTransform = new TransformStream();
597
+ inputBody.stream.pipeThrough(identityTransform);
598
+ finalBody = {
599
+ source: inputBody.source,
600
+ length: inputBody.length,
601
+ stream: identityTransform.readable
602
+ };
603
+ }
604
+
605
+ // 41. Set this’s request’s body to finalBody.
606
+ this[kState].body = finalBody;
607
+ }
608
+
609
+ // Returns request’s HTTP method, which is "GET" by default.
610
+ get method () {
611
+ webidl$1.brandCheck(this, Request);
612
+
613
+ // The method getter steps are to return this’s request’s method.
614
+ return this[kState].method
615
+ }
616
+
617
+ // Returns the URL of request as a string.
618
+ get url () {
619
+ webidl$1.brandCheck(this, Request);
620
+
621
+ // The url getter steps are to return this’s request’s URL, serialized.
622
+ return URLSerializer(this[kState].url)
623
+ }
624
+
625
+ // Returns a Headers object consisting of the headers associated with request.
626
+ // Note that headers added in the network layer by the user agent will not
627
+ // be accounted for in this object, e.g., the "Host" header.
628
+ get headers () {
629
+ webidl$1.brandCheck(this, Request);
630
+
631
+ // The headers getter steps are to return this’s headers.
632
+ return this[kHeaders]
633
+ }
634
+
635
+ // Returns the kind of resource requested by request, e.g., "document"
636
+ // or "script".
637
+ get destination () {
638
+ webidl$1.brandCheck(this, Request);
639
+
640
+ // The destination getter are to return this’s request’s destination.
641
+ return this[kState].destination
642
+ }
643
+
644
+ // Returns the referrer of request. Its value can be a same-origin URL if
645
+ // explicitly set in init, the empty string to indicate no referrer, and
646
+ // "about:client" when defaulting to the global’s default. This is used
647
+ // during fetching to determine the value of the `Referer` header of the
648
+ // request being made.
649
+ get referrer () {
650
+ webidl$1.brandCheck(this, Request);
651
+
652
+ // 1. If this’s request’s referrer is "no-referrer", then return the
653
+ // empty string.
654
+ if (this[kState].referrer === 'no-referrer') {
655
+ return ''
656
+ }
657
+
658
+ // 2. If this’s request’s referrer is "client", then return
659
+ // "about:client".
660
+ if (this[kState].referrer === 'client') {
661
+ return 'about:client'
662
+ }
663
+
664
+ // Return this’s request’s referrer, serialized.
665
+ return this[kState].referrer.toString()
666
+ }
667
+
668
+ // Returns the referrer policy associated with request.
669
+ // This is used during fetching to compute the value of the request’s
670
+ // referrer.
671
+ get referrerPolicy () {
672
+ webidl$1.brandCheck(this, Request);
673
+
674
+ // The referrerPolicy getter steps are to return this’s request’s referrer policy.
675
+ return this[kState].referrerPolicy
676
+ }
677
+
678
+ // Returns the mode associated with request, which is a string indicating
679
+ // whether the request will use CORS, or will be restricted to same-origin
680
+ // URLs.
681
+ get mode () {
682
+ webidl$1.brandCheck(this, Request);
683
+
684
+ // The mode getter steps are to return this’s request’s mode.
685
+ return this[kState].mode
686
+ }
687
+
688
+ // Returns the credentials mode associated with request,
689
+ // which is a string indicating whether credentials will be sent with the
690
+ // request always, never, or only when sent to a same-origin URL.
691
+ get credentials () {
692
+ // The credentials getter steps are to return this’s request’s credentials mode.
693
+ return this[kState].credentials
694
+ }
695
+
696
+ // Returns the cache mode associated with request,
697
+ // which is a string indicating how the request will
698
+ // interact with the browser’s cache when fetching.
699
+ get cache () {
700
+ webidl$1.brandCheck(this, Request);
701
+
702
+ // The cache getter steps are to return this’s request’s cache mode.
703
+ return this[kState].cache
704
+ }
705
+
706
+ // Returns the redirect mode associated with request,
707
+ // which is a string indicating how redirects for the
708
+ // request will be handled during fetching. A request
709
+ // will follow redirects by default.
710
+ get redirect () {
711
+ webidl$1.brandCheck(this, Request);
712
+
713
+ // The redirect getter steps are to return this’s request’s redirect mode.
714
+ return this[kState].redirect
715
+ }
716
+
717
+ // Returns request’s subresource integrity metadata, which is a
718
+ // cryptographic hash of the resource being fetched. Its value
719
+ // consists of multiple hashes separated by whitespace. [SRI]
720
+ get integrity () {
721
+ webidl$1.brandCheck(this, Request);
722
+
723
+ // The integrity getter steps are to return this’s request’s integrity
724
+ // metadata.
725
+ return this[kState].integrity
726
+ }
727
+
728
+ // Returns a boolean indicating whether or not request can outlive the
729
+ // global in which it was created.
730
+ get keepalive () {
731
+ webidl$1.brandCheck(this, Request);
732
+
733
+ // The keepalive getter steps are to return this’s request’s keepalive.
734
+ return this[kState].keepalive
735
+ }
736
+
737
+ // Returns a boolean indicating whether or not request is for a reload
738
+ // navigation.
739
+ get isReloadNavigation () {
740
+ webidl$1.brandCheck(this, Request);
741
+
742
+ // The isReloadNavigation getter steps are to return true if this’s
743
+ // request’s reload-navigation flag is set; otherwise false.
744
+ return this[kState].reloadNavigation
745
+ }
746
+
747
+ // Returns a boolean indicating whether or not request is for a history
748
+ // navigation (a.k.a. back-forward navigation).
749
+ get isHistoryNavigation () {
750
+ webidl$1.brandCheck(this, Request);
751
+
752
+ // The isHistoryNavigation getter steps are to return true if this’s request’s
753
+ // history-navigation flag is set; otherwise false.
754
+ return this[kState].historyNavigation
755
+ }
756
+
757
+ // Returns the signal associated with request, which is an AbortSignal
758
+ // object indicating whether or not request has been aborted, and its
759
+ // abort event handler.
760
+ get signal () {
761
+ webidl$1.brandCheck(this, Request);
762
+
763
+ // The signal getter steps are to return this’s signal.
764
+ return this[kSignal]
765
+ }
766
+
767
+ get body () {
768
+ webidl$1.brandCheck(this, Request);
769
+
770
+ return this[kState].body ? this[kState].body.stream : null
771
+ }
772
+
773
+ get bodyUsed () {
774
+ webidl$1.brandCheck(this, Request);
775
+
776
+ return !!this[kState].body && util$2.isDisturbed(this[kState].body.stream)
777
+ }
778
+
779
+ get duplex () {
780
+ webidl$1.brandCheck(this, Request);
781
+
782
+ return 'half'
783
+ }
784
+
785
+ // Returns a clone of request.
786
+ clone () {
787
+ webidl$1.brandCheck(this, Request);
788
+
789
+ // 1. If this is unusable, then throw a TypeError.
790
+ if (bodyUnusable(this)) {
791
+ throw new TypeError('unusable')
792
+ }
793
+
794
+ // 2. Let clonedRequest be the result of cloning this’s request.
795
+ const clonedRequest = cloneRequest(this[kState]);
796
+
797
+ // 3. Let clonedRequestObject be the result of creating a Request object,
798
+ // given clonedRequest, this’s headers’s guard, and this’s relevant Realm.
799
+ // 4. Make clonedRequestObject’s signal follow this’s signal.
800
+ const ac = new AbortController();
801
+ if (this.signal.aborted) {
802
+ ac.abort(this.signal.reason);
803
+ } else {
804
+ let list = dependentControllerMap.get(this.signal);
805
+ if (list === undefined) {
806
+ list = new Set();
807
+ dependentControllerMap.set(this.signal, list);
808
+ }
809
+ const acRef = new WeakRef(ac);
810
+ list.add(acRef);
811
+ util$2.addAbortListener(
812
+ ac.signal,
813
+ buildAbort(acRef)
814
+ );
815
+ }
816
+
817
+ // 4. Return clonedRequestObject.
818
+ return fromInnerRequest(clonedRequest, ac.signal, getHeadersGuard(this[kHeaders]))
819
+ }
820
+
821
+ [nodeUtil.inspect.custom] (depth, options) {
822
+ if (options.depth === null) {
823
+ options.depth = 2;
824
+ }
825
+
826
+ options.colors ??= true;
827
+
828
+ const properties = {
829
+ method: this.method,
830
+ url: this.url,
831
+ headers: this.headers,
832
+ destination: this.destination,
833
+ referrer: this.referrer,
834
+ referrerPolicy: this.referrerPolicy,
835
+ mode: this.mode,
836
+ credentials: this.credentials,
837
+ cache: this.cache,
838
+ redirect: this.redirect,
839
+ integrity: this.integrity,
840
+ keepalive: this.keepalive,
841
+ isReloadNavigation: this.isReloadNavigation,
842
+ isHistoryNavigation: this.isHistoryNavigation,
843
+ signal: this.signal
844
+ };
845
+
846
+ return `Request ${nodeUtil.formatWithOptions(options, properties)}`
847
+ }
848
+ }
849
+
850
+ mixinBody(Request);
851
+
852
+ // https://fetch.spec.whatwg.org/#requests
853
+ function makeRequest (init) {
854
+ return {
855
+ method: init.method ?? 'GET',
856
+ localURLsOnly: init.localURLsOnly ?? false,
857
+ unsafeRequest: init.unsafeRequest ?? false,
858
+ body: init.body ?? null,
859
+ client: init.client ?? null,
860
+ reservedClient: init.reservedClient ?? null,
861
+ replacesClientId: init.replacesClientId ?? '',
862
+ window: init.window ?? 'client',
863
+ keepalive: init.keepalive ?? false,
864
+ serviceWorkers: init.serviceWorkers ?? 'all',
865
+ initiator: init.initiator ?? '',
866
+ destination: init.destination ?? '',
867
+ priority: init.priority ?? null,
868
+ origin: init.origin ?? 'client',
869
+ policyContainer: init.policyContainer ?? 'client',
870
+ referrer: init.referrer ?? 'client',
871
+ referrerPolicy: init.referrerPolicy ?? '',
872
+ mode: init.mode ?? 'no-cors',
873
+ useCORSPreflightFlag: init.useCORSPreflightFlag ?? false,
874
+ credentials: init.credentials ?? 'same-origin',
875
+ useCredentials: init.useCredentials ?? false,
876
+ cache: init.cache ?? 'default',
877
+ redirect: init.redirect ?? 'follow',
878
+ integrity: init.integrity ?? '',
879
+ cryptoGraphicsNonceMetadata: init.cryptoGraphicsNonceMetadata ?? '',
880
+ parserMetadata: init.parserMetadata ?? '',
881
+ reloadNavigation: init.reloadNavigation ?? false,
882
+ historyNavigation: init.historyNavigation ?? false,
883
+ userActivation: init.userActivation ?? false,
884
+ taintedOrigin: init.taintedOrigin ?? false,
885
+ redirectCount: init.redirectCount ?? 0,
886
+ responseTainting: init.responseTainting ?? 'basic',
887
+ preventNoCacheCacheControlHeaderModification: init.preventNoCacheCacheControlHeaderModification ?? false,
888
+ done: init.done ?? false,
889
+ timingAllowFailed: init.timingAllowFailed ?? false,
890
+ urlList: init.urlList,
891
+ url: init.urlList[0],
892
+ headersList: init.headersList
893
+ ? new HeadersList(init.headersList)
894
+ : new HeadersList()
895
+ }
896
+ }
897
+
898
+ // https://fetch.spec.whatwg.org/#concept-request-clone
899
+ function cloneRequest (request) {
900
+ // To clone a request request, run these steps:
901
+
902
+ // 1. Let newRequest be a copy of request, except for its body.
903
+ const newRequest = makeRequest({ ...request, body: null });
904
+
905
+ // 2. If request’s body is non-null, set newRequest’s body to the
906
+ // result of cloning request’s body.
907
+ if (request.body != null) {
908
+ newRequest.body = cloneBody(newRequest, request.body);
909
+ }
910
+
911
+ // 3. Return newRequest.
912
+ return newRequest
913
+ }
914
+
915
+ /**
916
+ * @see https://fetch.spec.whatwg.org/#request-create
917
+ * @param {any} innerRequest
918
+ * @param {AbortSignal} signal
919
+ * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard
920
+ * @returns {Request}
921
+ */
922
+ function fromInnerRequest (innerRequest, signal, guard) {
923
+ const request = new Request(kConstruct);
924
+ request[kState] = innerRequest;
925
+ request[kSignal] = signal;
926
+ request[kHeaders] = new Headers(kConstruct);
927
+ setHeadersList(request[kHeaders], innerRequest.headersList);
928
+ setHeadersGuard(request[kHeaders], guard);
929
+ return request
930
+ }
931
+
932
+ Object.defineProperties(Request.prototype, {
933
+ method: kEnumerableProperty,
934
+ url: kEnumerableProperty,
935
+ headers: kEnumerableProperty,
936
+ redirect: kEnumerableProperty,
937
+ clone: kEnumerableProperty,
938
+ signal: kEnumerableProperty,
939
+ duplex: kEnumerableProperty,
940
+ destination: kEnumerableProperty,
941
+ body: kEnumerableProperty,
942
+ bodyUsed: kEnumerableProperty,
943
+ isHistoryNavigation: kEnumerableProperty,
944
+ isReloadNavigation: kEnumerableProperty,
945
+ keepalive: kEnumerableProperty,
946
+ integrity: kEnumerableProperty,
947
+ cache: kEnumerableProperty,
948
+ credentials: kEnumerableProperty,
949
+ attribute: kEnumerableProperty,
950
+ referrerPolicy: kEnumerableProperty,
951
+ referrer: kEnumerableProperty,
952
+ mode: kEnumerableProperty,
953
+ [Symbol.toStringTag]: {
954
+ value: 'Request',
955
+ configurable: true
956
+ }
957
+ });
958
+
959
+ webidl$1.converters.Request = webidl$1.interfaceConverter(
960
+ Request
961
+ );
962
+
963
+ // https://fetch.spec.whatwg.org/#requestinfo
964
+ webidl$1.converters.RequestInfo = function (V, prefix, argument) {
965
+ if (typeof V === 'string') {
966
+ return webidl$1.converters.USVString(V, prefix, argument)
967
+ }
968
+
969
+ if (V instanceof Request) {
970
+ return webidl$1.converters.Request(V, prefix, argument)
971
+ }
972
+
973
+ return webidl$1.converters.USVString(V, prefix, argument)
974
+ };
975
+
976
+ webidl$1.converters.AbortSignal = webidl$1.interfaceConverter(
977
+ AbortSignal
978
+ );
979
+
980
+ // https://fetch.spec.whatwg.org/#requestinit
981
+ webidl$1.converters.RequestInit = webidl$1.dictionaryConverter([
982
+ {
983
+ key: 'method',
984
+ converter: webidl$1.converters.ByteString
985
+ },
986
+ {
987
+ key: 'headers',
988
+ converter: webidl$1.converters.HeadersInit
989
+ },
990
+ {
991
+ key: 'body',
992
+ converter: webidl$1.nullableConverter(
993
+ webidl$1.converters.BodyInit
994
+ )
995
+ },
996
+ {
997
+ key: 'referrer',
998
+ converter: webidl$1.converters.USVString
999
+ },
1000
+ {
1001
+ key: 'referrerPolicy',
1002
+ converter: webidl$1.converters.DOMString,
1003
+ // https://w3c.github.io/webappsec-referrer-policy/#referrer-policy
1004
+ allowedValues: referrerPolicy
1005
+ },
1006
+ {
1007
+ key: 'mode',
1008
+ converter: webidl$1.converters.DOMString,
1009
+ // https://fetch.spec.whatwg.org/#concept-request-mode
1010
+ allowedValues: requestMode
1011
+ },
1012
+ {
1013
+ key: 'credentials',
1014
+ converter: webidl$1.converters.DOMString,
1015
+ // https://fetch.spec.whatwg.org/#requestcredentials
1016
+ allowedValues: requestCredentials
1017
+ },
1018
+ {
1019
+ key: 'cache',
1020
+ converter: webidl$1.converters.DOMString,
1021
+ // https://fetch.spec.whatwg.org/#requestcache
1022
+ allowedValues: requestCache
1023
+ },
1024
+ {
1025
+ key: 'redirect',
1026
+ converter: webidl$1.converters.DOMString,
1027
+ // https://fetch.spec.whatwg.org/#requestredirect
1028
+ allowedValues: requestRedirect
1029
+ },
1030
+ {
1031
+ key: 'integrity',
1032
+ converter: webidl$1.converters.DOMString
1033
+ },
1034
+ {
1035
+ key: 'keepalive',
1036
+ converter: webidl$1.converters.boolean
1037
+ },
1038
+ {
1039
+ key: 'signal',
1040
+ converter: webidl$1.nullableConverter(
1041
+ (signal) => webidl$1.converters.AbortSignal(
1042
+ signal,
1043
+ 'RequestInit',
1044
+ 'signal',
1045
+ { strict: false }
1046
+ )
1047
+ )
1048
+ },
1049
+ {
1050
+ key: 'window',
1051
+ converter: webidl$1.converters.any
1052
+ },
1053
+ {
1054
+ key: 'duplex',
1055
+ converter: webidl$1.converters.DOMString,
1056
+ allowedValues: requestDuplex
1057
+ },
1058
+ {
1059
+ key: 'dispatcher', // undici specific option
1060
+ converter: webidl$1.converters.any
1061
+ }
1062
+ ]);
1063
+
1064
+ request = { Request, makeRequest, fromInnerRequest, cloneRequest };
1065
+ return request;
1066
+ }
1067
+
1068
+ exports.__require = requireRequest;
1069
+ //# sourceMappingURL=request.js.map