@relative-ci/core 5.3.1 → 5.3.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
- package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js +200 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/cjs/__/cross-spawn/index.js +1 -1
- package/lib/cjs/__/env-ci/lib/git.js +1 -1
- package/lib/cjs/__/execa/index.js +149 -0
- package/lib/cjs/__/execa/index.js.map +1 -0
- package/lib/cjs/__/execa/lib/command.js.map +1 -0
- package/lib/cjs/__/execa/lib/error.js.map +1 -0
- package/lib/cjs/__/execa/lib/promise.js.map +1 -0
- package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
- package/lib/cjs/__/execa/lib/stream.js +35 -0
- package/lib/cjs/__/execa/lib/stream.js.map +1 -0
- package/lib/cjs/__/execa/lib/verbose.js +29 -0
- package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
- package/lib/cjs/__/fast-content-type-parse/index.js +1 -1
- package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/cjs/__/is-stream/index.js.map +1 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/cjs/__/npm-run-path/index.js +63 -0
- package/lib/cjs/__/npm-run-path/index.js.map +1 -0
- package/lib/cjs/__/path-key/index.js +1 -1
- package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
- package/lib/cjs/__/tunnel/lib/tunnel.js +9 -9
- package/lib/cjs/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/cjs/__/undici/index.js +99 -85
- package/lib/cjs/__/undici/index.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/cjs/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-connect.js +13 -7
- package/lib/cjs/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-pipeline.js +10 -8
- package/lib/cjs/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-request.js +63 -28
- package/lib/cjs/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-stream.js +14 -12
- package/lib/cjs/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-upgrade.js +12 -9
- package/lib/cjs/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/readable.js +147 -84
- package/lib/cjs/__/undici/lib/api/readable.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/util.js +74 -27
- package/lib/cjs/__/undici/lib/api/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/connect.js +83 -31
- package/lib/cjs/__/undici/lib/core/connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/diagnostics.js +222 -0
- package/lib/cjs/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/errors.js +216 -21
- package/lib/cjs/__/undici/lib/core/errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/request.js +116 -210
- package/lib/cjs/__/undici/lib/core/request.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/symbols.js +10 -6
- package/lib/cjs/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/tree.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/util.js +321 -123
- package/lib/cjs/__/undici/lib/core/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/dispatcher/agent.js +150 -0
- package/lib/cjs/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js +651 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js +214 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js +83 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js +211 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js +126 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/global.js +1 -1
- package/lib/cjs/__/undici/lib/global.js.map +1 -1
- package/lib/cjs/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js +237 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/cjs/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-client.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/cjs/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-pool.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-utils.js +33 -17
- package/lib/cjs/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/cjs/__/undici/lib/util/timers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js +275 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js +709 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js +2235 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js +1069 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js +640 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js +1662 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js +716 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js +417 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js +120 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js +518 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js +622 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
- package/lib/cjs/_virtual/index10.js +2 -2
- package/lib/cjs/_virtual/index11.js +2 -2
- package/lib/cjs/_virtual/index13.js +2 -2
- package/lib/cjs/_virtual/index14.js +2 -2
- package/lib/cjs/_virtual/index2.js +1 -1
- package/lib/cjs/_virtual/index3.js +1 -1
- package/lib/cjs/_virtual/index4.js +1 -1
- package/lib/cjs/_virtual/index8.js +2 -2
- package/lib/cjs/env/load.js +1 -1
- package/lib/cjs/env/load.js.map +1 -1
- package/lib/cjs/ingest/ingest.js +3 -3
- package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
- package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js +198 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/esm/__/cross-spawn/index.js +1 -1
- package/lib/esm/__/env-ci/lib/git.js +1 -1
- package/lib/esm/__/execa/index.js +141 -0
- package/lib/esm/__/execa/index.js.map +1 -0
- package/lib/esm/__/execa/lib/command.js.map +1 -0
- package/lib/esm/__/execa/lib/error.js.map +1 -0
- package/lib/esm/__/execa/lib/promise.js.map +1 -0
- package/lib/esm/__/execa/lib/stdio.js.map +1 -0
- package/lib/esm/__/execa/lib/stream.js +33 -0
- package/lib/esm/__/execa/lib/stream.js.map +1 -0
- package/lib/esm/__/execa/lib/verbose.js.map +1 -0
- package/lib/esm/__/fast-content-type-parse/index.js +1 -1
- package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/esm/__/is-stream/index.js.map +1 -0
- package/lib/esm/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/esm/__/npm-run-path/index.js +55 -0
- package/lib/esm/__/npm-run-path/index.js.map +1 -0
- package/lib/esm/__/path-key/index.js +1 -1
- package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/esm/__/strip-final-newline/index.js.map +1 -0
- package/lib/esm/__/tunnel/lib/tunnel.js +6 -6
- package/lib/esm/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/esm/__/undici/index.js +89 -79
- package/lib/esm/__/undici/index.js.map +1 -1
- package/lib/esm/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/esm/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-connect.js +11 -6
- package/lib/esm/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-pipeline.js +9 -7
- package/lib/esm/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-request.js +61 -27
- package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-stream.js +12 -11
- package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-upgrade.js +11 -8
- package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/esm/__/undici/lib/api/readable.js +147 -84
- package/lib/esm/__/undici/lib/api/readable.js.map +1 -1
- package/lib/esm/__/undici/lib/api/util.js +74 -27
- package/lib/esm/__/undici/lib/api/util.js.map +1 -1
- package/lib/esm/__/undici/lib/core/connect.js +83 -31
- package/lib/esm/__/undici/lib/core/connect.js.map +1 -1
- package/lib/esm/__/undici/lib/core/diagnostics.js +215 -0
- package/lib/esm/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/esm/__/undici/lib/core/errors.js +216 -21
- package/lib/esm/__/undici/lib/core/errors.js.map +1 -1
- package/lib/esm/__/undici/lib/core/request.js +105 -199
- package/lib/esm/__/undici/lib/core/request.js.map +1 -1
- package/lib/esm/__/undici/lib/core/symbols.js +10 -6
- package/lib/esm/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/esm/__/undici/lib/core/tree.js.map +1 -0
- package/lib/esm/__/undici/lib/core/util.js +318 -120
- package/lib/esm/__/undici/lib/core/util.js.map +1 -1
- package/lib/esm/__/undici/lib/dispatcher/agent.js +148 -0
- package/lib/esm/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js +643 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js +212 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js +77 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js +209 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js +124 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/global.js +1 -1
- package/lib/esm/__/undici/lib/global.js.map +1 -1
- package/lib/esm/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js +230 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/esm/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-client.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/esm/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-pool.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-utils.js +32 -16
- package/lib/esm/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/esm/__/undici/lib/util/timers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js +268 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js +702 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js +2224 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js +1061 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js +633 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js +1652 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js +709 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js +409 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js +114 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js +511 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js +616 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/esm/__/universal-user-agent/index.js.map +1 -0
- package/lib/esm/_virtual/index10.js +2 -2
- package/lib/esm/_virtual/index11.js +2 -2
- package/lib/esm/_virtual/index13.js +2 -2
- package/lib/esm/_virtual/index14.js +2 -2
- package/lib/esm/_virtual/index2.js +1 -1
- package/lib/esm/_virtual/index3.js +1 -1
- package/lib/esm/_virtual/index4.js +1 -1
- package/lib/esm/_virtual/index8.js +4 -2
- package/lib/esm/_virtual/index8.js.map +1 -1
- package/lib/esm/_virtual/index9.js +2 -4
- package/lib/esm/_virtual/index9.js.map +1 -1
- package/lib/esm/env/load.js +1 -1
- package/lib/esm/env/load.js.map +1 -1
- package/package.json +12 -12
- package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -200
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/index.js +0 -226
- package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -73
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -276
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -238
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -246
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +0 -25
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +0 -405
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +0 -114
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +0 -266
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +0 -130
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -222
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +0 -437
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +0 -427
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -80
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +0 -755
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -149
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -650
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -206
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -211
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -126
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +0 -47
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -237
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -288
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -28
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -183
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -42
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -224
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -35
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -390
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -63
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -41
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -275
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -709
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2235
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1069
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -640
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1662
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -716
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -417
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -138
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -454
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -618
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -236
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -122
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -33
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -248
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/main.js +0 -109
- package/lib/cjs/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js +0 -331
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js +0 -206
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js +0 -66
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js +0 -26
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js +0 -126
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js +0 -28
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js +0 -211
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/index.js +0 -149
- package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js +0 -35
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js +0 -29
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js +0 -63
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/agent.js +0 -169
- package/lib/cjs/__/undici/lib/agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/balanced-pool.js +0 -208
- package/lib/cjs/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cache.js +0 -867
- package/lib/cjs/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cachestorage.js +0 -161
- package/lib/cjs/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/symbols.js +0 -19
- package/lib/cjs/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/util.js +0 -69
- package/lib/cjs/__/undici/lib/cache/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/client.js +0 -2314
- package/lib/cjs/__/undici/lib/client.js.map +0 -1
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js +0 -63
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/constants.js +0 -24
- package/lib/cjs/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/index.js +0 -200
- package/lib/cjs/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/parse.js +0 -338
- package/lib/cjs/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/util.js +0 -286
- package/lib/cjs/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher-base.js +0 -208
- package/lib/cjs/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher.js +0 -37
- package/lib/cjs/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/body.js +0 -647
- package/lib/cjs/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/constants.js +0 -169
- package/lib/cjs/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/dataURL.js +0 -649
- package/lib/cjs/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/file.js +0 -369
- package/lib/cjs/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/formdata.js +0 -287
- package/lib/cjs/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/global.js +0 -52
- package/lib/cjs/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/headers.js +0 -609
- package/lib/cjs/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/index.js +0 -2114
- package/lib/cjs/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/request.js +0 -979
- package/lib/cjs/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/response.js +0 -604
- package/lib/cjs/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/util.js +0 -1170
- package/lib/cjs/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/webidl.js +0 -665
- package/lib/cjs/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/encoding.js +0 -302
- package/lib/cjs/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/filereader.js +0 -361
- package/lib/cjs/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js +0 -92
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/util.js +0 -419
- package/lib/cjs/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js +0 -47
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js +0 -226
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js +0 -358
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js +0 -35
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/cjs/__/undici/lib/node/fixed-queue.js +0 -129
- package/lib/cjs/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-base.js +0 -211
- package/lib/cjs/__/undici/lib/pool-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-stats.js +0 -49
- package/lib/cjs/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool.js +0 -127
- package/lib/cjs/__/undici/lib/pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/proxy-agent.js +0 -213
- package/lib/cjs/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/timers.js +0 -109
- package/lib/cjs/__/undici/lib/timers.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/connection.js +0 -318
- package/lib/cjs/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/constants.js +0 -63
- package/lib/cjs/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/events.js +0 -323
- package/lib/cjs/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/frame.js +0 -87
- package/lib/cjs/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/receiver.js +0 -368
- package/lib/cjs/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/symbols.js +0 -24
- package/lib/cjs/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/util.js +0 -216
- package/lib/cjs/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/websocket.js +0 -668
- package/lib/cjs/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/cjs/_virtual/api-request2.js +0 -6
- package/lib/cjs/_virtual/api-request2.js.map +0 -1
- package/lib/cjs/_virtual/constants2.js +0 -6
- package/lib/cjs/_virtual/constants2.js.map +0 -1
- package/lib/cjs/_virtual/index15.js +0 -6
- package/lib/cjs/_virtual/index15.js.map +0 -1
- package/lib/cjs/_virtual/index16.js +0 -6
- package/lib/cjs/_virtual/index16.js.map +0 -1
- package/lib/cjs/_virtual/main.js +0 -6
- package/lib/cjs/_virtual/main.js.map +0 -1
- package/lib/cjs/_virtual/mock-interceptor2.js +0 -6
- package/lib/cjs/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/cjs/_virtual/utils4.js +0 -6
- package/lib/cjs/_virtual/utils4.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -198
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/index.js +0 -220
- package/lib/esm/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -71
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -231
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -238
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +0 -23
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +0 -398
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +0 -108
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +0 -258
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +0 -128
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -215
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +0 -435
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +0 -421
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -78
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +0 -742
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -147
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -642
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -204
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -209
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +0 -45
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -230
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -286
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -26
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -181
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -40
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -222
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -33
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -383
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -56
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -39
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -702
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2224
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1061
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -633
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1652
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -709
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -409
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -132
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -447
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -612
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -229
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -115
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -26
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -241
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/main.js +0 -102
- package/lib/esm/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js +0 -324
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js +0 -204
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js +0 -64
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js +0 -24
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js +0 -124
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js +0 -26
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js +0 -209
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/index.js +0 -141
- package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stream.js +0 -33
- package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/npm-run-path/index.js +0 -55
- package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/esm/__/undici/lib/agent.js +0 -167
- package/lib/esm/__/undici/lib/agent.js.map +0 -1
- package/lib/esm/__/undici/lib/balanced-pool.js +0 -206
- package/lib/esm/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cache.js +0 -861
- package/lib/esm/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cachestorage.js +0 -159
- package/lib/esm/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/symbols.js +0 -17
- package/lib/esm/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/util.js +0 -63
- package/lib/esm/__/undici/lib/cache/util.js.map +0 -1
- package/lib/esm/__/undici/lib/client.js +0 -2305
- package/lib/esm/__/undici/lib/client.js.map +0 -1
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js +0 -61
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/constants.js +0 -22
- package/lib/esm/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/index.js +0 -198
- package/lib/esm/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/parse.js +0 -332
- package/lib/esm/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/util.js +0 -284
- package/lib/esm/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher-base.js +0 -206
- package/lib/esm/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher.js +0 -31
- package/lib/esm/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/body.js +0 -638
- package/lib/esm/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/constants.js +0 -163
- package/lib/esm/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/dataURL.js +0 -642
- package/lib/esm/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/file.js +0 -362
- package/lib/esm/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/formdata.js +0 -281
- package/lib/esm/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/global.js +0 -50
- package/lib/esm/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/headers.js +0 -602
- package/lib/esm/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/index.js +0 -2102
- package/lib/esm/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/request.js +0 -971
- package/lib/esm/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/response.js +0 -596
- package/lib/esm/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/util.js +0 -1161
- package/lib/esm/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/webidl.js +0 -659
- package/lib/esm/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/encoding.js +0 -300
- package/lib/esm/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/filereader.js +0 -359
- package/lib/esm/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/progressevent.js +0 -90
- package/lib/esm/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/util.js +0 -411
- package/lib/esm/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js +0 -45
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js +0 -219
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RetryHandler.js +0 -352
- package/lib/esm/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js +0 -33
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/esm/__/undici/lib/node/fixed-queue.js +0 -127
- package/lib/esm/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-base.js +0 -209
- package/lib/esm/__/undici/lib/pool-base.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-stats.js +0 -47
- package/lib/esm/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/esm/__/undici/lib/pool.js +0 -125
- package/lib/esm/__/undici/lib/pool.js.map +0 -1
- package/lib/esm/__/undici/lib/proxy-agent.js +0 -207
- package/lib/esm/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/esm/__/undici/lib/timers.js +0 -107
- package/lib/esm/__/undici/lib/timers.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/connection.js +0 -312
- package/lib/esm/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/constants.js +0 -61
- package/lib/esm/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/events.js +0 -317
- package/lib/esm/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/frame.js +0 -85
- package/lib/esm/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/receiver.js +0 -361
- package/lib/esm/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/symbols.js +0 -22
- package/lib/esm/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/util.js +0 -214
- package/lib/esm/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/websocket.js +0 -662
- package/lib/esm/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/esm/_virtual/api-request2.js +0 -4
- package/lib/esm/_virtual/api-request2.js.map +0 -1
- package/lib/esm/_virtual/constants2.js +0 -4
- package/lib/esm/_virtual/constants2.js.map +0 -1
- package/lib/esm/_virtual/index15.js +0 -4
- package/lib/esm/_virtual/index15.js.map +0 -1
- package/lib/esm/_virtual/index16.js +0 -4
- package/lib/esm/_virtual/index16.js.map +0 -1
- package/lib/esm/_virtual/main.js +0 -4
- package/lib/esm/_virtual/main.js.map +0 -1
- package/lib/esm/_virtual/mock-interceptor2.js +0 -4
- package/lib/esm/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/esm/_virtual/utils4.js +0 -4
- package/lib/esm/_virtual/utils4.js.map +0 -1
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
- /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"websocket.js","sources":["../../../../../../../../../../../../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/websocket.js"],"sourcesContent":["'use strict'\n\nconst { webidl } = require('../fetch/webidl')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { environmentSettingsObject } = require('../fetch/util')\nconst { staticPropertyDescriptors, states, sentCloseFrameState, sendHints } = require('./constants')\nconst {\n kWebSocketURL,\n kReadyState,\n kController,\n kBinaryType,\n kResponse,\n kSentClose,\n kByteParser\n} = require('./symbols')\nconst {\n isConnecting,\n isEstablished,\n isClosing,\n isValidSubprotocol,\n fireEvent\n} = require('./util')\nconst { establishWebSocketConnection, closeWebSocketConnection } = require('./connection')\nconst { ByteParser } = require('./receiver')\nconst { kEnumerableProperty, isBlobLike } = require('../../core/util')\nconst { getGlobalDispatcher } = require('../../global')\nconst { types } = require('node:util')\nconst { ErrorEvent, CloseEvent } = require('./events')\nconst { SendQueue } = require('./sender')\n\n// https://websockets.spec.whatwg.org/#interface-definition\nclass WebSocket extends EventTarget {\n #events = {\n open: null,\n error: null,\n close: null,\n message: null\n }\n\n #bufferedAmount = 0\n #protocol = ''\n #extensions = ''\n\n /** @type {SendQueue} */\n #sendQueue\n\n /**\n * @param {string} url\n * @param {string|string[]} protocols\n */\n constructor (url, protocols = []) {\n super()\n\n webidl.util.markAsUncloneable(this)\n\n const prefix = 'WebSocket constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n const options = webidl.converters['DOMString or sequence<DOMString> or WebSocketInit'](protocols, prefix, 'options')\n\n url = webidl.converters.USVString(url, prefix, 'url')\n protocols = options.protocols\n\n // 1. Let baseURL be this's relevant settings object's API base URL.\n const baseURL = environmentSettingsObject.settingsObject.baseUrl\n\n // 1. Let urlRecord be the result of applying the URL parser to url with baseURL.\n let urlRecord\n\n try {\n urlRecord = new URL(url, baseURL)\n } catch (e) {\n // 3. If urlRecord is failure, then throw a \"SyntaxError\" DOMException.\n throw new DOMException(e, 'SyntaxError')\n }\n\n // 4. If urlRecord’s scheme is \"http\", then set urlRecord’s scheme to \"ws\".\n if (urlRecord.protocol === 'http:') {\n urlRecord.protocol = 'ws:'\n } else if (urlRecord.protocol === 'https:') {\n // 5. Otherwise, if urlRecord’s scheme is \"https\", set urlRecord’s scheme to \"wss\".\n urlRecord.protocol = 'wss:'\n }\n\n // 6. If urlRecord’s scheme is not \"ws\" or \"wss\", then throw a \"SyntaxError\" DOMException.\n if (urlRecord.protocol !== 'ws:' && urlRecord.protocol !== 'wss:') {\n throw new DOMException(\n `Expected a ws: or wss: protocol, got ${urlRecord.protocol}`,\n 'SyntaxError'\n )\n }\n\n // 7. If urlRecord’s fragment is non-null, then throw a \"SyntaxError\"\n // DOMException.\n if (urlRecord.hash || urlRecord.href.endsWith('#')) {\n throw new DOMException('Got fragment', 'SyntaxError')\n }\n\n // 8. If protocols is a string, set protocols to a sequence consisting\n // of just that string.\n if (typeof protocols === 'string') {\n protocols = [protocols]\n }\n\n // 9. If any of the values in protocols occur more than once or otherwise\n // fail to match the requirements for elements that comprise the value\n // of `Sec-WebSocket-Protocol` fields as defined by The WebSocket\n // protocol, then throw a \"SyntaxError\" DOMException.\n if (protocols.length !== new Set(protocols.map(p => p.toLowerCase())).size) {\n throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')\n }\n\n if (protocols.length > 0 && !protocols.every(p => isValidSubprotocol(p))) {\n throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')\n }\n\n // 10. Set this's url to urlRecord.\n this[kWebSocketURL] = new URL(urlRecord.href)\n\n // 11. Let client be this's relevant settings object.\n const client = environmentSettingsObject.settingsObject\n\n // 12. Run this step in parallel:\n\n // 1. Establish a WebSocket connection given urlRecord, protocols,\n // and client.\n this[kController] = establishWebSocketConnection(\n urlRecord,\n protocols,\n client,\n this,\n (response, extensions) => this.#onConnectionEstablished(response, extensions),\n options\n )\n\n // Each WebSocket object has an associated ready state, which is a\n // number representing the state of the connection. Initially it must\n // be CONNECTING (0).\n this[kReadyState] = WebSocket.CONNECTING\n\n this[kSentClose] = sentCloseFrameState.NOT_SENT\n\n // The extensions attribute must initially return the empty string.\n\n // The protocol attribute must initially return the empty string.\n\n // Each WebSocket object has an associated binary type, which is a\n // BinaryType. Initially it must be \"blob\".\n this[kBinaryType] = 'blob'\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#dom-websocket-close\n * @param {number|undefined} code\n * @param {string|undefined} reason\n */\n close (code = undefined, reason = undefined) {\n webidl.brandCheck(this, WebSocket)\n\n const prefix = 'WebSocket.close'\n\n if (code !== undefined) {\n code = webidl.converters['unsigned short'](code, prefix, 'code', { clamp: true })\n }\n\n if (reason !== undefined) {\n reason = webidl.converters.USVString(reason, prefix, 'reason')\n }\n\n // 1. If code is present, but is neither an integer equal to 1000 nor an\n // integer in the range 3000 to 4999, inclusive, throw an\n // \"InvalidAccessError\" DOMException.\n if (code !== undefined) {\n if (code !== 1000 && (code < 3000 || code > 4999)) {\n throw new DOMException('invalid code', 'InvalidAccessError')\n }\n }\n\n let reasonByteLength = 0\n\n // 2. If reason is present, then run these substeps:\n if (reason !== undefined) {\n // 1. Let reasonBytes be the result of encoding reason.\n // 2. If reasonBytes is longer than 123 bytes, then throw a\n // \"SyntaxError\" DOMException.\n reasonByteLength = Buffer.byteLength(reason)\n\n if (reasonByteLength > 123) {\n throw new DOMException(\n `Reason must be less than 123 bytes; received ${reasonByteLength}`,\n 'SyntaxError'\n )\n }\n }\n\n // 3. Run the first matching steps from the following list:\n closeWebSocketConnection(this, code, reason, reasonByteLength)\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#dom-websocket-send\n * @param {NodeJS.TypedArray|ArrayBuffer|Blob|string} data\n */\n send (data) {\n webidl.brandCheck(this, WebSocket)\n\n const prefix = 'WebSocket.send'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n data = webidl.converters.WebSocketSendData(data, prefix, 'data')\n\n // 1. If this's ready state is CONNECTING, then throw an\n // \"InvalidStateError\" DOMException.\n if (isConnecting(this)) {\n throw new DOMException('Sent before connected.', 'InvalidStateError')\n }\n\n // 2. Run the appropriate set of steps from the following list:\n // https://datatracker.ietf.org/doc/html/rfc6455#section-6.1\n // https://datatracker.ietf.org/doc/html/rfc6455#section-5.2\n\n if (!isEstablished(this) || isClosing(this)) {\n return\n }\n\n // If data is a string\n if (typeof data === 'string') {\n // If the WebSocket connection is established and the WebSocket\n // closing handshake has not yet started, then the user agent\n // must send a WebSocket Message comprised of the data argument\n // using a text frame opcode; if the data cannot be sent, e.g.\n // because it would need to be buffered but the buffer is full,\n // the user agent must flag the WebSocket as full and then close\n // the WebSocket connection. Any invocation of this method with a\n // string argument that does not throw an exception must increase\n // the bufferedAmount attribute by the number of bytes needed to\n // express the argument as UTF-8.\n\n const length = Buffer.byteLength(data)\n\n this.#bufferedAmount += length\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= length\n }, sendHints.string)\n } else if (types.isArrayBuffer(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need\n // to be buffered but the buffer is full, the user agent must flag\n // the WebSocket as full and then close the WebSocket connection.\n // The data to be sent is the data stored in the buffer described\n // by the ArrayBuffer object. Any invocation of this method with an\n // ArrayBuffer argument that does not throw an exception must\n // increase the bufferedAmount attribute by the length of the\n // ArrayBuffer in bytes.\n\n this.#bufferedAmount += data.byteLength\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.byteLength\n }, sendHints.arrayBuffer)\n } else if (ArrayBuffer.isView(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need to\n // be buffered but the buffer is full, the user agent must flag the\n // WebSocket as full and then close the WebSocket connection. The\n // data to be sent is the data stored in the section of the buffer\n // described by the ArrayBuffer object that data references. Any\n // invocation of this method with this kind of argument that does\n // not throw an exception must increase the bufferedAmount attribute\n // by the length of data’s buffer in bytes.\n\n this.#bufferedAmount += data.byteLength\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.byteLength\n }, sendHints.typedArray)\n } else if (isBlobLike(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need to\n // be buffered but the buffer is full, the user agent must flag the\n // WebSocket as full and then close the WebSocket connection. The data\n // to be sent is the raw data represented by the Blob object. Any\n // invocation of this method with a Blob argument that does not throw\n // an exception must increase the bufferedAmount attribute by the size\n // of the Blob object’s raw data, in bytes.\n\n this.#bufferedAmount += data.size\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.size\n }, sendHints.blob)\n }\n }\n\n get readyState () {\n webidl.brandCheck(this, WebSocket)\n\n // The readyState getter steps are to return this's ready state.\n return this[kReadyState]\n }\n\n get bufferedAmount () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#bufferedAmount\n }\n\n get url () {\n webidl.brandCheck(this, WebSocket)\n\n // The url getter steps are to return this's url, serialized.\n return URLSerializer(this[kWebSocketURL])\n }\n\n get extensions () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#extensions\n }\n\n get protocol () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#protocol\n }\n\n get onopen () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.open\n }\n\n set onopen (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.open) {\n this.removeEventListener('open', this.#events.open)\n }\n\n if (typeof fn === 'function') {\n this.#events.open = fn\n this.addEventListener('open', fn)\n } else {\n this.#events.open = null\n }\n }\n\n get onerror () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.error\n }\n\n set onerror (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.error) {\n this.removeEventListener('error', this.#events.error)\n }\n\n if (typeof fn === 'function') {\n this.#events.error = fn\n this.addEventListener('error', fn)\n } else {\n this.#events.error = null\n }\n }\n\n get onclose () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.close\n }\n\n set onclose (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.close) {\n this.removeEventListener('close', this.#events.close)\n }\n\n if (typeof fn === 'function') {\n this.#events.close = fn\n this.addEventListener('close', fn)\n } else {\n this.#events.close = null\n }\n }\n\n get onmessage () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.message\n }\n\n set onmessage (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.message) {\n this.removeEventListener('message', this.#events.message)\n }\n\n if (typeof fn === 'function') {\n this.#events.message = fn\n this.addEventListener('message', fn)\n } else {\n this.#events.message = null\n }\n }\n\n get binaryType () {\n webidl.brandCheck(this, WebSocket)\n\n return this[kBinaryType]\n }\n\n set binaryType (type) {\n webidl.brandCheck(this, WebSocket)\n\n if (type !== 'blob' && type !== 'arraybuffer') {\n this[kBinaryType] = 'blob'\n } else {\n this[kBinaryType] = type\n }\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol\n */\n #onConnectionEstablished (response, parsedExtensions) {\n // processResponse is called when the \"response's header list has been received and initialized.\"\n // once this happens, the connection is open\n this[kResponse] = response\n\n const parser = new ByteParser(this, parsedExtensions)\n parser.on('drain', onParserDrain)\n parser.on('error', onParserError.bind(this))\n\n response.socket.ws = this\n this[kByteParser] = parser\n\n this.#sendQueue = new SendQueue(response.socket)\n\n // 1. Change the ready state to OPEN (1).\n this[kReadyState] = states.OPEN\n\n // 2. Change the extensions attribute’s value to the extensions in use, if\n // it is not the null value.\n // https://datatracker.ietf.org/doc/html/rfc6455#section-9.1\n const extensions = response.headersList.get('sec-websocket-extensions')\n\n if (extensions !== null) {\n this.#extensions = extensions\n }\n\n // 3. Change the protocol attribute’s value to the subprotocol in use, if\n // it is not the null value.\n // https://datatracker.ietf.org/doc/html/rfc6455#section-1.9\n const protocol = response.headersList.get('sec-websocket-protocol')\n\n if (protocol !== null) {\n this.#protocol = protocol\n }\n\n // 4. Fire an event named open at the WebSocket object.\n fireEvent('open', this)\n }\n}\n\n// https://websockets.spec.whatwg.org/#dom-websocket-connecting\nWebSocket.CONNECTING = WebSocket.prototype.CONNECTING = states.CONNECTING\n// https://websockets.spec.whatwg.org/#dom-websocket-open\nWebSocket.OPEN = WebSocket.prototype.OPEN = states.OPEN\n// https://websockets.spec.whatwg.org/#dom-websocket-closing\nWebSocket.CLOSING = WebSocket.prototype.CLOSING = states.CLOSING\n// https://websockets.spec.whatwg.org/#dom-websocket-closed\nWebSocket.CLOSED = WebSocket.prototype.CLOSED = states.CLOSED\n\nObject.defineProperties(WebSocket.prototype, {\n CONNECTING: staticPropertyDescriptors,\n OPEN: staticPropertyDescriptors,\n CLOSING: staticPropertyDescriptors,\n CLOSED: staticPropertyDescriptors,\n url: kEnumerableProperty,\n readyState: kEnumerableProperty,\n bufferedAmount: kEnumerableProperty,\n onopen: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onclose: kEnumerableProperty,\n close: kEnumerableProperty,\n onmessage: kEnumerableProperty,\n binaryType: kEnumerableProperty,\n send: kEnumerableProperty,\n extensions: kEnumerableProperty,\n protocol: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'WebSocket',\n writable: false,\n enumerable: false,\n configurable: true\n }\n})\n\nObject.defineProperties(WebSocket, {\n CONNECTING: staticPropertyDescriptors,\n OPEN: staticPropertyDescriptors,\n CLOSING: staticPropertyDescriptors,\n CLOSED: staticPropertyDescriptors\n})\n\nwebidl.converters['sequence<DOMString>'] = webidl.sequenceConverter(\n webidl.converters.DOMString\n)\n\nwebidl.converters['DOMString or sequence<DOMString>'] = function (V, prefix, argument) {\n if (webidl.util.Type(V) === 'Object' && Symbol.iterator in V) {\n return webidl.converters['sequence<DOMString>'](V)\n }\n\n return webidl.converters.DOMString(V, prefix, argument)\n}\n\n// This implements the proposal made in https://github.com/whatwg/websockets/issues/42\nwebidl.converters.WebSocketInit = webidl.dictionaryConverter([\n {\n key: 'protocols',\n converter: webidl.converters['DOMString or sequence<DOMString>'],\n defaultValue: () => new Array(0)\n },\n {\n key: 'dispatcher',\n converter: webidl.converters.any,\n defaultValue: () => getGlobalDispatcher()\n },\n {\n key: 'headers',\n converter: webidl.nullableConverter(webidl.converters.HeadersInit)\n }\n])\n\nwebidl.converters['DOMString or sequence<DOMString> or WebSocketInit'] = function (V) {\n if (webidl.util.Type(V) === 'Object' && !(Symbol.iterator in V)) {\n return webidl.converters.WebSocketInit(V)\n }\n\n return { protocols: webidl.converters['DOMString or sequence<DOMString>'](V) }\n}\n\nwebidl.converters.WebSocketSendData = function (V) {\n if (webidl.util.Type(V) === 'Object') {\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, { strict: false })\n }\n\n if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) {\n return webidl.converters.BufferSource(V)\n }\n }\n\n return webidl.converters.USVString(V)\n}\n\nfunction onParserDrain () {\n this.ws[kResponse].socket.resume()\n}\n\nfunction onParserError (err) {\n let message\n let code\n\n if (err instanceof CloseEvent) {\n message = err.reason\n code = err.code\n } else {\n message = err.message\n }\n\n fireEvent('error', this, () => new ErrorEvent('error', { error: err, message }))\n\n closeWebSocketConnection(this, code)\n}\n\nmodule.exports = {\n WebSocket\n}\n"],"names":["webidl","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;CAEA,MAAM,UAAEA,QAAM,EAAE,GAAGC,gBAAA;CACnB,MAAM,EAAE,aAAa,EAAE,GAAGC,iBAAA;CAC1B,MAAM,EAAE,yBAAyB,EAAE,GAAGC,cAAA;CACtC,MAAM,EAAE,yBAAyB,EAAE,MAAM,EAAE,mBAAmB,EAAE,SAAS,EAAE,GAAGC,mBAAA;CAC9E,MAAM;AACN,GAAE,aAAa;AACf,GAAE,WAAW;AACb,GAAE,WAAW;AACb,GAAE,WAAW;AACb,GAAE,SAAS;AACX,GAAE,UAAU;GACV;AACF,EAAC,GAAGC,iBAAA;CACJ,MAAM;AACN,GAAE,YAAY;AACd,GAAE,aAAa;AACf,GAAE,SAAS;AACX,GAAE,kBAAkB;GAClB;AACF,EAAC,GAAGC,gBAAA;AACJ,CAAA,MAAM,EAAE,4BAA4B,EAAE,wBAAwB,EAAE,GAAGC,oBAAA;CACnE,MAAM,EAAE,UAAU,EAAE,GAAGC,kBAAA;AACvB,CAAA,MAAM,EAAE,mBAAmB,EAAE,UAAU,EAAE,GAAGC,gBAAA;CAC5C,MAAM,EAAE,mBAAmB,EAAE,GAAGC,gBAAA;CAChC,MAAM,EAAE,KAAK,EAAE,GAAGC;AAClB,CAAA,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,GAAGC,gBAAA;CACnC,MAAM,EAAE,SAAS,EAAE,GAAGC,gBAAA;;AAEtB;CACA,MAAM,SAAS,SAAS,WAAW,CAAC;AACpC,GAAE,OAAO,GAAG;KACR,IAAI,EAAE,IAAI;KACV,KAAK,EAAE,IAAI;KACX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AAG,CAAC;KACd,IAAI,GAAG,GAAG,CAAC;AACf,GAAA,CAAG,MAAM;KACL,OAAO,GAAG,GAAG,CAAC;AAClB,GAAA;;AAEA,GAAE,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,IAAI,UAAU,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;;AAEjF,GAAE,wBAAwB,CAAC,IAAI,EAAE,IAAI;AACrC,CAAA;;AAEA,CAAA,SAAc,GAAG;GACf;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var require$$0 = require('node:stream');
|
|
4
|
-
var require$$1 = require('node:util');
|
|
5
|
-
var sbmh = require('../../streamsearch/sbmh.js');
|
|
6
|
-
var PartStream = require('./PartStream.js');
|
|
7
|
-
var HeaderParser = require('./HeaderParser.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
|
|
12
|
-
var require$$1__default = /*#__PURE__*/_interopDefault(require$$1);
|
|
13
|
-
|
|
14
|
-
var Dicer_1;
|
|
15
|
-
var hasRequiredDicer;
|
|
16
|
-
|
|
17
|
-
function requireDicer () {
|
|
18
|
-
if (hasRequiredDicer) return Dicer_1;
|
|
19
|
-
hasRequiredDicer = 1;
|
|
20
|
-
|
|
21
|
-
const WritableStream = require$$0__default.default.Writable;
|
|
22
|
-
const inherits = require$$1__default.default.inherits;
|
|
23
|
-
|
|
24
|
-
const StreamSearch = sbmh.__require();
|
|
25
|
-
|
|
26
|
-
const PartStream$1 = PartStream.__require();
|
|
27
|
-
const HeaderParser$1 = HeaderParser.__require();
|
|
28
|
-
|
|
29
|
-
const DASH = 45;
|
|
30
|
-
const B_ONEDASH = Buffer.from('-');
|
|
31
|
-
const B_CRLF = Buffer.from('\r\n');
|
|
32
|
-
const EMPTY_FN = function () {};
|
|
33
|
-
|
|
34
|
-
function Dicer (cfg) {
|
|
35
|
-
if (!(this instanceof Dicer)) { return new Dicer(cfg) }
|
|
36
|
-
WritableStream.call(this, cfg);
|
|
37
|
-
|
|
38
|
-
if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string')) { throw new TypeError('Boundary required') }
|
|
39
|
-
|
|
40
|
-
if (typeof cfg.boundary === 'string') { this.setBoundary(cfg.boundary); } else { this._bparser = undefined; }
|
|
41
|
-
|
|
42
|
-
this._headerFirst = cfg.headerFirst;
|
|
43
|
-
|
|
44
|
-
this._dashes = 0;
|
|
45
|
-
this._parts = 0;
|
|
46
|
-
this._finished = false;
|
|
47
|
-
this._realFinish = false;
|
|
48
|
-
this._isPreamble = true;
|
|
49
|
-
this._justMatched = false;
|
|
50
|
-
this._firstWrite = true;
|
|
51
|
-
this._inHeader = true;
|
|
52
|
-
this._part = undefined;
|
|
53
|
-
this._cb = undefined;
|
|
54
|
-
this._ignoreData = false;
|
|
55
|
-
this._partOpts = { highWaterMark: cfg.partHwm };
|
|
56
|
-
this._pause = false;
|
|
57
|
-
|
|
58
|
-
const self = this;
|
|
59
|
-
this._hparser = new HeaderParser$1(cfg);
|
|
60
|
-
this._hparser.on('header', function (header) {
|
|
61
|
-
self._inHeader = false;
|
|
62
|
-
self._part.emit('header', header);
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
inherits(Dicer, WritableStream);
|
|
66
|
-
|
|
67
|
-
Dicer.prototype.emit = function (ev) {
|
|
68
|
-
if (ev === 'finish' && !this._realFinish) {
|
|
69
|
-
if (!this._finished) {
|
|
70
|
-
const self = this;
|
|
71
|
-
process.nextTick(function () {
|
|
72
|
-
self.emit('error', new Error('Unexpected end of multipart data'));
|
|
73
|
-
if (self._part && !self._ignoreData) {
|
|
74
|
-
const type = (self._isPreamble ? 'Preamble' : 'Part');
|
|
75
|
-
self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data'));
|
|
76
|
-
self._part.push(null);
|
|
77
|
-
process.nextTick(function () {
|
|
78
|
-
self._realFinish = true;
|
|
79
|
-
self.emit('finish');
|
|
80
|
-
self._realFinish = false;
|
|
81
|
-
});
|
|
82
|
-
return
|
|
83
|
-
}
|
|
84
|
-
self._realFinish = true;
|
|
85
|
-
self.emit('finish');
|
|
86
|
-
self._realFinish = false;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
} else { WritableStream.prototype.emit.apply(this, arguments); }
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
Dicer.prototype._write = function (data, encoding, cb) {
|
|
93
|
-
// ignore unexpected data (e.g. extra trailer data after finished)
|
|
94
|
-
if (!this._hparser && !this._bparser) { return cb() }
|
|
95
|
-
|
|
96
|
-
if (this._headerFirst && this._isPreamble) {
|
|
97
|
-
if (!this._part) {
|
|
98
|
-
this._part = new PartStream$1(this._partOpts);
|
|
99
|
-
if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part); } else { this._ignore(); }
|
|
100
|
-
}
|
|
101
|
-
const r = this._hparser.push(data);
|
|
102
|
-
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r); } else { return cb() }
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// allows for "easier" testing
|
|
106
|
-
if (this._firstWrite) {
|
|
107
|
-
this._bparser.push(B_CRLF);
|
|
108
|
-
this._firstWrite = false;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
this._bparser.push(data);
|
|
112
|
-
|
|
113
|
-
if (this._pause) { this._cb = cb; } else { cb(); }
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
Dicer.prototype.reset = function () {
|
|
117
|
-
this._part = undefined;
|
|
118
|
-
this._bparser = undefined;
|
|
119
|
-
this._hparser = undefined;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
Dicer.prototype.setBoundary = function (boundary) {
|
|
123
|
-
const self = this;
|
|
124
|
-
this._bparser = new StreamSearch('\r\n--' + boundary);
|
|
125
|
-
this._bparser.on('info', function (isMatch, data, start, end) {
|
|
126
|
-
self._oninfo(isMatch, data, start, end);
|
|
127
|
-
});
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
Dicer.prototype._ignore = function () {
|
|
131
|
-
if (this._part && !this._ignoreData) {
|
|
132
|
-
this._ignoreData = true;
|
|
133
|
-
this._part.on('error', EMPTY_FN);
|
|
134
|
-
// we must perform some kind of read on the stream even though we are
|
|
135
|
-
// ignoring the data, otherwise node's Readable stream will not emit 'end'
|
|
136
|
-
// after pushing null to the stream
|
|
137
|
-
this._part.resume();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
|
142
|
-
let buf; const self = this; let i = 0; let r; let shouldWriteMore = true;
|
|
143
|
-
|
|
144
|
-
if (!this._part && this._justMatched && data) {
|
|
145
|
-
while (this._dashes < 2 && (start + i) < end) {
|
|
146
|
-
if (data[start + i] === DASH) {
|
|
147
|
-
++i;
|
|
148
|
-
++this._dashes;
|
|
149
|
-
} else {
|
|
150
|
-
if (this._dashes) { buf = B_ONEDASH; }
|
|
151
|
-
this._dashes = 0;
|
|
152
|
-
break
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
if (this._dashes === 2) {
|
|
156
|
-
if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)); }
|
|
157
|
-
this.reset();
|
|
158
|
-
this._finished = true;
|
|
159
|
-
// no more parts will be added
|
|
160
|
-
if (self._parts === 0) {
|
|
161
|
-
self._realFinish = true;
|
|
162
|
-
self.emit('finish');
|
|
163
|
-
self._realFinish = false;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
if (this._dashes) { return }
|
|
167
|
-
}
|
|
168
|
-
if (this._justMatched) { this._justMatched = false; }
|
|
169
|
-
if (!this._part) {
|
|
170
|
-
this._part = new PartStream$1(this._partOpts);
|
|
171
|
-
this._part._read = function (n) {
|
|
172
|
-
self._unpause();
|
|
173
|
-
};
|
|
174
|
-
if (this._isPreamble && this.listenerCount('preamble') !== 0) {
|
|
175
|
-
this.emit('preamble', this._part);
|
|
176
|
-
} else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {
|
|
177
|
-
this.emit('part', this._part);
|
|
178
|
-
} else {
|
|
179
|
-
this._ignore();
|
|
180
|
-
}
|
|
181
|
-
if (!this._isPreamble) { this._inHeader = true; }
|
|
182
|
-
}
|
|
183
|
-
if (data && start < end && !this._ignoreData) {
|
|
184
|
-
if (this._isPreamble || !this._inHeader) {
|
|
185
|
-
if (buf) { shouldWriteMore = this._part.push(buf); }
|
|
186
|
-
shouldWriteMore = this._part.push(data.slice(start, end));
|
|
187
|
-
if (!shouldWriteMore) { this._pause = true; }
|
|
188
|
-
} else if (!this._isPreamble && this._inHeader) {
|
|
189
|
-
if (buf) { this._hparser.push(buf); }
|
|
190
|
-
r = this._hparser.push(data.slice(start, end));
|
|
191
|
-
if (!this._inHeader && r !== undefined && r < end) { this._oninfo(false, data, start + r, end); }
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
if (isMatch) {
|
|
195
|
-
this._hparser.reset();
|
|
196
|
-
if (this._isPreamble) { this._isPreamble = false; } else {
|
|
197
|
-
if (start !== end) {
|
|
198
|
-
++this._parts;
|
|
199
|
-
this._part.on('end', function () {
|
|
200
|
-
if (--self._parts === 0) {
|
|
201
|
-
if (self._finished) {
|
|
202
|
-
self._realFinish = true;
|
|
203
|
-
self.emit('finish');
|
|
204
|
-
self._realFinish = false;
|
|
205
|
-
} else {
|
|
206
|
-
self._unpause();
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
this._part.push(null);
|
|
213
|
-
this._part = undefined;
|
|
214
|
-
this._ignoreData = false;
|
|
215
|
-
this._justMatched = true;
|
|
216
|
-
this._dashes = 0;
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
Dicer.prototype._unpause = function () {
|
|
221
|
-
if (!this._pause) { return }
|
|
222
|
-
|
|
223
|
-
this._pause = false;
|
|
224
|
-
if (this._cb) {
|
|
225
|
-
const cb = this._cb;
|
|
226
|
-
this._cb = undefined;
|
|
227
|
-
cb();
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
Dicer_1 = Dicer;
|
|
232
|
-
return Dicer_1;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
exports.__require = requireDicer;
|
|
236
|
-
//# sourceMappingURL=Dicer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dicer.js","sources":["../../../../../../../../../../node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js"],"sourcesContent":["'use strict'\n\nconst WritableStream = require('node:stream').Writable\nconst inherits = require('node:util').inherits\n\nconst StreamSearch = require('../../streamsearch/sbmh')\n\nconst PartStream = require('./PartStream')\nconst HeaderParser = require('./HeaderParser')\n\nconst DASH = 45\nconst B_ONEDASH = Buffer.from('-')\nconst B_CRLF = Buffer.from('\\r\\n')\nconst EMPTY_FN = function () {}\n\nfunction Dicer (cfg) {\n if (!(this instanceof Dicer)) { return new Dicer(cfg) }\n WritableStream.call(this, cfg)\n\n if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string')) { throw new TypeError('Boundary required') }\n\n if (typeof cfg.boundary === 'string') { this.setBoundary(cfg.boundary) } else { this._bparser = undefined }\n\n this._headerFirst = cfg.headerFirst\n\n this._dashes = 0\n this._parts = 0\n this._finished = false\n this._realFinish = false\n this._isPreamble = true\n this._justMatched = false\n this._firstWrite = true\n this._inHeader = true\n this._part = undefined\n this._cb = undefined\n this._ignoreData = false\n this._partOpts = { highWaterMark: cfg.partHwm }\n this._pause = false\n\n const self = this\n this._hparser = new HeaderParser(cfg)\n this._hparser.on('header', function (header) {\n self._inHeader = false\n self._part.emit('header', header)\n })\n}\ninherits(Dicer, WritableStream)\n\nDicer.prototype.emit = function (ev) {\n if (ev === 'finish' && !this._realFinish) {\n if (!this._finished) {\n const self = this\n process.nextTick(function () {\n self.emit('error', new Error('Unexpected end of multipart data'))\n if (self._part && !self._ignoreData) {\n const type = (self._isPreamble ? 'Preamble' : 'Part')\n self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data'))\n self._part.push(null)\n process.nextTick(function () {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n })\n return\n }\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n })\n }\n } else { WritableStream.prototype.emit.apply(this, arguments) }\n}\n\nDicer.prototype._write = function (data, encoding, cb) {\n // ignore unexpected data (e.g. extra trailer data after finished)\n if (!this._hparser && !this._bparser) { return cb() }\n\n if (this._headerFirst && this._isPreamble) {\n if (!this._part) {\n this._part = new PartStream(this._partOpts)\n if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }\n }\n const r = this._hparser.push(data)\n if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }\n }\n\n // allows for \"easier\" testing\n if (this._firstWrite) {\n this._bparser.push(B_CRLF)\n this._firstWrite = false\n }\n\n this._bparser.push(data)\n\n if (this._pause) { this._cb = cb } else { cb() }\n}\n\nDicer.prototype.reset = function () {\n this._part = undefined\n this._bparser = undefined\n this._hparser = undefined\n}\n\nDicer.prototype.setBoundary = function (boundary) {\n const self = this\n this._bparser = new StreamSearch('\\r\\n--' + boundary)\n this._bparser.on('info', function (isMatch, data, start, end) {\n self._oninfo(isMatch, data, start, end)\n })\n}\n\nDicer.prototype._ignore = function () {\n if (this._part && !this._ignoreData) {\n this._ignoreData = true\n this._part.on('error', EMPTY_FN)\n // we must perform some kind of read on the stream even though we are\n // ignoring the data, otherwise node's Readable stream will not emit 'end'\n // after pushing null to the stream\n this._part.resume()\n }\n}\n\nDicer.prototype._oninfo = function (isMatch, data, start, end) {\n let buf; const self = this; let i = 0; let r; let shouldWriteMore = true\n\n if (!this._part && this._justMatched && data) {\n while (this._dashes < 2 && (start + i) < end) {\n if (data[start + i] === DASH) {\n ++i\n ++this._dashes\n } else {\n if (this._dashes) { buf = B_ONEDASH }\n this._dashes = 0\n break\n }\n }\n if (this._dashes === 2) {\n if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }\n this.reset()\n this._finished = true\n // no more parts will be added\n if (self._parts === 0) {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n }\n }\n if (this._dashes) { return }\n }\n if (this._justMatched) { this._justMatched = false }\n if (!this._part) {\n this._part = new PartStream(this._partOpts)\n this._part._read = function (n) {\n self._unpause()\n }\n if (this._isPreamble && this.listenerCount('preamble') !== 0) {\n this.emit('preamble', this._part)\n } else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {\n this.emit('part', this._part)\n } else {\n this._ignore()\n }\n if (!this._isPreamble) { this._inHeader = true }\n }\n if (data && start < end && !this._ignoreData) {\n if (this._isPreamble || !this._inHeader) {\n if (buf) { shouldWriteMore = this._part.push(buf) }\n shouldWriteMore = this._part.push(data.slice(start, end))\n if (!shouldWriteMore) { this._pause = true }\n } else if (!this._isPreamble && this._inHeader) {\n if (buf) { this._hparser.push(buf) }\n r = this._hparser.push(data.slice(start, end))\n if (!this._inHeader && r !== undefined && r < end) { this._oninfo(false, data, start + r, end) }\n }\n }\n if (isMatch) {\n this._hparser.reset()\n if (this._isPreamble) { this._isPreamble = false } else {\n if (start !== end) {\n ++this._parts\n this._part.on('end', function () {\n if (--self._parts === 0) {\n if (self._finished) {\n self._realFinish = true\n self.emit('finish')\n self._realFinish = false\n } else {\n self._unpause()\n }\n }\n })\n }\n }\n this._part.push(null)\n this._part = undefined\n this._ignoreData = false\n this._justMatched = true\n this._dashes = 0\n }\n}\n\nDicer.prototype._unpause = function () {\n if (!this._pause) { return }\n\n this._pause = false\n if (this._cb) {\n const cb = this._cb\n this._cb = undefined\n cb()\n }\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AAI,CAAC,OAAO,GAAG;AACnB,GAAA;AACA,CAAA;;AAEA,CAAA,KAAK,CAAC,SAAS,CAAC,QAAQ,GAAG,YAAY;AACvC,GAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,MAAM,CAAA;;GAE1B,IAAI,CAAC,MAAM,GAAG;AAChB,GAAE,IAAI,IAAI,CAAC,GAAG,EAAE;AAChB,KAAI,MAAM,EAAE,GAAG,IAAI,CAAC;KAChB,IAAI,CAAC,GAAG,GAAG;AACf,KAAI,EAAE;AACN,GAAA;AACA,CAAA;;AAEA,CAAA,OAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var require$$0 = require('node:events');
|
|
4
|
-
var require$$1 = require('node:util');
|
|
5
|
-
var getLimit = require('../../../lib/utils/getLimit.js');
|
|
6
|
-
var sbmh = require('../../streamsearch/sbmh.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
|
|
11
|
-
var require$$1__default = /*#__PURE__*/_interopDefault(require$$1);
|
|
12
|
-
|
|
13
|
-
var HeaderParser_1;
|
|
14
|
-
var hasRequiredHeaderParser;
|
|
15
|
-
|
|
16
|
-
function requireHeaderParser () {
|
|
17
|
-
if (hasRequiredHeaderParser) return HeaderParser_1;
|
|
18
|
-
hasRequiredHeaderParser = 1;
|
|
19
|
-
|
|
20
|
-
const EventEmitter = require$$0__default.default.EventEmitter;
|
|
21
|
-
const inherits = require$$1__default.default.inherits;
|
|
22
|
-
const getLimit$1 = getLimit.__require();
|
|
23
|
-
|
|
24
|
-
const StreamSearch = sbmh.__require();
|
|
25
|
-
|
|
26
|
-
const B_DCRLF = Buffer.from('\r\n\r\n');
|
|
27
|
-
const RE_CRLF = /\r\n/g;
|
|
28
|
-
const RE_HDR = /^([^:]+):[ \t]?([\x00-\xFF]+)?$/; // eslint-disable-line no-control-regex
|
|
29
|
-
|
|
30
|
-
function HeaderParser (cfg) {
|
|
31
|
-
EventEmitter.call(this);
|
|
32
|
-
|
|
33
|
-
cfg = cfg || {};
|
|
34
|
-
const self = this;
|
|
35
|
-
this.nread = 0;
|
|
36
|
-
this.maxed = false;
|
|
37
|
-
this.npairs = 0;
|
|
38
|
-
this.maxHeaderPairs = getLimit$1(cfg, 'maxHeaderPairs', 2000);
|
|
39
|
-
this.maxHeaderSize = getLimit$1(cfg, 'maxHeaderSize', 80 * 1024);
|
|
40
|
-
this.buffer = '';
|
|
41
|
-
this.header = {};
|
|
42
|
-
this.finished = false;
|
|
43
|
-
this.ss = new StreamSearch(B_DCRLF);
|
|
44
|
-
this.ss.on('info', function (isMatch, data, start, end) {
|
|
45
|
-
if (data && !self.maxed) {
|
|
46
|
-
if (self.nread + end - start >= self.maxHeaderSize) {
|
|
47
|
-
end = self.maxHeaderSize - self.nread + start;
|
|
48
|
-
self.nread = self.maxHeaderSize;
|
|
49
|
-
self.maxed = true;
|
|
50
|
-
} else { self.nread += (end - start); }
|
|
51
|
-
|
|
52
|
-
self.buffer += data.toString('binary', start, end);
|
|
53
|
-
}
|
|
54
|
-
if (isMatch) { self._finish(); }
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
inherits(HeaderParser, EventEmitter);
|
|
58
|
-
|
|
59
|
-
HeaderParser.prototype.push = function (data) {
|
|
60
|
-
const r = this.ss.push(data);
|
|
61
|
-
if (this.finished) { return r }
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
HeaderParser.prototype.reset = function () {
|
|
65
|
-
this.finished = false;
|
|
66
|
-
this.buffer = '';
|
|
67
|
-
this.header = {};
|
|
68
|
-
this.ss.reset();
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
HeaderParser.prototype._finish = function () {
|
|
72
|
-
if (this.buffer) { this._parseHeader(); }
|
|
73
|
-
this.ss.matches = this.ss.maxMatches;
|
|
74
|
-
const header = this.header;
|
|
75
|
-
this.header = {};
|
|
76
|
-
this.buffer = '';
|
|
77
|
-
this.finished = true;
|
|
78
|
-
this.nread = this.npairs = 0;
|
|
79
|
-
this.maxed = false;
|
|
80
|
-
this.emit('header', header);
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
HeaderParser.prototype._parseHeader = function () {
|
|
84
|
-
if (this.npairs === this.maxHeaderPairs) { return }
|
|
85
|
-
|
|
86
|
-
const lines = this.buffer.split(RE_CRLF);
|
|
87
|
-
const len = lines.length;
|
|
88
|
-
let m, h;
|
|
89
|
-
|
|
90
|
-
for (var i = 0; i < len; ++i) { // eslint-disable-line no-var
|
|
91
|
-
if (lines[i].length === 0) { continue }
|
|
92
|
-
if (lines[i][0] === '\t' || lines[i][0] === ' ') {
|
|
93
|
-
// folded header content
|
|
94
|
-
// RFC2822 says to just remove the CRLF and not the whitespace following
|
|
95
|
-
// it, so we follow the RFC and include the leading whitespace ...
|
|
96
|
-
if (h) {
|
|
97
|
-
this.header[h][this.header[h].length - 1] += lines[i];
|
|
98
|
-
continue
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
const posColon = lines[i].indexOf(':');
|
|
103
|
-
if (
|
|
104
|
-
posColon === -1 ||
|
|
105
|
-
posColon === 0
|
|
106
|
-
) {
|
|
107
|
-
return
|
|
108
|
-
}
|
|
109
|
-
m = RE_HDR.exec(lines[i]);
|
|
110
|
-
h = m[1].toLowerCase();
|
|
111
|
-
this.header[h] = this.header[h] || [];
|
|
112
|
-
this.header[h].push((m[2] || ''));
|
|
113
|
-
if (++this.npairs === this.maxHeaderPairs) { break }
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
HeaderParser_1 = HeaderParser;
|
|
118
|
-
return HeaderParser_1;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
exports.__require = requireHeaderParser;
|
|
122
|
-
//# sourceMappingURL=HeaderParser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderParser.js","sources":["../../../../../../../../../../node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js"],"sourcesContent":["'use strict'\n\nconst EventEmitter = require('node:events').EventEmitter\nconst inherits = require('node:util').inherits\nconst getLimit = require('../../../lib/utils/getLimit')\n\nconst StreamSearch = require('../../streamsearch/sbmh')\n\nconst B_DCRLF = Buffer.from('\\r\\n\\r\\n')\nconst RE_CRLF = /\\r\\n/g\nconst RE_HDR = /^([^:]+):[ \\t]?([\\x00-\\xFF]+)?$/ // eslint-disable-line no-control-regex\n\nfunction HeaderParser (cfg) {\n EventEmitter.call(this)\n\n cfg = cfg || {}\n const self = this\n this.nread = 0\n this.maxed = false\n this.npairs = 0\n this.maxHeaderPairs = getLimit(cfg, 'maxHeaderPairs', 2000)\n this.maxHeaderSize = getLimit(cfg, 'maxHeaderSize', 80 * 1024)\n this.buffer = ''\n this.header = {}\n this.finished = false\n this.ss = new StreamSearch(B_DCRLF)\n this.ss.on('info', function (isMatch, data, start, end) {\n if (data && !self.maxed) {\n if (self.nread + end - start >= self.maxHeaderSize) {\n end = self.maxHeaderSize - self.nread + start\n self.nread = self.maxHeaderSize\n self.maxed = true\n } else { self.nread += (end - start) }\n\n self.buffer += data.toString('binary', start, end)\n }\n if (isMatch) { self._finish() }\n })\n}\ninherits(HeaderParser, EventEmitter)\n\nHeaderParser.prototype.push = function (data) {\n const r = this.ss.push(data)\n if (this.finished) { return r }\n}\n\nHeaderParser.prototype.reset = function () {\n this.finished = false\n this.buffer = ''\n this.header = {}\n this.ss.reset()\n}\n\nHeaderParser.prototype._finish = function () {\n if (this.buffer) { this._parseHeader() }\n this.ss.matches = this.ss.maxMatches\n const header = this.header\n this.header = {}\n this.buffer = ''\n this.finished = true\n this.nread = this.npairs = 0\n this.maxed = false\n this.emit('header', header)\n}\n\nHeaderParser.prototype._parseHeader = function () {\n if (this.npairs === this.maxHeaderPairs) { return }\n\n const lines = this.buffer.split(RE_CRLF)\n const len = lines.length\n let m, h\n\n for (var i = 0; i < len; ++i) { // eslint-disable-line no-var\n if (lines[i].length === 0) { continue }\n if (lines[i][0] === '\\t' || lines[i][0] === ' ') {\n // folded header content\n // RFC2822 says to just remove the CRLF and not the whitespace following\n // it, so we follow the RFC and include the leading whitespace ...\n if (h) {\n this.header[h][this.header[h].length - 1] += lines[i]\n continue\n }\n }\n\n const posColon = lines[i].indexOf(':')\n if (\n posColon === -1 ||\n posColon === 0\n ) {\n return\n }\n m = RE_HDR.exec(lines[i])\n h = m[1].toLowerCase()\n this.header[h] = this.header[h] || []\n this.header[h].push((m[2] || ''))\n if (++this.npairs === this.maxHeaderPairs) { break }\n }\n}\n\nmodule.exports = HeaderParser\n"],"names":["require$$0","require$$1","getLimit","require$$2","require$$3"],"mappings":";;;;;;;;;;;;;;;;;;;CAEA,MAAM,YAAY,GAAGA,2BAAsB,CAAC;CAC5C,MAAM,QAAQ,GAAGC,2BAAoB,CAAC;AACtC,CAAA,MAAMC,UAAQ,GAAGC,kBAAA;;AAEjB,CAAA,MAAM,YAAY,GAAGC,cAAA;;AAErB,CAAA,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU;AACtC,CAAA,MAAM,OAAO,GAAG;CAChB,MAAM,MAAM,GAAG,kCAAiC;;CAEhD,SAAS,YAAY,EAAE,GAAG,EAAE;AAC5B,GAAE,YAAY,CAAC,IAAI,CAAC,IAAI;;GAEtB,GAAG,GAAG,GAAG,IAAI;GACb,MAAM,IAAI,GAAG;GACb,IAAI,CAAC,KAAK,GAAG;GACb,IAAI,CAAC,KAAK,GAAG;GACb,IAAI,CAAC,MAAM,GAAG;GACd,IAAI,CAAC,cAAc,GAAGF,UAAQ,CAAC,GAAG,EAAE,gBAAgB,EAAE,IAAI;AAC5D,GAAE,IAAI,CAAC,aAAa,GAAGA,UAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE,GAAG,IAAI;GAC7D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AC,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC;SACpD;AACR,OAAA;AACA,KAAA;;KAEI,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG;KACrC;OACE,QAAQ,KAAK,EAAE;AACrB,OAAM,QAAQ,KAAK;OACb;OACA;AACN,KAAA;KACI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAC5B,KAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;AACxB,KAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI;AACvC,KAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;KAC/B,IAAI,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,cAAc,EAAE,EAAE,KAAK,CAAA;AACtD,GAAA;AACA,CAAA;;AAEA,CAAA,cAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var require$$1 = require('node:util');
|
|
4
|
-
var require$$0 = require('node:stream');
|
|
5
|
-
|
|
6
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
-
|
|
8
|
-
var require$$1__default = /*#__PURE__*/_interopDefault(require$$1);
|
|
9
|
-
var require$$0__default = /*#__PURE__*/_interopDefault(require$$0);
|
|
10
|
-
|
|
11
|
-
var PartStream_1;
|
|
12
|
-
var hasRequiredPartStream;
|
|
13
|
-
|
|
14
|
-
function requirePartStream () {
|
|
15
|
-
if (hasRequiredPartStream) return PartStream_1;
|
|
16
|
-
hasRequiredPartStream = 1;
|
|
17
|
-
|
|
18
|
-
const inherits = require$$1__default.default.inherits;
|
|
19
|
-
const ReadableStream = require$$0__default.default.Readable;
|
|
20
|
-
|
|
21
|
-
function PartStream (opts) {
|
|
22
|
-
ReadableStream.call(this, opts);
|
|
23
|
-
}
|
|
24
|
-
inherits(PartStream, ReadableStream);
|
|
25
|
-
|
|
26
|
-
PartStream.prototype._read = function (n) {};
|
|
27
|
-
|
|
28
|
-
PartStream_1 = PartStream;
|
|
29
|
-
return PartStream_1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.__require = requirePartStream;
|
|
33
|
-
//# sourceMappingURL=PartStream.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PartStream.js","sources":["../../../../../../../../../../node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js"],"sourcesContent":["'use strict'\n\nconst inherits = require('node:util').inherits\nconst ReadableStream = require('node:stream').Readable\n\nfunction PartStream (opts) {\n ReadableStream.call(this, opts)\n}\ninherits(PartStream, ReadableStream)\n\nPartStream.prototype._read = function (n) {}\n\nmodule.exports = PartStream\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;;CAEA,MAAM,QAAQ,GAAGA,2BAAoB,CAAC;CACtC,MAAM,cAAc,GAAGC,2BAAsB,CAAC;;CAE9C,SAAS,UAAU,EAAE,IAAI,EAAE;AAC3B,GAAE,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI;AAChC,CAAA;CACA,QAAQ,CAAC,UAAU,EAAE,cAAc;;AAEnC,CAAA,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,UAAU,CAAC,EAAE,CAAA;;AAE1C,CAAA,YAAc,GAAG;;;;;;","x_google_ignoreList":[0]}
|