@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,405 @@
1
+ 'use strict';
2
+
3
+ var require$$0$1 = require('node:assert');
4
+ var require$$0 = require('node:stream');
5
+ var errors = require('../core/errors.js');
6
+ var util = require('../core/util.js');
7
+
8
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
+
10
+ var require$$0__default$1 = /*#__PURE__*/_interopDefault(require$$0$1);
11
+ var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
12
+
13
+ var readable;
14
+ var hasRequiredReadable;
15
+
16
+ function requireReadable () {
17
+ if (hasRequiredReadable) return readable;
18
+ hasRequiredReadable = 1;
19
+
20
+ const assert = require$$0__default$1.default;
21
+ const { Readable } = require$$0__default.default;
22
+ const { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = errors.__require();
23
+ const util$1 = util.__require();
24
+ const { ReadableStreamFrom } = util.__require();
25
+
26
+ const kConsume = Symbol('kConsume');
27
+ const kReading = Symbol('kReading');
28
+ const kBody = Symbol('kBody');
29
+ const kAbort = Symbol('kAbort');
30
+ const kContentType = Symbol('kContentType');
31
+ const kContentLength = Symbol('kContentLength');
32
+
33
+ const noop = () => {};
34
+
35
+ class BodyReadable extends Readable {
36
+ constructor ({
37
+ resume,
38
+ abort,
39
+ contentType = '',
40
+ contentLength,
41
+ highWaterMark = 64 * 1024 // Same as nodejs fs streams.
42
+ }) {
43
+ super({
44
+ autoDestroy: true,
45
+ read: resume,
46
+ highWaterMark
47
+ });
48
+
49
+ this._readableState.dataEmitted = false;
50
+
51
+ this[kAbort] = abort;
52
+ this[kConsume] = null;
53
+ this[kBody] = null;
54
+ this[kContentType] = contentType;
55
+ this[kContentLength] = contentLength;
56
+
57
+ // Is stream being consumed through Readable API?
58
+ // This is an optimization so that we avoid checking
59
+ // for 'data' and 'readable' listeners in the hot path
60
+ // inside push().
61
+ this[kReading] = false;
62
+ }
63
+
64
+ destroy (err) {
65
+ if (!err && !this._readableState.endEmitted) {
66
+ err = new RequestAbortedError();
67
+ }
68
+
69
+ if (err) {
70
+ this[kAbort]();
71
+ }
72
+
73
+ return super.destroy(err)
74
+ }
75
+
76
+ _destroy (err, callback) {
77
+ // Workaround for Node "bug". If the stream is destroyed in same
78
+ // tick as it is created, then a user who is waiting for a
79
+ // promise (i.e micro tick) for installing a 'error' listener will
80
+ // never get a chance and will always encounter an unhandled exception.
81
+ if (!this[kReading]) {
82
+ setImmediate(() => {
83
+ callback(err);
84
+ });
85
+ } else {
86
+ callback(err);
87
+ }
88
+ }
89
+
90
+ on (ev, ...args) {
91
+ if (ev === 'data' || ev === 'readable') {
92
+ this[kReading] = true;
93
+ }
94
+ return super.on(ev, ...args)
95
+ }
96
+
97
+ addListener (ev, ...args) {
98
+ return this.on(ev, ...args)
99
+ }
100
+
101
+ off (ev, ...args) {
102
+ const ret = super.off(ev, ...args);
103
+ if (ev === 'data' || ev === 'readable') {
104
+ this[kReading] = (
105
+ this.listenerCount('data') > 0 ||
106
+ this.listenerCount('readable') > 0
107
+ );
108
+ }
109
+ return ret
110
+ }
111
+
112
+ removeListener (ev, ...args) {
113
+ return this.off(ev, ...args)
114
+ }
115
+
116
+ push (chunk) {
117
+ if (this[kConsume] && chunk !== null) {
118
+ consumePush(this[kConsume], chunk);
119
+ return this[kReading] ? super.push(chunk) : true
120
+ }
121
+ return super.push(chunk)
122
+ }
123
+
124
+ // https://fetch.spec.whatwg.org/#dom-body-text
125
+ async text () {
126
+ return consume(this, 'text')
127
+ }
128
+
129
+ // https://fetch.spec.whatwg.org/#dom-body-json
130
+ async json () {
131
+ return consume(this, 'json')
132
+ }
133
+
134
+ // https://fetch.spec.whatwg.org/#dom-body-blob
135
+ async blob () {
136
+ return consume(this, 'blob')
137
+ }
138
+
139
+ // https://fetch.spec.whatwg.org/#dom-body-bytes
140
+ async bytes () {
141
+ return consume(this, 'bytes')
142
+ }
143
+
144
+ // https://fetch.spec.whatwg.org/#dom-body-arraybuffer
145
+ async arrayBuffer () {
146
+ return consume(this, 'arrayBuffer')
147
+ }
148
+
149
+ // https://fetch.spec.whatwg.org/#dom-body-formdata
150
+ async formData () {
151
+ // TODO: Implement.
152
+ throw new NotSupportedError()
153
+ }
154
+
155
+ // https://fetch.spec.whatwg.org/#dom-body-bodyused
156
+ get bodyUsed () {
157
+ return util$1.isDisturbed(this)
158
+ }
159
+
160
+ // https://fetch.spec.whatwg.org/#dom-body-body
161
+ get body () {
162
+ if (!this[kBody]) {
163
+ this[kBody] = ReadableStreamFrom(this);
164
+ if (this[kConsume]) {
165
+ // TODO: Is this the best way to force a lock?
166
+ this[kBody].getReader(); // Ensure stream is locked.
167
+ assert(this[kBody].locked);
168
+ }
169
+ }
170
+ return this[kBody]
171
+ }
172
+
173
+ async dump (opts) {
174
+ let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024;
175
+ const signal = opts?.signal;
176
+
177
+ if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {
178
+ throw new InvalidArgumentError('signal must be an AbortSignal')
179
+ }
180
+
181
+ signal?.throwIfAborted();
182
+
183
+ if (this._readableState.closeEmitted) {
184
+ return null
185
+ }
186
+
187
+ return await new Promise((resolve, reject) => {
188
+ if (this[kContentLength] > limit) {
189
+ this.destroy(new AbortError());
190
+ }
191
+
192
+ const onAbort = () => {
193
+ this.destroy(signal.reason ?? new AbortError());
194
+ };
195
+ signal?.addEventListener('abort', onAbort);
196
+
197
+ this
198
+ .on('close', function () {
199
+ signal?.removeEventListener('abort', onAbort);
200
+ if (signal?.aborted) {
201
+ reject(signal.reason ?? new AbortError());
202
+ } else {
203
+ resolve(null);
204
+ }
205
+ })
206
+ .on('error', noop)
207
+ .on('data', function (chunk) {
208
+ limit -= chunk.length;
209
+ if (limit <= 0) {
210
+ this.destroy();
211
+ }
212
+ })
213
+ .resume();
214
+ })
215
+ }
216
+ }
217
+
218
+ // https://streams.spec.whatwg.org/#readablestream-locked
219
+ function isLocked (self) {
220
+ // Consume is an implicit lock.
221
+ return (self[kBody] && self[kBody].locked === true) || self[kConsume]
222
+ }
223
+
224
+ // https://fetch.spec.whatwg.org/#body-unusable
225
+ function isUnusable (self) {
226
+ return util$1.isDisturbed(self) || isLocked(self)
227
+ }
228
+
229
+ async function consume (stream, type) {
230
+ assert(!stream[kConsume]);
231
+
232
+ return new Promise((resolve, reject) => {
233
+ if (isUnusable(stream)) {
234
+ const rState = stream._readableState;
235
+ if (rState.destroyed && rState.closeEmitted === false) {
236
+ stream
237
+ .on('error', err => {
238
+ reject(err);
239
+ })
240
+ .on('close', () => {
241
+ reject(new TypeError('unusable'));
242
+ });
243
+ } else {
244
+ reject(rState.errored ?? new TypeError('unusable'));
245
+ }
246
+ } else {
247
+ queueMicrotask(() => {
248
+ stream[kConsume] = {
249
+ type,
250
+ stream,
251
+ resolve,
252
+ reject,
253
+ length: 0,
254
+ body: []
255
+ };
256
+
257
+ stream
258
+ .on('error', function (err) {
259
+ consumeFinish(this[kConsume], err);
260
+ })
261
+ .on('close', function () {
262
+ if (this[kConsume].body !== null) {
263
+ consumeFinish(this[kConsume], new RequestAbortedError());
264
+ }
265
+ });
266
+
267
+ consumeStart(stream[kConsume]);
268
+ });
269
+ }
270
+ })
271
+ }
272
+
273
+ function consumeStart (consume) {
274
+ if (consume.body === null) {
275
+ return
276
+ }
277
+
278
+ const { _readableState: state } = consume.stream;
279
+
280
+ if (state.bufferIndex) {
281
+ const start = state.bufferIndex;
282
+ const end = state.buffer.length;
283
+ for (let n = start; n < end; n++) {
284
+ consumePush(consume, state.buffer[n]);
285
+ }
286
+ } else {
287
+ for (const chunk of state.buffer) {
288
+ consumePush(consume, chunk);
289
+ }
290
+ }
291
+
292
+ if (state.endEmitted) {
293
+ consumeEnd(this[kConsume]);
294
+ } else {
295
+ consume.stream.on('end', function () {
296
+ consumeEnd(this[kConsume]);
297
+ });
298
+ }
299
+
300
+ consume.stream.resume();
301
+
302
+ while (consume.stream.read() != null) {
303
+ // Loop
304
+ }
305
+ }
306
+
307
+ /**
308
+ * @param {Buffer[]} chunks
309
+ * @param {number} length
310
+ */
311
+ function chunksDecode (chunks, length) {
312
+ if (chunks.length === 0 || length === 0) {
313
+ return ''
314
+ }
315
+ const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length);
316
+ const bufferLength = buffer.length;
317
+
318
+ // Skip BOM.
319
+ const start =
320
+ bufferLength > 2 &&
321
+ buffer[0] === 0xef &&
322
+ buffer[1] === 0xbb &&
323
+ buffer[2] === 0xbf
324
+ ? 3
325
+ : 0;
326
+ return buffer.utf8Slice(start, bufferLength)
327
+ }
328
+
329
+ /**
330
+ * @param {Buffer[]} chunks
331
+ * @param {number} length
332
+ * @returns {Uint8Array}
333
+ */
334
+ function chunksConcat (chunks, length) {
335
+ if (chunks.length === 0 || length === 0) {
336
+ return new Uint8Array(0)
337
+ }
338
+ if (chunks.length === 1) {
339
+ // fast-path
340
+ return new Uint8Array(chunks[0])
341
+ }
342
+ const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer);
343
+
344
+ let offset = 0;
345
+ for (let i = 0; i < chunks.length; ++i) {
346
+ const chunk = chunks[i];
347
+ buffer.set(chunk, offset);
348
+ offset += chunk.length;
349
+ }
350
+
351
+ return buffer
352
+ }
353
+
354
+ function consumeEnd (consume) {
355
+ const { type, body, resolve, stream, length } = consume;
356
+
357
+ try {
358
+ if (type === 'text') {
359
+ resolve(chunksDecode(body, length));
360
+ } else if (type === 'json') {
361
+ resolve(JSON.parse(chunksDecode(body, length)));
362
+ } else if (type === 'arrayBuffer') {
363
+ resolve(chunksConcat(body, length).buffer);
364
+ } else if (type === 'blob') {
365
+ resolve(new Blob(body, { type: stream[kContentType] }));
366
+ } else if (type === 'bytes') {
367
+ resolve(chunksConcat(body, length));
368
+ }
369
+
370
+ consumeFinish(consume);
371
+ } catch (err) {
372
+ stream.destroy(err);
373
+ }
374
+ }
375
+
376
+ function consumePush (consume, chunk) {
377
+ consume.length += chunk.length;
378
+ consume.body.push(chunk);
379
+ }
380
+
381
+ function consumeFinish (consume, err) {
382
+ if (consume.body === null) {
383
+ return
384
+ }
385
+
386
+ if (err) {
387
+ consume.reject(err);
388
+ } else {
389
+ consume.resolve();
390
+ }
391
+
392
+ consume.type = null;
393
+ consume.stream = null;
394
+ consume.resolve = null;
395
+ consume.reject = null;
396
+ consume.length = 0;
397
+ consume.body = null;
398
+ }
399
+
400
+ readable = { Readable: BodyReadable, chunksDecode };
401
+ return readable;
402
+ }
403
+
404
+ exports.__require = requireReadable;
405
+ //# sourceMappingURL=readable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readable.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/api/readable.js"],"sourcesContent":["// Ported from https://github.com/nodejs/undici/pull/907\n\n'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('node:stream')\nconst { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require('../core/errors')\nconst util = require('../core/util')\nconst { ReadableStreamFrom } = require('../core/util')\n\nconst kConsume = Symbol('kConsume')\nconst kReading = Symbol('kReading')\nconst kBody = Symbol('kBody')\nconst kAbort = Symbol('kAbort')\nconst kContentType = Symbol('kContentType')\nconst kContentLength = Symbol('kContentLength')\n\nconst noop = () => {}\n\nclass BodyReadable extends Readable {\n constructor ({\n resume,\n abort,\n contentType = '',\n contentLength,\n highWaterMark = 64 * 1024 // Same as nodejs fs streams.\n }) {\n super({\n autoDestroy: true,\n read: resume,\n highWaterMark\n })\n\n this._readableState.dataEmitted = false\n\n this[kAbort] = abort\n this[kConsume] = null\n this[kBody] = null\n this[kContentType] = contentType\n this[kContentLength] = contentLength\n\n // Is stream being consumed through Readable API?\n // This is an optimization so that we avoid checking\n // for 'data' and 'readable' listeners in the hot path\n // inside push().\n this[kReading] = false\n }\n\n destroy (err) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (err) {\n this[kAbort]()\n }\n\n return super.destroy(err)\n }\n\n _destroy (err, callback) {\n // Workaround for Node \"bug\". If the stream is destroyed in same\n // tick as it is created, then a user who is waiting for a\n // promise (i.e micro tick) for installing a 'error' listener will\n // never get a chance and will always encounter an unhandled exception.\n if (!this[kReading]) {\n setImmediate(() => {\n callback(err)\n })\n } else {\n callback(err)\n }\n }\n\n on (ev, ...args) {\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = true\n }\n return super.on(ev, ...args)\n }\n\n addListener (ev, ...args) {\n return this.on(ev, ...args)\n }\n\n off (ev, ...args) {\n const ret = super.off(ev, ...args)\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = (\n this.listenerCount('data') > 0 ||\n this.listenerCount('readable') > 0\n )\n }\n return ret\n }\n\n removeListener (ev, ...args) {\n return this.off(ev, ...args)\n }\n\n push (chunk) {\n if (this[kConsume] && chunk !== null) {\n consumePush(this[kConsume], chunk)\n return this[kReading] ? super.push(chunk) : true\n }\n return super.push(chunk)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-text\n async text () {\n return consume(this, 'text')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-json\n async json () {\n return consume(this, 'json')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-blob\n async blob () {\n return consume(this, 'blob')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bytes\n async bytes () {\n return consume(this, 'bytes')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-arraybuffer\n async arrayBuffer () {\n return consume(this, 'arrayBuffer')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-formdata\n async formData () {\n // TODO: Implement.\n throw new NotSupportedError()\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bodyused\n get bodyUsed () {\n return util.isDisturbed(this)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-body\n get body () {\n if (!this[kBody]) {\n this[kBody] = ReadableStreamFrom(this)\n if (this[kConsume]) {\n // TODO: Is this the best way to force a lock?\n this[kBody].getReader() // Ensure stream is locked.\n assert(this[kBody].locked)\n }\n }\n return this[kBody]\n }\n\n async dump (opts) {\n let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024\n const signal = opts?.signal\n\n if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {\n throw new InvalidArgumentError('signal must be an AbortSignal')\n }\n\n signal?.throwIfAborted()\n\n if (this._readableState.closeEmitted) {\n return null\n }\n\n return await new Promise((resolve, reject) => {\n if (this[kContentLength] > limit) {\n this.destroy(new AbortError())\n }\n\n const onAbort = () => {\n this.destroy(signal.reason ?? new AbortError())\n }\n signal?.addEventListener('abort', onAbort)\n\n this\n .on('close', function () {\n signal?.removeEventListener('abort', onAbort)\n if (signal?.aborted) {\n reject(signal.reason ?? new AbortError())\n } else {\n resolve(null)\n }\n })\n .on('error', noop)\n .on('data', function (chunk) {\n limit -= chunk.length\n if (limit <= 0) {\n this.destroy()\n }\n })\n .resume()\n })\n }\n}\n\n// https://streams.spec.whatwg.org/#readablestream-locked\nfunction isLocked (self) {\n // Consume is an implicit lock.\n return (self[kBody] && self[kBody].locked === true) || self[kConsume]\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction isUnusable (self) {\n return util.isDisturbed(self) || isLocked(self)\n}\n\nasync function consume (stream, type) {\n assert(!stream[kConsume])\n\n return new Promise((resolve, reject) => {\n if (isUnusable(stream)) {\n const rState = stream._readableState\n if (rState.destroyed && rState.closeEmitted === false) {\n stream\n .on('error', err => {\n reject(err)\n })\n .on('close', () => {\n reject(new TypeError('unusable'))\n })\n } else {\n reject(rState.errored ?? new TypeError('unusable'))\n }\n } else {\n queueMicrotask(() => {\n stream[kConsume] = {\n type,\n stream,\n resolve,\n reject,\n length: 0,\n body: []\n }\n\n stream\n .on('error', function (err) {\n consumeFinish(this[kConsume], err)\n })\n .on('close', function () {\n if (this[kConsume].body !== null) {\n consumeFinish(this[kConsume], new RequestAbortedError())\n }\n })\n\n consumeStart(stream[kConsume])\n })\n }\n })\n}\n\nfunction consumeStart (consume) {\n if (consume.body === null) {\n return\n }\n\n const { _readableState: state } = consume.stream\n\n if (state.bufferIndex) {\n const start = state.bufferIndex\n const end = state.buffer.length\n for (let n = start; n < end; n++) {\n consumePush(consume, state.buffer[n])\n }\n } else {\n for (const chunk of state.buffer) {\n consumePush(consume, chunk)\n }\n }\n\n if (state.endEmitted) {\n consumeEnd(this[kConsume])\n } else {\n consume.stream.on('end', function () {\n consumeEnd(this[kConsume])\n })\n }\n\n consume.stream.resume()\n\n while (consume.stream.read() != null) {\n // Loop\n }\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n */\nfunction chunksDecode (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return ''\n }\n const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length)\n const bufferLength = buffer.length\n\n // Skip BOM.\n const start =\n bufferLength > 2 &&\n buffer[0] === 0xef &&\n buffer[1] === 0xbb &&\n buffer[2] === 0xbf\n ? 3\n : 0\n return buffer.utf8Slice(start, bufferLength)\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n * @returns {Uint8Array}\n */\nfunction chunksConcat (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return new Uint8Array(0)\n }\n if (chunks.length === 1) {\n // fast-path\n return new Uint8Array(chunks[0])\n }\n const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer)\n\n let offset = 0\n for (let i = 0; i < chunks.length; ++i) {\n const chunk = chunks[i]\n buffer.set(chunk, offset)\n offset += chunk.length\n }\n\n return buffer\n}\n\nfunction consumeEnd (consume) {\n const { type, body, resolve, stream, length } = consume\n\n try {\n if (type === 'text') {\n resolve(chunksDecode(body, length))\n } else if (type === 'json') {\n resolve(JSON.parse(chunksDecode(body, length)))\n } else if (type === 'arrayBuffer') {\n resolve(chunksConcat(body, length).buffer)\n } else if (type === 'blob') {\n resolve(new Blob(body, { type: stream[kContentType] }))\n } else if (type === 'bytes') {\n resolve(chunksConcat(body, length))\n }\n\n consumeFinish(consume)\n } catch (err) {\n stream.destroy(err)\n }\n}\n\nfunction consumePush (consume, chunk) {\n consume.length += chunk.length\n consume.body.push(chunk)\n}\n\nfunction consumeFinish (consume, err) {\n if (consume.body === null) {\n return\n }\n\n if (err) {\n consume.reject(err)\n } else {\n consume.resolve()\n }\n\n consume.type = null\n consume.stream = null\n consume.resolve = null\n consume.reject = null\n consume.length = 0\n consume.body = null\n}\n\nmodule.exports = { Readable: BodyReadable, chunksDecode }\n"],"names":["require$$0","require$$1","require$$2","util","require$$3"],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,CAAA,MAAM,MAAM,GAAGA;CACf,MAAM,EAAE,QAAQ,EAAE,GAAGC;CACrB,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,UAAU,EAAE,GAAGC,gBAAA;AACrF,CAAA,MAAMC,MAAI,GAAGC,cAAA;CACb,MAAM,EAAE,kBAAkB,EAAE,GAAGA,cAAA;;AAE/B,CAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU;AAClC,CAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU;AAClC,CAAA,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO;AAC5B,CAAA,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ;AAC9B,CAAA,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc;AAC1C,CAAA,MAAM,cAAc,GAAG,MAAM,CAAC,gBAAgB;;CAE9C,MAAM,IAAI,GAAG,MAAM,CAAA;;CAEnB,MAAM,YAAY,SAAS,QAAQ,CAAC;GAClC,WAAW,CAAC,CAAC;AACf,KAAI,MAAM;AACV,KAAI,KAAK;KACL,WAAW,GAAG,EAAE;AACpB,KAAI,aAAa;AACjB,KAAI,aAAa,GAAG,EAAE,GAAG,IAAI;AAC7B,IAAG,EAAE;AACL,KAAI,KAAK,CAAC;OACJ,WAAW,EAAE,IAAI;OACjB,IAAI,EAAE,MAAM;OACZ;MACD;;AAEL,KAAI,IAAI,CAAC,cAAc,CAAC,WAAW,GAAG;;AAEtC,KAAI,IAAI,CAAC,MAAM,CAAC,GAAG;AACnB,KAAI,IAAI,CAAC,QAAQ,CAAC,GAAG;AACrB,KAAI,IAAI,CAAC,KAAK,CAAC,GAAG;AAClB,KAAI,IAAI,CAAC,YAAY,CAAC,GAAG;AACzB,KAAI,IAAI,CAA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AO,CAAC,IAAI,GAAG;AACjB,CAAA;;AAEA,CAAA,QAAc,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,114 @@
1
+ 'use strict';
2
+
3
+ var require$$0 = require('node:assert');
4
+ var errors = require('../core/errors.js');
5
+ var readable = require('./readable.js');
6
+
7
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
+
9
+ var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
10
+
11
+ var util;
12
+ var hasRequiredUtil;
13
+
14
+ function requireUtil () {
15
+ if (hasRequiredUtil) return util;
16
+ hasRequiredUtil = 1;
17
+ const assert = require$$0__default.default;
18
+ const {
19
+ ResponseStatusCodeError
20
+ } = errors.__require();
21
+
22
+ const { chunksDecode } = readable.__require();
23
+ const CHUNK_LIMIT = 128 * 1024;
24
+
25
+ async function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {
26
+ assert(body);
27
+
28
+ let chunks = [];
29
+ let length = 0;
30
+
31
+ try {
32
+ for await (const chunk of body) {
33
+ chunks.push(chunk);
34
+ length += chunk.length;
35
+ if (length > CHUNK_LIMIT) {
36
+ chunks = [];
37
+ length = 0;
38
+ break
39
+ }
40
+ }
41
+ } catch {
42
+ chunks = [];
43
+ length = 0;
44
+ // Do nothing....
45
+ }
46
+
47
+ const message = `Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`;
48
+
49
+ if (statusCode === 204 || !contentType || !length) {
50
+ queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers)));
51
+ return
52
+ }
53
+
54
+ const stackTraceLimit = Error.stackTraceLimit;
55
+ Error.stackTraceLimit = 0;
56
+ let payload;
57
+
58
+ try {
59
+ if (isContentTypeApplicationJson(contentType)) {
60
+ payload = JSON.parse(chunksDecode(chunks, length));
61
+ } else if (isContentTypeText(contentType)) {
62
+ payload = chunksDecode(chunks, length);
63
+ }
64
+ } catch {
65
+ // process in a callback to avoid throwing in the microtask queue
66
+ } finally {
67
+ Error.stackTraceLimit = stackTraceLimit;
68
+ }
69
+ queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers, payload)));
70
+ }
71
+
72
+ const isContentTypeApplicationJson = (contentType) => {
73
+ return (
74
+ contentType.length > 15 &&
75
+ contentType[11] === '/' &&
76
+ contentType[0] === 'a' &&
77
+ contentType[1] === 'p' &&
78
+ contentType[2] === 'p' &&
79
+ contentType[3] === 'l' &&
80
+ contentType[4] === 'i' &&
81
+ contentType[5] === 'c' &&
82
+ contentType[6] === 'a' &&
83
+ contentType[7] === 't' &&
84
+ contentType[8] === 'i' &&
85
+ contentType[9] === 'o' &&
86
+ contentType[10] === 'n' &&
87
+ contentType[12] === 'j' &&
88
+ contentType[13] === 's' &&
89
+ contentType[14] === 'o' &&
90
+ contentType[15] === 'n'
91
+ )
92
+ };
93
+
94
+ const isContentTypeText = (contentType) => {
95
+ return (
96
+ contentType.length > 4 &&
97
+ contentType[4] === '/' &&
98
+ contentType[0] === 't' &&
99
+ contentType[1] === 'e' &&
100
+ contentType[2] === 'x' &&
101
+ contentType[3] === 't'
102
+ )
103
+ };
104
+
105
+ util = {
106
+ getResolveErrorBodyCallback,
107
+ isContentTypeApplicationJson,
108
+ isContentTypeText
109
+ };
110
+ return util;
111
+ }
112
+
113
+ exports.__require = requireUtil;
114
+ //# sourceMappingURL=util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/api/util.js"],"sourcesContent":["const assert = require('node:assert')\nconst {\n ResponseStatusCodeError\n} = require('../core/errors')\n\nconst { chunksDecode } = require('./readable')\nconst CHUNK_LIMIT = 128 * 1024\n\nasync function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {\n assert(body)\n\n let chunks = []\n let length = 0\n\n try {\n for await (const chunk of body) {\n chunks.push(chunk)\n length += chunk.length\n if (length > CHUNK_LIMIT) {\n chunks = []\n length = 0\n break\n }\n }\n } catch {\n chunks = []\n length = 0\n // Do nothing....\n }\n\n const message = `Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`\n\n if (statusCode === 204 || !contentType || !length) {\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers)))\n return\n }\n\n const stackTraceLimit = Error.stackTraceLimit\n Error.stackTraceLimit = 0\n let payload\n\n try {\n if (isContentTypeApplicationJson(contentType)) {\n payload = JSON.parse(chunksDecode(chunks, length))\n } else if (isContentTypeText(contentType)) {\n payload = chunksDecode(chunks, length)\n }\n } catch {\n // process in a callback to avoid throwing in the microtask queue\n } finally {\n Error.stackTraceLimit = stackTraceLimit\n }\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers, payload)))\n}\n\nconst isContentTypeApplicationJson = (contentType) => {\n return (\n contentType.length > 15 &&\n contentType[11] === '/' &&\n contentType[0] === 'a' &&\n contentType[1] === 'p' &&\n contentType[2] === 'p' &&\n contentType[3] === 'l' &&\n contentType[4] === 'i' &&\n contentType[5] === 'c' &&\n contentType[6] === 'a' &&\n contentType[7] === 't' &&\n contentType[8] === 'i' &&\n contentType[9] === 'o' &&\n contentType[10] === 'n' &&\n contentType[12] === 'j' &&\n contentType[13] === 's' &&\n contentType[14] === 'o' &&\n contentType[15] === 'n'\n )\n}\n\nconst isContentTypeText = (contentType) => {\n return (\n contentType.length > 4 &&\n contentType[4] === '/' &&\n contentType[0] === 't' &&\n contentType[1] === 'e' &&\n contentType[2] === 'x' &&\n contentType[3] === 't'\n )\n}\n\nmodule.exports = {\n getResolveErrorBodyCallback,\n isContentTypeApplicationJson,\n isContentTypeText\n}\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AAAA,CAAA,MAAM,MAAM,GAAGA;CACf,MAAM;GACJ;AACF,EAAC,GAAGC,gBAAA;;CAEJ,MAAM,EAAE,YAAY,EAAE,GAAGC,kBAAA;CACzB,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