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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (705) hide show
  1. package/README.md +10 -0
  2. package/lib/cjs/__/@actions/http-client/__/undici/index.js +226 -0
  3. package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +1 -0
  4. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +73 -0
  5. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  6. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +131 -0
  7. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  8. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +276 -0
  9. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  10. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +238 -0
  11. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  12. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +246 -0
  13. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  14. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +131 -0
  15. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  16. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +25 -0
  17. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  18. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +405 -0
  19. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  20. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +114 -0
  21. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  22. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +266 -0
  23. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  24. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +130 -0
  25. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  26. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +222 -0
  27. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  28. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +418 -0
  29. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  30. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +417 -0
  31. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  32. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +80 -0
  33. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  34. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js +166 -0
  35. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  36. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +755 -0
  37. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  38. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +149 -0
  39. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  40. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +227 -0
  41. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  42. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1397 -0
  43. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  44. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +768 -0
  45. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  46. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +650 -0
  47. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  48. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +206 -0
  49. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  50. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +83 -0
  51. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  52. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +177 -0
  53. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  54. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +129 -0
  55. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  56. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +211 -0
  57. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  58. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +49 -0
  59. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  60. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +126 -0
  61. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  62. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +299 -0
  63. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  64. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +50 -0
  65. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  66. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +47 -0
  67. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  68. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +56 -0
  69. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  70. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +237 -0
  71. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  72. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +395 -0
  73. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  74. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js +397 -0
  75. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  76. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js +139 -0
  77. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  78. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +35 -0
  79. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  80. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +38 -0
  81. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  82. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js +33 -0
  83. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  84. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +288 -0
  85. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  86. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +23 -0
  87. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  88. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +23 -0
  89. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  90. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +28 -0
  91. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  92. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +183 -0
  93. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  94. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +83 -0
  95. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  96. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +42 -0
  97. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  98. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +224 -0
  99. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  100. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +83 -0
  101. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  102. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +35 -0
  103. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  104. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +390 -0
  105. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  106. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +63 -0
  107. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  108. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +41 -0
  109. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  110. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js +435 -0
  111. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  112. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js +886 -0
  113. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  114. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +169 -0
  115. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  116. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +19 -0
  117. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  118. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js +65 -0
  119. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  120. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +24 -0
  121. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  122. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js +201 -0
  123. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  124. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +338 -0
  125. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  126. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js +294 -0
  127. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  128. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +417 -0
  129. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  130. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +508 -0
  131. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  132. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +49 -0
  133. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  134. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js +560 -0
  135. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  136. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +136 -0
  137. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  138. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +762 -0
  139. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  140. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +60 -0
  141. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  142. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js +146 -0
  143. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  144. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +499 -0
  145. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  146. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +275 -0
  147. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  148. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js +52 -0
  149. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  150. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +709 -0
  151. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  152. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2235 -0
  153. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  154. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1069 -0
  155. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  156. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +640 -0
  157. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  158. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +21 -0
  159. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  160. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1662 -0
  161. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  162. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +716 -0
  163. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  164. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +302 -0
  165. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  166. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +361 -0
  167. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  168. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +92 -0
  169. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  170. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +22 -0
  171. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  172. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +417 -0
  173. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  174. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +391 -0
  175. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  176. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +78 -0
  177. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  178. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js +350 -0
  179. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  180. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +110 -0
  181. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  182. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +89 -0
  183. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  184. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +451 -0
  185. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  186. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +120 -0
  187. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  188. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +24 -0
  189. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  190. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js +336 -0
  191. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  192. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +618 -0
  193. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  194. package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
  195. package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  196. package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
  197. package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
  198. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  199. package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  200. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  201. package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  202. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  203. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  204. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  205. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  206. package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  207. package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
  208. package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
  209. package/lib/cjs/__/before-after-hook/index.js.map +1 -0
  210. package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
  211. package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
  212. package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
  213. package/lib/cjs/__/cross-spawn/index.js +1 -1
  214. package/lib/cjs/__/env-ci/lib/git.js +1 -1
  215. package/lib/cjs/__/{env-ci/__/execa → execa}/index.js +3 -3
  216. package/lib/cjs/__/execa/index.js.map +1 -0
  217. package/lib/cjs/__/execa/lib/command.js.map +1 -0
  218. package/lib/cjs/__/execa/lib/error.js.map +1 -0
  219. package/lib/cjs/__/execa/lib/promise.js.map +1 -0
  220. package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
  221. package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  222. package/lib/cjs/__/execa/lib/stream.js.map +1 -0
  223. package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
  224. package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
  225. package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
  226. package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
  227. package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
  228. package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
  229. package/lib/cjs/__/is-stream/index.js.map +1 -0
  230. package/lib/cjs/__/json-with-bigint/json-with-bigint.js +151 -0
  231. package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -0
  232. package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
  233. package/lib/cjs/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  234. package/lib/cjs/__/npm-run-path/index.js.map +1 -0
  235. package/lib/cjs/__/path-key/index.js +1 -1
  236. package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
  237. package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
  238. package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
  239. package/lib/cjs/__/undici/index.js +1 -1
  240. package/lib/cjs/__/undici/lib/api/api-connect.js +3 -3
  241. package/lib/cjs/__/undici/lib/api/api-pipeline.js +3 -3
  242. package/lib/cjs/__/undici/lib/api/api-request.js +3 -3
  243. package/lib/cjs/__/undici/lib/api/api-stream.js +3 -3
  244. package/lib/cjs/__/undici/lib/api/api-upgrade.js +3 -3
  245. package/lib/cjs/__/undici/lib/core/util.js +14 -14
  246. package/lib/cjs/__/undici/lib/fetch/body.js +8 -8
  247. package/lib/cjs/__/undici/lib/fetch/constants.js +3 -3
  248. package/lib/cjs/__/undici/lib/fetch/dataURL.js +5 -5
  249. package/lib/cjs/__/undici/lib/fetch/file.js +3 -3
  250. package/lib/cjs/__/undici/lib/fetch/formdata.js +3 -3
  251. package/lib/cjs/__/undici/lib/fetch/index.js +3 -3
  252. package/lib/cjs/__/undici/lib/fetch/index.js.map +1 -1
  253. package/lib/cjs/__/undici/lib/fetch/util.js +6 -6
  254. package/lib/cjs/__/undici/lib/fileapi/util.js +6 -6
  255. package/lib/cjs/__/undici/lib/websocket/events.js +3 -3
  256. package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
  257. package/lib/cjs/_virtual/api-request2.js +6 -0
  258. package/lib/cjs/_virtual/api-request2.js.map +1 -0
  259. package/lib/cjs/_virtual/constants2.js +6 -0
  260. package/lib/cjs/_virtual/constants2.js.map +1 -0
  261. package/lib/cjs/_virtual/index10.js +2 -2
  262. package/lib/cjs/_virtual/index11.js +2 -2
  263. package/lib/cjs/_virtual/index14.js +2 -2
  264. package/lib/cjs/_virtual/index15.js +6 -0
  265. package/lib/cjs/_virtual/index15.js.map +1 -0
  266. package/lib/cjs/_virtual/index16.js +6 -0
  267. package/lib/cjs/_virtual/index16.js.map +1 -0
  268. package/lib/cjs/_virtual/index2.js +1 -1
  269. package/lib/cjs/_virtual/index3.js +1 -1
  270. package/lib/cjs/_virtual/index4.js +1 -1
  271. package/lib/cjs/_virtual/index8.js +2 -2
  272. package/lib/cjs/_virtual/mock-interceptor2.js +6 -0
  273. package/lib/cjs/_virtual/mock-interceptor2.js.map +1 -0
  274. package/lib/cjs/_virtual/utils4.js +6 -0
  275. package/lib/cjs/_virtual/utils4.js.map +1 -0
  276. package/lib/cjs/env/load.js +1 -1
  277. package/lib/cjs/env/load.js.map +1 -1
  278. package/lib/esm/__/@actions/http-client/__/undici/index.js +220 -0
  279. package/lib/esm/__/@actions/http-client/__/undici/index.js.map +1 -0
  280. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +71 -0
  281. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
  282. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +124 -0
  283. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
  284. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +268 -0
  285. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
  286. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +231 -0
  287. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
  288. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +238 -0
  289. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
  290. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +124 -0
  291. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
  292. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +23 -0
  293. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
  294. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +398 -0
  295. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
  296. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +108 -0
  297. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
  298. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +258 -0
  299. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
  300. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +128 -0
  301. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
  302. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +215 -0
  303. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
  304. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +416 -0
  305. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
  306. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +411 -0
  307. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
  308. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +78 -0
  309. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
  310. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js +164 -0
  311. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
  312. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +742 -0
  313. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
  314. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +147 -0
  315. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
  316. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +225 -0
  317. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  318. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1391 -0
  319. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  320. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +761 -0
  321. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  322. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +642 -0
  323. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
  324. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +204 -0
  325. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  326. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +77 -0
  327. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  328. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +175 -0
  329. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  330. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +127 -0
  331. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  332. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +209 -0
  333. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  334. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +47 -0
  335. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  336. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +124 -0
  337. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
  338. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +293 -0
  339. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  340. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +48 -0
  341. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  342. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +45 -0
  343. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
  344. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +54 -0
  345. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
  346. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +230 -0
  347. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
  348. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +389 -0
  349. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
  350. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js +390 -0
  351. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
  352. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js +137 -0
  353. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
  354. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +33 -0
  355. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  356. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +36 -0
  357. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
  358. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js +31 -0
  359. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
  360. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +286 -0
  361. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
  362. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +17 -0
  363. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
  364. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +17 -0
  365. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
  366. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +26 -0
  367. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
  368. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +181 -0
  369. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
  370. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +77 -0
  371. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
  372. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +40 -0
  373. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
  374. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +222 -0
  375. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
  376. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +77 -0
  377. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
  378. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +33 -0
  379. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
  380. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +383 -0
  381. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
  382. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +56 -0
  383. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
  384. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +39 -0
  385. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
  386. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js +433 -0
  387. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
  388. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js +880 -0
  389. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
  390. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +167 -0
  391. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  392. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +17 -0
  393. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
  394. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js +59 -0
  395. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
  396. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +22 -0
  397. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
  398. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js +199 -0
  399. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
  400. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +332 -0
  401. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
  402. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js +292 -0
  403. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
  404. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +411 -0
  405. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  406. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +502 -0
  407. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  408. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +47 -0
  409. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
  410. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js +551 -0
  411. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
  412. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +134 -0
  413. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
  414. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +756 -0
  415. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
  416. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +58 -0
  417. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  418. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js +140 -0
  419. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
  420. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +492 -0
  421. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  422. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +268 -0
  423. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
  424. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js +50 -0
  425. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
  426. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +702 -0
  427. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
  428. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2224 -0
  429. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
  430. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1061 -0
  431. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
  432. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +633 -0
  433. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
  434. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +19 -0
  435. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
  436. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1652 -0
  437. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
  438. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +709 -0
  439. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
  440. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +300 -0
  441. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  442. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +359 -0
  443. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  444. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +90 -0
  445. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  446. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +20 -0
  447. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  448. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +409 -0
  449. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
  450. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +389 -0
  451. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
  452. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +76 -0
  453. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
  454. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js +344 -0
  455. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
  456. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +108 -0
  457. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
  458. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +83 -0
  459. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  460. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +444 -0
  461. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
  462. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +118 -0
  463. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
  464. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +22 -0
  465. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
  466. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js +330 -0
  467. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
  468. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +612 -0
  469. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
  470. package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
  471. package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  472. package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
  473. package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
  474. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
  475. package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  476. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  477. package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  478. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  479. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  480. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  481. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  482. package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
  483. package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
  484. package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
  485. package/lib/esm/__/before-after-hook/index.js.map +1 -0
  486. package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
  487. package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
  488. package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
  489. package/lib/esm/__/cross-spawn/index.js +1 -1
  490. package/lib/esm/__/env-ci/lib/git.js +1 -1
  491. package/lib/esm/__/{env-ci/__/execa → execa}/index.js +1 -1
  492. package/lib/esm/__/execa/index.js.map +1 -0
  493. package/lib/esm/__/execa/lib/command.js.map +1 -0
  494. package/lib/esm/__/execa/lib/error.js.map +1 -0
  495. package/lib/esm/__/execa/lib/promise.js.map +1 -0
  496. package/lib/esm/__/execa/lib/stdio.js.map +1 -0
  497. package/lib/esm/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
  498. package/lib/esm/__/execa/lib/stream.js.map +1 -0
  499. package/lib/esm/__/execa/lib/verbose.js.map +1 -0
  500. package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
  501. package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
  502. package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
  503. package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
  504. package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
  505. package/lib/esm/__/is-stream/index.js.map +1 -0
  506. package/lib/esm/__/java-properties/dist-node/index.js +1 -1
  507. package/lib/esm/__/json-with-bigint/json-with-bigint.js +148 -0
  508. package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -0
  509. package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
  510. package/lib/esm/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
  511. package/lib/esm/__/npm-run-path/index.js.map +1 -0
  512. package/lib/esm/__/path-key/index.js +1 -1
  513. package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
  514. package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
  515. package/lib/esm/__/strip-final-newline/index.js.map +1 -0
  516. package/lib/esm/__/undici/index.js +1 -1
  517. package/lib/esm/__/undici/lib/api/api-connect.js +2 -2
  518. package/lib/esm/__/undici/lib/api/api-pipeline.js +2 -2
  519. package/lib/esm/__/undici/lib/api/api-request.js +2 -2
  520. package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
  521. package/lib/esm/__/undici/lib/api/api-stream.js +2 -2
  522. package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
  523. package/lib/esm/__/undici/lib/api/api-upgrade.js +2 -2
  524. package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
  525. package/lib/esm/__/undici/lib/core/util.js +10 -10
  526. package/lib/esm/__/undici/lib/core/util.js.map +1 -1
  527. package/lib/esm/__/undici/lib/fetch/body.js +6 -6
  528. package/lib/esm/__/undici/lib/fetch/body.js.map +1 -1
  529. package/lib/esm/__/undici/lib/fetch/constants.js +2 -2
  530. package/lib/esm/__/undici/lib/fetch/constants.js.map +1 -1
  531. package/lib/esm/__/undici/lib/fetch/dataURL.js +4 -4
  532. package/lib/esm/__/undici/lib/fetch/dataURL.js.map +1 -1
  533. package/lib/esm/__/undici/lib/fetch/file.js +2 -2
  534. package/lib/esm/__/undici/lib/fetch/file.js.map +1 -1
  535. package/lib/esm/__/undici/lib/fetch/formdata.js +2 -2
  536. package/lib/esm/__/undici/lib/fetch/index.js +2 -2
  537. package/lib/esm/__/undici/lib/fetch/index.js.map +1 -1
  538. package/lib/esm/__/undici/lib/fetch/util.js +4 -4
  539. package/lib/esm/__/undici/lib/fetch/util.js.map +1 -1
  540. package/lib/esm/__/undici/lib/fileapi/util.js +4 -4
  541. package/lib/esm/__/undici/lib/fileapi/util.js.map +1 -1
  542. package/lib/esm/__/undici/lib/websocket/events.js +2 -2
  543. package/lib/esm/__/universal-user-agent/index.js.map +1 -0
  544. package/lib/esm/_virtual/api-request2.js +4 -0
  545. package/lib/esm/_virtual/api-request2.js.map +1 -0
  546. package/lib/esm/_virtual/constants2.js +4 -0
  547. package/lib/esm/_virtual/constants2.js.map +1 -0
  548. package/lib/esm/_virtual/index10.js +4 -2
  549. package/lib/esm/_virtual/index10.js.map +1 -1
  550. package/lib/esm/_virtual/index11.js +2 -2
  551. package/lib/esm/_virtual/index14.js +2 -2
  552. package/lib/esm/_virtual/index15.js +4 -0
  553. package/lib/esm/_virtual/index15.js.map +1 -0
  554. package/lib/esm/_virtual/index16.js +4 -0
  555. package/lib/esm/_virtual/index16.js.map +1 -0
  556. package/lib/esm/_virtual/index2.js +1 -1
  557. package/lib/esm/_virtual/index3.js +1 -1
  558. package/lib/esm/_virtual/index4.js +1 -1
  559. package/lib/esm/_virtual/index5.js +2 -6
  560. package/lib/esm/_virtual/index5.js.map +1 -1
  561. package/lib/esm/_virtual/index6.js +6 -2
  562. package/lib/esm/_virtual/index6.js.map +1 -1
  563. package/lib/esm/_virtual/index8.js +2 -4
  564. package/lib/esm/_virtual/index8.js.map +1 -1
  565. package/lib/esm/_virtual/index9.js +2 -2
  566. package/lib/esm/_virtual/mock-interceptor2.js +4 -0
  567. package/lib/esm/_virtual/mock-interceptor2.js.map +1 -0
  568. package/lib/esm/_virtual/utils4.js +4 -0
  569. package/lib/esm/_virtual/utils4.js.map +1 -0
  570. package/lib/esm/env/load.js +1 -1
  571. package/lib/esm/env/load.js.map +1 -1
  572. package/lib/types/env/load.d.ts +5 -5
  573. package/lib/types/utils/log-response.d.ts +5 -5
  574. package/lib/types/utils/logger.d.ts +5 -5
  575. package/package.json +9 -9
  576. package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  577. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  578. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  579. package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  580. package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  581. package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  582. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  583. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  584. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  585. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  586. package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  587. package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  588. package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  589. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  590. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  591. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  592. package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  593. package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
  594. package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
  595. package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
  596. package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
  597. package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  598. package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
  599. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  600. package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  601. package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  602. package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  603. package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  604. package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  605. package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
  606. package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
  607. package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
  608. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  609. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  610. package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  611. package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  612. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  613. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  614. package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  615. package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  616. package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  617. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  618. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  619. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  620. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  621. package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  622. package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  623. package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  624. package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  625. package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  626. package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  627. package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  628. package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
  629. package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
  630. package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
  631. package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
  632. package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  633. package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
  634. package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  635. package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  636. package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  637. package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  638. package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  639. package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  640. package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
  641. package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
  642. package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
  643. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  644. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  645. package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  646. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  647. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  648. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  649. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  650. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  651. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  652. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  653. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  654. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  655. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  656. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  657. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  658. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  659. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  660. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  661. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  662. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  663. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  664. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  665. /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  666. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  667. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  668. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  669. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  670. /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  671. /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  672. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  673. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  674. /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  675. /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
  676. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  677. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  678. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  679. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  680. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  681. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  682. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  683. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  684. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  685. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  686. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  687. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  688. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  689. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  690. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  691. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  692. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  693. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  694. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  695. /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  696. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  697. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  698. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  699. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  700. /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  701. /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  702. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  703. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  704. /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  705. /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
