@relative-ci/core 5.3.1 → 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.
- package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
- package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js +200 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/cjs/__/cross-spawn/index.js +1 -1
- package/lib/cjs/__/env-ci/lib/git.js +1 -1
- package/lib/cjs/__/execa/index.js +149 -0
- package/lib/cjs/__/execa/index.js.map +1 -0
- package/lib/cjs/__/execa/lib/command.js.map +1 -0
- package/lib/cjs/__/execa/lib/error.js.map +1 -0
- package/lib/cjs/__/execa/lib/promise.js.map +1 -0
- package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
- package/lib/cjs/__/execa/lib/stream.js +35 -0
- package/lib/cjs/__/execa/lib/stream.js.map +1 -0
- package/lib/cjs/__/execa/lib/verbose.js +29 -0
- package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
- package/lib/cjs/__/fast-content-type-parse/index.js +1 -1
- package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/cjs/__/is-stream/index.js.map +1 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/cjs/__/npm-run-path/index.js +63 -0
- package/lib/cjs/__/npm-run-path/index.js.map +1 -0
- package/lib/cjs/__/path-key/index.js +1 -1
- package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
- package/lib/cjs/__/tunnel/lib/tunnel.js +9 -9
- package/lib/cjs/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/cjs/__/undici/index.js +99 -85
- package/lib/cjs/__/undici/index.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/cjs/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-connect.js +13 -7
- package/lib/cjs/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-pipeline.js +10 -8
- package/lib/cjs/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-request.js +63 -28
- package/lib/cjs/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-stream.js +14 -12
- package/lib/cjs/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-upgrade.js +12 -9
- package/lib/cjs/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/readable.js +147 -84
- package/lib/cjs/__/undici/lib/api/readable.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/util.js +74 -27
- package/lib/cjs/__/undici/lib/api/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/connect.js +83 -31
- package/lib/cjs/__/undici/lib/core/connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/diagnostics.js +222 -0
- package/lib/cjs/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/errors.js +216 -21
- package/lib/cjs/__/undici/lib/core/errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/request.js +116 -210
- package/lib/cjs/__/undici/lib/core/request.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/symbols.js +10 -6
- package/lib/cjs/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/tree.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/util.js +321 -123
- package/lib/cjs/__/undici/lib/core/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/dispatcher/agent.js +150 -0
- package/lib/cjs/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js +651 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js +214 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js +83 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js +211 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js +126 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/global.js +1 -1
- package/lib/cjs/__/undici/lib/global.js.map +1 -1
- package/lib/cjs/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js +237 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/cjs/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-client.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/cjs/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-pool.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-utils.js +33 -17
- package/lib/cjs/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/cjs/__/undici/lib/util/timers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js +275 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js +709 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js +2235 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js +1069 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js +640 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js +1662 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js +716 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js +417 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js +120 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js +518 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js +622 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
- package/lib/cjs/_virtual/index10.js +2 -2
- package/lib/cjs/_virtual/index11.js +2 -2
- package/lib/cjs/_virtual/index13.js +2 -2
- package/lib/cjs/_virtual/index14.js +2 -2
- package/lib/cjs/_virtual/index2.js +1 -1
- package/lib/cjs/_virtual/index3.js +1 -1
- package/lib/cjs/_virtual/index4.js +1 -1
- package/lib/cjs/_virtual/index8.js +2 -2
- package/lib/cjs/env/load.js +1 -1
- package/lib/cjs/env/load.js.map +1 -1
- package/lib/cjs/ingest/ingest.js +3 -3
- package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
- package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js +198 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/esm/__/cross-spawn/index.js +1 -1
- package/lib/esm/__/env-ci/lib/git.js +1 -1
- package/lib/esm/__/execa/index.js +141 -0
- package/lib/esm/__/execa/index.js.map +1 -0
- package/lib/esm/__/execa/lib/command.js.map +1 -0
- package/lib/esm/__/execa/lib/error.js.map +1 -0
- package/lib/esm/__/execa/lib/promise.js.map +1 -0
- package/lib/esm/__/execa/lib/stdio.js.map +1 -0
- package/lib/esm/__/execa/lib/stream.js +33 -0
- package/lib/esm/__/execa/lib/stream.js.map +1 -0
- package/lib/esm/__/execa/lib/verbose.js.map +1 -0
- package/lib/esm/__/fast-content-type-parse/index.js +1 -1
- package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/esm/__/is-stream/index.js.map +1 -0
- package/lib/esm/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/esm/__/npm-run-path/index.js +55 -0
- package/lib/esm/__/npm-run-path/index.js.map +1 -0
- package/lib/esm/__/path-key/index.js +1 -1
- package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/esm/__/strip-final-newline/index.js.map +1 -0
- package/lib/esm/__/tunnel/lib/tunnel.js +6 -6
- package/lib/esm/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/esm/__/undici/index.js +89 -79
- package/lib/esm/__/undici/index.js.map +1 -1
- package/lib/esm/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/esm/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-connect.js +11 -6
- package/lib/esm/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-pipeline.js +9 -7
- package/lib/esm/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-request.js +61 -27
- package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-stream.js +12 -11
- package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-upgrade.js +11 -8
- package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/esm/__/undici/lib/api/readable.js +147 -84
- package/lib/esm/__/undici/lib/api/readable.js.map +1 -1
- package/lib/esm/__/undici/lib/api/util.js +74 -27
- package/lib/esm/__/undici/lib/api/util.js.map +1 -1
- package/lib/esm/__/undici/lib/core/connect.js +83 -31
- package/lib/esm/__/undici/lib/core/connect.js.map +1 -1
- package/lib/esm/__/undici/lib/core/diagnostics.js +215 -0
- package/lib/esm/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/esm/__/undici/lib/core/errors.js +216 -21
- package/lib/esm/__/undici/lib/core/errors.js.map +1 -1
- package/lib/esm/__/undici/lib/core/request.js +105 -199
- package/lib/esm/__/undici/lib/core/request.js.map +1 -1
- package/lib/esm/__/undici/lib/core/symbols.js +10 -6
- package/lib/esm/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/esm/__/undici/lib/core/tree.js.map +1 -0
- package/lib/esm/__/undici/lib/core/util.js +318 -120
- package/lib/esm/__/undici/lib/core/util.js.map +1 -1
- package/lib/esm/__/undici/lib/dispatcher/agent.js +148 -0
- package/lib/esm/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js +643 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js +212 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js +77 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js +209 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js +124 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/global.js +1 -1
- package/lib/esm/__/undici/lib/global.js.map +1 -1
- package/lib/esm/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js +230 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/esm/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-client.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/esm/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-pool.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-utils.js +32 -16
- package/lib/esm/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/esm/__/undici/lib/util/timers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js +268 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js +702 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js +2224 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js +1061 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js +633 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js +1652 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js +709 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js +409 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js +114 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js +511 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js +616 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/esm/__/universal-user-agent/index.js.map +1 -0
- package/lib/esm/_virtual/index10.js +2 -2
- package/lib/esm/_virtual/index11.js +2 -2
- package/lib/esm/_virtual/index13.js +2 -2
- package/lib/esm/_virtual/index14.js +2 -2
- package/lib/esm/_virtual/index2.js +1 -1
- package/lib/esm/_virtual/index3.js +1 -1
- package/lib/esm/_virtual/index4.js +1 -1
- package/lib/esm/_virtual/index8.js +4 -2
- package/lib/esm/_virtual/index8.js.map +1 -1
- package/lib/esm/_virtual/index9.js +2 -4
- package/lib/esm/_virtual/index9.js.map +1 -1
- package/lib/esm/env/load.js +1 -1
- package/lib/esm/env/load.js.map +1 -1
- package/package.json +12 -12
- package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -200
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/index.js +0 -226
- package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -73
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -276
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -238
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -246
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +0 -25
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +0 -405
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +0 -114
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +0 -266
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +0 -130
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -222
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +0 -437
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +0 -427
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -80
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +0 -755
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -149
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -650
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -206
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -211
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -126
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +0 -47
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -237
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -288
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -28
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -183
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -42
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -224
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -35
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -390
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -63
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -41
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -275
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -709
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2235
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1069
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -640
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1662
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -716
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -417
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -138
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -454
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -618
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -236
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -122
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -33
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -248
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/main.js +0 -109
- package/lib/cjs/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js +0 -331
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js +0 -206
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js +0 -66
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js +0 -26
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js +0 -126
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js +0 -28
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js +0 -211
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/index.js +0 -149
- package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js +0 -35
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js +0 -29
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js +0 -63
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/agent.js +0 -169
- package/lib/cjs/__/undici/lib/agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/balanced-pool.js +0 -208
- package/lib/cjs/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cache.js +0 -867
- package/lib/cjs/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cachestorage.js +0 -161
- package/lib/cjs/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/symbols.js +0 -19
- package/lib/cjs/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/util.js +0 -69
- package/lib/cjs/__/undici/lib/cache/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/client.js +0 -2314
- package/lib/cjs/__/undici/lib/client.js.map +0 -1
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js +0 -63
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/constants.js +0 -24
- package/lib/cjs/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/index.js +0 -200
- package/lib/cjs/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/parse.js +0 -338
- package/lib/cjs/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/util.js +0 -286
- package/lib/cjs/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher-base.js +0 -208
- package/lib/cjs/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher.js +0 -37
- package/lib/cjs/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/body.js +0 -647
- package/lib/cjs/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/constants.js +0 -169
- package/lib/cjs/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/dataURL.js +0 -649
- package/lib/cjs/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/file.js +0 -369
- package/lib/cjs/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/formdata.js +0 -287
- package/lib/cjs/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/global.js +0 -52
- package/lib/cjs/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/headers.js +0 -609
- package/lib/cjs/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/index.js +0 -2114
- package/lib/cjs/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/request.js +0 -979
- package/lib/cjs/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/response.js +0 -604
- package/lib/cjs/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/util.js +0 -1170
- package/lib/cjs/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/webidl.js +0 -665
- package/lib/cjs/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/encoding.js +0 -302
- package/lib/cjs/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/filereader.js +0 -361
- package/lib/cjs/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js +0 -92
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/util.js +0 -419
- package/lib/cjs/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js +0 -47
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js +0 -226
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js +0 -358
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js +0 -35
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/cjs/__/undici/lib/node/fixed-queue.js +0 -129
- package/lib/cjs/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-base.js +0 -211
- package/lib/cjs/__/undici/lib/pool-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-stats.js +0 -49
- package/lib/cjs/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool.js +0 -127
- package/lib/cjs/__/undici/lib/pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/proxy-agent.js +0 -213
- package/lib/cjs/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/timers.js +0 -109
- package/lib/cjs/__/undici/lib/timers.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/connection.js +0 -318
- package/lib/cjs/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/constants.js +0 -63
- package/lib/cjs/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/events.js +0 -323
- package/lib/cjs/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/frame.js +0 -87
- package/lib/cjs/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/receiver.js +0 -368
- package/lib/cjs/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/symbols.js +0 -24
- package/lib/cjs/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/util.js +0 -216
- package/lib/cjs/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/websocket.js +0 -668
- package/lib/cjs/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/cjs/_virtual/api-request2.js +0 -6
- package/lib/cjs/_virtual/api-request2.js.map +0 -1
- package/lib/cjs/_virtual/constants2.js +0 -6
- package/lib/cjs/_virtual/constants2.js.map +0 -1
- package/lib/cjs/_virtual/index15.js +0 -6
- package/lib/cjs/_virtual/index15.js.map +0 -1
- package/lib/cjs/_virtual/index16.js +0 -6
- package/lib/cjs/_virtual/index16.js.map +0 -1
- package/lib/cjs/_virtual/main.js +0 -6
- package/lib/cjs/_virtual/main.js.map +0 -1
- package/lib/cjs/_virtual/mock-interceptor2.js +0 -6
- package/lib/cjs/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/cjs/_virtual/utils4.js +0 -6
- package/lib/cjs/_virtual/utils4.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -198
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/index.js +0 -220
- package/lib/esm/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -71
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -231
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -238
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +0 -23
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +0 -398
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +0 -108
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +0 -258
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +0 -128
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -215
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +0 -435
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +0 -421
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -78
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +0 -742
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -147
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -642
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -204
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -209
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +0 -45
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -230
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -286
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -26
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -181
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -40
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -222
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -33
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -383
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -56
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -39
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -702
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2224
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1061
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -633
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1652
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -709
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -409
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -132
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -447
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -612
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -229
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -115
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -26
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -241
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/main.js +0 -102
- package/lib/esm/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js +0 -324
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js +0 -204
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js +0 -64
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js +0 -24
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js +0 -124
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js +0 -26
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js +0 -209
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/index.js +0 -141
- package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stream.js +0 -33
- package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/npm-run-path/index.js +0 -55
- package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/esm/__/undici/lib/agent.js +0 -167
- package/lib/esm/__/undici/lib/agent.js.map +0 -1
- package/lib/esm/__/undici/lib/balanced-pool.js +0 -206
- package/lib/esm/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cache.js +0 -861
- package/lib/esm/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cachestorage.js +0 -159
- package/lib/esm/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/symbols.js +0 -17
- package/lib/esm/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/util.js +0 -63
- package/lib/esm/__/undici/lib/cache/util.js.map +0 -1
- package/lib/esm/__/undici/lib/client.js +0 -2305
- package/lib/esm/__/undici/lib/client.js.map +0 -1
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js +0 -61
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/constants.js +0 -22
- package/lib/esm/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/index.js +0 -198
- package/lib/esm/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/parse.js +0 -332
- package/lib/esm/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/util.js +0 -284
- package/lib/esm/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher-base.js +0 -206
- package/lib/esm/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher.js +0 -31
- package/lib/esm/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/body.js +0 -638
- package/lib/esm/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/constants.js +0 -163
- package/lib/esm/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/dataURL.js +0 -642
- package/lib/esm/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/file.js +0 -362
- package/lib/esm/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/formdata.js +0 -281
- package/lib/esm/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/global.js +0 -50
- package/lib/esm/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/headers.js +0 -602
- package/lib/esm/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/index.js +0 -2102
- package/lib/esm/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/request.js +0 -971
- package/lib/esm/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/response.js +0 -596
- package/lib/esm/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/util.js +0 -1161
- package/lib/esm/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/webidl.js +0 -659
- package/lib/esm/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/encoding.js +0 -300
- package/lib/esm/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/filereader.js +0 -359
- package/lib/esm/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/progressevent.js +0 -90
- package/lib/esm/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/util.js +0 -411
- package/lib/esm/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js +0 -45
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js +0 -219
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RetryHandler.js +0 -352
- package/lib/esm/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js +0 -33
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/esm/__/undici/lib/node/fixed-queue.js +0 -127
- package/lib/esm/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-base.js +0 -209
- package/lib/esm/__/undici/lib/pool-base.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-stats.js +0 -47
- package/lib/esm/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/esm/__/undici/lib/pool.js +0 -125
- package/lib/esm/__/undici/lib/pool.js.map +0 -1
- package/lib/esm/__/undici/lib/proxy-agent.js +0 -207
- package/lib/esm/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/esm/__/undici/lib/timers.js +0 -107
- package/lib/esm/__/undici/lib/timers.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/connection.js +0 -312
- package/lib/esm/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/constants.js +0 -61
- package/lib/esm/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/events.js +0 -317
- package/lib/esm/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/frame.js +0 -85
- package/lib/esm/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/receiver.js +0 -361
- package/lib/esm/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/symbols.js +0 -22
- package/lib/esm/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/util.js +0 -214
- package/lib/esm/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/websocket.js +0 -662
- package/lib/esm/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/esm/_virtual/api-request2.js +0 -4
- package/lib/esm/_virtual/api-request2.js.map +0 -1
- package/lib/esm/_virtual/constants2.js +0 -4
- package/lib/esm/_virtual/constants2.js.map +0 -1
- package/lib/esm/_virtual/index15.js +0 -4
- package/lib/esm/_virtual/index15.js.map +0 -1
- package/lib/esm/_virtual/index16.js +0 -4
- package/lib/esm/_virtual/index16.js.map +0 -1
- package/lib/esm/_virtual/main.js +0 -4
- package/lib/esm/_virtual/main.js.map +0 -1
- package/lib/esm/_virtual/mock-interceptor2.js +0 -4
- package/lib/esm/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/esm/_virtual/utils4.js +0 -4
- package/lib/esm/_virtual/utils4.js.map +0 -1
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
- /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/client.js"],"sourcesContent":["// @ts-check\n\n'use strict'\n\nconst assert = require('node:assert')\nconst net = require('node:net')\nconst http = require('node:http')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst Request = require('../core/request.js')\nconst DispatcherBase = require('./dispatcher-base')\nconst {\n InvalidArgumentError,\n InformationalError,\n ClientDestroyedError\n} = require('../core/errors.js')\nconst buildConnector = require('../core/connect.js')\nconst {\n kUrl,\n kServerName,\n kClient,\n kBusy,\n kConnect,\n kResuming,\n kRunning,\n kPending,\n kSize,\n kQueue,\n kConnected,\n kConnecting,\n kNeedDrain,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kConnector,\n kMaxRedirections,\n kMaxRequests,\n kCounter,\n kClose,\n kDestroy,\n kDispatch,\n kInterceptors,\n kLocalAddress,\n kMaxResponseSize,\n kOnError,\n kHTTPContext,\n kMaxConcurrentStreams,\n kResume\n} = require('../core/symbols.js')\nconst connectH1 = require('./client-h1.js')\nconst connectH2 = require('./client-h2.js')\nlet deprecatedInterceptorWarned = false\n\nconst kClosedResolve = Symbol('kClosedResolve')\n\nconst noop = () => {}\n\nfunction getPipelining (client) {\n return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1\n}\n\n/**\n * @type {import('../../types/client.js').default}\n */\nclass Client extends DispatcherBase {\n /**\n *\n * @param {string|URL} url\n * @param {import('../../types/client.js').Client.Options} options\n */\n constructor (url, {\n interceptors,\n maxHeaderSize,\n headersTimeout,\n socketTimeout,\n requestTimeout,\n connectTimeout,\n bodyTimeout,\n idleTimeout,\n keepAlive,\n keepAliveTimeout,\n maxKeepAliveTimeout,\n keepAliveMaxTimeout,\n keepAliveTimeoutThreshold,\n socketPath,\n pipelining,\n tls,\n strictContentLength,\n maxCachedSessions,\n maxRedirections,\n connect,\n maxRequestsPerClient,\n localAddress,\n maxResponseSize,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n // h2\n maxConcurrentStreams,\n allowH2\n } = {}) {\n super()\n\n if (keepAlive !== undefined) {\n throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')\n }\n\n if (socketTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (requestTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (idleTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')\n }\n\n if (maxKeepAliveTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')\n }\n\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) {\n throw new InvalidArgumentError('invalid maxHeaderSize')\n }\n\n if (socketPath != null && typeof socketPath !== 'string') {\n throw new InvalidArgumentError('invalid socketPath')\n }\n\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) {\n throw new InvalidArgumentError('invalid connectTimeout')\n }\n\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveTimeout')\n }\n\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveMaxTimeout')\n }\n\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) {\n throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold')\n }\n\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('headersTimeout must be a positive integer or zero')\n }\n\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {\n throw new InvalidArgumentError('maxRequestsPerClient must be a positive number')\n }\n\n if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) {\n throw new InvalidArgumentError('localAddress must be valid string IP address')\n }\n\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) {\n throw new InvalidArgumentError('maxResponseSize must be a positive number')\n }\n\n if (\n autoSelectFamilyAttemptTimeout != null &&\n (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)\n ) {\n throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number')\n }\n\n // h2\n if (allowH2 != null && typeof allowH2 !== 'boolean') {\n throw new InvalidArgumentError('allowH2 must be a valid boolean value')\n }\n\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) {\n throw new InvalidArgumentError('maxConcurrentStreams must be a positive integer, greater than 0')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n if (interceptors?.Client && Array.isArray(interceptors.Client)) {\n this[kInterceptors] = interceptors.Client\n if (!deprecatedInterceptorWarned) {\n deprecatedInterceptorWarned = true\n process.emitWarning('Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.', {\n code: 'UNDICI-CLIENT-INTERCEPTOR-DEPRECATED'\n })\n }\n } else {\n this[kInterceptors] = [createRedirectInterceptor({ maxRedirections })]\n }\n\n this[kUrl] = util.parseOrigin(url)\n this[kConnector] = connect\n this[kPipelining] = pipelining != null ? pipelining : 1\n this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize\n this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout\n this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout\n this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 2e3 : keepAliveTimeoutThreshold\n this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout]\n this[kServerName] = null\n this[kLocalAddress] = localAddress != null ? localAddress : null\n this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\\r\\n`\n this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3\n this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3\n this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength\n this[kMaxRedirections] = maxRedirections\n this[kMaxRequests] = maxRequestsPerClient\n this[kClosedResolve] = null\n this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1\n this[kMaxConcurrentStreams] = maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n this[kHTTPContext] = null\n\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n\n this[kQueue] = []\n this[kRunningIdx] = 0\n this[kPendingIdx] = 0\n\n this[kResume] = (sync) => resume(this, sync)\n this[kOnError] = (err) => onError(this, err)\n }\n\n get pipelining () {\n return this[kPipelining]\n }\n\n set pipelining (value) {\n this[kPipelining] = value\n this[kResume](true)\n }\n\n get [kPending] () {\n return this[kQueue].length - this[kPendingIdx]\n }\n\n get [kRunning] () {\n return this[kPendingIdx] - this[kRunningIdx]\n }\n\n get [kSize] () {\n return this[kQueue].length - this[kRunningIdx]\n }\n\n get [kConnected] () {\n return !!this[kHTTPContext] && !this[kConnecting] && !this[kHTTPContext].destroyed\n }\n\n get [kBusy] () {\n return Boolean(\n this[kHTTPContext]?.busy(null) ||\n (this[kSize] >= (getPipelining(this) || 1)) ||\n this[kPending] > 0\n )\n }\n\n /* istanbul ignore: only used for test */\n [kConnect] (cb) {\n connect(this)\n this.once('connect', cb)\n }\n\n [kDispatch] (opts, handler) {\n const origin = opts.origin || this[kUrl].origin\n const request = new Request(origin, opts, handler)\n\n this[kQueue].push(request)\n if (this[kResuming]) {\n // Do nothing.\n } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[kResuming] = 1\n queueMicrotask(() => resume(this))\n } else {\n this[kResume](true)\n }\n\n if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) {\n this[kNeedDrain] = 2\n }\n\n return this[kNeedDrain] < 2\n }\n\n async [kClose] () {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve) => {\n if (this[kSize]) {\n this[kClosedResolve] = resolve\n } else {\n resolve(null)\n }\n })\n }\n\n async [kDestroy] (err) {\n return new Promise((resolve) => {\n const requests = this[kQueue].splice(this[kPendingIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(this, request, err)\n }\n\n const callback = () => {\n if (this[kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[kClosedResolve]()\n this[kClosedResolve] = null\n }\n resolve(null)\n }\n\n if (this[kHTTPContext]) {\n this[kHTTPContext].destroy(err, callback)\n this[kHTTPContext] = null\n } else {\n queueMicrotask(callback)\n }\n\n this[kResume]()\n })\n }\n}\n\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor.js')\n\nfunction onError (client, err) {\n if (\n client[kRunning] === 0 &&\n err.code !== 'UND_ERR_INFO' &&\n err.code !== 'UND_ERR_SOCKET'\n ) {\n // Error is not caused by running request and not a recoverable\n // socket error.\n\n assert(client[kPendingIdx] === client[kRunningIdx])\n\n const requests = client[kQueue].splice(client[kRunningIdx])\n\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n assert(client[kSize] === 0)\n }\n}\n\n/**\n * @param {Client} client\n * @returns\n */\nasync function connect (client) {\n assert(!client[kConnecting])\n assert(!client[kHTTPContext])\n\n let { host, hostname, protocol, port } = client[kUrl]\n\n // Resolve ipv6\n if (hostname[0] === '[') {\n const idx = hostname.indexOf(']')\n\n assert(idx !== -1)\n const ip = hostname.substring(1, idx)\n\n assert(net.isIP(ip))\n hostname = ip\n }\n\n client[kConnecting] = true\n\n if (channels.beforeConnect.hasSubscribers) {\n channels.beforeConnect.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector]\n })\n }\n\n try {\n const socket = await new Promise((resolve, reject) => {\n client[kConnector]({\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n }, (err, socket) => {\n if (err) {\n reject(err)\n } else {\n resolve(socket)\n }\n })\n })\n\n if (client.destroyed) {\n util.destroy(socket.on('error', noop), new ClientDestroyedError())\n return\n }\n\n assert(socket)\n\n try {\n client[kHTTPContext] = socket.alpnProtocol === 'h2'\n ? await connectH2(client, socket)\n : await connectH1(client, socket)\n } catch (err) {\n socket.destroy().on('error', noop)\n throw err\n }\n\n client[kConnecting] = false\n\n socket[kCounter] = 0\n socket[kMaxRequests] = client[kMaxRequests]\n socket[kClient] = client\n socket[kError] = null\n\n if (channels.connected.hasSubscribers) {\n channels.connected.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n socket\n })\n }\n client.emit('connect', client[kUrl], [client])\n } catch (err) {\n if (client.destroyed) {\n return\n }\n\n client[kConnecting] = false\n\n if (channels.connectError.hasSubscribers) {\n channels.connectError.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n error: err\n })\n }\n\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n assert(client[kRunning] === 0)\n while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) {\n const request = client[kQueue][client[kPendingIdx]++]\n util.errorRequest(client, request, err)\n }\n } else {\n onError(client, err)\n }\n\n client.emit('connectionError', client[kUrl], [client], err)\n }\n\n client[kResume]()\n}\n\nfunction emitDrain (client) {\n client[kNeedDrain] = 0\n client.emit('drain', client[kUrl], [client])\n}\n\nfunction resume (client, sync) {\n if (client[kResuming] === 2) {\n return\n }\n\n client[kResuming] = 2\n\n _resume(client, sync)\n client[kResuming] = 0\n\n if (client[kRunningIdx] > 256) {\n client[kQueue].splice(0, client[kRunningIdx])\n client[kPendingIdx] -= client[kRunningIdx]\n client[kRunningIdx] = 0\n }\n}\n\nfunction _resume (client, sync) {\n while (true) {\n if (client.destroyed) {\n assert(client[kPending] === 0)\n return\n }\n\n if (client[kClosedResolve] && !client[kSize]) {\n client[kClosedResolve]()\n client[kClosedResolve] = null\n return\n }\n\n if (client[kHTTPContext]) {\n client[kHTTPContext].resume()\n }\n\n if (client[kBusy]) {\n client[kNeedDrain] = 2\n } else if (client[kNeedDrain] === 2) {\n if (sync) {\n client[kNeedDrain] = 1\n queueMicrotask(() => emitDrain(client))\n } else {\n emitDrain(client)\n }\n continue\n }\n\n if (client[kPending] === 0) {\n return\n }\n\n if (client[kRunning] >= (getPipelining(client) || 1)) {\n return\n }\n\n const request = client[kQueue][client[kPendingIdx]]\n\n if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) {\n if (client[kRunning] > 0) {\n return\n }\n\n client[kServerName] = request.servername\n client[kHTTPContext]?.destroy(new InformationalError('servername changed'), () => {\n client[kHTTPContext] = null\n resume(client)\n })\n }\n\n if (client[kConnecting]) {\n return\n }\n\n if (!client[kHTTPContext]) {\n connect(client)\n return\n }\n\n if (client[kHTTPContext].destroyed) {\n return\n }\n\n if (client[kHTTPContext].busy(request)) {\n return\n }\n\n if (!request.aborted && client[kHTTPContext].write(request)) {\n client[kPendingIdx]++\n } else {\n client[kQueue].splice(client[kPendingIdx], 1)\n }\n }\n}\n\nmodule.exports = Client\n"],"names":["require$$0","require$$1","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12"],"mappings":";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ACvB;AACN,KAAA;;AAEA,KAAI,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;OACzB,OAAO,CAAC,MAAM;OACd;AACN,KAAA;;AAEA,KAAI,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,SAAS,EAAE;OAClC;AACN,KAAA;;KAEI,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;OACtC;AACN,KAAA;;AAEA,KAAI,IAAI,CAAC,OAAO,CAAC,OAAO,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;OAC3D,MAAM,CAAC,WAAW,CAAC;AACzB,KAAA,CAAK,MAAM;AACX,OAAM,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;AAClD,KAAA;AACA,GAAA;AACA,CAAA;;AAEA,CAAA,MAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import { __require as requireDispatcher } from './dispatcher.js';
|
|
2
|
-
import { __require as requireErrors } from '../core/errors.js';
|
|
3
|
-
import { __require as requireSymbols } from '../core/symbols.js';
|
|
4
|
-
|
|
5
|
-
var dispatcherBase;
|
|
6
|
-
var hasRequiredDispatcherBase;
|
|
7
|
-
|
|
8
|
-
function requireDispatcherBase () {
|
|
9
|
-
if (hasRequiredDispatcherBase) return dispatcherBase;
|
|
10
|
-
hasRequiredDispatcherBase = 1;
|
|
11
|
-
|
|
12
|
-
const Dispatcher = requireDispatcher();
|
|
13
|
-
const {
|
|
14
|
-
ClientDestroyedError,
|
|
15
|
-
ClientClosedError,
|
|
16
|
-
InvalidArgumentError
|
|
17
|
-
} = requireErrors();
|
|
18
|
-
const { kDestroy, kClose, kClosed, kDestroyed, kDispatch, kInterceptors } = requireSymbols();
|
|
19
|
-
|
|
20
|
-
const kOnDestroyed = Symbol('onDestroyed');
|
|
21
|
-
const kOnClosed = Symbol('onClosed');
|
|
22
|
-
const kInterceptedDispatch = Symbol('Intercepted Dispatch');
|
|
23
|
-
|
|
24
|
-
class DispatcherBase extends Dispatcher {
|
|
25
|
-
constructor () {
|
|
26
|
-
super();
|
|
27
|
-
|
|
28
|
-
this[kDestroyed] = false;
|
|
29
|
-
this[kOnDestroyed] = null;
|
|
30
|
-
this[kClosed] = false;
|
|
31
|
-
this[kOnClosed] = [];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
get destroyed () {
|
|
35
|
-
return this[kDestroyed]
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
get closed () {
|
|
39
|
-
return this[kClosed]
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
get interceptors () {
|
|
43
|
-
return this[kInterceptors]
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
set interceptors (newInterceptors) {
|
|
47
|
-
if (newInterceptors) {
|
|
48
|
-
for (let i = newInterceptors.length - 1; i >= 0; i--) {
|
|
49
|
-
const interceptor = this[kInterceptors][i];
|
|
50
|
-
if (typeof interceptor !== 'function') {
|
|
51
|
-
throw new InvalidArgumentError('interceptor must be an function')
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
this[kInterceptors] = newInterceptors;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
close (callback) {
|
|
60
|
-
if (callback === undefined) {
|
|
61
|
-
return new Promise((resolve, reject) => {
|
|
62
|
-
this.close((err, data) => {
|
|
63
|
-
return err ? reject(err) : resolve(data)
|
|
64
|
-
});
|
|
65
|
-
})
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
if (typeof callback !== 'function') {
|
|
69
|
-
throw new InvalidArgumentError('invalid callback')
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (this[kDestroyed]) {
|
|
73
|
-
queueMicrotask(() => callback(new ClientDestroyedError(), null));
|
|
74
|
-
return
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
if (this[kClosed]) {
|
|
78
|
-
if (this[kOnClosed]) {
|
|
79
|
-
this[kOnClosed].push(callback);
|
|
80
|
-
} else {
|
|
81
|
-
queueMicrotask(() => callback(null, null));
|
|
82
|
-
}
|
|
83
|
-
return
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
this[kClosed] = true;
|
|
87
|
-
this[kOnClosed].push(callback);
|
|
88
|
-
|
|
89
|
-
const onClosed = () => {
|
|
90
|
-
const callbacks = this[kOnClosed];
|
|
91
|
-
this[kOnClosed] = null;
|
|
92
|
-
for (let i = 0; i < callbacks.length; i++) {
|
|
93
|
-
callbacks[i](null, null);
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
// Should not error.
|
|
98
|
-
this[kClose]()
|
|
99
|
-
.then(() => this.destroy())
|
|
100
|
-
.then(() => {
|
|
101
|
-
queueMicrotask(onClosed);
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
destroy (err, callback) {
|
|
106
|
-
if (typeof err === 'function') {
|
|
107
|
-
callback = err;
|
|
108
|
-
err = null;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
if (callback === undefined) {
|
|
112
|
-
return new Promise((resolve, reject) => {
|
|
113
|
-
this.destroy(err, (err, data) => {
|
|
114
|
-
return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)
|
|
115
|
-
});
|
|
116
|
-
})
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (typeof callback !== 'function') {
|
|
120
|
-
throw new InvalidArgumentError('invalid callback')
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (this[kDestroyed]) {
|
|
124
|
-
if (this[kOnDestroyed]) {
|
|
125
|
-
this[kOnDestroyed].push(callback);
|
|
126
|
-
} else {
|
|
127
|
-
queueMicrotask(() => callback(null, null));
|
|
128
|
-
}
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
if (!err) {
|
|
133
|
-
err = new ClientDestroyedError();
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
this[kDestroyed] = true;
|
|
137
|
-
this[kOnDestroyed] = this[kOnDestroyed] || [];
|
|
138
|
-
this[kOnDestroyed].push(callback);
|
|
139
|
-
|
|
140
|
-
const onDestroyed = () => {
|
|
141
|
-
const callbacks = this[kOnDestroyed];
|
|
142
|
-
this[kOnDestroyed] = null;
|
|
143
|
-
for (let i = 0; i < callbacks.length; i++) {
|
|
144
|
-
callbacks[i](null, null);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
// Should not error.
|
|
149
|
-
this[kDestroy](err).then(() => {
|
|
150
|
-
queueMicrotask(onDestroyed);
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
[kInterceptedDispatch] (opts, handler) {
|
|
155
|
-
if (!this[kInterceptors] || this[kInterceptors].length === 0) {
|
|
156
|
-
this[kInterceptedDispatch] = this[kDispatch];
|
|
157
|
-
return this[kDispatch](opts, handler)
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
let dispatch = this[kDispatch].bind(this);
|
|
161
|
-
for (let i = this[kInterceptors].length - 1; i >= 0; i--) {
|
|
162
|
-
dispatch = this[kInterceptors][i](dispatch);
|
|
163
|
-
}
|
|
164
|
-
this[kInterceptedDispatch] = dispatch;
|
|
165
|
-
return dispatch(opts, handler)
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
dispatch (opts, handler) {
|
|
169
|
-
if (!handler || typeof handler !== 'object') {
|
|
170
|
-
throw new InvalidArgumentError('handler must be an object')
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
try {
|
|
174
|
-
if (!opts || typeof opts !== 'object') {
|
|
175
|
-
throw new InvalidArgumentError('opts must be an object.')
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
if (this[kDestroyed] || this[kOnDestroyed]) {
|
|
179
|
-
throw new ClientDestroyedError()
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
if (this[kClosed]) {
|
|
183
|
-
throw new ClientClosedError()
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
return this[kInterceptedDispatch](opts, handler)
|
|
187
|
-
} catch (err) {
|
|
188
|
-
if (typeof handler.onError !== 'function') {
|
|
189
|
-
throw new InvalidArgumentError('invalid onError method')
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
handler.onError(err);
|
|
193
|
-
|
|
194
|
-
return false
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
dispatcherBase = DispatcherBase;
|
|
200
|
-
return dispatcherBase;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export { requireDispatcherBase as __require };
|
|
204
|
-
//# sourceMappingURL=dispatcher-base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher-base.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/dispatcher-base.js"],"sourcesContent":["'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst {\n ClientDestroyedError,\n ClientClosedError,\n InvalidArgumentError\n} = require('../core/errors')\nconst { kDestroy, kClose, kClosed, kDestroyed, kDispatch, kInterceptors } = require('../core/symbols')\n\nconst kOnDestroyed = Symbol('onDestroyed')\nconst kOnClosed = Symbol('onClosed')\nconst kInterceptedDispatch = Symbol('Intercepted Dispatch')\n\nclass DispatcherBase extends Dispatcher {\n constructor () {\n super()\n\n this[kDestroyed] = false\n this[kOnDestroyed] = null\n this[kClosed] = false\n this[kOnClosed] = []\n }\n\n get destroyed () {\n return this[kDestroyed]\n }\n\n get closed () {\n return this[kClosed]\n }\n\n get interceptors () {\n return this[kInterceptors]\n }\n\n set interceptors (newInterceptors) {\n if (newInterceptors) {\n for (let i = newInterceptors.length - 1; i >= 0; i--) {\n const interceptor = this[kInterceptors][i]\n if (typeof interceptor !== 'function') {\n throw new InvalidArgumentError('interceptor must be an function')\n }\n }\n }\n\n this[kInterceptors] = newInterceptors\n }\n\n close (callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.close((err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n queueMicrotask(() => callback(new ClientDestroyedError(), null))\n return\n }\n\n if (this[kClosed]) {\n if (this[kOnClosed]) {\n this[kOnClosed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n this[kClosed] = true\n this[kOnClosed].push(callback)\n\n const onClosed = () => {\n const callbacks = this[kOnClosed]\n this[kOnClosed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kClose]()\n .then(() => this.destroy())\n .then(() => {\n queueMicrotask(onClosed)\n })\n }\n\n destroy (err, callback) {\n if (typeof err === 'function') {\n callback = err\n err = null\n }\n\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.destroy(err, (err, data) => {\n return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n if (this[kOnDestroyed]) {\n this[kOnDestroyed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n if (!err) {\n err = new ClientDestroyedError()\n }\n\n this[kDestroyed] = true\n this[kOnDestroyed] = this[kOnDestroyed] || []\n this[kOnDestroyed].push(callback)\n\n const onDestroyed = () => {\n const callbacks = this[kOnDestroyed]\n this[kOnDestroyed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kDestroy](err).then(() => {\n queueMicrotask(onDestroyed)\n })\n }\n\n [kInterceptedDispatch] (opts, handler) {\n if (!this[kInterceptors] || this[kInterceptors].length === 0) {\n this[kInterceptedDispatch] = this[kDispatch]\n return this[kDispatch](opts, handler)\n }\n\n let dispatch = this[kDispatch].bind(this)\n for (let i = this[kInterceptors].length - 1; i >= 0; i--) {\n dispatch = this[kInterceptors][i](dispatch)\n }\n this[kInterceptedDispatch] = dispatch\n return dispatch(opts, handler)\n }\n\n dispatch (opts, handler) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n try {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object.')\n }\n\n if (this[kDestroyed] || this[kOnDestroyed]) {\n throw new ClientDestroyedError()\n }\n\n if (this[kClosed]) {\n throw new ClientClosedError()\n }\n\n return this[kInterceptedDispatch](opts, handler)\n } catch (err) {\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n handler.onError(err)\n\n return false\n }\n }\n}\n\nmodule.exports = DispatcherBase\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;AAEA,CAAA,MAAM,UAAU,GAAGA,iBAAA;CACnB,MAAM;AACN,GAAE,oBAAoB;AACtB,GAAE,iBAAiB;GACjB;AACF,EAAC,GAAGC,aAAA;AACJ,CAAA,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,GAAGC,cAAA;;AAE5E,CAAA,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa;AACzC,CAAA,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU;AACnC,CAAA,MAAM,oBAAoB,GAAG,MAAM,CAAC,sBAAsB;;CAE1D,MAAM,cAAc,SAAS,UAAU,CAAC;GACtC,WAAW,CAAC,GAAG;AACjB,KAAI,KAAK;;AAET,KAAI,IAAI,CAAC,UAAU,CAAC,GAAG;AACvB,KAAI,IAAI,CAAC,YAAY,CAAC,GAAG;AACzB,KAAI,IAAI,CAAC,OAAO,CAAC,GAAG;AACpB,KAAI,IAAI,CAAC,SAAS,CAAC,GAAG;AACtB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AAG,EAAE;AAClB,OAAM,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,UAAU,EAAE;AACjD,SAAQ,MAAM,IAAI,oBAAoB,CAAC,wBAAwB;AAC/D,OAAA;;AAEA,OAAM,OAAO,CAAC,OAAO,CAAC,GAAG;;AAEzB,OAAM,OAAO;AACb,KAAA;AACA,GAAA;AACA;;AAEA,CAAA,cAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import require$$0 from 'node:events';
|
|
2
|
-
|
|
3
|
-
var dispatcher;
|
|
4
|
-
var hasRequiredDispatcher;
|
|
5
|
-
|
|
6
|
-
function requireDispatcher () {
|
|
7
|
-
if (hasRequiredDispatcher) return dispatcher;
|
|
8
|
-
hasRequiredDispatcher = 1;
|
|
9
|
-
const EventEmitter = require$$0;
|
|
10
|
-
|
|
11
|
-
class Dispatcher extends EventEmitter {
|
|
12
|
-
dispatch () {
|
|
13
|
-
throw new Error('not implemented')
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
close () {
|
|
17
|
-
throw new Error('not implemented')
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
destroy () {
|
|
21
|
-
throw new Error('not implemented')
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
compose (...args) {
|
|
25
|
-
// So we handle [interceptor1, interceptor2] or interceptor1, interceptor2, ...
|
|
26
|
-
const interceptors = Array.isArray(args[0]) ? args[0] : args;
|
|
27
|
-
let dispatch = this.dispatch.bind(this);
|
|
28
|
-
|
|
29
|
-
for (const interceptor of interceptors) {
|
|
30
|
-
if (interceptor == null) {
|
|
31
|
-
continue
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (typeof interceptor !== 'function') {
|
|
35
|
-
throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
dispatch = interceptor(dispatch);
|
|
39
|
-
|
|
40
|
-
if (dispatch == null || typeof dispatch !== 'function' || dispatch.length !== 2) {
|
|
41
|
-
throw new TypeError('invalid interceptor')
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
return new ComposedDispatcher(this, dispatch)
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
class ComposedDispatcher extends Dispatcher {
|
|
50
|
-
#dispatcher = null
|
|
51
|
-
#dispatch = null
|
|
52
|
-
|
|
53
|
-
constructor (dispatcher, dispatch) {
|
|
54
|
-
super();
|
|
55
|
-
this.#dispatcher = dispatcher;
|
|
56
|
-
this.#dispatch = dispatch;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
dispatch (...args) {
|
|
60
|
-
this.#dispatch(...args);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
close (...args) {
|
|
64
|
-
return this.#dispatcher.close(...args)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
destroy (...args) {
|
|
68
|
-
return this.#dispatcher.destroy(...args)
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
dispatcher = Dispatcher;
|
|
73
|
-
return dispatcher;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export { requireDispatcher as __require };
|
|
77
|
-
//# sourceMappingURL=dispatcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/dispatcher.js"],"sourcesContent":["'use strict'\nconst EventEmitter = require('node:events')\n\nclass Dispatcher extends EventEmitter {\n dispatch () {\n throw new Error('not implemented')\n }\n\n close () {\n throw new Error('not implemented')\n }\n\n destroy () {\n throw new Error('not implemented')\n }\n\n compose (...args) {\n // So we handle [interceptor1, interceptor2] or interceptor1, interceptor2, ...\n const interceptors = Array.isArray(args[0]) ? args[0] : args\n let dispatch = this.dispatch.bind(this)\n\n for (const interceptor of interceptors) {\n if (interceptor == null) {\n continue\n }\n\n if (typeof interceptor !== 'function') {\n throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`)\n }\n\n dispatch = interceptor(dispatch)\n\n if (dispatch == null || typeof dispatch !== 'function' || dispatch.length !== 2) {\n throw new TypeError('invalid interceptor')\n }\n }\n\n return new ComposedDispatcher(this, dispatch)\n }\n}\n\nclass ComposedDispatcher extends Dispatcher {\n #dispatcher = null\n #dispatch = null\n\n constructor (dispatcher, dispatch) {\n super()\n this.#dispatcher = dispatcher\n this.#dispatch = dispatch\n }\n\n dispatch (...args) {\n this.#dispatch(...args)\n }\n\n close (...args) {\n return this.#dispatcher.close(...args)\n }\n\n destroy (...args) {\n return this.#dispatcher.destroy(...args)\n }\n}\n\nmodule.exports = Dispatcher\n"],"names":[],"mappings":";;;;;;;;AACA,CAAA,MAAM,YAAY,GAAG;;CAErB,MAAM,UAAU,SAAS,YAAY,CAAC;GACpC,QAAQ,CAAC,GAAG;AACd,KAAI,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACrC,GAAA;;GAEE,KAAK,CAAC,GAAG;AACX,KAAI,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACrC,GAAA;;GAEE,OAAO,CAAC,GAAG;AACb,KAAI,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACrC,GAAA;;AAEA,GAAE,OAAO,CAAC,CAAC,GAAG,IAAI,EAAE;AACpB;AACA,KAAI,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG;KACxD,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI;;AAE1C,KAAI,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;AAC5C,OAAM,IAAI,WAAW,IAAI,IAAI,EAAE;SACvB;AACR,OAAA;;AAEA,OAAM,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;SACrC,MAAM,IAAI,SAAS,CAAC,CAAC,gDAAgD,EAAE,OAAO,WAAW,CAAC,CAAC;AACnG,OAAA;;AAEA,OAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ;;AAErC,OAAM,IAAI,QAAQ,IAAI,IAAI,IAAI,OAAO,QAAQ,KAAK,UAAU,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;AACvF,SAAQ,MAAM,IAAI,SAAS,CAAC,qBAAqB;AACjD,OAAA;AACA,KAAA;;AAEA,KAAI,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,QAAQ;AAChD,GAAA;AACA;;CAEA,MAAM,kBAAkB,SAAS,UAAU,CAAC;AAC5C,GAAE,WAAW,GAAG;AAChB,GAAE,SAAS,GAAG;;AAEd,GAAE,WAAW,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE;AACrC,KAAI,KAAK;KACL,IAAI,CAAC,WAAW,GAAG;KACnB,IAAI,CAAC,SAAS,GAAG;AACrB,GAAA;;AAEA,GAAE,QAAQ,CAAC,CAAC,GAAG,IAAI,EAAE;AACrB,KAAI,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI;AAC1B,GAAA;;AAEA,GAAE,KAAK,CAAC,CAAC,GAAG,IAAI,EAAE;KACd,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,IAAI;AACzC,GAAA;;AAEA,GAAE,OAAO,CAAC,CAAC,GAAG,IAAI,EAAE;KAChB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;AAC3C,GAAA;AACA;;AAEA,CAAA,UAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env-http-proxy-agent.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js"],"sourcesContent":["'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require('../core/symbols')\nconst ProxyAgent = require('./proxy-agent')\nconst Agent = require('./agent')\n\nconst DEFAULT_PORTS = {\n 'http:': 80,\n 'https:': 443\n}\n\nlet experimentalWarned = false\n\nclass EnvHttpProxyAgent extends DispatcherBase {\n #noProxyValue = null\n #noProxyEntries = null\n #opts = null\n\n constructor (opts = {}) {\n super()\n this.#opts = opts\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EnvHttpProxyAgent is experimental, expect them to change at any time.', {\n code: 'UNDICI-EHPA'\n })\n }\n\n const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts\n\n this[kNoProxyAgent] = new Agent(agentOpts)\n\n const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY\n if (HTTP_PROXY) {\n this[kHttpProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTP_PROXY })\n } else {\n this[kHttpProxyAgent] = this[kNoProxyAgent]\n }\n\n const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY\n if (HTTPS_PROXY) {\n this[kHttpsProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTPS_PROXY })\n } else {\n this[kHttpsProxyAgent] = this[kHttpProxyAgent]\n }\n\n this.#parseNoProxy()\n }\n\n [kDispatch] (opts, handler) {\n const url = new URL(opts.origin)\n const agent = this.#getProxyAgentForUrl(url)\n return agent.dispatch(opts, handler)\n }\n\n async [kClose] () {\n await this[kNoProxyAgent].close()\n if (!this[kHttpProxyAgent][kClosed]) {\n await this[kHttpProxyAgent].close()\n }\n if (!this[kHttpsProxyAgent][kClosed]) {\n await this[kHttpsProxyAgent].close()\n }\n }\n\n async [kDestroy] (err) {\n await this[kNoProxyAgent].destroy(err)\n if (!this[kHttpProxyAgent][kDestroyed]) {\n await this[kHttpProxyAgent].destroy(err)\n }\n if (!this[kHttpsProxyAgent][kDestroyed]) {\n await this[kHttpsProxyAgent].destroy(err)\n }\n }\n\n #getProxyAgentForUrl (url) {\n let { protocol, host: hostname, port } = url\n\n // Stripping ports in this way instead of using parsedUrl.hostname to make\n // sure that the brackets around IPv6 addresses are kept.\n hostname = hostname.replace(/:\\d*$/, '').toLowerCase()\n port = Number.parseInt(port, 10) || DEFAULT_PORTS[protocol] || 0\n if (!this.#shouldProxy(hostname, port)) {\n return this[kNoProxyAgent]\n }\n if (protocol === 'https:') {\n return this[kHttpsProxyAgent]\n }\n return this[kHttpProxyAgent]\n }\n\n #shouldProxy (hostname, port) {\n if (this.#noProxyChanged) {\n this.#parseNoProxy()\n }\n\n if (this.#noProxyEntries.length === 0) {\n return true // Always proxy if NO_PROXY is not set or empty.\n }\n if (this.#noProxyValue === '*') {\n return false // Never proxy if wildcard is set.\n }\n\n for (let i = 0; i < this.#noProxyEntries.length; i++) {\n const entry = this.#noProxyEntries[i]\n if (entry.port && entry.port !== port) {\n continue // Skip if ports don't match.\n }\n if (!/^[.*]/.test(entry.hostname)) {\n // No wildcards, so don't proxy only if there is not an exact match.\n if (hostname === entry.hostname) {\n return false\n }\n } else {\n // Don't proxy if the hostname ends with the no_proxy host.\n if (hostname.endsWith(entry.hostname.replace(/^\\*/, ''))) {\n return false\n }\n }\n }\n\n return true\n }\n\n #parseNoProxy () {\n const noProxyValue = this.#opts.noProxy ?? this.#noProxyEnv\n const noProxySplit = noProxyValue.split(/[,\\s]/)\n const noProxyEntries = []\n\n for (let i = 0; i < noProxySplit.length; i++) {\n const entry = noProxySplit[i]\n if (!entry) {\n continue\n }\n const parsed = entry.match(/^(.+):(\\d+)$/)\n noProxyEntries.push({\n hostname: (parsed ? parsed[1] : entry).toLowerCase(),\n port: parsed ? Number.parseInt(parsed[2], 10) : 0\n })\n }\n\n this.#noProxyValue = noProxyValue\n this.#noProxyEntries = noProxyEntries\n }\n\n get #noProxyChanged () {\n if (this.#opts.noProxy !== undefined) {\n return false\n }\n return this.#noProxyValue !== this.#noProxyEnv\n }\n\n get #noProxyEnv () {\n return process.env.no_proxy ?? process.env.NO_PROXY ?? ''\n }\n}\n\nmodule.exports = EnvHttpProxyAgent\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;AAEA,CAAA,MAAM,cAAc,GAAGA,qBAAA;AACvB,CAAA,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAGC,cAAA;AAC/G,CAAA,MAAM,UAAU,GAAGC,iBAAA;AACnB,CAAA,MAAM,KAAK,GAAGC,YAAA;;AAEd,CAAA,MAAM,aAAa,GAAG;GACpB,OAAO,EAAE,EAAE;AACb,GAAE,QAAQ,EAAE;AACZ;;AAEA,CAAA,IAAI,kBAAkB,GAAG;;CAEzB,MAAM,iBAAiB,SAAS,cAAc,CAAC;AAC/C,GAAE,aAAa,GAAG;AAClB,GAAE,eAAe,GAAG;AACpB,GAAE,KAAK,GAAG;;AAEV,GAAE,WAAW,CAAC,CAAC,IAAI,GAAG,EAAE,EAAE;AAC1B,KAAI,KAAK;KACL,IAAI,CAAC,KAAK,GAAG;;KAEb,IAAI,CAAC,kBAAkB,EAAE;AAC7B,OAAM,kBAAkB,GAAG;AAC3B,OAAM,OAAO,CAAC,WAAW,CAAC,uEAAuE,EAAE;AACnG,SAAQ,IAAI,EAAE;QACP;AACP,KAAA;;KAEI,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,GAAG;;KAEzD,IAAI,CAAC,aAAa,CAAC,GAAG,IAAI,KAAK,CAAC,SAAS;;AAE7C,KAAI,MAAM,UAAU,GAAG,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC;KACtE,IAAI,UAAU,EAAE;AACpB,OAAM,IAAI,CAAC,eAA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KAAK,EAAE,WAAW,EAAE;AAC5D,SAAQ,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG;QACjD;AACP,KAAA;;KAEI,IAAI,CAAC,aAAa,GAAG;KACrB,IAAI,CAAC,eAAe,GAAG;AAC3B,GAAA;;GAEE,IAAI,eAAe,CAAC,GAAG;KACrB,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE;AAC1C,OAAM,OAAO;AACb,KAAA;AACA,KAAI,OAAO,IAAI,CAAC,aAAa,KAAK,IAAI,CAAC;AACvC,GAAA;;GAEE,IAAI,WAAW,CAAC,GAAG;AACrB,KAAI,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI;AAC3D,GAAA;AACA;;AAEA,CAAA,iBAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fixed-queue.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/fixed-queue.js"],"sourcesContent":["/* eslint-disable */\n\n'use strict'\n\n// Extracted from node/lib/internal/fixed_queue.js\n\n// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\nconst kSize = 2048;\nconst kMask = kSize - 1;\n\n// The FixedQueue is implemented as a singly-linked list of fixed-size\n// circular buffers. It looks something like this:\n//\n// head tail\n// | |\n// v v\n// +-----------+ <-----\\ +-----------+ <------\\ +-----------+\n// | [null] | \\----- | next | \\------- | next |\n// +-----------+ +-----------+ +-----------+\n// | item | <-- bottom | item | <-- bottom | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | bottom --> | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n"],"names":[],"mappings":";;;;;;;;;AAIA;;AAEA;CACA,MAAM,KAAK,GAAG,IAAI;AAClB,CAAA,MAAM,KAAK,G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KAAI,OAAO,QAAQ;AACnB,GAAA;AACA;;AAEA,CAAA,UAAc,GAAG,MAAM,UAAU,CAAC;AAClC,GAAE,WAAW,GAAG;KACZ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAmB,EAAE;AACrD,GAAA;;AAEA,GAAE,OAAO,GAAG;AACZ,KAAI,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AAC9B,GAAA;;GAEE,IAAI,CAAC,IAAI,EAAE;AACb,KAAI,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE;AAC5B;AACA;AACA,OAAM,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAmB,EAAE;AAC5D,KAAA;AACA,KAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,GAAA;;AAEA,GAAE,KAAK,GAAG;AACV,KAAI,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI;AAC1B,KAAI,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE;KACzB,IAAI,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;AAC9C;AACA,OAAM,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI;AAC3B,KAAA;AACA,KAAI,OAAO,IAAI;AACf,GAAA;EACC;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { __require as requireDispatcherBase } from './dispatcher-base.js';
|
|
2
|
-
import { __require as requireFixedQueue } from './fixed-queue.js';
|
|
3
|
-
import { __require as requireSymbols } from '../core/symbols.js';
|
|
4
|
-
import { __require as requirePoolStats } from './pool-stats.js';
|
|
5
|
-
|
|
6
|
-
var poolBase;
|
|
7
|
-
var hasRequiredPoolBase;
|
|
8
|
-
|
|
9
|
-
function requirePoolBase () {
|
|
10
|
-
if (hasRequiredPoolBase) return poolBase;
|
|
11
|
-
hasRequiredPoolBase = 1;
|
|
12
|
-
|
|
13
|
-
const DispatcherBase = requireDispatcherBase();
|
|
14
|
-
const FixedQueue = requireFixedQueue();
|
|
15
|
-
const { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = requireSymbols();
|
|
16
|
-
const PoolStats = requirePoolStats();
|
|
17
|
-
|
|
18
|
-
const kClients = Symbol('clients');
|
|
19
|
-
const kNeedDrain = Symbol('needDrain');
|
|
20
|
-
const kQueue = Symbol('queue');
|
|
21
|
-
const kClosedResolve = Symbol('closed resolve');
|
|
22
|
-
const kOnDrain = Symbol('onDrain');
|
|
23
|
-
const kOnConnect = Symbol('onConnect');
|
|
24
|
-
const kOnDisconnect = Symbol('onDisconnect');
|
|
25
|
-
const kOnConnectionError = Symbol('onConnectionError');
|
|
26
|
-
const kGetDispatcher = Symbol('get dispatcher');
|
|
27
|
-
const kAddClient = Symbol('add client');
|
|
28
|
-
const kRemoveClient = Symbol('remove client');
|
|
29
|
-
const kStats = Symbol('stats');
|
|
30
|
-
|
|
31
|
-
class PoolBase extends DispatcherBase {
|
|
32
|
-
constructor () {
|
|
33
|
-
super();
|
|
34
|
-
|
|
35
|
-
this[kQueue] = new FixedQueue();
|
|
36
|
-
this[kClients] = [];
|
|
37
|
-
this[kQueued] = 0;
|
|
38
|
-
|
|
39
|
-
const pool = this;
|
|
40
|
-
|
|
41
|
-
this[kOnDrain] = function onDrain (origin, targets) {
|
|
42
|
-
const queue = pool[kQueue];
|
|
43
|
-
|
|
44
|
-
let needDrain = false;
|
|
45
|
-
|
|
46
|
-
while (!needDrain) {
|
|
47
|
-
const item = queue.shift();
|
|
48
|
-
if (!item) {
|
|
49
|
-
break
|
|
50
|
-
}
|
|
51
|
-
pool[kQueued]--;
|
|
52
|
-
needDrain = !this.dispatch(item.opts, item.handler);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
this[kNeedDrain] = needDrain;
|
|
56
|
-
|
|
57
|
-
if (!this[kNeedDrain] && pool[kNeedDrain]) {
|
|
58
|
-
pool[kNeedDrain] = false;
|
|
59
|
-
pool.emit('drain', origin, [pool, ...targets]);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (pool[kClosedResolve] && queue.isEmpty()) {
|
|
63
|
-
Promise
|
|
64
|
-
.all(pool[kClients].map(c => c.close()))
|
|
65
|
-
.then(pool[kClosedResolve]);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
this[kOnConnect] = (origin, targets) => {
|
|
70
|
-
pool.emit('connect', origin, [pool, ...targets]);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
this[kOnDisconnect] = (origin, targets, err) => {
|
|
74
|
-
pool.emit('disconnect', origin, [pool, ...targets], err);
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
this[kOnConnectionError] = (origin, targets, err) => {
|
|
78
|
-
pool.emit('connectionError', origin, [pool, ...targets], err);
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
this[kStats] = new PoolStats(this);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
get [kBusy] () {
|
|
85
|
-
return this[kNeedDrain]
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
get [kConnected] () {
|
|
89
|
-
return this[kClients].filter(client => client[kConnected]).length
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
get [kFree] () {
|
|
93
|
-
return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
get [kPending] () {
|
|
97
|
-
let ret = this[kQueued];
|
|
98
|
-
for (const { [kPending]: pending } of this[kClients]) {
|
|
99
|
-
ret += pending;
|
|
100
|
-
}
|
|
101
|
-
return ret
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
get [kRunning] () {
|
|
105
|
-
let ret = 0;
|
|
106
|
-
for (const { [kRunning]: running } of this[kClients]) {
|
|
107
|
-
ret += running;
|
|
108
|
-
}
|
|
109
|
-
return ret
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
get [kSize] () {
|
|
113
|
-
let ret = this[kQueued];
|
|
114
|
-
for (const { [kSize]: size } of this[kClients]) {
|
|
115
|
-
ret += size;
|
|
116
|
-
}
|
|
117
|
-
return ret
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
get stats () {
|
|
121
|
-
return this[kStats]
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
async [kClose] () {
|
|
125
|
-
if (this[kQueue].isEmpty()) {
|
|
126
|
-
await Promise.all(this[kClients].map(c => c.close()));
|
|
127
|
-
} else {
|
|
128
|
-
await new Promise((resolve) => {
|
|
129
|
-
this[kClosedResolve] = resolve;
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
async [kDestroy] (err) {
|
|
135
|
-
while (true) {
|
|
136
|
-
const item = this[kQueue].shift();
|
|
137
|
-
if (!item) {
|
|
138
|
-
break
|
|
139
|
-
}
|
|
140
|
-
item.handler.onError(err);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
await Promise.all(this[kClients].map(c => c.destroy(err)));
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
[kDispatch] (opts, handler) {
|
|
147
|
-
const dispatcher = this[kGetDispatcher]();
|
|
148
|
-
|
|
149
|
-
if (!dispatcher) {
|
|
150
|
-
this[kNeedDrain] = true;
|
|
151
|
-
this[kQueue].push({ opts, handler });
|
|
152
|
-
this[kQueued]++;
|
|
153
|
-
} else if (!dispatcher.dispatch(opts, handler)) {
|
|
154
|
-
dispatcher[kNeedDrain] = true;
|
|
155
|
-
this[kNeedDrain] = !this[kGetDispatcher]();
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return !this[kNeedDrain]
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
[kAddClient] (client) {
|
|
162
|
-
client
|
|
163
|
-
.on('drain', this[kOnDrain])
|
|
164
|
-
.on('connect', this[kOnConnect])
|
|
165
|
-
.on('disconnect', this[kOnDisconnect])
|
|
166
|
-
.on('connectionError', this[kOnConnectionError]);
|
|
167
|
-
|
|
168
|
-
this[kClients].push(client);
|
|
169
|
-
|
|
170
|
-
if (this[kNeedDrain]) {
|
|
171
|
-
queueMicrotask(() => {
|
|
172
|
-
if (this[kNeedDrain]) {
|
|
173
|
-
this[kOnDrain](client[kUrl], [this, client]);
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
return this
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
[kRemoveClient] (client) {
|
|
182
|
-
client.close(() => {
|
|
183
|
-
const idx = this[kClients].indexOf(client);
|
|
184
|
-
if (idx !== -1) {
|
|
185
|
-
this[kClients].splice(idx, 1);
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
|
|
189
|
-
this[kNeedDrain] = this[kClients].some(dispatcher => (
|
|
190
|
-
!dispatcher[kNeedDrain] &&
|
|
191
|
-
dispatcher.closed !== true &&
|
|
192
|
-
dispatcher.destroyed !== true
|
|
193
|
-
));
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
poolBase = {
|
|
198
|
-
PoolBase,
|
|
199
|
-
kClients,
|
|
200
|
-
kNeedDrain,
|
|
201
|
-
kAddClient,
|
|
202
|
-
kRemoveClient,
|
|
203
|
-
kGetDispatcher
|
|
204
|
-
};
|
|
205
|
-
return poolBase;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export { requirePoolBase as __require };
|
|
209
|
-
//# sourceMappingURL=pool-base.js.map
|