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