@relative-ci/core 5.3.1 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/__/@actions/http-client/lib/index.js +2 -2
- package/lib/cjs/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/cjs/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js +200 -0
- package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/cjs/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/index.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/cjs/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/cjs/__/cross-spawn/index.js +1 -1
- package/lib/cjs/__/env-ci/lib/git.js +1 -1
- package/lib/cjs/__/execa/index.js +149 -0
- package/lib/cjs/__/execa/index.js.map +1 -0
- package/lib/cjs/__/execa/lib/command.js.map +1 -0
- package/lib/cjs/__/execa/lib/error.js.map +1 -0
- package/lib/cjs/__/execa/lib/promise.js.map +1 -0
- package/lib/cjs/__/execa/lib/stdio.js.map +1 -0
- package/lib/cjs/__/execa/lib/stream.js +35 -0
- package/lib/cjs/__/execa/lib/stream.js.map +1 -0
- package/lib/cjs/__/execa/lib/verbose.js +29 -0
- package/lib/cjs/__/execa/lib/verbose.js.map +1 -0
- package/lib/cjs/__/fast-content-type-parse/index.js +1 -1
- package/lib/cjs/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/core.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/main.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/cjs/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/cjs/__/is-stream/index.js.map +1 -0
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/cjs/__/npm-run-path/index.js +63 -0
- package/lib/cjs/__/npm-run-path/index.js.map +1 -0
- package/lib/cjs/__/path-key/index.js +1 -1
- package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/cjs/__/strip-final-newline/index.js.map +1 -0
- package/lib/cjs/__/tunnel/lib/tunnel.js +9 -9
- package/lib/cjs/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/cjs/__/undici/index.js +99 -85
- package/lib/cjs/__/undici/index.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/cjs/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-connect.js +13 -7
- package/lib/cjs/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-pipeline.js +10 -8
- package/lib/cjs/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-request.js +63 -28
- package/lib/cjs/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-stream.js +14 -12
- package/lib/cjs/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/api-upgrade.js +12 -9
- package/lib/cjs/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/readable.js +147 -84
- package/lib/cjs/__/undici/lib/api/readable.js.map +1 -1
- package/lib/cjs/__/undici/lib/api/util.js +74 -27
- package/lib/cjs/__/undici/lib/api/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/connect.js +83 -31
- package/lib/cjs/__/undici/lib/core/connect.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/diagnostics.js +222 -0
- package/lib/cjs/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/errors.js +216 -21
- package/lib/cjs/__/undici/lib/core/errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/request.js +116 -210
- package/lib/cjs/__/undici/lib/core/request.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/symbols.js +10 -6
- package/lib/cjs/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/cjs/__/undici/lib/core/tree.js.map +1 -0
- package/lib/cjs/__/undici/lib/core/util.js +321 -123
- package/lib/cjs/__/undici/lib/core/util.js.map +1 -1
- package/lib/cjs/__/undici/lib/dispatcher/agent.js +150 -0
- package/lib/cjs/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js +651 -0
- package/lib/cjs/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js +214 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js +83 -0
- package/lib/cjs/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js +211 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js +126 -0
- package/lib/cjs/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/cjs/__/undici/lib/global.js +1 -1
- package/lib/cjs/__/undici/lib/global.js.map +1 -1
- package/lib/cjs/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js +237 -0
- package/lib/cjs/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/cjs/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js +10 -1
- package/lib/cjs/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/cjs/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-client.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/cjs/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/cjs/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-pool.js +4 -4
- package/lib/cjs/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/mock-utils.js +33 -17
- package/lib/cjs/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/cjs/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/cjs/__/undici/lib/util/timers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js +275 -0
- package/lib/cjs/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js +709 -0
- package/lib/cjs/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js +2235 -0
- package/lib/cjs/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js +1069 -0
- package/lib/cjs/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js +640 -0
- package/lib/cjs/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js +1662 -0
- package/lib/cjs/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js +716 -0
- package/lib/cjs/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js +417 -0
- package/lib/cjs/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js +120 -0
- package/lib/cjs/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js +518 -0
- package/lib/cjs/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js +622 -0
- package/lib/cjs/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/cjs/__/universal-user-agent/index.js.map +1 -0
- package/lib/cjs/_virtual/index10.js +2 -2
- package/lib/cjs/_virtual/index11.js +2 -2
- package/lib/cjs/_virtual/index13.js +2 -2
- package/lib/cjs/_virtual/index14.js +2 -2
- package/lib/cjs/_virtual/index2.js +1 -1
- package/lib/cjs/_virtual/index3.js +1 -1
- package/lib/cjs/_virtual/index4.js +1 -1
- package/lib/cjs/_virtual/index8.js +4 -2
- package/lib/cjs/_virtual/index8.js.map +1 -1
- package/lib/cjs/_virtual/index9.js +2 -4
- package/lib/cjs/_virtual/index9.js.map +1 -1
- package/lib/cjs/env/load.js +1 -1
- package/lib/cjs/ingest/ingest.js +3 -3
- package/lib/esm/__/@actions/http-client/lib/index.js +2 -2
- package/lib/esm/__/@octokit/auth-token/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/endpoint/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +1 -0
- package/lib/esm/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +1 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js +198 -0
- package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -0
- package/lib/esm/__/@octokit/request-error/dist-src/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/index.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/add.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/register.js.map +1 -0
- package/lib/esm/__/before-after-hook/lib/remove.js.map +1 -0
- package/lib/esm/__/cross-spawn/index.js +1 -1
- package/lib/esm/__/env-ci/lib/git.js +1 -1
- package/lib/esm/__/execa/index.js +141 -0
- package/lib/esm/__/execa/index.js.map +1 -0
- package/lib/esm/__/execa/lib/command.js.map +1 -0
- package/lib/esm/__/execa/lib/error.js.map +1 -0
- package/lib/esm/__/execa/lib/promise.js.map +1 -0
- package/lib/esm/__/execa/lib/stdio.js.map +1 -0
- package/lib/esm/__/execa/lib/stream.js +33 -0
- package/lib/esm/__/execa/lib/stream.js.map +1 -0
- package/lib/esm/__/execa/lib/verbose.js.map +1 -0
- package/lib/esm/__/fast-content-type-parse/index.js +1 -1
- package/lib/esm/__/get-stream/source/array-buffer.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/core.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/main.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/realtime.js.map +1 -0
- package/lib/esm/__/human-signals/build/src/signals.js.map +1 -0
- package/lib/esm/__/is-stream/index.js.map +1 -0
- package/lib/esm/__/json-with-bigint/json-with-bigint.js +83 -23
- package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -1
- package/lib/esm/__/npm-run-path/__/path-key/index.js.map +1 -0
- package/lib/esm/__/npm-run-path/index.js +55 -0
- package/lib/esm/__/npm-run-path/index.js.map +1 -0
- package/lib/esm/__/path-key/index.js +1 -1
- package/lib/esm/__/signal-exit/dist/mjs/index.js.map +1 -0
- package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +1 -0
- package/lib/esm/__/strip-final-newline/index.js.map +1 -0
- package/lib/esm/__/tunnel/lib/tunnel.js +6 -6
- package/lib/esm/__/tunnel/lib/tunnel.js.map +1 -1
- package/lib/esm/__/undici/index.js +89 -79
- package/lib/esm/__/undici/index.js.map +1 -1
- package/lib/esm/__/undici/lib/api/abort-signal.js +5 -2
- package/lib/esm/__/undici/lib/api/abort-signal.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-connect.js +11 -6
- package/lib/esm/__/undici/lib/api/api-connect.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-pipeline.js +9 -7
- package/lib/esm/__/undici/lib/api/api-pipeline.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-request.js +61 -27
- package/lib/esm/__/undici/lib/api/api-request.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-stream.js +12 -11
- package/lib/esm/__/undici/lib/api/api-stream.js.map +1 -1
- package/lib/esm/__/undici/lib/api/api-upgrade.js +11 -8
- package/lib/esm/__/undici/lib/api/api-upgrade.js.map +1 -1
- package/lib/esm/__/undici/lib/api/readable.js +147 -84
- package/lib/esm/__/undici/lib/api/readable.js.map +1 -1
- package/lib/esm/__/undici/lib/api/util.js +74 -27
- package/lib/esm/__/undici/lib/api/util.js.map +1 -1
- package/lib/esm/__/undici/lib/core/connect.js +83 -31
- package/lib/esm/__/undici/lib/core/connect.js.map +1 -1
- package/lib/esm/__/undici/lib/core/diagnostics.js +215 -0
- package/lib/esm/__/undici/lib/core/diagnostics.js.map +1 -0
- package/lib/esm/__/undici/lib/core/errors.js +216 -21
- package/lib/esm/__/undici/lib/core/errors.js.map +1 -1
- package/lib/esm/__/undici/lib/core/request.js +105 -199
- package/lib/esm/__/undici/lib/core/request.js.map +1 -1
- package/lib/esm/__/undici/lib/core/symbols.js +10 -6
- package/lib/esm/__/undici/lib/core/symbols.js.map +1 -1
- package/lib/esm/__/undici/lib/core/tree.js.map +1 -0
- package/lib/esm/__/undici/lib/core/util.js +318 -120
- package/lib/esm/__/undici/lib/core/util.js.map +1 -1
- package/lib/esm/__/undici/lib/dispatcher/agent.js +148 -0
- package/lib/esm/__/undici/lib/dispatcher/agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/balanced-pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h1.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client-h2.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js +643 -0
- package/lib/esm/__/undici/lib/dispatcher/client.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js +212 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js +77 -0
- package/lib/esm/__/undici/lib/dispatcher/dispatcher.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/fixed-queue.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js +209 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-base.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool-stats.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js +124 -0
- package/lib/esm/__/undici/lib/dispatcher/pool.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/proxy-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/dispatcher/retry-agent.js.map +1 -0
- package/lib/esm/__/undici/lib/global.js +1 -1
- package/lib/esm/__/undici/lib/global.js.map +1 -1
- package/lib/esm/__/undici/lib/handler/decorator-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js +230 -0
- package/lib/esm/__/undici/lib/handler/redirect-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/handler/retry-handler.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dns.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/dump.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect-interceptor.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/redirect.js.map +1 -0
- package/lib/esm/__/undici/lib/interceptor/retry.js.map +1 -0
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js +6 -1
- package/lib/esm/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-agent.js +10 -21
- package/lib/esm/__/undici/lib/mock/mock-agent.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-client.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-client.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-errors.js +11 -0
- package/lib/esm/__/undici/lib/mock/mock-errors.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js +19 -18
- package/lib/esm/__/undici/lib/mock/mock-interceptor.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-pool.js +3 -3
- package/lib/esm/__/undici/lib/mock/mock-pool.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/mock-utils.js +32 -16
- package/lib/esm/__/undici/lib/mock/mock-utils.js.map +1 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js +4 -1
- package/lib/esm/__/undici/lib/mock/pending-interceptors-formatter.js.map +1 -1
- package/lib/esm/__/undici/lib/util/timers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cache.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/cachestorage.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cache/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/parse.js.map +1 -0
- package/lib/esm/__/undici/lib/web/cookies/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource-stream.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/eventsource.js.map +1 -0
- package/lib/esm/__/undici/lib/web/eventsource/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/body.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/data-url.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/dispatcher-weakref.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/file.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata-parser.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js +268 -0
- package/lib/esm/__/undici/lib/web/fetch/formdata.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/global.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js +702 -0
- package/lib/esm/__/undici/lib/web/fetch/headers.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js +2224 -0
- package/lib/esm/__/undici/lib/web/fetch/index.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js +1061 -0
- package/lib/esm/__/undici/lib/web/fetch/request.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js +633 -0
- package/lib/esm/__/undici/lib/web/fetch/response.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js +1652 -0
- package/lib/esm/__/undici/lib/web/fetch/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js +709 -0
- package/lib/esm/__/undici/lib/web/fetch/webidl.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/encoding.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/filereader.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/progressevent.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js +409 -0
- package/lib/esm/__/undici/lib/web/fileapi/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/connection.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/constants.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/events.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/frame.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js +114 -0
- package/lib/esm/__/undici/lib/web/websocket/permessage-deflate.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js +511 -0
- package/lib/esm/__/undici/lib/web/websocket/receiver.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/sender.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/symbols.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/util.js.map +1 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js +616 -0
- package/lib/esm/__/undici/lib/web/websocket/websocket.js.map +1 -0
- package/lib/esm/__/universal-user-agent/index.js.map +1 -0
- package/lib/esm/_virtual/index10.js +4 -2
- package/lib/esm/_virtual/index10.js.map +1 -1
- package/lib/esm/_virtual/index11.js +2 -2
- package/lib/esm/_virtual/index13.js +2 -2
- package/lib/esm/_virtual/index14.js +2 -2
- package/lib/esm/_virtual/index2.js +1 -1
- package/lib/esm/_virtual/index3.js +1 -1
- package/lib/esm/_virtual/index4.js +1 -1
- package/lib/esm/_virtual/index8.js +2 -2
- package/lib/esm/_virtual/index9.js +2 -4
- package/lib/esm/_virtual/index9.js.map +1 -1
- package/lib/esm/env/load.js +1 -1
- package/package.json +12 -12
- package/lib/cjs/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -200
- package/lib/cjs/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/cjs/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/index.js +0 -226
- package/lib/cjs/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -73
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -276
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -238
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -246
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -131
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js +0 -25
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js +0 -405
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js +0 -114
- package/lib/cjs/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js +0 -266
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js +0 -130
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -222
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js +0 -437
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js +0 -427
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -80
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js +0 -755
- package/lib/cjs/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -149
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -650
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -206
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -211
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -126
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js +0 -47
- package/lib/cjs/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -237
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -288
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -23
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -28
- package/lib/cjs/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -183
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -42
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -224
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -83
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -35
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -390
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -63
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -41
- package/lib/cjs/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -275
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -709
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2235
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1069
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -640
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1662
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -716
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -417
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -138
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -454
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -618
- package/lib/cjs/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -236
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -122
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -33
- package/lib/cjs/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -248
- package/lib/cjs/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/main.js +0 -109
- package/lib/cjs/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js +0 -331
- package/lib/cjs/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js +0 -206
- package/lib/cjs/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js +0 -66
- package/lib/cjs/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js +0 -26
- package/lib/cjs/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js +0 -126
- package/lib/cjs/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js +0 -28
- package/lib/cjs/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js +0 -211
- package/lib/cjs/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/index.js +0 -149
- package/lib/cjs/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js +0 -35
- package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js +0 -29
- package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js +0 -63
- package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/agent.js +0 -169
- package/lib/cjs/__/undici/lib/agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/balanced-pool.js +0 -208
- package/lib/cjs/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cache.js +0 -867
- package/lib/cjs/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/cachestorage.js +0 -161
- package/lib/cjs/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/symbols.js +0 -19
- package/lib/cjs/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/cache/util.js +0 -69
- package/lib/cjs/__/undici/lib/cache/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/client.js +0 -2314
- package/lib/cjs/__/undici/lib/client.js.map +0 -1
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js +0 -63
- package/lib/cjs/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/constants.js +0 -24
- package/lib/cjs/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/index.js +0 -200
- package/lib/cjs/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/parse.js +0 -338
- package/lib/cjs/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/cjs/__/undici/lib/cookies/util.js +0 -286
- package/lib/cjs/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher-base.js +0 -208
- package/lib/cjs/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/dispatcher.js +0 -37
- package/lib/cjs/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/body.js +0 -647
- package/lib/cjs/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/constants.js +0 -169
- package/lib/cjs/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/dataURL.js +0 -649
- package/lib/cjs/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/file.js +0 -369
- package/lib/cjs/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/formdata.js +0 -287
- package/lib/cjs/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/global.js +0 -52
- package/lib/cjs/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/headers.js +0 -609
- package/lib/cjs/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/index.js +0 -2114
- package/lib/cjs/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/request.js +0 -979
- package/lib/cjs/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/response.js +0 -604
- package/lib/cjs/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/util.js +0 -1170
- package/lib/cjs/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/fetch/webidl.js +0 -665
- package/lib/cjs/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/encoding.js +0 -302
- package/lib/cjs/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/filereader.js +0 -361
- package/lib/cjs/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js +0 -92
- package/lib/cjs/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/symbols.js +0 -22
- package/lib/cjs/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/fileapi/util.js +0 -419
- package/lib/cjs/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js +0 -47
- package/lib/cjs/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js +0 -226
- package/lib/cjs/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js +0 -358
- package/lib/cjs/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js +0 -35
- package/lib/cjs/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/cjs/__/undici/lib/node/fixed-queue.js +0 -129
- package/lib/cjs/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-base.js +0 -211
- package/lib/cjs/__/undici/lib/pool-base.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool-stats.js +0 -49
- package/lib/cjs/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/cjs/__/undici/lib/pool.js +0 -127
- package/lib/cjs/__/undici/lib/pool.js.map +0 -1
- package/lib/cjs/__/undici/lib/proxy-agent.js +0 -213
- package/lib/cjs/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/cjs/__/undici/lib/timers.js +0 -109
- package/lib/cjs/__/undici/lib/timers.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/connection.js +0 -318
- package/lib/cjs/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/constants.js +0 -63
- package/lib/cjs/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/events.js +0 -323
- package/lib/cjs/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/frame.js +0 -87
- package/lib/cjs/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/receiver.js +0 -368
- package/lib/cjs/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/symbols.js +0 -24
- package/lib/cjs/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/util.js +0 -216
- package/lib/cjs/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/cjs/__/undici/lib/websocket/websocket.js +0 -668
- package/lib/cjs/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/cjs/_virtual/api-request2.js +0 -6
- package/lib/cjs/_virtual/api-request2.js.map +0 -1
- package/lib/cjs/_virtual/constants2.js +0 -6
- package/lib/cjs/_virtual/constants2.js.map +0 -1
- package/lib/cjs/_virtual/index15.js +0 -6
- package/lib/cjs/_virtual/index15.js.map +0 -1
- package/lib/cjs/_virtual/index16.js +0 -6
- package/lib/cjs/_virtual/index16.js.map +0 -1
- package/lib/cjs/_virtual/main.js +0 -6
- package/lib/cjs/_virtual/main.js.map +0 -1
- package/lib/cjs/_virtual/mock-interceptor2.js +0 -6
- package/lib/cjs/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/cjs/_virtual/utils4.js +0 -6
- package/lib/cjs/_virtual/utils4.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/auth-token/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/core/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/endpoint/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/graphql/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-paginate-rest/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/plugin-rest-endpoint-methods/dist-src/version.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js +0 -198
- package/lib/esm/__/@actions/github/__/@octokit/request/dist-bundle/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/@octokit/request-error/dist-src/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/index.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/add.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/register.js.map +0 -1
- package/lib/esm/__/@actions/github/__/before-after-hook/lib/remove.js.map +0 -1
- package/lib/esm/__/@actions/github/__/universal-user-agent/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/index.js +0 -220
- package/lib/esm/__/@actions/http-client/__/undici/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js +0 -71
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/abort-signal.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-pipeline.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js +0 -231
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js +0 -238
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/api-upgrade.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js +0 -23
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js +0 -398
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/readable.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js +0 -108
- package/lib/esm/__/@actions/http-client/__/undici/lib/api/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js +0 -258
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/connect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js +0 -128
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js +0 -215
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/diagnostics.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js +0 -435
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js +0 -421
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js +0 -78
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/tree.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js +0 -742
- package/lib/esm/__/@actions/http-client/__/undici/lib/core/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js +0 -147
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/balanced-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h1.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client-h2.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js +0 -642
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js +0 -204
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/dispatcher.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/env-http-proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/fixed-queue.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js +0 -209
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-base.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool-stats.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js +0 -124
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/proxy-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/dispatcher/retry-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js +0 -45
- package/lib/esm/__/@actions/http-client/__/undici/lib/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/decorator-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js +0 -230
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/redirect-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/handler/retry-handler.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dns.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/dump.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/redirect.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/interceptor/retry.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js +0 -286
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js +0 -17
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/llhttp_simd-wasm.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js +0 -26
- package/lib/esm/__/@actions/http-client/__/undici/lib/llhttp/utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js +0 -181
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-agent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-client.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js +0 -40
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-errors.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js +0 -222
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-interceptor.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js +0 -77
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-pool.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js +0 -33
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js +0 -383
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/mock-utils.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js +0 -56
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pending-interceptors-formatter.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js +0 -39
- package/lib/esm/__/@actions/http-client/__/undici/lib/mock/pluralizer.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/util/timers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cache.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cache/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/parse.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/cookies/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource-stream.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/eventsource.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/eventsource/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/body.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/data-url.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/file.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata-parser.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js +0 -268
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/formdata.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/global.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js +0 -702
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/headers.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js +0 -2224
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/index.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js +0 -1061
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/request.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js +0 -633
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/response.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js +0 -1652
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js +0 -709
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fetch/webidl.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js +0 -409
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/fileapi/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/connection.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/constants.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/events.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/frame.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js +0 -132
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/permessage-deflate.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js +0 -447
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/receiver.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/sender.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/symbols.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/util.js.map +0 -1
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js +0 -612
- package/lib/esm/__/@actions/http-client/__/undici/lib/web/websocket/websocket.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js +0 -229
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/Dicer.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js +0 -115
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/HeaderParser.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js +0 -26
- package/lib/esm/__/@fastify/busboy/deps/dicer/lib/PartStream.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js +0 -241
- package/lib/esm/__/@fastify/busboy/deps/streamsearch/sbmh.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/main.js +0 -102
- package/lib/esm/__/@fastify/busboy/lib/main.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js +0 -324
- package/lib/esm/__/@fastify/busboy/lib/types/multipart.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js +0 -204
- package/lib/esm/__/@fastify/busboy/lib/types/urlencoded.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js +0 -64
- package/lib/esm/__/@fastify/busboy/lib/utils/Decoder.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js +0 -24
- package/lib/esm/__/@fastify/busboy/lib/utils/basename.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js +0 -124
- package/lib/esm/__/@fastify/busboy/lib/utils/decodeText.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js +0 -26
- package/lib/esm/__/@fastify/busboy/lib/utils/getLimit.js.map +0 -1
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js +0 -209
- package/lib/esm/__/@fastify/busboy/lib/utils/parseParams.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/index.js +0 -141
- package/lib/esm/__/env-ci/__/execa/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/command.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/error.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/stream.js +0 -33
- package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +0 -1
- package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +0 -1
- package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +0 -1
- package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/is-stream/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/npm-run-path/index.js +0 -55
- package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/path-key/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +0 -1
- package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +0 -1
- package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +0 -1
- package/lib/esm/__/undici/lib/agent.js +0 -167
- package/lib/esm/__/undici/lib/agent.js.map +0 -1
- package/lib/esm/__/undici/lib/balanced-pool.js +0 -206
- package/lib/esm/__/undici/lib/balanced-pool.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cache.js +0 -861
- package/lib/esm/__/undici/lib/cache/cache.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/cachestorage.js +0 -159
- package/lib/esm/__/undici/lib/cache/cachestorage.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/symbols.js +0 -17
- package/lib/esm/__/undici/lib/cache/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/cache/util.js +0 -63
- package/lib/esm/__/undici/lib/cache/util.js.map +0 -1
- package/lib/esm/__/undici/lib/client.js +0 -2305
- package/lib/esm/__/undici/lib/client.js.map +0 -1
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js +0 -61
- package/lib/esm/__/undici/lib/compat/dispatcher-weakref.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/constants.js +0 -22
- package/lib/esm/__/undici/lib/cookies/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/index.js +0 -198
- package/lib/esm/__/undici/lib/cookies/index.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/parse.js +0 -332
- package/lib/esm/__/undici/lib/cookies/parse.js.map +0 -1
- package/lib/esm/__/undici/lib/cookies/util.js +0 -284
- package/lib/esm/__/undici/lib/cookies/util.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher-base.js +0 -206
- package/lib/esm/__/undici/lib/dispatcher-base.js.map +0 -1
- package/lib/esm/__/undici/lib/dispatcher.js +0 -31
- package/lib/esm/__/undici/lib/dispatcher.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/body.js +0 -638
- package/lib/esm/__/undici/lib/fetch/body.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/constants.js +0 -163
- package/lib/esm/__/undici/lib/fetch/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/dataURL.js +0 -642
- package/lib/esm/__/undici/lib/fetch/dataURL.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/file.js +0 -362
- package/lib/esm/__/undici/lib/fetch/file.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/formdata.js +0 -281
- package/lib/esm/__/undici/lib/fetch/formdata.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/global.js +0 -50
- package/lib/esm/__/undici/lib/fetch/global.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/headers.js +0 -602
- package/lib/esm/__/undici/lib/fetch/headers.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/index.js +0 -2102
- package/lib/esm/__/undici/lib/fetch/index.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/request.js +0 -971
- package/lib/esm/__/undici/lib/fetch/request.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/response.js +0 -596
- package/lib/esm/__/undici/lib/fetch/response.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fetch/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/util.js +0 -1161
- package/lib/esm/__/undici/lib/fetch/util.js.map +0 -1
- package/lib/esm/__/undici/lib/fetch/webidl.js +0 -659
- package/lib/esm/__/undici/lib/fetch/webidl.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/encoding.js +0 -300
- package/lib/esm/__/undici/lib/fileapi/encoding.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/filereader.js +0 -359
- package/lib/esm/__/undici/lib/fileapi/filereader.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/progressevent.js +0 -90
- package/lib/esm/__/undici/lib/fileapi/progressevent.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/symbols.js +0 -20
- package/lib/esm/__/undici/lib/fileapi/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/fileapi/util.js +0 -411
- package/lib/esm/__/undici/lib/fileapi/util.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js +0 -45
- package/lib/esm/__/undici/lib/handler/DecoratorHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js +0 -219
- package/lib/esm/__/undici/lib/handler/RedirectHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/handler/RetryHandler.js +0 -352
- package/lib/esm/__/undici/lib/handler/RetryHandler.js.map +0 -1
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js +0 -33
- package/lib/esm/__/undici/lib/interceptor/redirectInterceptor.js.map +0 -1
- package/lib/esm/__/undici/lib/node/fixed-queue.js +0 -127
- package/lib/esm/__/undici/lib/node/fixed-queue.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-base.js +0 -209
- package/lib/esm/__/undici/lib/pool-base.js.map +0 -1
- package/lib/esm/__/undici/lib/pool-stats.js +0 -47
- package/lib/esm/__/undici/lib/pool-stats.js.map +0 -1
- package/lib/esm/__/undici/lib/pool.js +0 -125
- package/lib/esm/__/undici/lib/pool.js.map +0 -1
- package/lib/esm/__/undici/lib/proxy-agent.js +0 -207
- package/lib/esm/__/undici/lib/proxy-agent.js.map +0 -1
- package/lib/esm/__/undici/lib/timers.js +0 -107
- package/lib/esm/__/undici/lib/timers.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/connection.js +0 -312
- package/lib/esm/__/undici/lib/websocket/connection.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/constants.js +0 -61
- package/lib/esm/__/undici/lib/websocket/constants.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/events.js +0 -317
- package/lib/esm/__/undici/lib/websocket/events.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/frame.js +0 -85
- package/lib/esm/__/undici/lib/websocket/frame.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/receiver.js +0 -361
- package/lib/esm/__/undici/lib/websocket/receiver.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/symbols.js +0 -22
- package/lib/esm/__/undici/lib/websocket/symbols.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/util.js +0 -214
- package/lib/esm/__/undici/lib/websocket/util.js.map +0 -1
- package/lib/esm/__/undici/lib/websocket/websocket.js +0 -662
- package/lib/esm/__/undici/lib/websocket/websocket.js.map +0 -1
- package/lib/esm/_virtual/api-request2.js +0 -4
- package/lib/esm/_virtual/api-request2.js.map +0 -1
- package/lib/esm/_virtual/constants2.js +0 -4
- package/lib/esm/_virtual/constants2.js.map +0 -1
- package/lib/esm/_virtual/index15.js +0 -4
- package/lib/esm/_virtual/index15.js.map +0 -1
- package/lib/esm/_virtual/index16.js +0 -4
- package/lib/esm/_virtual/index16.js.map +0 -1
- package/lib/esm/_virtual/main.js +0 -4
- package/lib/esm/_virtual/main.js.map +0 -1
- package/lib/esm/_virtual/mock-interceptor2.js +0 -4
- package/lib/esm/_virtual/mock-interceptor2.js.map +0 -1
- package/lib/esm/_virtual/utils4.js +0 -4
- package/lib/esm/_virtual/utils4.js.map +0 -1
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/cjs/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/cjs/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/cjs/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/cjs/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/cjs/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/cjs/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/cjs/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/cjs/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/auth-token/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/core/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/endpoint/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/graphql/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-paginate-rest/dist-bundle/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/plugin-rest-endpoint-methods/dist-src/version.js +0 -0
- /package/lib/esm/__/{@actions/github/__/@octokit → @octokit}/request-error/dist-src/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/index.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/add.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/register.js +0 -0
- /package/lib/esm/__/{@actions/github/__/before-after-hook → before-after-hook}/lib/remove.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/command.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/error.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/promise.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/stdio.js +0 -0
- /package/lib/esm/__/{env-ci/__/execa → execa}/lib/verbose.js +0 -0
- /package/lib/esm/__/{env-ci/__/get-stream → get-stream}/source/array-buffer.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/core.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/main.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/realtime.js +0 -0
- /package/lib/esm/__/{env-ci/__/human-signals → human-signals}/build/src/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/is-stream → is-stream}/index.js +0 -0
- /package/lib/esm/__/{env-ci → npm-run-path}/__/path-key/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/index.js +0 -0
- /package/lib/esm/__/{env-ci/__/signal-exit → signal-exit}/dist/mjs/signals.js +0 -0
- /package/lib/esm/__/{env-ci/__/strip-final-newline → strip-final-newline}/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/core/tree.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h1.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/client-h2.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/pool-stats.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/decorator-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/handler/retry-handler.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dns.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/dump.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect-interceptor.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/redirect.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/interceptor/retry.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/util/timers.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cache.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/cachestorage.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cache/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/index.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/parse.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/cookies/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/eventsource/util.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/body.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/data-url.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/dispatcher-weakref.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/file.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/global.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fetch/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/encoding.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/filereader.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/progressevent.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/fileapi/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/connection.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/constants.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/events.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/frame.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/sender.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/symbols.js +0 -0
- /package/lib/esm/__/{@actions/http-client/__/undici → undici}/lib/web/websocket/util.js +0 -0
- /package/lib/esm/__/{@actions/github/__/universal-user-agent → universal-user-agent}/index.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../../../../../../../../node_modules/undici/lib/web/cache/util.js"],"sourcesContent":["'use strict'\n\nconst assert = require('node:assert')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { isValidHeaderName } = require('../fetch/util')\n\n/**\n * @see https://url.spec.whatwg.org/#concept-url-equals\n * @param {URL} A\n * @param {URL} B\n * @param {boolean | undefined} excludeFragment\n * @returns {boolean}\n */\nfunction urlEquals (A, B, excludeFragment = false) {\n const serializedA = URLSerializer(A, excludeFragment)\n\n const serializedB = URLSerializer(B, excludeFragment)\n\n return serializedA === serializedB\n}\n\n/**\n * @see https://github.com/chromium/chromium/blob/694d20d134cb553d8d89e5500b9148012b1ba299/content/browser/cache_storage/cache_storage_cache.cc#L260-L262\n * @param {string} header\n */\nfunction getFieldValues (header) {\n assert(header !== null)\n\n const values = []\n\n for (let value of header.split(',')) {\n value = value.trim()\n\n if (isValidHeaderName(value)) {\n values.push(value)\n }\n }\n\n return values\n}\n\nmodule.exports = {\n urlEquals,\n getFieldValues\n}\n"],"names":["require$$1","require$$2"],"mappings":";;;;;;;;;;;AAEA,CAAA,MAAM,MAAM,GAAG;CACf,MAAM,EAAE,aAAa,EAAE,GAAGA,cAAA;CAC1B,MAAM,EAAE,iBAAiB,EAAE,GAAGC,aAAA;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,SAAS,EAAE,CAAC,EAAE,CAAC,EAAE,eAAe,GAAG,KAAK,EAAE;AACnD,GAAE,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,EAAE,eAAe;;AAEtD,GAAE,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,EAAE,eAAe;;GAEpD,OAAO,WAAW,KAAK;AACzB,CAAA;;AAEA;AACA;AACA;AACA;CACA,SAAS,cAAc,EAAE,MAAM,EAAE;AACjC,GAAE,MAAM,CAAC,MAAM,KAAK,IAAI;;GAEtB,MAAM,MAAM,GAAG;;GAEf,KAAK,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;AACvC,KAAI,KAAK,GAAG,KAAK,CAAC,IAAI;;AAEtB,KAAI,IAAI,iBAAiB,CAAC,KAAK,CAAC,EAAE;AAClC,OAAM,MAAM,CAAC,IAAI,CAAC,KAAK;AACvB,KAAA;AACA,GAAA;;AAEA,GAAE,OAAO;AACT,CAAA;;AAEA,CAAA,IAAc,GAAG;AACjB,GAAE,SAAS;GACT;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../../../../../../node_modules/undici/lib/web/cookies/constants.js"],"sourcesContent":["'use strict'\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size\nconst maxAttributeValueSize = 1024\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size\nconst maxNameValuePairSize = 4096\n\nmodule.exports = {\n maxAttributeValueSize,\n maxNameValuePairSize\n}\n"],"names":[],"mappings":";;;;;;;AAEA;AACA,CAAA,MAAM,qBAAqB,GAAG;;AAE9B;AACA,CAAA,MAAM,oBAAoB,GAAG;;AAE7B,CAAA,SAAc,GAAG;AACjB,GAAE,qBAAqB;GACrB;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/undici/lib/web/cookies/index.js"],"sourcesContent":["'use strict'\n\nconst { parseSetCookie } = require('./parse')\nconst { stringify } = require('./util')\nconst { webidl } = require('../fetch/webidl')\nconst { Headers } = require('../fetch/headers')\n\n/**\n * @typedef {Object} Cookie\n * @property {string} name\n * @property {string} value\n * @property {Date|number|undefined} expires\n * @property {number|undefined} maxAge\n * @property {string|undefined} domain\n * @property {string|undefined} path\n * @property {boolean|undefined} secure\n * @property {boolean|undefined} httpOnly\n * @property {'Strict'|'Lax'|'None'} sameSite\n * @property {string[]} unparsed\n */\n\n/**\n * @param {Headers} headers\n * @returns {Record<string, string>}\n */\nfunction getCookies (headers) {\n webidl.argumentLengthCheck(arguments, 1, 'getCookies')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const cookie = headers.get('cookie')\n const out = {}\n\n if (!cookie) {\n return out\n }\n\n for (const piece of cookie.split(';')) {\n const [name, ...value] = piece.split('=')\n\n out[name.trim()] = value.join('=')\n }\n\n return out\n}\n\n/**\n * @param {Headers} headers\n * @param {string} name\n * @param {{ path?: string, domain?: string }|undefined} attributes\n * @returns {void}\n */\nfunction deleteCookie (headers, name, attributes) {\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const prefix = 'deleteCookie'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n name = webidl.converters.DOMString(name, prefix, 'name')\n attributes = webidl.converters.DeleteCookieAttributes(attributes)\n\n // Matches behavior of\n // https://github.com/denoland/deno_std/blob/63827b16330b82489a04614027c33b7904e08be5/http/cookie.ts#L278\n setCookie(headers, {\n name,\n value: '',\n expires: new Date(0),\n ...attributes\n })\n}\n\n/**\n * @param {Headers} headers\n * @returns {Cookie[]}\n */\nfunction getSetCookies (headers) {\n webidl.argumentLengthCheck(arguments, 1, 'getSetCookies')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const cookies = headers.getSetCookie()\n\n if (!cookies) {\n return []\n }\n\n return cookies.map((pair) => parseSetCookie(pair))\n}\n\n/**\n * @param {Headers} headers\n * @param {Cookie} cookie\n * @returns {void}\n */\nfunction setCookie (headers, cookie) {\n webidl.argumentLengthCheck(arguments, 2, 'setCookie')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n cookie = webidl.converters.Cookie(cookie)\n\n const str = stringify(cookie)\n\n if (str) {\n headers.append('Set-Cookie', str)\n }\n}\n\nwebidl.converters.DeleteCookieAttributes = webidl.dictionaryConverter([\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'path',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'domain',\n defaultValue: () => null\n }\n])\n\nwebidl.converters.Cookie = webidl.dictionaryConverter([\n {\n converter: webidl.converters.DOMString,\n key: 'name'\n },\n {\n converter: webidl.converters.DOMString,\n key: 'value'\n },\n {\n converter: webidl.nullableConverter((value) => {\n if (typeof value === 'number') {\n return webidl.converters['unsigned long long'](value)\n }\n\n return new Date(value)\n }),\n key: 'expires',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters['long long']),\n key: 'maxAge',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'domain',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'path',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.boolean),\n key: 'secure',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.boolean),\n key: 'httpOnly',\n defaultValue: () => null\n },\n {\n converter: webidl.converters.USVString,\n key: 'sameSite',\n allowedValues: ['Strict', 'Lax', 'None']\n },\n {\n converter: webidl.sequenceConverter(webidl.converters.DOMString),\n key: 'unparsed',\n defaultValue: () => new Array(0)\n }\n])\n\nmodule.exports = {\n getCookies,\n deleteCookie,\n getSetCookies,\n setCookie\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;CAEA,MAAM,EAAE,cAAc,EAAE,GAAGA,YAAA;CAC3B,MAAM,EAAE,SAAS,EAAE,GAAGC,WAAA;CACtB,MAAM,EAAE,MAAM,EAAE,GAAGC,aAAA;CACnB,MAAM,EAAE,OAAO,EAAE,GAAGC,cAAA;;AAEpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;CACA,SAAS,UAAU,EAAE,OAAO,EAAE;GAC5B,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,CAAC,EAAE,YAAY;;AAEvD,GAAE,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;AAEvD,GAAE,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ;GACnC,MAAM,GAAG,GAAG;;GAEZ,IAAI,CAAC,MAAM,EAAE;AACf,KAAI,OAAO;AACX,GAAA;;GAEE,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;AACzC,KAAI,MAAM,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG;;AAE5C,KAAI,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG;AACrC,GAAA;;AAEA,GAAE,OAAO;AACT,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,SAAS,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE;AAClD,GAAE,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE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ACb,YAAY,EAAE,MAAM;IACrB;GACD;KACE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC;KAChE,GAAG,EAAE,MAAM;KACX,YAAY,EAAE,MAAM;IACrB;GACD;KACE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC;KAC9D,GAAG,EAAE,QAAQ;KACb,YAAY,EAAE,MAAM;IACrB;GACD;KACE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC;KAC9D,GAAG,EAAE,UAAU;KACf,YAAY,EAAE,MAAM;IACrB;GACD;AACF,KAAI,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC,SAAS;KACtC,GAAG,EAAE,UAAU;AACnB,KAAI,aAAa,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM;IACxC;GACD;KACE,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC;KAChE,GAAG,EAAE,UAAU;AACnB,KAAI,YAAY,EAAE,MAAM,IAAI,KAAK,CAAC,CAAC;AACnC;EACC;;AAED,CAAA,OAAc,GAAG;AACjB,GAAE,UAAU;AACZ,GAAE,YAAY;AACd,GAAE,aAAa;GACb;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.js","sources":["../../../../../../../../../node_modules/undici/lib/web/cookies/parse.js"],"sourcesContent":["'use strict'\n\nconst { maxNameValuePairSize, maxAttributeValueSize } = require('./constants')\nconst { isCTLExcludingHtab } = require('./util')\nconst { collectASequenceOfCodePointsFast } = require('../fetch/data-url')\nconst assert = require('node:assert')\n\n/**\n * @description Parses the field-value attributes of a set-cookie header string.\n * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4\n * @param {string} header\n * @returns if the header is invalid, null will be returned\n */\nfunction parseSetCookie (header) {\n // 1. If the set-cookie-string contains a %x00-08 / %x0A-1F / %x7F\n // character (CTL characters excluding HTAB): Abort these steps and\n // ignore the set-cookie-string entirely.\n if (isCTLExcludingHtab(header)) {\n return null\n }\n\n let nameValuePair = ''\n let unparsedAttributes = ''\n let name = ''\n let value = ''\n\n // 2. If the set-cookie-string contains a %x3B (\";\") character:\n if (header.includes(';')) {\n // 1. The name-value-pair string consists of the characters up to,\n // but not including, the first %x3B (\";\"), and the unparsed-\n // attributes consist of the remainder of the set-cookie-string\n // (including the %x3B (\";\") in question).\n const position = { position: 0 }\n\n nameValuePair = collectASequenceOfCodePointsFast(';', header, position)\n unparsedAttributes = header.slice(position.position)\n } else {\n // Otherwise:\n\n // 1. The name-value-pair string consists of all the characters\n // contained in the set-cookie-string, and the unparsed-\n // attributes is the empty string.\n nameValuePair = header\n }\n\n // 3. If the name-value-pair string lacks a %x3D (\"=\") character, then\n // the name string is empty, and the value string is the value of\n // name-value-pair.\n if (!nameValuePair.includes('=')) {\n value = nameValuePair\n } else {\n // Otherwise, the name string consists of the characters up to, but\n // not including, the first %x3D (\"=\") character, and the (possibly\n // empty) value string consists of the characters after the first\n // %x3D (\"=\") character.\n const position = { position: 0 }\n name = collectASequenceOfCodePointsFast(\n '=',\n nameValuePair,\n position\n )\n value = nameValuePair.slice(position.position + 1)\n }\n\n // 4. Remove any leading or trailing WSP characters from the name\n // string and the value string.\n name = name.trim()\n value = value.trim()\n\n // 5. If the sum of the lengths of the name string and the value string\n // is more than 4096 octets, abort these steps and ignore the set-\n // cookie-string entirely.\n if (name.length + value.length > maxNameValuePairSize) {\n return null\n }\n\n // 6. The cookie-name is the name string, and the cookie-value is the\n // value string.\n return {\n name, value, ...parseUnparsedAttributes(unparsedAttributes)\n }\n}\n\n/**\n * Parses the remaining attributes of a set-cookie header\n * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4\n * @param {string} unparsedAttributes\n * @param {[Object.<string, unknown>]={}} cookieAttributeList\n */\nfunction parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) {\n // 1. If the unparsed-attributes string is empty, skip the rest of\n // these steps.\n if (unparsedAttributes.length === 0) {\n return cookieAttributeList\n }\n\n // 2. Discard the first character of the unparsed-attributes (which\n // will be a %x3B (\";\") character).\n assert(unparsedAttributes[0] === ';')\n unparsedAttributes = unparsedAttributes.slice(1)\n\n let cookieAv = ''\n\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n if (unparsedAttributes.includes(';')) {\n // 1. Consume the characters of the unparsed-attributes up to, but\n // not including, the first %x3B (\";\") character.\n cookieAv = collectASequenceOfCodePointsFast(\n ';',\n unparsedAttributes,\n { position: 0 }\n )\n unparsedAttributes = unparsedAttributes.slice(cookieAv.length)\n } else {\n // Otherwise:\n\n // 1. Consume the remainder of the unparsed-attributes.\n cookieAv = unparsedAttributes\n unparsedAttributes = ''\n }\n\n // Let the cookie-av string be the characters consumed in this step.\n\n let attributeName = ''\n let attributeValue = ''\n\n // 4. If the cookie-av string contains a %x3D (\"=\") character:\n if (cookieAv.includes('=')) {\n // 1. The (possibly empty) attribute-name string consists of the\n // characters up to, but not including, the first %x3D (\"=\")\n // character, and the (possibly empty) attribute-value string\n // consists of the characters after the first %x3D (\"=\")\n // character.\n const position = { position: 0 }\n\n attributeName = collectASequenceOfCodePointsFast(\n '=',\n cookieAv,\n position\n )\n attributeValue = cookieAv.slice(position.position + 1)\n } else {\n // Otherwise:\n\n // 1. The attribute-name string consists of the entire cookie-av\n // string, and the attribute-value string is empty.\n attributeName = cookieAv\n }\n\n // 5. Remove any leading or trailing WSP characters from the attribute-\n // name string and the attribute-value string.\n attributeName = attributeName.trim()\n attributeValue = attributeValue.trim()\n\n // 6. If the attribute-value is longer than 1024 octets, ignore the\n // cookie-av string and return to Step 1 of this algorithm.\n if (attributeValue.length > maxAttributeValueSize) {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 7. Process the attribute-name and attribute-value according to the\n // requirements in the following subsections. (Notice that\n // attributes with unrecognized attribute-names are ignored.)\n const attributeNameLowercase = attributeName.toLowerCase()\n\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.1\n // If the attribute-name case-insensitively matches the string\n // \"Expires\", the user agent MUST process the cookie-av as follows.\n if (attributeNameLowercase === 'expires') {\n // 1. Let the expiry-time be the result of parsing the attribute-value\n // as cookie-date (see Section 5.1.1).\n const expiryTime = new Date(attributeValue)\n\n // 2. If the attribute-value failed to parse as a cookie date, ignore\n // the cookie-av.\n\n cookieAttributeList.expires = expiryTime\n } else if (attributeNameLowercase === 'max-age') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.2\n // If the attribute-name case-insensitively matches the string \"Max-\n // Age\", the user agent MUST process the cookie-av as follows.\n\n // 1. If the first character of the attribute-value is not a DIGIT or a\n // \"-\" character, ignore the cookie-av.\n const charCode = attributeValue.charCodeAt(0)\n\n if ((charCode < 48 || charCode > 57) && attributeValue[0] !== '-') {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 2. If the remainder of attribute-value contains a non-DIGIT\n // character, ignore the cookie-av.\n if (!/^\\d+$/.test(attributeValue)) {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 3. Let delta-seconds be the attribute-value converted to an integer.\n const deltaSeconds = Number(attributeValue)\n\n // 4. Let cookie-age-limit be the maximum age of the cookie (which\n // SHOULD be 400 days or less, see Section 4.1.2.2).\n\n // 5. Set delta-seconds to the smaller of its present value and cookie-\n // age-limit.\n // deltaSeconds = Math.min(deltaSeconds * 1000, maxExpiresMs)\n\n // 6. If delta-seconds is less than or equal to zero (0), let expiry-\n // time be the earliest representable date and time. Otherwise, let\n // the expiry-time be the current date and time plus delta-seconds\n // seconds.\n // const expiryTime = deltaSeconds <= 0 ? Date.now() : Date.now() + deltaSeconds\n\n // 7. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Max-Age and an attribute-value of expiry-time.\n cookieAttributeList.maxAge = deltaSeconds\n } else if (attributeNameLowercase === 'domain') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.3\n // If the attribute-name case-insensitively matches the string \"Domain\",\n // the user agent MUST process the cookie-av as follows.\n\n // 1. Let cookie-domain be the attribute-value.\n let cookieDomain = attributeValue\n\n // 2. If cookie-domain starts with %x2E (\".\"), let cookie-domain be\n // cookie-domain without its leading %x2E (\".\").\n if (cookieDomain[0] === '.') {\n cookieDomain = cookieDomain.slice(1)\n }\n\n // 3. Convert the cookie-domain to lower case.\n cookieDomain = cookieDomain.toLowerCase()\n\n // 4. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Domain and an attribute-value of cookie-domain.\n cookieAttributeList.domain = cookieDomain\n } else if (attributeNameLowercase === 'path') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.4\n // If the attribute-name case-insensitively matches the string \"Path\",\n // the user agent MUST process the cookie-av as follows.\n\n // 1. If the attribute-value is empty or if the first character of the\n // attribute-value is not %x2F (\"/\"):\n let cookiePath = ''\n if (attributeValue.length === 0 || attributeValue[0] !== '/') {\n // 1. Let cookie-path be the default-path.\n cookiePath = '/'\n } else {\n // Otherwise:\n\n // 1. Let cookie-path be the attribute-value.\n cookiePath = attributeValue\n }\n\n // 2. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Path and an attribute-value of cookie-path.\n cookieAttributeList.path = cookiePath\n } else if (attributeNameLowercase === 'secure') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.5\n // If the attribute-name case-insensitively matches the string \"Secure\",\n // the user agent MUST append an attribute to the cookie-attribute-list\n // with an attribute-name of Secure and an empty attribute-value.\n\n cookieAttributeList.secure = true\n } else if (attributeNameLowercase === 'httponly') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.6\n // If the attribute-name case-insensitively matches the string\n // \"HttpOnly\", the user agent MUST append an attribute to the cookie-\n // attribute-list with an attribute-name of HttpOnly and an empty\n // attribute-value.\n\n cookieAttributeList.httpOnly = true\n } else if (attributeNameLowercase === 'samesite') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.7\n // If the attribute-name case-insensitively matches the string\n // \"SameSite\", the user agent MUST process the cookie-av as follows:\n\n // 1. Let enforcement be \"Default\".\n let enforcement = 'Default'\n\n const attributeValueLowercase = attributeValue.toLowerCase()\n // 2. If cookie-av's attribute-value is a case-insensitive match for\n // \"None\", set enforcement to \"None\".\n if (attributeValueLowercase.includes('none')) {\n enforcement = 'None'\n }\n\n // 3. If cookie-av's attribute-value is a case-insensitive match for\n // \"Strict\", set enforcement to \"Strict\".\n if (attributeValueLowercase.includes('strict')) {\n enforcement = 'Strict'\n }\n\n // 4. If cookie-av's attribute-value is a case-insensitive match for\n // \"Lax\", set enforcement to \"Lax\".\n if (attributeValueLowercase.includes('lax')) {\n enforcement = 'Lax'\n }\n\n // 5. Append an attribute to the cookie-attribute-list with an\n // attribute-name of \"SameSite\" and an attribute-value of\n // enforcement.\n cookieAttributeList.sameSite = enforcement\n } else {\n cookieAttributeList.unparsed ??= []\n\n cookieAttributeList.unparsed.push(`${attributeName}=${attributeValue}`)\n }\n\n // 8. Return to Step 1 of this algorithm.\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n}\n\nmodule.exports = {\n parseSetCookie,\n parseUnparsedAttributes\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;AAEA,CAAA,MAAM,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,GAAGA,gBAAA;CACxD,MAAM,EAAE,kBAAkB,EAAE,GAAGC,WAAA;CAC/B,MAAM,EAAE,gCAAgC,EAAE,GAAGC,cAAA;AAC7C,CAAA,MAAM,MAAM,GAAGC;;AAEf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AAA;;AAEA;AACA;AACA;KACI,mBAAmB,CAAC,QAAQ,GAAG;AACnC,GAAA,CAAG,MAAM;KACL,mBAAmB,CAAC,QAAQ,KAAK;;AAErC,KAAI,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;AAC1E,GAAA;;AAEA;AACA,GAAE,OAAO,uBAAuB,CAAC,kBAAkB,EAAE,mBAAmB;AACxE,CAAA;;AAEA,CAAA,KAAc,GAAG;AACjB,GAAE,cAAc;GACd;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../../../../../../../../node_modules/undici/lib/web/cookies/util.js"],"sourcesContent":["'use strict'\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction isCTLExcludingHtab (value) {\n for (let i = 0; i < value.length; ++i) {\n const code = value.charCodeAt(i)\n\n if (\n (code >= 0x00 && code <= 0x08) ||\n (code >= 0x0A && code <= 0x1F) ||\n code === 0x7F\n ) {\n return true\n }\n }\n return false\n}\n\n/**\n CHAR = <any US-ASCII character (octets 0 - 127)>\n token = 1*<any CHAR except CTLs or separators>\n separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n | \",\" | \";\" | \":\" | \"\\\" | <\">\n | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n | \"{\" | \"}\" | SP | HT\n * @param {string} name\n */\nfunction validateCookieName (name) {\n for (let i = 0; i < name.length; ++i) {\n const code = name.charCodeAt(i)\n\n if (\n code < 0x21 || // exclude CTLs (0-31), SP and HT\n code > 0x7E || // exclude non-ascii and DEL\n code === 0x22 || // \"\n code === 0x28 || // (\n code === 0x29 || // )\n code === 0x3C || // <\n code === 0x3E || // >\n code === 0x40 || // @\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x3A || // :\n code === 0x5C || // \\\n code === 0x2F || // /\n code === 0x5B || // [\n code === 0x5D || // ]\n code === 0x3F || // ?\n code === 0x3D || // =\n code === 0x7B || // {\n code === 0x7D // }\n ) {\n throw new Error('Invalid cookie name')\n }\n }\n}\n\n/**\n cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace DQUOTE, comma, semicolon,\n ; and backslash\n * @param {string} value\n */\nfunction validateCookieValue (value) {\n let len = value.length\n let i = 0\n\n // if the value is wrapped in DQUOTE\n if (value[0] === '\"') {\n if (len === 1 || value[len - 1] !== '\"') {\n throw new Error('Invalid cookie value')\n }\n --len\n ++i\n }\n\n while (i < len) {\n const code = value.charCodeAt(i++)\n\n if (\n code < 0x21 || // exclude CTLs (0-31)\n code > 0x7E || // non-ascii and DEL (127)\n code === 0x22 || // \"\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x5C // \\\n ) {\n throw new Error('Invalid cookie value')\n }\n }\n}\n\n/**\n * path-value = <any CHAR except CTLs or \";\">\n * @param {string} path\n */\nfunction validateCookiePath (path) {\n for (let i = 0; i < path.length; ++i) {\n const code = path.charCodeAt(i)\n\n if (\n code < 0x20 || // exclude CTLs (0-31)\n code === 0x7F || // DEL\n code === 0x3B // ;\n ) {\n throw new Error('Invalid cookie path')\n }\n }\n}\n\n/**\n * I have no idea why these values aren't allowed to be honest,\n * but Deno tests these. - Khafra\n * @param {string} domain\n */\nfunction validateCookieDomain (domain) {\n if (\n domain.startsWith('-') ||\n domain.endsWith('.') ||\n domain.endsWith('-')\n ) {\n throw new Error('Invalid cookie domain')\n }\n}\n\nconst IMFDays = [\n 'Sun', 'Mon', 'Tue', 'Wed',\n 'Thu', 'Fri', 'Sat'\n]\n\nconst IMFMonths = [\n 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n]\n\nconst IMFPaddedNumbers = Array(61).fill(0).map((_, i) => i.toString().padStart(2, '0'))\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc7231#section-7.1.1.1\n * @param {number|Date} date\n IMF-fixdate = day-name \",\" SP date1 SP time-of-day SP GMT\n ; fixed length/zone/capitalization subset of the format\n ; see Section 3.3 of [RFC5322]\n\n day-name = %x4D.6F.6E ; \"Mon\", case-sensitive\n / %x54.75.65 ; \"Tue\", case-sensitive\n / %x57.65.64 ; \"Wed\", case-sensitive\n / %x54.68.75 ; \"Thu\", case-sensitive\n / %x46.72.69 ; \"Fri\", case-sensitive\n / %x53.61.74 ; \"Sat\", case-sensitive\n / %x53.75.6E ; \"Sun\", case-sensitive\n date1 = day SP month SP year\n ; e.g., 02 Jun 1982\n\n day = 2DIGIT\n month = %x4A.61.6E ; \"Jan\", case-sensitive\n / %x46.65.62 ; \"Feb\", case-sensitive\n / %x4D.61.72 ; \"Mar\", case-sensitive\n / %x41.70.72 ; \"Apr\", case-sensitive\n / %x4D.61.79 ; \"May\", case-sensitive\n / %x4A.75.6E ; \"Jun\", case-sensitive\n / %x4A.75.6C ; \"Jul\", case-sensitive\n / %x41.75.67 ; \"Aug\", case-sensitive\n / %x53.65.70 ; \"Sep\", case-sensitive\n / %x4F.63.74 ; \"Oct\", case-sensitive\n / %x4E.6F.76 ; \"Nov\", case-sensitive\n / %x44.65.63 ; \"Dec\", case-sensitive\n year = 4DIGIT\n\n GMT = %x47.4D.54 ; \"GMT\", case-sensitive\n\n time-of-day = hour \":\" minute \":\" second\n ; 00:00:00 - 23:59:60 (leap second)\n\n hour = 2DIGIT\n minute = 2DIGIT\n second = 2DIGIT\n */\nfunction toIMFDate (date) {\n if (typeof date === 'number') {\n date = new Date(date)\n }\n\n return `${IMFDays[date.getUTCDay()]}, ${IMFPaddedNumbers[date.getUTCDate()]} ${IMFMonths[date.getUTCMonth()]} ${date.getUTCFullYear()} ${IMFPaddedNumbers[date.getUTCHours()]}:${IMFPaddedNumbers[date.getUTCMinutes()]}:${IMFPaddedNumbers[date.getUTCSeconds()]} GMT`\n}\n\n/**\n max-age-av = \"Max-Age=\" non-zero-digit *DIGIT\n ; In practice, both expires-av and max-age-av\n ; are limited to dates representable by the\n ; user agent.\n * @param {number} maxAge\n */\nfunction validateCookieMaxAge (maxAge) {\n if (maxAge < 0) {\n throw new Error('Invalid cookie max-age')\n }\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc6265#section-4.1.1\n * @param {import('./index').Cookie} cookie\n */\nfunction stringify (cookie) {\n if (cookie.name.length === 0) {\n return null\n }\n\n validateCookieName(cookie.name)\n validateCookieValue(cookie.value)\n\n const out = [`${cookie.name}=${cookie.value}`]\n\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.1\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.2\n if (cookie.name.startsWith('__Secure-')) {\n cookie.secure = true\n }\n\n if (cookie.name.startsWith('__Host-')) {\n cookie.secure = true\n cookie.domain = null\n cookie.path = '/'\n }\n\n if (cookie.secure) {\n out.push('Secure')\n }\n\n if (cookie.httpOnly) {\n out.push('HttpOnly')\n }\n\n if (typeof cookie.maxAge === 'number') {\n validateCookieMaxAge(cookie.maxAge)\n out.push(`Max-Age=${cookie.maxAge}`)\n }\n\n if (cookie.domain) {\n validateCookieDomain(cookie.domain)\n out.push(`Domain=${cookie.domain}`)\n }\n\n if (cookie.path) {\n validateCookiePath(cookie.path)\n out.push(`Path=${cookie.path}`)\n }\n\n if (cookie.expires && cookie.expires.toString() !== 'Invalid Date') {\n out.push(`Expires=${toIMFDate(cookie.expires)}`)\n }\n\n if (cookie.sameSite) {\n out.push(`SameSite=${cookie.sameSite}`)\n }\n\n for (const part of cookie.unparsed) {\n if (!part.includes('=')) {\n throw new Error('Invalid unparsed')\n }\n\n const [key, ...value] = part.split('=')\n\n out.push(`${key.trim()}=${value.join('=')}`)\n }\n\n return out.join('; ')\n}\n\nmodule.exports = {\n isCTLExcludingHtab,\n validateCookieName,\n validateCookiePath,\n validateCookieValue,\n toIMFDate,\n stringify\n}\n"],"names":[],"mappings":";;;;;;;AAEA;AACA;AACA;AACA;CACA,SAAS,kBAAkB,EAAE,KAAK,EAAE;AACpC,GAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;AACzC,KAAI,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;;KAE/B;AACJ,OAAM,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;AACnC,QAAO,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC;AACpC,OAAM,IAAI,KAAK;OACT;AACN,OAAM,OAAO;AACb,KAAA;AACA,GAAA;AACA,GAAE,OAAO;AACT,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,kBAAkB,EAAE,IAAI,EAAE;AACnC,GAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;AACxC,KAAI,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;;KAE9B;OACE,IAAI,GAAG,IAAI;OACX,IAAI,GAAG,IAAI;OACX,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb,IAAI,KAAK,IAAI;OACb;AACN,OAAM,MAA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GAAG,IAAI,CAAC,KAAK,CAAC,GAAG;;KAEtC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/C,GAAA;;AAEA,GAAE,OAAO,GAAG,CAAC,IAAI,CAAC,IAAI;AACtB,CAAA;;AAEA,CAAA,IAAc,GAAG;AACjB,GAAE,kBAAkB;AACpB,GAAE,kBAAkB;AACpB,GAAE,kBAAkB;AACpB,GAAE,mBAAmB;AACrB,GAAE,SAAS;GACT;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventsource-stream.js","sources":["../../../../../../../../../node_modules/undici/lib/web/eventsource/eventsource-stream.js"],"sourcesContent":["'use strict'\nconst { Transform } = require('node:stream')\nconst { isASCIINumber, isValidLastEventId } = require('./util')\n\n/**\n * @type {number[]} BOM\n */\nconst BOM = [0xEF, 0xBB, 0xBF]\n/**\n * @type {10} LF\n */\nconst LF = 0x0A\n/**\n * @type {13} CR\n */\nconst CR = 0x0D\n/**\n * @type {58} COLON\n */\nconst COLON = 0x3A\n/**\n * @type {32} SPACE\n */\nconst SPACE = 0x20\n\n/**\n * @typedef {object} EventSourceStreamEvent\n * @type {object}\n * @property {string} [event] The event type.\n * @property {string} [data] The data of the message.\n * @property {string} [id] A unique ID for the event.\n * @property {string} [retry] The reconnection time, in milliseconds.\n */\n\n/**\n * @typedef eventSourceSettings\n * @type {object}\n * @property {string} lastEventId The last event ID received from the server.\n * @property {string} origin The origin of the event source.\n * @property {number} reconnectionTime The reconnection time, in milliseconds.\n */\n\nclass EventSourceStream extends Transform {\n /**\n * @type {eventSourceSettings}\n */\n state = null\n\n /**\n * Leading byte-order-mark check.\n * @type {boolean}\n */\n checkBOM = true\n\n /**\n * @type {boolean}\n */\n crlfCheck = false\n\n /**\n * @type {boolean}\n */\n eventEndCheck = false\n\n /**\n * @type {Buffer}\n */\n buffer = null\n\n pos = 0\n\n event = {\n data: undefined,\n event: undefined,\n id: undefined,\n retry: undefined\n }\n\n /**\n * @param {object} options\n * @param {eventSourceSettings} options.eventSourceSettings\n * @param {Function} [options.push]\n */\n constructor (options = {}) {\n // Enable object mode as EventSourceStream emits objects of shape\n // EventSourceStreamEvent\n options.readableObjectMode = true\n\n super(options)\n\n this.state = options.eventSourceSettings || {}\n if (options.push) {\n this.push = options.push\n }\n }\n\n /**\n * @param {Buffer} chunk\n * @param {string} _encoding\n * @param {Function} callback\n * @returns {void}\n */\n _transform (chunk, _encoding, callback) {\n if (chunk.length === 0) {\n callback()\n return\n }\n\n // Cache the chunk in the buffer, as the data might not be complete while\n // processing it\n // TODO: Investigate if there is a more performant way to handle\n // incoming chunks\n // see: https://github.com/nodejs/undici/issues/2630\n if (this.buffer) {\n this.buffer = Buffer.concat([this.buffer, chunk])\n } else {\n this.buffer = chunk\n }\n\n // Strip leading byte-order-mark if we opened the stream and started\n // the processing of the incoming data\n if (this.checkBOM) {\n switch (this.buffer.length) {\n case 1:\n // Check if the first byte is the same as the first byte of the BOM\n if (this.buffer[0] === BOM[0]) {\n // If it is, we need to wait for more data\n callback()\n return\n }\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n\n // The buffer only contains one byte so we need to wait for more data\n callback()\n return\n case 2:\n // Check if the first two bytes are the same as the first two bytes\n // of the BOM\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1]\n ) {\n // If it is, we need to wait for more data, because the third byte\n // is needed to determine if it is the BOM or not\n callback()\n return\n }\n\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n break\n case 3:\n // Check if the first three bytes are the same as the first three\n // bytes of the BOM\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1] &&\n this.buffer[2] === BOM[2]\n ) {\n // If it is, we can drop the buffered data, as it is only the BOM\n this.buffer = Buffer.alloc(0)\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n\n // Await more data\n callback()\n return\n }\n // If it is not the BOM, we can start processing the data\n this.checkBOM = false\n break\n default:\n // The buffer is longer than 3 bytes, so we can drop the BOM if it is\n // present\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1] &&\n this.buffer[2] === BOM[2]\n ) {\n // Remove the BOM from the buffer\n this.buffer = this.buffer.subarray(3)\n }\n\n // Set the checkBOM flag to false as we don't need to check for the\n this.checkBOM = false\n break\n }\n }\n\n while (this.pos < this.buffer.length) {\n // If the previous line ended with an end-of-line, we need to check\n // if the next character is also an end-of-line.\n if (this.eventEndCheck) {\n // If the the current character is an end-of-line, then the event\n // is finished and we can process it\n\n // If the previous line ended with a carriage return, we need to\n // check if the current character is a line feed and remove it\n // from the buffer.\n if (this.crlfCheck) {\n // If the current character is a line feed, we can remove it\n // from the buffer and reset the crlfCheck flag\n if (this.buffer[this.pos] === LF) {\n this.buffer = this.buffer.subarray(this.pos + 1)\n this.pos = 0\n this.crlfCheck = false\n\n // It is possible that the line feed is not the end of the\n // event. We need to check if the next character is an\n // end-of-line character to determine if the event is\n // finished. We simply continue the loop to check the next\n // character.\n\n // As we removed the line feed from the buffer and set the\n // crlfCheck flag to false, we basically don't make any\n // distinction between a line feed and a carriage return.\n continue\n }\n this.crlfCheck = false\n }\n\n if (this.buffer[this.pos] === LF || this.buffer[this.pos] === CR) {\n // If the current character is a carriage return, we need to\n // set the crlfCheck flag to true, as we need to check if the\n // next character is a line feed so we can remove it from the\n // buffer\n if (this.buffer[this.pos] === CR) {\n this.crlfCheck = true\n }\n\n this.buffer = this.buffer.subarray(this.pos + 1)\n this.pos = 0\n if (\n this.event.data !== undefined || this.event.event || this.event.id || this.event.retry) {\n this.processEvent(this.event)\n }\n this.clearEvent()\n continue\n }\n // If the current character is not an end-of-line, then the event\n // is not finished and we have to reset the eventEndCheck flag\n this.eventEndCheck = false\n continue\n }\n\n // If the current character is an end-of-line, we can process the\n // line\n if (this.buffer[this.pos] === LF || this.buffer[this.pos] === CR) {\n // If the current character is a carriage return, we need to\n // set the crlfCheck flag to true, as we need to check if the\n // next character is a line feed\n if (this.buffer[this.pos] === CR) {\n this.crlfCheck = true\n }\n\n // In any case, we can process the line as we reached an\n // end-of-line character\n this.parseLine(this.buffer.subarray(0, this.pos), this.event)\n\n // Remove the processed line from the buffer\n this.buffer = this.buffer.subarray(this.pos + 1)\n // Reset the position as we removed the processed line from the buffer\n this.pos = 0\n // A line was processed and this could be the end of the event. We need\n // to check if the next line is empty to determine if the event is\n // finished.\n this.eventEndCheck = true\n continue\n }\n\n this.pos++\n }\n\n callback()\n }\n\n /**\n * @param {Buffer} line\n * @param {EventStreamEvent} event\n */\n parseLine (line, event) {\n // If the line is empty (a blank line)\n // Dispatch the event, as defined below.\n // This will be handled in the _transform method\n if (line.length === 0) {\n return\n }\n\n // If the line starts with a U+003A COLON character (:)\n // Ignore the line.\n const colonPosition = line.indexOf(COLON)\n if (colonPosition === 0) {\n return\n }\n\n let field = ''\n let value = ''\n\n // If the line contains a U+003A COLON character (:)\n if (colonPosition !== -1) {\n // Collect the characters on the line before the first U+003A COLON\n // character (:), and let field be that string.\n // TODO: Investigate if there is a more performant way to extract the\n // field\n // see: https://github.com/nodejs/undici/issues/2630\n field = line.subarray(0, colonPosition).toString('utf8')\n\n // Collect the characters on the line after the first U+003A COLON\n // character (:), and let value be that string.\n // If value starts with a U+0020 SPACE character, remove it from value.\n let valueStart = colonPosition + 1\n if (line[valueStart] === SPACE) {\n ++valueStart\n }\n // TODO: Investigate if there is a more performant way to extract the\n // value\n // see: https://github.com/nodejs/undici/issues/2630\n value = line.subarray(valueStart).toString('utf8')\n\n // Otherwise, the string is not empty but does not contain a U+003A COLON\n // character (:)\n } else {\n // Process the field using the steps described below, using the whole\n // line as the field name, and the empty string as the field value.\n field = line.toString('utf8')\n value = ''\n }\n\n // Modify the event with the field name and value. The value is also\n // decoded as UTF-8\n switch (field) {\n case 'data':\n if (event[field] === undefined) {\n event[field] = value\n } else {\n event[field] += `\\n${value}`\n }\n break\n case 'retry':\n if (isASCIINumber(value)) {\n event[field] = value\n }\n break\n case 'id':\n if (isValidLastEventId(value)) {\n event[field] = value\n }\n break\n case 'event':\n if (value.length > 0) {\n event[field] = value\n }\n break\n }\n }\n\n /**\n * @param {EventSourceStreamEvent} event\n */\n processEvent (event) {\n if (event.retry && isASCIINumber(event.retry)) {\n this.state.reconnectionTime = parseInt(event.retry, 10)\n }\n\n if (event.id && isValidLastEventId(event.id)) {\n this.state.lastEventId = event.id\n }\n\n // only dispatch event, when data is provided\n if (event.data !== undefined) {\n this.push({\n type: event.event || 'message',\n options: {\n data: event.data,\n lastEventId: this.state.lastEventId,\n origin: this.state.origin\n }\n })\n }\n }\n\n clearEvent () {\n this.event = {\n data: undefined,\n event: undefined,\n id: undefined,\n retry: undefined\n }\n }\n}\n\nmodule.exports = {\n EventSourceStream\n}\n"],"names":["require$$1"],"mappings":";;;;;;;;;CACA,MAAM,EAAE,SAAS,EAAE,GAAG;AACtB,CAAA,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAGA,WAAA;;AAE9C;AACA;AACA;AACA,CAAA,MAAM,GAAG,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI;AAC7B;AACA;AACA;AACA,CAAA,MAAM,EAAE,GAAG;AACX;AACA;AACA;AACA,CAAA,MAAM,EAAE,GAAG;AACX;AACA;AACA;AACA,CAAA,MAAM,KAAK,GAAG;AACd;AACA;AACA;AACA,CAAA,MAAM,KAAK,GAAG;;AAEd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;CAEA,MAAM,iBAAiB,SAAS,SAAS,CAAC;AAC1C;AACA;AACA;AACA,GAAE,KAAK,GAAG;;AAEV;AACA;AACA;AACA;AACA,GAAE,QAAQ,GAAG;;AAEb;AACA;AACA;AACA,GAAE,SAAS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E;AACnD,OAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE;AAC5D,KAAA;;KAEI,IAAI,KAAK,CAAC,EAAE,IAAI,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE;AAClD,OAAM,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;AACrC,KAAA;;AAEA;AACA,KAAI,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE;OAC5B,IAAI,CAAC,IAAI,CAAC;AAChB,SAAQ,IAAI,EAAE,KAAK,CAAC,KAAK,IAAI,SAAS;AACtC,SAAQ,OAAO,EAAE;AACjB,WAAU,IAAI,EAAE,KAAK,CAAC,IAAI;AAC1B,WAAU,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW;AAC7C,WAAU,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC;AAC7B;QACO;AACP,KAAA;AACA,GAAA;;GAEE,UAAU,CAAC,GAAG;KACZ,IAAI,CAAC,KAAK,GAAG;OACX,IAAI,EAAE,SAAS;OACf,KAAK,EAAE,SAAS;OAChB,EAAE,EAAE,SAAS;AACnB,OAAM,KAAK,EAAE;AACb;AACA,GAAA;AACA;;AAEA,CAAA,iBAAc,GAAG;GACf;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventsource.js","sources":["../../../../../../../../../node_modules/undici/lib/web/eventsource/eventsource.js"],"sourcesContent":["'use strict'\n\nconst { pipeline } = require('node:stream')\nconst { fetching } = require('../fetch')\nconst { makeRequest } = require('../fetch/request')\nconst { webidl } = require('../fetch/webidl')\nconst { EventSourceStream } = require('./eventsource-stream')\nconst { parseMIMEType } = require('../fetch/data-url')\nconst { createFastMessageEvent } = require('../websocket/events')\nconst { isNetworkError } = require('../fetch/response')\nconst { delay } = require('./util')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { environmentSettingsObject } = require('../fetch/util')\n\nlet experimentalWarned = false\n\n/**\n * A reconnection time, in milliseconds. This must initially be an implementation-defined value,\n * probably in the region of a few seconds.\n *\n * In Comparison:\n * - Chrome uses 3000ms.\n * - Deno uses 5000ms.\n *\n * @type {3000}\n */\nconst defaultReconnectionTime = 3000\n\n/**\n * The readyState attribute represents the state of the connection.\n * @enum\n * @readonly\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#dom-eventsource-readystate-dev\n */\n\n/**\n * The connection has not yet been established, or it was closed and the user\n * agent is reconnecting.\n * @type {0}\n */\nconst CONNECTING = 0\n\n/**\n * The user agent has an open connection and is dispatching events as it\n * receives them.\n * @type {1}\n */\nconst OPEN = 1\n\n/**\n * The connection is not open, and the user agent is not trying to reconnect.\n * @type {2}\n */\nconst CLOSED = 2\n\n/**\n * Requests for the element will have their mode set to \"cors\" and their credentials mode set to \"same-origin\".\n * @type {'anonymous'}\n */\nconst ANONYMOUS = 'anonymous'\n\n/**\n * Requests for the element will have their mode set to \"cors\" and their credentials mode set to \"include\".\n * @type {'use-credentials'}\n */\nconst USE_CREDENTIALS = 'use-credentials'\n\n/**\n * The EventSource interface is used to receive server-sent events. It\n * connects to a server over HTTP and receives events in text/event-stream\n * format without closing the connection.\n * @extends {EventTarget}\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events\n * @api public\n */\nclass EventSource extends EventTarget {\n #events = {\n open: null,\n error: null,\n message: null\n }\n\n #url = null\n #withCredentials = false\n\n #readyState = CONNECTING\n\n #request = null\n #controller = null\n\n #dispatcher\n\n /**\n * @type {import('./eventsource-stream').eventSourceSettings}\n */\n #state\n\n /**\n * Creates a new EventSource object.\n * @param {string} url\n * @param {EventSourceInit} [eventSourceInitDict]\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#the-eventsource-interface\n */\n constructor (url, eventSourceInitDict = {}) {\n // 1. Let ev be a new EventSource object.\n super()\n\n webidl.util.markAsUncloneable(this)\n\n const prefix = 'EventSource constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EventSource is experimental, expect them to change at any time.', {\n code: 'UNDICI-ES'\n })\n }\n\n url = webidl.converters.USVString(url, prefix, 'url')\n eventSourceInitDict = webidl.converters.EventSourceInitDict(eventSourceInitDict, prefix, 'eventSourceInitDict')\n\n this.#dispatcher = eventSourceInitDict.dispatcher\n this.#state = {\n lastEventId: '',\n reconnectionTime: defaultReconnectionTime\n }\n\n // 2. Let settings be ev's relevant settings object.\n // https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\n const settings = environmentSettingsObject\n\n let urlRecord\n\n try {\n // 3. Let urlRecord be the result of encoding-parsing a URL given url, relative to settings.\n urlRecord = new URL(url, settings.settingsObject.baseUrl)\n this.#state.origin = urlRecord.origin\n } catch (e) {\n // 4. If urlRecord is failure, then throw a \"SyntaxError\" DOMException.\n throw new DOMException(e, 'SyntaxError')\n }\n\n // 5. Set ev's url to urlRecord.\n this.#url = urlRecord.href\n\n // 6. Let corsAttributeState be Anonymous.\n let corsAttributeState = ANONYMOUS\n\n // 7. If the value of eventSourceInitDict's withCredentials member is true,\n // then set corsAttributeState to Use Credentials and set ev's\n // withCredentials attribute to true.\n if (eventSourceInitDict.withCredentials) {\n corsAttributeState = USE_CREDENTIALS\n this.#withCredentials = true\n }\n\n // 8. Let request be the result of creating a potential-CORS request given\n // urlRecord, the empty string, and corsAttributeState.\n const initRequest = {\n redirect: 'follow',\n keepalive: true,\n // @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes\n mode: 'cors',\n credentials: corsAttributeState === 'anonymous'\n ? 'same-origin'\n : 'omit',\n referrer: 'no-referrer'\n }\n\n // 9. Set request's client to settings.\n initRequest.client = environmentSettingsObject.settingsObject\n\n // 10. User agents may set (`Accept`, `text/event-stream`) in request's header list.\n initRequest.headersList = [['accept', { name: 'accept', value: 'text/event-stream' }]]\n\n // 11. Set request's cache mode to \"no-store\".\n initRequest.cache = 'no-store'\n\n // 12. Set request's initiator type to \"other\".\n initRequest.initiator = 'other'\n\n initRequest.urlList = [new URL(this.#url)]\n\n // 13. Set ev's request to request.\n this.#request = makeRequest(initRequest)\n\n this.#connect()\n }\n\n /**\n * Returns the state of this EventSource object's connection. It can have the\n * values described below.\n * @returns {0|1|2}\n * @readonly\n */\n get readyState () {\n return this.#readyState\n }\n\n /**\n * Returns the URL providing the event stream.\n * @readonly\n * @returns {string}\n */\n get url () {\n return this.#url\n }\n\n /**\n * Returns a boolean indicating whether the EventSource object was\n * instantiated with CORS credentials set (true), or not (false, the default).\n */\n get withCredentials () {\n return this.#withCredentials\n }\n\n #connect () {\n if (this.#readyState === CLOSED) return\n\n this.#readyState = CONNECTING\n\n const fetchParams = {\n request: this.#request,\n dispatcher: this.#dispatcher\n }\n\n // 14. Let processEventSourceEndOfBody given response res be the following step: if res is not a network error, then reestablish the connection.\n const processEventSourceEndOfBody = (response) => {\n if (isNetworkError(response)) {\n this.dispatchEvent(new Event('error'))\n this.close()\n }\n\n this.#reconnect()\n }\n\n // 15. Fetch request, with processResponseEndOfBody set to processEventSourceEndOfBody...\n fetchParams.processResponseEndOfBody = processEventSourceEndOfBody\n\n // and processResponse set to the following steps given response res:\n fetchParams.processResponse = (response) => {\n // 1. If res is an aborted network error, then fail the connection.\n\n if (isNetworkError(response)) {\n // 1. When a user agent is to fail the connection, the user agent\n // must queue a task which, if the readyState attribute is set to a\n // value other than CLOSED, sets the readyState attribute to CLOSED\n // and fires an event named error at the EventSource object. Once the\n // user agent has failed the connection, it does not attempt to\n // reconnect.\n if (response.aborted) {\n this.close()\n this.dispatchEvent(new Event('error'))\n return\n // 2. Otherwise, if res is a network error, then reestablish the\n // connection, unless the user agent knows that to be futile, in\n // which case the user agent may fail the connection.\n } else {\n this.#reconnect()\n return\n }\n }\n\n // 3. Otherwise, if res's status is not 200, or if res's `Content-Type`\n // is not `text/event-stream`, then fail the connection.\n const contentType = response.headersList.get('content-type', true)\n const mimeType = contentType !== null ? parseMIMEType(contentType) : 'failure'\n const contentTypeValid = mimeType !== 'failure' && mimeType.essence === 'text/event-stream'\n if (\n response.status !== 200 ||\n contentTypeValid === false\n ) {\n this.close()\n this.dispatchEvent(new Event('error'))\n return\n }\n\n // 4. Otherwise, announce the connection and interpret res's body\n // line by line.\n\n // When a user agent is to announce the connection, the user agent\n // must queue a task which, if the readyState attribute is set to a\n // value other than CLOSED, sets the readyState attribute to OPEN\n // and fires an event named open at the EventSource object.\n // @see https://html.spec.whatwg.org/multipage/server-sent-events.html#sse-processing-model\n this.#readyState = OPEN\n this.dispatchEvent(new Event('open'))\n\n // If redirected to a different origin, set the origin to the new origin.\n this.#state.origin = response.urlList[response.urlList.length - 1].origin\n\n const eventSourceStream = new EventSourceStream({\n eventSourceSettings: this.#state,\n push: (event) => {\n this.dispatchEvent(createFastMessageEvent(\n event.type,\n event.options\n ))\n }\n })\n\n pipeline(response.body.stream,\n eventSourceStream,\n (error) => {\n if (\n error?.aborted === false\n ) {\n this.close()\n this.dispatchEvent(new Event('error'))\n }\n })\n }\n\n this.#controller = fetching(fetchParams)\n }\n\n /**\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#sse-processing-model\n * @returns {Promise<void>}\n */\n async #reconnect () {\n // When a user agent is to reestablish the connection, the user agent must\n // run the following steps. These steps are run in parallel, not as part of\n // a task. (The tasks that it queues, of course, are run like normal tasks\n // and not themselves in parallel.)\n\n // 1. Queue a task to run the following steps:\n\n // 1. If the readyState attribute is set to CLOSED, abort the task.\n if (this.#readyState === CLOSED) return\n\n // 2. Set the readyState attribute to CONNECTING.\n this.#readyState = CONNECTING\n\n // 3. Fire an event named error at the EventSource object.\n this.dispatchEvent(new Event('error'))\n\n // 2. Wait a delay equal to the reconnection time of the event source.\n await delay(this.#state.reconnectionTime)\n\n // 5. Queue a task to run the following steps:\n\n // 1. If the EventSource object's readyState attribute is not set to\n // CONNECTING, then return.\n if (this.#readyState !== CONNECTING) return\n\n // 2. Let request be the EventSource object's request.\n // 3. If the EventSource object's last event ID string is not the empty\n // string, then:\n // 1. Let lastEventIDValue be the EventSource object's last event ID\n // string, encoded as UTF-8.\n // 2. Set (`Last-Event-ID`, lastEventIDValue) in request's header\n // list.\n if (this.#state.lastEventId.length) {\n this.#request.headersList.set('last-event-id', this.#state.lastEventId, true)\n }\n\n // 4. Fetch request and process the response obtained in this fashion, if any, as described earlier in this section.\n this.#connect()\n }\n\n /**\n * Closes the connection, if any, and sets the readyState attribute to\n * CLOSED.\n */\n close () {\n webidl.brandCheck(this, EventSource)\n\n if (this.#readyState === CLOSED) return\n this.#readyState = CLOSED\n this.#controller.abort()\n this.#request = null\n }\n\n get onopen () {\n return this.#events.open\n }\n\n set onopen (fn) {\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 onmessage () {\n return this.#events.message\n }\n\n set onmessage (fn) {\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 onerror () {\n return this.#events.error\n }\n\n set onerror (fn) {\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\nconst constantsPropertyDescriptors = {\n CONNECTING: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: CONNECTING,\n writable: false\n },\n OPEN: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: OPEN,\n writable: false\n },\n CLOSED: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: CLOSED,\n writable: false\n }\n}\n\nObject.defineProperties(EventSource, constantsPropertyDescriptors)\nObject.defineProperties(EventSource.prototype, constantsPropertyDescriptors)\n\nObject.defineProperties(EventSource.prototype, {\n close: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onmessage: kEnumerableProperty,\n onopen: kEnumerableProperty,\n readyState: kEnumerableProperty,\n url: kEnumerableProperty,\n withCredentials: kEnumerableProperty\n})\n\nwebidl.converters.EventSourceInitDict = webidl.dictionaryConverter([\n {\n key: 'withCredentials',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'dispatcher', // undici only\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = {\n EventSource,\n defaultReconnectionTime\n}\n"],"names":["require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","require$$10"],"mappings":";;;;;;;;;;;;;;;;;;;CAEA,MAAM,EAAE,QAAQ,EAAE,GAAG;CACrB,MAAM,EAAE,QAAQ,EAAE,GAAGA,YAAA;CACrB,MAAM,EAAE,WAAW,EAAE,GAAGC,cAAA;CACxB,MAAM,EAAE,MAAM,EAAE,GAAGC,aAAA;CACnB,MAAM,EAAE,iBAAiB,EAAE,GAAGC,wBAAA;CAC9B,MAAM,EAAE,aAAa,EAAE,GAAGC,cAAA;CAC1B,MAAM,EAAE,sBAAsB,EAAE,GAAGC,aAAA;CACnC,MAAM,EAAE,cAAc,EAAE,GAAGC,eAAA;CAC3B,MAAM,EAAE,KAAK,EAAE,GAAGC,WAAA;CAClB,MAAM,EAAE,mBAAmB,EAAE,GAAGC,aAAA;CAChC,MAAM,EAAE,yBAAyB,EAAE,GAAGC,aAAA;;AAEtC,CAAA,IAAI,kBAAkB,GAAG;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,MAAM,uBAAuB,GAAG;;AAEhC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAA,MAAM,UAAU,GAAG;;AAEnB;AACA;AACA;AACA;AACA;AACA,CAAA,MAAM,IAAI,GAAG;;AAEb;AACA;AACA;AACA;AACA,CAAA,MAAM,MAAM,GAAG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KAAK;KACnB,UAAU,EAAE,IAAI;KAChB,KAAK,EAAE,UAAU;AACrB,KAAI,QAAQ,EAAE;IACX;AACH,GAAE,IAAI,EAAE;KACJ,SAAS,EAAE,IAAI;KACf,YAAY,EAAE,KAAK;KACnB,UAAU,EAAE,IAAI;KAChB,KAAK,EAAE,IAAI;AACf,KAAI,QAAQ,EAAE;IACX;AACH,GAAE,MAAM,EAAE;KACN,SAAS,EAAE,IAAI;KACf,YAAY,EAAE,KAAK;KACnB,UAAU,EAAE,IAAI;KAChB,KAAK,EAAE,MAAM;AACjB,KAAI,QAAQ,EAAE;AACd;AACA;;AAEA,CAAA,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,4BAA4B;AACjE,CAAA,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,SAAS,EAAE,4BAA4B;;AAE3E,CAAA,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,SAAS,EAAE;GAC7C,KAAK,EAAE,mBAAmB;GAC1B,OAAO,EAAE,mBAAmB;GAC5B,SAAS,EAAE,mBAAmB;GAC9B,MAAM,EAAE,mBAAmB;GAC3B,UAAU,EAAE,mBAAmB;GAC/B,GAAG,EAAE,mBAAmB;AAC1B,GAAE,eAAe,EAAE;EAClB;;CAED,MAAM,CAAC,UAAU,CAAC,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;GACjE;KACE,GAAG,EAAE,iBAAiB;AAC1B,KAAI,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO;KACpC,YAAY,EAAE,MAAM;IACrB;GACD;KACE,GAAG,EAAE,YAAY;AACrB,KAAI,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;AACjC;EACC;;AAED,CAAA,WAAc,GAAG;AACjB,GAAE,WAAW;GACX;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../../../../../../../../node_modules/undici/lib/web/eventsource/util.js"],"sourcesContent":["'use strict'\n\n/**\n * Checks if the given value is a valid LastEventId.\n * @param {string} value\n * @returns {boolean}\n */\nfunction isValidLastEventId (value) {\n // LastEventId should not contain U+0000 NULL\n return value.indexOf('\\u0000') === -1\n}\n\n/**\n * Checks if the given value is a base 10 digit.\n * @param {string} value\n * @returns {boolean}\n */\nfunction isASCIINumber (value) {\n if (value.length === 0) return false\n for (let i = 0; i < value.length; i++) {\n if (value.charCodeAt(i) < 0x30 || value.charCodeAt(i) > 0x39) return false\n }\n return true\n}\n\n// https://github.com/nodejs/undici/issues/2664\nfunction delay (ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms).unref()\n })\n}\n\nmodule.exports = {\n isValidLastEventId,\n isASCIINumber,\n delay\n}\n"],"names":[],"mappings":";;;;;;;AAEA;AACA;AACA;AACA;AACA;CACA,SAAS,kBAAkB,EAAE,KAAK,EAAE;AACpC;GACE,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK;AACrC,CAAA;;AAEA;AACA;AACA;AACA;AACA;CACA,SAAS,aAAa,EAAE,KAAK,EAAE;AAC/B,GAAE,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,OAAO;AACjC,GAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACzC,KAAI,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO;AACzE,GAAA;AACA,GAAE,OAAO;AACT,CAAA;;AAEA;CACA,SAAS,KAAK,EAAE,EAAE,EAAE;AACpB,GAAE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAClC,KAAI,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,KAAK;GACjC,CAAG;AACH,CAAA;;AAEA,CAAA,IAAc,GAAG;AACjB,GAAE,kBAAkB;AACpB,GAAE,aAAa;GACb;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body.js","sources":["../../../../../../../../../node_modules/undici/lib/web/fetch/body.js"],"sourcesContent":["'use strict'\n\nconst util = require('../../core/util')\nconst {\n ReadableStreamFrom,\n isBlobLike,\n isReadableStreamLike,\n readableStreamClose,\n createDeferredPromise,\n fullyReadBody,\n extractMimeType,\n utf8DecodeBytes\n} = require('./util')\nconst { FormData } = require('./formdata')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { Blob } = require('node:buffer')\nconst assert = require('node:assert')\nconst { isErrored, isDisturbed } = require('node:stream')\nconst { isArrayBuffer } = require('node:util/types')\nconst { serializeAMimeType } = require('./data-url')\nconst { multipartFormDataParser } = require('./formdata-parser')\nlet random\n\ntry {\n const crypto = require('node:crypto')\n random = (max) => crypto.randomInt(0, max)\n} catch {\n random = (max) => Math.floor(Math.random(max))\n}\n\nconst textEncoder = new TextEncoder()\nfunction noop () {}\n\nconst hasFinalizationRegistry = globalThis.FinalizationRegistry && process.version.indexOf('v18') !== 0\nlet streamRegistry\n\nif (hasFinalizationRegistry) {\n streamRegistry = new FinalizationRegistry((weakRef) => {\n const stream = weakRef.deref()\n if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {\n stream.cancel('Response object has been garbage collected').catch(noop)\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction extractBody (object, keepalive = false) {\n // 1. Let stream be null.\n let stream = null\n\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof ReadableStream) {\n stream = object\n } else if (isBlobLike(object)) {\n // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object’s get stream.\n stream = object.stream()\n } else {\n // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream with byte reading support.\n stream = new ReadableStream({\n async pull (controller) {\n const buffer = typeof source === 'string' ? textEncoder.encode(source) : source\n\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n\n queueMicrotask(() => readableStreamClose(controller))\n },\n start () {},\n type: 'bytes'\n })\n }\n\n // 5. Assert: stream is a ReadableStream object.\n assert(isReadableStreamLike(stream))\n\n // 6. Let action be null.\n let action = null\n\n // 7. Let source be null.\n let source = null\n\n // 8. Let length be null.\n let length = null\n\n // 9. Let type be null.\n let type = null\n\n // 10. Switch on object:\n if (typeof object === 'string') {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object\n\n // Set type to `text/plain;charset=UTF-8`.\n type = 'text/plain;charset=UTF-8'\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object’s list.\n source = object.toString()\n\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = 'application/x-www-form-urlencoded;charset=UTF-8'\n } else if (isArrayBuffer(object)) {\n // BufferSource/ArrayBuffer\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice())\n } else if (ArrayBuffer.isView(object)) {\n // BufferSource/ArrayBufferView\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))\n } else if (util.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`\n\n /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */\n const escape = (str) =>\n str.replace(/\\n/g, '%0A').replace(/\\r/g, '%0D').replace(/\"/g, '%22')\n const normalizeLinefeeds = (value) => value.replace(/\\r?\\n|\\r/g, '\\r\\n')\n\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object’s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n\n const blobParts = []\n const rn = new Uint8Array([13, 10]) // '\\r\\n'\n length = 0\n let hasUnknownSizeValue = false\n\n for (const [name, value] of object) {\n if (typeof value === 'string') {\n const chunk = textEncoder.encode(prefix +\n `; name=\"${escape(normalizeLinefeeds(name))}\"` +\n `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n } else {\n const chunk = textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` +\n (value.name ? `; filename=\"${escape(value.name)}\"` : '') + '\\r\\n' +\n `Content-Type: ${\n value.type || 'application/octet-stream'\n }\\r\\n\\r\\n`)\n blobParts.push(chunk, value, rn)\n if (typeof value.size === 'number') {\n length += chunk.byteLength + value.size + rn.byteLength\n } else {\n hasUnknownSizeValue = true\n }\n }\n }\n\n // CRLF is appended to the body to function with legacy servers and match other implementations.\n // https://github.com/curl/curl/blob/3434c6b46e682452973972e8313613dfa58cd690/lib/mime.c#L1029-L1030\n // https://github.com/form-data/form-data/issues/63\n const chunk = textEncoder.encode(`--${boundary}--\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n if (hasUnknownSizeValue) {\n length = null\n }\n\n // Set source to object.\n source = object\n\n action = async function * () {\n for (const part of blobParts) {\n if (part.stream) {\n yield * part.stream()\n } else {\n yield part\n }\n }\n }\n\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = `multipart/form-data; boundary=${boundary}`\n } else if (isBlobLike(object)) {\n // Blob\n\n // Set source to object.\n source = object\n\n // Set length to object’s size.\n length = object.size\n\n // If object’s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) {\n type = object.type\n }\n } else if (typeof object[Symbol.asyncIterator] === 'function') {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) {\n throw new TypeError('keepalive')\n }\n\n // If object is disturbed or locked, then throw a TypeError.\n if (util.isDisturbed(object) || object.locked) {\n throw new TypeError(\n 'Response body object should not be disturbed or locked'\n )\n }\n\n stream =\n object instanceof ReadableStream ? object : ReadableStreamFrom(object)\n }\n\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source’s length.\n if (typeof source === 'string' || util.isBuffer(source)) {\n length = Buffer.byteLength(source)\n }\n\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator\n stream = new ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { value, done } = await iterator.next()\n if (done) {\n // When running action is done, close stream.\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!isErrored(stream)) {\n const buffer = new Uint8Array(value)\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n })\n }\n\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = { stream, source, length }\n\n // 14. Return (body, type).\n return [body, type]\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction safelyExtractBody (object, keepalive = false) {\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n\n // 1. If object is a ReadableStream object, then:\n if (object instanceof ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n assert(!util.isDisturbed(object), 'The body has already been consumed.')\n // istanbul ignore next\n assert(!object.locked, 'The stream is locked.')\n }\n\n // 2. Return the results of extracting object.\n return extractBody(object, keepalive)\n}\n\nfunction cloneBody (instance, body) {\n // To clone a body body, run these steps:\n\n // https://fetch.spec.whatwg.org/#concept-body-clone\n\n // 1. Let « out1, out2 » be the result of teeing body’s stream.\n const [out1, out2] = body.stream.tee()\n\n // 2. Set body’s stream to out1.\n body.stream = out1\n\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: out2,\n length: body.length,\n source: body.source\n }\n}\n\nfunction throwIfAborted (state) {\n if (state.aborted) {\n throw new DOMException('The operation was aborted.', 'AbortError')\n }\n}\n\nfunction bodyMixinMethods (instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this’s\n // MIME type.\n return consumeBody(this, (bytes) => {\n let mimeType = bodyMimeType(this)\n\n if (mimeType === null) {\n mimeType = ''\n } else if (mimeType) {\n mimeType = serializeAMimeType(mimeType)\n }\n\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new Blob([bytes], { type: mimeType })\n }, instance)\n },\n\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes).buffer\n }, instance)\n },\n\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return consumeBody(this, utf8DecodeBytes, instance)\n },\n\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return consumeBody(this, parseJSONFromBytes, instance)\n },\n\n formData () {\n // The formData() method steps are to return the result of running\n // consume body with this and the following step given a byte sequence bytes:\n return consumeBody(this, (value) => {\n // 1. Let mimeType be the result of get the MIME type with this.\n const mimeType = bodyMimeType(this)\n\n // 2. If mimeType is non-null, then switch on mimeType’s essence and run\n // the corresponding steps:\n if (mimeType !== null) {\n switch (mimeType.essence) {\n case 'multipart/form-data': {\n // 1. ... [long step]\n const parsed = multipartFormDataParser(value, mimeType)\n\n // 2. If that fails for some reason, then throw a TypeError.\n if (parsed === 'failure') {\n throw new TypeError('Failed to parse body as FormData.')\n }\n\n // 3. Return a new FormData object, appending each entry,\n // resulting from the parsing operation, to its entry list.\n const fd = new FormData()\n fd[kState] = parsed\n\n return fd\n }\n case 'application/x-www-form-urlencoded': {\n // 1. Let entries be the result of parsing bytes.\n const entries = new URLSearchParams(value.toString())\n\n // 2. If entries is failure, then throw a TypeError.\n\n // 3. Return a new FormData object whose entry list is entries.\n const fd = new FormData()\n\n for (const [name, value] of entries) {\n fd.append(name, value)\n }\n\n return fd\n }\n }\n }\n\n // 3. Throw a TypeError.\n throw new TypeError(\n 'Content-Type was not one of \"multipart/form-data\" or \"application/x-www-form-urlencoded\".'\n )\n }, instance)\n },\n\n bytes () {\n // The bytes() method steps are to return the result of running consume body\n // with this and the following step given a byte sequence bytes: return the\n // result of creating a Uint8Array from bytes in this’s relevant realm.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes)\n }, instance)\n }\n }\n\n return methods\n}\n\nfunction mixinBody (prototype) {\n Object.assign(prototype.prototype, bodyMixinMethods(prototype))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */\nasync function consumeBody (object, convertBytesToJSValue, instance) {\n webidl.brandCheck(object, instance)\n\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if (bodyUnusable(object)) {\n throw new TypeError('Body is unusable: Body has already been read')\n }\n\n throwIfAborted(object[kState])\n\n // 2. Let promise be a new promise.\n const promise = createDeferredPromise()\n\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error) => promise.reject(error)\n\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data) => {\n try {\n promise.resolve(convertBytesToJSValue(data))\n } catch (e) {\n errorSteps(e)\n }\n }\n\n // 5. If object’s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[kState].body == null) {\n successSteps(Buffer.allocUnsafe(0))\n return promise.promise\n }\n\n // 6. Otherwise, fully read object’s body given successSteps,\n // errorSteps, and object’s relevant global object.\n await fullyReadBody(object[kState].body, successSteps, errorSteps)\n\n // 7. Return promise.\n return promise.promise\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction bodyUnusable (object) {\n const body = object[kState].body\n\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body’s stream is disturbed or locked.\n return body != null && (body.stream.locked || util.isDisturbed(body.stream))\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */\nfunction parseJSONFromBytes (bytes) {\n return JSON.parse(utf8DecodeBytes(bytes))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} requestOrResponse\n */\nfunction bodyMimeType (requestOrResponse) {\n // 1. Let headers be null.\n // 2. If requestOrResponse is a Request object, then set headers to requestOrResponse’s request’s header list.\n // 3. Otherwise, set headers to requestOrResponse’s response’s header list.\n /** @type {import('./headers').HeadersList} */\n const headers = requestOrResponse[kState].headersList\n\n // 4. Let mimeType be the result of extracting a MIME type from headers.\n const mimeType = extractMimeType(headers)\n\n // 5. If mimeType is failure, then return null.\n if (mimeType === 'failure') {\n return null\n }\n\n // 6. Return mimeType.\n return mimeType\n}\n\nmodule.exports = {\n extractBody,\n safelyExtractBody,\n cloneBody,\n mixinBody,\n streamRegistry,\n hasFinalizationRegistry,\n bodyUnusable\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$9","require$$10"],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,CAAA,MAAM,IAAI,GAAGA,WAAA;CACb,MAAM;AACN,GAAE,kBAAkB;AACpB,GAAE,UAAU;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../node_modules/undici/lib/web/fetch/constants.js"],"sourcesContent":["'use strict'\n\nconst corsSafeListedMethods = /** @type {const} */ (['GET', 'HEAD', 'POST'])\nconst corsSafeListedMethodsSet = new Set(corsSafeListedMethods)\n\nconst nullBodyStatus = /** @type {const} */ ([101, 204, 205, 304])\n\nconst redirectStatus = /** @type {const} */ ([301, 302, 303, 307, 308])\nconst redirectStatusSet = new Set(redirectStatus)\n\n/**\n * @see https://fetch.spec.whatwg.org/#block-bad-port\n */\nconst badPorts = /** @type {const} */ ([\n '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79',\n '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137',\n '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532',\n '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723',\n '2049', '3659', '4045', '4190', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6679',\n '6697', '10080'\n])\nconst badPortsSet = new Set(badPorts)\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\n */\nconst referrerPolicy = /** @type {const} */ ([\n '',\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'same-origin',\n 'origin',\n 'strict-origin',\n 'origin-when-cross-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url'\n])\nconst referrerPolicySet = new Set(referrerPolicy)\n\nconst requestRedirect = /** @type {const} */ (['follow', 'manual', 'error'])\n\nconst safeMethods = /** @type {const} */ (['GET', 'HEAD', 'OPTIONS', 'TRACE'])\nconst safeMethodsSet = new Set(safeMethods)\n\nconst requestMode = /** @type {const} */ (['navigate', 'same-origin', 'no-cors', 'cors'])\n\nconst requestCredentials = /** @type {const} */ (['omit', 'same-origin', 'include'])\n\nconst requestCache = /** @type {const} */ ([\n 'default',\n 'no-store',\n 'reload',\n 'no-cache',\n 'force-cache',\n 'only-if-cached'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-body-header-name\n */\nconst requestBodyHeader = /** @type {const} */ ([\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n 'content-length'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#enumdef-requestduplex\n */\nconst requestDuplex = /** @type {const} */ ([\n 'half'\n])\n\n/**\n * @see http://fetch.spec.whatwg.org/#forbidden-method\n */\nconst forbiddenMethods = /** @type {const} */ (['CONNECT', 'TRACE', 'TRACK'])\nconst forbiddenMethodsSet = new Set(forbiddenMethods)\n\nconst subresource = /** @type {const} */ ([\n 'audio',\n 'audioworklet',\n 'font',\n 'image',\n 'manifest',\n 'paintworklet',\n 'script',\n 'style',\n 'track',\n 'video',\n 'xslt',\n ''\n])\nconst subresourceSet = new Set(subresource)\n\nmodule.exports = {\n subresource,\n forbiddenMethods,\n requestBodyHeader,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n redirectStatus,\n corsSafeListedMethods,\n nullBodyStatus,\n safeMethods,\n badPorts,\n requestDuplex,\n subresourceSet,\n badPortsSet,\n redirectStatusSet,\n corsSafeListedMethodsSet,\n safeMethodsSet,\n forbiddenMethodsSet,\n referrerPolicySet\n}\n"],"names":[],"mappings":";;;;;;;CAEA,MAAM,qBAAqB,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;AAC3E,CAAA,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAC,qBAAqB;;CAE9D,MAAM,cAAc,yBAAyB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;;AAEjE,CAAA,MAAM,cAAc,yBAAyB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AACtE,CA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AACV,GAAE,OAAO;AACT,GAAE,OAAO;AACT,GAAE,OAAO;AACT,GAAE,MAAM;GACN;EACD;AACD,CAAA,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,WAAW;;AAE1C,CAAA,SAAc,GAAG;AACjB,GAAE,WAAW;AACb,GAAE,gBAAgB;AAClB,GAAE,iBAAiB;AACnB,GAAE,cAAc;AAChB,GAAE,eAAe;AACjB,GAAE,WAAW;AACb,GAAE,kBAAkB;AACpB,GAAE,YAAY;AACd,GAAE,cAAc;AAChB,GAAE,qBAAqB;AACvB,GAAE,cAAc;AAChB,GAAE,WAAW;AACb,GAAE,QAAQ;AACV,GAAE,aAAa;AACf,GAAE,cAAc;AAChB,GAAE,WAAW;AACb,GAAE,iBAAiB;AACnB,GAAE,wBAAwB;AAC1B,GAAE,cAAc;AAChB,GAAE,mBAAmB;GACnB;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-url.js","sources":["../../../../../../../../../node_modules/undici/lib/web/fetch/data-url.js"],"sourcesContent":["'use strict'\n\nconst assert = require('node:assert')\n\nconst encoder = new TextEncoder()\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */\nconst HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+\\-.^_|~A-Za-z0-9]+$/\nconst HTTP_WHITESPACE_REGEX = /[\\u000A\\u000D\\u0009\\u0020]/ // eslint-disable-line\nconst ASCII_WHITESPACE_REPLACE_REGEX = /[\\u0009\\u000A\\u000C\\u000D\\u0020]/g // eslint-disable-line\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */\nconst HTTP_QUOTED_STRING_TOKENS = /^[\\u0009\\u0020-\\u007E\\u0080-\\u00FF]+$/ // eslint-disable-line\n\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */\nfunction dataURLProcessor (dataURL) {\n // 1. Assert: dataURL’s scheme is \"data\".\n assert(dataURL.protocol === 'data:')\n\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = URLSerializer(dataURL, true)\n\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5)\n\n // 4. Let position point at the start of input.\n const position = { position: 0 }\n\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = collectASequenceOfCodePointsFast(\n ',',\n input,\n position\n )\n\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length\n mimeType = removeASCIIWhitespace(mimeType, true, true)\n\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) {\n return 'failure'\n }\n\n // 8. Advance position by 1.\n position.position++\n\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1)\n\n // 10. Let body be the percent-decoding of encodedBody.\n let body = stringPercentDecode(encodedBody)\n\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = isomorphicDecode(body)\n\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = forgivingBase64(stringBody)\n\n // 3. If body is failure, then return failure.\n if (body === 'failure') {\n return 'failure'\n }\n\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6)\n\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, '')\n\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1)\n }\n\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(';')) {\n mimeType = 'text/plain' + mimeType\n }\n\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = parseMIMEType(mimeType)\n\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === 'failure') {\n mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII')\n }\n\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return { mimeType: mimeTypeRecord, body }\n}\n\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */\nfunction URLSerializer (url, excludeFragment = false) {\n if (!excludeFragment) {\n return url.href\n }\n\n const href = url.href\n const hashLength = url.hash.length\n\n const serialized = hashLength === 0 ? href : href.substring(0, href.length - hashLength)\n\n if (!hashLength && href.endsWith('#')) {\n return serialized.slice(0, -1)\n }\n\n return serialized\n}\n\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePoints (condition, input, position) {\n // 1. Let result be the empty string.\n let result = ''\n\n // 2. While position doesn’t point past the end of input and the\n // code point at position within input meets the condition condition:\n while (position.position < input.length && condition(input[position.position])) {\n // 1. Append that code point to the end of result.\n result += input[position.position]\n\n // 2. Advance position by 1.\n position.position++\n }\n\n // 3. Return result.\n return result\n}\n\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePointsFast (char, input, position) {\n const idx = input.indexOf(char, position.position)\n const start = position.position\n\n if (idx === -1) {\n position.position = input.length\n return input.slice(start)\n }\n\n position.position = idx\n return input.slice(start, position.position)\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */\nfunction stringPercentDecode (input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = encoder.encode(input)\n\n // 2. Return the percent-decoding of bytes.\n return percentDecode(bytes)\n}\n\n/**\n * @param {number} byte\n */\nfunction isHexCharByte (byte) {\n // 0-9 A-F a-f\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) || (byte >= 0x61 && byte <= 0x66)\n}\n\n/**\n * @param {number} byte\n */\nfunction hexByteToNumber (byte) {\n return (\n // 0-9\n byte >= 0x30 && byte <= 0x39\n ? (byte - 48)\n // Convert to uppercase\n // ((byte & 0xDF) - 65) + 10\n : ((byte & 0xDF) - 55)\n )\n}\n\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */\nfunction percentDecode (input) {\n const length = input.length\n // 1. Let output be an empty byte sequence.\n /** @type {Uint8Array} */\n const output = new Uint8Array(length)\n let j = 0\n // 2. For each byte byte in input:\n for (let i = 0; i < length; ++i) {\n const byte = input[i]\n\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) {\n output[j++] = byte\n\n // 2. Otherwise, if byte is 0x25 (%) and the next two bytes\n // after byte in input are not in the ranges\n // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F),\n // and 0x61 (a) to 0x66 (f), all inclusive, append byte\n // to output.\n } else if (\n byte === 0x25 &&\n !(isHexCharByte(input[i + 1]) && isHexCharByte(input[i + 2]))\n ) {\n output[j++] = 0x25\n\n // 3. Otherwise:\n } else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n // 2. Append a byte whose value is bytePoint to output.\n output[j++] = (hexByteToNumber(input[i + 1]) << 4) | hexByteToNumber(input[i + 2])\n\n // 3. Skip the next two bytes in input.\n i += 2\n }\n }\n\n // 3. Return output.\n return length === j ? output : output.subarray(0, j)\n}\n\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */\nfunction parseMIMEType (input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = removeHTTPWhitespace(input, true, true)\n\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = collectASequenceOfCodePointsFast(\n '/',\n input,\n position\n )\n\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) {\n return 'failure'\n }\n\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) {\n return 'failure'\n }\n\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++\n\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = removeHTTPWhitespace(subtype, false, true)\n\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) {\n return 'failure'\n }\n\n const typeLowercase = type.toLowerCase()\n const subtypeLowercase = subtype.toLowerCase()\n\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map<string, string>} */\n parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n }\n\n // 11. While position is not past the end of input:\n while (position.position < input.length) {\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++\n\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n collectASequenceOfCodePoints(\n // https://fetch.spec.whatwg.org/#http-whitespace\n char => HTTP_WHITESPACE_REGEX.test(char),\n input,\n position\n )\n\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = collectASequenceOfCodePoints(\n (char) => char !== ';' && char !== '=',\n input,\n position\n )\n\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase()\n\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === ';') {\n continue\n }\n\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++\n }\n\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) {\n break\n }\n\n // 7. Let parameterValue be null.\n let parameterValue = null\n\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = collectAnHTTPQuotedString(input, position, true)\n\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = removeHTTPWhitespace(parameterValue, false, true)\n\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) {\n continue\n }\n }\n\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType’s parameters[parameterName] does not exist\n // then set mimeType’s parameters[parameterName] to parameterValue.\n if (\n parameterName.length !== 0 &&\n HTTP_TOKEN_CODEPOINTS.test(parameterName) &&\n (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) &&\n !mimeType.parameters.has(parameterName)\n ) {\n mimeType.parameters.set(parameterName, parameterValue)\n }\n }\n\n // 12. Return mimeType.\n return mimeType\n}\n\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */\nfunction forgivingBase64 (data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(ASCII_WHITESPACE_REPLACE_REGEX, '') // eslint-disable-line\n\n let dataLength = data.length\n // 2. If data’s code point length divides by 4 leaving\n // no remainder, then:\n if (dataLength % 4 === 0) {\n // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n }\n }\n }\n\n // 3. If data’s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (dataLength % 4 === 1) {\n return 'failure'\n }\n\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data.length === dataLength ? data : data.substring(0, dataLength))) {\n return 'failure'\n }\n\n const buffer = Buffer.from(data, 'base64')\n return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength)\n}\n\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */\nfunction collectAnHTTPQuotedString (input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position\n\n // 2. Let value be the empty string.\n let value = ''\n\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n assert(input[position.position] === '\"')\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. While true:\n while (true) {\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== '\\\\',\n input,\n position\n )\n\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) {\n break\n }\n\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position]\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === '\\\\') {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += '\\\\'\n break\n }\n\n // 2. Append the code point at position within input to value.\n value += input[position.position]\n\n // 3. Advance position by 1.\n position.position++\n\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n assert(quoteOrBackslash === '\"')\n\n // 2. Break.\n break\n }\n }\n\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) {\n return value\n }\n\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position)\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */\nfunction serializeAMimeType (mimeType) {\n assert(mimeType !== 'failure')\n const { parameters, essence } = mimeType\n\n // 1. Let serialization be the concatenation of mimeType’s\n // type, U+002F (/), and mimeType’s subtype.\n let serialization = essence\n\n // 2. For each name → value of mimeType’s parameters:\n for (let [name, value] of parameters.entries()) {\n // 1. Append U+003B (;) to serialization.\n serialization += ';'\n\n // 2. Append name to serialization.\n serialization += name\n\n // 3. Append U+003D (=) to serialization.\n serialization += '='\n\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurrence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, '\\\\$1')\n\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value\n\n // 3. Append U+0022 (\") to value.\n value += '\"'\n }\n\n // 5. Append value to serialization.\n serialization += value\n }\n\n // 3. Return serialization.\n return serialization\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {number} char\n */\nfunction isHTTPWhiteSpace (char) {\n // \"\\r\\n\\t \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeHTTPWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isHTTPWhiteSpace)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {number} char\n */\nfunction isASCIIWhitespace (char) {\n // \"\\r\\n\\t\\f \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x00c || char === 0x020\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeASCIIWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isASCIIWhitespace)\n}\n\n/**\n * @param {string} str\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns\n */\nfunction removeChars (str, leading, trailing, predicate) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n while (lead < str.length && predicate(str.charCodeAt(lead))) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(str.charCodeAt(trail))) trail--\n }\n\n return lead === 0 && trail === str.length - 1 ? str : str.slice(lead, trail + 1)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {Uint8Array} input\n * @returns {string}\n */\nfunction isomorphicDecode (input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input’s length and whose code points have the same values\n // as the values of input’s bytes, in the same order.\n const length = input.length\n if ((2 << 15) - 1 > length) {\n return String.fromCharCode.apply(null, input)\n }\n let result = ''; let i = 0\n let addition = (2 << 15) - 1\n while (i < length) {\n if (i + addition > length) {\n addition = length - i\n }\n result += String.fromCharCode.apply(null, input.subarray(i, i += addition))\n }\n return result\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type\n * @param {Exclude<ReturnType<typeof parseMIMEType>, 'failure'>} mimeType\n */\nfunction minimizeSupportedMimeType (mimeType) {\n switch (mimeType.essence) {\n case 'application/ecmascript':\n case 'application/javascript':\n case 'application/x-ecmascript':\n case 'application/x-javascript':\n case 'text/ecmascript':\n case 'text/javascript':\n case 'text/javascript1.0':\n case 'text/javascript1.1':\n case 'text/javascript1.2':\n case 'text/javascript1.3':\n case 'text/javascript1.4':\n case 'text/javascript1.5':\n case 'text/jscript':\n case 'text/livescript':\n case 'text/x-ecmascript':\n case 'text/x-javascript':\n // 1. If mimeType is a JavaScript MIME type, then return \"text/javascript\".\n return 'text/javascript'\n case 'application/json':\n case 'text/json':\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n return 'application/json'\n case 'image/svg+xml':\n // 3. If mimeType’s essence is \"image/svg+xml\", then return \"image/svg+xml\".\n return 'image/svg+xml'\n case 'text/xml':\n case 'application/xml':\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n return 'application/xml'\n }\n\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n if (mimeType.subtype.endsWith('+json')) {\n return 'application/json'\n }\n\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n if (mimeType.subtype.endsWith('+xml')) {\n return 'application/xml'\n }\n\n // 5. If mimeType is supported by the user agent, then return mimeType’s essence.\n // Technically, node doesn't support any mimetypes.\n\n // 6. Return the empty string.\n return ''\n}\n\nmodule.exports = {\n dataURLProcessor,\n URLSerializer,\n collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast,\n stringPercentDecode,\n parseMIMEType,\n collectAnHTTPQuotedString,\n serializeAMimeType,\n removeChars,\n removeHTTPWhitespace,\n minimizeSupportedMimeType,\n HTTP_TOKEN_CODEPOINTS,\n isomorphicDecode\n}\n"],"names":[],"mappings":";;;;;;;;;AAEA,CAAA,MAAM,MAAM,GAAG;;CAEf,MAAM,OAAO,GAAG,IAAI,WAAW;;AAE/B;AACA;AACA;AACA,CAAA,MAAM,qBAAqB,GAAG;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AC,QAAQ,CAAC,OAAO,CAAC,EAAE;AAC1C,KAAI,OAAO;AACX,GAAA;;AAEA;GACE,IAAI,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;AACzC,KAAI,OAAO;AACX,GAAA;;AAEA;AACA;;AAEA;AACA,GAAE,OAAO;AACT,CAAA;;AAEA,CAAA,OAAc,GAAG;AACjB,GAAE,gBAAgB;AAClB,GAAE,aAAa;AACf,GAAE,4BAA4B;AAC9B,GAAE,gCAAgC;AAClC,GAAE,mBAAmB;AACrB,GAAE,aAAa;AACf,GAAE,yBAAyB;AAC3B,GAAE,kBAAkB;AACpB,GAAE,WAAW;AACb,GAAE,oBAAoB;AACtB,GAAE,yBAAyB;AAC3B,GAAE,qBAAqB;GACrB;AACF;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatcher-weakref.js","sources":["../../../../../../../../../node_modules/undici/lib/web/fetch/dispatcher-weakref.js"],"sourcesContent":["'use strict'\n\nconst { kConnected, kSize } = require('../../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n\n unregister (key) {}\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is backported to v18\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE && process.version.startsWith('v18')) {\n process._rawDebug('Using compatibility WeakRef and FinalizationRegistry')\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return { WeakRef, FinalizationRegistry }\n}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,oBAAoB;AACxC,CAAA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.js","sources":["../../../../../../../../../node_modules/undici/lib/web/fetch/file.js"],"sourcesContent":["'use strict'\n\nconst { Blob, File } = require('node:buffer')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\n\n// TODO(@KhafraDev): remove\nclass FileLike {\n constructor (blobLike, fileName, options = {}) {\n // TODO: argument idl type check\n\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type\n\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now()\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n this[kState] = {\n blobLike,\n name: n,\n type: t,\n lastModified: d\n }\n }\n\n stream (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.stream(...args)\n }\n\n arrayBuffer (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.arrayBuffer(...args)\n }\n\n slice (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.slice(...args)\n }\n\n text (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.text(...args)\n }\n\n get size () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.size\n }\n\n get type () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.type\n }\n\n get name () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n}\n\nwebidl.converters.Blob = webidl.interfaceConverter(Blob)\n\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction isFileLike (object) {\n return (\n (object instanceof File) ||\n (\n object &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n object[Symbol.toStringTag] === 'File'\n )\n )\n}\n\nmodule.exports = { FileLike, isFileLike }\n"],"names":["require$$1","require$$2"],"mappings":";;;;;;;;;;;AAEA,CAAA,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG;CACvB,MAAM,EAAE,MAAM,EAAE,GAAGA,cAAA;CACnB,MAAM,EAAE,MAAM,EAAE,GAAGC,aAAA;;AAEnB;AACA,CAAA,MAAM,QAAQ,CAAC;GACb,WAAW,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE;AACjD;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;KACI,MAAM,CAAC,GAAG;;AAEd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAI,MAAM,CAAC,GAAG,OAAO,CAAC;;AAEtB;AACA;;AAEA;AACA;AACA;AACA;KACI,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG;;AAE9C;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAI,IAAI,CAAC,MAAM,CAAC,GAAG;AACnB,OAAM,QAAQ;OACR,IAAI,EAAE,CAAC;OACP,IAAI,EAAE,CAAC;AACb,OAAM,YAAY,EAAE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KAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACxB,GAAA;;GAEE,IAAI,YAAY,CAAC,GAAG;AACtB,KAAI,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ;;AAEpC,KAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACxB,GAAA;;AAEA,GAAE,KAAK,MAAM,CAAC,WAAW,EAAE,GAAG;AAC9B,KAAI,OAAO;AACX,GAAA;AACA;;CAEA,MAAM,CAAC,UAAU,CAAC,IAAI,GAAG,MAAM,CAAC,kBAAkB,CAAC,IAAI;;AAEvD;AACA;AACA;CACA,SAAS,UAAU,EAAE,MAAM,EAAE;GAC3B;KACE,CAAC,MAAM,YAAY,IAAI;AAC3B;AACA,OAAM,MAAM;AACZ,QAAO,OAAO,MAAM,CAAC,MAAM,KAAK,UAAU;AAC1C,OAAM,OAAO,MAAM,CAAC,WAAW,KAAK,UAAU,CAAC;AAC/C,OAAM,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK;AACrC;AACA;AACA,CAAA;;AAEA,CAAA,IAAc,GAAG,EAAE,QAAQ,EAAE,UAAU;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formdata-parser.js","sources":["../../../../../../../../../node_modules/undici/lib/web/fetch/formdata-parser.js"],"sourcesContent":["'use strict'\n\nconst { isUSVString, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { utf8DecodeBytes } = require('./util')\nconst { HTTP_TOKEN_CODEPOINTS, isomorphicDecode } = require('./data-url')\nconst { isFileLike } = require('./file')\nconst { makeEntry } = require('./formdata')\nconst assert = require('node:assert')\nconst { File: NodeFile } = require('node:buffer')\n\nconst File = globalThis.File ?? NodeFile\n\nconst formDataNameBuffer = Buffer.from('form-data; name=\"')\nconst filenameBuffer = Buffer.from('; filename')\nconst dd = Buffer.from('--')\nconst ddcrlf = Buffer.from('--\\r\\n')\n\n/**\n * @param {string} chars\n */\nfunction isAsciiString (chars) {\n for (let i = 0; i < chars.length; ++i) {\n if ((chars.charCodeAt(i) & ~0x7F) !== 0) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary\n * @param {string} boundary\n */\nfunction validateBoundary (boundary) {\n const length = boundary.length\n\n // - its length is greater or equal to 27 and lesser or equal to 70, and\n if (length < 27 || length > 70) {\n return false\n }\n\n // - it is composed by bytes in the ranges 0x30 to 0x39, 0x41 to 0x5A, or\n // 0x61 to 0x7A, inclusive (ASCII alphanumeric), or which are 0x27 ('),\n // 0x2D (-) or 0x5F (_).\n for (let i = 0; i < length; ++i) {\n const cp = boundary.charCodeAt(i)\n\n if (!(\n (cp >= 0x30 && cp <= 0x39) ||\n (cp >= 0x41 && cp <= 0x5a) ||\n (cp >= 0x61 && cp <= 0x7a) ||\n cp === 0x27 ||\n cp === 0x2d ||\n cp === 0x5f\n )) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-parser\n * @param {Buffer} input\n * @param {ReturnType<import('./data-url')['parseMIMEType']>} mimeType\n */\nfunction multipartFormDataParser (input, mimeType) {\n // 1. Assert: mimeType’s essence is \"multipart/form-data\".\n assert(mimeType !== 'failure' && mimeType.essence === 'multipart/form-data')\n\n const boundaryString = mimeType.parameters.get('boundary')\n\n // 2. If mimeType’s parameters[\"boundary\"] does not exist, return failure.\n // Otherwise, let boundary be the result of UTF-8 decoding mimeType’s\n // parameters[\"boundary\"].\n if (boundaryString === undefined) {\n return 'failure'\n }\n\n const boundary = Buffer.from(`--${boundaryString}`, 'utf8')\n\n // 3. Let entry list be an empty entry list.\n const entryList = []\n\n // 4. Let position be a pointer to a byte in input, initially pointing at\n // the first byte.\n const position = { position: 0 }\n\n // Note: undici addition, allows leading and trailing CRLFs.\n while (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n position.position += 2\n }\n\n let trailing = input.length\n\n while (input[trailing - 1] === 0x0a && input[trailing - 2] === 0x0d) {\n trailing -= 2\n }\n\n if (trailing !== input.length) {\n input = input.subarray(0, trailing)\n }\n\n // 5. While true:\n while (true) {\n // 5.1. If position points to a sequence of bytes starting with 0x2D 0x2D\n // (`--`) followed by boundary, advance position by 2 + the length of\n // boundary. Otherwise, return failure.\n // Note: boundary is padded with 2 dashes already, no need to add 2.\n if (input.subarray(position.position, position.position + boundary.length).equals(boundary)) {\n position.position += boundary.length\n } else {\n return 'failure'\n }\n\n // 5.2. If position points to the sequence of bytes 0x2D 0x2D 0x0D 0x0A\n // (`--` followed by CR LF) followed by the end of input, return entry list.\n // Note: a body does NOT need to end with CRLF. It can end with --.\n if (\n (position.position === input.length - 2 && bufferStartsWith(input, dd, position)) ||\n (position.position === input.length - 4 && bufferStartsWith(input, ddcrlf, position))\n ) {\n return entryList\n }\n\n // 5.3. If position does not point to a sequence of bytes starting with 0x0D\n // 0x0A (CR LF), return failure.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n }\n\n // 5.4. Advance position by 2. (This skips past the newline.)\n position.position += 2\n\n // 5.5. Let name, filename and contentType be the result of parsing\n // multipart/form-data headers on input and position, if the result\n // is not failure. Otherwise, return failure.\n const result = parseMultipartFormDataHeaders(input, position)\n\n if (result === 'failure') {\n return 'failure'\n }\n\n let { name, filename, contentType, encoding } = result\n\n // 5.6. Advance position by 2. (This skips past the empty line that marks\n // the end of the headers.)\n position.position += 2\n\n // 5.7. Let body be the empty byte sequence.\n let body\n\n // 5.8. Body loop: While position is not past the end of input:\n // TODO: the steps here are completely wrong\n {\n const boundaryIndex = input.indexOf(boundary.subarray(2), position.position)\n\n if (boundaryIndex === -1) {\n return 'failure'\n }\n\n body = input.subarray(position.position, boundaryIndex - 4)\n\n position.position += body.length\n\n // Note: position must be advanced by the body's length before being\n // decoded, otherwise the parsing will fail.\n if (encoding === 'base64') {\n body = Buffer.from(body.toString(), 'base64')\n }\n }\n\n // 5.9. If position does not point to a sequence of bytes starting with\n // 0x0D 0x0A (CR LF), return failure. Otherwise, advance position by 2.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n\n // 5.10. If filename is not null:\n let value\n\n if (filename !== null) {\n // 5.10.1. If contentType is null, set contentType to \"text/plain\".\n contentType ??= 'text/plain'\n\n // 5.10.2. If contentType is not an ASCII string, set contentType to the empty string.\n\n // Note: `buffer.isAscii` can be used at zero-cost, but converting a string to a buffer is a high overhead.\n // Content-Type is a relatively small string, so it is faster to use `String#charCodeAt`.\n if (!isAsciiString(contentType)) {\n contentType = ''\n }\n\n // 5.10.3. Let value be a new File object with name filename, type contentType, and body body.\n value = new File([body], filename, { type: contentType })\n } else {\n // 5.11. Otherwise:\n\n // 5.11.1. Let value be the UTF-8 decoding without BOM of body.\n value = utf8DecodeBytes(Buffer.from(body))\n }\n\n // 5.12. Assert: name is a scalar value string and value is either a scalar value string or a File object.\n assert(isUSVString(name))\n assert((typeof value === 'string' && isUSVString(value)) || isFileLike(value))\n\n // 5.13. Create an entry with name and value, and append it to entry list.\n entryList.push(makeEntry(name, value, filename))\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-multipart-form-data-headers\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataHeaders (input, position) {\n // 1. Let name, filename and contentType be null.\n let name = null\n let filename = null\n let contentType = null\n let encoding = null\n\n // 2. While true:\n while (true) {\n // 2.1. If position points to a sequence of bytes starting with 0x0D 0x0A (CR LF):\n if (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n // 2.1.1. If name is null, return failure.\n if (name === null) {\n return 'failure'\n }\n\n // 2.1.2. Return name, filename and contentType.\n return { name, filename, contentType, encoding }\n }\n\n // 2.2. Let header name be the result of collecting a sequence of bytes that are\n // not 0x0A (LF), 0x0D (CR) or 0x3A (:), given position.\n let headerName = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x3a,\n input,\n position\n )\n\n // 2.3. Remove any HTTP tab or space bytes from the start or end of header name.\n headerName = removeChars(headerName, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 2.4. If header name does not match the field-name token production, return failure.\n if (!HTTP_TOKEN_CODEPOINTS.test(headerName.toString())) {\n return 'failure'\n }\n\n // 2.5. If the byte at position is not 0x3A (:), return failure.\n if (input[position.position] !== 0x3a) {\n return 'failure'\n }\n\n // 2.6. Advance position by 1.\n position.position++\n\n // 2.7. Collect a sequence of bytes that are HTTP tab or space bytes given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char === 0x20 || char === 0x09,\n input,\n position\n )\n\n // 2.8. Byte-lowercase header name and switch on the result:\n switch (bufferToLowerCasedHeaderName(headerName)) {\n case 'content-disposition': {\n // 1. Set name and filename to null.\n name = filename = null\n\n // 2. If position does not point to a sequence of bytes starting with\n // `form-data; name=\"`, return failure.\n if (!bufferStartsWith(input, formDataNameBuffer, position)) {\n return 'failure'\n }\n\n // 3. Advance position so it points at the byte after the next 0x22 (\")\n // byte (the one in the sequence of bytes matched above).\n position.position += 17\n\n // 4. Set name to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return\n // failure.\n name = parseMultipartFormDataName(input, position)\n\n if (name === null) {\n return 'failure'\n }\n\n // 5. If position points to a sequence of bytes starting with `; filename=\"`:\n if (bufferStartsWith(input, filenameBuffer, position)) {\n // Note: undici also handles filename*\n let check = position.position + filenameBuffer.length\n\n if (input[check] === 0x2a) {\n position.position += 1\n check += 1\n }\n\n if (input[check] !== 0x3d || input[check + 1] !== 0x22) { // =\"\n return 'failure'\n }\n\n // 1. Advance position so it points at the byte after the next 0x22 (\") byte\n // (the one in the sequence of bytes matched above).\n position.position += 12\n\n // 2. Set filename to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return failure.\n filename = parseMultipartFormDataName(input, position)\n\n if (filename === null) {\n return 'failure'\n }\n }\n\n break\n }\n case 'content-type': {\n // 1. Let header value be the result of collecting a sequence of bytes that are\n // not 0x0A (LF) or 0x0D (CR), given position.\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n // 2. Remove any HTTP tab or space bytes from the end of header value.\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n // 3. Set contentType to the isomorphic decoding of header value.\n contentType = isomorphicDecode(headerValue)\n\n break\n }\n case 'content-transfer-encoding': {\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n encoding = isomorphicDecode(headerValue)\n\n break\n }\n default: {\n // Collect a sequence of bytes that are not 0x0A (LF) or 0x0D (CR), given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n }\n }\n\n // 2.9. If position does not point to a sequence of bytes starting with 0x0D 0x0A\n // (CR LF), return failure. Otherwise, advance position by 2 (past the newline).\n if (input[position.position] !== 0x0d && input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-a-multipart-form-data-name\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataName (input, position) {\n // 1. Assert: The byte at (position - 1) is 0x22 (\").\n assert(input[position.position - 1] === 0x22)\n\n // 2. Let name be the result of collecting a sequence of bytes that are not 0x0A (LF), 0x0D (CR) or 0x22 (\"), given position.\n /** @type {string | Buffer} */\n let name = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x22,\n input,\n position\n )\n\n // 3. If the byte at position is not 0x22 (\"), return failure. Otherwise, advance position by 1.\n if (input[position.position] !== 0x22) {\n return null // name could be 'failure'\n } else {\n position.position++\n }\n\n // 4. Replace any occurrence of the following subsequences in name with the given byte:\n // - `%0A`: 0x0A (LF)\n // - `%0D`: 0x0D (CR)\n // - `%22`: 0x22 (\")\n name = new TextDecoder().decode(name)\n .replace(/%0A/ig, '\\n')\n .replace(/%0D/ig, '\\r')\n .replace(/%22/g, '\"')\n\n // 5. Return the UTF-8 decoding without BOM of name.\n return name\n}\n\n/**\n * @param {(char: number) => boolean} condition\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfBytes (condition, input, position) {\n let start = position.position\n\n while (start < input.length && condition(input[start])) {\n ++start\n }\n\n return input.subarray(position.position, (position.position = start))\n}\n\n/**\n * @param {Buffer} buf\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns {Buffer}\n */\nfunction removeChars (buf, leading, trailing, predicate) {\n let lead = 0\n let trail = buf.length - 1\n\n if (leading) {\n while (lead < buf.length && predicate(buf[lead])) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(buf[trail])) trail--\n }\n\n return lead === 0 && trail === buf.length - 1 ? buf : buf.subarray(lead, trail + 1)\n}\n\n/**\n * Checks if {@param buffer} starts with {@param start}\n * @param {Buffer} buffer\n * @param {Buffer} start\n * @param {{ position: number }} position\n */\nfunction bufferStartsWith (buffer, start, position) {\n if (buffer.length < start.length) {\n return false\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== buffer[position.position + i]) {\n return false\n }\n }\n\n return true\n}\n\nmodule.exports = {\n multipartFormDataParser,\n validateBoundary\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6"],"mappings":";;;;;;;;;;;;;;;AAEA,CAAA,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,GAAGA,WAAA;CACtD,MAAM,EAAE,eAAe,EAAE,GAAGC,aAAA;AAC5B,CAAA,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAGC,cAAA;CACpD,MAAM,EAAE,UAAU,EAAE,GAAGC,WAAA;CACvB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