@relative-ci/core 5.3.1 → 5.3.2
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 +4 -2
- package/lib/cjs/_virtual/index8.js.map +1 -1
- package/lib/cjs/_virtual/index9.js +2 -4
- package/lib/cjs/_virtual/index9.js.map +1 -1
- package/lib/cjs/env/load.js +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 +4 -2
- package/lib/esm/_virtual/index10.js.map +1 -1
- 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 +2 -2
- 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/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,368 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var require$$0 = require('node:stream');
|
|
4
|
-
var require$$0$1 = require('node:diagnostics_channel');
|
|
5
|
-
var constants = require('./constants.js');
|
|
6
|
-
var symbols = require('./symbols.js');
|
|
7
|
-
var util = require('./util.js');
|
|
8
|
-
var frame = require('./frame.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
|
|
13
|
-
var require$$0__default$1 = /*#__PURE__*/_interopDefault(require$$0$1);
|
|
14
|
-
|
|
15
|
-
var receiver;
|
|
16
|
-
var hasRequiredReceiver;
|
|
17
|
-
|
|
18
|
-
function requireReceiver () {
|
|
19
|
-
if (hasRequiredReceiver) return receiver;
|
|
20
|
-
hasRequiredReceiver = 1;
|
|
21
|
-
|
|
22
|
-
const { Writable } = require$$0__default.default;
|
|
23
|
-
const diagnosticsChannel = require$$0__default$1.default;
|
|
24
|
-
const { parserStates, opcodes, states, emptyBuffer } = constants.__require();
|
|
25
|
-
const { kReadyState, kSentClose, kResponse, kReceivedClose } = symbols.__require();
|
|
26
|
-
const { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = util.__require();
|
|
27
|
-
const { WebsocketFrameSend } = frame.__require();
|
|
28
|
-
|
|
29
|
-
// This code was influenced by ws released under the MIT license.
|
|
30
|
-
// Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
31
|
-
// Copyright (c) 2013 Arnout Kazemier and contributors
|
|
32
|
-
// Copyright (c) 2016 Luigi Pinca and contributors
|
|
33
|
-
|
|
34
|
-
const channels = {};
|
|
35
|
-
channels.ping = diagnosticsChannel.channel('undici:websocket:ping');
|
|
36
|
-
channels.pong = diagnosticsChannel.channel('undici:websocket:pong');
|
|
37
|
-
|
|
38
|
-
class ByteParser extends Writable {
|
|
39
|
-
#buffers = []
|
|
40
|
-
#byteOffset = 0
|
|
41
|
-
|
|
42
|
-
#state = parserStates.INFO
|
|
43
|
-
|
|
44
|
-
#info = {}
|
|
45
|
-
#fragments = []
|
|
46
|
-
|
|
47
|
-
constructor (ws) {
|
|
48
|
-
super();
|
|
49
|
-
|
|
50
|
-
this.ws = ws;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @param {Buffer} chunk
|
|
55
|
-
* @param {() => void} callback
|
|
56
|
-
*/
|
|
57
|
-
_write (chunk, _, callback) {
|
|
58
|
-
this.#buffers.push(chunk);
|
|
59
|
-
this.#byteOffset += chunk.length;
|
|
60
|
-
|
|
61
|
-
this.run(callback);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Runs whenever a new chunk is received.
|
|
66
|
-
* Callback is called whenever there are no more chunks buffering,
|
|
67
|
-
* or not enough bytes are buffered to parse.
|
|
68
|
-
*/
|
|
69
|
-
run (callback) {
|
|
70
|
-
while (true) {
|
|
71
|
-
if (this.#state === parserStates.INFO) {
|
|
72
|
-
// If there aren't enough bytes to parse the payload length, etc.
|
|
73
|
-
if (this.#byteOffset < 2) {
|
|
74
|
-
return callback()
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const buffer = this.consume(2);
|
|
78
|
-
|
|
79
|
-
this.#info.fin = (buffer[0] & 0x80) !== 0;
|
|
80
|
-
this.#info.opcode = buffer[0] & 0x0F;
|
|
81
|
-
|
|
82
|
-
// If we receive a fragmented message, we use the type of the first
|
|
83
|
-
// frame to parse the full message as binary/text, when it's terminated
|
|
84
|
-
this.#info.originalOpcode ??= this.#info.opcode;
|
|
85
|
-
|
|
86
|
-
this.#info.fragmented = !this.#info.fin && this.#info.opcode !== opcodes.CONTINUATION;
|
|
87
|
-
|
|
88
|
-
if (this.#info.fragmented && this.#info.opcode !== opcodes.BINARY && this.#info.opcode !== opcodes.TEXT) {
|
|
89
|
-
// Only text and binary frames can be fragmented
|
|
90
|
-
failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.');
|
|
91
|
-
return
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
const payloadLength = buffer[1] & 0x7F;
|
|
95
|
-
|
|
96
|
-
if (payloadLength <= 125) {
|
|
97
|
-
this.#info.payloadLength = payloadLength;
|
|
98
|
-
this.#state = parserStates.READ_DATA;
|
|
99
|
-
} else if (payloadLength === 126) {
|
|
100
|
-
this.#state = parserStates.PAYLOADLENGTH_16;
|
|
101
|
-
} else if (payloadLength === 127) {
|
|
102
|
-
this.#state = parserStates.PAYLOADLENGTH_64;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
if (this.#info.fragmented && payloadLength > 125) {
|
|
106
|
-
// A fragmented frame can't be fragmented itself
|
|
107
|
-
failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.');
|
|
108
|
-
return
|
|
109
|
-
} else if (
|
|
110
|
-
(this.#info.opcode === opcodes.PING ||
|
|
111
|
-
this.#info.opcode === opcodes.PONG ||
|
|
112
|
-
this.#info.opcode === opcodes.CLOSE) &&
|
|
113
|
-
payloadLength > 125
|
|
114
|
-
) {
|
|
115
|
-
// Control frames can have a payload length of 125 bytes MAX
|
|
116
|
-
failWebsocketConnection(this.ws, 'Payload length for control frame exceeded 125 bytes.');
|
|
117
|
-
return
|
|
118
|
-
} else if (this.#info.opcode === opcodes.CLOSE) {
|
|
119
|
-
if (payloadLength === 1) {
|
|
120
|
-
failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.');
|
|
121
|
-
return
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
const body = this.consume(payloadLength);
|
|
125
|
-
|
|
126
|
-
this.#info.closeInfo = this.parseCloseBody(false, body);
|
|
127
|
-
|
|
128
|
-
if (!this.ws[kSentClose]) {
|
|
129
|
-
// If an endpoint receives a Close frame and did not previously send a
|
|
130
|
-
// Close frame, the endpoint MUST send a Close frame in response. (When
|
|
131
|
-
// sending a Close frame in response, the endpoint typically echos the
|
|
132
|
-
// status code it received.)
|
|
133
|
-
const body = Buffer.allocUnsafe(2);
|
|
134
|
-
body.writeUInt16BE(this.#info.closeInfo.code, 0);
|
|
135
|
-
const closeFrame = new WebsocketFrameSend(body);
|
|
136
|
-
|
|
137
|
-
this.ws[kResponse].socket.write(
|
|
138
|
-
closeFrame.createFrame(opcodes.CLOSE),
|
|
139
|
-
(err) => {
|
|
140
|
-
if (!err) {
|
|
141
|
-
this.ws[kSentClose] = true;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// Upon either sending or receiving a Close control frame, it is said
|
|
148
|
-
// that _The WebSocket Closing Handshake is Started_ and that the
|
|
149
|
-
// WebSocket connection is in the CLOSING state.
|
|
150
|
-
this.ws[kReadyState] = states.CLOSING;
|
|
151
|
-
this.ws[kReceivedClose] = true;
|
|
152
|
-
|
|
153
|
-
this.end();
|
|
154
|
-
|
|
155
|
-
return
|
|
156
|
-
} else if (this.#info.opcode === opcodes.PING) {
|
|
157
|
-
// Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in
|
|
158
|
-
// response, unless it already received a Close frame.
|
|
159
|
-
// A Pong frame sent in response to a Ping frame must have identical
|
|
160
|
-
// "Application data"
|
|
161
|
-
|
|
162
|
-
const body = this.consume(payloadLength);
|
|
163
|
-
|
|
164
|
-
if (!this.ws[kReceivedClose]) {
|
|
165
|
-
const frame = new WebsocketFrameSend(body);
|
|
166
|
-
|
|
167
|
-
this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG));
|
|
168
|
-
|
|
169
|
-
if (channels.ping.hasSubscribers) {
|
|
170
|
-
channels.ping.publish({
|
|
171
|
-
payload: body
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
this.#state = parserStates.INFO;
|
|
177
|
-
|
|
178
|
-
if (this.#byteOffset > 0) {
|
|
179
|
-
continue
|
|
180
|
-
} else {
|
|
181
|
-
callback();
|
|
182
|
-
return
|
|
183
|
-
}
|
|
184
|
-
} else if (this.#info.opcode === opcodes.PONG) {
|
|
185
|
-
// A Pong frame MAY be sent unsolicited. This serves as a
|
|
186
|
-
// unidirectional heartbeat. A response to an unsolicited Pong frame is
|
|
187
|
-
// not expected.
|
|
188
|
-
|
|
189
|
-
const body = this.consume(payloadLength);
|
|
190
|
-
|
|
191
|
-
if (channels.pong.hasSubscribers) {
|
|
192
|
-
channels.pong.publish({
|
|
193
|
-
payload: body
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
if (this.#byteOffset > 0) {
|
|
198
|
-
continue
|
|
199
|
-
} else {
|
|
200
|
-
callback();
|
|
201
|
-
return
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
} else if (this.#state === parserStates.PAYLOADLENGTH_16) {
|
|
205
|
-
if (this.#byteOffset < 2) {
|
|
206
|
-
return callback()
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
const buffer = this.consume(2);
|
|
210
|
-
|
|
211
|
-
this.#info.payloadLength = buffer.readUInt16BE(0);
|
|
212
|
-
this.#state = parserStates.READ_DATA;
|
|
213
|
-
} else if (this.#state === parserStates.PAYLOADLENGTH_64) {
|
|
214
|
-
if (this.#byteOffset < 8) {
|
|
215
|
-
return callback()
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
const buffer = this.consume(8);
|
|
219
|
-
const upper = buffer.readUInt32BE(0);
|
|
220
|
-
|
|
221
|
-
// 2^31 is the maxinimum bytes an arraybuffer can contain
|
|
222
|
-
// on 32-bit systems. Although, on 64-bit systems, this is
|
|
223
|
-
// 2^53-1 bytes.
|
|
224
|
-
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length
|
|
225
|
-
// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/globals.h;drc=1946212ac0100668f14eb9e2843bdd846e510a1e;bpv=1;bpt=1;l=1275
|
|
226
|
-
// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/objects/js-array-buffer.h;l=34;drc=1946212ac0100668f14eb9e2843bdd846e510a1e
|
|
227
|
-
if (upper > 2 ** 31 - 1) {
|
|
228
|
-
failWebsocketConnection(this.ws, 'Received payload length > 2^31 bytes.');
|
|
229
|
-
return
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
const lower = buffer.readUInt32BE(4);
|
|
233
|
-
|
|
234
|
-
this.#info.payloadLength = (upper << 8) + lower;
|
|
235
|
-
this.#state = parserStates.READ_DATA;
|
|
236
|
-
} else if (this.#state === parserStates.READ_DATA) {
|
|
237
|
-
if (this.#byteOffset < this.#info.payloadLength) {
|
|
238
|
-
// If there is still more data in this chunk that needs to be read
|
|
239
|
-
return callback()
|
|
240
|
-
} else if (this.#byteOffset >= this.#info.payloadLength) {
|
|
241
|
-
// If the server sent multiple frames in a single chunk
|
|
242
|
-
|
|
243
|
-
const body = this.consume(this.#info.payloadLength);
|
|
244
|
-
|
|
245
|
-
this.#fragments.push(body);
|
|
246
|
-
|
|
247
|
-
// If the frame is unfragmented, or a fragmented frame was terminated,
|
|
248
|
-
// a message was received
|
|
249
|
-
if (!this.#info.fragmented || (this.#info.fin && this.#info.opcode === opcodes.CONTINUATION)) {
|
|
250
|
-
const fullMessage = Buffer.concat(this.#fragments);
|
|
251
|
-
|
|
252
|
-
websocketMessageReceived(this.ws, this.#info.originalOpcode, fullMessage);
|
|
253
|
-
|
|
254
|
-
this.#info = {};
|
|
255
|
-
this.#fragments.length = 0;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
this.#state = parserStates.INFO;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
if (this.#byteOffset > 0) {
|
|
263
|
-
continue
|
|
264
|
-
} else {
|
|
265
|
-
callback();
|
|
266
|
-
break
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Take n bytes from the buffered Buffers
|
|
273
|
-
* @param {number} n
|
|
274
|
-
* @returns {Buffer|null}
|
|
275
|
-
*/
|
|
276
|
-
consume (n) {
|
|
277
|
-
if (n > this.#byteOffset) {
|
|
278
|
-
return null
|
|
279
|
-
} else if (n === 0) {
|
|
280
|
-
return emptyBuffer
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
if (this.#buffers[0].length === n) {
|
|
284
|
-
this.#byteOffset -= this.#buffers[0].length;
|
|
285
|
-
return this.#buffers.shift()
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
const buffer = Buffer.allocUnsafe(n);
|
|
289
|
-
let offset = 0;
|
|
290
|
-
|
|
291
|
-
while (offset !== n) {
|
|
292
|
-
const next = this.#buffers[0];
|
|
293
|
-
const { length } = next;
|
|
294
|
-
|
|
295
|
-
if (length + offset === n) {
|
|
296
|
-
buffer.set(this.#buffers.shift(), offset);
|
|
297
|
-
break
|
|
298
|
-
} else if (length + offset > n) {
|
|
299
|
-
buffer.set(next.subarray(0, n - offset), offset);
|
|
300
|
-
this.#buffers[0] = next.subarray(n - offset);
|
|
301
|
-
break
|
|
302
|
-
} else {
|
|
303
|
-
buffer.set(this.#buffers.shift(), offset);
|
|
304
|
-
offset += next.length;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
this.#byteOffset -= n;
|
|
309
|
-
|
|
310
|
-
return buffer
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
parseCloseBody (onlyCode, data) {
|
|
314
|
-
// https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.5
|
|
315
|
-
/** @type {number|undefined} */
|
|
316
|
-
let code;
|
|
317
|
-
|
|
318
|
-
if (data.length >= 2) {
|
|
319
|
-
// _The WebSocket Connection Close Code_ is
|
|
320
|
-
// defined as the status code (Section 7.4) contained in the first Close
|
|
321
|
-
// control frame received by the application
|
|
322
|
-
code = data.readUInt16BE(0);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
if (onlyCode) {
|
|
326
|
-
if (!isValidStatusCode(code)) {
|
|
327
|
-
return null
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
return { code }
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
// https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6
|
|
334
|
-
/** @type {Buffer} */
|
|
335
|
-
let reason = data.subarray(2);
|
|
336
|
-
|
|
337
|
-
// Remove BOM
|
|
338
|
-
if (reason[0] === 0xEF && reason[1] === 0xBB && reason[2] === 0xBF) {
|
|
339
|
-
reason = reason.subarray(3);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
if (code !== undefined && !isValidStatusCode(code)) {
|
|
343
|
-
return null
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
try {
|
|
347
|
-
// TODO: optimize this
|
|
348
|
-
reason = new TextDecoder('utf-8', { fatal: true }).decode(reason);
|
|
349
|
-
} catch {
|
|
350
|
-
return null
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
return { code, reason }
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
get closingInfo () {
|
|
357
|
-
return this.#info.closeInfo
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
receiver = {
|
|
362
|
-
ByteParser
|
|
363
|
-
};
|
|
364
|
-
return receiver;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
exports.__require = requireReceiver;
|
|
368
|
-
//# sourceMappingURL=receiver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"receiver.js","sources":["../../../../../../../../node_modules/undici/lib/websocket/receiver.js"],"sourcesContent":["'use strict'\n\nconst { Writable } = require('stream')\nconst diagnosticsChannel = require('diagnostics_channel')\nconst { parserStates, opcodes, states, emptyBuffer } = require('./constants')\nconst { kReadyState, kSentClose, kResponse, kReceivedClose } = require('./symbols')\nconst { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = require('./util')\nconst { WebsocketFrameSend } = require('./frame')\n\n// This code was influenced by ws released under the MIT license.\n// Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>\n// Copyright (c) 2013 Arnout Kazemier and contributors\n// Copyright (c) 2016 Luigi Pinca and contributors\n\nconst channels = {}\nchannels.ping = diagnosticsChannel.channel('undici:websocket:ping')\nchannels.pong = diagnosticsChannel.channel('undici:websocket:pong')\n\nclass ByteParser extends Writable {\n #buffers = []\n #byteOffset = 0\n\n #state = parserStates.INFO\n\n #info = {}\n #fragments = []\n\n constructor (ws) {\n super()\n\n this.ws = ws\n }\n\n /**\n * @param {Buffer} chunk\n * @param {() => void} callback\n */\n _write (chunk, _, callback) {\n this.#buffers.push(chunk)\n this.#byteOffset += chunk.length\n\n this.run(callback)\n }\n\n /**\n * Runs whenever a new chunk is received.\n * Callback is called whenever there are no more chunks buffering,\n * or not enough bytes are buffered to parse.\n */\n run (callback) {\n while (true) {\n if (this.#state === parserStates.INFO) {\n // If there aren't enough bytes to parse the payload length, etc.\n if (this.#byteOffset < 2) {\n return callback()\n }\n\n const buffer = this.consume(2)\n\n this.#info.fin = (buffer[0] & 0x80) !== 0\n this.#info.opcode = buffer[0] & 0x0F\n\n // If we receive a fragmented message, we use the type of the first\n // frame to parse the full message as binary/text, when it's terminated\n this.#info.originalOpcode ??= this.#info.opcode\n\n this.#info.fragmented = !this.#info.fin && this.#info.opcode !== opcodes.CONTINUATION\n\n if (this.#info.fragmented && this.#info.opcode !== opcodes.BINARY && this.#info.opcode !== opcodes.TEXT) {\n // Only text and binary frames can be fragmented\n failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.')\n return\n }\n\n const payloadLength = buffer[1] & 0x7F\n\n if (payloadLength <= 125) {\n this.#info.payloadLength = payloadLength\n this.#state = parserStates.READ_DATA\n } else if (payloadLength === 126) {\n this.#state = parserStates.PAYLOADLENGTH_16\n } else if (payloadLength === 127) {\n this.#state = parserStates.PAYLOADLENGTH_64\n }\n\n if (this.#info.fragmented && payloadLength > 125) {\n // A fragmented frame can't be fragmented itself\n failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.')\n return\n } else if (\n (this.#info.opcode === opcodes.PING ||\n this.#info.opcode === opcodes.PONG ||\n this.#info.opcode === opcodes.CLOSE) &&\n payloadLength > 125\n ) {\n // Control frames can have a payload length of 125 bytes MAX\n failWebsocketConnection(this.ws, 'Payload length for control frame exceeded 125 bytes.')\n return\n } else if (this.#info.opcode === opcodes.CLOSE) {\n if (payloadLength === 1) {\n failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.')\n return\n }\n\n const body = this.consume(payloadLength)\n\n this.#info.closeInfo = this.parseCloseBody(false, body)\n\n if (!this.ws[kSentClose]) {\n // If an endpoint receives a Close frame and did not previously send a\n // Close frame, the endpoint MUST send a Close frame in response. (When\n // sending a Close frame in response, the endpoint typically echos the\n // status code it received.)\n const body = Buffer.allocUnsafe(2)\n body.writeUInt16BE(this.#info.closeInfo.code, 0)\n const closeFrame = new WebsocketFrameSend(body)\n\n this.ws[kResponse].socket.write(\n closeFrame.createFrame(opcodes.CLOSE),\n (err) => {\n if (!err) {\n this.ws[kSentClose] = true\n }\n }\n )\n }\n\n // Upon either sending or receiving a Close control frame, it is said\n // that _The WebSocket Closing Handshake is Started_ and that the\n // WebSocket connection is in the CLOSING state.\n this.ws[kReadyState] = states.CLOSING\n this.ws[kReceivedClose] = true\n\n this.end()\n\n return\n } else if (this.#info.opcode === opcodes.PING) {\n // Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in\n // response, unless it already received a Close frame.\n // A Pong frame sent in response to a Ping frame must have identical\n // \"Application data\"\n\n const body = this.consume(payloadLength)\n\n if (!this.ws[kReceivedClose]) {\n const frame = new WebsocketFrameSend(body)\n\n this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG))\n\n if (channels.ping.hasSubscribers) {\n channels.ping.publish({\n payload: body\n })\n }\n }\n\n this.#state = parserStates.INFO\n\n if (this.#byteOffset > 0) {\n continue\n } else {\n callback()\n return\n }\n } else if (this.#info.opcode === opcodes.PONG) {\n // A Pong frame MAY be sent unsolicited. This serves as a\n // unidirectional heartbeat. A response to an unsolicited Pong frame is\n // not expected.\n\n const body = this.consume(payloadLength)\n\n if (channels.pong.hasSubscribers) {\n channels.pong.publish({\n payload: body\n })\n }\n\n if (this.#byteOffset > 0) {\n continue\n } else {\n callback()\n return\n }\n }\n } else if (this.#state === parserStates.PAYLOADLENGTH_16) {\n if (this.#byteOffset < 2) {\n return callback()\n }\n\n const buffer = this.consume(2)\n\n this.#info.payloadLength = buffer.readUInt16BE(0)\n this.#state = parserStates.READ_DATA\n } else if (this.#state === parserStates.PAYLOADLENGTH_64) {\n if (this.#byteOffset < 8) {\n return callback()\n }\n\n const buffer = this.consume(8)\n const upper = buffer.readUInt32BE(0)\n\n // 2^31 is the maxinimum bytes an arraybuffer can contain\n // on 32-bit systems. Although, on 64-bit systems, this is\n // 2^53-1 bytes.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length\n // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/globals.h;drc=1946212ac0100668f14eb9e2843bdd846e510a1e;bpv=1;bpt=1;l=1275\n // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/objects/js-array-buffer.h;l=34;drc=1946212ac0100668f14eb9e2843bdd846e510a1e\n if (upper > 2 ** 31 - 1) {\n failWebsocketConnection(this.ws, 'Received payload length > 2^31 bytes.')\n return\n }\n\n const lower = buffer.readUInt32BE(4)\n\n this.#info.payloadLength = (upper << 8) + lower\n this.#state = parserStates.READ_DATA\n } else if (this.#state === parserStates.READ_DATA) {\n if (this.#byteOffset < this.#info.payloadLength) {\n // If there is still more data in this chunk that needs to be read\n return callback()\n } else if (this.#byteOffset >= this.#info.payloadLength) {\n // If the server sent multiple frames in a single chunk\n\n const body = this.consume(this.#info.payloadLength)\n\n this.#fragments.push(body)\n\n // If the frame is unfragmented, or a fragmented frame was terminated,\n // a message was received\n if (!this.#info.fragmented || (this.#info.fin && this.#info.opcode === opcodes.CONTINUATION)) {\n const fullMessage = Buffer.concat(this.#fragments)\n\n websocketMessageReceived(this.ws, this.#info.originalOpcode, fullMessage)\n\n this.#info = {}\n this.#fragments.length = 0\n }\n\n this.#state = parserStates.INFO\n }\n }\n\n if (this.#byteOffset > 0) {\n continue\n } else {\n callback()\n break\n }\n }\n }\n\n /**\n * Take n bytes from the buffered Buffers\n * @param {number} n\n * @returns {Buffer|null}\n */\n consume (n) {\n if (n > this.#byteOffset) {\n return null\n } else if (n === 0) {\n return emptyBuffer\n }\n\n if (this.#buffers[0].length === n) {\n this.#byteOffset -= this.#buffers[0].length\n return this.#buffers.shift()\n }\n\n const buffer = Buffer.allocUnsafe(n)\n let offset = 0\n\n while (offset !== n) {\n const next = this.#buffers[0]\n const { length } = next\n\n if (length + offset === n) {\n buffer.set(this.#buffers.shift(), offset)\n break\n } else if (length + offset > n) {\n buffer.set(next.subarray(0, n - offset), offset)\n this.#buffers[0] = next.subarray(n - offset)\n break\n } else {\n buffer.set(this.#buffers.shift(), offset)\n offset += next.length\n }\n }\n\n this.#byteOffset -= n\n\n return buffer\n }\n\n parseCloseBody (onlyCode, data) {\n // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.5\n /** @type {number|undefined} */\n let code\n\n if (data.length >= 2) {\n // _The WebSocket Connection Close Code_ is\n // defined as the status code (Section 7.4) contained in the first Close\n // control frame received by the application\n code = data.readUInt16BE(0)\n }\n\n if (onlyCode) {\n if (!isValidStatusCode(code)) {\n return null\n }\n\n return { code }\n }\n\n // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6\n /** @type {Buffer} */\n let reason = data.subarray(2)\n\n // Remove BOM\n if (reason[0] === 0xEF && reason[1] === 0xBB && reason[2] === 0xBF) {\n reason = reason.subarray(3)\n }\n\n if (code !== undefined && !isValidStatusCode(code)) {\n return null\n }\n\n try {\n // TODO: optimize this\n reason = new TextDecoder('utf-8', { fatal: true }).decode(reason)\n } catch {\n return null\n }\n\n return { code, reason }\n }\n\n get closingInfo () {\n return this.#info.closeInfo\n }\n}\n\nmodule.exports = {\n ByteParser\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"mappings":";;;;;;;;;;;;;;;;;;;;;CAEA,MAAM,EAAE,QAAQ,EAAE,GAAGA;AACrB,CAAA,MAAM,kBAAkB,GAAGC;CAC3B,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,GAAGC,mBAAA;CACvD,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,GAAGC,iBAAA;AAC/D,CAAA,MAAM,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,GAAGC,cAAA;CACjF,MAAM,EAAE,kBAAkB,EAAE,GAAGC,eAAA;;AAE/B;AACA;AACA;AACA;;AAEA,CAAA,MAAM,QAAQ,GAAG;AACjB,CAAA,QAAQ,CAAC,IAAI,GAAG,kBAAkB,CAAC,OAAO,CAAC,uBAAuB;AAClE,CAAA,QAAQ,CAAC,IAAI,GAAG,kBAAkB,CAAC,OAAO,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C,KAAA;;KAEI,IAAI,IAAI,KAAK,SAAS,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE;AACxD,OAAM,OAAO;AACb,KAAA;;AAEA,KAAI,IAAI;AACR;AACA,OAAM,MAAM,GAAG,IAAI,WAAW,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM;AACtE,KAAA,CAAK,CAAC,MAAM;AACZ,OAAM,OAAO;AACb,KAAA;;AAEA,KAAI,OAAO,EAAE,IAAI,EAAE,MAAM;AACzB,GAAA;;GAEE,IAAI,WAAW,CAAC,GAAG;AACrB,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC;AACtB,GAAA;AACA;;AAEA,CAAA,QAAc,GAAG;GACf;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var symbols;
|
|
4
|
-
var hasRequiredSymbols;
|
|
5
|
-
|
|
6
|
-
function requireSymbols () {
|
|
7
|
-
if (hasRequiredSymbols) return symbols;
|
|
8
|
-
hasRequiredSymbols = 1;
|
|
9
|
-
|
|
10
|
-
symbols = {
|
|
11
|
-
kWebSocketURL: Symbol('url'),
|
|
12
|
-
kReadyState: Symbol('ready state'),
|
|
13
|
-
kController: Symbol('controller'),
|
|
14
|
-
kResponse: Symbol('response'),
|
|
15
|
-
kBinaryType: Symbol('binary type'),
|
|
16
|
-
kSentClose: Symbol('sent close'),
|
|
17
|
-
kReceivedClose: Symbol('received close'),
|
|
18
|
-
kByteParser: Symbol('byte parser')
|
|
19
|
-
};
|
|
20
|
-
return symbols;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.__require = requireSymbols;
|
|
24
|
-
//# sourceMappingURL=symbols.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"symbols.js","sources":["../../../../../../../../node_modules/undici/lib/websocket/symbols.js"],"sourcesContent":["'use strict'\n\nmodule.exports = {\n kWebSocketURL: Symbol('url'),\n kReadyState: Symbol('ready state'),\n kController: Symbol('controller'),\n kResponse: Symbol('response'),\n kBinaryType: Symbol('binary type'),\n kSentClose: Symbol('sent close'),\n kReceivedClose: Symbol('received close'),\n kByteParser: Symbol('byte parser')\n}\n"],"names":[],"mappings":";;;;;;;;;AAEA,CAAA,OAAc,GAAG;AACjB,GAAE,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC;AAC9B,GAAE,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC;AACpC,GAAE,WAAW,EAAE,MAAM,CAAC,YAAY,CAAC;AACnC,GAAE,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;AAC/B,GAAE,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC;AACpC,GAAE,UAAU,EAAE,MAAM,CAAC,YAAY,CAAC;AAClC,GAAE,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC;AAC1C,GAAE,WAAW,EAAE,MAAM,CAAC,aAAa;AACnC;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var symbols = require('./symbols.js');
|
|
4
|
-
var constants = require('./constants.js');
|
|
5
|
-
var events = require('./events.js');
|
|
6
|
-
|
|
7
|
-
var util;
|
|
8
|
-
var hasRequiredUtil;
|
|
9
|
-
|
|
10
|
-
function requireUtil () {
|
|
11
|
-
if (hasRequiredUtil) return util;
|
|
12
|
-
hasRequiredUtil = 1;
|
|
13
|
-
|
|
14
|
-
const { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = symbols.__require();
|
|
15
|
-
const { states, opcodes } = constants.__require();
|
|
16
|
-
const { MessageEvent, ErrorEvent } = events.__require();
|
|
17
|
-
|
|
18
|
-
/* globals Blob */
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @param {import('./websocket').WebSocket} ws
|
|
22
|
-
*/
|
|
23
|
-
function isEstablished (ws) {
|
|
24
|
-
// If the server's response is validated as provided for above, it is
|
|
25
|
-
// said that _The WebSocket Connection is Established_ and that the
|
|
26
|
-
// WebSocket Connection is in the OPEN state.
|
|
27
|
-
return ws[kReadyState] === states.OPEN
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @param {import('./websocket').WebSocket} ws
|
|
32
|
-
*/
|
|
33
|
-
function isClosing (ws) {
|
|
34
|
-
// Upon either sending or receiving a Close control frame, it is said
|
|
35
|
-
// that _The WebSocket Closing Handshake is Started_ and that the
|
|
36
|
-
// WebSocket connection is in the CLOSING state.
|
|
37
|
-
return ws[kReadyState] === states.CLOSING
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @param {import('./websocket').WebSocket} ws
|
|
42
|
-
*/
|
|
43
|
-
function isClosed (ws) {
|
|
44
|
-
return ws[kReadyState] === states.CLOSED
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @see https://dom.spec.whatwg.org/#concept-event-fire
|
|
49
|
-
* @param {string} e
|
|
50
|
-
* @param {EventTarget} target
|
|
51
|
-
* @param {EventInit | undefined} eventInitDict
|
|
52
|
-
*/
|
|
53
|
-
function fireEvent (e, target, eventConstructor = Event, eventInitDict) {
|
|
54
|
-
// 1. If eventConstructor is not given, then let eventConstructor be Event.
|
|
55
|
-
|
|
56
|
-
// 2. Let event be the result of creating an event given eventConstructor,
|
|
57
|
-
// in the relevant realm of target.
|
|
58
|
-
// 3. Initialize event’s type attribute to e.
|
|
59
|
-
const event = new eventConstructor(e, eventInitDict); // eslint-disable-line new-cap
|
|
60
|
-
|
|
61
|
-
// 4. Initialize any other IDL attributes of event as described in the
|
|
62
|
-
// invocation of this algorithm.
|
|
63
|
-
|
|
64
|
-
// 5. Return the result of dispatching event at target, with legacy target
|
|
65
|
-
// override flag set if set.
|
|
66
|
-
target.dispatchEvent(event);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol
|
|
71
|
-
* @param {import('./websocket').WebSocket} ws
|
|
72
|
-
* @param {number} type Opcode
|
|
73
|
-
* @param {Buffer} data application data
|
|
74
|
-
*/
|
|
75
|
-
function websocketMessageReceived (ws, type, data) {
|
|
76
|
-
// 1. If ready state is not OPEN (1), then return.
|
|
77
|
-
if (ws[kReadyState] !== states.OPEN) {
|
|
78
|
-
return
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// 2. Let dataForEvent be determined by switching on type and binary type:
|
|
82
|
-
let dataForEvent;
|
|
83
|
-
|
|
84
|
-
if (type === opcodes.TEXT) {
|
|
85
|
-
// -> type indicates that the data is Text
|
|
86
|
-
// a new DOMString containing data
|
|
87
|
-
try {
|
|
88
|
-
dataForEvent = new TextDecoder('utf-8', { fatal: true }).decode(data);
|
|
89
|
-
} catch {
|
|
90
|
-
failWebsocketConnection(ws, 'Received invalid UTF-8 in text frame.');
|
|
91
|
-
return
|
|
92
|
-
}
|
|
93
|
-
} else if (type === opcodes.BINARY) {
|
|
94
|
-
if (ws[kBinaryType] === 'blob') {
|
|
95
|
-
// -> type indicates that the data is Binary and binary type is "blob"
|
|
96
|
-
// a new Blob object, created in the relevant Realm of the WebSocket
|
|
97
|
-
// object, that represents data as its raw data
|
|
98
|
-
dataForEvent = new Blob([data]);
|
|
99
|
-
} else {
|
|
100
|
-
// -> type indicates that the data is Binary and binary type is "arraybuffer"
|
|
101
|
-
// a new ArrayBuffer object, created in the relevant Realm of the
|
|
102
|
-
// WebSocket object, whose contents are data
|
|
103
|
-
dataForEvent = new Uint8Array(data).buffer;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// 3. Fire an event named message at the WebSocket object, using MessageEvent,
|
|
108
|
-
// with the origin attribute initialized to the serialization of the WebSocket
|
|
109
|
-
// object’s url's origin, and the data attribute initialized to dataForEvent.
|
|
110
|
-
fireEvent('message', ws, MessageEvent, {
|
|
111
|
-
origin: ws[kWebSocketURL].origin,
|
|
112
|
-
data: dataForEvent
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @see https://datatracker.ietf.org/doc/html/rfc6455
|
|
118
|
-
* @see https://datatracker.ietf.org/doc/html/rfc2616
|
|
119
|
-
* @see https://bugs.chromium.org/p/chromium/issues/detail?id=398407
|
|
120
|
-
* @param {string} protocol
|
|
121
|
-
*/
|
|
122
|
-
function isValidSubprotocol (protocol) {
|
|
123
|
-
// If present, this value indicates one
|
|
124
|
-
// or more comma-separated subprotocol the client wishes to speak,
|
|
125
|
-
// ordered by preference. The elements that comprise this value
|
|
126
|
-
// MUST be non-empty strings with characters in the range U+0021 to
|
|
127
|
-
// U+007E not including separator characters as defined in
|
|
128
|
-
// [RFC2616] and MUST all be unique strings.
|
|
129
|
-
if (protocol.length === 0) {
|
|
130
|
-
return false
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
for (const char of protocol) {
|
|
134
|
-
const code = char.charCodeAt(0);
|
|
135
|
-
|
|
136
|
-
if (
|
|
137
|
-
code < 0x21 ||
|
|
138
|
-
code > 0x7E ||
|
|
139
|
-
char === '(' ||
|
|
140
|
-
char === ')' ||
|
|
141
|
-
char === '<' ||
|
|
142
|
-
char === '>' ||
|
|
143
|
-
char === '@' ||
|
|
144
|
-
char === ',' ||
|
|
145
|
-
char === ';' ||
|
|
146
|
-
char === ':' ||
|
|
147
|
-
char === '\\' ||
|
|
148
|
-
char === '"' ||
|
|
149
|
-
char === '/' ||
|
|
150
|
-
char === '[' ||
|
|
151
|
-
char === ']' ||
|
|
152
|
-
char === '?' ||
|
|
153
|
-
char === '=' ||
|
|
154
|
-
char === '{' ||
|
|
155
|
-
char === '}' ||
|
|
156
|
-
code === 32 || // SP
|
|
157
|
-
code === 9 // HT
|
|
158
|
-
) {
|
|
159
|
-
return false
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
return true
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @see https://datatracker.ietf.org/doc/html/rfc6455#section-7-4
|
|
168
|
-
* @param {number} code
|
|
169
|
-
*/
|
|
170
|
-
function isValidStatusCode (code) {
|
|
171
|
-
if (code >= 1000 && code < 1015) {
|
|
172
|
-
return (
|
|
173
|
-
code !== 1004 && // reserved
|
|
174
|
-
code !== 1005 && // "MUST NOT be set as a status code"
|
|
175
|
-
code !== 1006 // "MUST NOT be set as a status code"
|
|
176
|
-
)
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
return code >= 3000 && code <= 4999
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @param {import('./websocket').WebSocket} ws
|
|
184
|
-
* @param {string|undefined} reason
|
|
185
|
-
*/
|
|
186
|
-
function failWebsocketConnection (ws, reason) {
|
|
187
|
-
const { [kController]: controller, [kResponse]: response } = ws;
|
|
188
|
-
|
|
189
|
-
controller.abort();
|
|
190
|
-
|
|
191
|
-
if (response?.socket && !response.socket.destroyed) {
|
|
192
|
-
response.socket.destroy();
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
if (reason) {
|
|
196
|
-
fireEvent('error', ws, ErrorEvent, {
|
|
197
|
-
error: new Error(reason)
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
util = {
|
|
203
|
-
isEstablished,
|
|
204
|
-
isClosing,
|
|
205
|
-
isClosed,
|
|
206
|
-
fireEvent,
|
|
207
|
-
isValidSubprotocol,
|
|
208
|
-
isValidStatusCode,
|
|
209
|
-
failWebsocketConnection,
|
|
210
|
-
websocketMessageReceived
|
|
211
|
-
};
|
|
212
|
-
return util;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
exports.__require = requireUtil;
|
|
216
|
-
//# sourceMappingURL=util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sources":["../../../../../../../../node_modules/undici/lib/websocket/util.js"],"sourcesContent":["'use strict'\n\nconst { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = require('./symbols')\nconst { states, opcodes } = require('./constants')\nconst { MessageEvent, ErrorEvent } = require('./events')\n\n/* globals Blob */\n\n/**\n * @param {import('./websocket').WebSocket} ws\n */\nfunction isEstablished (ws) {\n // If the server's response is validated as provided for above, it is\n // said that _The WebSocket Connection is Established_ and that the\n // WebSocket Connection is in the OPEN state.\n return ws[kReadyState] === states.OPEN\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n */\nfunction isClosing (ws) {\n // Upon either sending or receiving a Close control frame, it is said\n // that _The WebSocket Closing Handshake is Started_ and that the\n // WebSocket connection is in the CLOSING state.\n return ws[kReadyState] === states.CLOSING\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n */\nfunction isClosed (ws) {\n return ws[kReadyState] === states.CLOSED\n}\n\n/**\n * @see https://dom.spec.whatwg.org/#concept-event-fire\n * @param {string} e\n * @param {EventTarget} target\n * @param {EventInit | undefined} eventInitDict\n */\nfunction fireEvent (e, target, eventConstructor = Event, eventInitDict) {\n // 1. If eventConstructor is not given, then let eventConstructor be Event.\n\n // 2. Let event be the result of creating an event given eventConstructor,\n // in the relevant realm of target.\n // 3. Initialize event’s type attribute to e.\n const event = new eventConstructor(e, eventInitDict) // eslint-disable-line new-cap\n\n // 4. Initialize any other IDL attributes of event as described in the\n // invocation of this algorithm.\n\n // 5. Return the result of dispatching event at target, with legacy target\n // override flag set if set.\n target.dispatchEvent(event)\n}\n\n/**\n * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol\n * @param {import('./websocket').WebSocket} ws\n * @param {number} type Opcode\n * @param {Buffer} data application data\n */\nfunction websocketMessageReceived (ws, type, data) {\n // 1. If ready state is not OPEN (1), then return.\n if (ws[kReadyState] !== states.OPEN) {\n return\n }\n\n // 2. Let dataForEvent be determined by switching on type and binary type:\n let dataForEvent\n\n if (type === opcodes.TEXT) {\n // -> type indicates that the data is Text\n // a new DOMString containing data\n try {\n dataForEvent = new TextDecoder('utf-8', { fatal: true }).decode(data)\n } catch {\n failWebsocketConnection(ws, 'Received invalid UTF-8 in text frame.')\n return\n }\n } else if (type === opcodes.BINARY) {\n if (ws[kBinaryType] === 'blob') {\n // -> type indicates that the data is Binary and binary type is \"blob\"\n // a new Blob object, created in the relevant Realm of the WebSocket\n // object, that represents data as its raw data\n dataForEvent = new Blob([data])\n } else {\n // -> type indicates that the data is Binary and binary type is \"arraybuffer\"\n // a new ArrayBuffer object, created in the relevant Realm of the\n // WebSocket object, whose contents are data\n dataForEvent = new Uint8Array(data).buffer\n }\n }\n\n // 3. Fire an event named message at the WebSocket object, using MessageEvent,\n // with the origin attribute initialized to the serialization of the WebSocket\n // object’s url's origin, and the data attribute initialized to dataForEvent.\n fireEvent('message', ws, MessageEvent, {\n origin: ws[kWebSocketURL].origin,\n data: dataForEvent\n })\n}\n\n/**\n * @see https://datatracker.ietf.org/doc/html/rfc6455\n * @see https://datatracker.ietf.org/doc/html/rfc2616\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=398407\n * @param {string} protocol\n */\nfunction isValidSubprotocol (protocol) {\n // If present, this value indicates one\n // or more comma-separated subprotocol the client wishes to speak,\n // ordered by preference. The elements that comprise this value\n // MUST be non-empty strings with characters in the range U+0021 to\n // U+007E not including separator characters as defined in\n // [RFC2616] and MUST all be unique strings.\n if (protocol.length === 0) {\n return false\n }\n\n for (const char of protocol) {\n const code = char.charCodeAt(0)\n\n if (\n code < 0x21 ||\n code > 0x7E ||\n char === '(' ||\n char === ')' ||\n char === '<' ||\n char === '>' ||\n char === '@' ||\n char === ',' ||\n char === ';' ||\n char === ':' ||\n char === '\\\\' ||\n char === '\"' ||\n char === '/' ||\n char === '[' ||\n char === ']' ||\n char === '?' ||\n char === '=' ||\n char === '{' ||\n char === '}' ||\n code === 32 || // SP\n code === 9 // HT\n ) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7-4\n * @param {number} code\n */\nfunction isValidStatusCode (code) {\n if (code >= 1000 && code < 1015) {\n return (\n code !== 1004 && // reserved\n code !== 1005 && // \"MUST NOT be set as a status code\"\n code !== 1006 // \"MUST NOT be set as a status code\"\n )\n }\n\n return code >= 3000 && code <= 4999\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @param {string|undefined} reason\n */\nfunction failWebsocketConnection (ws, reason) {\n const { [kController]: controller, [kResponse]: response } = ws\n\n controller.abort()\n\n if (response?.socket && !response.socket.destroyed) {\n response.socket.destroy()\n }\n\n if (reason) {\n fireEvent('error', ws, ErrorEvent, {\n error: new Error(reason)\n })\n }\n}\n\nmodule.exports = {\n isEstablished,\n isClosing,\n isClosed,\n fireEvent,\n isValidSubprotocol,\n isValidStatusCode,\n failWebsocketConnection,\n websocketMessageReceived\n}\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;CAEA,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,GAAGA,iBAAA;AAC5E,CAAA,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAGC,mBAAA;AAC5B,CAAA,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,GAAGC,gBAAA;;AAErC;;AAEA;AACA;AACA;CACA,SAAS,aAAa,EAAE,EAAE,EAAE;AAC5B;AACA;AACA;AACA,GAAE,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK,MAAM,CAAC;AACpC,CAAA;;AAEA;AACA;AACA;CACA,SAAS,SAAS,EAAE,EAAE,EAAE;AACxB;AACA;AACA;AACA,GAAE,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK,MAAM,CAAC;AACpC,CAAA;;AAEA;AACA;AACA;CACA,SAAS,QAAQ,EAAE,EAAE,EAAE;AACvB,GAAE,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK,MAAM,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