@relative-ci/core 5.3.1-alpha.0 → 5.3.2-beta.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 (1193) hide show
  1. package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
  2. package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  3. package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
  4. package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
  5. package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  6. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  7. package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  8. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  9. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  10. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  11. package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  12. package/lib/cjs/__/@octokit/request/dist-bundle/index.js +200 -0
  13. package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
  14. package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
  15. package/lib/cjs/__/before-after-hook/index.js.map +1 -0
  16. package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
  17. package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
  18. package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
  19. package/lib/cjs/__/cross-spawn/index.js +1 -1
  20. package/lib/cjs/__/env-ci/lib/git.js +1 -1
  21. package/lib/cjs/__/execa/index.js +149 -0
  22. package/lib/cjs/__/execa/index.js.map +1 -0
  23. package/lib/cjs/__/execa/lib/command.js.map +1 -0
  24. package/lib/cjs/__/execa/lib/error.js.map +1 -0
  25. package/lib/cjs/__/execa/lib/promise.js.map +1 -0
  26. package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
  27. package/lib/cjs/__/execa/lib/stream.js +35 -0
  28. package/lib/cjs/__/execa/lib/stream.js.map +1 -0
  29. package/lib/cjs/__/execa/lib/verbose.js +29 -0
  30. package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
  31. package/lib/cjs/__/fast-content-type-parse/index.js +1 -1
  32. package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
  33. package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
  34. package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
  35. package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
  36. package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
  37. package/lib/cjs/__/is-stream/index.js.map +1 -0
  38. package/lib/cjs/__/json-with-bigint/json-with-bigint.js +83 -23
  39. package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -1
  40. package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
  41. package/lib/cjs/__/npm-run-path/index.js +63 -0
  42. package/lib/cjs/__/npm-run-path/index.js.map +1 -0
  43. package/lib/cjs/__/path-key/index.js +1 -1
  44. package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
  45. package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
  46. package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
  47. package/lib/cjs/__/tunnel/lib/tunnel.js +9 -9
  48. package/lib/cjs/__/tunnel/lib/tunnel.js.map +1 -1
  49. package/lib/cjs/__/undici/index.js +99 -85
  50. package/lib/cjs/__/undici/index.js.map +1 -1
  51. package/lib/cjs/__/undici/lib/api/abort-signal.js +5 -2
  52. package/lib/cjs/__/undici/lib/api/abort-signal.js.map +1 -1
  53. package/lib/cjs/__/undici/lib/api/api-connect.js +13 -7
  54. package/lib/cjs/__/undici/lib/api/api-connect.js.map +1 -1
  55. package/lib/cjs/__/undici/lib/api/api-pipeline.js +10 -8
  56. package/lib/cjs/__/undici/lib/api/api-pipeline.js.map +1 -1
  57. package/lib/cjs/__/undici/lib/api/api-request.js +63 -28
  58. package/lib/cjs/__/undici/lib/api/api-request.js.map +1 -1
  59. package/lib/cjs/__/undici/lib/api/api-stream.js +14 -12
  60. package/lib/cjs/__/undici/lib/api/api-stream.js.map +1 -1
  61. package/lib/cjs/__/undici/lib/api/api-upgrade.js +12 -9
  62. package/lib/cjs/__/undici/lib/api/api-upgrade.js.map +1 -1
  63. package/lib/cjs/__/undici/lib/api/readable.js +147 -84
  64. package/lib/cjs/__/undici/lib/api/readable.js.map +1 -1
  65. package/lib/cjs/__/undici/lib/api/util.js +74 -27
  66. package/lib/cjs/__/undici/lib/api/util.js.map +1 -1
  67. package/lib/cjs/__/undici/lib/core/connect.js +83 -31
  68. package/lib/cjs/__/undici/lib/core/connect.js.map +1 -1
  69. package/lib/cjs/__/undici/lib/core/diagnostics.js +222 -0
  70. package/lib/cjs/__/undici/lib/core/diagnostics.js.map +1 -0
  71. package/lib/cjs/__/undici/lib/core/errors.js +216 -21
  72. package/lib/cjs/__/undici/lib/core/errors.js.map +1 -1
  73. package/lib/cjs/__/undici/lib/core/request.js +116 -210
  74. package/lib/cjs/__/undici/lib/core/request.js.map +1 -1
  75. package/lib/cjs/__/undici/lib/core/symbols.js +10 -6
  76. package/lib/cjs/__/undici/lib/core/symbols.js.map +1 -1
  77. package/lib/cjs/__/undici/lib/core/tree.js.map +1 -0
  78. package/lib/cjs/__/undici/lib/core/util.js +321 -123
  79. package/lib/cjs/__/undici/lib/core/util.js.map +1 -1
  80. package/lib/cjs/__/undici/lib/dispatcher/agent.js +150 -0
  81. package/lib/cjs/__/undici/lib/dispatcher/agent.js.map +1 -0
  82. package/lib/cjs/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  83. package/lib/cjs/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  84. package/lib/cjs/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  85. package/lib/cjs/__/undici/lib/dispatcher/client.js +651 -0
  86. package/lib/cjs/__/undici/lib/dispatcher/client.js.map +1 -0
  87. package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js +214 -0
  88. package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  89. package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js +83 -0
  90. package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  91. package/lib/cjs/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  92. package/lib/cjs/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  93. package/lib/cjs/__/undici/lib/dispatcher/pool-base.js +211 -0
  94. package/lib/cjs/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  95. package/lib/cjs/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  96. package/lib/cjs/__/undici/lib/dispatcher/pool.js +126 -0
  97. package/lib/cjs/__/undici/lib/dispatcher/pool.js.map +1 -0
  98. package/lib/cjs/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  99. package/lib/cjs/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  100. package/lib/cjs/__/undici/lib/global.js +1 -1
  101. package/lib/cjs/__/undici/lib/global.js.map +1 -1
  102. package/lib/cjs/__/undici/lib/handler/decorator-handler.js.map +1 -0
  103. package/lib/cjs/__/undici/lib/handler/redirect-handler.js +237 -0
  104. package/lib/cjs/__/undici/lib/handler/redirect-handler.js.map +1 -0
  105. package/lib/cjs/__/undici/lib/handler/retry-handler.js.map +1 -0
  106. package/lib/cjs/__/undici/lib/interceptor/dns.js.map +1 -0
  107. package/lib/cjs/__/undici/lib/interceptor/dump.js.map +1 -0
  108. package/lib/cjs/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  109. package/lib/cjs/__/undici/lib/interceptor/redirect.js.map +1 -0
  110. package/lib/cjs/__/undici/lib/interceptor/retry.js.map +1 -0
  111. package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js +10 -1
  112. package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
  113. package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js +10 -1
  114. package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
  115. package/lib/cjs/__/undici/lib/mock/mock-agent.js +10 -21
  116. package/lib/cjs/__/undici/lib/mock/mock-agent.js.map +1 -1
  117. package/lib/cjs/__/undici/lib/mock/mock-client.js +4 -4
  118. package/lib/cjs/__/undici/lib/mock/mock-client.js.map +1 -1
  119. package/lib/cjs/__/undici/lib/mock/mock-errors.js +11 -0
  120. package/lib/cjs/__/undici/lib/mock/mock-errors.js.map +1 -1
  121. package/lib/cjs/__/undici/lib/mock/mock-interceptor.js +19 -18
  122. package/lib/cjs/__/undici/lib/mock/mock-interceptor.js.map +1 -1
  123. package/lib/cjs/__/undici/lib/mock/mock-pool.js +4 -4
  124. package/lib/cjs/__/undici/lib/mock/mock-pool.js.map +1 -1
  125. package/lib/cjs/__/undici/lib/mock/mock-utils.js +33 -17
  126. package/lib/cjs/__/undici/lib/mock/mock-utils.js.map +1 -1
  127. package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
  128. package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
  129. package/lib/cjs/__/undici/lib/util/timers.js.map +1 -0
  130. package/lib/cjs/__/undici/lib/web/cache/cache.js.map +1 -0
  131. package/lib/cjs/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  132. package/lib/cjs/__/undici/lib/web/cache/symbols.js.map +1 -0
  133. package/lib/cjs/__/undici/lib/web/cache/util.js.map +1 -0
  134. package/lib/cjs/__/undici/lib/web/cookies/constants.js.map +1 -0
  135. package/lib/cjs/__/undici/lib/web/cookies/index.js.map +1 -0
  136. package/lib/cjs/__/undici/lib/web/cookies/parse.js.map +1 -0
  137. package/lib/cjs/__/undici/lib/web/cookies/util.js.map +1 -0
  138. package/lib/cjs/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  139. package/lib/cjs/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  140. package/lib/cjs/__/undici/lib/web/eventsource/util.js.map +1 -0
  141. package/lib/cjs/__/undici/lib/web/fetch/body.js.map +1 -0
  142. package/lib/cjs/__/undici/lib/web/fetch/constants.js.map +1 -0
  143. package/lib/cjs/__/undici/lib/web/fetch/data-url.js.map +1 -0
  144. package/lib/cjs/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  145. package/lib/cjs/__/undici/lib/web/fetch/file.js.map +1 -0
  146. package/lib/cjs/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  147. package/lib/cjs/__/undici/lib/web/fetch/formdata.js +275 -0
  148. package/lib/cjs/__/undici/lib/web/fetch/formdata.js.map +1 -0
  149. package/lib/cjs/__/undici/lib/web/fetch/global.js.map +1 -0
  150. package/lib/cjs/__/undici/lib/web/fetch/headers.js +709 -0
  151. package/lib/cjs/__/undici/lib/web/fetch/headers.js.map +1 -0
  152. package/lib/cjs/__/undici/lib/web/fetch/index.js +2235 -0
  153. package/lib/cjs/__/undici/lib/web/fetch/index.js.map +1 -0
  154. package/lib/cjs/__/undici/lib/web/fetch/request.js +1069 -0
  155. package/lib/cjs/__/undici/lib/web/fetch/request.js.map +1 -0
  156. package/lib/cjs/__/undici/lib/web/fetch/response.js +640 -0
  157. package/lib/cjs/__/undici/lib/web/fetch/response.js.map +1 -0
  158. package/lib/cjs/__/undici/lib/web/fetch/symbols.js.map +1 -0
  159. package/lib/cjs/__/undici/lib/web/fetch/util.js +1662 -0
  160. package/lib/cjs/__/undici/lib/web/fetch/util.js.map +1 -0
  161. package/lib/cjs/__/undici/lib/web/fetch/webidl.js +716 -0
  162. package/lib/cjs/__/undici/lib/web/fetch/webidl.js.map +1 -0
  163. package/lib/cjs/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  164. package/lib/cjs/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  165. package/lib/cjs/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  166. package/lib/cjs/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  167. package/lib/cjs/__/undici/lib/web/fileapi/util.js +417 -0
  168. package/lib/cjs/__/undici/lib/web/fileapi/util.js.map +1 -0
  169. package/lib/cjs/__/undici/lib/web/websocket/connection.js.map +1 -0
  170. package/lib/cjs/__/undici/lib/web/websocket/constants.js.map +1 -0
  171. package/lib/cjs/__/undici/lib/web/websocket/events.js.map +1 -0
  172. package/lib/cjs/__/undici/lib/web/websocket/frame.js.map +1 -0
  173. package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js +120 -0
  174. package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  175. package/lib/cjs/__/undici/lib/web/websocket/receiver.js +518 -0
  176. package/lib/cjs/__/undici/lib/web/websocket/receiver.js.map +1 -0
  177. package/lib/cjs/__/undici/lib/web/websocket/sender.js.map +1 -0
  178. package/lib/cjs/__/undici/lib/web/websocket/symbols.js.map +1 -0
  179. package/lib/cjs/__/undici/lib/web/websocket/util.js.map +1 -0
  180. package/lib/cjs/__/undici/lib/web/websocket/websocket.js +622 -0
  181. package/lib/cjs/__/undici/lib/web/websocket/websocket.js.map +1 -0
  182. package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
  183. package/lib/cjs/_virtual/index10.js +2 -2
  184. package/lib/cjs/_virtual/index11.js +2 -2
  185. package/lib/cjs/_virtual/index13.js +2 -2
  186. package/lib/cjs/_virtual/index14.js +2 -2
  187. package/lib/cjs/_virtual/index2.js +1 -1
  188. package/lib/cjs/_virtual/index3.js +1 -1
  189. package/lib/cjs/_virtual/index4.js +1 -1
  190. package/lib/cjs/_virtual/index8.js +2 -2
  191. package/lib/cjs/env/load.js +1 -1
  192. package/lib/cjs/env/load.js.map +1 -1
  193. package/lib/cjs/ingest/ingest.js +3 -3
  194. package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
  195. package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
  196. package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
  197. package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
  198. package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
  199. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
  200. package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
  201. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
  202. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
  203. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
  204. package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
  205. package/lib/esm/__/@octokit/request/dist-bundle/index.js +198 -0
  206. package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
  207. package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
  208. package/lib/esm/__/before-after-hook/index.js.map +1 -0
  209. package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
  210. package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
  211. package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
  212. package/lib/esm/__/cross-spawn/index.js +1 -1
  213. package/lib/esm/__/env-ci/lib/git.js +1 -1
  214. package/lib/esm/__/execa/index.js +141 -0
  215. package/lib/esm/__/execa/index.js.map +1 -0
  216. package/lib/esm/__/execa/lib/command.js.map +1 -0
  217. package/lib/esm/__/execa/lib/error.js.map +1 -0
  218. package/lib/esm/__/execa/lib/promise.js.map +1 -0
  219. package/lib/esm/__/execa/lib/stdio.js.map +1 -0
  220. package/lib/esm/__/execa/lib/stream.js +33 -0
  221. package/lib/esm/__/execa/lib/stream.js.map +1 -0
  222. package/lib/esm/__/execa/lib/verbose.js.map +1 -0
  223. package/lib/esm/__/fast-content-type-parse/index.js +1 -1
  224. package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
  225. package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
  226. package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
  227. package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
  228. package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
  229. package/lib/esm/__/is-stream/index.js.map +1 -0
  230. package/lib/esm/__/java-properties/dist-node/index.js +1 -1
  231. package/lib/esm/__/json-with-bigint/json-with-bigint.js +83 -23
  232. package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -1
  233. package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
  234. package/lib/esm/__/npm-run-path/index.js +55 -0
  235. package/lib/esm/__/npm-run-path/index.js.map +1 -0
  236. package/lib/esm/__/path-key/index.js +1 -1
  237. package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
  238. package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
  239. package/lib/esm/__/strip-final-newline/index.js.map +1 -0
  240. package/lib/esm/__/tunnel/lib/tunnel.js +6 -6
  241. package/lib/esm/__/tunnel/lib/tunnel.js.map +1 -1
  242. package/lib/esm/__/undici/index.js +89 -79
  243. package/lib/esm/__/undici/index.js.map +1 -1
  244. package/lib/esm/__/undici/lib/api/abort-signal.js +5 -2
  245. package/lib/esm/__/undici/lib/api/abort-signal.js.map +1 -1
  246. package/lib/esm/__/undici/lib/api/api-connect.js +11 -6
  247. package/lib/esm/__/undici/lib/api/api-connect.js.map +1 -1
  248. package/lib/esm/__/undici/lib/api/api-pipeline.js +9 -7
  249. package/lib/esm/__/undici/lib/api/api-pipeline.js.map +1 -1
  250. package/lib/esm/__/undici/lib/api/api-request.js +61 -27
  251. package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
  252. package/lib/esm/__/undici/lib/api/api-stream.js +12 -11
  253. package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
  254. package/lib/esm/__/undici/lib/api/api-upgrade.js +11 -8
  255. package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
  256. package/lib/esm/__/undici/lib/api/readable.js +147 -84
  257. package/lib/esm/__/undici/lib/api/readable.js.map +1 -1
  258. package/lib/esm/__/undici/lib/api/util.js +74 -27
  259. package/lib/esm/__/undici/lib/api/util.js.map +1 -1
  260. package/lib/esm/__/undici/lib/core/connect.js +83 -31
  261. package/lib/esm/__/undici/lib/core/connect.js.map +1 -1
  262. package/lib/esm/__/undici/lib/core/diagnostics.js +215 -0
  263. package/lib/esm/__/undici/lib/core/diagnostics.js.map +1 -0
  264. package/lib/esm/__/undici/lib/core/errors.js +216 -21
  265. package/lib/esm/__/undici/lib/core/errors.js.map +1 -1
  266. package/lib/esm/__/undici/lib/core/request.js +105 -199
  267. package/lib/esm/__/undici/lib/core/request.js.map +1 -1
  268. package/lib/esm/__/undici/lib/core/symbols.js +10 -6
  269. package/lib/esm/__/undici/lib/core/symbols.js.map +1 -1
  270. package/lib/esm/__/undici/lib/core/tree.js.map +1 -0
  271. package/lib/esm/__/undici/lib/core/util.js +318 -120
  272. package/lib/esm/__/undici/lib/core/util.js.map +1 -1
  273. package/lib/esm/__/undici/lib/dispatcher/agent.js +148 -0
  274. package/lib/esm/__/undici/lib/dispatcher/agent.js.map +1 -0
  275. package/lib/esm/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
  276. package/lib/esm/__/undici/lib/dispatcher/client-h1.js.map +1 -0
  277. package/lib/esm/__/undici/lib/dispatcher/client-h2.js.map +1 -0
  278. package/lib/esm/__/undici/lib/dispatcher/client.js +643 -0
  279. package/lib/esm/__/undici/lib/dispatcher/client.js.map +1 -0
  280. package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js +212 -0
  281. package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
  282. package/lib/esm/__/undici/lib/dispatcher/dispatcher.js +77 -0
  283. package/lib/esm/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
  284. package/lib/esm/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
  285. package/lib/esm/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
  286. package/lib/esm/__/undici/lib/dispatcher/pool-base.js +209 -0
  287. package/lib/esm/__/undici/lib/dispatcher/pool-base.js.map +1 -0
  288. package/lib/esm/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
  289. package/lib/esm/__/undici/lib/dispatcher/pool.js +124 -0
  290. package/lib/esm/__/undici/lib/dispatcher/pool.js.map +1 -0
  291. package/lib/esm/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
  292. package/lib/esm/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
  293. package/lib/esm/__/undici/lib/global.js +1 -1
  294. package/lib/esm/__/undici/lib/global.js.map +1 -1
  295. package/lib/esm/__/undici/lib/handler/decorator-handler.js.map +1 -0
  296. package/lib/esm/__/undici/lib/handler/redirect-handler.js +230 -0
  297. package/lib/esm/__/undici/lib/handler/redirect-handler.js.map +1 -0
  298. package/lib/esm/__/undici/lib/handler/retry-handler.js.map +1 -0
  299. package/lib/esm/__/undici/lib/interceptor/dns.js.map +1 -0
  300. package/lib/esm/__/undici/lib/interceptor/dump.js.map +1 -0
  301. package/lib/esm/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
  302. package/lib/esm/__/undici/lib/interceptor/redirect.js.map +1 -0
  303. package/lib/esm/__/undici/lib/interceptor/retry.js.map +1 -0
  304. package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js +6 -1
  305. package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
  306. package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js +6 -1
  307. package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
  308. package/lib/esm/__/undici/lib/mock/mock-agent.js +10 -21
  309. package/lib/esm/__/undici/lib/mock/mock-agent.js.map +1 -1
  310. package/lib/esm/__/undici/lib/mock/mock-client.js +3 -3
  311. package/lib/esm/__/undici/lib/mock/mock-client.js.map +1 -1
  312. package/lib/esm/__/undici/lib/mock/mock-errors.js +11 -0
  313. package/lib/esm/__/undici/lib/mock/mock-errors.js.map +1 -1
  314. package/lib/esm/__/undici/lib/mock/mock-interceptor.js +19 -18
  315. package/lib/esm/__/undici/lib/mock/mock-interceptor.js.map +1 -1
  316. package/lib/esm/__/undici/lib/mock/mock-pool.js +3 -3
  317. package/lib/esm/__/undici/lib/mock/mock-pool.js.map +1 -1
  318. package/lib/esm/__/undici/lib/mock/mock-utils.js +32 -16
  319. package/lib/esm/__/undici/lib/mock/mock-utils.js.map +1 -1
  320. package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
  321. package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
  322. package/lib/esm/__/undici/lib/util/timers.js.map +1 -0
  323. package/lib/esm/__/undici/lib/web/cache/cache.js.map +1 -0
  324. package/lib/esm/__/undici/lib/web/cache/cachestorage.js.map +1 -0
  325. package/lib/esm/__/undici/lib/web/cache/symbols.js.map +1 -0
  326. package/lib/esm/__/undici/lib/web/cache/util.js.map +1 -0
  327. package/lib/esm/__/undici/lib/web/cookies/constants.js.map +1 -0
  328. package/lib/esm/__/undici/lib/web/cookies/index.js.map +1 -0
  329. package/lib/esm/__/undici/lib/web/cookies/parse.js.map +1 -0
  330. package/lib/esm/__/undici/lib/web/cookies/util.js.map +1 -0
  331. package/lib/esm/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
  332. package/lib/esm/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
  333. package/lib/esm/__/undici/lib/web/eventsource/util.js.map +1 -0
  334. package/lib/esm/__/undici/lib/web/fetch/body.js.map +1 -0
  335. package/lib/esm/__/undici/lib/web/fetch/constants.js.map +1 -0
  336. package/lib/esm/__/undici/lib/web/fetch/data-url.js.map +1 -0
  337. package/lib/esm/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
  338. package/lib/esm/__/undici/lib/web/fetch/file.js.map +1 -0
  339. package/lib/esm/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
  340. package/lib/esm/__/undici/lib/web/fetch/formdata.js +268 -0
  341. package/lib/esm/__/undici/lib/web/fetch/formdata.js.map +1 -0
  342. package/lib/esm/__/undici/lib/web/fetch/global.js.map +1 -0
  343. package/lib/esm/__/undici/lib/web/fetch/headers.js +702 -0
  344. package/lib/esm/__/undici/lib/web/fetch/headers.js.map +1 -0
  345. package/lib/esm/__/undici/lib/web/fetch/index.js +2224 -0
  346. package/lib/esm/__/undici/lib/web/fetch/index.js.map +1 -0
  347. package/lib/esm/__/undici/lib/web/fetch/request.js +1061 -0
  348. package/lib/esm/__/undici/lib/web/fetch/request.js.map +1 -0
  349. package/lib/esm/__/undici/lib/web/fetch/response.js +633 -0
  350. package/lib/esm/__/undici/lib/web/fetch/response.js.map +1 -0
  351. package/lib/esm/__/undici/lib/web/fetch/symbols.js.map +1 -0
  352. package/lib/esm/__/undici/lib/web/fetch/util.js +1652 -0
  353. package/lib/esm/__/undici/lib/web/fetch/util.js.map +1 -0
  354. package/lib/esm/__/undici/lib/web/fetch/webidl.js +709 -0
  355. package/lib/esm/__/undici/lib/web/fetch/webidl.js.map +1 -0
  356. package/lib/esm/__/undici/lib/web/fileapi/encoding.js.map +1 -0
  357. package/lib/esm/__/undici/lib/web/fileapi/filereader.js.map +1 -0
  358. package/lib/esm/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
  359. package/lib/esm/__/undici/lib/web/fileapi/symbols.js.map +1 -0
  360. package/lib/esm/__/undici/lib/web/fileapi/util.js +409 -0
  361. package/lib/esm/__/undici/lib/web/fileapi/util.js.map +1 -0
  362. package/lib/esm/__/undici/lib/web/websocket/connection.js.map +1 -0
  363. package/lib/esm/__/undici/lib/web/websocket/constants.js.map +1 -0
  364. package/lib/esm/__/undici/lib/web/websocket/events.js.map +1 -0
  365. package/lib/esm/__/undici/lib/web/websocket/frame.js.map +1 -0
  366. package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js +114 -0
  367. package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
  368. package/lib/esm/__/undici/lib/web/websocket/receiver.js +511 -0
  369. package/lib/esm/__/undici/lib/web/websocket/receiver.js.map +1 -0
  370. package/lib/esm/__/undici/lib/web/websocket/sender.js.map +1 -0
  371. package/lib/esm/__/undici/lib/web/websocket/symbols.js.map +1 -0
  372. package/lib/esm/__/undici/lib/web/websocket/util.js.map +1 -0
  373. package/lib/esm/__/undici/lib/web/websocket/websocket.js +616 -0
  374. package/lib/esm/__/undici/lib/web/websocket/websocket.js.map +1 -0
  375. package/lib/esm/__/universal-user-agent/index.js.map +1 -0
  376. package/lib/esm/_virtual/index10.js +2 -2
  377. package/lib/esm/_virtual/index11.js +2 -2
  378. package/lib/esm/_virtual/index13.js +2 -2
  379. package/lib/esm/_virtual/index14.js +2 -2
  380. package/lib/esm/_virtual/index2.js +1 -1
  381. package/lib/esm/_virtual/index3.js +1 -1
  382. package/lib/esm/_virtual/index4.js +1 -1
  383. package/lib/esm/_virtual/index5.js +2 -6
  384. package/lib/esm/_virtual/index5.js.map +1 -1
  385. package/lib/esm/_virtual/index6.js +6 -2
  386. package/lib/esm/_virtual/index6.js.map +1 -1
  387. package/lib/esm/_virtual/index8.js +4 -2
  388. package/lib/esm/_virtual/index8.js.map +1 -1
  389. package/lib/esm/_virtual/index9.js +2 -4
  390. package/lib/esm/_virtual/index9.js.map +1 -1
  391. package/lib/esm/env/load.js +1 -1
  392. package/lib/esm/env/load.js.map +1 -1
  393. package/package.json +12 -12
  394. package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  395. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  396. package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  397. package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  398. package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  399. package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  400. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  401. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  402. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  403. package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  404. package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -200
  405. package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  406. package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  407. package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  408. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  409. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  410. package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  411. package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  412. package/lib/cjs/__/@actions/http-client/__/undici/index.js +0 -226
  413. package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +0 -1
  414. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -73
  415. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
  416. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -131
  417. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
  418. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -276
  419. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
  420. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -238
  421. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
  422. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -246
  423. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
  424. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -131
  425. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
  426. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +0 -25
  427. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
  428. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +0 -405
  429. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
  430. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +0 -114
  431. package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
  432. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +0 -266
  433. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
  434. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +0 -130
  435. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
  436. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -222
  437. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
  438. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +0 -437
  439. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
  440. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +0 -427
  441. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
  442. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -80
  443. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
  444. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
  445. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +0 -755
  446. package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
  447. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -149
  448. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
  449. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
  450. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
  451. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
  452. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -650
  453. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
  454. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -206
  455. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
  456. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -83
  457. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
  458. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
  459. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
  460. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -211
  461. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
  462. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
  463. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -126
  464. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
  465. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
  466. package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
  467. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +0 -47
  468. package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
  469. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
  470. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -237
  471. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
  472. package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
  473. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
  474. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
  475. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
  476. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
  477. package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
  478. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -288
  479. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
  480. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -23
  481. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
  482. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -23
  483. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
  484. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -28
  485. package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
  486. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -183
  487. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
  488. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -83
  489. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
  490. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -42
  491. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
  492. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -224
  493. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
  494. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -83
  495. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
  496. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -35
  497. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
  498. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -390
  499. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
  500. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -63
  501. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
  502. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -41
  503. package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
  504. package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
  505. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
  506. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
  507. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
  508. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
  509. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
  510. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
  511. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
  512. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
  513. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
  514. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
  515. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
  516. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
  517. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
  518. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
  519. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
  520. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
  521. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
  522. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -275
  523. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
  524. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
  525. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -709
  526. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
  527. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2235
  528. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
  529. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1069
  530. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
  531. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -640
  532. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
  533. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
  534. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1662
  535. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
  536. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -716
  537. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
  538. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
  539. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
  540. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
  541. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
  542. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -417
  543. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
  544. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
  545. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
  546. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
  547. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
  548. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -138
  549. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
  550. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -454
  551. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
  552. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
  553. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
  554. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
  555. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -618
  556. package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
  557. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -236
  558. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
  559. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -122
  560. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
  561. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -33
  562. package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
  563. package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -248
  564. package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
  565. package/lib/cjs/__/@fastify/busboy/lib/main.js +0 -109
  566. package/lib/cjs/__/@fastify/busboy/lib/main.js.map +0 -1
  567. package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js +0 -331
  568. package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
  569. package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js +0 -206
  570. package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
  571. package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js +0 -66
  572. package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
  573. package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js +0 -26
  574. package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
  575. package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js +0 -126
  576. package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
  577. package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js +0 -28
  578. package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
  579. package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js +0 -211
  580. package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
  581. package/lib/cjs/__/env-ci/__/execa/index.js +0 -149
  582. package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
  583. package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
  584. package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
  585. package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
  586. package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  587. package/lib/cjs/__/env-ci/__/execa/lib/stream.js +0 -35
  588. package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
  589. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js +0 -29
  590. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  591. package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  592. package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  593. package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  594. package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  595. package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  596. package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
  597. package/lib/cjs/__/env-ci/__/npm-run-path/index.js +0 -63
  598. package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
  599. package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
  600. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  601. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  602. package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  603. package/lib/cjs/__/undici/lib/agent.js +0 -169
  604. package/lib/cjs/__/undici/lib/agent.js.map +0 -1
  605. package/lib/cjs/__/undici/lib/balanced-pool.js +0 -208
  606. package/lib/cjs/__/undici/lib/balanced-pool.js.map +0 -1
  607. package/lib/cjs/__/undici/lib/cache/cache.js +0 -867
  608. package/lib/cjs/__/undici/lib/cache/cache.js.map +0 -1
  609. package/lib/cjs/__/undici/lib/cache/cachestorage.js +0 -161
  610. package/lib/cjs/__/undici/lib/cache/cachestorage.js.map +0 -1
  611. package/lib/cjs/__/undici/lib/cache/symbols.js +0 -19
  612. package/lib/cjs/__/undici/lib/cache/symbols.js.map +0 -1
  613. package/lib/cjs/__/undici/lib/cache/util.js +0 -69
  614. package/lib/cjs/__/undici/lib/cache/util.js.map +0 -1
  615. package/lib/cjs/__/undici/lib/client.js +0 -2314
  616. package/lib/cjs/__/undici/lib/client.js.map +0 -1
  617. package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js +0 -63
  618. package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
  619. package/lib/cjs/__/undici/lib/cookies/constants.js +0 -24
  620. package/lib/cjs/__/undici/lib/cookies/constants.js.map +0 -1
  621. package/lib/cjs/__/undici/lib/cookies/index.js +0 -200
  622. package/lib/cjs/__/undici/lib/cookies/index.js.map +0 -1
  623. package/lib/cjs/__/undici/lib/cookies/parse.js +0 -338
  624. package/lib/cjs/__/undici/lib/cookies/parse.js.map +0 -1
  625. package/lib/cjs/__/undici/lib/cookies/util.js +0 -286
  626. package/lib/cjs/__/undici/lib/cookies/util.js.map +0 -1
  627. package/lib/cjs/__/undici/lib/dispatcher-base.js +0 -208
  628. package/lib/cjs/__/undici/lib/dispatcher-base.js.map +0 -1
  629. package/lib/cjs/__/undici/lib/dispatcher.js +0 -37
  630. package/lib/cjs/__/undici/lib/dispatcher.js.map +0 -1
  631. package/lib/cjs/__/undici/lib/fetch/body.js +0 -647
  632. package/lib/cjs/__/undici/lib/fetch/body.js.map +0 -1
  633. package/lib/cjs/__/undici/lib/fetch/constants.js +0 -169
  634. package/lib/cjs/__/undici/lib/fetch/constants.js.map +0 -1
  635. package/lib/cjs/__/undici/lib/fetch/dataURL.js +0 -649
  636. package/lib/cjs/__/undici/lib/fetch/dataURL.js.map +0 -1
  637. package/lib/cjs/__/undici/lib/fetch/file.js +0 -369
  638. package/lib/cjs/__/undici/lib/fetch/file.js.map +0 -1
  639. package/lib/cjs/__/undici/lib/fetch/formdata.js +0 -287
  640. package/lib/cjs/__/undici/lib/fetch/formdata.js.map +0 -1
  641. package/lib/cjs/__/undici/lib/fetch/global.js +0 -52
  642. package/lib/cjs/__/undici/lib/fetch/global.js.map +0 -1
  643. package/lib/cjs/__/undici/lib/fetch/headers.js +0 -609
  644. package/lib/cjs/__/undici/lib/fetch/headers.js.map +0 -1
  645. package/lib/cjs/__/undici/lib/fetch/index.js +0 -2114
  646. package/lib/cjs/__/undici/lib/fetch/index.js.map +0 -1
  647. package/lib/cjs/__/undici/lib/fetch/request.js +0 -979
  648. package/lib/cjs/__/undici/lib/fetch/request.js.map +0 -1
  649. package/lib/cjs/__/undici/lib/fetch/response.js +0 -604
  650. package/lib/cjs/__/undici/lib/fetch/response.js.map +0 -1
  651. package/lib/cjs/__/undici/lib/fetch/symbols.js +0 -22
  652. package/lib/cjs/__/undici/lib/fetch/symbols.js.map +0 -1
  653. package/lib/cjs/__/undici/lib/fetch/util.js +0 -1170
  654. package/lib/cjs/__/undici/lib/fetch/util.js.map +0 -1
  655. package/lib/cjs/__/undici/lib/fetch/webidl.js +0 -665
  656. package/lib/cjs/__/undici/lib/fetch/webidl.js.map +0 -1
  657. package/lib/cjs/__/undici/lib/fileapi/encoding.js +0 -302
  658. package/lib/cjs/__/undici/lib/fileapi/encoding.js.map +0 -1
  659. package/lib/cjs/__/undici/lib/fileapi/filereader.js +0 -361
  660. package/lib/cjs/__/undici/lib/fileapi/filereader.js.map +0 -1
  661. package/lib/cjs/__/undici/lib/fileapi/progressevent.js +0 -92
  662. package/lib/cjs/__/undici/lib/fileapi/progressevent.js.map +0 -1
  663. package/lib/cjs/__/undici/lib/fileapi/symbols.js +0 -22
  664. package/lib/cjs/__/undici/lib/fileapi/symbols.js.map +0 -1
  665. package/lib/cjs/__/undici/lib/fileapi/util.js +0 -419
  666. package/lib/cjs/__/undici/lib/fileapi/util.js.map +0 -1
  667. package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js +0 -47
  668. package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
  669. package/lib/cjs/__/undici/lib/handler/RedirectHandler.js +0 -226
  670. package/lib/cjs/__/undici/lib/handler/RedirectHandler.js.map +0 -1
  671. package/lib/cjs/__/undici/lib/handler/RetryHandler.js +0 -358
  672. package/lib/cjs/__/undici/lib/handler/RetryHandler.js.map +0 -1
  673. package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js +0 -35
  674. package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
  675. package/lib/cjs/__/undici/lib/node/fixed-queue.js +0 -129
  676. package/lib/cjs/__/undici/lib/node/fixed-queue.js.map +0 -1
  677. package/lib/cjs/__/undici/lib/pool-base.js +0 -211
  678. package/lib/cjs/__/undici/lib/pool-base.js.map +0 -1
  679. package/lib/cjs/__/undici/lib/pool-stats.js +0 -49
  680. package/lib/cjs/__/undici/lib/pool-stats.js.map +0 -1
  681. package/lib/cjs/__/undici/lib/pool.js +0 -127
  682. package/lib/cjs/__/undici/lib/pool.js.map +0 -1
  683. package/lib/cjs/__/undici/lib/proxy-agent.js +0 -213
  684. package/lib/cjs/__/undici/lib/proxy-agent.js.map +0 -1
  685. package/lib/cjs/__/undici/lib/timers.js +0 -109
  686. package/lib/cjs/__/undici/lib/timers.js.map +0 -1
  687. package/lib/cjs/__/undici/lib/websocket/connection.js +0 -318
  688. package/lib/cjs/__/undici/lib/websocket/connection.js.map +0 -1
  689. package/lib/cjs/__/undici/lib/websocket/constants.js +0 -63
  690. package/lib/cjs/__/undici/lib/websocket/constants.js.map +0 -1
  691. package/lib/cjs/__/undici/lib/websocket/events.js +0 -323
  692. package/lib/cjs/__/undici/lib/websocket/events.js.map +0 -1
  693. package/lib/cjs/__/undici/lib/websocket/frame.js +0 -87
  694. package/lib/cjs/__/undici/lib/websocket/frame.js.map +0 -1
  695. package/lib/cjs/__/undici/lib/websocket/receiver.js +0 -368
  696. package/lib/cjs/__/undici/lib/websocket/receiver.js.map +0 -1
  697. package/lib/cjs/__/undici/lib/websocket/symbols.js +0 -24
  698. package/lib/cjs/__/undici/lib/websocket/symbols.js.map +0 -1
  699. package/lib/cjs/__/undici/lib/websocket/util.js +0 -216
  700. package/lib/cjs/__/undici/lib/websocket/util.js.map +0 -1
  701. package/lib/cjs/__/undici/lib/websocket/websocket.js +0 -668
  702. package/lib/cjs/__/undici/lib/websocket/websocket.js.map +0 -1
  703. package/lib/cjs/_virtual/api-request2.js +0 -6
  704. package/lib/cjs/_virtual/api-request2.js.map +0 -1
  705. package/lib/cjs/_virtual/constants2.js +0 -6
  706. package/lib/cjs/_virtual/constants2.js.map +0 -1
  707. package/lib/cjs/_virtual/index15.js +0 -6
  708. package/lib/cjs/_virtual/index15.js.map +0 -1
  709. package/lib/cjs/_virtual/index16.js +0 -6
  710. package/lib/cjs/_virtual/index16.js.map +0 -1
  711. package/lib/cjs/_virtual/main.js +0 -6
  712. package/lib/cjs/_virtual/main.js.map +0 -1
  713. package/lib/cjs/_virtual/mock-interceptor2.js +0 -6
  714. package/lib/cjs/_virtual/mock-interceptor2.js.map +0 -1
  715. package/lib/cjs/_virtual/utils4.js +0 -6
  716. package/lib/cjs/_virtual/utils4.js.map +0 -1
  717. package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
  718. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
  719. package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
  720. package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
  721. package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
  722. package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
  723. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
  724. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
  725. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
  726. package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
  727. package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -198
  728. package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
  729. package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
  730. package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
  731. package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
  732. package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
  733. package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
  734. package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
  735. package/lib/esm/__/@actions/http-client/__/undici/index.js +0 -220
  736. package/lib/esm/__/@actions/http-client/__/undici/index.js.map +0 -1
  737. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -71
  738. package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
  739. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -124
  740. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
  741. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -268
  742. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
  743. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -231
  744. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
  745. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -238
  746. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
  747. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -124
  748. package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
  749. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +0 -23
  750. package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
  751. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +0 -398
  752. package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
  753. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +0 -108
  754. package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
  755. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +0 -258
  756. package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
  757. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +0 -128
  758. package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
  759. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -215
  760. package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
  761. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +0 -435
  762. package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
  763. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +0 -421
  764. package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
  765. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -78
  766. package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
  767. package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
  768. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +0 -742
  769. package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
  770. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -147
  771. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
  772. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
  773. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
  774. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
  775. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -642
  776. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
  777. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -204
  778. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
  779. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -77
  780. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
  781. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
  782. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
  783. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -209
  784. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
  785. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
  786. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -124
  787. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
  788. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
  789. package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
  790. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +0 -45
  791. package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
  792. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
  793. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -230
  794. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
  795. package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
  796. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
  797. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
  798. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
  799. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
  800. package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
  801. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -286
  802. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
  803. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -17
  804. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
  805. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -17
  806. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
  807. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -26
  808. package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
  809. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -181
  810. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
  811. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -77
  812. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
  813. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -40
  814. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
  815. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -222
  816. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
  817. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -77
  818. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
  819. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -33
  820. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
  821. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -383
  822. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
  823. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -56
  824. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
  825. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -39
  826. package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
  827. package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
  828. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
  829. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
  830. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
  831. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
  832. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
  833. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
  834. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
  835. package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
  836. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
  837. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
  838. package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
  839. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
  840. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
  841. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
  842. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
  843. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
  844. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
  845. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -268
  846. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
  847. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
  848. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -702
  849. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
  850. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2224
  851. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
  852. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1061
  853. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
  854. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -633
  855. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
  856. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
  857. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1652
  858. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
  859. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -709
  860. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
  861. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
  862. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
  863. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
  864. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
  865. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -409
  866. package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
  867. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
  868. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
  869. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
  870. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
  871. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -132
  872. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
  873. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -447
  874. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
  875. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
  876. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
  877. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
  878. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -612
  879. package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
  880. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -229
  881. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
  882. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -115
  883. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
  884. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -26
  885. package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
  886. package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -241
  887. package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
  888. package/lib/esm/__/@fastify/busboy/lib/main.js +0 -102
  889. package/lib/esm/__/@fastify/busboy/lib/main.js.map +0 -1
  890. package/lib/esm/__/@fastify/busboy/lib/types/multipart.js +0 -324
  891. package/lib/esm/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
  892. package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js +0 -204
  893. package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
  894. package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js +0 -64
  895. package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
  896. package/lib/esm/__/@fastify/busboy/lib/utils/basename.js +0 -24
  897. package/lib/esm/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
  898. package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js +0 -124
  899. package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
  900. package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js +0 -26
  901. package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
  902. package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js +0 -209
  903. package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
  904. package/lib/esm/__/env-ci/__/execa/index.js +0 -141
  905. package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
  906. package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
  907. package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
  908. package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
  909. package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
  910. package/lib/esm/__/env-ci/__/execa/lib/stream.js +0 -33
  911. package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
  912. package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
  913. package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
  914. package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
  915. package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
  916. package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
  917. package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
  918. package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
  919. package/lib/esm/__/env-ci/__/npm-run-path/index.js +0 -55
  920. package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
  921. package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
  922. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
  923. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
  924. package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
  925. package/lib/esm/__/undici/lib/agent.js +0 -167
  926. package/lib/esm/__/undici/lib/agent.js.map +0 -1
  927. package/lib/esm/__/undici/lib/balanced-pool.js +0 -206
  928. package/lib/esm/__/undici/lib/balanced-pool.js.map +0 -1
  929. package/lib/esm/__/undici/lib/cache/cache.js +0 -861
  930. package/lib/esm/__/undici/lib/cache/cache.js.map +0 -1
  931. package/lib/esm/__/undici/lib/cache/cachestorage.js +0 -159
  932. package/lib/esm/__/undici/lib/cache/cachestorage.js.map +0 -1
  933. package/lib/esm/__/undici/lib/cache/symbols.js +0 -17
  934. package/lib/esm/__/undici/lib/cache/symbols.js.map +0 -1
  935. package/lib/esm/__/undici/lib/cache/util.js +0 -63
  936. package/lib/esm/__/undici/lib/cache/util.js.map +0 -1
  937. package/lib/esm/__/undici/lib/client.js +0 -2305
  938. package/lib/esm/__/undici/lib/client.js.map +0 -1
  939. package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js +0 -61
  940. package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
  941. package/lib/esm/__/undici/lib/cookies/constants.js +0 -22
  942. package/lib/esm/__/undici/lib/cookies/constants.js.map +0 -1
  943. package/lib/esm/__/undici/lib/cookies/index.js +0 -198
  944. package/lib/esm/__/undici/lib/cookies/index.js.map +0 -1
  945. package/lib/esm/__/undici/lib/cookies/parse.js +0 -332
  946. package/lib/esm/__/undici/lib/cookies/parse.js.map +0 -1
  947. package/lib/esm/__/undici/lib/cookies/util.js +0 -284
  948. package/lib/esm/__/undici/lib/cookies/util.js.map +0 -1
  949. package/lib/esm/__/undici/lib/dispatcher-base.js +0 -206
  950. package/lib/esm/__/undici/lib/dispatcher-base.js.map +0 -1
  951. package/lib/esm/__/undici/lib/dispatcher.js +0 -31
  952. package/lib/esm/__/undici/lib/dispatcher.js.map +0 -1
  953. package/lib/esm/__/undici/lib/fetch/body.js +0 -638
  954. package/lib/esm/__/undici/lib/fetch/body.js.map +0 -1
  955. package/lib/esm/__/undici/lib/fetch/constants.js +0 -163
  956. package/lib/esm/__/undici/lib/fetch/constants.js.map +0 -1
  957. package/lib/esm/__/undici/lib/fetch/dataURL.js +0 -642
  958. package/lib/esm/__/undici/lib/fetch/dataURL.js.map +0 -1
  959. package/lib/esm/__/undici/lib/fetch/file.js +0 -362
  960. package/lib/esm/__/undici/lib/fetch/file.js.map +0 -1
  961. package/lib/esm/__/undici/lib/fetch/formdata.js +0 -281
  962. package/lib/esm/__/undici/lib/fetch/formdata.js.map +0 -1
  963. package/lib/esm/__/undici/lib/fetch/global.js +0 -50
  964. package/lib/esm/__/undici/lib/fetch/global.js.map +0 -1
  965. package/lib/esm/__/undici/lib/fetch/headers.js +0 -602
  966. package/lib/esm/__/undici/lib/fetch/headers.js.map +0 -1
  967. package/lib/esm/__/undici/lib/fetch/index.js +0 -2102
  968. package/lib/esm/__/undici/lib/fetch/index.js.map +0 -1
  969. package/lib/esm/__/undici/lib/fetch/request.js +0 -971
  970. package/lib/esm/__/undici/lib/fetch/request.js.map +0 -1
  971. package/lib/esm/__/undici/lib/fetch/response.js +0 -596
  972. package/lib/esm/__/undici/lib/fetch/response.js.map +0 -1
  973. package/lib/esm/__/undici/lib/fetch/symbols.js +0 -20
  974. package/lib/esm/__/undici/lib/fetch/symbols.js.map +0 -1
  975. package/lib/esm/__/undici/lib/fetch/util.js +0 -1161
  976. package/lib/esm/__/undici/lib/fetch/util.js.map +0 -1
  977. package/lib/esm/__/undici/lib/fetch/webidl.js +0 -659
  978. package/lib/esm/__/undici/lib/fetch/webidl.js.map +0 -1
  979. package/lib/esm/__/undici/lib/fileapi/encoding.js +0 -300
  980. package/lib/esm/__/undici/lib/fileapi/encoding.js.map +0 -1
  981. package/lib/esm/__/undici/lib/fileapi/filereader.js +0 -359
  982. package/lib/esm/__/undici/lib/fileapi/filereader.js.map +0 -1
  983. package/lib/esm/__/undici/lib/fileapi/progressevent.js +0 -90
  984. package/lib/esm/__/undici/lib/fileapi/progressevent.js.map +0 -1
  985. package/lib/esm/__/undici/lib/fileapi/symbols.js +0 -20
  986. package/lib/esm/__/undici/lib/fileapi/symbols.js.map +0 -1
  987. package/lib/esm/__/undici/lib/fileapi/util.js +0 -411
  988. package/lib/esm/__/undici/lib/fileapi/util.js.map +0 -1
  989. package/lib/esm/__/undici/lib/handler/DecoratorHandler.js +0 -45
  990. package/lib/esm/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
  991. package/lib/esm/__/undici/lib/handler/RedirectHandler.js +0 -219
  992. package/lib/esm/__/undici/lib/handler/RedirectHandler.js.map +0 -1
  993. package/lib/esm/__/undici/lib/handler/RetryHandler.js +0 -352
  994. package/lib/esm/__/undici/lib/handler/RetryHandler.js.map +0 -1
  995. package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js +0 -33
  996. package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
  997. package/lib/esm/__/undici/lib/node/fixed-queue.js +0 -127
  998. package/lib/esm/__/undici/lib/node/fixed-queue.js.map +0 -1
  999. package/lib/esm/__/undici/lib/pool-base.js +0 -209
  1000. package/lib/esm/__/undici/lib/pool-base.js.map +0 -1
  1001. package/lib/esm/__/undici/lib/pool-stats.js +0 -47
  1002. package/lib/esm/__/undici/lib/pool-stats.js.map +0 -1
  1003. package/lib/esm/__/undici/lib/pool.js +0 -125
  1004. package/lib/esm/__/undici/lib/pool.js.map +0 -1
  1005. package/lib/esm/__/undici/lib/proxy-agent.js +0 -207
  1006. package/lib/esm/__/undici/lib/proxy-agent.js.map +0 -1
  1007. package/lib/esm/__/undici/lib/timers.js +0 -107
  1008. package/lib/esm/__/undici/lib/timers.js.map +0 -1
  1009. package/lib/esm/__/undici/lib/websocket/connection.js +0 -312
  1010. package/lib/esm/__/undici/lib/websocket/connection.js.map +0 -1
  1011. package/lib/esm/__/undici/lib/websocket/constants.js +0 -61
  1012. package/lib/esm/__/undici/lib/websocket/constants.js.map +0 -1
  1013. package/lib/esm/__/undici/lib/websocket/events.js +0 -317
  1014. package/lib/esm/__/undici/lib/websocket/events.js.map +0 -1
  1015. package/lib/esm/__/undici/lib/websocket/frame.js +0 -85
  1016. package/lib/esm/__/undici/lib/websocket/frame.js.map +0 -1
  1017. package/lib/esm/__/undici/lib/websocket/receiver.js +0 -361
  1018. package/lib/esm/__/undici/lib/websocket/receiver.js.map +0 -1
  1019. package/lib/esm/__/undici/lib/websocket/symbols.js +0 -22
  1020. package/lib/esm/__/undici/lib/websocket/symbols.js.map +0 -1
  1021. package/lib/esm/__/undici/lib/websocket/util.js +0 -214
  1022. package/lib/esm/__/undici/lib/websocket/util.js.map +0 -1
  1023. package/lib/esm/__/undici/lib/websocket/websocket.js +0 -662
  1024. package/lib/esm/__/undici/lib/websocket/websocket.js.map +0 -1
  1025. package/lib/esm/_virtual/api-request2.js +0 -4
  1026. package/lib/esm/_virtual/api-request2.js.map +0 -1
  1027. package/lib/esm/_virtual/constants2.js +0 -4
  1028. package/lib/esm/_virtual/constants2.js.map +0 -1
  1029. package/lib/esm/_virtual/index15.js +0 -4
  1030. package/lib/esm/_virtual/index15.js.map +0 -1
  1031. package/lib/esm/_virtual/index16.js +0 -4
  1032. package/lib/esm/_virtual/index16.js.map +0 -1
  1033. package/lib/esm/_virtual/main.js +0 -4
  1034. package/lib/esm/_virtual/main.js.map +0 -1
  1035. package/lib/esm/_virtual/mock-interceptor2.js +0 -4
  1036. package/lib/esm/_virtual/mock-interceptor2.js.map +0 -1
  1037. package/lib/esm/_virtual/utils4.js +0 -4
  1038. package/lib/esm/_virtual/utils4.js.map +0 -1
  1039. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  1040. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  1041. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  1042. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
  1043. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  1044. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  1045. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  1046. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  1047. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  1048. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  1049. /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  1050. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  1051. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  1052. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  1053. /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  1054. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  1055. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  1056. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  1057. /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  1058. /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  1059. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  1060. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  1061. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  1062. /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  1063. /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  1064. /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  1065. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  1066. /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  1067. /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  1068. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
  1069. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
  1070. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
  1071. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
  1072. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
  1073. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
  1074. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
  1075. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
  1076. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
  1077. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
  1078. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
  1079. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
  1080. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
  1081. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
  1082. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
  1083. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
  1084. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
  1085. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
  1086. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
  1087. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
  1088. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
  1089. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
  1090. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
  1091. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
  1092. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
  1093. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
  1094. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
  1095. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
  1096. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
  1097. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
  1098. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
  1099. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
  1100. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
  1101. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
  1102. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
  1103. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
  1104. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
  1105. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
  1106. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
  1107. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
  1108. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
  1109. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
  1110. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
  1111. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
  1112. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
  1113. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
  1114. /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
  1115. /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
  1116. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
  1117. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
  1118. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
  1119. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
  1120. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
  1121. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
  1122. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
  1123. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
  1124. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
  1125. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
  1126. /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
  1127. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
  1128. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
  1129. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
  1130. /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
  1131. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
  1132. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
  1133. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
  1134. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
  1135. /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
  1136. /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
  1137. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
  1138. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
  1139. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
  1140. /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
  1141. /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
  1142. /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
  1143. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
  1144. /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
  1145. /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
  1146. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
  1147. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
  1148. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
  1149. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
  1150. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
  1151. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
  1152. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
  1153. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
  1154. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
  1155. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
  1156. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
  1157. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
  1158. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
  1159. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
  1160. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
  1161. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
  1162. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
  1163. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
  1164. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
  1165. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
  1166. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
  1167. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
  1168. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
  1169. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
  1170. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
  1171. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
  1172. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
  1173. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
  1174. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
  1175. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
  1176. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
  1177. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
  1178. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
  1179. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
  1180. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
  1181. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
  1182. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
  1183. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
  1184. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
  1185. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
  1186. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
  1187. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
  1188. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
  1189. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
  1190. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
  1191. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
  1192. /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
  1193. /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