@@ -0,0 +1,886 @@
1
+ 'use strict';
2
+
3
+ var symbols = require('./symbols.js');
4
+ var util = require('./util.js');
5
+ var util$1 = require('../../core/util.js');
6
+ var webidl = require('../fetch/webidl.js');
7
+ var response = require('../fetch/response.js');
8
+ var request = require('../fetch/request.js');
9
+ var symbols$1 = require('../fetch/symbols.js');
10
+ var index = require('../fetch/index.js');
11
+ var util$2 = require('../fetch/util.js');
12
+ var require$$0 = require('node:assert');
13
+
14
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
15
+
16
+ var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
17
+
18
+ var cache;
19
+ var hasRequiredCache;
20
+
21
+ function requireCache () {
22
+ if (hasRequiredCache) return cache;
23
+ hasRequiredCache = 1;
24
+
25
+ const { kConstruct } = symbols.__require();
26
+ const { urlEquals, getFieldValues } = util.__require();
27
+ const { kEnumerableProperty, isDisturbed } = util$1.__require();
28
+ const { webidl: webidl$1 } = webidl.__require();
29
+ const { Response, cloneResponse, fromInnerResponse } = response.__require();
30
+ const { Request, fromInnerRequest } = request.__require();
31
+ const { kState } = symbols$1.__require();
32
+ const { fetching } = index.__require();
33
+ const { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = util$2.__require();
34
+ const assert = require$$0__default.default;
35
+
36
+ /**
37
+ * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation
38
+ * @typedef {Object} CacheBatchOperation
39
+ * @property {'delete' | 'put'} type
40
+ * @property {any} request
41
+ * @property {any} response
42
+ * @property {import('../../types/cache').CacheQueryOptions} options
43
+ */
44
+
45
+ /**
46
+ * @see https://w3c.github.io/ServiceWorker/#dfn-request-response-list
47
+ * @typedef {[any, any][]} requestResponseList
48
+ */
49
+
50
+ class Cache {
51
+ /**
52
+ * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list
53
+ * @type {requestResponseList}
54
+ */
55
+ #relevantRequestResponseList
56
+
57
+ constructor () {
58
+ if (arguments[0] !== kConstruct) {
59
+ webidl$1.illegalConstructor();
60
+ }
61
+
62
+ webidl$1.util.markAsUncloneable(this);
63
+ this.#relevantRequestResponseList = arguments[1];
64
+ }
65
+
66
+ async match (request, options = {}) {
67
+ webidl$1.brandCheck(this, Cache);
68
+
69
+ const prefix = 'Cache.match';
70
+ webidl$1.argumentLengthCheck(arguments, 1, prefix);
71
+
72
+ request = webidl$1.converters.RequestInfo(request, prefix, 'request');
73
+ options = webidl$1.converters.CacheQueryOptions(options, prefix, 'options');
74
+
75
+ const p = this.#internalMatchAll(request, options, 1);
76
+
77
+ if (p.length === 0) {
78
+ return
79
+ }
80
+
81
+ return p[0]
82
+ }
83
+
84
+ async matchAll (request = undefined, options = {}) {
85
+ webidl$1.brandCheck(this, Cache);
86
+
87
+ const prefix = 'Cache.matchAll';
88
+ if (request !== undefined) request = webidl$1.converters.RequestInfo(request, prefix, 'request');
89
+ options = webidl$1.converters.CacheQueryOptions(options, prefix, 'options');
90
+
91
+ return this.#internalMatchAll(request, options)
92
+ }
93
+
94
+ async add (request) {
95
+ webidl$1.brandCheck(this, Cache);
96
+
97
+ const prefix = 'Cache.add';
98
+ webidl$1.argumentLengthCheck(arguments, 1, prefix);
99
+
100
+ request = webidl$1.converters.RequestInfo(request, prefix, 'request');
101
+
102
+ // 1.
103
+ const requests = [request];
104
+
105
+ // 2.
106
+ const responseArrayPromise = this.addAll(requests);
107
+
108
+ // 3.
109
+ return await responseArrayPromise
110
+ }
111
+
112
+ async addAll (requests) {
113
+ webidl$1.brandCheck(this, Cache);
114
+
115
+ const prefix = 'Cache.addAll';
116
+ webidl$1.argumentLengthCheck(arguments, 1, prefix);
117
+
118
+ // 1.
119
+ const responsePromises = [];
120
+
121
+ // 2.
122
+ const requestList = [];
123
+
124
+ // 3.
125
+ for (let request of requests) {
126
+ if (request === undefined) {
127
+ throw webidl$1.errors.conversionFailed({
128
+ prefix,
129
+ argument: 'Argument 1',
130
+ types: ['undefined is not allowed']
131
+ })
132
+ }
133
+
134
+ request = webidl$1.converters.RequestInfo(request);
135
+
136
+ if (typeof request === 'string') {
137
+ continue
138
+ }
139
+
140
+ // 3.1
141
+ const r = request[kState];
142
+
143
+ // 3.2
144
+ if (!urlIsHttpHttpsScheme(r.url) || r.method !== 'GET') {
145
+ throw webidl$1.errors.exception({
146
+ header: prefix,
147
+ message: 'Expected http/s scheme when method is not GET.'
148
+ })
149
+ }
150
+ }
151
+
152
+ // 4.
153
+ /** @type {ReturnType<typeof fetching>[]} */
154
+ const fetchControllers = [];
155
+
156
+ // 5.
157
+ for (const request of requests) {
158
+ // 5.1
159
+ const r = new Request(request)[kState];
160
+
161
+ // 5.2
162
+ if (!urlIsHttpHttpsScheme(r.url)) {
163
+ throw webidl$1.errors.exception({
164
+ header: prefix,
165
+ message: 'Expected http/s scheme.'
166
+ })
167
+ }
168
+
169
+ // 5.4
170
+ r.initiator = 'fetch';
171
+ r.destination = 'subresource';
172
+
173
+ // 5.5
174
+ requestList.push(r);
175
+
176
+ // 5.6
177
+ const responsePromise = createDeferredPromise();
178
+
179
+ // 5.7
180
+ fetchControllers.push(fetching({
181
+ request: r,
182
+ processResponse (response) {
183
+ // 1.
184
+ if (response.type === 'error' || response.status === 206 || response.status < 200 || response.status > 299) {
185
+ responsePromise.reject(webidl$1.errors.exception({
186
+ header: 'Cache.addAll',
187
+ message: 'Received an invalid status code or the request failed.'
188
+ }));
189
+ } else if (response.headersList.contains('vary')) { // 2.
190
+ // 2.1
191
+ const fieldValues = getFieldValues(response.headersList.get('vary'));
192
+
193
+ // 2.2
194
+ for (const fieldValue of fieldValues) {
195
+ // 2.2.1
196
+ if (fieldValue === '*') {
197
+ responsePromise.reject(webidl$1.errors.exception({
198
+ header: 'Cache.addAll',
199
+ message: 'invalid vary field value'
200
+ }));
201
+
202
+ for (const controller of fetchControllers) {
203
+ controller.abort();
204
+ }
205
+
206
+ return
207
+ }
208
+ }
209
+ }
210
+ },
211
+ processResponseEndOfBody (response) {
212
+ // 1.
213
+ if (response.aborted) {
214
+ responsePromise.reject(new DOMException('aborted', 'AbortError'));
215
+ return
216
+ }
217
+
218
+ // 2.
219
+ responsePromise.resolve(response);
220
+ }
221
+ }));
222
+
223
+ // 5.8
224
+ responsePromises.push(responsePromise.promise);
225
+ }
226
+
227
+ // 6.
228
+ const p = Promise.all(responsePromises);
229
+
230
+ // 7.
231
+ const responses = await p;
232
+
233
+ // 7.1
234
+ const operations = [];
235
+
236
+ // 7.2
237
+ let index = 0;
238
+
239
+ // 7.3
240
+ for (const response of responses) {
241
+ // 7.3.1
242
+ /** @type {CacheBatchOperation} */
243
+ const operation = {
244
+ type: 'put', // 7.3.2
245
+ request: requestList[index], // 7.3.3
246
+ response // 7.3.4
247
+ };
248
+
249
+ operations.push(operation); // 7.3.5
250
+
251
+ index++; // 7.3.6
252
+ }
253
+
254
+ // 7.5
255
+ const cacheJobPromise = createDeferredPromise();
256
+
257
+ // 7.6.1
258
+ let errorData = null;
259
+
260
+ // 7.6.2
261
+ try {
262
+ this.#batchCacheOperations(operations);
263
+ } catch (e) {
264
+ errorData = e;
265
+ }
266
+
267
+ // 7.6.3
268
+ queueMicrotask(() => {
269
+ // 7.6.3.1
270
+ if (errorData === null) {
271
+ cacheJobPromise.resolve(undefined);
272
+ } else {
273
+ // 7.6.3.2
274
+ cacheJobPromise.reject(errorData);
275
+ }
276
+ });
277
+
278
+ // 7.7
279
+ return cacheJobPromise.promise
280
+ }
281
+
282
+ async put (request, response) {
283
+ webidl$1.brandCheck(this, Cache);
284
+
285
+ const prefix = 'Cache.put';
286
+ webidl$1.argumentLengthCheck(arguments, 2, prefix);
287
+
288
+ request = webidl$1.converters.RequestInfo(request, prefix, 'request');
289
+ response = webidl$1.converters.Response(response, prefix, 'response');
290
+
291
+ // 1.
292
+ let innerRequest = null;
293
+
294
+ // 2.
295
+ if (request instanceof Request) {
296
+ innerRequest = request[kState];
297
+ } else { // 3.
298
+ innerRequest = new Request(request)[kState];
299
+ }
300
+
301
+ // 4.
302
+ if (!urlIsHttpHttpsScheme(innerRequest.url) || innerRequest.method !== 'GET') {
303
+ throw webidl$1.errors.exception({
304
+ header: prefix,
305
+ message: 'Expected an http/s scheme when method is not GET'
306
+ })
307
+ }
308
+
309
+ // 5.
310
+ const innerResponse = response[kState];
311
+
312
+ // 6.
313
+ if (innerResponse.status === 206) {
314
+ throw webidl$1.errors.exception({
315
+ header: prefix,
316
+ message: 'Got 206 status'
317
+ })
318
+ }
319
+
320
+ // 7.
321
+ if (innerResponse.headersList.contains('vary')) {
322
+ // 7.1.
323
+ const fieldValues = getFieldValues(innerResponse.headersList.get('vary'));
324
+
325
+ // 7.2.
326
+ for (const fieldValue of fieldValues) {
327
+ // 7.2.1
328
+ if (fieldValue === '*') {
329
+ throw webidl$1.errors.exception({
330
+ header: prefix,
331
+ message: 'Got * vary field value'
332
+ })
333
+ }
334
+ }
335
+ }
336
+
337
+ // 8.
338
+ if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) {
339
+ throw webidl$1.errors.exception({
340
+ header: prefix,
341
+ message: 'Response body is locked or disturbed'
342
+ })
343
+ }
344
+
345
+ // 9.
346
+ const clonedResponse = cloneResponse(innerResponse);
347
+
348
+ // 10.
349
+ const bodyReadPromise = createDeferredPromise();
350
+
351
+ // 11.
352
+ if (innerResponse.body != null) {
353
+ // 11.1
354
+ const stream = innerResponse.body.stream;
355
+
356
+ // 11.2
357
+ const reader = stream.getReader();
358
+
359
+ // 11.3
360
+ readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject);
361
+ } else {
362
+ bodyReadPromise.resolve(undefined);
363
+ }
364
+
365
+ // 12.
366
+ /** @type {CacheBatchOperation[]} */
367
+ const operations = [];
368
+
369
+ // 13.
370
+ /** @type {CacheBatchOperation} */
371
+ const operation = {
372
+ type: 'put', // 14.
373
+ request: innerRequest, // 15.
374
+ response: clonedResponse // 16.
375
+ };
376
+
377
+ // 17.
378
+ operations.push(operation);
379
+
380
+ // 19.
381
+ const bytes = await bodyReadPromise.promise;
382
+
383
+ if (clonedResponse.body != null) {
384
+ clonedResponse.body.source = bytes;
385
+ }
386
+
387
+ // 19.1
388
+ const cacheJobPromise = createDeferredPromise();
389
+
390
+ // 19.2.1
391
+ let errorData = null;
392
+
393
+ // 19.2.2
394
+ try {
395
+ this.#batchCacheOperations(operations);
396
+ } catch (e) {
397
+ errorData = e;
398
+ }
399
+
400
+ // 19.2.3
401
+ queueMicrotask(() => {
402
+ // 19.2.3.1
403
+ if (errorData === null) {
404
+ cacheJobPromise.resolve();
405
+ } else { // 19.2.3.2
406
+ cacheJobPromise.reject(errorData);
407
+ }
408
+ });
409
+
410
+ return cacheJobPromise.promise
411
+ }
412
+
413
+ async delete (request, options = {}) {
414
+ webidl$1.brandCheck(this, Cache);
415
+
416
+ const prefix = 'Cache.delete';
417
+ webidl$1.argumentLengthCheck(arguments, 1, prefix);
418
+
419
+ request = webidl$1.converters.RequestInfo(request, prefix, 'request');
420
+ options = webidl$1.converters.CacheQueryOptions(options, prefix, 'options');
421
+
422
+ /**
423
+ * @type {Request}
424
+ */
425
+ let r = null;
426
+
427
+ if (request instanceof Request) {
428
+ r = request[kState];
429
+
430
+ if (r.method !== 'GET' && !options.ignoreMethod) {
431
+ return false
432
+ }
433
+ } else {
434
+ assert(typeof request === 'string');
435
+
436
+ r = new Request(request)[kState];
437
+ }
438
+
439
+ /** @type {CacheBatchOperation[]} */
440
+ const operations = [];
441
+
442
+ /** @type {CacheBatchOperation} */
443
+ const operation = {
444
+ type: 'delete',
445
+ request: r,
446
+ options
447
+ };
448
+
449
+ operations.push(operation);
450
+
451
+ const cacheJobPromise = createDeferredPromise();
452
+
453
+ let errorData = null;
454
+ let requestResponses;
455
+
456
+ try {
457
+ requestResponses = this.#batchCacheOperations(operations);
458
+ } catch (e) {
459
+ errorData = e;
460
+ }
461
+
462
+ queueMicrotask(() => {
463
+ if (errorData === null) {
464
+ cacheJobPromise.resolve(!!requestResponses?.length);
465
+ } else {
466
+ cacheJobPromise.reject(errorData);
467
+ }
468
+ });
469
+
470
+ return cacheJobPromise.promise
471
+ }
472
+
473
+ /**
474
+ * @see https://w3c.github.io/ServiceWorker/#dom-cache-keys
475
+ * @param {any} request
476
+ * @param {import('../../types/cache').CacheQueryOptions} options
477
+ * @returns {Promise<readonly Request[]>}
478
+ */
479
+ async keys (request = undefined, options = {}) {
480
+ webidl$1.brandCheck(this, Cache);
481
+
482
+ const prefix = 'Cache.keys';
483
+
484
+ if (request !== undefined) request = webidl$1.converters.RequestInfo(request, prefix, 'request');
485
+ options = webidl$1.converters.CacheQueryOptions(options, prefix, 'options');
486
+
487
+ // 1.
488
+ let r = null;
489
+
490
+ // 2.
491
+ if (request !== undefined) {
492
+ // 2.1
493
+ if (request instanceof Request) {
494
+ // 2.1.1
495
+ r = request[kState];
496
+
497
+ // 2.1.2
498
+ if (r.method !== 'GET' && !options.ignoreMethod) {
499
+ return []
500
+ }
501
+ } else if (typeof request === 'string') { // 2.2
502
+ r = new Request(request)[kState];
503
+ }
504
+ }
505
+
506
+ // 4.
507
+ const promise = createDeferredPromise();
508
+
509
+ // 5.
510
+ // 5.1
511
+ const requests = [];
512
+
513
+ // 5.2
514
+ if (request === undefined) {
515
+ // 5.2.1
516
+ for (const requestResponse of this.#relevantRequestResponseList) {
517
+ // 5.2.1.1
518
+ requests.push(requestResponse[0]);
519
+ }
520
+ } else { // 5.3
521
+ // 5.3.1
522
+ const requestResponses = this.#queryCache(r, options);
523
+
524
+ // 5.3.2
525
+ for (const requestResponse of requestResponses) {
526
+ // 5.3.2.1
527
+ requests.push(requestResponse[0]);
528
+ }
529
+ }
530
+
531
+ // 5.4
532
+ queueMicrotask(() => {
533
+ // 5.4.1
534
+ const requestList = [];
535
+
536
+ // 5.4.2
537
+ for (const request of requests) {
538
+ const requestObject = fromInnerRequest(
539
+ request,
540
+ new AbortController().signal,
541
+ 'immutable'
542
+ );
543
+ // 5.4.2.1
544
+ requestList.push(requestObject);
545
+ }
546
+
547
+ // 5.4.3
548
+ promise.resolve(Object.freeze(requestList));
549
+ });
550
+
551
+ return promise.promise
552
+ }
553
+
554
+ /**
555
+ * @see https://w3c.github.io/ServiceWorker/#batch-cache-operations-algorithm
556
+ * @param {CacheBatchOperation[]} operations
557
+ * @returns {requestResponseList}
558
+ */
559
+ #batchCacheOperations (operations) {
560
+ // 1.
561
+ const cache = this.#relevantRequestResponseList;
562
+
563
+ // 2.
564
+ const backupCache = [...cache];
565
+
566
+ // 3.
567
+ const addedItems = [];
568
+
569
+ // 4.1
570
+ const resultList = [];
571
+
572
+ try {
573
+ // 4.2
574
+ for (const operation of operations) {
575
+ // 4.2.1
576
+ if (operation.type !== 'delete' && operation.type !== 'put') {
577
+ throw webidl$1.errors.exception({
578
+ header: 'Cache.#batchCacheOperations',
579
+ message: 'operation type does not match "delete" or "put"'
580
+ })
581
+ }
582
+
583
+ // 4.2.2
584
+ if (operation.type === 'delete' && operation.response != null) {
585
+ throw webidl$1.errors.exception({
586
+ header: 'Cache.#batchCacheOperations',
587
+ message: 'delete operation should not have an associated response'
588
+ })
589
+ }
590
+
591
+ // 4.2.3
592
+ if (this.#queryCache(operation.request, operation.options, addedItems).length) {
593
+ throw new DOMException('???', 'InvalidStateError')
594
+ }
595
+
596
+ // 4.2.4
597
+ let requestResponses;
598
+
599
+ // 4.2.5
600
+ if (operation.type === 'delete') {
601
+ // 4.2.5.1
602
+ requestResponses = this.#queryCache(operation.request, operation.options);
603
+
604
+ // TODO: the spec is wrong, this is needed to pass WPTs
605
+ if (requestResponses.length === 0) {
606
+ return []
607
+ }
608
+
609
+ // 4.2.5.2
610
+ for (const requestResponse of requestResponses) {
611
+ const idx = cache.indexOf(requestResponse);
612
+ assert(idx !== -1);
613
+
614
+ // 4.2.5.2.1
615
+ cache.splice(idx, 1);
616
+ }
617
+ } else if (operation.type === 'put') { // 4.2.6
618
+ // 4.2.6.1
619
+ if (operation.response == null) {
620
+ throw webidl$1.errors.exception({
621
+ header: 'Cache.#batchCacheOperations',
622
+ message: 'put operation should have an associated response'
623
+ })
624
+ }
625
+
626
+ // 4.2.6.2
627
+ const r = operation.request;
628
+
629
+ // 4.2.6.3
630
+ if (!urlIsHttpHttpsScheme(r.url)) {
631
+ throw webidl$1.errors.exception({
632
+ header: 'Cache.#batchCacheOperations',
633
+ message: 'expected http or https scheme'
634
+ })
635
+ }
636
+
637
+ // 4.2.6.4
638
+ if (r.method !== 'GET') {
639
+ throw webidl$1.errors.exception({
640
+ header: 'Cache.#batchCacheOperations',
641
+ message: 'not get method'
642
+ })
643
+ }
644
+
645
+ // 4.2.6.5
646
+ if (operation.options != null) {
647
+ throw webidl$1.errors.exception({
648
+ header: 'Cache.#batchCacheOperations',
649
+ message: 'options must not be defined'
650
+ })
651
+ }
652
+
653
+ // 4.2.6.6
654
+ requestResponses = this.#queryCache(operation.request);
655
+
656
+ // 4.2.6.7
657
+ for (const requestResponse of requestResponses) {
658
+ const idx = cache.indexOf(requestResponse);
659
+ assert(idx !== -1);
660
+
661
+ // 4.2.6.7.1
662
+ cache.splice(idx, 1);
663
+ }
664
+
665
+ // 4.2.6.8
666
+ cache.push([operation.request, operation.response]);
667
+
668
+ // 4.2.6.10
669
+ addedItems.push([operation.request, operation.response]);
670
+ }
671
+
672
+ // 4.2.7
673
+ resultList.push([operation.request, operation.response]);
674
+ }
675
+
676
+ // 4.3
677
+ return resultList
678
+ } catch (e) { // 5.
679
+ // 5.1
680
+ this.#relevantRequestResponseList.length = 0;
681
+
682
+ // 5.2
683
+ this.#relevantRequestResponseList = backupCache;
684
+
685
+ // 5.3
686
+ throw e
687
+ }
688
+ }
689
+
690
+ /**
691
+ * @see https://w3c.github.io/ServiceWorker/#query-cache
692
+ * @param {any} requestQuery
693
+ * @param {import('../../types/cache').CacheQueryOptions} options
694
+ * @param {requestResponseList} targetStorage
695
+ * @returns {requestResponseList}
696
+ */
697
+ #queryCache (requestQuery, options, targetStorage) {
698
+ /** @type {requestResponseList} */
699
+ const resultList = [];
700
+
701
+ const storage = targetStorage ?? this.#relevantRequestResponseList;
702
+
703
+ for (const requestResponse of storage) {
704
+ const [cachedRequest, cachedResponse] = requestResponse;
705
+ if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) {
706
+ resultList.push(requestResponse);
707
+ }
708
+ }
709
+
710
+ return resultList
711
+ }
712
+
713
+ /**
714
+ * @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm
715
+ * @param {any} requestQuery
716
+ * @param {any} request
717
+ * @param {any | null} response
718
+ * @param {import('../../types/cache').CacheQueryOptions | undefined} options
719
+ * @returns {boolean}
720
+ */
721
+ #requestMatchesCachedItem (requestQuery, request, response = null, options) {
722
+ // if (options?.ignoreMethod === false && request.method === 'GET') {
723
+ // return false
724
+ // }
725
+
726
+ const queryURL = new URL(requestQuery.url);
727
+
728
+ const cachedURL = new URL(request.url);
729
+
730
+ if (options?.ignoreSearch) {
731
+ cachedURL.search = '';
732
+
733
+ queryURL.search = '';
734
+ }
735
+
736
+ if (!urlEquals(queryURL, cachedURL, true)) {
737
+ return false
738
+ }
739
+
740
+ if (
741
+ response == null ||
742
+ options?.ignoreVary ||
743
+ !response.headersList.contains('vary')
744
+ ) {
745
+ return true
746
+ }
747
+
748
+ const fieldValues = getFieldValues(response.headersList.get('vary'));
749
+
750
+ for (const fieldValue of fieldValues) {
751
+ if (fieldValue === '*') {
752
+ return false
753
+ }
754
+
755
+ const requestValue = request.headersList.get(fieldValue);
756
+ const queryValue = requestQuery.headersList.get(fieldValue);
757
+
758
+ // If one has the header and the other doesn't, or one has
759
+ // a different value than the other, return false
760
+ if (requestValue !== queryValue) {
761
+ return false
762
+ }
763
+ }
764
+
765
+ return true
766
+ }
767
+
768
+ #internalMatchAll (request, options, maxResponses = Infinity) {
769
+ // 1.
770
+ let r = null;
771
+
772
+ // 2.
773
+ if (request !== undefined) {
774
+ if (request instanceof Request) {
775
+ // 2.1.1
776
+ r = request[kState];
777
+
778
+ // 2.1.2
779
+ if (r.method !== 'GET' && !options.ignoreMethod) {
780
+ return []
781
+ }
782
+ } else if (typeof request === 'string') {
783
+ // 2.2.1
784
+ r = new Request(request)[kState];
785
+ }
786
+ }
787
+
788
+ // 5.
789
+ // 5.1
790
+ const responses = [];
791
+
792
+ // 5.2
793
+ if (request === undefined) {
794
+ // 5.2.1
795
+ for (const requestResponse of this.#relevantRequestResponseList) {
796
+ responses.push(requestResponse[1]);
797
+ }
798
+ } else { // 5.3
799
+ // 5.3.1
800
+ const requestResponses = this.#queryCache(r, options);
801
+
802
+ // 5.3.2
803
+ for (const requestResponse of requestResponses) {
804
+ responses.push(requestResponse[1]);
805
+ }
806
+ }
807
+
808
+ // 5.4
809
+ // We don't implement CORs so we don't need to loop over the responses, yay!
810
+
811
+ // 5.5.1
812
+ const responseList = [];
813
+
814
+ // 5.5.2
815
+ for (const response of responses) {
816
+ // 5.5.2.1
817
+ const responseObject = fromInnerResponse(response, 'immutable');
818
+
819
+ responseList.push(responseObject.clone());
820
+
821
+ if (responseList.length >= maxResponses) {
822
+ break
823
+ }
824
+ }
825
+
826
+ // 6.
827
+ return Object.freeze(responseList)
828
+ }
829
+ }
830
+
831
+ Object.defineProperties(Cache.prototype, {
832
+ [Symbol.toStringTag]: {
833
+ value: 'Cache',
834
+ configurable: true
835
+ },
836
+ match: kEnumerableProperty,
837
+ matchAll: kEnumerableProperty,
838
+ add: kEnumerableProperty,
839
+ addAll: kEnumerableProperty,
840
+ put: kEnumerableProperty,
841
+ delete: kEnumerableProperty,
842
+ keys: kEnumerableProperty
843
+ });
844
+
845
+ const cacheQueryOptionConverters = [
846
+ {
847
+ key: 'ignoreSearch',
848
+ converter: webidl$1.converters.boolean,
849
+ defaultValue: () => false
850
+ },
851
+ {
852
+ key: 'ignoreMethod',
853
+ converter: webidl$1.converters.boolean,
854
+ defaultValue: () => false
855
+ },
856
+ {
857
+ key: 'ignoreVary',
858
+ converter: webidl$1.converters.boolean,
859
+ defaultValue: () => false
860
+ }
861
+ ];
862
+
863
+ webidl$1.converters.CacheQueryOptions = webidl$1.dictionaryConverter(cacheQueryOptionConverters);
864
+
865
+ webidl$1.converters.MultiCacheQueryOptions = webidl$1.dictionaryConverter([
866
+ ...cacheQueryOptionConverters,
867
+ {
868
+ key: 'cacheName',
869
+ converter: webidl$1.converters.DOMString
870
+ }
871
+ ]);
872
+
873
+ webidl$1.converters.Response = webidl$1.interfaceConverter(Response);
874
+
875
+ webidl$1.converters['sequence<RequestInfo>'] = webidl$1.sequenceConverter(
876
+ webidl$1.converters.RequestInfo
877
+ );
878
+
879
+ cache = {
880
+ Cache
881
+ };
882
+ return cache;
883
+ }
884
+
885
+ exports.__require = requireCache;
886
+ //# sourceMappingURL=cache.js.map