@relative-ci/core 5.3.0-beta.1 → 5.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/__/@actions/http-client/__/undici/index.js +226 -0
- package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +73 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +131 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +276 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +238 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +246 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +131 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +25 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +405 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +114 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +266 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +130 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +222 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +418 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +80 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js +166 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +755 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +149 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +227 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1397 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +768 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +650 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +206 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +177 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +129 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +211 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +49 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +126 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +299 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +50 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +47 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +56 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +237 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +395 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js +397 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js +139 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +35 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +38 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js +33 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +288 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +23 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +23 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +28 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +183 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +42 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +224 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +83 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +35 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +390 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +63 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +41 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js +435 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js +886 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +169 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +19 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js +65 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +24 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js +201 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +338 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js +294 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +508 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +49 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js +560 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +136 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +762 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +60 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js +146 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +499 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +275 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js +52 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +709 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2235 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1069 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +640 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +21 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1662 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +716 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +302 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +361 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +92 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +22 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +417 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +391 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +78 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js +350 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +110 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +89 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +451 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +120 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +24 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js +336 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +618 -0
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
- package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
- package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/cjs/__/cross-spawn/index.js +1 -1
- package/lib/cjs/__/env-ci/lib/git.js +1 -1
- package/lib/cjs/__/{env-ci/__/execa → execa}/index.js +3 -3
- package/lib/cjs/__/execa/index.js.map +1 -0
- package/lib/cjs/__/execa/lib/command.js.map +1 -0
- package/lib/cjs/__/execa/lib/error.js.map +1 -0
- package/lib/cjs/__/execa/lib/promise.js.map +1 -0
- package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
- package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
- package/lib/cjs/__/execa/lib/stream.js.map +1 -0
- package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
- package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/cjs/__/is-stream/index.js.map +1 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js +151 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -0
- package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/cjs/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
- package/lib/cjs/__/npm-run-path/index.js.map +1 -0
- package/lib/cjs/__/path-key/index.js +1 -1
- package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
- package/lib/cjs/__/undici/index.js +1 -1
- package/lib/cjs/__/undici/lib/api/api-connect.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-pipeline.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-request.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-stream.js +3 -3
- package/lib/cjs/__/undici/lib/api/api-upgrade.js +3 -3
- package/lib/cjs/__/undici/lib/core/util.js +14 -14
- package/lib/cjs/__/undici/lib/fetch/body.js +8 -8
- package/lib/cjs/__/undici/lib/fetch/constants.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/dataURL.js +5 -5
- package/lib/cjs/__/undici/lib/fetch/file.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/formdata.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/index.js +3 -3
- package/lib/cjs/__/undici/lib/fetch/index.js.map +1 -1
- package/lib/cjs/__/undici/lib/fetch/util.js +6 -6
- package/lib/cjs/__/undici/lib/fileapi/util.js +6 -6
- package/lib/cjs/__/undici/lib/websocket/events.js +3 -3
- package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
- package/lib/cjs/_virtual/api-request2.js +6 -0
- package/lib/cjs/_virtual/api-request2.js.map +1 -0
- package/lib/cjs/_virtual/constants2.js +6 -0
- package/lib/cjs/_virtual/constants2.js.map +1 -0
- package/lib/cjs/_virtual/index10.js +2 -2
- package/lib/cjs/_virtual/index11.js +2 -2
- package/lib/cjs/_virtual/index14.js +2 -2
- package/lib/cjs/_virtual/index15.js +6 -0
- package/lib/cjs/_virtual/index15.js.map +1 -0
- package/lib/cjs/_virtual/index16.js +6 -0
- package/lib/cjs/_virtual/index16.js.map +1 -0
- package/lib/cjs/_virtual/index2.js +1 -1
- package/lib/cjs/_virtual/index3.js +1 -1
- package/lib/cjs/_virtual/index4.js +1 -1
- package/lib/cjs/_virtual/index8.js +2 -2
- package/lib/cjs/_virtual/mock-interceptor2.js +6 -0
- package/lib/cjs/_virtual/mock-interceptor2.js.map +1 -0
- package/lib/cjs/_virtual/utils4.js +6 -0
- package/lib/cjs/_virtual/utils4.js.map +1 -0
- package/lib/cjs/env/load.js +1 -1
- package/lib/cjs/env/load.js.map +1 -1
- package/lib/esm/__/@actions/http-client/__/undici/index.js +220 -0
- package/lib/esm/__/@actions/http-client/__/undici/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +71 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +268 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +231 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +238 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +23 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +398 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +108 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +258 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +128 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +215 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +416 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +411 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +78 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js +164 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +742 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +147 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js +225 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js +1391 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js +761 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +642 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +204 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js +175 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js +127 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +209 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js +47 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +124 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js +293 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js +48 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +45 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js +54 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +230 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js +389 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js +390 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js +137 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js +33 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js +36 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js +31 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +286 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +26 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +181 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +40 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +222 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +77 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +33 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +383 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +56 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +39 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js +433 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js +880 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js +167 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js +17 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js +59 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js +22 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js +199 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js +332 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js +292 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js +411 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js +502 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js +47 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js +551 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js +134 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js +756 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js +58 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js +140 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js +492 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +268 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js +50 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +702 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +2224 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +1061 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +633 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js +19 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +1652 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +709 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js +300 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js +359 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js +90 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js +20 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +409 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js +389 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js +76 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js +344 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js +108 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +83 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +444 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js +118 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js +22 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js +330 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +612 -0
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
- package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +1 -1
- package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request/dist-bundle/index.js +5 -4
- package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/esm/__/cross-spawn/index.js +1 -1
- package/lib/esm/__/env-ci/lib/git.js +1 -1
- package/lib/esm/__/{env-ci/__/execa → execa}/index.js +1 -1
- package/lib/esm/__/execa/index.js.map +1 -0
- package/lib/esm/__/execa/lib/command.js.map +1 -0
- package/lib/esm/__/execa/lib/error.js.map +1 -0
- package/lib/esm/__/execa/lib/promise.js.map +1 -0
- package/lib/esm/__/execa/lib/stdio.js.map +1 -0
- package/lib/esm/__/{env-ci/__/execa → execa}/lib/stream.js +1 -1
- package/lib/esm/__/execa/lib/stream.js.map +1 -0
- package/lib/esm/__/execa/lib/verbose.js.map +1 -0
- package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/esm/__/is-stream/index.js.map +1 -0
- package/lib/esm/__/java-properties/dist-node/index.js +1 -1
- package/lib/esm/__/json-with-bigint/json-with-bigint.js +148 -0
- package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -0
- package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/esm/__/{env-ci/__/npm-run-path → npm-run-path}/index.js +1 -1
- package/lib/esm/__/npm-run-path/index.js.map +1 -0
- package/lib/esm/__/path-key/index.js +1 -1
- package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/esm/__/strip-final-newline/index.js.map +1 -0
- package/lib/esm/__/undici/index.js +1 -1
- package/lib/esm/__/undici/lib/api/api-connect.js +2 -2
- package/lib/esm/__/undici/lib/api/api-pipeline.js +2 -2
- package/lib/esm/__/undici/lib/api/api-request.js +2 -2
- package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-stream.js +2 -2
- package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-upgrade.js +2 -2
- package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/esm/__/undici/lib/core/util.js +10 -10
- package/lib/esm/__/undici/lib/core/util.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/body.js +6 -6
- package/lib/esm/__/undici/lib/fetch/body.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/constants.js +2 -2
- package/lib/esm/__/undici/lib/fetch/constants.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/dataURL.js +4 -4
- package/lib/esm/__/undici/lib/fetch/dataURL.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/file.js +2 -2
- package/lib/esm/__/undici/lib/fetch/file.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/formdata.js +2 -2
- package/lib/esm/__/undici/lib/fetch/index.js +2 -2
- package/lib/esm/__/undici/lib/fetch/index.js.map +1 -1
- package/lib/esm/__/undici/lib/fetch/util.js +4 -4
- package/lib/esm/__/undici/lib/fetch/util.js.map +1 -1
- package/lib/esm/__/undici/lib/fileapi/util.js +4 -4
- package/lib/esm/__/undici/lib/fileapi/util.js.map +1 -1
- package/lib/esm/__/undici/lib/websocket/events.js +2 -2
- package/lib/esm/__/universal-user-agent/index.js.map +1 -0
- package/lib/esm/_virtual/api-request2.js +4 -0
- package/lib/esm/_virtual/api-request2.js.map +1 -0
- package/lib/esm/_virtual/constants2.js +4 -0
- package/lib/esm/_virtual/constants2.js.map +1 -0
- package/lib/esm/_virtual/index10.js +4 -2
- package/lib/esm/_virtual/index10.js.map +1 -1
- package/lib/esm/_virtual/index11.js +2 -2
- package/lib/esm/_virtual/index14.js +2 -2
- package/lib/esm/_virtual/index15.js +4 -0
- package/lib/esm/_virtual/index15.js.map +1 -0
- package/lib/esm/_virtual/index16.js +4 -0
- package/lib/esm/_virtual/index16.js.map +1 -0
- package/lib/esm/_virtual/index2.js +1 -1
- package/lib/esm/_virtual/index3.js +1 -1
- package/lib/esm/_virtual/index4.js +1 -1
- package/lib/esm/_virtual/index5.js +2 -6
- package/lib/esm/_virtual/index5.js.map +1 -1
- package/lib/esm/_virtual/index6.js +6 -2
- package/lib/esm/_virtual/index6.js.map +1 -1
- package/lib/esm/_virtual/index8.js +2 -4
- package/lib/esm/_virtual/index8.js.map +1 -1
- package/lib/esm/_virtual/index9.js +2 -2
- package/lib/esm/_virtual/mock-interceptor2.js +4 -0
- package/lib/esm/_virtual/mock-interceptor2.js.map +1 -0
- package/lib/esm/_virtual/utils4.js +4 -0
- package/lib/esm/_virtual/utils4.js.map +1 -0
- package/lib/esm/env/load.js +1 -1
- package/lib/esm/env/load.js.map +1 -1
- package/lib/types/env/load.d.ts +5 -5
- package/lib/types/utils/log-response.d.ts +5 -5
- package/lib/types/utils/logger.d.ts +5 -5
- package/package.json +9 -9
- package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
- /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
- /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var require$$0 = require('node:stream');
|
|
4
|
+
var require$$0$1 = require('node:assert');
|
|
5
|
+
var constants = require('./constants.js');
|
|
6
|
+
var symbols = require('./symbols.js');
|
|
7
|
+
var diagnostics = require('../../core/diagnostics.js');
|
|
8
|
+
var util = require('./util.js');
|
|
9
|
+
var frame = require('./frame.js');
|
|
10
|
+
var connection = require('./connection.js');
|
|
11
|
+
var permessageDeflate = require('./permessage-deflate.js');
|
|
12
|
+
|
|
13
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
|
|
15
|
+
var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
|
|
16
|
+
var require$$0__default$1 = /*#__PURE__*/_interopDefault(require$$0$1);
|
|
17
|
+
|
|
18
|
+
var receiver;
|
|
19
|
+
var hasRequiredReceiver;
|
|
20
|
+
|
|
21
|
+
function requireReceiver () {
|
|
22
|
+
if (hasRequiredReceiver) return receiver;
|
|
23
|
+
hasRequiredReceiver = 1;
|
|
24
|
+
|
|
25
|
+
const { Writable } = require$$0__default.default;
|
|
26
|
+
const assert = require$$0__default$1.default;
|
|
27
|
+
const { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = constants.__require();
|
|
28
|
+
const { kReadyState, kSentClose, kResponse, kReceivedClose } = symbols.__require();
|
|
29
|
+
const { channels } = diagnostics.__require();
|
|
30
|
+
const {
|
|
31
|
+
isValidStatusCode,
|
|
32
|
+
isValidOpcode,
|
|
33
|
+
failWebsocketConnection,
|
|
34
|
+
websocketMessageReceived,
|
|
35
|
+
utf8Decode,
|
|
36
|
+
isControlFrame,
|
|
37
|
+
isTextBinaryFrame,
|
|
38
|
+
isContinuationFrame
|
|
39
|
+
} = util.__require();
|
|
40
|
+
const { WebsocketFrameSend } = frame.__require();
|
|
41
|
+
const { closeWebSocketConnection } = connection.__require();
|
|
42
|
+
const { PerMessageDeflate } = permessageDeflate.__require();
|
|
43
|
+
|
|
44
|
+
// This code was influenced by ws released under the MIT license.
|
|
45
|
+
// Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
|
46
|
+
// Copyright (c) 2013 Arnout Kazemier and contributors
|
|
47
|
+
// Copyright (c) 2016 Luigi Pinca and contributors
|
|
48
|
+
|
|
49
|
+
class ByteParser extends Writable {
|
|
50
|
+
#buffers = []
|
|
51
|
+
#byteOffset = 0
|
|
52
|
+
#loop = false
|
|
53
|
+
|
|
54
|
+
#state = parserStates.INFO
|
|
55
|
+
|
|
56
|
+
#info = {}
|
|
57
|
+
#fragments = []
|
|
58
|
+
|
|
59
|
+
/** @type {Map<string, PerMessageDeflate>} */
|
|
60
|
+
#extensions
|
|
61
|
+
|
|
62
|
+
constructor (ws, extensions) {
|
|
63
|
+
super();
|
|
64
|
+
|
|
65
|
+
this.ws = ws;
|
|
66
|
+
this.#extensions = extensions == null ? new Map() : extensions;
|
|
67
|
+
|
|
68
|
+
if (this.#extensions.has('permessage-deflate')) {
|
|
69
|
+
this.#extensions.set('permessage-deflate', new PerMessageDeflate(extensions));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {Buffer} chunk
|
|
75
|
+
* @param {() => void} callback
|
|
76
|
+
*/
|
|
77
|
+
_write (chunk, _, callback) {
|
|
78
|
+
this.#buffers.push(chunk);
|
|
79
|
+
this.#byteOffset += chunk.length;
|
|
80
|
+
this.#loop = true;
|
|
81
|
+
|
|
82
|
+
this.run(callback);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Runs whenever a new chunk is received.
|
|
87
|
+
* Callback is called whenever there are no more chunks buffering,
|
|
88
|
+
* or not enough bytes are buffered to parse.
|
|
89
|
+
*/
|
|
90
|
+
run (callback) {
|
|
91
|
+
while (this.#loop) {
|
|
92
|
+
if (this.#state === parserStates.INFO) {
|
|
93
|
+
// If there aren't enough bytes to parse the payload length, etc.
|
|
94
|
+
if (this.#byteOffset < 2) {
|
|
95
|
+
return callback()
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const buffer = this.consume(2);
|
|
99
|
+
const fin = (buffer[0] & 0x80) !== 0;
|
|
100
|
+
const opcode = buffer[0] & 0x0F;
|
|
101
|
+
const masked = (buffer[1] & 0x80) === 0x80;
|
|
102
|
+
|
|
103
|
+
const fragmented = !fin && opcode !== opcodes.CONTINUATION;
|
|
104
|
+
const payloadLength = buffer[1] & 0x7F;
|
|
105
|
+
|
|
106
|
+
const rsv1 = buffer[0] & 0x40;
|
|
107
|
+
const rsv2 = buffer[0] & 0x20;
|
|
108
|
+
const rsv3 = buffer[0] & 0x10;
|
|
109
|
+
|
|
110
|
+
if (!isValidOpcode(opcode)) {
|
|
111
|
+
failWebsocketConnection(this.ws, 'Invalid opcode received');
|
|
112
|
+
return callback()
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (masked) {
|
|
116
|
+
failWebsocketConnection(this.ws, 'Frame cannot be masked');
|
|
117
|
+
return callback()
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// MUST be 0 unless an extension is negotiated that defines meanings
|
|
121
|
+
// for non-zero values. If a nonzero value is received and none of
|
|
122
|
+
// the negotiated extensions defines the meaning of such a nonzero
|
|
123
|
+
// value, the receiving endpoint MUST _Fail the WebSocket
|
|
124
|
+
// Connection_.
|
|
125
|
+
// This document allocates the RSV1 bit of the WebSocket header for
|
|
126
|
+
// PMCEs and calls the bit the "Per-Message Compressed" bit. On a
|
|
127
|
+
// WebSocket connection where a PMCE is in use, this bit indicates
|
|
128
|
+
// whether a message is compressed or not.
|
|
129
|
+
if (rsv1 !== 0 && !this.#extensions.has('permessage-deflate')) {
|
|
130
|
+
failWebsocketConnection(this.ws, 'Expected RSV1 to be clear.');
|
|
131
|
+
return
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (rsv2 !== 0 || rsv3 !== 0) {
|
|
135
|
+
failWebsocketConnection(this.ws, 'RSV1, RSV2, RSV3 must be clear');
|
|
136
|
+
return
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (fragmented && !isTextBinaryFrame(opcode)) {
|
|
140
|
+
// Only text and binary frames can be fragmented
|
|
141
|
+
failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.');
|
|
142
|
+
return
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// If we are already parsing a text/binary frame and do not receive either
|
|
146
|
+
// a continuation frame or close frame, fail the connection.
|
|
147
|
+
if (isTextBinaryFrame(opcode) && this.#fragments.length > 0) {
|
|
148
|
+
failWebsocketConnection(this.ws, 'Expected continuation frame');
|
|
149
|
+
return
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (this.#info.fragmented && fragmented) {
|
|
153
|
+
// A fragmented frame can't be fragmented itself
|
|
154
|
+
failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.');
|
|
155
|
+
return
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// "All control frames MUST have a payload length of 125 bytes or less
|
|
159
|
+
// and MUST NOT be fragmented."
|
|
160
|
+
if ((payloadLength > 125 || fragmented) && isControlFrame(opcode)) {
|
|
161
|
+
failWebsocketConnection(this.ws, 'Control frame either too large or fragmented');
|
|
162
|
+
return
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (isContinuationFrame(opcode) && this.#fragments.length === 0 && !this.#info.compressed) {
|
|
166
|
+
failWebsocketConnection(this.ws, 'Unexpected continuation frame');
|
|
167
|
+
return
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
if (payloadLength <= 125) {
|
|
171
|
+
this.#info.payloadLength = payloadLength;
|
|
172
|
+
this.#state = parserStates.READ_DATA;
|
|
173
|
+
} else if (payloadLength === 126) {
|
|
174
|
+
this.#state = parserStates.PAYLOADLENGTH_16;
|
|
175
|
+
} else if (payloadLength === 127) {
|
|
176
|
+
this.#state = parserStates.PAYLOADLENGTH_64;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (isTextBinaryFrame(opcode)) {
|
|
180
|
+
this.#info.binaryType = opcode;
|
|
181
|
+
this.#info.compressed = rsv1 !== 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
this.#info.opcode = opcode;
|
|
185
|
+
this.#info.masked = masked;
|
|
186
|
+
this.#info.fin = fin;
|
|
187
|
+
this.#info.fragmented = fragmented;
|
|
188
|
+
} else if (this.#state === parserStates.PAYLOADLENGTH_16) {
|
|
189
|
+
if (this.#byteOffset < 2) {
|
|
190
|
+
return callback()
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
const buffer = this.consume(2);
|
|
194
|
+
|
|
195
|
+
this.#info.payloadLength = buffer.readUInt16BE(0);
|
|
196
|
+
this.#state = parserStates.READ_DATA;
|
|
197
|
+
} else if (this.#state === parserStates.PAYLOADLENGTH_64) {
|
|
198
|
+
if (this.#byteOffset < 8) {
|
|
199
|
+
return callback()
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
const buffer = this.consume(8);
|
|
203
|
+
const upper = buffer.readUInt32BE(0);
|
|
204
|
+
|
|
205
|
+
// 2^31 is the maximum bytes an arraybuffer can contain
|
|
206
|
+
// on 32-bit systems. Although, on 64-bit systems, this is
|
|
207
|
+
// 2^53-1 bytes.
|
|
208
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length
|
|
209
|
+
// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/globals.h;drc=1946212ac0100668f14eb9e2843bdd846e510a1e;bpv=1;bpt=1;l=1275
|
|
210
|
+
// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/objects/js-array-buffer.h;l=34;drc=1946212ac0100668f14eb9e2843bdd846e510a1e
|
|
211
|
+
if (upper > 2 ** 31 - 1) {
|
|
212
|
+
failWebsocketConnection(this.ws, 'Received payload length > 2^31 bytes.');
|
|
213
|
+
return
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const lower = buffer.readUInt32BE(4);
|
|
217
|
+
|
|
218
|
+
this.#info.payloadLength = (upper << 8) + lower;
|
|
219
|
+
this.#state = parserStates.READ_DATA;
|
|
220
|
+
} else if (this.#state === parserStates.READ_DATA) {
|
|
221
|
+
if (this.#byteOffset < this.#info.payloadLength) {
|
|
222
|
+
return callback()
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
const body = this.consume(this.#info.payloadLength);
|
|
226
|
+
|
|
227
|
+
if (isControlFrame(this.#info.opcode)) {
|
|
228
|
+
this.#loop = this.parseControlFrame(body);
|
|
229
|
+
this.#state = parserStates.INFO;
|
|
230
|
+
} else {
|
|
231
|
+
if (!this.#info.compressed) {
|
|
232
|
+
this.#fragments.push(body);
|
|
233
|
+
|
|
234
|
+
// If the frame is not fragmented, a message has been received.
|
|
235
|
+
// If the frame is fragmented, it will terminate with a fin bit set
|
|
236
|
+
// and an opcode of 0 (continuation), therefore we handle that when
|
|
237
|
+
// parsing continuation frames, not here.
|
|
238
|
+
if (!this.#info.fragmented && this.#info.fin) {
|
|
239
|
+
const fullMessage = Buffer.concat(this.#fragments);
|
|
240
|
+
websocketMessageReceived(this.ws, this.#info.binaryType, fullMessage);
|
|
241
|
+
this.#fragments.length = 0;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
this.#state = parserStates.INFO;
|
|
245
|
+
} else {
|
|
246
|
+
this.#extensions.get('permessage-deflate').decompress(body, this.#info.fin, (error, data) => {
|
|
247
|
+
if (error) {
|
|
248
|
+
closeWebSocketConnection(this.ws, 1007, error.message, error.message.length);
|
|
249
|
+
return
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
this.#fragments.push(data);
|
|
253
|
+
|
|
254
|
+
if (!this.#info.fin) {
|
|
255
|
+
this.#state = parserStates.INFO;
|
|
256
|
+
this.#loop = true;
|
|
257
|
+
this.run(callback);
|
|
258
|
+
return
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
websocketMessageReceived(this.ws, this.#info.binaryType, Buffer.concat(this.#fragments));
|
|
262
|
+
|
|
263
|
+
this.#loop = true;
|
|
264
|
+
this.#state = parserStates.INFO;
|
|
265
|
+
this.#fragments.length = 0;
|
|
266
|
+
this.run(callback);
|
|
267
|
+
});
|
|
268
|
+
|
|
269
|
+
this.#loop = false;
|
|
270
|
+
break
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Take n bytes from the buffered Buffers
|
|
279
|
+
* @param {number} n
|
|
280
|
+
* @returns {Buffer}
|
|
281
|
+
*/
|
|
282
|
+
consume (n) {
|
|
283
|
+
if (n > this.#byteOffset) {
|
|
284
|
+
throw new Error('Called consume() before buffers satiated.')
|
|
285
|
+
} else if (n === 0) {
|
|
286
|
+
return emptyBuffer
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (this.#buffers[0].length === n) {
|
|
290
|
+
this.#byteOffset -= this.#buffers[0].length;
|
|
291
|
+
return this.#buffers.shift()
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
const buffer = Buffer.allocUnsafe(n);
|
|
295
|
+
let offset = 0;
|
|
296
|
+
|
|
297
|
+
while (offset !== n) {
|
|
298
|
+
const next = this.#buffers[0];
|
|
299
|
+
const { length } = next;
|
|
300
|
+
|
|
301
|
+
if (length + offset === n) {
|
|
302
|
+
buffer.set(this.#buffers.shift(), offset);
|
|
303
|
+
break
|
|
304
|
+
} else if (length + offset > n) {
|
|
305
|
+
buffer.set(next.subarray(0, n - offset), offset);
|
|
306
|
+
this.#buffers[0] = next.subarray(n - offset);
|
|
307
|
+
break
|
|
308
|
+
} else {
|
|
309
|
+
buffer.set(this.#buffers.shift(), offset);
|
|
310
|
+
offset += next.length;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
this.#byteOffset -= n;
|
|
315
|
+
|
|
316
|
+
return buffer
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
parseCloseBody (data) {
|
|
320
|
+
assert(data.length !== 1);
|
|
321
|
+
|
|
322
|
+
// https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.5
|
|
323
|
+
/** @type {number|undefined} */
|
|
324
|
+
let code;
|
|
325
|
+
|
|
326
|
+
if (data.length >= 2) {
|
|
327
|
+
// _The WebSocket Connection Close Code_ is
|
|
328
|
+
// defined as the status code (Section 7.4) contained in the first Close
|
|
329
|
+
// control frame received by the application
|
|
330
|
+
code = data.readUInt16BE(0);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
if (code !== undefined && !isValidStatusCode(code)) {
|
|
334
|
+
return { code: 1002, reason: 'Invalid status code', error: true }
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6
|
|
338
|
+
/** @type {Buffer} */
|
|
339
|
+
let reason = data.subarray(2);
|
|
340
|
+
|
|
341
|
+
// Remove BOM
|
|
342
|
+
if (reason[0] === 0xEF && reason[1] === 0xBB && reason[2] === 0xBF) {
|
|
343
|
+
reason = reason.subarray(3);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
try {
|
|
347
|
+
reason = utf8Decode(reason);
|
|
348
|
+
} catch {
|
|
349
|
+
return { code: 1007, reason: 'Invalid UTF-8', error: true }
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
return { code, reason, error: false }
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Parses control frames.
|
|
357
|
+
* @param {Buffer} body
|
|
358
|
+
*/
|
|
359
|
+
parseControlFrame (body) {
|
|
360
|
+
const { opcode, payloadLength } = this.#info;
|
|
361
|
+
|
|
362
|
+
if (opcode === opcodes.CLOSE) {
|
|
363
|
+
if (payloadLength === 1) {
|
|
364
|
+
failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.');
|
|
365
|
+
return false
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
this.#info.closeInfo = this.parseCloseBody(body);
|
|
369
|
+
|
|
370
|
+
if (this.#info.closeInfo.error) {
|
|
371
|
+
const { code, reason } = this.#info.closeInfo;
|
|
372
|
+
|
|
373
|
+
closeWebSocketConnection(this.ws, code, reason, reason.length);
|
|
374
|
+
failWebsocketConnection(this.ws, reason);
|
|
375
|
+
return false
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
if (this.ws[kSentClose] !== sentCloseFrameState.SENT) {
|
|
379
|
+
// If an endpoint receives a Close frame and did not previously send a
|
|
380
|
+
// Close frame, the endpoint MUST send a Close frame in response. (When
|
|
381
|
+
// sending a Close frame in response, the endpoint typically echos the
|
|
382
|
+
// status code it received.)
|
|
383
|
+
let body = emptyBuffer;
|
|
384
|
+
if (this.#info.closeInfo.code) {
|
|
385
|
+
body = Buffer.allocUnsafe(2);
|
|
386
|
+
body.writeUInt16BE(this.#info.closeInfo.code, 0);
|
|
387
|
+
}
|
|
388
|
+
const closeFrame = new WebsocketFrameSend(body);
|
|
389
|
+
|
|
390
|
+
this.ws[kResponse].socket.write(
|
|
391
|
+
closeFrame.createFrame(opcodes.CLOSE),
|
|
392
|
+
(err) => {
|
|
393
|
+
if (!err) {
|
|
394
|
+
this.ws[kSentClose] = sentCloseFrameState.SENT;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// Upon either sending or receiving a Close control frame, it is said
|
|
401
|
+
// that _The WebSocket Closing Handshake is Started_ and that the
|
|
402
|
+
// WebSocket connection is in the CLOSING state.
|
|
403
|
+
this.ws[kReadyState] = states.CLOSING;
|
|
404
|
+
this.ws[kReceivedClose] = true;
|
|
405
|
+
|
|
406
|
+
return false
|
|
407
|
+
} else if (opcode === opcodes.PING) {
|
|
408
|
+
// Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in
|
|
409
|
+
// response, unless it already received a Close frame.
|
|
410
|
+
// A Pong frame sent in response to a Ping frame must have identical
|
|
411
|
+
// "Application data"
|
|
412
|
+
|
|
413
|
+
if (!this.ws[kReceivedClose]) {
|
|
414
|
+
const frame = new WebsocketFrameSend(body);
|
|
415
|
+
|
|
416
|
+
this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG));
|
|
417
|
+
|
|
418
|
+
if (channels.ping.hasSubscribers) {
|
|
419
|
+
channels.ping.publish({
|
|
420
|
+
payload: body
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
} else if (opcode === opcodes.PONG) {
|
|
425
|
+
// A Pong frame MAY be sent unsolicited. This serves as a
|
|
426
|
+
// unidirectional heartbeat. A response to an unsolicited Pong frame is
|
|
427
|
+
// not expected.
|
|
428
|
+
|
|
429
|
+
if (channels.pong.hasSubscribers) {
|
|
430
|
+
channels.pong.publish({
|
|
431
|
+
payload: body
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
return true
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
get closingInfo () {
|
|
440
|
+
return this.#info.closeInfo
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
receiver = {
|
|
445
|
+
ByteParser
|
|
446
|
+
};
|
|
447
|
+
return receiver;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
exports.__require = requireReceiver;
|
|
451
|
+
//# sourceMappingURL=receiver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"receiver.js","sources":["../../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/receiver.js"],"sourcesContent":["'use strict'\n\nconst { Writable } = require('node:stream')\nconst assert = require('node:assert')\nconst { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require('./constants')\nconst { kReadyState, kSentClose, kResponse, kReceivedClose } = require('./symbols')\nconst { channels } = require('../../core/diagnostics')\nconst {\n isValidStatusCode,\n isValidOpcode,\n failWebsocketConnection,\n websocketMessageReceived,\n utf8Decode,\n isControlFrame,\n isTextBinaryFrame,\n isContinuationFrame\n} = require('./util')\nconst { WebsocketFrameSend } = require('./frame')\nconst { closeWebSocketConnection } = require('./connection')\nconst { PerMessageDeflate } = require('./permessage-deflate')\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\nclass ByteParser extends Writable {\n #buffers = []\n #byteOffset = 0\n #loop = false\n\n #state = parserStates.INFO\n\n #info = {}\n #fragments = []\n\n /** @type {Map<string, PerMessageDeflate>} */\n #extensions\n\n constructor (ws, extensions) {\n super()\n\n this.ws = ws\n this.#extensions = extensions == null ? new Map() : extensions\n\n if (this.#extensions.has('permessage-deflate')) {\n this.#extensions.set('permessage-deflate', new PerMessageDeflate(extensions))\n }\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 this.#loop = true\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 (this.#loop) {\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 const fin = (buffer[0] & 0x80) !== 0\n const opcode = buffer[0] & 0x0F\n const masked = (buffer[1] & 0x80) === 0x80\n\n const fragmented = !fin && opcode !== opcodes.CONTINUATION\n const payloadLength = buffer[1] & 0x7F\n\n const rsv1 = buffer[0] & 0x40\n const rsv2 = buffer[0] & 0x20\n const rsv3 = buffer[0] & 0x10\n\n if (!isValidOpcode(opcode)) {\n failWebsocketConnection(this.ws, 'Invalid opcode received')\n return callback()\n }\n\n if (masked) {\n failWebsocketConnection(this.ws, 'Frame cannot be masked')\n return callback()\n }\n\n // MUST be 0 unless an extension is negotiated that defines meanings\n // for non-zero values. If a nonzero value is received and none of\n // the negotiated extensions defines the meaning of such a nonzero\n // value, the receiving endpoint MUST _Fail the WebSocket\n // Connection_.\n // This document allocates the RSV1 bit of the WebSocket header for\n // PMCEs and calls the bit the \"Per-Message Compressed\" bit. On a\n // WebSocket connection where a PMCE is in use, this bit indicates\n // whether a message is compressed or not.\n if (rsv1 !== 0 && !this.#extensions.has('permessage-deflate')) {\n failWebsocketConnection(this.ws, 'Expected RSV1 to be clear.')\n return\n }\n\n if (rsv2 !== 0 || rsv3 !== 0) {\n failWebsocketConnection(this.ws, 'RSV1, RSV2, RSV3 must be clear')\n return\n }\n\n if (fragmented && !isTextBinaryFrame(opcode)) {\n // Only text and binary frames can be fragmented\n failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.')\n return\n }\n\n // If we are already parsing a text/binary frame and do not receive either\n // a continuation frame or close frame, fail the connection.\n if (isTextBinaryFrame(opcode) && this.#fragments.length > 0) {\n failWebsocketConnection(this.ws, 'Expected continuation frame')\n return\n }\n\n if (this.#info.fragmented && fragmented) {\n // A fragmented frame can't be fragmented itself\n failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.')\n return\n }\n\n // \"All control frames MUST have a payload length of 125 bytes or less\n // and MUST NOT be fragmented.\"\n if ((payloadLength > 125 || fragmented) && isControlFrame(opcode)) {\n failWebsocketConnection(this.ws, 'Control frame either too large or fragmented')\n return\n }\n\n if (isContinuationFrame(opcode) && this.#fragments.length === 0 && !this.#info.compressed) {\n failWebsocketConnection(this.ws, 'Unexpected continuation frame')\n return\n }\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 (isTextBinaryFrame(opcode)) {\n this.#info.binaryType = opcode\n this.#info.compressed = rsv1 !== 0\n }\n\n this.#info.opcode = opcode\n this.#info.masked = masked\n this.#info.fin = fin\n this.#info.fragmented = fragmented\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 maximum 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 return callback()\n }\n\n const body = this.consume(this.#info.payloadLength)\n\n if (isControlFrame(this.#info.opcode)) {\n this.#loop = this.parseControlFrame(body)\n this.#state = parserStates.INFO\n } else {\n if (!this.#info.compressed) {\n this.#fragments.push(body)\n\n // If the frame is not fragmented, a message has been received.\n // If the frame is fragmented, it will terminate with a fin bit set\n // and an opcode of 0 (continuation), therefore we handle that when\n // parsing continuation frames, not here.\n if (!this.#info.fragmented && this.#info.fin) {\n const fullMessage = Buffer.concat(this.#fragments)\n websocketMessageReceived(this.ws, this.#info.binaryType, fullMessage)\n this.#fragments.length = 0\n }\n\n this.#state = parserStates.INFO\n } else {\n this.#extensions.get('permessage-deflate').decompress(body, this.#info.fin, (error, data) => {\n if (error) {\n closeWebSocketConnection(this.ws, 1007, error.message, error.message.length)\n return\n }\n\n this.#fragments.push(data)\n\n if (!this.#info.fin) {\n this.#state = parserStates.INFO\n this.#loop = true\n this.run(callback)\n return\n }\n\n websocketMessageReceived(this.ws, this.#info.binaryType, Buffer.concat(this.#fragments))\n\n this.#loop = true\n this.#state = parserStates.INFO\n this.#fragments.length = 0\n this.run(callback)\n })\n\n this.#loop = false\n break\n }\n }\n }\n }\n }\n\n /**\n * Take n bytes from the buffered Buffers\n * @param {number} n\n * @returns {Buffer}\n */\n consume (n) {\n if (n > this.#byteOffset) {\n throw new Error('Called consume() before buffers satiated.')\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 (data) {\n assert(data.length !== 1)\n\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 (code !== undefined && !isValidStatusCode(code)) {\n return { code: 1002, reason: 'Invalid status code', error: true }\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 try {\n reason = utf8Decode(reason)\n } catch {\n return { code: 1007, reason: 'Invalid UTF-8', error: true }\n }\n\n return { code, reason, error: false }\n }\n\n /**\n * Parses control frames.\n * @param {Buffer} body\n */\n parseControlFrame (body) {\n const { opcode, payloadLength } = this.#info\n\n if (opcode === opcodes.CLOSE) {\n if (payloadLength === 1) {\n failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.')\n return false\n }\n\n this.#info.closeInfo = this.parseCloseBody(body)\n\n if (this.#info.closeInfo.error) {\n const { code, reason } = this.#info.closeInfo\n\n closeWebSocketConnection(this.ws, code, reason, reason.length)\n failWebsocketConnection(this.ws, reason)\n return false\n }\n\n if (this.ws[kSentClose] !== sentCloseFrameState.SENT) {\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 let body = emptyBuffer\n if (this.#info.closeInfo.code) {\n body = Buffer.allocUnsafe(2)\n body.writeUInt16BE(this.#info.closeInfo.code, 0)\n }\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] = sentCloseFrameState.SENT\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 return false\n } else if (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 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 } else if (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 if (channels.pong.hasSubscribers) {\n channels.pong.publish({\n payload: body\n })\n }\n }\n\n return true\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","require$$6","require$$7","require$$8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAEA,MAAM,EAAE,QAAQ,EAAE,GAAGA;AACrB,CAAA,MAAM,MAAM,GAAGC;CACf,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,GAAGC,mBAAA;CAC5E,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,GAAGC,i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AAC,EAAE,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC;AACpC,OAAM,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG;;AAEhC,OAAM,OAAO;AACb,KAAA,CAAK,MAAM,IAAI,MAAM,KAAK,OAAO,CAAC,IAAI,EAAE;AACxC;AACA;AACA;AACA;;OAEM,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE;AACpC,SAAQ,MAAM,KAAK,GAAG,IAAI,kBAAkB,CAAC,IAAI;;AAEjD,SAAQ,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC;;AAEvE,SAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE;AAC1C,WAAU,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC;AAChC,aAAY,OAAO,EAAE;YACV;AACX,SAAA;AACA,OAAA;AACA,KAAA,CAAK,MAAM,IAAI,MAAM,KAAK,OAAO,CAAC,IAAI,EAAE;AACxC;AACA;AACA;;AAEA,OAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE;AACxC,SAAQ,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC;AAC9B,WAAU,OAAO,EAAE;UACV;AACT,OAAA;AACA,KAAA;;AAEA,KAAI,OAAO;AACX,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]}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var frame = require('./frame.js');
|
|
4
|
+
var constants = require('./constants.js');
|
|
5
|
+
var fixedQueue = require('../../dispatcher/fixed-queue.js');
|
|
6
|
+
|
|
7
|
+
var sender;
|
|
8
|
+
var hasRequiredSender;
|
|
9
|
+
|
|
10
|
+
function requireSender () {
|
|
11
|
+
if (hasRequiredSender) return sender;
|
|
12
|
+
hasRequiredSender = 1;
|
|
13
|
+
|
|
14
|
+
const { WebsocketFrameSend } = frame.__require();
|
|
15
|
+
const { opcodes, sendHints } = constants.__require();
|
|
16
|
+
const FixedQueue = fixedQueue.__require();
|
|
17
|
+
|
|
18
|
+
/** @type {typeof Uint8Array} */
|
|
19
|
+
const FastBuffer = Buffer[Symbol.species];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @typedef {object} SendQueueNode
|
|
23
|
+
* @property {Promise<void> | null} promise
|
|
24
|
+
* @property {((...args: any[]) => any)} callback
|
|
25
|
+
* @property {Buffer | null} frame
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
class SendQueue {
|
|
29
|
+
/**
|
|
30
|
+
* @type {FixedQueue}
|
|
31
|
+
*/
|
|
32
|
+
#queue = new FixedQueue()
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
*/
|
|
37
|
+
#running = false
|
|
38
|
+
|
|
39
|
+
/** @type {import('node:net').Socket} */
|
|
40
|
+
#socket
|
|
41
|
+
|
|
42
|
+
constructor (socket) {
|
|
43
|
+
this.#socket = socket;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
add (item, cb, hint) {
|
|
47
|
+
if (hint !== sendHints.blob) {
|
|
48
|
+
const frame = createFrame(item, hint);
|
|
49
|
+
if (!this.#running) {
|
|
50
|
+
// fast-path
|
|
51
|
+
this.#socket.write(frame, cb);
|
|
52
|
+
} else {
|
|
53
|
+
/** @type {SendQueueNode} */
|
|
54
|
+
const node = {
|
|
55
|
+
promise: null,
|
|
56
|
+
callback: cb,
|
|
57
|
+
frame
|
|
58
|
+
};
|
|
59
|
+
this.#queue.push(node);
|
|
60
|
+
}
|
|
61
|
+
return
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** @type {SendQueueNode} */
|
|
65
|
+
const node = {
|
|
66
|
+
promise: item.arrayBuffer().then((ab) => {
|
|
67
|
+
node.promise = null;
|
|
68
|
+
node.frame = createFrame(ab, hint);
|
|
69
|
+
}),
|
|
70
|
+
callback: cb,
|
|
71
|
+
frame: null
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
this.#queue.push(node);
|
|
75
|
+
|
|
76
|
+
if (!this.#running) {
|
|
77
|
+
this.#run();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
async #run () {
|
|
82
|
+
this.#running = true;
|
|
83
|
+
const queue = this.#queue;
|
|
84
|
+
while (!queue.isEmpty()) {
|
|
85
|
+
const node = queue.shift();
|
|
86
|
+
// wait pending promise
|
|
87
|
+
if (node.promise !== null) {
|
|
88
|
+
await node.promise;
|
|
89
|
+
}
|
|
90
|
+
// write
|
|
91
|
+
this.#socket.write(node.frame, node.callback);
|
|
92
|
+
// cleanup
|
|
93
|
+
node.callback = node.frame = null;
|
|
94
|
+
}
|
|
95
|
+
this.#running = false;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function createFrame (data, hint) {
|
|
100
|
+
return new WebsocketFrameSend(toBuffer(data, hint)).createFrame(hint === sendHints.string ? opcodes.TEXT : opcodes.BINARY)
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function toBuffer (data, hint) {
|
|
104
|
+
switch (hint) {
|
|
105
|
+
case sendHints.string:
|
|
106
|
+
return Buffer.from(data)
|
|
107
|
+
case sendHints.arrayBuffer:
|
|
108
|
+
case sendHints.blob:
|
|
109
|
+
return new FastBuffer(data)
|
|
110
|
+
case sendHints.typedArray:
|
|
111
|
+
return new FastBuffer(data.buffer, data.byteOffset, data.byteLength)
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
sender = { SendQueue };
|
|
116
|
+
return sender;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
exports.__require = requireSender;
|
|
120
|
+
//# sourceMappingURL=sender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sender.js","sources":["../../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/sender.js"],"sourcesContent":["'use strict'\n\nconst { WebsocketFrameSend } = require('./frame')\nconst { opcodes, sendHints } = require('./constants')\nconst FixedQueue = require('../../dispatcher/fixed-queue')\n\n/** @type {typeof Uint8Array} */\nconst FastBuffer = Buffer[Symbol.species]\n\n/**\n * @typedef {object} SendQueueNode\n * @property {Promise<void> | null} promise\n * @property {((...args: any[]) => any)} callback\n * @property {Buffer | null} frame\n */\n\nclass SendQueue {\n /**\n * @type {FixedQueue}\n */\n #queue = new FixedQueue()\n\n /**\n * @type {boolean}\n */\n #running = false\n\n /** @type {import('node:net').Socket} */\n #socket\n\n constructor (socket) {\n this.#socket = socket\n }\n\n add (item, cb, hint) {\n if (hint !== sendHints.blob) {\n const frame = createFrame(item, hint)\n if (!this.#running) {\n // fast-path\n this.#socket.write(frame, cb)\n } else {\n /** @type {SendQueueNode} */\n const node = {\n promise: null,\n callback: cb,\n frame\n }\n this.#queue.push(node)\n }\n return\n }\n\n /** @type {SendQueueNode} */\n const node = {\n promise: item.arrayBuffer().then((ab) => {\n node.promise = null\n node.frame = createFrame(ab, hint)\n }),\n callback: cb,\n frame: null\n }\n\n this.#queue.push(node)\n\n if (!this.#running) {\n this.#run()\n }\n }\n\n async #run () {\n this.#running = true\n const queue = this.#queue\n while (!queue.isEmpty()) {\n const node = queue.shift()\n // wait pending promise\n if (node.promise !== null) {\n await node.promise\n }\n // write\n this.#socket.write(node.frame, node.callback)\n // cleanup\n node.callback = node.frame = null\n }\n this.#running = false\n }\n}\n\nfunction createFrame (data, hint) {\n return new WebsocketFrameSend(toBuffer(data, hint)).createFrame(hint === sendHints.string ? opcodes.TEXT : opcodes.BINARY)\n}\n\nfunction toBuffer (data, hint) {\n switch (hint) {\n case sendHints.string:\n return Buffer.from(data)\n case sendHints.arrayBuffer:\n case sendHints.blob:\n return new FastBuffer(data)\n case sendHints.typedArray:\n return new FastBuffer(data.buffer, data.byteOffset, data.byteLength)\n }\n}\n\nmodule.exports = { SendQueue }\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;CAEA,MAAM,EAAE,kBAAkB,EAAE,GAAGA,eAAA;AAC/B,CAAA,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAGC,mBAAA;AAC/B,CAAA,MAAM,UAAU,GAAGC,oBAAA;;AAEnB;AACA,CAAA,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO;;AAExC;AACA;AACA;AACA;AACA;AACA;;AAEA,CAAA,MAAM,SAAS,CAAC;AAChB;AACA;AACA;GACE,MAAM,GAAG,IAAI,UAAU;;AAEzB;AACA;AACA;AACA,GAAE,QAAQ,GAAG;;AAEb;GACE;;AAEF,GAAE,WAAW,CAAC,CAAC,MAAM,EAAE;KACnB,IAAI,CAAC,OAAO,GAAG;AACnB,GAAA;;GAEE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;AACvB,KAAI,IAAI,IAAI,KAAK,SAAS,CAAC,IAAI,EAAE;AACjC,OAAM,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,EAAE,IAAI;AAC1C,OAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAC1B;SACQ,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE;AACpC,OAAA,CAAO,MAAM;AACb;SACQ,MAAM,IAAI,GAAG;WACX,OAAO,EAAE,IAAI;WACb,QAAQ,EAAE,EAAE;WACZ;AACV;AACA,SAAQ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI;AAC7B,OAAA;OACM;AACN,KAAA;;AAEA;KACI,MAAM,IAAI,GAAG;OACX,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,KA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AI,CAAC,IAAI;KACzB,KAAK,SAAS,CAAC,WAAW;KAC1B,KAAK,SAAS,CAAC,IAAI;AACvB,OAAM,OAAO,IAAI,UAAU,CAAC,IAAI;KAC5B,KAAK,SAAS,CAAC,UAAU;AAC7B,OAAM,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU;AACzE;AACA,CAAA;;AAEA,CAAA,MAAc,GAAG,EAAE,SAAS;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"symbols.js","sources":["../../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/web/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]}
|