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

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 (705) hide show
  1. package/README.md +10 -0
  2. package/lib/cjs/__/@actions/http-client/__/undici/index.js +226 -0
  3. package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +1 -0
  4. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +73 -0
  5. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  6. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +131 -0
  7. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  8. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +276 -0
  9. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  10. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +238 -0
  11. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  12. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +246 -0
  13. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  14. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +131 -0
  15. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  16. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +25 -0
  17. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  18. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +405 -0
  19. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  20. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +114 -0
  21. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  22. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +266 -0
  23. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  24. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +130 -0
  25. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  26. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +222 -0
  27. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  28. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +418 -0
  29. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  30. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +417 -0
  31. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  32. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +80 -0
  33. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  34. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js +166 -0
  35. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  36. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +755 -0
  37. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  38. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +149 -0
  39. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  40. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +227 -0
  41. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  42. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1397 -0
  43. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  44. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +768 -0
  45. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  46. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +650 -0
  47. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  48. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +206 -0
  49. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  50. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +83 -0
  51. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  52. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +177 -0
  53. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  54. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +129 -0
  55. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  56. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +211 -0
  57. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  58. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +49 -0
  59. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  60. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +126 -0
  61. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  62. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +299 -0
  63. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  64. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +50 -0
  65. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  66. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +47 -0
  67. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  68. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +56 -0
  69. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  70. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +237 -0
  71. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  72. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +395 -0
  73. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  74. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js +397 -0
  75. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  76. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js +139 -0
  77. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  78. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +35 -0
  79. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  80. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +38 -0
  81. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  82. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js +33 -0
  83. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  84. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +288 -0
  85. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  86. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +23 -0
  87. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  88. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +23 -0
  89. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  90. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +28 -0
  91. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  92. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +183 -0
  93. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  94. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +83 -0
  95. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  96. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +42 -0
  97. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  98. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +224 -0
  99. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  100. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +83 -0
  101. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  102. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +35 -0
  103. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  104. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +390 -0
  105. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  106. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +63 -0
  107. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  108. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +41 -0
  109. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  110. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js +435 -0
  111. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  112. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js +886 -0
  113. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  114. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +169 -0
  115. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  116. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +19 -0
  117. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  118. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js +65 -0
  119. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  120. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +24 -0
  121. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  122. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js +201 -0
  123. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  124. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +338 -0
  125. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  126. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js +294 -0
  127. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  128. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +417 -0
  129. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  130. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +508 -0
  131. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  132. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +49 -0
  133. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  134. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js +560 -0
  135. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  136. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +136 -0
  137. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  138. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +762 -0
  139. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  140. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +60 -0
  141. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  142. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js +146 -0
  143. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  144. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +499 -0
  145. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  146. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +275 -0
  147. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  148. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js +52 -0
  149. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  150. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +709 -0
  151. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  152. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2235 -0
  153. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  154. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1069 -0
  155. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  156. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +640 -0
  157. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  158. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +21 -0
  159. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  160. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1662 -0
  161. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  162. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +716 -0
  163. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  164. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +302 -0
  165. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  166. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +361 -0
  167. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  168. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +92 -0
  169. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  170. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +22 -0
  171. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  172. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +417 -0
  173. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  174. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +391 -0
  175. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  176. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +78 -0
  177. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  178. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js +350 -0
  179. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  180. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +110 -0
  181. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  182. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +89 -0
  183. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  184. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +451 -0
  185. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  186. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +120 -0
  187. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  188. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +24 -0
  189. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  190. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js +336 -0
  191. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  192. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +618 -0
  193. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  194. package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
  195. package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  196. package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
  197. package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
  198. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  199. package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  200. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  201. package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  202. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  203. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  204. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  205. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  206. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  207. package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
  208. package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
  209. package/lib/cjs/__/before-after-hook/index.js.map +1 -0
  210. package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
  211. package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
  212. package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
  213. package/lib/cjs/__/cross-spawn/index.js +1 -1
  214. package/lib/cjs/__/env-ci/lib/git.js +1 -1
  215. package/lib/cjs/__/{env-ci/__/execa → execa}/index.js +3 -3
  216. package/lib/cjs/__/execa/index.js.map +1 -0
  217. package/lib/cjs/__/execa/lib/command.js.map +1 -0
  218. package/lib/cjs/__/execa/lib/error.js.map +1 -0
  219. package/lib/cjs/__/execa/lib/promise.js.map +1 -0
  220. package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
  221. package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  222. package/lib/cjs/__/execa/lib/stream.js.map +1 -0
  223. package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
  224. package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
  225. package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
  226. package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
  227. package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
  228. package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
  229. package/lib/cjs/__/is-stream/index.js.map +1 -0
  230. package/lib/cjs/__/json-with-bigint/json-with-bigint.js +151 -0
  231. package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -0
  232. package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
  233. package/lib/cjs/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  234. package/lib/cjs/__/npm-run-path/index.js.map +1 -0
  235. package/lib/cjs/__/path-key/index.js +1 -1
  236. package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
  237. package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
  238. package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
  239. package/lib/cjs/__/undici/index.js +1 -1
  240. package/lib/cjs/__/undici/lib/api/api-connect.js +3 -3
  241. package/lib/cjs/__/undici/lib/api/api-pipeline.js +3 -3
  242. package/lib/cjs/__/undici/lib/api/api-request.js +3 -3
  243. package/lib/cjs/__/undici/lib/api/api-stream.js +3 -3
  244. package/lib/cjs/__/undici/lib/api/api-upgrade.js +3 -3
  245. package/lib/cjs/__/undici/lib/core/util.js +14 -14
  246. package/lib/cjs/__/undici/lib/fetch/body.js +8 -8
  247. package/lib/cjs/__/undici/lib/fetch/constants.js +3 -3
  248. package/lib/cjs/__/undici/lib/fetch/dataURL.js +5 -5
  249. package/lib/cjs/__/undici/lib/fetch/file.js +3 -3
  250. package/lib/cjs/__/undici/lib/fetch/formdata.js +3 -3
  251. package/lib/cjs/__/undici/lib/fetch/index.js +3 -3
  252. package/lib/cjs/__/undici/lib/fetch/index.js.map +1 -1
  253. package/lib/cjs/__/undici/lib/fetch/util.js +6 -6
  254. package/lib/cjs/__/undici/lib/fileapi/util.js +6 -6
  255. package/lib/cjs/__/undici/lib/websocket/events.js +3 -3
  256. package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
  257. package/lib/cjs/_virtual/api-request2.js +6 -0
  258. package/lib/cjs/_virtual/api-request2.js.map +1 -0
  259. package/lib/cjs/_virtual/constants2.js +6 -0
  260. package/lib/cjs/_virtual/constants2.js.map +1 -0
  261. package/lib/cjs/_virtual/index10.js +2 -2
  262. package/lib/cjs/_virtual/index11.js +2 -2
  263. package/lib/cjs/_virtual/index14.js +2 -2
  264. package/lib/cjs/_virtual/index15.js +6 -0
  265. package/lib/cjs/_virtual/index15.js.map +1 -0
  266. package/lib/cjs/_virtual/index16.js +6 -0
  267. package/lib/cjs/_virtual/index16.js.map +1 -0
  268. package/lib/cjs/_virtual/index2.js +1 -1
  269. package/lib/cjs/_virtual/index3.js +1 -1
  270. package/lib/cjs/_virtual/index4.js +1 -1
  271. package/lib/cjs/_virtual/index8.js +2 -2
  272. package/lib/cjs/_virtual/mock-interceptor2.js +6 -0
  273. package/lib/cjs/_virtual/mock-interceptor2.js.map +1 -0
  274. package/lib/cjs/_virtual/utils4.js +6 -0
  275. package/lib/cjs/_virtual/utils4.js.map +1 -0
  276. package/lib/cjs/env/load.js +1 -1
  277. package/lib/cjs/env/load.js.map +1 -1
  278. package/lib/esm/__/@actions/http-client/__/undici/index.js +220 -0
  279. package/lib/esm/__/@actions/http-client/__/undici/index.js.map +1 -0
  280. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +71 -0
  281. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  282. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +124 -0
  283. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  284. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +268 -0
  285. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  286. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +231 -0
  287. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  288. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +238 -0
  289. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  290. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +124 -0
  291. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  292. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +23 -0
  293. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  294. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +398 -0
  295. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  296. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +108 -0
  297. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  298. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +258 -0
  299. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  300. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +128 -0
  301. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  302. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +215 -0
  303. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  304. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +416 -0
  305. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  306. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +411 -0
  307. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  308. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +78 -0
  309. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  310. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js +164 -0
  311. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  312. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +742 -0
  313. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  314. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +147 -0
  315. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  316. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +225 -0
  317. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  318. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1391 -0
  319. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  320. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +761 -0
  321. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  322. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +642 -0
  323. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  324. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +204 -0
  325. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  326. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +77 -0
  327. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  328. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +175 -0
  329. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  330. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +127 -0
  331. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  332. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +209 -0
  333. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  334. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +47 -0
  335. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  336. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +124 -0
  337. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  338. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +293 -0
  339. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  340. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +48 -0
  341. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  342. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +45 -0
  343. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  344. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +54 -0
  345. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  346. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +230 -0
  347. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  348. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +389 -0
  349. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  350. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js +390 -0
  351. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  352. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js +137 -0
  353. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  354. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +33 -0
  355. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  356. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +36 -0
  357. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  358. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js +31 -0
  359. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  360. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +286 -0
  361. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  362. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +17 -0
  363. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  364. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +17 -0
  365. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  366. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +26 -0
  367. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  368. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +181 -0
  369. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  370. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +77 -0
  371. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  372. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +40 -0
  373. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  374. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +222 -0
  375. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  376. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +77 -0
  377. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  378. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +33 -0
  379. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  380. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +383 -0
  381. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  382. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +56 -0
  383. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  384. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +39 -0
  385. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  386. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js +433 -0
  387. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  388. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js +880 -0
  389. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  390. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +167 -0
  391. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  392. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +17 -0
  393. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  394. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js +59 -0
  395. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  396. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +22 -0
  397. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  398. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js +199 -0
  399. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  400. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +332 -0
  401. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  402. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js +292 -0
  403. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  404. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +411 -0
  405. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  406. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +502 -0
  407. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  408. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +47 -0
  409. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  410. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js +551 -0
  411. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  412. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +134 -0
  413. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  414. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +756 -0
  415. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  416. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +58 -0
  417. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  418. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js +140 -0
  419. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  420. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +492 -0
  421. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  422. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +268 -0
  423. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  424. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js +50 -0
  425. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  426. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +702 -0
  427. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  428. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2224 -0
  429. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  430. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1061 -0
  431. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  432. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +633 -0
  433. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  434. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +19 -0
  435. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  436. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1652 -0
  437. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  438. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +709 -0
  439. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  440. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +300 -0
  441. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  442. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +359 -0
  443. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  444. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +90 -0
  445. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  446. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +20 -0
  447. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  448. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +409 -0
  449. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  450. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +389 -0
  451. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  452. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +76 -0
  453. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  454. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js +344 -0
  455. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  456. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +108 -0
  457. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  458. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +83 -0
  459. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  460. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +444 -0
  461. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  462. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +118 -0
  463. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  464. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +22 -0
  465. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  466. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js +330 -0
  467. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  468. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +612 -0
  469. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  470. package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
  471. package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  472. package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
  473. package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
  474. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  475. package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  476. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  477. package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  478. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  479. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  480. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  481. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  482. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  483. package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
  484. package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
  485. package/lib/esm/__/before-after-hook/index.js.map +1 -0
  486. package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
  487. package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
  488. package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
  489. package/lib/esm/__/cross-spawn/index.js +1 -1
  490. package/lib/esm/__/env-ci/lib/git.js +1 -1
  491. package/lib/esm/__/{env-ci/__/execa → execa}/index.js +1 -1
  492. package/lib/esm/__/execa/index.js.map +1 -0
  493. package/lib/esm/__/execa/lib/command.js.map +1 -0
  494. package/lib/esm/__/execa/lib/error.js.map +1 -0
  495. package/lib/esm/__/execa/lib/promise.js.map +1 -0
  496. package/lib/esm/__/execa/lib/stdio.js.map +1 -0
  497. package/lib/esm/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  498. package/lib/esm/__/execa/lib/stream.js.map +1 -0
  499. package/lib/esm/__/execa/lib/verbose.js.map +1 -0
  500. package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
  501. package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
  502. package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
  503. package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
  504. package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
  505. package/lib/esm/__/is-stream/index.js.map +1 -0
  506. package/lib/esm/__/java-properties/dist-node/index.js +1 -1
  507. package/lib/esm/__/json-with-bigint/json-with-bigint.js +148 -0
  508. package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -0
  509. package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
  510. package/lib/esm/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  511. package/lib/esm/__/npm-run-path/index.js.map +1 -0
  512. package/lib/esm/__/path-key/index.js +1 -1
  513. package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
  514. package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
  515. package/lib/esm/__/strip-final-newline/index.js.map +1 -0
  516. package/lib/esm/__/undici/index.js +1 -1
  517. package/lib/esm/__/undici/lib/api/api-connect.js +2 -2
  518. package/lib/esm/__/undici/lib/api/api-pipeline.js +2 -2
  519. package/lib/esm/__/undici/lib/api/api-request.js +2 -2
  520. package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
  521. package/lib/esm/__/undici/lib/api/api-stream.js +2 -2
  522. package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
  523. package/lib/esm/__/undici/lib/api/api-upgrade.js +2 -2
  524. package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
  525. package/lib/esm/__/undici/lib/core/util.js +10 -10
  526. package/lib/esm/__/undici/lib/core/util.js.map +1 -1
  527. package/lib/esm/__/undici/lib/fetch/body.js +6 -6
  528. package/lib/esm/__/undici/lib/fetch/body.js.map +1 -1
  529. package/lib/esm/__/undici/lib/fetch/constants.js +2 -2
  530. package/lib/esm/__/undici/lib/fetch/constants.js.map +1 -1
  531. package/lib/esm/__/undici/lib/fetch/dataURL.js +4 -4
  532. package/lib/esm/__/undici/lib/fetch/dataURL.js.map +1 -1
  533. package/lib/esm/__/undici/lib/fetch/file.js +2 -2
  534. package/lib/esm/__/undici/lib/fetch/file.js.map +1 -1
  535. package/lib/esm/__/undici/lib/fetch/formdata.js +2 -2
  536. package/lib/esm/__/undici/lib/fetch/index.js +2 -2
  537. package/lib/esm/__/undici/lib/fetch/index.js.map +1 -1
  538. package/lib/esm/__/undici/lib/fetch/util.js +4 -4
  539. package/lib/esm/__/undici/lib/fetch/util.js.map +1 -1
  540. package/lib/esm/__/undici/lib/fileapi/util.js +4 -4
  541. package/lib/esm/__/undici/lib/fileapi/util.js.map +1 -1
  542. package/lib/esm/__/undici/lib/websocket/events.js +2 -2
  543. package/lib/esm/__/universal-user-agent/index.js.map +1 -0
  544. package/lib/esm/_virtual/api-request2.js +4 -0
  545. package/lib/esm/_virtual/api-request2.js.map +1 -0
  546. package/lib/esm/_virtual/constants2.js +4 -0
  547. package/lib/esm/_virtual/constants2.js.map +1 -0
  548. package/lib/esm/_virtual/index10.js +4 -2
  549. package/lib/esm/_virtual/index10.js.map +1 -1
  550. package/lib/esm/_virtual/index11.js +2 -2
  551. package/lib/esm/_virtual/index14.js +2 -2
  552. package/lib/esm/_virtual/index15.js +4 -0
  553. package/lib/esm/_virtual/index15.js.map +1 -0
  554. package/lib/esm/_virtual/index16.js +4 -0
  555. package/lib/esm/_virtual/index16.js.map +1 -0
  556. package/lib/esm/_virtual/index2.js +1 -1
  557. package/lib/esm/_virtual/index3.js +1 -1
  558. package/lib/esm/_virtual/index4.js +1 -1
  559. package/lib/esm/_virtual/index5.js +2 -6
  560. package/lib/esm/_virtual/index5.js.map +1 -1
  561. package/lib/esm/_virtual/index6.js +6 -2
  562. package/lib/esm/_virtual/index6.js.map +1 -1
  563. package/lib/esm/_virtual/index8.js +2 -4
  564. package/lib/esm/_virtual/index8.js.map +1 -1
  565. package/lib/esm/_virtual/index9.js +2 -2
  566. package/lib/esm/_virtual/mock-interceptor2.js +4 -0
  567. package/lib/esm/_virtual/mock-interceptor2.js.map +1 -0
  568. package/lib/esm/_virtual/utils4.js +4 -0
  569. package/lib/esm/_virtual/utils4.js.map +1 -0
  570. package/lib/esm/env/load.js +1 -1
  571. package/lib/esm/env/load.js.map +1 -1
  572. package/lib/types/env/load.d.ts +5 -5
  573. package/lib/types/utils/log-response.d.ts +5 -5
  574. package/lib/types/utils/logger.d.ts +5 -5
  575. package/package.json +9 -9
  576. package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  577. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  578. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  579. package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  580. package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  581. package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  582. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  583. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  584. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  585. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  586. package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  587. package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  588. package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  589. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  590. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  591. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  592. package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  593. package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
  594. package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
  595. package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
  596. package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
  597. package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  598. package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
  599. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  600. package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  601. package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  602. package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  603. package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  604. package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  605. package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
  606. package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
  607. package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
  608. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  609. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  610. package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  611. package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  612. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  613. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  614. package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  615. package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  616. package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  617. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  618. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  619. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  620. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  621. package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  622. package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  623. package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  624. package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  625. package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  626. package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  627. package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  628. package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
  629. package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
  630. package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
  631. package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
  632. package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  633. package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
  634. package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  635. package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  636. package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  637. package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  638. package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  639. package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  640. package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
  641. package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
  642. package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
  643. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  644. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  645. package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  646. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  647. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  648. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  649. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  650. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  651. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  652. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  653. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  654. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  655. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  656. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  657. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  658. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  659. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  660. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  661. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  662. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  663. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  664. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  665. /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  666. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  667. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  668. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  669. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  670. /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  671. /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  672. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  673. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  674. /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  675. /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
  676. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  677. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  678. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  679. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  680. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  681. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  682. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  683. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  684. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  685. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  686. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  687. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  688. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  689. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  690. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  691. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  692. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  693. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  694. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  695. /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  696. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  697. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  698. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  699. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  700. /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  701. /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  702. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  703. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  704. /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  705. /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
