@relative-ci/core 5.3.0-beta.1 → 5.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/__/@actions/http-client/__/undici/index.js +226 -0
- package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +73 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +131 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +276 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +238 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +246 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +131 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +25 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +405 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +114 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +266 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +130 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +222 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +418 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +80 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js +166 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +755 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +149 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +227 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1397 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +768 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +650 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +206 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +177 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +129 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +211 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +49 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +126 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +299 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +50 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +47 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +56 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +237 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +395 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js +397 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js +139 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +35 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +38 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js +33 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +288 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +23 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +23 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +28 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +183 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +42 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +224 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +35 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +390 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +63 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +41 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js +435 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js +886 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +169 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +19 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js +65 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +24 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js +201 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +338 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js +294 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +508 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +49 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js +560 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +136 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +762 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +60 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js +146 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +499 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +275 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js +52 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +709 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2235 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1069 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +640 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +21 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1662 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +716 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +302 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +361 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +92 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +22 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +391 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +78 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js +350 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +110 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +89 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +451 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +120 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +24 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js +336 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +618 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
- 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/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
- 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/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
- 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/__/{env-ci/__/execa → execa}/index.js +3 -3
- 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/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
- package/lib/cjs/__/execa/lib/stream.js.map +1 -0
- package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
- 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 +151 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -0
- package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/cjs/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
- 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/__/undici/index.js +1 -1
- package/lib/cjs/__/undici/lib/api/api-connect.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-pipeline.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-request.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-stream.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-upgrade.js +3 -3
- package/lib/cjs/__/undici/lib/core/util.js +14 -14
- package/lib/cjs/__/undici/lib/fetch/body.js +8 -8
- package/lib/cjs/__/undici/lib/fetch/constants.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/dataURL.js +5 -5
- package/lib/cjs/__/undici/lib/fetch/file.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/formdata.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/index.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/index.js.map +1 -1
- package/lib/cjs/__/undici/lib/fetch/util.js +6 -6
- package/lib/cjs/__/undici/lib/fileapi/util.js +6 -6
- package/lib/cjs/__/undici/lib/websocket/events.js +3 -3
- package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
- package/lib/cjs/_virtual/api-request2.js +6 -0
- package/lib/cjs/_virtual/api-request2.js.map +1 -0
- package/lib/cjs/_virtual/constants2.js +6 -0
- package/lib/cjs/_virtual/constants2.js.map +1 -0
- package/lib/cjs/_virtual/index10.js +2 -2
- package/lib/cjs/_virtual/index11.js +2 -2
- package/lib/cjs/_virtual/index14.js +2 -2
- package/lib/cjs/_virtual/index15.js +6 -0
- package/lib/cjs/_virtual/index15.js.map +1 -0
- package/lib/cjs/_virtual/index16.js +6 -0
- package/lib/cjs/_virtual/index16.js.map +1 -0
- 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/_virtual/mock-interceptor2.js +6 -0
- package/lib/cjs/_virtual/mock-interceptor2.js.map +1 -0
- package/lib/cjs/_virtual/utils4.js +6 -0
- package/lib/cjs/_virtual/utils4.js.map +1 -0
- package/lib/cjs/env/load.js +1 -1
- package/lib/cjs/env/load.js.map +1 -1
- package/lib/esm/__/@actions/http-client/__/undici/index.js +220 -0
- package/lib/esm/__/@actions/http-client/__/undici/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +71 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +268 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +231 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +238 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +23 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +398 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +108 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +258 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +128 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +215 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +416 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +411 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +78 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js +164 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +742 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +147 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +225 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1391 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +761 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +642 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +204 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +175 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +127 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +209 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +47 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +293 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +48 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +45 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +54 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +230 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +389 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js +390 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js +137 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +33 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +36 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js +31 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +286 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +26 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +181 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +40 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +222 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +33 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +383 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +56 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +39 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js +433 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js +880 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +167 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js +59 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +22 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js +199 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +332 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js +292 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +411 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +502 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +47 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js +551 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +134 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +756 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +58 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js +140 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +492 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +268 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js +50 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +702 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2224 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1061 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +633 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +19 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1652 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +709 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +300 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +359 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +90 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +20 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +409 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +389 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +76 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js +344 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +108 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +83 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +444 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +118 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +22 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js +330 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +612 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
- 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/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
- 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/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
- 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/__/{env-ci/__/execa → execa}/index.js +1 -1
- 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/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
- package/lib/esm/__/execa/lib/stream.js.map +1 -0
- package/lib/esm/__/execa/lib/verbose.js.map +1 -0
- 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/__/java-properties/dist-node/index.js +1 -1
- package/lib/esm/__/json-with-bigint/json-with-bigint.js +148 -0
- package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -0
- package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/esm/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
- 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/__/undici/index.js +1 -1
- package/lib/esm/__/undici/lib/api/api-connect.js +2 -2
- package/lib/esm/__/undici/lib/api/api-pipeline.js +2 -2
- package/lib/esm/__/undici/lib/api/api-request.js +2 -2
- package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-stream.js +2 -2
- package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-upgrade.js +2 -2
- package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/esm/__/undici/lib/core/util.js +10 -10
- package/lib/esm/__/undici/lib/core/util.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/body.js +6 -6
- package/lib/esm/__/undici/lib/fetch/body.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/constants.js +2 -2
- package/lib/esm/__/undici/lib/fetch/constants.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/dataURL.js +4 -4
- package/lib/esm/__/undici/lib/fetch/dataURL.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/file.js +2 -2
- package/lib/esm/__/undici/lib/fetch/file.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/formdata.js +2 -2
- package/lib/esm/__/undici/lib/fetch/index.js +2 -2
- package/lib/esm/__/undici/lib/fetch/index.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/util.js +4 -4
- package/lib/esm/__/undici/lib/fetch/util.js.map +1 -1
- package/lib/esm/__/undici/lib/fileapi/util.js +4 -4
- package/lib/esm/__/undici/lib/fileapi/util.js.map +1 -1
- package/lib/esm/__/undici/lib/websocket/events.js +2 -2
- package/lib/esm/__/universal-user-agent/index.js.map +1 -0
- package/lib/esm/_virtual/api-request2.js +4 -0
- package/lib/esm/_virtual/api-request2.js.map +1 -0
- package/lib/esm/_virtual/constants2.js +4 -0
- package/lib/esm/_virtual/constants2.js.map +1 -0
- package/lib/esm/_virtual/index10.js +4 -2
- package/lib/esm/_virtual/index10.js.map +1 -1
- package/lib/esm/_virtual/index11.js +2 -2
- package/lib/esm/_virtual/index14.js +2 -2
- package/lib/esm/_virtual/index15.js +4 -0
- package/lib/esm/_virtual/index15.js.map +1 -0
- package/lib/esm/_virtual/index16.js +4 -0
- package/lib/esm/_virtual/index16.js.map +1 -0
- 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/index5.js +2 -6
- package/lib/esm/_virtual/index5.js.map +1 -1
- package/lib/esm/_virtual/index6.js +6 -2
- package/lib/esm/_virtual/index6.js.map +1 -1
- package/lib/esm/_virtual/index8.js +2 -4
- package/lib/esm/_virtual/index8.js.map +1 -1
- package/lib/esm/_virtual/index9.js +2 -2
- package/lib/esm/_virtual/mock-interceptor2.js +4 -0
- package/lib/esm/_virtual/mock-interceptor2.js.map +1 -0
- package/lib/esm/_virtual/utils4.js +4 -0
- package/lib/esm/_virtual/utils4.js.map +1 -0
- package/lib/esm/env/load.js +1 -1
- package/lib/esm/env/load.js.map +1 -1
- package/lib/types/env/load.d.ts +5 -5
- package/lib/types/utils/log-response.d.ts +5 -5
- package/lib/types/utils/logger.d.ts +5 -5
- package/package.json +9 -9
- 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.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/__/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.map +0 -1
- 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.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/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.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/__/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.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.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/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}/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/__/execa → execa}/lib/verbose.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/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}/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/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
var fixedQueue;
|
|
4
|
+
var hasRequiredFixedQueue;
|
|
5
|
+
|
|
6
|
+
function requireFixedQueue () {
|
|
7
|
+
if (hasRequiredFixedQueue) return fixedQueue;
|
|
8
|
+
hasRequiredFixedQueue = 1;
|
|
9
|
+
|
|
10
|
+
// Extracted from node/lib/internal/fixed_queue.js
|
|
11
|
+
|
|
12
|
+
// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.
|
|
13
|
+
const kSize = 2048;
|
|
14
|
+
const kMask = kSize - 1;
|
|
15
|
+
|
|
16
|
+
// The FixedQueue is implemented as a singly-linked list of fixed-size
|
|
17
|
+
// circular buffers. It looks something like this:
|
|
18
|
+
//
|
|
19
|
+
// head tail
|
|
20
|
+
// | |
|
|
21
|
+
// v v
|
|
22
|
+
// +-----------+ <-----\ +-----------+ <------\ +-----------+
|
|
23
|
+
// | [null] | \----- | next | \------- | next |
|
|
24
|
+
// +-----------+ +-----------+ +-----------+
|
|
25
|
+
// | item | <-- bottom | item | <-- bottom | [empty] |
|
|
26
|
+
// | item | | item | | [empty] |
|
|
27
|
+
// | item | | item | | [empty] |
|
|
28
|
+
// | item | | item | | [empty] |
|
|
29
|
+
// | item | | item | bottom --> | item |
|
|
30
|
+
// | item | | item | | item |
|
|
31
|
+
// | ... | | ... | | ... |
|
|
32
|
+
// | item | | item | | item |
|
|
33
|
+
// | item | | item | | item |
|
|
34
|
+
// | [empty] | <-- top | item | | item |
|
|
35
|
+
// | [empty] | | item | | item |
|
|
36
|
+
// | [empty] | | [empty] | <-- top top --> | [empty] |
|
|
37
|
+
// +-----------+ +-----------+ +-----------+
|
|
38
|
+
//
|
|
39
|
+
// Or, if there is only one circular buffer, it looks something
|
|
40
|
+
// like either of these:
|
|
41
|
+
//
|
|
42
|
+
// head tail head tail
|
|
43
|
+
// | | | |
|
|
44
|
+
// v v v v
|
|
45
|
+
// +-----------+ +-----------+
|
|
46
|
+
// | [null] | | [null] |
|
|
47
|
+
// +-----------+ +-----------+
|
|
48
|
+
// | [empty] | | item |
|
|
49
|
+
// | [empty] | | item |
|
|
50
|
+
// | item | <-- bottom top --> | [empty] |
|
|
51
|
+
// | item | | [empty] |
|
|
52
|
+
// | [empty] | <-- top bottom --> | item |
|
|
53
|
+
// | [empty] | | item |
|
|
54
|
+
// +-----------+ +-----------+
|
|
55
|
+
//
|
|
56
|
+
// Adding a value means moving `top` forward by one, removing means
|
|
57
|
+
// moving `bottom` forward by one. After reaching the end, the queue
|
|
58
|
+
// wraps around.
|
|
59
|
+
//
|
|
60
|
+
// When `top === bottom` the current queue is empty and when
|
|
61
|
+
// `top + 1 === bottom` it's full. This wastes a single space of storage
|
|
62
|
+
// but allows much quicker checks.
|
|
63
|
+
|
|
64
|
+
class FixedCircularBuffer {
|
|
65
|
+
constructor() {
|
|
66
|
+
this.bottom = 0;
|
|
67
|
+
this.top = 0;
|
|
68
|
+
this.list = new Array(kSize);
|
|
69
|
+
this.next = null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
isEmpty() {
|
|
73
|
+
return this.top === this.bottom;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
isFull() {
|
|
77
|
+
return ((this.top + 1) & kMask) === this.bottom;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
push(data) {
|
|
81
|
+
this.list[this.top] = data;
|
|
82
|
+
this.top = (this.top + 1) & kMask;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
shift() {
|
|
86
|
+
const nextItem = this.list[this.bottom];
|
|
87
|
+
if (nextItem === undefined)
|
|
88
|
+
return null;
|
|
89
|
+
this.list[this.bottom] = undefined;
|
|
90
|
+
this.bottom = (this.bottom + 1) & kMask;
|
|
91
|
+
return nextItem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
fixedQueue = class FixedQueue {
|
|
96
|
+
constructor() {
|
|
97
|
+
this.head = this.tail = new FixedCircularBuffer();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
isEmpty() {
|
|
101
|
+
return this.head.isEmpty();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
push(data) {
|
|
105
|
+
if (this.head.isFull()) {
|
|
106
|
+
// Head is full: Creates a new queue, sets the old queue's `.next` to it,
|
|
107
|
+
// and sets it as the new main queue.
|
|
108
|
+
this.head = this.head.next = new FixedCircularBuffer();
|
|
109
|
+
}
|
|
110
|
+
this.head.push(data);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
shift() {
|
|
114
|
+
const tail = this.tail;
|
|
115
|
+
const next = tail.shift();
|
|
116
|
+
if (tail.isEmpty() && tail.next !== null) {
|
|
117
|
+
// If there is another queue, it forms the new tail.
|
|
118
|
+
this.tail = tail.next;
|
|
119
|
+
}
|
|
120
|
+
return next;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
return fixedQueue;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export { requireFixedQueue as __require };
|
|
127
|
+
//# sourceMappingURL=fixed-queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,GAAG,KAAK,GAAG,CAAC;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,CAAA,MAAM,mBAAmB,CAAC;AAC1B,GAAE,WAAW,GAAG;AAChB,KAAI,IAAI,CAAC,MAAM,GAAG,CAAC;AACnB,KAAI,IAAI,CAAC,GAAG,GAAG,CAAC;KACZ,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC;AAChC,KAAI,IAAI,CAAC,IAAI,GAAG,IAAI;AACpB,GAAA;;AAEA,GAAE,OAAO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I,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]}
|
|
@@ -0,0 +1,209 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool-base.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool-base.js"],"sourcesContent":["'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('../core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor () {\n super()\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n await Promise.all(this[kClients].map(c => c.close()))\n } else {\n await new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n await Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n queueMicrotask(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;AAEA,CAAA,MAAM,cAAc,GAAGA,qBAAA;AACvB,CAAA,MAAM,UAAU,GAAGC,iBAAA;CACnB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAGC,cAAA;AAC5G,CAAA,MAAM,SAAS,GAAGC,gBAAA;;AAElB,CAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS;AACjC,CAAA,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW;AACrC,CAAA,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO;AAC7B,CAAA,MAAM,cAAc,GAAG,MAAM,CAAC,gBA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|
+
import { __require as requireSymbols } from '../core/symbols.js';
|
|
2
|
+
|
|
3
|
+
var poolStats;
|
|
4
|
+
var hasRequiredPoolStats;
|
|
5
|
+
|
|
6
|
+
function requirePoolStats () {
|
|
7
|
+
if (hasRequiredPoolStats) return poolStats;
|
|
8
|
+
hasRequiredPoolStats = 1;
|
|
9
|
+
const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = requireSymbols();
|
|
10
|
+
const kPool = Symbol('pool');
|
|
11
|
+
|
|
12
|
+
class PoolStats {
|
|
13
|
+
constructor (pool) {
|
|
14
|
+
this[kPool] = pool;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
get connected () {
|
|
18
|
+
return this[kPool][kConnected]
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
get free () {
|
|
22
|
+
return this[kPool][kFree]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
get pending () {
|
|
26
|
+
return this[kPool][kPending]
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
get queued () {
|
|
30
|
+
return this[kPool][kQueued]
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
get running () {
|
|
34
|
+
return this[kPool][kRunning]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
get size () {
|
|
38
|
+
return this[kPool][kSize]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
poolStats = PoolStats;
|
|
43
|
+
return poolStats;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { requirePoolStats as __require };
|
|
47
|
+
//# sourceMappingURL=pool-stats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool-stats.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool-stats.js"],"sourcesContent":["const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('../core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n"],"names":["require$$0"],"mappings":";;;;;;;;AAAA,CAAA,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAGA,cAAA;AAClE,CAAA,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM;;AAE3B,CAAA,MAAM,SAAS,CAAC;AAChB,GAAE,WAAW,CAAC,CAAC,IAAI,EAAE;AACrB,KAAI,IAAI,CAAC,KAAK,CAAC,GAAG;AAClB,GAAA;;GAEE,IAAI,SAAS,CAAC,GAAG;AACnB,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,UAAU;AACjC,GAAA;;GAEE,IAAI,IAAI,CAAC,GAAG;AACd,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK;AAC5B,GAAA;;GAEE,IAAI,OAAO,CAAC,GAAG;AACjB,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ;AAC/B,GAAA;;GAEE,IAAI,MAAM,CAAC,GAAG;AAChB,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO;AAC9B,GAAA;;GAEE,IAAI,OAAO,CAAC,GAAG;AACjB,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ;AAC/B,GAAA;;GAEE,IAAI,IAAI,CAAC,GAAG;AACd,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK;AAC5B,GAAA;AACA;;AAEA,CAAA,SAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { __require as requirePoolBase } from './pool-base.js';
|
|
2
|
+
import { __require as requireClient } from './client.js';
|
|
3
|
+
import { __require as requireErrors } from '../core/errors.js';
|
|
4
|
+
import { __require as requireUtil } from '../core/util.js';
|
|
5
|
+
import { __require as requireSymbols } from '../core/symbols.js';
|
|
6
|
+
import { __require as requireConnect } from '../core/connect.js';
|
|
7
|
+
|
|
8
|
+
var pool;
|
|
9
|
+
var hasRequiredPool;
|
|
10
|
+
|
|
11
|
+
function requirePool () {
|
|
12
|
+
if (hasRequiredPool) return pool;
|
|
13
|
+
hasRequiredPool = 1;
|
|
14
|
+
|
|
15
|
+
const {
|
|
16
|
+
PoolBase,
|
|
17
|
+
kClients,
|
|
18
|
+
kNeedDrain,
|
|
19
|
+
kAddClient,
|
|
20
|
+
kGetDispatcher
|
|
21
|
+
} = requirePoolBase();
|
|
22
|
+
const Client = requireClient();
|
|
23
|
+
const {
|
|
24
|
+
InvalidArgumentError
|
|
25
|
+
} = requireErrors();
|
|
26
|
+
const util = requireUtil();
|
|
27
|
+
const { kUrl, kInterceptors } = requireSymbols();
|
|
28
|
+
const buildConnector = requireConnect();
|
|
29
|
+
|
|
30
|
+
const kOptions = Symbol('options');
|
|
31
|
+
const kConnections = Symbol('connections');
|
|
32
|
+
const kFactory = Symbol('factory');
|
|
33
|
+
|
|
34
|
+
function defaultFactory (origin, opts) {
|
|
35
|
+
return new Client(origin, opts)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
class Pool extends PoolBase {
|
|
39
|
+
constructor (origin, {
|
|
40
|
+
connections,
|
|
41
|
+
factory = defaultFactory,
|
|
42
|
+
connect,
|
|
43
|
+
connectTimeout,
|
|
44
|
+
tls,
|
|
45
|
+
maxCachedSessions,
|
|
46
|
+
socketPath,
|
|
47
|
+
autoSelectFamily,
|
|
48
|
+
autoSelectFamilyAttemptTimeout,
|
|
49
|
+
allowH2,
|
|
50
|
+
...options
|
|
51
|
+
} = {}) {
|
|
52
|
+
super();
|
|
53
|
+
|
|
54
|
+
if (connections != null && (!Number.isFinite(connections) || connections < 0)) {
|
|
55
|
+
throw new InvalidArgumentError('invalid connections')
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (typeof factory !== 'function') {
|
|
59
|
+
throw new InvalidArgumentError('factory must be a function.')
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {
|
|
63
|
+
throw new InvalidArgumentError('connect must be a function or an object')
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (typeof connect !== 'function') {
|
|
67
|
+
connect = buildConnector({
|
|
68
|
+
...tls,
|
|
69
|
+
maxCachedSessions,
|
|
70
|
+
allowH2,
|
|
71
|
+
socketPath,
|
|
72
|
+
timeout: connectTimeout,
|
|
73
|
+
...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),
|
|
74
|
+
...connect
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool)
|
|
79
|
+
? options.interceptors.Pool
|
|
80
|
+
: [];
|
|
81
|
+
this[kConnections] = connections || null;
|
|
82
|
+
this[kUrl] = util.parseOrigin(origin);
|
|
83
|
+
this[kOptions] = { ...util.deepClone(options), connect, allowH2 };
|
|
84
|
+
this[kOptions].interceptors = options.interceptors
|
|
85
|
+
? { ...options.interceptors }
|
|
86
|
+
: undefined;
|
|
87
|
+
this[kFactory] = factory;
|
|
88
|
+
|
|
89
|
+
this.on('connectionError', (origin, targets, error) => {
|
|
90
|
+
// If a connection error occurs, we remove the client from the pool,
|
|
91
|
+
// and emit a connectionError event. They will not be re-used.
|
|
92
|
+
// Fixes https://github.com/nodejs/undici/issues/3895
|
|
93
|
+
for (const target of targets) {
|
|
94
|
+
// Do not use kRemoveClient here, as it will close the client,
|
|
95
|
+
// but the client cannot be closed in this state.
|
|
96
|
+
const idx = this[kClients].indexOf(target);
|
|
97
|
+
if (idx !== -1) {
|
|
98
|
+
this[kClients].splice(idx, 1);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
[kGetDispatcher] () {
|
|
105
|
+
for (const client of this[kClients]) {
|
|
106
|
+
if (!client[kNeedDrain]) {
|
|
107
|
+
return client
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (!this[kConnections] || this[kClients].length < this[kConnections]) {
|
|
112
|
+
const dispatcher = this[kFactory](this[kUrl], this[kOptions]);
|
|
113
|
+
this[kAddClient](dispatcher);
|
|
114
|
+
return dispatcher
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
pool = Pool;
|
|
120
|
+
return pool;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { requirePool as __require };
|
|
124
|
+
//# sourceMappingURL=pool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool.js","sources":["../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool.js"],"sourcesContent":["'use strict'\n\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Client = require('./client')\nconst {\n InvalidArgumentError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst buildConnector = require('../core/connect')\n\nconst kOptions = Symbol('options')\nconst kConnections = Symbol('connections')\nconst kFactory = Symbol('factory')\n\nfunction defaultFactory (origin, opts) {\n return new Client(origin, opts)\n}\n\nclass Pool extends PoolBase {\n constructor (origin, {\n connections,\n factory = defaultFactory,\n connect,\n connectTimeout,\n tls,\n maxCachedSessions,\n socketPath,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n allowH2,\n ...options\n } = {}) {\n super()\n\n if (connections != null && (!Number.isFinite(connections) || connections < 0)) {\n throw new InvalidArgumentError('invalid connections')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\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 (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 this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool)\n ? options.interceptors.Pool\n : []\n this[kConnections] = connections || null\n this[kUrl] = util.parseOrigin(origin)\n this[kOptions] = { ...util.deepClone(options), connect, allowH2 }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kFactory] = factory\n\n this.on('connectionError', (origin, targets, error) => {\n // If a connection error occurs, we remove the client from the pool,\n // and emit a connectionError event. They will not be re-used.\n // Fixes https://github.com/nodejs/undici/issues/3895\n for (const target of targets) {\n // Do not use kRemoveClient here, as it will close the client,\n // but the client cannot be closed in this state.\n const idx = this[kClients].indexOf(target)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n }\n })\n }\n\n [kGetDispatcher] () {\n for (const client of this[kClients]) {\n if (!client[kNeedDrain]) {\n return client\n }\n }\n\n if (!this[kConnections] || this[kClients].length < this[kConnections]) {\n const dispatcher = this[kFactory](this[kUrl], this[kOptions])\n this[kAddClient](dispatcher)\n return dispatcher\n }\n }\n}\n\nmodule.exports = Pool\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"mappings":";;;;;;;;;;;;;;CAEA,MAAM;AACN,GAAE,QAAQ;AACV,GAAE,QAAQ;AACV,GAAE,UAAU;AACZ,GAAE,UAAU;GACV;AACF,EAAC,GAAGA,eAAA;AACJ,CAAA,MAAM,MAAM,GAAGC,aAAA;CACf,MAAM;GACJ;AACF,EAAC,GAAGC,aAAA;AACJ,CAAA,MAAM,IAAI,GA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