@@ -1,1652 +0,0 @@
1
- import require$$0 from 'node:stream';
2
- import require$$3 from 'node:zlib';
3
- import { __require as requireConstants } from './constants.js';
4
- import { __require as requireGlobal } from './global.js';
5
- import { __require as requireDataUrl } from './data-url.js';
6
- import require$$5 from 'node:perf_hooks';
7
- import { __require as requireUtil$1 } from '../../core/util.js';
8
- import require$$0$1 from 'node:assert';
9
- import require$$8 from 'node:util/types';
10
- import { __require as requireWebidl } from './webidl.js';
11
-
12
- var util;
13
- var hasRequiredUtil;
14
-
15
- function requireUtil () {
16
- if (hasRequiredUtil) return util;
17
- hasRequiredUtil = 1;
18
-
19
- const { Transform } = require$$0;
20
- const zlib = require$$3;
21
- const { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = requireConstants();
22
- const { getGlobalOrigin } = requireGlobal();
23
- const { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = requireDataUrl();
24
- const { performance } = require$$5;
25
- const { isBlobLike, ReadableStreamFrom, isValidHTTPToken, normalizedMethodRecordsBase } = requireUtil$1();
26
- const assert = require$$0$1;
27
- const { isUint8Array } = require$$8;
28
- const { webidl } = requireWebidl();
29
-
30
- let supportedHashes = [];
31
-
32
- // https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable
33
- /** @type {import('crypto')} */
34
- let crypto;
35
- try {
36
- crypto = require('node:crypto');
37
- const possibleRelevantHashes = ['sha256', 'sha384', 'sha512'];
38
- supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash));
39
- /* c8 ignore next 3 */
40
- } catch {
41
-
42
- }
43
-
44
- function responseURL (response) {
45
- // https://fetch.spec.whatwg.org/#responses
46
- // A response has an associated URL. It is a pointer to the last URL
47
- // in response’s URL list and null if response’s URL list is empty.
48
- const urlList = response.urlList;
49
- const length = urlList.length;
50
- return length === 0 ? null : urlList[length - 1].toString()
51
- }
52
-
53
- // https://fetch.spec.whatwg.org/#concept-response-location-url
54
- function responseLocationURL (response, requestFragment) {
55
- // 1. If response’s status is not a redirect status, then return null.
56
- if (!redirectStatusSet.has(response.status)) {
57
- return null
58
- }
59
-
60
- // 2. Let location be the result of extracting header list values given
61
- // `Location` and response’s header list.
62
- let location = response.headersList.get('location', true);
63
-
64
- // 3. If location is a header value, then set location to the result of
65
- // parsing location with response’s URL.
66
- if (location !== null && isValidHeaderValue(location)) {
67
- if (!isValidEncodedURL(location)) {
68
- // Some websites respond location header in UTF-8 form without encoding them as ASCII
69
- // and major browsers redirect them to correctly UTF-8 encoded addresses.
70
- // Here, we handle that behavior in the same way.
71
- location = normalizeBinaryStringToUtf8(location);
72
- }
73
- location = new URL(location, responseURL(response));
74
- }
75
-
76
- // 4. If location is a URL whose fragment is null, then set location’s
77
- // fragment to requestFragment.
78
- if (location && !location.hash) {
79
- location.hash = requestFragment;
80
- }
81
-
82
- // 5. Return location.
83
- return location
84
- }
85
-
86
- /**
87
- * @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2
88
- * @param {string} url
89
- * @returns {boolean}
90
- */
91
- function isValidEncodedURL (url) {
92
- for (let i = 0; i < url.length; ++i) {
93
- const code = url.charCodeAt(i);
94
-
95
- if (
96
- code > 0x7E || // Non-US-ASCII + DEL
97
- code < 0x20 // Control characters NUL - US
98
- ) {
99
- return false
100
- }
101
- }
102
- return true
103
- }
104
-
105
- /**
106
- * If string contains non-ASCII characters, assumes it's UTF-8 encoded and decodes it.
107
- * Since UTF-8 is a superset of ASCII, this will work for ASCII strings as well.
108
- * @param {string} value
109
- * @returns {string}
110
- */
111
- function normalizeBinaryStringToUtf8 (value) {
112
- return Buffer.from(value, 'binary').toString('utf8')
113
- }
114
-
115
- /** @returns {URL} */
116
- function requestCurrentURL (request) {
117
- return request.urlList[request.urlList.length - 1]
118
- }
119
-
120
- function requestBadPort (request) {
121
- // 1. Let url be request’s current URL.
122
- const url = requestCurrentURL(request);
123
-
124
- // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port,
125
- // then return blocked.
126
- if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {
127
- return 'blocked'
128
- }
129
-
130
- // 3. Return allowed.
131
- return 'allowed'
132
- }
133
-
134
- function isErrorLike (object) {
135
- return object instanceof Error || (
136
- object?.constructor?.name === 'Error' ||
137
- object?.constructor?.name === 'DOMException'
138
- )
139
- }
140
-
141
- // Check whether |statusText| is a ByteString and
142
- // matches the Reason-Phrase token production.
143
- // RFC 2616: https://tools.ietf.org/html/rfc2616
144
- // RFC 7230: https://tools.ietf.org/html/rfc7230
145
- // "reason-phrase = *( HTAB / SP / VCHAR / obs-text )"
146
- // https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116
147
- function isValidReasonPhrase (statusText) {
148
- for (let i = 0; i < statusText.length; ++i) {
149
- const c = statusText.charCodeAt(i);
150
- if (
151
- !(
152
- (
153
- c === 0x09 || // HTAB
154
- (c >= 0x20 && c <= 0x7e) || // SP / VCHAR
155
- (c >= 0x80 && c <= 0xff)
156
- ) // obs-text
157
- )
158
- ) {
159
- return false
160
- }
161
- }
162
- return true
163
- }
164
-
165
- /**
166
- * @see https://fetch.spec.whatwg.org/#header-name
167
- * @param {string} potentialValue
168
- */
169
- const isValidHeaderName = isValidHTTPToken;
170
-
171
- /**
172
- * @see https://fetch.spec.whatwg.org/#header-value
173
- * @param {string} potentialValue
174
- */
175
- function isValidHeaderValue (potentialValue) {
176
- // - Has no leading or trailing HTTP tab or space bytes.
177
- // - Contains no 0x00 (NUL) or HTTP newline bytes.
178
- return (
179
- potentialValue[0] === '\t' ||
180
- potentialValue[0] === ' ' ||
181
- potentialValue[potentialValue.length - 1] === '\t' ||
182
- potentialValue[potentialValue.length - 1] === ' ' ||
183
- potentialValue.includes('\n') ||
184
- potentialValue.includes('\r') ||
185
- potentialValue.includes('\0')
186
- ) === false
187
- }
188
-
189
- // https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect
190
- function setRequestReferrerPolicyOnRedirect (request, actualResponse) {
191
- // Given a request request and a response actualResponse, this algorithm
192
- // updates request’s referrer policy according to the Referrer-Policy
193
- // header (if any) in actualResponse.
194
-
195
- // 1. Let policy be the result of executing § 8.1 Parse a referrer policy
196
- // from a Referrer-Policy header on actualResponse.
197
-
198
- // 8.1 Parse a referrer policy from a Referrer-Policy header
199
- // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.
200
- const { headersList } = actualResponse;
201
- // 2. Let policy be the empty string.
202
- // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.
203
- // 4. Return policy.
204
- const policyHeader = (headersList.get('referrer-policy', true) ?? '').split(',');
205
-
206
- // Note: As the referrer-policy can contain multiple policies
207
- // separated by comma, we need to loop through all of them
208
- // and pick the first valid one.
209
- // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy
210
- let policy = '';
211
- if (policyHeader.length > 0) {
212
- // The right-most policy takes precedence.
213
- // The left-most policy is the fallback.
214
- for (let i = policyHeader.length; i !== 0; i--) {
215
- const token = policyHeader[i - 1].trim();
216
- if (referrerPolicyTokens.has(token)) {
217
- policy = token;
218
- break
219
- }
220
- }
221
- }
222
-
223
- // 2. If policy is not the empty string, then set request’s referrer policy to policy.
224
- if (policy !== '') {
225
- request.referrerPolicy = policy;
226
- }
227
- }
228
-
229
- // https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check
230
- function crossOriginResourcePolicyCheck () {
231
- // TODO
232
- return 'allowed'
233
- }
234
-
235
- // https://fetch.spec.whatwg.org/#concept-cors-check
236
- function corsCheck () {
237
- // TODO
238
- return 'success'
239
- }
240
-
241
- // https://fetch.spec.whatwg.org/#concept-tao-check
242
- function TAOCheck () {
243
- // TODO
244
- return 'success'
245
- }
246
-
247
- function appendFetchMetadata (httpRequest) {
248
- // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header
249
- // TODO
250
-
251
- // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header
252
-
253
- // 1. Assert: r’s url is a potentially trustworthy URL.
254
- // TODO
255
-
256
- // 2. Let header be a Structured Header whose value is a token.
257
- let header = null;
258
-
259
- // 3. Set header’s value to r’s mode.
260
- header = httpRequest.mode;
261
-
262
- // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list.
263
- httpRequest.headersList.set('sec-fetch-mode', header, true);
264
-
265
- // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header
266
- // TODO
267
-
268
- // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header
269
- // TODO
270
- }
271
-
272
- // https://fetch.spec.whatwg.org/#append-a-request-origin-header
273
- function appendRequestOriginHeader (request) {
274
- // 1. Let serializedOrigin be the result of byte-serializing a request origin
275
- // with request.
276
- // TODO: implement "byte-serializing a request origin"
277
- let serializedOrigin = request.origin;
278
-
279
- // - "'client' is changed to an origin during fetching."
280
- // This doesn't happen in undici (in most cases) because undici, by default,
281
- // has no concept of origin.
282
- // - request.origin can also be set to request.client.origin (client being
283
- // an environment settings object), which is undefined without using
284
- // setGlobalOrigin.
285
- if (serializedOrigin === 'client' || serializedOrigin === undefined) {
286
- return
287
- }
288
-
289
- // 2. If request’s response tainting is "cors" or request’s mode is "websocket",
290
- // then append (`Origin`, serializedOrigin) to request’s header list.
291
- // 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then:
292
- if (request.responseTainting === 'cors' || request.mode === 'websocket') {
293
- request.headersList.append('origin', serializedOrigin, true);
294
- } else if (request.method !== 'GET' && request.method !== 'HEAD') {
295
- // 1. Switch on request’s referrer policy:
296
- switch (request.referrerPolicy) {
297
- case 'no-referrer':
298
- // Set serializedOrigin to `null`.
299
- serializedOrigin = null;
300
- break
301
- case 'no-referrer-when-downgrade':
302
- case 'strict-origin':
303
- case 'strict-origin-when-cross-origin':
304
- // If request’s origin is a tuple origin, its scheme is "https", and
305
- // request’s current URL’s scheme is not "https", then set
306
- // serializedOrigin to `null`.
307
- if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {
308
- serializedOrigin = null;
309
- }
310
- break
311
- case 'same-origin':
312
- // If request’s origin is not same origin with request’s current URL’s
313
- // origin, then set serializedOrigin to `null`.
314
- if (!sameOrigin(request, requestCurrentURL(request))) {
315
- serializedOrigin = null;
316
- }
317
- break
318
- // Do nothing.
319
- }
320
-
321
- // 2. Append (`Origin`, serializedOrigin) to request’s header list.
322
- request.headersList.append('origin', serializedOrigin, true);
323
- }
324
- }
325
-
326
- // https://w3c.github.io/hr-time/#dfn-coarsen-time
327
- function coarsenTime (timestamp, crossOriginIsolatedCapability) {
328
- // TODO
329
- return timestamp
330
- }
331
-
332
- // https://fetch.spec.whatwg.org/#clamp-and-coarsen-connection-timing-info
333
- function clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability) {
334
- if (!connectionTimingInfo?.startTime || connectionTimingInfo.startTime < defaultStartTime) {
335
- return {
336
- domainLookupStartTime: defaultStartTime,
337
- domainLookupEndTime: defaultStartTime,
338
- connectionStartTime: defaultStartTime,
339
- connectionEndTime: defaultStartTime,
340
- secureConnectionStartTime: defaultStartTime,
341
- ALPNNegotiatedProtocol: connectionTimingInfo?.ALPNNegotiatedProtocol
342
- }
343
- }
344
-
345
- return {
346
- domainLookupStartTime: coarsenTime(connectionTimingInfo.domainLookupStartTime),
347
- domainLookupEndTime: coarsenTime(connectionTimingInfo.domainLookupEndTime),
348
- connectionStartTime: coarsenTime(connectionTimingInfo.connectionStartTime),
349
- connectionEndTime: coarsenTime(connectionTimingInfo.connectionEndTime),
350
- secureConnectionStartTime: coarsenTime(connectionTimingInfo.secureConnectionStartTime),
351
- ALPNNegotiatedProtocol: connectionTimingInfo.ALPNNegotiatedProtocol
352
- }
353
- }
354
-
355
- // https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time
356
- function coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {
357
- return coarsenTime(performance.now())
358
- }
359
-
360
- // https://fetch.spec.whatwg.org/#create-an-opaque-timing-info
361
- function createOpaqueTimingInfo (timingInfo) {
362
- return {
363
- startTime: timingInfo.startTime ?? 0,
364
- redirectStartTime: 0,
365
- redirectEndTime: 0,
366
- postRedirectStartTime: timingInfo.startTime ?? 0,
367
- finalServiceWorkerStartTime: 0,
368
- finalNetworkResponseStartTime: 0,
369
- finalNetworkRequestStartTime: 0,
370
- endTime: 0,
371
- encodedBodySize: 0,
372
- decodedBodySize: 0,
373
- finalConnectionTimingInfo: null
374
- }
375
- }
376
-
377
- // https://html.spec.whatwg.org/multipage/origin.html#policy-container
378
- function makePolicyContainer () {
379
- // Note: the fetch spec doesn't make use of embedder policy or CSP list
380
- return {
381
- referrerPolicy: 'strict-origin-when-cross-origin'
382
- }
383
- }
384
-
385
- // https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container
386
- function clonePolicyContainer (policyContainer) {
387
- return {
388
- referrerPolicy: policyContainer.referrerPolicy
389
- }
390
- }
391
-
392
- // https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer
393
- function determineRequestsReferrer (request) {
394
- // 1. Let policy be request's referrer policy.
395
- const policy = request.referrerPolicy;
396
-
397
- // Note: policy cannot (shouldn't) be null or an empty string.
398
- assert(policy);
399
-
400
- // 2. Let environment be request’s client.
401
-
402
- let referrerSource = null;
403
-
404
- // 3. Switch on request’s referrer:
405
- if (request.referrer === 'client') {
406
- // Note: node isn't a browser and doesn't implement document/iframes,
407
- // so we bypass this step and replace it with our own.
408
-
409
- const globalOrigin = getGlobalOrigin();
410
-
411
- if (!globalOrigin || globalOrigin.origin === 'null') {
412
- return 'no-referrer'
413
- }
414
-
415
- // note: we need to clone it as it's mutated
416
- referrerSource = new URL(globalOrigin);
417
- } else if (request.referrer instanceof URL) {
418
- // Let referrerSource be request’s referrer.
419
- referrerSource = request.referrer;
420
- }
421
-
422
- // 4. Let request’s referrerURL be the result of stripping referrerSource for
423
- // use as a referrer.
424
- let referrerURL = stripURLForReferrer(referrerSource);
425
-
426
- // 5. Let referrerOrigin be the result of stripping referrerSource for use as
427
- // a referrer, with the origin-only flag set to true.
428
- const referrerOrigin = stripURLForReferrer(referrerSource, true);
429
-
430
- // 6. If the result of serializing referrerURL is a string whose length is
431
- // greater than 4096, set referrerURL to referrerOrigin.
432
- if (referrerURL.toString().length > 4096) {
433
- referrerURL = referrerOrigin;
434
- }
435
-
436
- const areSameOrigin = sameOrigin(request, referrerURL);
437
- const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) &&
438
- !isURLPotentiallyTrustworthy(request.url);
439
-
440
- // 8. Execute the switch statements corresponding to the value of policy:
441
- switch (policy) {
442
- case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true)
443
- case 'unsafe-url': return referrerURL
444
- case 'same-origin':
445
- return areSameOrigin ? referrerOrigin : 'no-referrer'
446
- case 'origin-when-cross-origin':
447
- return areSameOrigin ? referrerURL : referrerOrigin
448
- case 'strict-origin-when-cross-origin': {
449
- const currentURL = requestCurrentURL(request);
450
-
451
- // 1. If the origin of referrerURL and the origin of request’s current
452
- // URL are the same, then return referrerURL.
453
- if (sameOrigin(referrerURL, currentURL)) {
454
- return referrerURL
455
- }
456
-
457
- // 2. If referrerURL is a potentially trustworthy URL and request’s
458
- // current URL is not a potentially trustworthy URL, then return no
459
- // referrer.
460
- if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {
461
- return 'no-referrer'
462
- }
463
-
464
- // 3. Return referrerOrigin.
465
- return referrerOrigin
466
- }
467
- case 'strict-origin': // eslint-disable-line
468
- /**
469
- * 1. If referrerURL is a potentially trustworthy URL and
470
- * request’s current URL is not a potentially trustworthy URL,
471
- * then return no referrer.
472
- * 2. Return referrerOrigin
473
- */
474
- case 'no-referrer-when-downgrade': // eslint-disable-line
475
- /**
476
- * 1. If referrerURL is a potentially trustworthy URL and
477
- * request’s current URL is not a potentially trustworthy URL,
478
- * then return no referrer.
479
- * 2. Return referrerOrigin
480
- */
481
-
482
- default: // eslint-disable-line
483
- return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin
484
- }
485
- }
486
-
487
- /**
488
- * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url
489
- * @param {URL} url
490
- * @param {boolean|undefined} originOnly
491
- */
492
- function stripURLForReferrer (url, originOnly) {
493
- // 1. Assert: url is a URL.
494
- assert(url instanceof URL);
495
-
496
- url = new URL(url);
497
-
498
- // 2. If url’s scheme is a local scheme, then return no referrer.
499
- if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') {
500
- return 'no-referrer'
501
- }
502
-
503
- // 3. Set url’s username to the empty string.
504
- url.username = '';
505
-
506
- // 4. Set url’s password to the empty string.
507
- url.password = '';
508
-
509
- // 5. Set url’s fragment to null.
510
- url.hash = '';
511
-
512
- // 6. If the origin-only flag is true, then:
513
- if (originOnly) {
514
- // 1. Set url’s path to « the empty string ».
515
- url.pathname = '';
516
-
517
- // 2. Set url’s query to null.
518
- url.search = '';
519
- }
520
-
521
- // 7. Return url.
522
- return url
523
- }
524
-
525
- function isURLPotentiallyTrustworthy (url) {
526
- if (!(url instanceof URL)) {
527
- return false
528
- }
529
-
530
- // If child of about, return true
531
- if (url.href === 'about:blank' || url.href === 'about:srcdoc') {
532
- return true
533
- }
534
-
535
- // If scheme is data, return true
536
- if (url.protocol === 'data:') return true
537
-
538
- // If file, return true
539
- if (url.protocol === 'file:') return true
540
-
541
- return isOriginPotentiallyTrustworthy(url.origin)
542
-
543
- function isOriginPotentiallyTrustworthy (origin) {
544
- // If origin is explicitly null, return false
545
- if (origin == null || origin === 'null') return false
546
-
547
- const originAsURL = new URL(origin);
548
-
549
- // If secure, return true
550
- if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') {
551
- return true
552
- }
553
-
554
- // If localhost or variants, return true
555
- if (/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(originAsURL.hostname) ||
556
- (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) ||
557
- (originAsURL.hostname.endsWith('.localhost'))) {
558
- return true
559
- }
560
-
561
- // If any other, return false
562
- return false
563
- }
564
- }
565
-
566
- /**
567
- * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist
568
- * @param {Uint8Array} bytes
569
- * @param {string} metadataList
570
- */
571
- function bytesMatch (bytes, metadataList) {
572
- // If node is not built with OpenSSL support, we cannot check
573
- // a request's integrity, so allow it by default (the spec will
574
- // allow requests if an invalid hash is given, as precedence).
575
- /* istanbul ignore if: only if node is built with --without-ssl */
576
- if (crypto === undefined) {
577
- return true
578
- }
579
-
580
- // 1. Let parsedMetadata be the result of parsing metadataList.
581
- const parsedMetadata = parseMetadata(metadataList);
582
-
583
- // 2. If parsedMetadata is no metadata, return true.
584
- if (parsedMetadata === 'no metadata') {
585
- return true
586
- }
587
-
588
- // 3. If response is not eligible for integrity validation, return false.
589
- // TODO
590
-
591
- // 4. If parsedMetadata is the empty set, return true.
592
- if (parsedMetadata.length === 0) {
593
- return true
594
- }
595
-
596
- // 5. Let metadata be the result of getting the strongest
597
- // metadata from parsedMetadata.
598
- const strongest = getStrongestMetadata(parsedMetadata);
599
- const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest);
600
-
601
- // 6. For each item in metadata:
602
- for (const item of metadata) {
603
- // 1. Let algorithm be the alg component of item.
604
- const algorithm = item.algo;
605
-
606
- // 2. Let expectedValue be the val component of item.
607
- const expectedValue = item.hash;
608
-
609
- // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e
610
- // "be liberal with padding". This is annoying, and it's not even in the spec.
611
-
612
- // 3. Let actualValue be the result of applying algorithm to bytes.
613
- let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64');
614
-
615
- if (actualValue[actualValue.length - 1] === '=') {
616
- if (actualValue[actualValue.length - 2] === '=') {
617
- actualValue = actualValue.slice(0, -2);
618
- } else {
619
- actualValue = actualValue.slice(0, -1);
620
- }
621
- }
622
-
623
- // 4. If actualValue is a case-sensitive match for expectedValue,
624
- // return true.
625
- if (compareBase64Mixed(actualValue, expectedValue)) {
626
- return true
627
- }
628
- }
629
-
630
- // 7. Return false.
631
- return false
632
- }
633
-
634
- // https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options
635
- // https://www.w3.org/TR/CSP2/#source-list-syntax
636
- // https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1
637
- const parseHashWithOptions = /(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;
638
-
639
- /**
640
- * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata
641
- * @param {string} metadata
642
- */
643
- function parseMetadata (metadata) {
644
- // 1. Let result be the empty set.
645
- /** @type {{ algo: string, hash: string }[]} */
646
- const result = [];
647
-
648
- // 2. Let empty be equal to true.
649
- let empty = true;
650
-
651
- // 3. For each token returned by splitting metadata on spaces:
652
- for (const token of metadata.split(' ')) {
653
- // 1. Set empty to false.
654
- empty = false;
655
-
656
- // 2. Parse token as a hash-with-options.
657
- const parsedToken = parseHashWithOptions.exec(token);
658
-
659
- // 3. If token does not parse, continue to the next token.
660
- if (
661
- parsedToken === null ||
662
- parsedToken.groups === undefined ||
663
- parsedToken.groups.algo === undefined
664
- ) {
665
- // Note: Chromium blocks the request at this point, but Firefox
666
- // gives a warning that an invalid integrity was given. The
667
- // correct behavior is to ignore these, and subsequently not
668
- // check the integrity of the resource.
669
- continue
670
- }
671
-
672
- // 4. Let algorithm be the hash-algo component of token.
673
- const algorithm = parsedToken.groups.algo.toLowerCase();
674
-
675
- // 5. If algorithm is a hash function recognized by the user
676
- // agent, add the parsed token to result.
677
- if (supportedHashes.includes(algorithm)) {
678
- result.push(parsedToken.groups);
679
- }
680
- }
681
-
682
- // 4. Return no metadata if empty is true, otherwise return result.
683
- if (empty === true) {
684
- return 'no metadata'
685
- }
686
-
687
- return result
688
- }
689
-
690
- /**
691
- * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList
692
- */
693
- function getStrongestMetadata (metadataList) {
694
- // Let algorithm be the algo component of the first item in metadataList.
695
- // Can be sha256
696
- let algorithm = metadataList[0].algo;
697
- // If the algorithm is sha512, then it is the strongest
698
- // and we can return immediately
699
- if (algorithm[3] === '5') {
700
- return algorithm
701
- }
702
-
703
- for (let i = 1; i < metadataList.length; ++i) {
704
- const metadata = metadataList[i];
705
- // If the algorithm is sha512, then it is the strongest
706
- // and we can break the loop immediately
707
- if (metadata.algo[3] === '5') {
708
- algorithm = 'sha512';
709
- break
710
- // If the algorithm is sha384, then a potential sha256 or sha384 is ignored
711
- } else if (algorithm[3] === '3') {
712
- continue
713
- // algorithm is sha256, check if algorithm is sha384 and if so, set it as
714
- // the strongest
715
- } else if (metadata.algo[3] === '3') {
716
- algorithm = 'sha384';
717
- }
718
- }
719
- return algorithm
720
- }
721
-
722
- function filterMetadataListByAlgorithm (metadataList, algorithm) {
723
- if (metadataList.length === 1) {
724
- return metadataList
725
- }
726
-
727
- let pos = 0;
728
- for (let i = 0; i < metadataList.length; ++i) {
729
- if (metadataList[i].algo === algorithm) {
730
- metadataList[pos++] = metadataList[i];
731
- }
732
- }
733
-
734
- metadataList.length = pos;
735
-
736
- return metadataList
737
- }
738
-
739
- /**
740
- * Compares two base64 strings, allowing for base64url
741
- * in the second string.
742
- *
743
- * @param {string} actualValue always base64
744
- * @param {string} expectedValue base64 or base64url
745
- * @returns {boolean}
746
- */
747
- function compareBase64Mixed (actualValue, expectedValue) {
748
- if (actualValue.length !== expectedValue.length) {
749
- return false
750
- }
751
- for (let i = 0; i < actualValue.length; ++i) {
752
- if (actualValue[i] !== expectedValue[i]) {
753
- if (
754
- (actualValue[i] === '+' && expectedValue[i] === '-') ||
755
- (actualValue[i] === '/' && expectedValue[i] === '_')
756
- ) {
757
- continue
758
- }
759
- return false
760
- }
761
- }
762
-
763
- return true
764
- }
765
-
766
- // https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request
767
- function tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {
768
- // TODO
769
- }
770
-
771
- /**
772
- * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}
773
- * @param {URL} A
774
- * @param {URL} B
775
- */
776
- function sameOrigin (A, B) {
777
- // 1. If A and B are the same opaque origin, then return true.
778
- if (A.origin === B.origin && A.origin === 'null') {
779
- return true
780
- }
781
-
782
- // 2. If A and B are both tuple origins and their schemes,
783
- // hosts, and port are identical, then return true.
784
- if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {
785
- return true
786
- }
787
-
788
- // 3. Return false.
789
- return false
790
- }
791
-
792
- function createDeferredPromise () {
793
- let res;
794
- let rej;
795
- const promise = new Promise((resolve, reject) => {
796
- res = resolve;
797
- rej = reject;
798
- });
799
-
800
- return { promise, resolve: res, reject: rej }
801
- }
802
-
803
- function isAborted (fetchParams) {
804
- return fetchParams.controller.state === 'aborted'
805
- }
806
-
807
- function isCancelled (fetchParams) {
808
- return fetchParams.controller.state === 'aborted' ||
809
- fetchParams.controller.state === 'terminated'
810
- }
811
-
812
- /**
813
- * @see https://fetch.spec.whatwg.org/#concept-method-normalize
814
- * @param {string} method
815
- */
816
- function normalizeMethod (method) {
817
- return normalizedMethodRecordsBase[method.toLowerCase()] ?? method
818
- }
819
-
820
- // https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string
821
- function serializeJavascriptValueToJSONString (value) {
822
- // 1. Let result be ? Call(%JSON.stringify%, undefined, « value »).
823
- const result = JSON.stringify(value);
824
-
825
- // 2. If result is undefined, then throw a TypeError.
826
- if (result === undefined) {
827
- throw new TypeError('Value is not JSON serializable')
828
- }
829
-
830
- // 3. Assert: result is a string.
831
- assert(typeof result === 'string');
832
-
833
- // 4. Return result.
834
- return result
835
- }
836
-
837
- // https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object
838
- const esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));
839
-
840
- /**
841
- * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
842
- * @param {string} name name of the instance
843
- * @param {symbol} kInternalIterator
844
- * @param {string | number} [keyIndex]
845
- * @param {string | number} [valueIndex]
846
- */
847
- function createIterator (name, kInternalIterator, keyIndex = 0, valueIndex = 1) {
848
- class FastIterableIterator {
849
- /** @type {any} */
850
- #target
851
- /** @type {'key' | 'value' | 'key+value'} */
852
- #kind
853
- /** @type {number} */
854
- #index
855
-
856
- /**
857
- * @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object
858
- * @param {unknown} target
859
- * @param {'key' | 'value' | 'key+value'} kind
860
- */
861
- constructor (target, kind) {
862
- this.#target = target;
863
- this.#kind = kind;
864
- this.#index = 0;
865
- }
866
-
867
- next () {
868
- // 1. Let interface be the interface for which the iterator prototype object exists.
869
- // 2. Let thisValue be the this value.
870
- // 3. Let object be ? ToObject(thisValue).
871
- // 4. If object is a platform object, then perform a security
872
- // check, passing:
873
- // 5. If object is not a default iterator object for interface,
874
- // then throw a TypeError.
875
- if (typeof this !== 'object' || this === null || !(#target in this)) {
876
- throw new TypeError(
877
- `'next' called on an object that does not implement interface ${name} Iterator.`
878
- )
879
- }
880
-
881
- // 6. Let index be object’s index.
882
- // 7. Let kind be object’s kind.
883
- // 8. Let values be object’s target's value pairs to iterate over.
884
- const index = this.#index;
885
- const values = this.#target[kInternalIterator];
886
-
887
- // 9. Let len be the length of values.
888
- const len = values.length;
889
-
890
- // 10. If index is greater than or equal to len, then return
891
- // CreateIterResultObject(undefined, true).
892
- if (index >= len) {
893
- return {
894
- value: undefined,
895
- done: true
896
- }
897
- }
898
-
899
- // 11. Let pair be the entry in values at index index.
900
- const { [keyIndex]: key, [valueIndex]: value } = values[index];
901
-
902
- // 12. Set object’s index to index + 1.
903
- this.#index = index + 1;
904
-
905
- // 13. Return the iterator result for pair and kind.
906
-
907
- // https://webidl.spec.whatwg.org/#iterator-result
908
-
909
- // 1. Let result be a value determined by the value of kind:
910
- let result;
911
- switch (this.#kind) {
912
- case 'key':
913
- // 1. Let idlKey be pair’s key.
914
- // 2. Let key be the result of converting idlKey to an
915
- // ECMAScript value.
916
- // 3. result is key.
917
- result = key;
918
- break
919
- case 'value':
920
- // 1. Let idlValue be pair’s value.
921
- // 2. Let value be the result of converting idlValue to
922
- // an ECMAScript value.
923
- // 3. result is value.
924
- result = value;
925
- break
926
- case 'key+value':
927
- // 1. Let idlKey be pair’s key.
928
- // 2. Let idlValue be pair’s value.
929
- // 3. Let key be the result of converting idlKey to an
930
- // ECMAScript value.
931
- // 4. Let value be the result of converting idlValue to
932
- // an ECMAScript value.
933
- // 5. Let array be ! ArrayCreate(2).
934
- // 6. Call ! CreateDataProperty(array, "0", key).
935
- // 7. Call ! CreateDataProperty(array, "1", value).
936
- // 8. result is array.
937
- result = [key, value];
938
- break
939
- }
940
-
941
- // 2. Return CreateIterResultObject(result, false).
942
- return {
943
- value: result,
944
- done: false
945
- }
946
- }
947
- }
948
-
949
- // https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
950
- // @ts-ignore
951
- delete FastIterableIterator.prototype.constructor;
952
-
953
- Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype);
954
-
955
- Object.defineProperties(FastIterableIterator.prototype, {
956
- [Symbol.toStringTag]: {
957
- writable: false,
958
- enumerable: false,
959
- configurable: true,
960
- value: `${name} Iterator`
961
- },
962
- next: { writable: true, enumerable: true, configurable: true }
963
- });
964
-
965
- /**
966
- * @param {unknown} target
967
- * @param {'key' | 'value' | 'key+value'} kind
968
- * @returns {IterableIterator<any>}
969
- */
970
- return function (target, kind) {
971
- return new FastIterableIterator(target, kind)
972
- }
973
- }
974
-
975
- /**
976
- * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
977
- * @param {string} name name of the instance
978
- * @param {any} object class
979
- * @param {symbol} kInternalIterator
980
- * @param {string | number} [keyIndex]
981
- * @param {string | number} [valueIndex]
982
- */
983
- function iteratorMixin (name, object, kInternalIterator, keyIndex = 0, valueIndex = 1) {
984
- const makeIterator = createIterator(name, kInternalIterator, keyIndex, valueIndex);
985
-
986
- const properties = {
987
- keys: {
988
- writable: true,
989
- enumerable: true,
990
- configurable: true,
991
- value: function keys () {
992
- webidl.brandCheck(this, object);
993
- return makeIterator(this, 'key')
994
- }
995
- },
996
- values: {
997
- writable: true,
998
- enumerable: true,
999
- configurable: true,
1000
- value: function values () {
1001
- webidl.brandCheck(this, object);
1002
- return makeIterator(this, 'value')
1003
- }
1004
- },
1005
- entries: {
1006
- writable: true,
1007
- enumerable: true,
1008
- configurable: true,
1009
- value: function entries () {
1010
- webidl.brandCheck(this, object);
1011
- return makeIterator(this, 'key+value')
1012
- }
1013
- },
1014
- forEach: {
1015
- writable: true,
1016
- enumerable: true,
1017
- configurable: true,
1018
- value: function forEach (callbackfn, thisArg = globalThis) {
1019
- webidl.brandCheck(this, object);
1020
- webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`);
1021
- if (typeof callbackfn !== 'function') {
1022
- throw new TypeError(
1023
- `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.`
1024
- )
1025
- }
1026
- for (const { 0: key, 1: value } of makeIterator(this, 'key+value')) {
1027
- callbackfn.call(thisArg, value, key, this);
1028
- }
1029
- }
1030
- }
1031
- };
1032
-
1033
- return Object.defineProperties(object.prototype, {
1034
- ...properties,
1035
- [Symbol.iterator]: {
1036
- writable: true,
1037
- enumerable: false,
1038
- configurable: true,
1039
- value: properties.entries.value
1040
- }
1041
- })
1042
- }
1043
-
1044
- /**
1045
- * @see https://fetch.spec.whatwg.org/#body-fully-read
1046
- */
1047
- async function fullyReadBody (body, processBody, processBodyError) {
1048
- // 1. If taskDestination is null, then set taskDestination to
1049
- // the result of starting a new parallel queue.
1050
-
1051
- // 2. Let successSteps given a byte sequence bytes be to queue a
1052
- // fetch task to run processBody given bytes, with taskDestination.
1053
- const successSteps = processBody;
1054
-
1055
- // 3. Let errorSteps be to queue a fetch task to run processBodyError,
1056
- // with taskDestination.
1057
- const errorSteps = processBodyError;
1058
-
1059
- // 4. Let reader be the result of getting a reader for body’s stream.
1060
- // If that threw an exception, then run errorSteps with that
1061
- // exception and return.
1062
- let reader;
1063
-
1064
- try {
1065
- reader = body.stream.getReader();
1066
- } catch (e) {
1067
- errorSteps(e);
1068
- return
1069
- }
1070
-
1071
- // 5. Read all bytes from reader, given successSteps and errorSteps.
1072
- try {
1073
- successSteps(await readAllBytes(reader));
1074
- } catch (e) {
1075
- errorSteps(e);
1076
- }
1077
- }
1078
-
1079
- function isReadableStreamLike (stream) {
1080
- return stream instanceof ReadableStream || (
1081
- stream[Symbol.toStringTag] === 'ReadableStream' &&
1082
- typeof stream.tee === 'function'
1083
- )
1084
- }
1085
-
1086
- /**
1087
- * @param {ReadableStreamController<Uint8Array>} controller
1088
- */
1089
- function readableStreamClose (controller) {
1090
- try {
1091
- controller.close();
1092
- controller.byobRequest?.respond(0);
1093
- } catch (err) {
1094
- // TODO: add comment explaining why this error occurs.
1095
- if (!err.message.includes('Controller is already closed') && !err.message.includes('ReadableStream is already closed')) {
1096
- throw err
1097
- }
1098
- }
1099
- }
1100
-
1101
- const invalidIsomorphicEncodeValueRegex = /[^\x00-\xFF]/; // eslint-disable-line
1102
-
1103
- /**
1104
- * @see https://infra.spec.whatwg.org/#isomorphic-encode
1105
- * @param {string} input
1106
- */
1107
- function isomorphicEncode (input) {
1108
- // 1. Assert: input contains no code points greater than U+00FF.
1109
- assert(!invalidIsomorphicEncodeValueRegex.test(input));
1110
-
1111
- // 2. Return a byte sequence whose length is equal to input’s code
1112
- // point length and whose bytes have the same values as the
1113
- // values of input’s code points, in the same order
1114
- return input
1115
- }
1116
-
1117
- /**
1118
- * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes
1119
- * @see https://streams.spec.whatwg.org/#read-loop
1120
- * @param {ReadableStreamDefaultReader} reader
1121
- */
1122
- async function readAllBytes (reader) {
1123
- const bytes = [];
1124
- let byteLength = 0;
1125
-
1126
- while (true) {
1127
- const { done, value: chunk } = await reader.read();
1128
-
1129
- if (done) {
1130
- // 1. Call successSteps with bytes.
1131
- return Buffer.concat(bytes, byteLength)
1132
- }
1133
-
1134
- // 1. If chunk is not a Uint8Array object, call failureSteps
1135
- // with a TypeError and abort these steps.
1136
- if (!isUint8Array(chunk)) {
1137
- throw new TypeError('Received non-Uint8Array chunk')
1138
- }
1139
-
1140
- // 2. Append the bytes represented by chunk to bytes.
1141
- bytes.push(chunk);
1142
- byteLength += chunk.length;
1143
-
1144
- // 3. Read-loop given reader, bytes, successSteps, and failureSteps.
1145
- }
1146
- }
1147
-
1148
- /**
1149
- * @see https://fetch.spec.whatwg.org/#is-local
1150
- * @param {URL} url
1151
- */
1152
- function urlIsLocal (url) {
1153
- assert('protocol' in url); // ensure it's a url object
1154
-
1155
- const protocol = url.protocol;
1156
-
1157
- return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'
1158
- }
1159
-
1160
- /**
1161
- * @param {string|URL} url
1162
- * @returns {boolean}
1163
- */
1164
- function urlHasHttpsScheme (url) {
1165
- return (
1166
- (
1167
- typeof url === 'string' &&
1168
- url[5] === ':' &&
1169
- url[0] === 'h' &&
1170
- url[1] === 't' &&
1171
- url[2] === 't' &&
1172
- url[3] === 'p' &&
1173
- url[4] === 's'
1174
- ) ||
1175
- url.protocol === 'https:'
1176
- )
1177
- }
1178
-
1179
- /**
1180
- * @see https://fetch.spec.whatwg.org/#http-scheme
1181
- * @param {URL} url
1182
- */
1183
- function urlIsHttpHttpsScheme (url) {
1184
- assert('protocol' in url); // ensure it's a url object
1185
-
1186
- const protocol = url.protocol;
1187
-
1188
- return protocol === 'http:' || protocol === 'https:'
1189
- }
1190
-
1191
- /**
1192
- * @see https://fetch.spec.whatwg.org/#simple-range-header-value
1193
- * @param {string} value
1194
- * @param {boolean} allowWhitespace
1195
- */
1196
- function simpleRangeHeaderValue (value, allowWhitespace) {
1197
- // 1. Let data be the isomorphic decoding of value.
1198
- // Note: isomorphic decoding takes a sequence of bytes (ie. a Uint8Array) and turns it into a string,
1199
- // nothing more. We obviously don't need to do that if value is a string already.
1200
- const data = value;
1201
-
1202
- // 2. If data does not start with "bytes", then return failure.
1203
- if (!data.startsWith('bytes')) {
1204
- return 'failure'
1205
- }
1206
-
1207
- // 3. Let position be a position variable for data, initially pointing at the 5th code point of data.
1208
- const position = { position: 5 };
1209
-
1210
- // 4. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,
1211
- // from data given position.
1212
- if (allowWhitespace) {
1213
- collectASequenceOfCodePoints(
1214
- (char) => char === '\t' || char === ' ',
1215
- data,
1216
- position
1217
- );
1218
- }
1219
-
1220
- // 5. If the code point at position within data is not U+003D (=), then return failure.
1221
- if (data.charCodeAt(position.position) !== 0x3D) {
1222
- return 'failure'
1223
- }
1224
-
1225
- // 6. Advance position by 1.
1226
- position.position++;
1227
-
1228
- // 7. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space, from
1229
- // data given position.
1230
- if (allowWhitespace) {
1231
- collectASequenceOfCodePoints(
1232
- (char) => char === '\t' || char === ' ',
1233
- data,
1234
- position
1235
- );
1236
- }
1237
-
1238
- // 8. Let rangeStart be the result of collecting a sequence of code points that are ASCII digits,
1239
- // from data given position.
1240
- const rangeStart = collectASequenceOfCodePoints(
1241
- (char) => {
1242
- const code = char.charCodeAt(0);
1243
-
1244
- return code >= 0x30 && code <= 0x39
1245
- },
1246
- data,
1247
- position
1248
- );
1249
-
1250
- // 9. Let rangeStartValue be rangeStart, interpreted as decimal number, if rangeStart is not the
1251
- // empty string; otherwise null.
1252
- const rangeStartValue = rangeStart.length ? Number(rangeStart) : null;
1253
-
1254
- // 10. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,
1255
- // from data given position.
1256
- if (allowWhitespace) {
1257
- collectASequenceOfCodePoints(
1258
- (char) => char === '\t' || char === ' ',
1259
- data,
1260
- position
1261
- );
1262
- }
1263
-
1264
- // 11. If the code point at position within data is not U+002D (-), then return failure.
1265
- if (data.charCodeAt(position.position) !== 0x2D) {
1266
- return 'failure'
1267
- }
1268
-
1269
- // 12. Advance position by 1.
1270
- position.position++;
1271
-
1272
- // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab
1273
- // or space, from data given position.
1274
- // Note from Khafra: its the same step as in #8 again lol
1275
- if (allowWhitespace) {
1276
- collectASequenceOfCodePoints(
1277
- (char) => char === '\t' || char === ' ',
1278
- data,
1279
- position
1280
- );
1281
- }
1282
-
1283
- // 14. Let rangeEnd be the result of collecting a sequence of code points that are
1284
- // ASCII digits, from data given position.
1285
- // Note from Khafra: you wouldn't guess it, but this is also the same step as #8
1286
- const rangeEnd = collectASequenceOfCodePoints(
1287
- (char) => {
1288
- const code = char.charCodeAt(0);
1289
-
1290
- return code >= 0x30 && code <= 0x39
1291
- },
1292
- data,
1293
- position
1294
- );
1295
-
1296
- // 15. Let rangeEndValue be rangeEnd, interpreted as decimal number, if rangeEnd
1297
- // is not the empty string; otherwise null.
1298
- // Note from Khafra: THE SAME STEP, AGAIN!!!
1299
- // Note: why interpret as a decimal if we only collect ascii digits?
1300
- const rangeEndValue = rangeEnd.length ? Number(rangeEnd) : null;
1301
-
1302
- // 16. If position is not past the end of data, then return failure.
1303
- if (position.position < data.length) {
1304
- return 'failure'
1305
- }
1306
-
1307
- // 17. If rangeEndValue and rangeStartValue are null, then return failure.
1308
- if (rangeEndValue === null && rangeStartValue === null) {
1309
- return 'failure'
1310
- }
1311
-
1312
- // 18. If rangeStartValue and rangeEndValue are numbers, and rangeStartValue is
1313
- // greater than rangeEndValue, then return failure.
1314
- // Note: ... when can they not be numbers?
1315
- if (rangeStartValue > rangeEndValue) {
1316
- return 'failure'
1317
- }
1318
-
1319
- // 19. Return (rangeStartValue, rangeEndValue).
1320
- return { rangeStartValue, rangeEndValue }
1321
- }
1322
-
1323
- /**
1324
- * @see https://fetch.spec.whatwg.org/#build-a-content-range
1325
- * @param {number} rangeStart
1326
- * @param {number} rangeEnd
1327
- * @param {number} fullLength
1328
- */
1329
- function buildContentRange (rangeStart, rangeEnd, fullLength) {
1330
- // 1. Let contentRange be `bytes `.
1331
- let contentRange = 'bytes ';
1332
-
1333
- // 2. Append rangeStart, serialized and isomorphic encoded, to contentRange.
1334
- contentRange += isomorphicEncode(`${rangeStart}`);
1335
-
1336
- // 3. Append 0x2D (-) to contentRange.
1337
- contentRange += '-';
1338
-
1339
- // 4. Append rangeEnd, serialized and isomorphic encoded to contentRange.
1340
- contentRange += isomorphicEncode(`${rangeEnd}`);
1341
-
1342
- // 5. Append 0x2F (/) to contentRange.
1343
- contentRange += '/';
1344
-
1345
- // 6. Append fullLength, serialized and isomorphic encoded to contentRange.
1346
- contentRange += isomorphicEncode(`${fullLength}`);
1347
-
1348
- // 7. Return contentRange.
1349
- return contentRange
1350
- }
1351
-
1352
- // A Stream, which pipes the response to zlib.createInflate() or
1353
- // zlib.createInflateRaw() depending on the first byte of the Buffer.
1354
- // If the lower byte of the first byte is 0x08, then the stream is
1355
- // interpreted as a zlib stream, otherwise it's interpreted as a
1356
- // raw deflate stream.
1357
- class InflateStream extends Transform {
1358
- #zlibOptions
1359
-
1360
- /** @param {zlib.ZlibOptions} [zlibOptions] */
1361
- constructor (zlibOptions) {
1362
- super();
1363
- this.#zlibOptions = zlibOptions;
1364
- }
1365
-
1366
- _transform (chunk, encoding, callback) {
1367
- if (!this._inflateStream) {
1368
- if (chunk.length === 0) {
1369
- callback();
1370
- return
1371
- }
1372
- this._inflateStream = (chunk[0] & 0x0F) === 0x08
1373
- ? zlib.createInflate(this.#zlibOptions)
1374
- : zlib.createInflateRaw(this.#zlibOptions);
1375
-
1376
- this._inflateStream.on('data', this.push.bind(this));
1377
- this._inflateStream.on('end', () => this.push(null));
1378
- this._inflateStream.on('error', (err) => this.destroy(err));
1379
- }
1380
-
1381
- this._inflateStream.write(chunk, encoding, callback);
1382
- }
1383
-
1384
- _final (callback) {
1385
- if (this._inflateStream) {
1386
- this._inflateStream.end();
1387
- this._inflateStream = null;
1388
- }
1389
- callback();
1390
- }
1391
- }
1392
-
1393
- /**
1394
- * @param {zlib.ZlibOptions} [zlibOptions]
1395
- * @returns {InflateStream}
1396
- */
1397
- function createInflate (zlibOptions) {
1398
- return new InflateStream(zlibOptions)
1399
- }
1400
-
1401
- /**
1402
- * @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type
1403
- * @param {import('./headers').HeadersList} headers
1404
- */
1405
- function extractMimeType (headers) {
1406
- // 1. Let charset be null.
1407
- let charset = null;
1408
-
1409
- // 2. Let essence be null.
1410
- let essence = null;
1411
-
1412
- // 3. Let mimeType be null.
1413
- let mimeType = null;
1414
-
1415
- // 4. Let values be the result of getting, decoding, and splitting `Content-Type` from headers.
1416
- const values = getDecodeSplit('content-type', headers);
1417
-
1418
- // 5. If values is null, then return failure.
1419
- if (values === null) {
1420
- return 'failure'
1421
- }
1422
-
1423
- // 6. For each value of values:
1424
- for (const value of values) {
1425
- // 6.1. Let temporaryMimeType be the result of parsing value.
1426
- const temporaryMimeType = parseMIMEType(value);
1427
-
1428
- // 6.2. If temporaryMimeType is failure or its essence is "*/*", then continue.
1429
- if (temporaryMimeType === 'failure' || temporaryMimeType.essence === '*/*') {
1430
- continue
1431
- }
1432
-
1433
- // 6.3. Set mimeType to temporaryMimeType.
1434
- mimeType = temporaryMimeType;
1435
-
1436
- // 6.4. If mimeType’s essence is not essence, then:
1437
- if (mimeType.essence !== essence) {
1438
- // 6.4.1. Set charset to null.
1439
- charset = null;
1440
-
1441
- // 6.4.2. If mimeType’s parameters["charset"] exists, then set charset to
1442
- // mimeType’s parameters["charset"].
1443
- if (mimeType.parameters.has('charset')) {
1444
- charset = mimeType.parameters.get('charset');
1445
- }
1446
-
1447
- // 6.4.3. Set essence to mimeType’s essence.
1448
- essence = mimeType.essence;
1449
- } else if (!mimeType.parameters.has('charset') && charset !== null) {
1450
- // 6.5. Otherwise, if mimeType’s parameters["charset"] does not exist, and
1451
- // charset is non-null, set mimeType’s parameters["charset"] to charset.
1452
- mimeType.parameters.set('charset', charset);
1453
- }
1454
- }
1455
-
1456
- // 7. If mimeType is null, then return failure.
1457
- if (mimeType == null) {
1458
- return 'failure'
1459
- }
1460
-
1461
- // 8. Return mimeType.
1462
- return mimeType
1463
- }
1464
-
1465
- /**
1466
- * @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split
1467
- * @param {string|null} value
1468
- */
1469
- function gettingDecodingSplitting (value) {
1470
- // 1. Let input be the result of isomorphic decoding value.
1471
- const input = value;
1472
-
1473
- // 2. Let position be a position variable for input, initially pointing at the start of input.
1474
- const position = { position: 0 };
1475
-
1476
- // 3. Let values be a list of strings, initially empty.
1477
- const values = [];
1478
-
1479
- // 4. Let temporaryValue be the empty string.
1480
- let temporaryValue = '';
1481
-
1482
- // 5. While position is not past the end of input:
1483
- while (position.position < input.length) {
1484
- // 5.1. Append the result of collecting a sequence of code points that are not U+0022 (")
1485
- // or U+002C (,) from input, given position, to temporaryValue.
1486
- temporaryValue += collectASequenceOfCodePoints(
1487
- (char) => char !== '"' && char !== ',',
1488
- input,
1489
- position
1490
- );
1491
-
1492
- // 5.2. If position is not past the end of input, then:
1493
- if (position.position < input.length) {
1494
- // 5.2.1. If the code point at position within input is U+0022 ("), then:
1495
- if (input.charCodeAt(position.position) === 0x22) {
1496
- // 5.2.1.1. Append the result of collecting an HTTP quoted string from input, given position, to temporaryValue.
1497
- temporaryValue += collectAnHTTPQuotedString(
1498
- input,
1499
- position
1500
- );
1501
-
1502
- // 5.2.1.2. If position is not past the end of input, then continue.
1503
- if (position.position < input.length) {
1504
- continue
1505
- }
1506
- } else {
1507
- // 5.2.2. Otherwise:
1508
-
1509
- // 5.2.2.1. Assert: the code point at position within input is U+002C (,).
1510
- assert(input.charCodeAt(position.position) === 0x2C);
1511
-
1512
- // 5.2.2.2. Advance position by 1.
1513
- position.position++;
1514
- }
1515
- }
1516
-
1517
- // 5.3. Remove all HTTP tab or space from the start and end of temporaryValue.
1518
- temporaryValue = removeChars(temporaryValue, true, true, (char) => char === 0x9 || char === 0x20);
1519
-
1520
- // 5.4. Append temporaryValue to values.
1521
- values.push(temporaryValue);
1522
-
1523
- // 5.6. Set temporaryValue to the empty string.
1524
- temporaryValue = '';
1525
- }
1526
-
1527
- // 6. Return values.
1528
- return values
1529
- }
1530
-
1531
- /**
1532
- * @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split
1533
- * @param {string} name lowercase header name
1534
- * @param {import('./headers').HeadersList} list
1535
- */
1536
- function getDecodeSplit (name, list) {
1537
- // 1. Let value be the result of getting name from list.
1538
- const value = list.get(name, true);
1539
-
1540
- // 2. If value is null, then return null.
1541
- if (value === null) {
1542
- return null
1543
- }
1544
-
1545
- // 3. Return the result of getting, decoding, and splitting value.
1546
- return gettingDecodingSplitting(value)
1547
- }
1548
-
1549
- const textDecoder = new TextDecoder();
1550
-
1551
- /**
1552
- * @see https://encoding.spec.whatwg.org/#utf-8-decode
1553
- * @param {Buffer} buffer
1554
- */
1555
- function utf8DecodeBytes (buffer) {
1556
- if (buffer.length === 0) {
1557
- return ''
1558
- }
1559
-
1560
- // 1. Let buffer be the result of peeking three bytes from
1561
- // ioQueue, converted to a byte sequence.
1562
-
1563
- // 2. If buffer is 0xEF 0xBB 0xBF, then read three
1564
- // bytes from ioQueue. (Do nothing with those bytes.)
1565
- if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) {
1566
- buffer = buffer.subarray(3);
1567
- }
1568
-
1569
- // 3. Process a queue with an instance of UTF-8’s
1570
- // decoder, ioQueue, output, and "replacement".
1571
- const output = textDecoder.decode(buffer);
1572
-
1573
- // 4. Return output.
1574
- return output
1575
- }
1576
-
1577
- class EnvironmentSettingsObjectBase {
1578
- get baseUrl () {
1579
- return getGlobalOrigin()
1580
- }
1581
-
1582
- get origin () {
1583
- return this.baseUrl?.origin
1584
- }
1585
-
1586
- policyContainer = makePolicyContainer()
1587
- }
1588
-
1589
- class EnvironmentSettingsObject {
1590
- settingsObject = new EnvironmentSettingsObjectBase()
1591
- }
1592
-
1593
- const environmentSettingsObject = new EnvironmentSettingsObject();
1594
-
1595
- util = {
1596
- isAborted,
1597
- isCancelled,
1598
- isValidEncodedURL,
1599
- createDeferredPromise,
1600
- ReadableStreamFrom,
1601
- tryUpgradeRequestToAPotentiallyTrustworthyURL,
1602
- clampAndCoarsenConnectionTimingInfo,
1603
- coarsenedSharedCurrentTime,
1604
- determineRequestsReferrer,
1605
- makePolicyContainer,
1606
- clonePolicyContainer,
1607
- appendFetchMetadata,
1608
- appendRequestOriginHeader,
1609
- TAOCheck,
1610
- corsCheck,
1611
- crossOriginResourcePolicyCheck,
1612
- createOpaqueTimingInfo,
1613
- setRequestReferrerPolicyOnRedirect,
1614
- isValidHTTPToken,
1615
- requestBadPort,
1616
- requestCurrentURL,
1617
- responseURL,
1618
- responseLocationURL,
1619
- isBlobLike,
1620
- isURLPotentiallyTrustworthy,
1621
- isValidReasonPhrase,
1622
- sameOrigin,
1623
- normalizeMethod,
1624
- serializeJavascriptValueToJSONString,
1625
- iteratorMixin,
1626
- createIterator,
1627
- isValidHeaderName,
1628
- isValidHeaderValue,
1629
- isErrorLike,
1630
- fullyReadBody,
1631
- bytesMatch,
1632
- isReadableStreamLike,
1633
- readableStreamClose,
1634
- isomorphicEncode,
1635
- urlIsLocal,
1636
- urlHasHttpsScheme,
1637
- urlIsHttpHttpsScheme,
1638
- readAllBytes,
1639
- simpleRangeHeaderValue,
1640
- buildContentRange,
1641
- parseMetadata,
1642
- createInflate,
1643
- extractMimeType,
1644
- getDecodeSplit,
1645
- utf8DecodeBytes,
1646
- environmentSettingsObject
1647
- };
1648
- return util;
1649
- }
1650
-
1651
- export { requireUtil as __require };
1652
- //# sourceMappingURL=util.js.map