@@ -0,0 +1,124 @@
1
+ import require$$0 from 'node:assert';
2
+ import require$$1 from 'node:async_hooks';
3
+ import { __require as requireErrors } from '../core/errors.js';
4
+ import { __require as requireUtil } from '../core/util.js';
5
+ import { __require as requireAbortSignal } from './abort-signal.js';
6
+
7
+ var apiConnect;
8
+ var hasRequiredApiConnect;
9
+
10
+ function requireApiConnect () {
11
+ if (hasRequiredApiConnect) return apiConnect;
12
+ hasRequiredApiConnect = 1;
13
+
14
+ const assert = require$$0;
15
+ const { AsyncResource } = require$$1;
16
+ const { InvalidArgumentError, SocketError } = requireErrors();
17
+ const util = requireUtil();
18
+ const { addSignal, removeSignal } = requireAbortSignal();
19
+
20
+ class ConnectHandler extends AsyncResource {
21
+ constructor (opts, callback) {
22
+ if (!opts || typeof opts !== 'object') {
23
+ throw new InvalidArgumentError('invalid opts')
24
+ }
25
+
26
+ if (typeof callback !== 'function') {
27
+ throw new InvalidArgumentError('invalid callback')
28
+ }
29
+
30
+ const { signal, opaque, responseHeaders } = opts;
31
+
32
+ if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {
33
+ throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
34
+ }
35
+
36
+ super('UNDICI_CONNECT');
37
+
38
+ this.opaque = opaque || null;
39
+ this.responseHeaders = responseHeaders || null;
40
+ this.callback = callback;
41
+ this.abort = null;
42
+
43
+ addSignal(this, signal);
44
+ }
45
+
46
+ onConnect (abort, context) {
47
+ if (this.reason) {
48
+ abort(this.reason);
49
+ return
50
+ }
51
+
52
+ assert(this.callback);
53
+
54
+ this.abort = abort;
55
+ this.context = context;
56
+ }
57
+
58
+ onHeaders () {
59
+ throw new SocketError('bad connect', null)
60
+ }
61
+
62
+ onUpgrade (statusCode, rawHeaders, socket) {
63
+ const { callback, opaque, context } = this;
64
+
65
+ removeSignal(this);
66
+
67
+ this.callback = null;
68
+
69
+ let headers = rawHeaders;
70
+ // Indicates is an HTTP2Session
71
+ if (headers != null) {
72
+ headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
73
+ }
74
+
75
+ this.runInAsyncScope(callback, null, null, {
76
+ statusCode,
77
+ headers,
78
+ socket,
79
+ opaque,
80
+ context
81
+ });
82
+ }
83
+
84
+ onError (err) {
85
+ const { callback, opaque } = this;
86
+
87
+ removeSignal(this);
88
+
89
+ if (callback) {
90
+ this.callback = null;
91
+ queueMicrotask(() => {
92
+ this.runInAsyncScope(callback, null, err, { opaque });
93
+ });
94
+ }
95
+ }
96
+ }
97
+
98
+ function connect (opts, callback) {
99
+ if (callback === undefined) {
100
+ return new Promise((resolve, reject) => {
101
+ connect.call(this, opts, (err, data) => {
102
+ return err ? reject(err) : resolve(data)
103
+ });
104
+ })
105
+ }
106
+
107
+ try {
108
+ const connectHandler = new ConnectHandler(opts, callback);
109
+ this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler);
110
+ } catch (err) {
111
+ if (typeof callback !== 'function') {
112
+ throw err
113
+ }
114
+ const opaque = opts?.opaque;
115
+ queueMicrotask(() => callback(err, { opaque }));
116
+ }
117
+ }
118
+
119
+ apiConnect = connect;
120
+ return apiConnect;
121
+ }
122
+
123
+ export { requireApiConnect as __require };
124
+ //# sourceMappingURL=api-connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-connect.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/api/api-connect.js"],"sourcesContent":["'use strict'\n\nconst assert = require('node:assert')\nconst { AsyncResource } = require('node:async_hooks')\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass ConnectHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_CONNECT')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.callback = callback\n this.abort = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders () {\n throw new SocketError('bad connect', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n\n let headers = rawHeaders\n // Indicates is an HTTP2Session\n if (headers != null) {\n headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n }\n\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction connect (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n connect.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const connectHandler = new ConnectHandler(opts, callback)\n this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = connect\n"],"names":["require$$2","require$$3","require$$4"],"mappings":";;;;;;;;;;;;;AAEA,CAAA,MAAM,MAAM,GAAG;CACf,MAAM,EAAE,aAAa,EAAE,GAAG;AAC1B,CAAA,MAAM,EAAE,oBAAoB,EAAE,WAAW,EAAE,GAAGA,aAAA;AAC9C,CAAA,MAAM,IAAI,GAAGC,WAAA;AACb,CAAA,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAGC,kBAAA;;CAEpC,MAAM,cAAc,SAAS,aAAa,CAAC;AAC3C,GAAE,WAAW,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE;KAC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AE,GAAG,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,cAAc;GAChE,CAAG,CAAC,OAAO,GAAG,EAAE;AAChB,KAAI,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AACxC,OAAM,MAAM;AACZ,KAAA;AACA,KAAI,MAAM,MAAM,GAAG,IAAI,EAAE;KACrB,cAAc,CAAC,MAAM,QAAQ,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC;AAClD,GAAA;AACA,CAAA;;AAEA,CAAA,UAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,268 @@
1
+ import require$$0 from 'node:stream';
2
+ import { __require as requireErrors } from '../core/errors.js';
3
+ import { __require as requireUtil } from '../core/util.js';
4
+ import require$$1 from 'node:async_hooks';
5
+ import { __require as requireAbortSignal } from './abort-signal.js';
6
+ import require$$0$1 from 'node:assert';
7
+
8
+ var apiPipeline;
9
+ var hasRequiredApiPipeline;
10
+
11
+ function requireApiPipeline () {
12
+ if (hasRequiredApiPipeline) return apiPipeline;
13
+ hasRequiredApiPipeline = 1;
14
+
15
+ const {
16
+ Readable,
17
+ Duplex,
18
+ PassThrough
19
+ } = require$$0;
20
+ const {
21
+ InvalidArgumentError,
22
+ InvalidReturnValueError,
23
+ RequestAbortedError
24
+ } = requireErrors();
25
+ const util = requireUtil();
26
+ const { AsyncResource } = require$$1;
27
+ const { addSignal, removeSignal } = requireAbortSignal();
28
+ const assert = require$$0$1;
29
+
30
+ const kResume = Symbol('resume');
31
+
32
+ class PipelineRequest extends Readable {
33
+ constructor () {
34
+ super({ autoDestroy: true });
35
+
36
+ this[kResume] = null;
37
+ }
38
+
39
+ _read () {
40
+ const { [kResume]: resume } = this;
41
+
42
+ if (resume) {
43
+ this[kResume] = null;
44
+ resume();
45
+ }
46
+ }
47
+
48
+ _destroy (err, callback) {
49
+ this._read();
50
+
51
+ callback(err);
52
+ }
53
+ }
54
+
55
+ class PipelineResponse extends Readable {
56
+ constructor (resume) {
57
+ super({ autoDestroy: true });
58
+ this[kResume] = resume;
59
+ }
60
+
61
+ _read () {
62
+ this[kResume]();
63
+ }
64
+
65
+ _destroy (err, callback) {
66
+ if (!err && !this._readableState.endEmitted) {
67
+ err = new RequestAbortedError();
68
+ }
69
+
70
+ callback(err);
71
+ }
72
+ }
73
+
74
+ class PipelineHandler extends AsyncResource {
75
+ constructor (opts, handler) {
76
+ if (!opts || typeof opts !== 'object') {
77
+ throw new InvalidArgumentError('invalid opts')
78
+ }
79
+
80
+ if (typeof handler !== 'function') {
81
+ throw new InvalidArgumentError('invalid handler')
82
+ }
83
+
84
+ const { signal, method, opaque, onInfo, responseHeaders } = opts;
85
+
86
+ if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {
87
+ throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
88
+ }
89
+
90
+ if (method === 'CONNECT') {
91
+ throw new InvalidArgumentError('invalid method')
92
+ }
93
+
94
+ if (onInfo && typeof onInfo !== 'function') {
95
+ throw new InvalidArgumentError('invalid onInfo callback')
96
+ }
97
+
98
+ super('UNDICI_PIPELINE');
99
+
100
+ this.opaque = opaque || null;
101
+ this.responseHeaders = responseHeaders || null;
102
+ this.handler = handler;
103
+ this.abort = null;
104
+ this.context = null;
105
+ this.onInfo = onInfo || null;
106
+
107
+ this.req = new PipelineRequest().on('error', util.nop);
108
+
109
+ this.ret = new Duplex({
110
+ readableObjectMode: opts.objectMode,
111
+ autoDestroy: true,
112
+ read: () => {
113
+ const { body } = this;
114
+
115
+ if (body?.resume) {
116
+ body.resume();
117
+ }
118
+ },
119
+ write: (chunk, encoding, callback) => {
120
+ const { req } = this;
121
+
122
+ if (req.push(chunk, encoding) || req._readableState.destroyed) {
123
+ callback();
124
+ } else {
125
+ req[kResume] = callback;
126
+ }
127
+ },
128
+ destroy: (err, callback) => {
129
+ const { body, req, res, ret, abort } = this;
130
+
131
+ if (!err && !ret._readableState.endEmitted) {
132
+ err = new RequestAbortedError();
133
+ }
134
+
135
+ if (abort && err) {
136
+ abort();
137
+ }
138
+
139
+ util.destroy(body, err);
140
+ util.destroy(req, err);
141
+ util.destroy(res, err);
142
+
143
+ removeSignal(this);
144
+
145
+ callback(err);
146
+ }
147
+ }).on('prefinish', () => {
148
+ const { req } = this;
149
+
150
+ // Node < 15 does not call _final in same tick.
151
+ req.push(null);
152
+ });
153
+
154
+ this.res = null;
155
+
156
+ addSignal(this, signal);
157
+ }
158
+
159
+ onConnect (abort, context) {
160
+ const { ret, res } = this;
161
+
162
+ if (this.reason) {
163
+ abort(this.reason);
164
+ return
165
+ }
166
+
167
+ assert(!res, 'pipeline cannot be retried');
168
+ assert(!ret.destroyed);
169
+
170
+ this.abort = abort;
171
+ this.context = context;
172
+ }
173
+
174
+ onHeaders (statusCode, rawHeaders, resume) {
175
+ const { opaque, handler, context } = this;
176
+
177
+ if (statusCode < 200) {
178
+ if (this.onInfo) {
179
+ const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
180
+ this.onInfo({ statusCode, headers });
181
+ }
182
+ return
183
+ }
184
+
185
+ this.res = new PipelineResponse(resume);
186
+
187
+ let body;
188
+ try {
189
+ this.handler = null;
190
+ const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
191
+ body = this.runInAsyncScope(handler, null, {
192
+ statusCode,
193
+ headers,
194
+ opaque,
195
+ body: this.res,
196
+ context
197
+ });
198
+ } catch (err) {
199
+ this.res.on('error', util.nop);
200
+ throw err
201
+ }
202
+
203
+ if (!body || typeof body.on !== 'function') {
204
+ throw new InvalidReturnValueError('expected Readable')
205
+ }
206
+
207
+ body
208
+ .on('data', (chunk) => {
209
+ const { ret, body } = this;
210
+
211
+ if (!ret.push(chunk) && body.pause) {
212
+ body.pause();
213
+ }
214
+ })
215
+ .on('error', (err) => {
216
+ const { ret } = this;
217
+
218
+ util.destroy(ret, err);
219
+ })
220
+ .on('end', () => {
221
+ const { ret } = this;
222
+
223
+ ret.push(null);
224
+ })
225
+ .on('close', () => {
226
+ const { ret } = this;
227
+
228
+ if (!ret._readableState.ended) {
229
+ util.destroy(ret, new RequestAbortedError());
230
+ }
231
+ });
232
+
233
+ this.body = body;
234
+ }
235
+
236
+ onData (chunk) {
237
+ const { res } = this;
238
+ return res.push(chunk)
239
+ }
240
+
241
+ onComplete (trailers) {
242
+ const { res } = this;
243
+ res.push(null);
244
+ }
245
+
246
+ onError (err) {
247
+ const { ret } = this;
248
+ this.handler = null;
249
+ util.destroy(ret, err);
250
+ }
251
+ }
252
+
253
+ function pipeline (opts, handler) {
254
+ try {
255
+ const pipelineHandler = new PipelineHandler(opts, handler);
256
+ this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler);
257
+ return pipelineHandler.ret
258
+ } catch (err) {
259
+ return new PassThrough().destroy(err)
260
+ }
261
+ }
262
+
263
+ apiPipeline = pipeline;
264
+ return apiPipeline;
265
+ }
266
+
267
+ export { requireApiPipeline as __require };
268
+ //# sourceMappingURL=api-pipeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-pipeline.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/api/api-pipeline.js"],"sourcesContent":["'use strict'\n\nconst {\n Readable,\n Duplex,\n PassThrough\n} = require('node:stream')\nconst {\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nconst kResume = Symbol('resume')\n\nclass PipelineRequest extends Readable {\n constructor () {\n super({ autoDestroy: true })\n\n this[kResume] = null\n }\n\n _read () {\n const { [kResume]: resume } = this\n\n if (resume) {\n this[kResume] = null\n resume()\n }\n }\n\n _destroy (err, callback) {\n this._read()\n\n callback(err)\n }\n}\n\nclass PipelineResponse extends Readable {\n constructor (resume) {\n super({ autoDestroy: true })\n this[kResume] = resume\n }\n\n _read () {\n this[kResume]()\n }\n\n _destroy (err, callback) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n callback(err)\n }\n}\n\nclass PipelineHandler extends AsyncResource {\n constructor (opts, handler) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof handler !== 'function') {\n throw new InvalidArgumentError('invalid handler')\n }\n\n const { signal, method, opaque, onInfo, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_PIPELINE')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.handler = handler\n this.abort = null\n this.context = null\n this.onInfo = onInfo || null\n\n this.req = new PipelineRequest().on('error', util.nop)\n\n this.ret = new Duplex({\n readableObjectMode: opts.objectMode,\n autoDestroy: true,\n read: () => {\n const { body } = this\n\n if (body?.resume) {\n body.resume()\n }\n },\n write: (chunk, encoding, callback) => {\n const { req } = this\n\n if (req.push(chunk, encoding) || req._readableState.destroyed) {\n callback()\n } else {\n req[kResume] = callback\n }\n },\n destroy: (err, callback) => {\n const { body, req, res, ret, abort } = this\n\n if (!err && !ret._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (abort && err) {\n abort()\n }\n\n util.destroy(body, err)\n util.destroy(req, err)\n util.destroy(res, err)\n\n removeSignal(this)\n\n callback(err)\n }\n }).on('prefinish', () => {\n const { req } = this\n\n // Node < 15 does not call _final in same tick.\n req.push(null)\n })\n\n this.res = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n const { ret, res } = this\n\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(!res, 'pipeline cannot be retried')\n assert(!ret.destroyed)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume) {\n const { opaque, handler, context } = this\n\n if (statusCode < 200) {\n if (this.onInfo) {\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.res = new PipelineResponse(resume)\n\n let body\n try {\n this.handler = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n body = this.runInAsyncScope(handler, null, {\n statusCode,\n headers,\n opaque,\n body: this.res,\n context\n })\n } catch (err) {\n this.res.on('error', util.nop)\n throw err\n }\n\n if (!body || typeof body.on !== 'function') {\n throw new InvalidReturnValueError('expected Readable')\n }\n\n body\n .on('data', (chunk) => {\n const { ret, body } = this\n\n if (!ret.push(chunk) && body.pause) {\n body.pause()\n }\n })\n .on('error', (err) => {\n const { ret } = this\n\n util.destroy(ret, err)\n })\n .on('end', () => {\n const { ret } = this\n\n ret.push(null)\n })\n .on('close', () => {\n const { ret } = this\n\n if (!ret._readableState.ended) {\n util.destroy(ret, new RequestAbortedError())\n }\n })\n\n this.body = body\n }\n\n onData (chunk) {\n const { res } = this\n return res.push(chunk)\n }\n\n onComplete (trailers) {\n const { res } = this\n res.push(null)\n }\n\n onError (err) {\n const { ret } = this\n this.handler = null\n util.destroy(ret, err)\n }\n}\n\nfunction pipeline (opts, handler) {\n try {\n const pipelineHandler = new PipelineHandler(opts, handler)\n this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler)\n return pipelineHandler.ret\n } catch (err) {\n return new PassThrough().destroy(err)\n }\n}\n\nmodule.exports = pipeline\n"],"names":["require$$1","require$$2","require$$3","require$$4","require$$5"],"mappings":";;;;;;;;;;;;;;CAEA,MAAM;AACN,GAAE,QAAQ;AACV,GAAE,MAAM;GACN;AACF,EAAC,GAAG;CACJ,MAAM;AACN,GAAE,oBAAoB;AACtB,GAA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ACA,CAAO;;KAEH,IAAI,CAAC,IAAI,GAAG;AAChB,GAAA;;AAEA,GAAE,MAAM,CAAC,CAAC,KAAK,EAAE;AACjB,KAAI,MAAM,EAAE,GAAG,EAAE,GAAG;AACpB,KAAI,OAAO,GAAG,CAAC,IAAI,CAAC,KAAK;AACzB,GAAA;;AAEA,GAAE,UAAU,CAAC,CAAC,QAAQ,EAAE;AACxB,KAAI,MAAM,EAAE,GAAG,EAAE,GAAG;AACpB,KAAI,GAAG,CAAC,IAAI,CAAC,IAAI;AACjB,GAAA;;AAEA,GAAE,OAAO,CAAC,CAAC,GAAG,EAAE;AAChB,KAAI,MAAM,EAAE,GAAG,EAAE,GAAG;KAChB,IAAI,CAAC,OAAO,GAAG;AACnB,KAAI,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG;AACzB,GAAA;AACA;;AAEA,CAAA,SAAS,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;AAClC,GAAE,IAAI;KACF,MAAM,eAAe,GAAG,IAAI,eAAe,CAAC,IAAI,EAAE,OAAO;AAC7D,KAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,eAAe,CAAC,GAAG,EAAE,EAAE,eAAe;KACrE,OAAO,eAAe,CAAC;GAC3B,CAAG,CAAC,OAAO,GAAG,EAAE;AAChB,KAAI,OAAO,IAAI,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG;AACxC,GAAA;AACA,CAAA;;AAEA,CAAA,WAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,231 @@
1
+ import { __module as apiRequest } from '../../../../../../../_virtual/api-request2.js';
2
+ import require$$0 from 'node:assert';
3
+ import { __require as requireReadable } from './readable.js';
4
+ import { __require as requireErrors } from '../core/errors.js';
5
+ import { __require as requireUtil } from '../core/util.js';
6
+ import { __require as requireUtil$1 } from './util.js';
7
+ import require$$1 from 'node:async_hooks';
8
+
9
+ var hasRequiredApiRequest;
10
+
11
+ function requireApiRequest () {
12
+ if (hasRequiredApiRequest) return apiRequest.exports;
13
+ hasRequiredApiRequest = 1;
14
+
15
+ const assert = require$$0;
16
+ const { Readable } = requireReadable();
17
+ const { InvalidArgumentError, RequestAbortedError } = requireErrors();
18
+ const util = requireUtil();
19
+ const { getResolveErrorBodyCallback } = requireUtil$1();
20
+ const { AsyncResource } = require$$1;
21
+
22
+ class RequestHandler extends AsyncResource {
23
+ constructor (opts, callback) {
24
+ if (!opts || typeof opts !== 'object') {
25
+ throw new InvalidArgumentError('invalid opts')
26
+ }
27
+
28
+ const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts;
29
+
30
+ try {
31
+ if (typeof callback !== 'function') {
32
+ throw new InvalidArgumentError('invalid callback')
33
+ }
34
+
35
+ if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) {
36
+ throw new InvalidArgumentError('invalid highWaterMark')
37
+ }
38
+
39
+ if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {
40
+ throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')
41
+ }
42
+
43
+ if (method === 'CONNECT') {
44
+ throw new InvalidArgumentError('invalid method')
45
+ }
46
+
47
+ if (onInfo && typeof onInfo !== 'function') {
48
+ throw new InvalidArgumentError('invalid onInfo callback')
49
+ }
50
+
51
+ super('UNDICI_REQUEST');
52
+ } catch (err) {
53
+ if (util.isStream(body)) {
54
+ util.destroy(body.on('error', util.nop), err);
55
+ }
56
+ throw err
57
+ }
58
+
59
+ this.method = method;
60
+ this.responseHeaders = responseHeaders || null;
61
+ this.opaque = opaque || null;
62
+ this.callback = callback;
63
+ this.res = null;
64
+ this.abort = null;
65
+ this.body = body;
66
+ this.trailers = {};
67
+ this.context = null;
68
+ this.onInfo = onInfo || null;
69
+ this.throwOnError = throwOnError;
70
+ this.highWaterMark = highWaterMark;
71
+ this.signal = signal;
72
+ this.reason = null;
73
+ this.removeAbortListener = null;
74
+
75
+ if (util.isStream(body)) {
76
+ body.on('error', (err) => {
77
+ this.onError(err);
78
+ });
79
+ }
80
+
81
+ if (this.signal) {
82
+ if (this.signal.aborted) {
83
+ this.reason = this.signal.reason ?? new RequestAbortedError();
84
+ } else {
85
+ this.removeAbortListener = util.addAbortListener(this.signal, () => {
86
+ this.reason = this.signal.reason ?? new RequestAbortedError();
87
+ if (this.res) {
88
+ util.destroy(this.res.on('error', util.nop), this.reason);
89
+ } else if (this.abort) {
90
+ this.abort(this.reason);
91
+ }
92
+
93
+ if (this.removeAbortListener) {
94
+ this.res?.off('close', this.removeAbortListener);
95
+ this.removeAbortListener();
96
+ this.removeAbortListener = null;
97
+ }
98
+ });
99
+ }
100
+ }
101
+ }
102
+
103
+ onConnect (abort, context) {
104
+ if (this.reason) {
105
+ abort(this.reason);
106
+ return
107
+ }
108
+
109
+ assert(this.callback);
110
+
111
+ this.abort = abort;
112
+ this.context = context;
113
+ }
114
+
115
+ onHeaders (statusCode, rawHeaders, resume, statusMessage) {
116
+ const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this;
117
+
118
+ const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders);
119
+
120
+ if (statusCode < 200) {
121
+ if (this.onInfo) {
122
+ this.onInfo({ statusCode, headers });
123
+ }
124
+ return
125
+ }
126
+
127
+ const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers;
128
+ const contentType = parsedHeaders['content-type'];
129
+ const contentLength = parsedHeaders['content-length'];
130
+ const res = new Readable({
131
+ resume,
132
+ abort,
133
+ contentType,
134
+ contentLength: this.method !== 'HEAD' && contentLength
135
+ ? Number(contentLength)
136
+ : null,
137
+ highWaterMark
138
+ });
139
+
140
+ if (this.removeAbortListener) {
141
+ res.on('close', this.removeAbortListener);
142
+ }
143
+
144
+ this.callback = null;
145
+ this.res = res;
146
+ if (callback !== null) {
147
+ if (this.throwOnError && statusCode >= 400) {
148
+ this.runInAsyncScope(getResolveErrorBodyCallback, null,
149
+ { callback, body: res, contentType, statusCode, statusMessage, headers }
150
+ );
151
+ } else {
152
+ this.runInAsyncScope(callback, null, null, {
153
+ statusCode,
154
+ headers,
155
+ trailers: this.trailers,
156
+ opaque,
157
+ body: res,
158
+ context
159
+ });
160
+ }
161
+ }
162
+ }
163
+
164
+ onData (chunk) {
165
+ return this.res.push(chunk)
166
+ }
167
+
168
+ onComplete (trailers) {
169
+ util.parseHeaders(trailers, this.trailers);
170
+ this.res.push(null);
171
+ }
172
+
173
+ onError (err) {
174
+ const { res, callback, body, opaque } = this;
175
+
176
+ if (callback) {
177
+ // TODO: Does this need queueMicrotask?
178
+ this.callback = null;
179
+ queueMicrotask(() => {
180
+ this.runInAsyncScope(callback, null, err, { opaque });
181
+ });
182
+ }
183
+
184
+ if (res) {
185
+ this.res = null;
186
+ // Ensure all queued handlers are invoked before destroying res.
187
+ queueMicrotask(() => {
188
+ util.destroy(res, err);
189
+ });
190
+ }
191
+
192
+ if (body) {
193
+ this.body = null;
194
+ util.destroy(body, err);
195
+ }
196
+
197
+ if (this.removeAbortListener) {
198
+ res?.off('close', this.removeAbortListener);
199
+ this.removeAbortListener();
200
+ this.removeAbortListener = null;
201
+ }
202
+ }
203
+ }
204
+
205
+ function request (opts, callback) {
206
+ if (callback === undefined) {
207
+ return new Promise((resolve, reject) => {
208
+ request.call(this, opts, (err, data) => {
209
+ return err ? reject(err) : resolve(data)
210
+ });
211
+ })
212
+ }
213
+
214
+ try {
215
+ this.dispatch(opts, new RequestHandler(opts, callback));
216
+ } catch (err) {
217
+ if (typeof callback !== 'function') {
218
+ throw err
219
+ }
220
+ const opaque = opts?.opaque;
221
+ queueMicrotask(() => callback(err, { opaque }));
222
+ }
223
+ }
224
+
225
+ apiRequest.exports = request;
226
+ apiRequest.exports.RequestHandler = RequestHandler;
227
+ return apiRequest.exports;
228
+ }
229
+
230
+ export { requireApiRequest as __require };
231
+ //# sourceMappingURL=api-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-request.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/api/api-request.js"],"sourcesContent":["'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('./readable')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\n\nclass RequestHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) {\n throw new InvalidArgumentError('invalid highWaterMark')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_REQUEST')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.method = method\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.res = null\n this.abort = null\n this.body = body\n this.trailers = {}\n this.context = null\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError\n this.highWaterMark = highWaterMark\n this.signal = signal\n this.reason = null\n this.removeAbortListener = null\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n if (this.signal) {\n if (this.signal.aborted) {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n } else {\n this.removeAbortListener = util.addAbortListener(this.signal, () => {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n if (this.res) {\n util.destroy(this.res.on('error', util.nop), this.reason)\n } else if (this.abort) {\n this.abort(this.reason)\n }\n\n if (this.removeAbortListener) {\n this.res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n })\n }\n }\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n const contentLength = parsedHeaders['content-length']\n const res = new Readable({\n resume,\n abort,\n contentType,\n contentLength: this.method !== 'HEAD' && contentLength\n ? Number(contentLength)\n : null,\n highWaterMark\n })\n\n if (this.removeAbortListener) {\n res.on('close', this.removeAbortListener)\n }\n\n this.callback = null\n this.res = res\n if (callback !== null) {\n if (this.throwOnError && statusCode >= 400) {\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n trailers: this.trailers,\n opaque,\n body: res,\n context\n })\n }\n }\n }\n\n onData (chunk) {\n return this.res.push(chunk)\n }\n\n onComplete (trailers) {\n util.parseHeaders(trailers, this.trailers)\n this.res.push(null)\n }\n\n onError (err) {\n const { res, callback, body, opaque } = this\n\n if (callback) {\n // TODO: Does this need queueMicrotask?\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (res) {\n this.res = null\n // Ensure all queued handlers are invoked before destroying res.\n queueMicrotask(() => {\n util.destroy(res, err)\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n\n if (this.removeAbortListener) {\n res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n }\n}\n\nfunction request (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n request.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new RequestHandler(opts, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = request\nmodule.exports.RequestHandler = RequestHandler\n"],"names":["require$$1","require$$2","require$$3","require$$4","require$$5","apiRequestModule"],"mappings":";;;;;;;;;;;;;;AAEA,CAAA,MAAM,MAAM,GAAG;CACf,MAAM,EAAE,QAAQ,EAAE,GAAGA,eAAA;AACrB,CAAA,MAAM,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,GAAGC,aAAA;AACtD,CAAA,MAAM,IAAI,GAAGC,WAAA;CACb,MAAM,EAAE,2BAA2B,EAAE,GAAGC,aAAA;CACxC,MAAM,EAAE,aAAa,EAAE,GAAGC;;CAE1B,MAAM,cAAc,SAAS,aAAa,CAAC;AAC3C,GAAE,WAAW,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE;KAC3B,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AAC3C,OAAM,MAAM,IAAI,oBAAoB,CAAC,cAAc;AACnD,KAAA;;AAEA,KAAI,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG;;AAEnG,KAAI,IAAI;AACR,OAAM,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AAC1C,SAAQ,MAAM,IAAI,oBAAoB,CAAC,kBAAkB;AACzD,OAAA;;AAEA,OAAM,IAAI,aAAa,KAAK,OAAO,aA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