@slicemachine/manager 0.1.1-dev-plugins.13 → 0.1.1-dev-plugins-validation.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs +68 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js +68 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs +43 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js +43 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs +804 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js +804 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs +354 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js +354 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs +65 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js +65 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.js.map +1 -0
- package/dist/_node_modules/common-tags/es/TemplateTag/TemplateTag.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/TemplateTag/TemplateTag.js.map +1 -0
- package/dist/_node_modules/common-tags/es/commaLists/commaLists.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/commaLists/commaLists.js.map +1 -0
- package/dist/_node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/commaListsAnd/commaListsAnd.js.map +1 -0
- package/dist/_node_modules/common-tags/es/commaListsOr/commaListsOr.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/commaListsOr/commaListsOr.js.map +1 -0
- package/dist/_node_modules/common-tags/es/html/html.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/html/html.js.map +1 -0
- package/dist/_node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/inlineLists/inlineLists.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/inlineLists/inlineLists.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLine/oneLine.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLine/oneLine.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/oneLineTrim/oneLineTrim.js.map +1 -0
- package/dist/_node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/safeHtml/safeHtml.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/safeHtml/safeHtml.js.map +1 -0
- package/dist/_node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.cjs +8 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.js +9 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.js.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndents/stripIndents.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndents/stripIndents.js.map +1 -0
- package/dist/_node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js.map +1 -0
- package/dist/_node_modules/cross-spawn/index.cjs +27 -0
- package/dist/_node_modules/cross-spawn/index.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/index.js +28 -0
- package/dist/_node_modules/cross-spawn/index.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.cjs +46 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.js +47 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/parse.cjs +63 -0
- package/dist/_node_modules/cross-spawn/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/parse.js +64 -0
- package/dist/_node_modules/cross-spawn/lib/parse.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.cjs +22 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.js +23 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs +20 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.js +21 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs +42 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js +43 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/dist/_node_modules/execa/index.cjs +148 -0
- package/dist/_node_modules/execa/index.cjs.map +1 -0
- package/dist/_node_modules/execa/index.js +148 -0
- package/dist/_node_modules/execa/index.js.map +1 -0
- package/dist/_node_modules/execa/lib/command.cjs +37 -0
- package/dist/_node_modules/execa/lib/command.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/command.js +37 -0
- package/dist/_node_modules/execa/lib/command.js.map +1 -0
- package/dist/_node_modules/execa/lib/error.cjs +73 -0
- package/dist/_node_modules/execa/lib/error.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/error.js +73 -0
- package/dist/_node_modules/execa/lib/error.js.map +1 -0
- package/dist/_node_modules/execa/lib/kill.cjs +81 -0
- package/dist/_node_modules/execa/lib/kill.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/kill.js +81 -0
- package/dist/_node_modules/execa/lib/kill.js.map +1 -0
- package/dist/_node_modules/execa/lib/pipe.cjs +37 -0
- package/dist/_node_modules/execa/lib/pipe.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/pipe.js +37 -0
- package/dist/_node_modules/execa/lib/pipe.js.map +1 -0
- package/dist/_node_modules/execa/lib/promise.cjs +30 -0
- package/dist/_node_modules/execa/lib/promise.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/promise.js +30 -0
- package/dist/_node_modules/execa/lib/promise.js.map +1 -0
- package/dist/_node_modules/execa/lib/stdio.cjs +26 -0
- package/dist/_node_modules/execa/lib/stdio.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/stdio.js +26 -0
- package/dist/_node_modules/execa/lib/stdio.js.map +1 -0
- package/dist/_node_modules/execa/lib/stream.cjs +82 -0
- package/dist/_node_modules/execa/lib/stream.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/stream.js +82 -0
- package/dist/_node_modules/execa/lib/stream.js.map +1 -0
- package/dist/_node_modules/execa/lib/verbose.cjs +20 -0
- package/dist/_node_modules/execa/lib/verbose.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/verbose.js +20 -0
- package/dist/_node_modules/execa/lib/verbose.js.map +1 -0
- package/dist/_node_modules/fetch-blob/file.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/file.js.map +1 -0
- package/dist/_node_modules/fetch-blob/index.cjs +223 -0
- package/dist/_node_modules/fetch-blob/index.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/index.js +223 -0
- package/dist/_node_modules/fetch-blob/index.js.map +1 -0
- package/dist/_node_modules/fetch-blob/streams.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/streams.js.map +1 -0
- package/dist/_node_modules/file-type/core.cjs +1180 -0
- package/dist/_node_modules/file-type/core.cjs.map +1 -0
- package/dist/_node_modules/file-type/core.js +1180 -0
- package/dist/_node_modules/file-type/core.js.map +1 -0
- package/dist/_node_modules/file-type/util.cjs.map +1 -0
- package/dist/_node_modules/file-type/util.js.map +1 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
- package/dist/_node_modules/formdata-polyfill/esm.min.js.map +1 -0
- package/dist/_node_modules/fp-ts/es6/Either.cjs +18 -0
- package/dist/_node_modules/fp-ts/es6/Either.cjs.map +1 -0
- package/dist/_node_modules/fp-ts/es6/Either.js +18 -0
- package/dist/_node_modules/fp-ts/es6/Either.js.map +1 -0
- package/dist/_node_modules/fp-ts/es6/function.cjs.map +1 -0
- package/dist/_node_modules/fp-ts/es6/function.js.map +1 -0
- package/dist/_node_modules/fp-ts/es6/internal.cjs.map +1 -0
- package/dist/_node_modules/fp-ts/es6/internal.js.map +1 -0
- package/dist/_node_modules/get-port/index.cjs.map +1 -0
- package/dist/_node_modules/get-port/index.js.map +1 -0
- package/dist/_node_modules/get-stream/buffer-stream.cjs +42 -0
- package/dist/_node_modules/get-stream/buffer-stream.cjs.map +1 -0
- package/dist/_node_modules/get-stream/buffer-stream.js +43 -0
- package/dist/_node_modules/get-stream/buffer-stream.js.map +1 -0
- package/dist/_node_modules/get-stream/index.cjs +56 -0
- package/dist/_node_modules/get-stream/index.cjs.map +1 -0
- package/dist/_node_modules/get-stream/index.js +57 -0
- package/dist/_node_modules/get-stream/index.js.map +1 -0
- package/dist/_node_modules/human-signals/build/src/core.cjs +275 -0
- package/dist/_node_modules/human-signals/build/src/core.cjs.map +1 -0
- package/dist/_node_modules/human-signals/build/src/core.js +275 -0
- package/dist/_node_modules/human-signals/build/src/core.js.map +1 -0
- package/dist/_node_modules/human-signals/build/src/main.cjs +58 -0
- package/dist/_node_modules/human-signals/build/src/main.cjs.map +1 -0
- package/dist/_node_modules/human-signals/build/src/main.js +58 -0
- package/dist/_node_modules/human-signals/build/src/main.js.map +1 -0
- package/dist/_node_modules/human-signals/build/src/realtime.cjs +20 -0
- package/dist/_node_modules/human-signals/build/src/realtime.cjs.map +1 -0
- package/dist/_node_modules/human-signals/build/src/realtime.js +20 -0
- package/dist/_node_modules/human-signals/build/src/realtime.js.map +1 -0
- package/dist/_node_modules/human-signals/build/src/signals.cjs +27 -0
- package/dist/_node_modules/human-signals/build/src/signals.cjs.map +1 -0
- package/dist/_node_modules/human-signals/build/src/signals.js +27 -0
- package/dist/_node_modules/human-signals/build/src/signals.js.map +1 -0
- package/dist/_node_modules/is-stream/index.cjs +11 -0
- package/dist/_node_modules/is-stream/index.cjs.map +1 -0
- package/dist/_node_modules/is-stream/index.js +11 -0
- package/dist/_node_modules/is-stream/index.js.map +1 -0
- package/dist/_node_modules/isexe/index.cjs +55 -0
- package/dist/_node_modules/isexe/index.cjs.map +1 -0
- package/dist/_node_modules/isexe/index.js +56 -0
- package/dist/_node_modules/isexe/index.js.map +1 -0
- package/dist/_node_modules/isexe/mode.cjs +40 -0
- package/dist/_node_modules/isexe/mode.cjs.map +1 -0
- package/dist/_node_modules/isexe/mode.js +40 -0
- package/dist/_node_modules/isexe/mode.js.map +1 -0
- package/dist/_node_modules/isexe/windows.cjs +47 -0
- package/dist/_node_modules/isexe/windows.cjs.map +1 -0
- package/dist/_node_modules/isexe/windows.js +47 -0
- package/dist/_node_modules/isexe/windows.js.map +1 -0
- package/dist/_node_modules/merge-stream/index.cjs +37 -0
- package/dist/_node_modules/merge-stream/index.cjs.map +1 -0
- package/dist/_node_modules/merge-stream/index.js +38 -0
- package/dist/_node_modules/merge-stream/index.js.map +1 -0
- package/dist/_node_modules/mimic-fn/index.cjs +46 -0
- package/dist/_node_modules/mimic-fn/index.cjs.map +1 -0
- package/dist/_node_modules/mimic-fn/index.js +47 -0
- package/dist/_node_modules/mimic-fn/index.js.map +1 -0
- package/dist/_node_modules/node-domexception/index.cjs.map +1 -0
- package/dist/_node_modules/node-domexception/index.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/body.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/body.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/base.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/headers.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/headers.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/index.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/index.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/request.cjs +206 -0
- package/dist/_node_modules/node-fetch/src/request.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/request.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/response.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/response.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/is.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
- package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +1 -0
- package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.cjs +13 -0
- package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.cjs.map +1 -0
- package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.js +14 -0
- package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.js.map +1 -0
- package/dist/_node_modules/npm-run-path/index.cjs +34 -0
- package/dist/_node_modules/npm-run-path/index.cjs.map +1 -0
- package/dist/_node_modules/npm-run-path/index.js +34 -0
- package/dist/_node_modules/npm-run-path/index.js.map +1 -0
- package/dist/_node_modules/onetime/index.cjs +32 -0
- package/dist/_node_modules/onetime/index.cjs.map +1 -0
- package/dist/_node_modules/onetime/index.js +33 -0
- package/dist/_node_modules/onetime/index.js.map +1 -0
- package/dist/_node_modules/p-limit/index.cjs.map +1 -0
- package/dist/_node_modules/p-limit/index.js.map +1 -0
- package/dist/_node_modules/path-key/index.cjs +14 -0
- package/dist/_node_modules/path-key/index.cjs.map +1 -0
- package/dist/_node_modules/path-key/index.js +15 -0
- package/dist/_node_modules/path-key/index.js.map +1 -0
- package/dist/_node_modules/peek-readable/lib/EndOfFileStream.cjs.map +1 -0
- package/dist/_node_modules/peek-readable/lib/EndOfFileStream.js.map +1 -0
- package/dist/_node_modules/r19/dist/R19Error.cjs +25 -0
- package/dist/_node_modules/r19/dist/R19Error.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/R19Error.js +25 -0
- package/dist/_node_modules/r19/dist/R19Error.js.map +1 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.cjs +90 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.js +90 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.js.map +1 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.cjs +36 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.js +36 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.js.map +1 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.cjs +121 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.js +121 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isErrorLike.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isErrorLike.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.cjs +11 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.js +11 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.cjs +8 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.js +8 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.js.map +1 -0
- package/dist/_node_modules/r19/dist/proceduresFromInstance.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/proceduresFromInstance.js.map +1 -0
- package/dist/_node_modules/shebang-command/index.cjs +17 -0
- package/dist/_node_modules/shebang-command/index.cjs.map +1 -0
- package/dist/_node_modules/shebang-command/index.js +18 -0
- package/dist/_node_modules/shebang-command/index.js.map +1 -0
- package/dist/_node_modules/shebang-regex/index.cjs +4 -0
- package/dist/_node_modules/shebang-regex/index.cjs.map +1 -0
- package/dist/_node_modules/shebang-regex/index.js +5 -0
- package/dist/_node_modules/shebang-regex/index.js.map +1 -0
- package/dist/_node_modules/signal-exit/index.cjs +148 -0
- package/dist/_node_modules/signal-exit/index.cjs.map +1 -0
- package/dist/_node_modules/signal-exit/index.js +149 -0
- package/dist/_node_modules/signal-exit/index.js.map +1 -0
- package/dist/_node_modules/signal-exit/signals.cjs +45 -0
- package/dist/_node_modules/signal-exit/signals.cjs.map +1 -0
- package/dist/_node_modules/signal-exit/signals.js +45 -0
- package/dist/_node_modules/signal-exit/signals.js.map +1 -0
- package/dist/_node_modules/strip-final-newline/index.cjs +14 -0
- package/dist/_node_modules/strip-final-newline/index.cjs.map +1 -0
- package/dist/_node_modules/strip-final-newline/index.js +15 -0
- package/dist/_node_modules/strip-final-newline/index.js.map +1 -0
- package/dist/_node_modules/strtok3/lib/AbstractTokenizer.cjs.map +1 -0
- package/dist/_node_modules/strtok3/lib/AbstractTokenizer.js.map +1 -0
- package/dist/_node_modules/strtok3/lib/BufferTokenizer.cjs.map +1 -0
- package/dist/_node_modules/strtok3/lib/BufferTokenizer.js.map +1 -0
- package/dist/_node_modules/strtok3/lib/core.cjs.map +1 -0
- package/dist/_node_modules/strtok3/lib/core.js.map +1 -0
- package/dist/_node_modules/token-types/lib/index.cjs.map +1 -0
- package/dist/_node_modules/token-types/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs +76 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.js +76 -0
- package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs +39 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js +40 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +86 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js +86 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/dist/_node_modules/which/which.cjs +95 -0
- package/dist/_node_modules/which/which.cjs.map +1 -0
- package/dist/_node_modules/which/which.js +96 -0
- package/dist/_node_modules/which/which.js.map +1 -0
- package/dist/_node_modules/yocto-queue/index.cjs.map +1 -0
- package/dist/_node_modules/yocto-queue/index.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +0 -30
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
- package/dist/_virtual/_commonjsHelpers.js +1 -31
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/escape.cjs +5 -0
- package/dist/_virtual/escape.cjs.map +1 -0
- package/dist/_virtual/escape.js +5 -0
- package/dist/_virtual/escape.js.map +1 -0
- package/dist/_virtual/index.cjs +11 -4
- package/dist/_virtual/index.cjs.map +1 -1
- package/dist/_virtual/index.js +11 -4
- package/dist/_virtual/index.js.map +1 -1
- package/dist/_virtual/index2.cjs +11 -4
- package/dist/_virtual/index2.cjs.map +1 -1
- package/dist/_virtual/index2.js +11 -4
- package/dist/_virtual/index2.js.map +1 -1
- package/dist/_virtual/index3.cjs +2 -2
- package/dist/_virtual/index3.js +6 -6
- package/dist/_virtual/index4.cjs +10 -2
- package/dist/_virtual/index4.cjs.map +1 -1
- package/dist/_virtual/index4.js +11 -2
- package/dist/_virtual/index4.js.map +1 -1
- package/dist/_virtual/signals.cjs +13 -0
- package/dist/_virtual/signals.cjs.map +1 -0
- package/dist/_virtual/signals.js +14 -0
- package/dist/_virtual/signals.js.map +1 -0
- package/dist/auth/PrismicAuthManager.cjs +2 -2
- package/dist/auth/PrismicAuthManager.js +2 -2
- package/dist/constants/API_TOKENS.cjs +5 -4
- package/dist/constants/API_TOKENS.cjs.map +1 -1
- package/dist/constants/API_TOKENS.js +5 -4
- package/dist/constants/API_TOKENS.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/bufferCodec.d.ts +1 -0
- package/dist/lib/checkIsURLAccessible.cjs +1 -1
- package/dist/lib/checkIsURLAccessible.js +1 -1
- package/dist/lib/decode.cjs +2 -2
- package/dist/lib/decode.js +2 -2
- package/dist/lib/decodeSliceMachineConfig.cjs.map +1 -1
- package/dist/lib/decodeSliceMachineConfig.js.map +1 -1
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs +2 -2
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js +2 -2
- package/dist/lib/fetchNPMPackageVersions.cjs +1 -1
- package/dist/lib/fetchNPMPackageVersions.js +1 -1
- package/dist/lib/format.cjs +15 -15
- package/dist/lib/format.js +15 -15
- package/dist/lib/installDependencies.cjs +33 -0
- package/dist/lib/installDependencies.cjs.map +1 -0
- package/dist/lib/installDependencies.d.ts +13 -0
- package/dist/lib/installDependencies.js +33 -0
- package/dist/lib/installDependencies.js.map +1 -0
- package/dist/lib/locateFileUpward.cjs +1 -1
- package/dist/lib/locateFileUpward.cjs.map +1 -1
- package/dist/lib/locateFileUpward.js +1 -1
- package/dist/lib/locateFileUpward.js.map +1 -1
- package/dist/lib/markdownToHTML.cjs +3 -2
- package/dist/lib/markdownToHTML.cjs.map +1 -1
- package/dist/lib/markdownToHTML.js +3 -2
- package/dist/lib/markdownToHTML.js.map +1 -1
- package/dist/managers/SliceMachineManager.cjs +4 -7
- package/dist/managers/SliceMachineManager.cjs.map +1 -1
- package/dist/managers/SliceMachineManager.d.ts +0 -1
- package/dist/managers/SliceMachineManager.js +4 -7
- package/dist/managers/SliceMachineManager.js.map +1 -1
- package/dist/managers/createSliceMachineManagerClient.cjs +1 -1
- package/dist/managers/createSliceMachineManagerClient.js +1 -1
- package/dist/managers/createSliceMachineManagerMiddleware.cjs +4 -3
- package/dist/managers/createSliceMachineManagerMiddleware.cjs.map +1 -1
- package/dist/managers/createSliceMachineManagerMiddleware.d.ts +3 -2
- package/dist/managers/createSliceMachineManagerMiddleware.js +4 -3
- package/dist/managers/createSliceMachineManagerMiddleware.js.map +1 -1
- package/dist/managers/customTypes/CustomTypesManager.cjs +1 -1
- package/dist/managers/customTypes/CustomTypesManager.js +1 -1
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs +131 -1
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs.map +1 -1
- package/dist/managers/prismicRepository/PrismicRepositoryManager.d.ts +3 -1
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js +132 -2
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js.map +1 -1
- package/dist/managers/prismicRepository/types.cjs +24 -0
- package/dist/managers/prismicRepository/types.cjs.map +1 -1
- package/dist/managers/prismicRepository/types.d.ts +87 -2
- package/dist/managers/prismicRepository/types.js +27 -1
- package/dist/managers/prismicRepository/types.js.map +1 -1
- package/dist/managers/project/ProjectManager.cjs +64 -1
- package/dist/managers/project/ProjectManager.cjs.map +1 -1
- package/dist/managers/project/ProjectManager.d.ts +20 -1
- package/dist/managers/project/ProjectManager.js +64 -1
- package/dist/managers/project/ProjectManager.js.map +1 -1
- package/dist/managers/screenshots/ScreenshotsManager.cjs +5 -5
- package/dist/managers/screenshots/ScreenshotsManager.js +5 -5
- package/dist/managers/simulator/SimulatorManager.cjs +1 -1
- package/dist/managers/simulator/SimulatorManager.js +1 -1
- package/dist/managers/slices/SlicesManager.cjs +1 -1
- package/dist/managers/slices/SlicesManager.cjs.map +1 -1
- package/dist/managers/slices/SlicesManager.d.ts +1 -1
- package/dist/managers/slices/SlicesManager.js +1 -1
- package/dist/managers/slices/SlicesManager.js.map +1 -1
- package/dist/managers/telemetry/TelemetryManager.cjs +10 -9
- package/dist/managers/telemetry/TelemetryManager.cjs.map +1 -1
- package/dist/managers/telemetry/TelemetryManager.d.ts +1 -1
- package/dist/managers/telemetry/TelemetryManager.js +10 -9
- package/dist/managers/telemetry/TelemetryManager.js.map +1 -1
- package/dist/managers/telemetry/types.cjs +48 -2
- package/dist/managers/telemetry/types.cjs.map +1 -1
- package/dist/managers/telemetry/types.d.ts +143 -3
- package/dist/managers/telemetry/types.js +48 -2
- package/dist/managers/telemetry/types.js.map +1 -1
- package/dist/managers/versions/VersionsManager.cjs.map +1 -1
- package/dist/managers/versions/VersionsManager.js.map +1 -1
- package/dist/managers/versions/types.d.ts +1 -1
- package/dist/test/createSliceMachineManagerMSWHandler.cjs +3 -3
- package/dist/test/createSliceMachineManagerMSWHandler.cjs.map +1 -1
- package/dist/test/createSliceMachineManagerMSWHandler.js +3 -3
- package/dist/test/createSliceMachineManagerMSWHandler.js.map +1 -1
- package/dist/types.d.ts +3 -2
- package/package.json +37 -28
- package/src/constants/API_TOKENS.ts +5 -4
- package/src/index.ts +1 -1
- package/src/lib/decodeSliceMachineConfig.ts +1 -5
- package/src/lib/installDependencies.ts +59 -0
- package/src/lib/locateFileUpward.ts +1 -1
- package/src/lib/markdownToHTML.ts +4 -1
- package/src/managers/SliceMachineManager.ts +4 -7
- package/src/managers/createSliceMachineManagerMiddleware.ts +4 -1
- package/src/managers/prismicRepository/PrismicRepositoryManager.ts +179 -0
- package/src/managers/prismicRepository/types.ts +102 -2
- package/src/managers/project/ProjectManager.ts +118 -2
- package/src/managers/slices/SlicesManager.ts +1 -1
- package/src/managers/telemetry/TelemetryManager.ts +26 -18
- package/src/managers/telemetry/types.ts +225 -3
- package/src/managers/versions/VersionsManager.ts +1 -1
- package/src/managers/versions/types.ts +1 -1
- package/src/types.ts +4 -2
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs +0 -65
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js +0 -65
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs +0 -40
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js +0 -40
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs +0 -801
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js +0 -801
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs +0 -351
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js +0 -351
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs +0 -11
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js +0 -11
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs +0 -62
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js +0 -62
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/decode.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/decode.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/encode.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/encode.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.js.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.cjs.map +0 -1
- package/dist/__node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.js.map +0 -1
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs +0 -26
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/cookies/lib/index.js +0 -25
- package/dist/__node_modules/@mswjs/cookies/lib/index.js.map +0 -1
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs +0 -175
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/cookies/lib/store.js +0 -174
- package/dist/__node_modules/@mswjs/cookies/lib/store.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs +0 -92
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js +0 -93
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs +0 -52
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js +0 -53
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs +0 -176
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js +0 -175
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs +0 -186
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js +0 -187
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs +0 -7
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js +0 -8
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs +0 -54
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js +0 -53
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs +0 -554
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js +0 -554
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs +0 -83
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js +0 -83
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs +0 -57
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js +0 -57
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs +0 -51
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js +0 -51
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs +0 -26
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js +0 -26
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs +0 -41
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js +0 -41
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs +0 -319
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js +0 -319
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs +0 -327
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js +0 -326
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs +0 -24
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js +0 -25
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs +0 -148
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js +0 -149
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs +0 -13
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js +0 -14
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs +0 -18
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js +0 -19
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs +0 -23
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js +0 -23
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs +0 -26
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js +0 -26
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs +0 -14
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs.map +0 -1
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js +0 -15
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js.map +0 -1
- package/dist/__node_modules/@open-draft/until/lib/index.cjs +0 -9
- package/dist/__node_modules/@open-draft/until/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@open-draft/until/lib/index.js +0 -10
- package/dist/__node_modules/@open-draft/until/lib/index.js.map +0 -1
- package/dist/__node_modules/@open-draft/until/lib/until.cjs +0 -15
- package/dist/__node_modules/@open-draft/until/lib/until.cjs.map +0 -1
- package/dist/__node_modules/@open-draft/until/lib/until.js +0 -16
- package/dist/__node_modules/@open-draft/until/lib/until.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs +0 -144
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js +0 -144
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs +0 -226
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -226
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs +0 -1396
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js +0 -1396
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs +0 -261
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js +0 -261
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs +0 -18
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js +0 -18
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs +0 -588
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs.map +0 -1
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js +0 -588
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js.map +0 -1
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js.map +0 -1
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.js.map +0 -1
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js.map +0 -1
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js.map +0 -1
- package/dist/__node_modules/common-tags/es/html/html.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/html/html.js.map +0 -1
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js.map +0 -1
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js.map +0 -1
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs +0 -7
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js +0 -8
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js.map +0 -1
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs.map +0 -1
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js.map +0 -1
- package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs +0 -41
- package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs.map +0 -1
- package/dist/__node_modules/data-uri-to-buffer/dist/index.js +0 -41
- package/dist/__node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
- package/dist/__node_modules/debug/__node_modules/ms/index.cjs +0 -122
- package/dist/__node_modules/debug/__node_modules/ms/index.cjs.map +0 -1
- package/dist/__node_modules/debug/__node_modules/ms/index.js +0 -122
- package/dist/__node_modules/debug/__node_modules/ms/index.js.map +0 -1
- package/dist/__node_modules/debug/src/browser.cjs +0 -165
- package/dist/__node_modules/debug/src/browser.cjs.map +0 -1
- package/dist/__node_modules/debug/src/browser.js +0 -164
- package/dist/__node_modules/debug/src/browser.js.map +0 -1
- package/dist/__node_modules/debug/src/common.cjs +0 -161
- package/dist/__node_modules/debug/src/common.cjs.map +0 -1
- package/dist/__node_modules/debug/src/common.js +0 -162
- package/dist/__node_modules/debug/src/common.js.map +0 -1
- package/dist/__node_modules/fetch-blob/file.cjs.map +0 -1
- package/dist/__node_modules/fetch-blob/file.js.map +0 -1
- package/dist/__node_modules/fetch-blob/index.cjs +0 -217
- package/dist/__node_modules/fetch-blob/index.cjs.map +0 -1
- package/dist/__node_modules/fetch-blob/index.js +0 -217
- package/dist/__node_modules/fetch-blob/index.js.map +0 -1
- package/dist/__node_modules/fetch-blob/streams.cjs.map +0 -1
- package/dist/__node_modules/fetch-blob/streams.js.map +0 -1
- package/dist/__node_modules/file-type/core.cjs +0 -1147
- package/dist/__node_modules/file-type/core.cjs.map +0 -1
- package/dist/__node_modules/file-type/core.js +0 -1147
- package/dist/__node_modules/file-type/core.js.map +0 -1
- package/dist/__node_modules/file-type/util.cjs.map +0 -1
- package/dist/__node_modules/file-type/util.js.map +0 -1
- package/dist/__node_modules/formdata-polyfill/esm.min.cjs.map +0 -1
- package/dist/__node_modules/formdata-polyfill/esm.min.js.map +0 -1
- package/dist/__node_modules/fp-ts/es6/Either.cjs +0 -14
- package/dist/__node_modules/fp-ts/es6/Either.cjs.map +0 -1
- package/dist/__node_modules/fp-ts/es6/Either.js +0 -14
- package/dist/__node_modules/fp-ts/es6/Either.js.map +0 -1
- package/dist/__node_modules/fp-ts/es6/function.cjs.map +0 -1
- package/dist/__node_modules/fp-ts/es6/function.js.map +0 -1
- package/dist/__node_modules/fp-ts/es6/internal.cjs.map +0 -1
- package/dist/__node_modules/fp-ts/es6/internal.js.map +0 -1
- package/dist/__node_modules/get-port/index.cjs.map +0 -1
- package/dist/__node_modules/get-port/index.js.map +0 -1
- package/dist/__node_modules/graphql/error/GraphQLError.cjs +0 -162
- package/dist/__node_modules/graphql/error/GraphQLError.cjs.map +0 -1
- package/dist/__node_modules/graphql/error/GraphQLError.js +0 -162
- package/dist/__node_modules/graphql/error/GraphQLError.js.map +0 -1
- package/dist/__node_modules/graphql/error/locatedError.cjs +0 -23
- package/dist/__node_modules/graphql/error/locatedError.cjs.map +0 -1
- package/dist/__node_modules/graphql/error/locatedError.js +0 -23
- package/dist/__node_modules/graphql/error/locatedError.js.map +0 -1
- package/dist/__node_modules/graphql/error/syntaxError.cjs +0 -11
- package/dist/__node_modules/graphql/error/syntaxError.cjs.map +0 -1
- package/dist/__node_modules/graphql/error/syntaxError.js +0 -11
- package/dist/__node_modules/graphql/error/syntaxError.js.map +0 -1
- package/dist/__node_modules/graphql/execution/collectFields.cjs +0 -128
- package/dist/__node_modules/graphql/execution/collectFields.cjs.map +0 -1
- package/dist/__node_modules/graphql/execution/collectFields.js +0 -128
- package/dist/__node_modules/graphql/execution/collectFields.js.map +0 -1
- package/dist/__node_modules/graphql/execution/execute.cjs +0 -600
- package/dist/__node_modules/graphql/execution/execute.cjs.map +0 -1
- package/dist/__node_modules/graphql/execution/execute.js +0 -600
- package/dist/__node_modules/graphql/execution/execute.js.map +0 -1
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs +0 -46
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs.map +0 -1
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js +0 -46
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js.map +0 -1
- package/dist/__node_modules/graphql/execution/subscribe.cjs +0 -121
- package/dist/__node_modules/graphql/execution/subscribe.cjs.map +0 -1
- package/dist/__node_modules/graphql/execution/subscribe.js +0 -121
- package/dist/__node_modules/graphql/execution/subscribe.js.map +0 -1
- package/dist/__node_modules/graphql/execution/values.cjs +0 -184
- package/dist/__node_modules/graphql/execution/values.cjs.map +0 -1
- package/dist/__node_modules/graphql/execution/values.js +0 -184
- package/dist/__node_modules/graphql/execution/values.js.map +0 -1
- package/dist/__node_modules/graphql/graphql.cjs +0 -67
- package/dist/__node_modules/graphql/graphql.cjs.map +0 -1
- package/dist/__node_modules/graphql/graphql.js +0 -67
- package/dist/__node_modules/graphql/graphql.js.map +0 -1
- package/dist/__node_modules/graphql/index.cjs +0 -320
- package/dist/__node_modules/graphql/index.cjs.map +0 -1
- package/dist/__node_modules/graphql/index.js +0 -299
- package/dist/__node_modules/graphql/index.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/Path.cjs +0 -21
- package/dist/__node_modules/graphql/jsutils/Path.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/Path.js +0 -21
- package/dist/__node_modules/graphql/jsutils/Path.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs +0 -10
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/devAssert.js +0 -10
- package/dist/__node_modules/graphql/jsutils/devAssert.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs +0 -24
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/didYouMean.js +0 -24
- package/dist/__node_modules/graphql/jsutils/didYouMean.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs +0 -17
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/groupBy.js +0 -17
- package/dist/__node_modules/graphql/jsutils/groupBy.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs +0 -7
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/identityFunc.js +0 -7
- package/dist/__node_modules/graphql/jsutils/identityFunc.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/inspect.cjs +0 -85
- package/dist/__node_modules/graphql/jsutils/inspect.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/inspect.js +0 -85
- package/dist/__node_modules/graphql/jsutils/inspect.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs +0 -41
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/instanceOf.js +0 -41
- package/dist/__node_modules/graphql/jsutils/instanceOf.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/invariant.cjs +0 -12
- package/dist/__node_modules/graphql/jsutils/invariant.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/invariant.js +0 -12
- package/dist/__node_modules/graphql/jsutils/invariant.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs +0 -7
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js +0 -7
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs +0 -7
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js +0 -7
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs +0 -7
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js +0 -7
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs +0 -7
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/isPromise.js +0 -7
- package/dist/__node_modules/graphql/jsutils/isPromise.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs +0 -11
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/keyMap.js +0 -11
- package/dist/__node_modules/graphql/jsutils/keyMap.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs +0 -11
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/keyValMap.js +0 -11
- package/dist/__node_modules/graphql/jsutils/keyValMap.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs +0 -11
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/mapValue.js +0 -11
- package/dist/__node_modules/graphql/jsutils/mapValue.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs +0 -28
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/memoize3.js +0 -28
- package/dist/__node_modules/graphql/jsutils/memoize3.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs +0 -47
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js +0 -47
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs +0 -9
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/printPathArray.js +0 -9
- package/dist/__node_modules/graphql/jsutils/printPathArray.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs +0 -13
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js +0 -13
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs +0 -12
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js +0 -12
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs +0 -94
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/suggestionList.js +0 -94
- package/dist/__node_modules/graphql/jsutils/suggestionList.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/toError.cjs +0 -15
- package/dist/__node_modules/graphql/jsutils/toError.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/toError.js +0 -15
- package/dist/__node_modules/graphql/jsutils/toError.js.map +0 -1
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs +0 -17
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs.map +0 -1
- package/dist/__node_modules/graphql/jsutils/toObjMap.js +0 -17
- package/dist/__node_modules/graphql/jsutils/toObjMap.js.map +0 -1
- package/dist/__node_modules/graphql/language/ast.cjs +0 -175
- package/dist/__node_modules/graphql/language/ast.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/ast.js +0 -176
- package/dist/__node_modules/graphql/language/ast.js.map +0 -1
- package/dist/__node_modules/graphql/language/blockString.cjs +0 -109
- package/dist/__node_modules/graphql/language/blockString.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/blockString.js +0 -109
- package/dist/__node_modules/graphql/language/blockString.js.map +0 -1
- package/dist/__node_modules/graphql/language/characterClasses.cjs +0 -23
- package/dist/__node_modules/graphql/language/characterClasses.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/characterClasses.js +0 -23
- package/dist/__node_modules/graphql/language/characterClasses.js.map +0 -1
- package/dist/__node_modules/graphql/language/directiveLocation.cjs +0 -25
- package/dist/__node_modules/graphql/language/directiveLocation.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/directiveLocation.js +0 -26
- package/dist/__node_modules/graphql/language/directiveLocation.js.map +0 -1
- package/dist/__node_modules/graphql/language/kinds.cjs +0 -49
- package/dist/__node_modules/graphql/language/kinds.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/kinds.js +0 -50
- package/dist/__node_modules/graphql/language/kinds.js.map +0 -1
- package/dist/__node_modules/graphql/language/lexer.cjs +0 -509
- package/dist/__node_modules/graphql/language/lexer.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/lexer.js +0 -509
- package/dist/__node_modules/graphql/language/lexer.js.map +0 -1
- package/dist/__node_modules/graphql/language/location.cjs +0 -22
- package/dist/__node_modules/graphql/language/location.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/location.js +0 -22
- package/dist/__node_modules/graphql/language/location.js.map +0 -1
- package/dist/__node_modules/graphql/language/parser.cjs +0 -1283
- package/dist/__node_modules/graphql/language/parser.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/parser.js +0 -1283
- package/dist/__node_modules/graphql/language/parser.js.map +0 -1
- package/dist/__node_modules/graphql/language/predicates.cjs +0 -44
- package/dist/__node_modules/graphql/language/predicates.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/predicates.js +0 -44
- package/dist/__node_modules/graphql/language/predicates.js.map +0 -1
- package/dist/__node_modules/graphql/language/printLocation.cjs +0 -51
- package/dist/__node_modules/graphql/language/printLocation.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/printLocation.js +0 -51
- package/dist/__node_modules/graphql/language/printLocation.js.map +0 -1
- package/dist/__node_modules/graphql/language/printString.cjs +0 -178
- package/dist/__node_modules/graphql/language/printString.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/printString.js +0 -178
- package/dist/__node_modules/graphql/language/printString.js.map +0 -1
- package/dist/__node_modules/graphql/language/printer.cjs +0 -245
- package/dist/__node_modules/graphql/language/printer.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/printer.js +0 -245
- package/dist/__node_modules/graphql/language/printer.js.map +0 -1
- package/dist/__node_modules/graphql/language/source.cjs +0 -33
- package/dist/__node_modules/graphql/language/source.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/source.js +0 -33
- package/dist/__node_modules/graphql/language/source.js.map +0 -1
- package/dist/__node_modules/graphql/language/tokenKind.cjs +0 -28
- package/dist/__node_modules/graphql/language/tokenKind.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/tokenKind.js +0 -29
- package/dist/__node_modules/graphql/language/tokenKind.js.map +0 -1
- package/dist/__node_modules/graphql/language/visitor.cjs +0 -200
- package/dist/__node_modules/graphql/language/visitor.cjs.map +0 -1
- package/dist/__node_modules/graphql/language/visitor.js +0 -200
- package/dist/__node_modules/graphql/language/visitor.js.map +0 -1
- package/dist/__node_modules/graphql/type/assertName.cjs +0 -34
- package/dist/__node_modules/graphql/type/assertName.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/assertName.js +0 -34
- package/dist/__node_modules/graphql/type/assertName.js.map +0 -1
- package/dist/__node_modules/graphql/type/definition.cjs +0 -762
- package/dist/__node_modules/graphql/type/definition.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/definition.js +0 -762
- package/dist/__node_modules/graphql/type/definition.js.map +0 -1
- package/dist/__node_modules/graphql/type/directives.cjs +0 -139
- package/dist/__node_modules/graphql/type/directives.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/directives.js +0 -139
- package/dist/__node_modules/graphql/type/directives.js.map +0 -1
- package/dist/__node_modules/graphql/type/introspection.cjs +0 -495
- package/dist/__node_modules/graphql/type/introspection.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/introspection.js +0 -496
- package/dist/__node_modules/graphql/type/introspection.js.map +0 -1
- package/dist/__node_modules/graphql/type/scalars.cjs +0 -248
- package/dist/__node_modules/graphql/type/scalars.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/scalars.js +0 -248
- package/dist/__node_modules/graphql/type/scalars.js.map +0 -1
- package/dist/__node_modules/graphql/type/schema.cjs +0 -223
- package/dist/__node_modules/graphql/type/schema.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/schema.js +0 -223
- package/dist/__node_modules/graphql/type/schema.js.map +0 -1
- package/dist/__node_modules/graphql/type/validate.cjs +0 -428
- package/dist/__node_modules/graphql/type/validate.cjs.map +0 -1
- package/dist/__node_modules/graphql/type/validate.js +0 -428
- package/dist/__node_modules/graphql/type/validate.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs +0 -257
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/TypeInfo.js +0 -257
- package/dist/__node_modules/graphql/utilities/TypeInfo.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs +0 -28
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/assertValidName.js +0 -28
- package/dist/__node_modules/graphql/utilities/assertValidName.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs +0 -111
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/astFromValue.js +0 -111
- package/dist/__node_modules/graphql/utilities/astFromValue.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs +0 -62
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js +0 -62
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs +0 -264
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js +0 -264
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs +0 -133
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js +0 -133
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/concatAST.cjs +0 -15
- package/dist/__node_modules/graphql/utilities/concatAST.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/concatAST.js +0 -15
- package/dist/__node_modules/graphql/utilities/concatAST.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs +0 -448
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/extendSchema.js +0 -448
- package/dist/__node_modules/graphql/utilities/extendSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs +0 -384
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js +0 -386
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs +0 -119
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js +0 -119
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs +0 -22
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/getOperationAST.js +0 -22
- package/dist/__node_modules/graphql/utilities/getOperationAST.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs +0 -43
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js +0 -43
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs +0 -24
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js +0 -24
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs +0 -129
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js +0 -129
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/printSchema.cjs +0 -192
- package/dist/__node_modules/graphql/utilities/printSchema.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/printSchema.js +0 -192
- package/dist/__node_modules/graphql/utilities/printSchema.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs +0 -57
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/separateOperations.js +0 -57
- package/dist/__node_modules/graphql/utilities/separateOperations.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs +0 -30
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/sortValueNode.js +0 -30
- package/dist/__node_modules/graphql/utilities/sortValueNode.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs +0 -35
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js +0 -35
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs +0 -58
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/typeComparators.js +0 -58
- package/dist/__node_modules/graphql/utilities/typeComparators.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs +0 -20
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/typeFromAST.js +0 -20
- package/dist/__node_modules/graphql/utilities/typeFromAST.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs +0 -100
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/valueFromAST.js +0 -100
- package/dist/__node_modules/graphql/utilities/valueFromAST.js.map +0 -1
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs +0 -32
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs.map +0 -1
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js +0 -32
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js.map +0 -1
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs +0 -170
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/ValidationContext.js +0 -170
- package/dist/__node_modules/graphql/validation/ValidationContext.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs +0 -24
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +0 -24
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs +0 -80
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +0 -80
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs +0 -43
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +0 -43
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs +0 -73
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +0 -73
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs +0 -110
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js +0 -110
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs +0 -20
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +0 -20
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs +0 -55
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js +0 -55
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs +0 -28
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +0 -28
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs +0 -34
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +0 -34
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs +0 -53
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +0 -53
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs +0 -34
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +0 -34
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs +0 -41
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +0 -41
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs +0 -38
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +0 -38
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs +0 -477
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +0 -477
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs +0 -55
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +0 -55
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs +0 -111
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +0 -111
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs +0 -97
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +0 -97
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs +0 -42
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js +0 -42
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs +0 -62
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +0 -62
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs +0 -47
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +0 -47
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs +0 -29
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +0 -29
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs +0 -38
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +0 -38
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs +0 -63
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +0 -63
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs +0 -50
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +0 -50
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs +0 -59
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +0 -59
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs +0 -27
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +0 -27
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs +0 -38
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +0 -38
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs +0 -32
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +0 -32
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs +0 -48
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +0 -48
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs +0 -41
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +0 -41
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs +0 -30
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +0 -30
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs +0 -132
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +0 -132
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs +0 -27
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +0 -27
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs +0 -64
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +0 -64
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs +0 -89
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +0 -89
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs +0 -24
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +0 -24
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.map +0 -1
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs +0 -84
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/specifiedRules.js +0 -84
- package/dist/__node_modules/graphql/validation/specifiedRules.js.map +0 -1
- package/dist/__node_modules/graphql/validation/validate.cjs +0 -72
- package/dist/__node_modules/graphql/validation/validate.cjs.map +0 -1
- package/dist/__node_modules/graphql/validation/validate.js +0 -72
- package/dist/__node_modules/graphql/validation/validate.js.map +0 -1
- package/dist/__node_modules/graphql/version.cjs +0 -12
- package/dist/__node_modules/graphql/version.cjs.map +0 -1
- package/dist/__node_modules/graphql/version.js +0 -12
- package/dist/__node_modules/graphql/version.js.map +0 -1
- package/dist/__node_modules/headers-polyfill/lib/index.cjs +0 -214
- package/dist/__node_modules/headers-polyfill/lib/index.cjs.map +0 -1
- package/dist/__node_modules/headers-polyfill/lib/index.js +0 -215
- package/dist/__node_modules/headers-polyfill/lib/index.js.map +0 -1
- package/dist/__node_modules/is-node-process/lib/index.cjs +0 -18
- package/dist/__node_modules/is-node-process/lib/index.cjs.map +0 -1
- package/dist/__node_modules/is-node-process/lib/index.js +0 -17
- package/dist/__node_modules/is-node-process/lib/index.js.map +0 -1
- package/dist/__node_modules/js-levenshtein/index.cjs +0 -91
- package/dist/__node_modules/js-levenshtein/index.cjs.map +0 -1
- package/dist/__node_modules/js-levenshtein/index.js +0 -91
- package/dist/__node_modules/js-levenshtein/index.js.map +0 -1
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs +0 -34
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs.map +0 -1
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js +0 -34
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js.map +0 -1
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs +0 -363
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs.map +0 -1
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js +0 -363
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js.map +0 -1
- package/dist/__node_modules/msw/lib/index.cjs +0 -1937
- package/dist/__node_modules/msw/lib/index.cjs.map +0 -1
- package/dist/__node_modules/msw/lib/index.js +0 -1938
- package/dist/__node_modules/msw/lib/index.js.map +0 -1
- package/dist/__node_modules/node-domexception/index.cjs.map +0 -1
- package/dist/__node_modules/node-domexception/index.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/body.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/body.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/abort-error.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/base.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/base.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/headers.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/headers.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/index.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/index.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/request.cjs +0 -206
- package/dist/__node_modules/node-fetch/src/request.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/request.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/response.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/response.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/get-search.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/get-search.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/is-redirect.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/is.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/is.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/multipart-parser.js.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/referrer.cjs.map +0 -1
- package/dist/__node_modules/node-fetch/src/utils/referrer.js.map +0 -1
- package/dist/__node_modules/outvariant/lib/format.cjs +0 -53
- package/dist/__node_modules/outvariant/lib/format.cjs.map +0 -1
- package/dist/__node_modules/outvariant/lib/format.js +0 -54
- package/dist/__node_modules/outvariant/lib/format.js.map +0 -1
- package/dist/__node_modules/outvariant/lib/index.cjs +0 -29
- package/dist/__node_modules/outvariant/lib/index.cjs.map +0 -1
- package/dist/__node_modules/outvariant/lib/index.js +0 -28
- package/dist/__node_modules/outvariant/lib/index.js.map +0 -1
- package/dist/__node_modules/outvariant/lib/invariant.cjs +0 -95
- package/dist/__node_modules/outvariant/lib/invariant.cjs.map +0 -1
- package/dist/__node_modules/outvariant/lib/invariant.js +0 -94
- package/dist/__node_modules/outvariant/lib/invariant.js.map +0 -1
- package/dist/__node_modules/p-limit/index.cjs.map +0 -1
- package/dist/__node_modules/p-limit/index.js.map +0 -1
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs.map +0 -1
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js.map +0 -1
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs +0 -68
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/client/createRPCClient.js +0 -68
- package/dist/__node_modules/r19/dist/client/createRPCClient.js.map +0 -1
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs +0 -35
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js +0 -35
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js.map +0 -1
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs +0 -111
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/handleRPCRequest.js +0 -111
- package/dist/__node_modules/r19/dist/handleRPCRequest.js.map +0 -1
- package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/lib/isErrorLike.js.map +0 -1
- package/dist/__node_modules/r19/dist/lib/replaceLeaves.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/lib/replaceLeaves.js.map +0 -1
- package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs.map +0 -1
- package/dist/__node_modules/r19/dist/proceduresFromInstance.js.map +0 -1
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs +0 -161
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs.map +0 -1
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js +0 -162
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js.map +0 -1
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs +0 -98
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs.map +0 -1
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js +0 -98
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js.map +0 -1
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs +0 -34
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs.map +0 -1
- package/dist/__node_modules/strict-event-emitter/lib/index.js +0 -34
- package/dist/__node_modules/strict-event-emitter/lib/index.js.map +0 -1
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs.map +0 -1
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js.map +0 -1
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs.map +0 -1
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.js.map +0 -1
- package/dist/__node_modules/strtok3/lib/core.cjs.map +0 -1
- package/dist/__node_modules/strtok3/lib/core.js.map +0 -1
- package/dist/__node_modules/token-types/lib/index.cjs.map +0 -1
- package/dist/__node_modules/token-types/lib/index.js.map +0 -1
- package/dist/__node_modules/unist-util-is/index.cjs +0 -73
- package/dist/__node_modules/unist-util-is/index.cjs.map +0 -1
- package/dist/__node_modules/unist-util-is/index.js +0 -73
- package/dist/__node_modules/unist-util-is/index.js.map +0 -1
- package/dist/__node_modules/unist-util-visit/index.cjs +0 -32
- package/dist/__node_modules/unist-util-visit/index.cjs.map +0 -1
- package/dist/__node_modules/unist-util-visit/index.js +0 -33
- package/dist/__node_modules/unist-util-visit/index.js.map +0 -1
- package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs.map +0 -1
- package/dist/__node_modules/unist-util-visit-parents/color.browser.js.map +0 -1
- package/dist/__node_modules/unist-util-visit-parents/index.cjs +0 -74
- package/dist/__node_modules/unist-util-visit-parents/index.cjs.map +0 -1
- package/dist/__node_modules/unist-util-visit-parents/index.js +0 -74
- package/dist/__node_modules/unist-util-visit-parents/index.js.map +0 -1
- package/dist/__node_modules/web-encoding/src/lib.cjs +0 -7
- package/dist/__node_modules/web-encoding/src/lib.cjs.map +0 -1
- package/dist/__node_modules/web-encoding/src/lib.js +0 -8
- package/dist/__node_modules/web-encoding/src/lib.js.map +0 -1
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +0 -1
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
- package/dist/__node_modules/yocto-queue/index.cjs.map +0 -1
- package/dist/__node_modules/yocto-queue/index.js.map +0 -1
- package/dist/_virtual/AsyncEventEmitter.cjs +0 -5
- package/dist/_virtual/AsyncEventEmitter.cjs.map +0 -1
- package/dist/_virtual/AsyncEventEmitter.js +0 -5
- package/dist/_virtual/AsyncEventEmitter.js.map +0 -1
- package/dist/_virtual/BatchInterceptor.cjs +0 -5
- package/dist/_virtual/BatchInterceptor.cjs.map +0 -1
- package/dist/_virtual/BatchInterceptor.js +0 -5
- package/dist/_virtual/BatchInterceptor.js.map +0 -1
- package/dist/_virtual/EventPolyfill.cjs +0 -5
- package/dist/_virtual/EventPolyfill.cjs.map +0 -1
- package/dist/_virtual/EventPolyfill.js +0 -5
- package/dist/_virtual/EventPolyfill.js.map +0 -1
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs +0 -5
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs.map +0 -1
- package/dist/_virtual/InteractiveIsomorphicRequest.js +0 -5
- package/dist/_virtual/InteractiveIsomorphicRequest.js.map +0 -1
- package/dist/_virtual/Interceptor.cjs +0 -5
- package/dist/_virtual/Interceptor.cjs.map +0 -1
- package/dist/_virtual/Interceptor.js +0 -5
- package/dist/_virtual/Interceptor.js.map +0 -1
- package/dist/_virtual/IsomorphicRequest.cjs +0 -5
- package/dist/_virtual/IsomorphicRequest.cjs.map +0 -1
- package/dist/_virtual/IsomorphicRequest.js +0 -5
- package/dist/_virtual/IsomorphicRequest.js.map +0 -1
- package/dist/_virtual/ProgressEventPolyfill.cjs +0 -5
- package/dist/_virtual/ProgressEventPolyfill.cjs.map +0 -1
- package/dist/_virtual/ProgressEventPolyfill.js +0 -5
- package/dist/_virtual/ProgressEventPolyfill.js.map +0 -1
- package/dist/_virtual/StrictEventEmitter.cjs +0 -5
- package/dist/_virtual/StrictEventEmitter.cjs.map +0 -1
- package/dist/_virtual/StrictEventEmitter.js +0 -5
- package/dist/_virtual/StrictEventEmitter.js.map +0 -1
- package/dist/_virtual/XMLHttpRequestOverride.cjs +0 -5
- package/dist/_virtual/XMLHttpRequestOverride.cjs.map +0 -1
- package/dist/_virtual/XMLHttpRequestOverride.js +0 -5
- package/dist/_virtual/XMLHttpRequestOverride.js.map +0 -1
- package/dist/_virtual/browser.cjs +0 -13
- package/dist/_virtual/browser.cjs.map +0 -1
- package/dist/_virtual/browser.js +0 -14
- package/dist/_virtual/browser.js.map +0 -1
- package/dist/_virtual/browser2.cjs +0 -13
- package/dist/_virtual/browser2.cjs.map +0 -1
- package/dist/_virtual/browser2.js +0 -14
- package/dist/_virtual/browser2.js.map +0 -1
- package/dist/_virtual/bufferFrom.cjs +0 -5
- package/dist/_virtual/bufferFrom.cjs.map +0 -1
- package/dist/_virtual/bufferFrom.js +0 -5
- package/dist/_virtual/bufferFrom.js.map +0 -1
- package/dist/_virtual/bufferUtils.cjs +0 -5
- package/dist/_virtual/bufferUtils.cjs.map +0 -1
- package/dist/_virtual/bufferUtils.js +0 -5
- package/dist/_virtual/bufferUtils.js.map +0 -1
- package/dist/_virtual/conventions.cjs +0 -5
- package/dist/_virtual/conventions.cjs.map +0 -1
- package/dist/_virtual/conventions.js +0 -5
- package/dist/_virtual/conventions.js.map +0 -1
- package/dist/_virtual/createEvent.cjs +0 -5
- package/dist/_virtual/createEvent.cjs.map +0 -1
- package/dist/_virtual/createEvent.js +0 -5
- package/dist/_virtual/createEvent.js.map +0 -1
- package/dist/_virtual/createLazyCallback.cjs +0 -5
- package/dist/_virtual/createLazyCallback.cjs.map +0 -1
- package/dist/_virtual/createLazyCallback.js +0 -5
- package/dist/_virtual/createLazyCallback.js.map +0 -1
- package/dist/_virtual/dom-parser.cjs +0 -5
- package/dist/_virtual/dom-parser.cjs.map +0 -1
- package/dist/_virtual/dom-parser.js +0 -5
- package/dist/_virtual/dom-parser.js.map +0 -1
- package/dist/_virtual/dom.cjs +0 -5
- package/dist/_virtual/dom.cjs.map +0 -1
- package/dist/_virtual/dom.js +0 -5
- package/dist/_virtual/dom.js.map +0 -1
- package/dist/_virtual/entities.cjs +0 -5
- package/dist/_virtual/entities.cjs.map +0 -1
- package/dist/_virtual/entities.js +0 -5
- package/dist/_virtual/entities.js.map +0 -1
- package/dist/_virtual/format.cjs +0 -5
- package/dist/_virtual/format.cjs.map +0 -1
- package/dist/_virtual/format.js +0 -5
- package/dist/_virtual/format.js.map +0 -1
- package/dist/_virtual/getCleanUrl.cjs +0 -5
- package/dist/_virtual/getCleanUrl.cjs.map +0 -1
- package/dist/_virtual/getCleanUrl.js +0 -5
- package/dist/_virtual/getCleanUrl.js.map +0 -1
- package/dist/_virtual/glossary.cjs +0 -5
- package/dist/_virtual/glossary.cjs.map +0 -1
- package/dist/_virtual/glossary.js +0 -5
- package/dist/_virtual/glossary.js.map +0 -1
- package/dist/_virtual/index10.cjs +0 -5
- package/dist/_virtual/index10.cjs.map +0 -1
- package/dist/_virtual/index10.js +0 -5
- package/dist/_virtual/index10.js.map +0 -1
- package/dist/_virtual/index11.cjs +0 -5
- package/dist/_virtual/index11.cjs.map +0 -1
- package/dist/_virtual/index11.js +0 -5
- package/dist/_virtual/index11.js.map +0 -1
- package/dist/_virtual/index5.cjs +0 -5
- package/dist/_virtual/index5.cjs.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/index6.cjs +0 -5
- package/dist/_virtual/index6.cjs.map +0 -1
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index6.js.map +0 -1
- package/dist/_virtual/index7.cjs +0 -5
- package/dist/_virtual/index7.cjs.map +0 -1
- package/dist/_virtual/index7.js +0 -5
- package/dist/_virtual/index7.js.map +0 -1
- package/dist/_virtual/index8.cjs +0 -5
- package/dist/_virtual/index8.cjs.map +0 -1
- package/dist/_virtual/index8.js +0 -5
- package/dist/_virtual/index8.js.map +0 -1
- package/dist/_virtual/index9.cjs +0 -5
- package/dist/_virtual/index9.cjs.map +0 -1
- package/dist/_virtual/index9.js +0 -5
- package/dist/_virtual/index9.js.map +0 -1
- package/dist/_virtual/invariant.cjs +0 -5
- package/dist/_virtual/invariant.cjs.map +0 -1
- package/dist/_virtual/invariant.js +0 -5
- package/dist/_virtual/invariant.js.map +0 -1
- package/dist/_virtual/lib.cjs +0 -5
- package/dist/_virtual/lib.cjs.map +0 -1
- package/dist/_virtual/lib.js +0 -5
- package/dist/_virtual/lib.js.map +0 -1
- package/dist/_virtual/nextTick.cjs +0 -5
- package/dist/_virtual/nextTick.cjs.map +0 -1
- package/dist/_virtual/nextTick.js +0 -5
- package/dist/_virtual/nextTick.js.map +0 -1
- package/dist/_virtual/parseJson.cjs +0 -5
- package/dist/_virtual/parseJson.cjs.map +0 -1
- package/dist/_virtual/parseJson.js +0 -5
- package/dist/_virtual/parseJson.js.map +0 -1
- package/dist/_virtual/sax.cjs +0 -5
- package/dist/_virtual/sax.cjs.map +0 -1
- package/dist/_virtual/sax.js +0 -5
- package/dist/_virtual/sax.js.map +0 -1
- package/dist/_virtual/set-cookie.cjs +0 -13
- package/dist/_virtual/set-cookie.cjs.map +0 -1
- package/dist/_virtual/set-cookie.js +0 -14
- package/dist/_virtual/set-cookie.js.map +0 -1
- package/dist/_virtual/store.cjs +0 -5
- package/dist/_virtual/store.cjs.map +0 -1
- package/dist/_virtual/store.js +0 -5
- package/dist/_virtual/store.js.map +0 -1
- package/dist/_virtual/toIsoResponse.cjs +0 -5
- package/dist/_virtual/toIsoResponse.cjs.map +0 -1
- package/dist/_virtual/toIsoResponse.js +0 -5
- package/dist/_virtual/toIsoResponse.js.map +0 -1
- package/dist/_virtual/until.cjs +0 -5
- package/dist/_virtual/until.cjs.map +0 -1
- package/dist/_virtual/until.js +0 -5
- package/dist/_virtual/until.js.map +0 -1
- package/dist/_virtual/uuid.cjs +0 -5
- package/dist/_virtual/uuid.cjs.map +0 -1
- package/dist/_virtual/uuid.js +0 -5
- package/dist/_virtual/uuid.js.map +0 -1
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/decode.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/decode.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/encode.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/encode.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/timestamp.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/timestamp.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/int.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/int.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.js +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/utf8.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/@msgpack/msgpack/dist.es5_esm/utils/utf8.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/TemplateTag/TemplateTag.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/TemplateTag/TemplateTag.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaLists/commaLists.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaLists/commaLists.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaListsAnd/commaListsAnd.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaListsAnd/commaListsAnd.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaListsOr/commaListsOr.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/commaListsOr/commaListsOr.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/html/html.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/html/html.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/inlineLists/inlineLists.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/inlineLists/inlineLists.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLine/oneLine.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLine/oneLine.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaLists/oneLineCommaLists.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineInlineLists/oneLineInlineLists.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineTrim/oneLineTrim.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/oneLineTrim/oneLineTrim.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/replaceResultTransformer/replaceResultTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/safeHtml/safeHtml.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/safeHtml/safeHtml.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/splitStringTransformer/splitStringTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/splitStringTransformer/splitStringTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/stripIndentTransformer/stripIndentTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/stripIndents/stripIndents.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/stripIndents/stripIndents.js +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/trimResultTransformer/trimResultTransformer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/common-tags/es/trimResultTransformer/trimResultTransformer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/fetch-blob/file.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/fetch-blob/file.js +0 -0
- /package/dist/{__node_modules → _node_modules}/fetch-blob/streams.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/fetch-blob/streams.js +0 -0
- /package/dist/{__node_modules → _node_modules}/file-type/util.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/file-type/util.js +0 -0
- /package/dist/{__node_modules → _node_modules}/formdata-polyfill/esm.min.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/formdata-polyfill/esm.min.js +0 -0
- /package/dist/{__node_modules → _node_modules}/fp-ts/es6/function.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/fp-ts/es6/function.js +0 -0
- /package/dist/{__node_modules → _node_modules}/fp-ts/es6/internal.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/fp-ts/es6/internal.js +0 -0
- /package/dist/{__node_modules → _node_modules}/get-port/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/get-port/index.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-domexception/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-domexception/index.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/body.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/body.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/abort-error.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/abort-error.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/base.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/base.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/fetch-error.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/errors/fetch-error.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/headers.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/headers.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/index.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/request.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/response.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/response.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/get-search.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/get-search.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/is-redirect.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/is-redirect.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/is.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/is.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/multipart-parser.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/multipart-parser.js +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/referrer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/node-fetch/src/utils/referrer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/p-limit/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/p-limit/index.js +0 -0
- /package/dist/{__node_modules → _node_modules}/peek-readable/lib/EndOfFileStream.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/peek-readable/lib/EndOfFileStream.js +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/lib/isErrorLike.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/lib/isErrorLike.js +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/lib/replaceLeaves.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/lib/replaceLeaves.js +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/proceduresFromInstance.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/r19/dist/proceduresFromInstance.js +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/AbstractTokenizer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/AbstractTokenizer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/BufferTokenizer.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/BufferTokenizer.js +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/core.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/strtok3/lib/core.js +0 -0
- /package/dist/{__node_modules → _node_modules}/token-types/lib/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/token-types/lib/index.js +0 -0
- /package/dist/{__node_modules/unist-util-visit-parents → _node_modules/unist-util-visit-parents/lib}/color.browser.cjs +0 -0
- /package/dist/{__node_modules/unist-util-visit-parents → _node_modules/unist-util-visit-parents/lib}/color.browser.js +0 -0
- /package/dist/{__node_modules → _node_modules}/web-streams-polyfill/dist/ponyfill.es2018.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/web-streams-polyfill/dist/ponyfill.es2018.js +0 -0
- /package/dist/{__node_modules → _node_modules}/yocto-queue/index.cjs +0 -0
- /package/dist/{__node_modules → _node_modules}/yocto-queue/index.js +0 -0
|
@@ -1,1937 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const index$6 = require("../../headers-polyfill/lib/index.cjs");
|
|
3
|
-
const cookie$1 = require("cookie");
|
|
4
|
-
require("../../is-node-process/lib/index.cjs");
|
|
5
|
-
const browser = require('./../__node_modules/node-fetch/browser.cjs');
|
|
6
|
-
require("../../outvariant/lib/index.cjs");
|
|
7
|
-
require("../../@open-draft/until/lib/index.cjs");
|
|
8
|
-
require("../../@mswjs/interceptors/lib/index.cjs");
|
|
9
|
-
require("../../@mswjs/cookies/lib/index.cjs");
|
|
10
|
-
require("../../@mswjs/interceptors/lib/utils/bufferUtils.cjs");
|
|
11
|
-
const index$7 = require("../../js-levenshtein/index.cjs");
|
|
12
|
-
const index$b = require("../../../_virtual/index.cjs");
|
|
13
|
-
const index$9 = require("../../../_virtual/index2.cjs");
|
|
14
|
-
require("../../@mswjs/interceptors/lib/utils/getCleanUrl.cjs");
|
|
15
|
-
const index = require("../../@mswjs/interceptors/lib/interceptors/fetch/index.cjs");
|
|
16
|
-
const index$1 = require("../../@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs");
|
|
17
|
-
const index$2 = require("../../strict-event-emitter/lib/index.cjs");
|
|
18
|
-
const index$3 = require("../../../_virtual/index3.cjs");
|
|
19
|
-
const index$4 = require("../../../_virtual/index4.cjs");
|
|
20
|
-
const index$5 = require("../../../_virtual/index5.cjs");
|
|
21
|
-
const bufferUtils = require("../../../_virtual/bufferUtils.cjs");
|
|
22
|
-
const index$8 = require("../../../_virtual/index6.cjs");
|
|
23
|
-
const getCleanUrl = require("../../../_virtual/getCleanUrl.cjs");
|
|
24
|
-
const index$a = require("../../../_virtual/index7.cjs");
|
|
25
|
-
var __create = Object.create;
|
|
26
|
-
var __defProp = Object.defineProperty;
|
|
27
|
-
var __defProps = Object.defineProperties;
|
|
28
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
29
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
30
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
31
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
32
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
33
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
34
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
35
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
36
|
-
var __spreadValues = (a, b) => {
|
|
37
|
-
for (var prop in b || (b = {}))
|
|
38
|
-
if (__hasOwnProp.call(b, prop))
|
|
39
|
-
__defNormalProp(a, prop, b[prop]);
|
|
40
|
-
if (__getOwnPropSymbols)
|
|
41
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
42
|
-
if (__propIsEnum.call(b, prop))
|
|
43
|
-
__defNormalProp(a, prop, b[prop]);
|
|
44
|
-
}
|
|
45
|
-
return a;
|
|
46
|
-
};
|
|
47
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
48
|
-
var __objRest = (source, exclude) => {
|
|
49
|
-
var target = {};
|
|
50
|
-
for (var prop in source)
|
|
51
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
52
|
-
target[prop] = source[prop];
|
|
53
|
-
if (source != null && __getOwnPropSymbols)
|
|
54
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
55
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
56
|
-
target[prop] = source[prop];
|
|
57
|
-
}
|
|
58
|
-
return target;
|
|
59
|
-
};
|
|
60
|
-
var __export = (target, all) => {
|
|
61
|
-
for (var name in all)
|
|
62
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
63
|
-
};
|
|
64
|
-
var __copyProps = (to, from, except, desc) => {
|
|
65
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
66
|
-
for (let key of __getOwnPropNames(from))
|
|
67
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
68
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
69
|
-
}
|
|
70
|
-
return to;
|
|
71
|
-
};
|
|
72
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
73
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
74
|
-
var src_exports = {};
|
|
75
|
-
__export(src_exports, {
|
|
76
|
-
GraphQLHandler: () => GraphQLHandler,
|
|
77
|
-
MockedRequest: () => MockedRequest,
|
|
78
|
-
RESTMethods: () => RESTMethods,
|
|
79
|
-
RequestHandler: () => RequestHandler,
|
|
80
|
-
RestHandler: () => RestHandler,
|
|
81
|
-
SetupApi: () => SetupApi,
|
|
82
|
-
cleanUrl: () => cleanUrl,
|
|
83
|
-
compose: () => compose,
|
|
84
|
-
context: () => context_exports,
|
|
85
|
-
createResponseComposition: () => createResponseComposition,
|
|
86
|
-
defaultContext: () => defaultContext,
|
|
87
|
-
defaultResponse: () => defaultResponse,
|
|
88
|
-
graphql: () => graphql,
|
|
89
|
-
graphqlContext: () => graphqlContext,
|
|
90
|
-
handleRequest: () => handleRequest,
|
|
91
|
-
matchRequestUrl: () => matchRequestUrl,
|
|
92
|
-
response: () => response,
|
|
93
|
-
rest: () => rest,
|
|
94
|
-
restContext: () => restContext,
|
|
95
|
-
setupWorker: () => setupWorker
|
|
96
|
-
});
|
|
97
|
-
var lib = __toCommonJS(src_exports);
|
|
98
|
-
var context_exports = {};
|
|
99
|
-
__export(context_exports, {
|
|
100
|
-
body: () => body,
|
|
101
|
-
cookie: () => cookie,
|
|
102
|
-
data: () => data,
|
|
103
|
-
delay: () => delay,
|
|
104
|
-
errors: () => errors,
|
|
105
|
-
extensions: () => extensions,
|
|
106
|
-
fetch: () => fetch,
|
|
107
|
-
json: () => json,
|
|
108
|
-
set: () => set,
|
|
109
|
-
status: () => status,
|
|
110
|
-
text: () => text,
|
|
111
|
-
xml: () => xml
|
|
112
|
-
});
|
|
113
|
-
var _00 = "Continue";
|
|
114
|
-
var _01 = "Switching Protocols";
|
|
115
|
-
var _02 = "Processing";
|
|
116
|
-
var _03 = "Early Hints";
|
|
117
|
-
var _002 = "OK";
|
|
118
|
-
var _012 = "Created";
|
|
119
|
-
var _022 = "Accepted";
|
|
120
|
-
var _032 = "Non-Authoritative Information";
|
|
121
|
-
var _04 = "No Content";
|
|
122
|
-
var _05 = "Reset Content";
|
|
123
|
-
var _06 = "Partial Content";
|
|
124
|
-
var _07 = "Multi-Status";
|
|
125
|
-
var _08 = "Already Reported";
|
|
126
|
-
var _26 = "IM Used";
|
|
127
|
-
var _003 = "Multiple Choices";
|
|
128
|
-
var _013 = "Moved Permanently";
|
|
129
|
-
var _023 = "Found";
|
|
130
|
-
var _033 = "See Other";
|
|
131
|
-
var _042 = "Not Modified";
|
|
132
|
-
var _052 = "Use Proxy";
|
|
133
|
-
var _072 = "Temporary Redirect";
|
|
134
|
-
var _082 = "Permanent Redirect";
|
|
135
|
-
var _004 = "Bad Request";
|
|
136
|
-
var _014 = "Unauthorized";
|
|
137
|
-
var _024 = "Payment Required";
|
|
138
|
-
var _034 = "Forbidden";
|
|
139
|
-
var _043 = "Not Found";
|
|
140
|
-
var _053 = "Method Not Allowed";
|
|
141
|
-
var _062 = "Not Acceptable";
|
|
142
|
-
var _073 = "Proxy Authentication Required";
|
|
143
|
-
var _083 = "Request Timeout";
|
|
144
|
-
var _09 = "Conflict";
|
|
145
|
-
var _10 = "Gone";
|
|
146
|
-
var _11 = "Length Required";
|
|
147
|
-
var _12 = "Precondition Failed";
|
|
148
|
-
var _13 = "Payload Too Large";
|
|
149
|
-
var _14 = "URI Too Long";
|
|
150
|
-
var _15 = "Unsupported Media Type";
|
|
151
|
-
var _16 = "Range Not Satisfiable";
|
|
152
|
-
var _17 = "Expectation Failed";
|
|
153
|
-
var _18 = "I'm a Teapot";
|
|
154
|
-
var _21 = "Misdirected Request";
|
|
155
|
-
var _22 = "Unprocessable Entity";
|
|
156
|
-
var _23 = "Locked";
|
|
157
|
-
var _24 = "Failed Dependency";
|
|
158
|
-
var _25 = "Too Early";
|
|
159
|
-
var _262 = "Upgrade Required";
|
|
160
|
-
var _28 = "Precondition Required";
|
|
161
|
-
var _29 = "Too Many Requests";
|
|
162
|
-
var _31 = "Request Header Fields Too Large";
|
|
163
|
-
var _51 = "Unavailable For Legal Reasons";
|
|
164
|
-
var _005 = "Internal Server Error";
|
|
165
|
-
var _015 = "Not Implemented";
|
|
166
|
-
var _025 = "Bad Gateway";
|
|
167
|
-
var _035 = "Service Unavailable";
|
|
168
|
-
var _044 = "Gateway Timeout";
|
|
169
|
-
var _054 = "HTTP Version Not Supported";
|
|
170
|
-
var _063 = "Variant Also Negotiates";
|
|
171
|
-
var _074 = "Insufficient Storage";
|
|
172
|
-
var _084 = "Loop Detected";
|
|
173
|
-
var _092 = "Bandwidth Limit Exceeded";
|
|
174
|
-
var _102 = "Not Extended";
|
|
175
|
-
var _112 = "Network Authentication Required";
|
|
176
|
-
var codes_default = {
|
|
177
|
-
"100": _00,
|
|
178
|
-
"101": _01,
|
|
179
|
-
"102": _02,
|
|
180
|
-
"103": _03,
|
|
181
|
-
"200": _002,
|
|
182
|
-
"201": _012,
|
|
183
|
-
"202": _022,
|
|
184
|
-
"203": _032,
|
|
185
|
-
"204": _04,
|
|
186
|
-
"205": _05,
|
|
187
|
-
"206": _06,
|
|
188
|
-
"207": _07,
|
|
189
|
-
"208": _08,
|
|
190
|
-
"226": _26,
|
|
191
|
-
"300": _003,
|
|
192
|
-
"301": _013,
|
|
193
|
-
"302": _023,
|
|
194
|
-
"303": _033,
|
|
195
|
-
"304": _042,
|
|
196
|
-
"305": _052,
|
|
197
|
-
"307": _072,
|
|
198
|
-
"308": _082,
|
|
199
|
-
"400": _004,
|
|
200
|
-
"401": _014,
|
|
201
|
-
"402": _024,
|
|
202
|
-
"403": _034,
|
|
203
|
-
"404": _043,
|
|
204
|
-
"405": _053,
|
|
205
|
-
"406": _062,
|
|
206
|
-
"407": _073,
|
|
207
|
-
"408": _083,
|
|
208
|
-
"409": _09,
|
|
209
|
-
"410": _10,
|
|
210
|
-
"411": _11,
|
|
211
|
-
"412": _12,
|
|
212
|
-
"413": _13,
|
|
213
|
-
"414": _14,
|
|
214
|
-
"415": _15,
|
|
215
|
-
"416": _16,
|
|
216
|
-
"417": _17,
|
|
217
|
-
"418": _18,
|
|
218
|
-
"421": _21,
|
|
219
|
-
"422": _22,
|
|
220
|
-
"423": _23,
|
|
221
|
-
"424": _24,
|
|
222
|
-
"425": _25,
|
|
223
|
-
"426": _262,
|
|
224
|
-
"428": _28,
|
|
225
|
-
"429": _29,
|
|
226
|
-
"431": _31,
|
|
227
|
-
"451": _51,
|
|
228
|
-
"500": _005,
|
|
229
|
-
"501": _015,
|
|
230
|
-
"502": _025,
|
|
231
|
-
"503": _035,
|
|
232
|
-
"504": _044,
|
|
233
|
-
"505": _054,
|
|
234
|
-
"506": _063,
|
|
235
|
-
"507": _074,
|
|
236
|
-
"508": _084,
|
|
237
|
-
"509": _092,
|
|
238
|
-
"510": _102,
|
|
239
|
-
"511": _112
|
|
240
|
-
};
|
|
241
|
-
var status = (statusCode, statusText) => {
|
|
242
|
-
return (res) => {
|
|
243
|
-
res.status = statusCode;
|
|
244
|
-
res.statusText = statusText || codes_default[String(statusCode)];
|
|
245
|
-
return res;
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
var import_headers_polyfill = index$6;
|
|
249
|
-
function set(...args) {
|
|
250
|
-
return (res) => {
|
|
251
|
-
const [name, value] = args;
|
|
252
|
-
if (typeof name === "string") {
|
|
253
|
-
res.headers.append(name, value);
|
|
254
|
-
} else {
|
|
255
|
-
const headers = (0, import_headers_polyfill.objectToHeaders)(name);
|
|
256
|
-
headers.forEach((value2, name2) => {
|
|
257
|
-
res.headers.append(name2, value2);
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
return res;
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
var cookieUtils = __toESM(cookie$1);
|
|
264
|
-
var cookie = (name, value, options) => {
|
|
265
|
-
return (res) => {
|
|
266
|
-
const serializedCookie = cookieUtils.serialize(name, value, options);
|
|
267
|
-
res.headers.append("Set-Cookie", serializedCookie);
|
|
268
|
-
if (typeof document !== "undefined") {
|
|
269
|
-
document.cookie = serializedCookie;
|
|
270
|
-
}
|
|
271
|
-
return res;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
var body = (value) => {
|
|
275
|
-
return (res) => {
|
|
276
|
-
res.body = value;
|
|
277
|
-
return res;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
function jsonParse(value) {
|
|
281
|
-
try {
|
|
282
|
-
return JSON.parse(value);
|
|
283
|
-
} catch (error2) {
|
|
284
|
-
return void 0;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
function isObject(value) {
|
|
288
|
-
return value != null && typeof value === "object" && !Array.isArray(value);
|
|
289
|
-
}
|
|
290
|
-
function mergeRight(left, right) {
|
|
291
|
-
return Object.entries(right).reduce((result, [key, rightValue]) => {
|
|
292
|
-
const leftValue = result[key];
|
|
293
|
-
if (Array.isArray(leftValue) && Array.isArray(rightValue)) {
|
|
294
|
-
result[key] = leftValue.concat(rightValue);
|
|
295
|
-
return result;
|
|
296
|
-
}
|
|
297
|
-
if (isObject(leftValue) && isObject(rightValue)) {
|
|
298
|
-
result[key] = mergeRight(leftValue, rightValue);
|
|
299
|
-
return result;
|
|
300
|
-
}
|
|
301
|
-
result[key] = rightValue;
|
|
302
|
-
return result;
|
|
303
|
-
}, Object.assign({}, left));
|
|
304
|
-
}
|
|
305
|
-
var json = (body2) => {
|
|
306
|
-
return (res) => {
|
|
307
|
-
res.headers.set("Content-Type", "application/json");
|
|
308
|
-
res.body = JSON.stringify(body2);
|
|
309
|
-
return res;
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
var data = (payload) => {
|
|
313
|
-
return (res) => {
|
|
314
|
-
const prevBody = jsonParse(res.body) || {};
|
|
315
|
-
const nextBody = mergeRight(prevBody, { data: payload });
|
|
316
|
-
return json(nextBody)(res);
|
|
317
|
-
};
|
|
318
|
-
};
|
|
319
|
-
var extensions = (payload) => {
|
|
320
|
-
return (res) => {
|
|
321
|
-
const prevBody = jsonParse(res.body) || {};
|
|
322
|
-
const nextBody = mergeRight(prevBody, { extensions: payload });
|
|
323
|
-
return json(nextBody)(res);
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
var import_is_node_process = index$3.exports;
|
|
327
|
-
var SET_TIMEOUT_MAX_ALLOWED_INT = 2147483647;
|
|
328
|
-
var MIN_SERVER_RESPONSE_TIME = 100;
|
|
329
|
-
var MAX_SERVER_RESPONSE_TIME = 400;
|
|
330
|
-
var NODE_SERVER_RESPONSE_TIME = 5;
|
|
331
|
-
var getRandomServerResponseTime = () => {
|
|
332
|
-
if ((0, import_is_node_process.isNodeProcess)()) {
|
|
333
|
-
return NODE_SERVER_RESPONSE_TIME;
|
|
334
|
-
}
|
|
335
|
-
return Math.floor(Math.random() * (MAX_SERVER_RESPONSE_TIME - MIN_SERVER_RESPONSE_TIME) + MIN_SERVER_RESPONSE_TIME);
|
|
336
|
-
};
|
|
337
|
-
var delay = (durationOrMode) => {
|
|
338
|
-
return (res) => {
|
|
339
|
-
let delayTime;
|
|
340
|
-
if (typeof durationOrMode === "string") {
|
|
341
|
-
switch (durationOrMode) {
|
|
342
|
-
case "infinite": {
|
|
343
|
-
delayTime = SET_TIMEOUT_MAX_ALLOWED_INT;
|
|
344
|
-
break;
|
|
345
|
-
}
|
|
346
|
-
case "real": {
|
|
347
|
-
delayTime = getRandomServerResponseTime();
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
default: {
|
|
351
|
-
throw new Error(`Failed to delay a response: unknown delay mode "${durationOrMode}". Please make sure you provide one of the supported modes ("real", "infinite") or a number to "ctx.delay".`);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
} else if (typeof durationOrMode === "undefined") {
|
|
355
|
-
delayTime = getRandomServerResponseTime();
|
|
356
|
-
} else {
|
|
357
|
-
if (durationOrMode > SET_TIMEOUT_MAX_ALLOWED_INT) {
|
|
358
|
-
throw new Error(`Failed to delay a response: provided delay duration (${durationOrMode}) exceeds the maximum allowed duration for "setTimeout" (${SET_TIMEOUT_MAX_ALLOWED_INT}). This will cause the response to be returned immediately. Please use a number within the allowed range to delay the response by exact duration, or consider the "infinite" delay mode to delay the response indefinitely.`);
|
|
359
|
-
}
|
|
360
|
-
delayTime = durationOrMode;
|
|
361
|
-
}
|
|
362
|
-
res.delay = delayTime;
|
|
363
|
-
return res;
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
var errors = (errorsList) => {
|
|
367
|
-
return (res) => {
|
|
368
|
-
if (errorsList == null) {
|
|
369
|
-
return res;
|
|
370
|
-
}
|
|
371
|
-
const prevBody = jsonParse(res.body) || {};
|
|
372
|
-
const nextBody = mergeRight(prevBody, { errors: errorsList });
|
|
373
|
-
return json(nextBody)(res);
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
var import_is_node_process2 = index$3.exports;
|
|
377
|
-
var import_headers_polyfill2 = index$6;
|
|
378
|
-
var useFetch = (0, import_is_node_process2.isNodeProcess)() ? (input, init) => Promise.resolve().then(() => __toESM(browser.__require())).then(({ default: nodeFetch }) => nodeFetch(input, init)) : globalThis.fetch;
|
|
379
|
-
var augmentRequestInit = (requestInit) => {
|
|
380
|
-
const headers = new import_headers_polyfill2.Headers(requestInit.headers);
|
|
381
|
-
headers.set("x-msw-bypass", "true");
|
|
382
|
-
return __spreadProps(__spreadValues({}, requestInit), {
|
|
383
|
-
headers: headers.all()
|
|
384
|
-
});
|
|
385
|
-
};
|
|
386
|
-
var createFetchRequestParameters = (input) => {
|
|
387
|
-
const { body: body2, method } = input;
|
|
388
|
-
const requestParameters = __spreadProps(__spreadValues({}, input), {
|
|
389
|
-
body: void 0
|
|
390
|
-
});
|
|
391
|
-
if (["GET", "HEAD"].includes(method)) {
|
|
392
|
-
return requestParameters;
|
|
393
|
-
}
|
|
394
|
-
if (typeof body2 === "object" || typeof body2 === "number" || typeof body2 === "boolean") {
|
|
395
|
-
requestParameters.body = JSON.stringify(body2);
|
|
396
|
-
} else {
|
|
397
|
-
requestParameters.body = body2;
|
|
398
|
-
}
|
|
399
|
-
return requestParameters;
|
|
400
|
-
};
|
|
401
|
-
var fetch = (input, requestInit = {}) => {
|
|
402
|
-
if (typeof input === "string") {
|
|
403
|
-
return useFetch(input, augmentRequestInit(requestInit));
|
|
404
|
-
}
|
|
405
|
-
const requestParameters = createFetchRequestParameters(input);
|
|
406
|
-
const derivedRequestInit = augmentRequestInit(requestParameters);
|
|
407
|
-
return useFetch(input.url.href, derivedRequestInit);
|
|
408
|
-
};
|
|
409
|
-
var text = (body2) => {
|
|
410
|
-
return (res) => {
|
|
411
|
-
res.headers.set("Content-Type", "text/plain");
|
|
412
|
-
res.body = body2;
|
|
413
|
-
return res;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
var xml = (body2) => {
|
|
417
|
-
return (res) => {
|
|
418
|
-
res.headers.set("Content-Type", "text/xml");
|
|
419
|
-
res.body = body2;
|
|
420
|
-
return res;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
var import_outvariant4 = index$a.__exports;
|
|
424
|
-
var import_is_node_process3 = index$3.exports;
|
|
425
|
-
var import_until4 = index$8.__exports;
|
|
426
|
-
var import_until = index$8.__exports;
|
|
427
|
-
var getWorkerByRegistration = (registration, absoluteWorkerUrl, findWorker) => {
|
|
428
|
-
const allStates = [
|
|
429
|
-
registration.active,
|
|
430
|
-
registration.installing,
|
|
431
|
-
registration.waiting
|
|
432
|
-
];
|
|
433
|
-
const existingStates = allStates.filter(Boolean);
|
|
434
|
-
const mockWorker = existingStates.find((worker) => {
|
|
435
|
-
return findWorker(worker.scriptURL, absoluteWorkerUrl);
|
|
436
|
-
});
|
|
437
|
-
return mockWorker || null;
|
|
438
|
-
};
|
|
439
|
-
function getAbsoluteWorkerUrl(workerUrl) {
|
|
440
|
-
return new URL(workerUrl, location.href).href;
|
|
441
|
-
}
|
|
442
|
-
var import_outvariant = index$a.__exports;
|
|
443
|
-
var LIBRARY_PREFIX = "[MSW]";
|
|
444
|
-
function formatMessage(message, ...positionals) {
|
|
445
|
-
const interpolatedMessage = (0, import_outvariant.format)(message, ...positionals);
|
|
446
|
-
return `${LIBRARY_PREFIX} ${interpolatedMessage}`;
|
|
447
|
-
}
|
|
448
|
-
function warn(message, ...positionals) {
|
|
449
|
-
console.warn(formatMessage(message, ...positionals));
|
|
450
|
-
}
|
|
451
|
-
function error(message, ...positionals) {
|
|
452
|
-
console.error(formatMessage(message, ...positionals));
|
|
453
|
-
}
|
|
454
|
-
var devUtils = {
|
|
455
|
-
formatMessage,
|
|
456
|
-
warn,
|
|
457
|
-
error
|
|
458
|
-
};
|
|
459
|
-
var getWorkerInstance = async (url, options = {}, findWorker) => {
|
|
460
|
-
const absoluteWorkerUrl = getAbsoluteWorkerUrl(url);
|
|
461
|
-
const mockRegistrations = await navigator.serviceWorker.getRegistrations().then((registrations) => registrations.filter((registration) => getWorkerByRegistration(registration, absoluteWorkerUrl, findWorker)));
|
|
462
|
-
if (!navigator.serviceWorker.controller && mockRegistrations.length > 0) {
|
|
463
|
-
location.reload();
|
|
464
|
-
}
|
|
465
|
-
const [existingRegistration] = mockRegistrations;
|
|
466
|
-
if (existingRegistration) {
|
|
467
|
-
return existingRegistration.update().then(() => {
|
|
468
|
-
return [
|
|
469
|
-
getWorkerByRegistration(existingRegistration, absoluteWorkerUrl, findWorker),
|
|
470
|
-
existingRegistration
|
|
471
|
-
];
|
|
472
|
-
});
|
|
473
|
-
}
|
|
474
|
-
const [error2, instance] = await (0, import_until.until)(async () => {
|
|
475
|
-
const registration = await navigator.serviceWorker.register(url, options);
|
|
476
|
-
return [
|
|
477
|
-
getWorkerByRegistration(registration, absoluteWorkerUrl, findWorker),
|
|
478
|
-
registration
|
|
479
|
-
];
|
|
480
|
-
});
|
|
481
|
-
if (error2) {
|
|
482
|
-
const isWorkerMissing = error2.message.includes("(404)");
|
|
483
|
-
if (isWorkerMissing) {
|
|
484
|
-
const scopeUrl = new URL((options == null ? void 0 : options.scope) || "/", location.href);
|
|
485
|
-
throw new Error(devUtils.formatMessage(`Failed to register a Service Worker for scope ('${scopeUrl.href}') with script ('${absoluteWorkerUrl}'): Service Worker script does not exist at the given path.
|
|
486
|
-
|
|
487
|
-
Did you forget to run "npx msw init <PUBLIC_DIR>"?
|
|
488
|
-
|
|
489
|
-
Learn more about creating the Service Worker script: https://mswjs.io/docs/cli/init`));
|
|
490
|
-
}
|
|
491
|
-
throw new Error(devUtils.formatMessage("Failed to register the Service Worker:\n\n%s", error2.message));
|
|
492
|
-
}
|
|
493
|
-
return instance;
|
|
494
|
-
};
|
|
495
|
-
function printStartMessage(args = {}) {
|
|
496
|
-
if (args.quiet) {
|
|
497
|
-
return;
|
|
498
|
-
}
|
|
499
|
-
const message = args.message || "Mocking enabled.";
|
|
500
|
-
console.groupCollapsed(`%c${devUtils.formatMessage(message)}`, "color:orangered;font-weight:bold;");
|
|
501
|
-
console.log("%cDocumentation: %chttps://mswjs.io/docs", "font-weight:bold", "font-weight:normal");
|
|
502
|
-
console.log("Found an issue? https://github.com/mswjs/msw/issues");
|
|
503
|
-
if (args.workerUrl) {
|
|
504
|
-
console.log("Worker script URL:", args.workerUrl);
|
|
505
|
-
}
|
|
506
|
-
if (args.workerScope) {
|
|
507
|
-
console.log("Worker scope:", args.workerScope);
|
|
508
|
-
}
|
|
509
|
-
console.groupEnd();
|
|
510
|
-
}
|
|
511
|
-
async function enableMocking(context, options) {
|
|
512
|
-
var _a, _b;
|
|
513
|
-
context.workerChannel.send("MOCK_ACTIVATE");
|
|
514
|
-
await context.events.once("MOCKING_ENABLED");
|
|
515
|
-
if (context.isMockingEnabled) {
|
|
516
|
-
devUtils.warn(`Found a redundant "worker.start()" call. Note that starting the worker while mocking is already enabled will have no effect. Consider removing this "worker.start()" call.`);
|
|
517
|
-
return;
|
|
518
|
-
}
|
|
519
|
-
context.isMockingEnabled = true;
|
|
520
|
-
printStartMessage({
|
|
521
|
-
quiet: options.quiet,
|
|
522
|
-
workerScope: (_a = context.registration) == null ? void 0 : _a.scope,
|
|
523
|
-
workerUrl: (_b = context.worker) == null ? void 0 : _b.scriptURL
|
|
524
|
-
});
|
|
525
|
-
}
|
|
526
|
-
var WorkerChannel = class {
|
|
527
|
-
constructor(port) {
|
|
528
|
-
this.port = port;
|
|
529
|
-
}
|
|
530
|
-
postMessage(event, ...rest2) {
|
|
531
|
-
const [data2, transfer] = rest2;
|
|
532
|
-
this.port.postMessage({ type: event, data: data2 }, { transfer });
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
var NetworkError = class extends Error {
|
|
536
|
-
constructor(message) {
|
|
537
|
-
super(message);
|
|
538
|
-
this.name = "NetworkError";
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
var import_interceptors2 = index$5.__exports;
|
|
542
|
-
var import_headers_polyfill5 = index$6;
|
|
543
|
-
var cookieUtils3 = __toESM(cookie$1);
|
|
544
|
-
var import_cookies = index$4.__exports;
|
|
545
|
-
var import_interceptors = index$5.__exports;
|
|
546
|
-
var import_bufferUtils = bufferUtils.__exports;
|
|
547
|
-
var import_headers_polyfill4 = index$6;
|
|
548
|
-
var cookieUtils2 = __toESM(cookie$1);
|
|
549
|
-
function getAllCookies() {
|
|
550
|
-
return cookieUtils2.parse(document.cookie);
|
|
551
|
-
}
|
|
552
|
-
function getRequestCookies(request) {
|
|
553
|
-
if (typeof document === "undefined" || typeof location === "undefined") {
|
|
554
|
-
return {};
|
|
555
|
-
}
|
|
556
|
-
switch (request.credentials) {
|
|
557
|
-
case "same-origin": {
|
|
558
|
-
return location.origin === request.url.origin ? getAllCookies() : {};
|
|
559
|
-
}
|
|
560
|
-
case "include": {
|
|
561
|
-
return getAllCookies();
|
|
562
|
-
}
|
|
563
|
-
default: {
|
|
564
|
-
return {};
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
var import_headers_polyfill3 = index$6;
|
|
569
|
-
function parseContentHeaders(headersString) {
|
|
570
|
-
var _a, _b;
|
|
571
|
-
const headers = (0, import_headers_polyfill3.stringToHeaders)(headersString);
|
|
572
|
-
const contentType = headers.get("content-type") || "text/plain";
|
|
573
|
-
const disposition = headers.get("content-disposition");
|
|
574
|
-
if (!disposition) {
|
|
575
|
-
throw new Error('"Content-Disposition" header is required.');
|
|
576
|
-
}
|
|
577
|
-
const directives = disposition.split(";").reduce((acc, chunk) => {
|
|
578
|
-
const [name2, ...rest2] = chunk.trim().split("=");
|
|
579
|
-
acc[name2] = rest2.join("=");
|
|
580
|
-
return acc;
|
|
581
|
-
}, {});
|
|
582
|
-
const name = (_a = directives.name) == null ? void 0 : _a.slice(1, -1);
|
|
583
|
-
const filename = (_b = directives.filename) == null ? void 0 : _b.slice(1, -1);
|
|
584
|
-
return {
|
|
585
|
-
name,
|
|
586
|
-
filename,
|
|
587
|
-
contentType
|
|
588
|
-
};
|
|
589
|
-
}
|
|
590
|
-
function parseMultipartData(data2, headers) {
|
|
591
|
-
const contentType = headers == null ? void 0 : headers.get("content-type");
|
|
592
|
-
if (!contentType) {
|
|
593
|
-
return void 0;
|
|
594
|
-
}
|
|
595
|
-
const [, ...directives] = contentType.split(/; */);
|
|
596
|
-
const boundary = directives.filter((d) => d.startsWith("boundary=")).map((s) => s.replace(/^boundary=/, ""))[0];
|
|
597
|
-
if (!boundary) {
|
|
598
|
-
return void 0;
|
|
599
|
-
}
|
|
600
|
-
const boundaryRegExp = new RegExp(`--+${boundary}`);
|
|
601
|
-
const fields = data2.split(boundaryRegExp).filter((chunk) => chunk.startsWith("\r\n") && chunk.endsWith("\r\n")).map((chunk) => chunk.trimStart().replace(/\r\n$/, ""));
|
|
602
|
-
if (!fields.length) {
|
|
603
|
-
return void 0;
|
|
604
|
-
}
|
|
605
|
-
const parsedBody = {};
|
|
606
|
-
try {
|
|
607
|
-
for (const field2 of fields) {
|
|
608
|
-
const [contentHeaders, ...rest2] = field2.split("\r\n\r\n");
|
|
609
|
-
const contentBody = rest2.join("\r\n\r\n");
|
|
610
|
-
const { contentType: contentType2, filename, name } = parseContentHeaders(contentHeaders);
|
|
611
|
-
const value = filename === void 0 ? contentBody : new File([contentBody], filename, { type: contentType2 });
|
|
612
|
-
const parsedValue = parsedBody[name];
|
|
613
|
-
if (parsedValue === void 0) {
|
|
614
|
-
parsedBody[name] = value;
|
|
615
|
-
} else if (Array.isArray(parsedValue)) {
|
|
616
|
-
parsedBody[name] = [...parsedValue, value];
|
|
617
|
-
} else {
|
|
618
|
-
parsedBody[name] = [parsedValue, value];
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
return parsedBody;
|
|
622
|
-
} catch (error2) {
|
|
623
|
-
return void 0;
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
function parseBody(body2, headers) {
|
|
627
|
-
var _a;
|
|
628
|
-
if (!body2) {
|
|
629
|
-
return body2;
|
|
630
|
-
}
|
|
631
|
-
const contentType = ((_a = headers == null ? void 0 : headers.get("content-type")) == null ? void 0 : _a.toLowerCase()) || "";
|
|
632
|
-
const hasMultipartContent = contentType.startsWith("multipart/form-data");
|
|
633
|
-
if (hasMultipartContent && typeof body2 !== "object") {
|
|
634
|
-
return parseMultipartData(body2.toString(), headers) || body2;
|
|
635
|
-
}
|
|
636
|
-
const hasJsonContent = contentType.includes("json");
|
|
637
|
-
if (hasJsonContent && typeof body2 !== "object") {
|
|
638
|
-
return jsonParse(body2.toString()) || body2;
|
|
639
|
-
}
|
|
640
|
-
return body2;
|
|
641
|
-
}
|
|
642
|
-
function isStringEqual(actual, expected) {
|
|
643
|
-
return actual.toLowerCase() === expected.toLowerCase();
|
|
644
|
-
}
|
|
645
|
-
var MockedRequest = class extends import_interceptors.IsomorphicRequest {
|
|
646
|
-
constructor(url, init = {}) {
|
|
647
|
-
super(url, init);
|
|
648
|
-
if (init.id) {
|
|
649
|
-
this.id = init.id;
|
|
650
|
-
}
|
|
651
|
-
this.cache = init.cache || "default";
|
|
652
|
-
this.destination = init.destination || "";
|
|
653
|
-
this.integrity = init.integrity || "";
|
|
654
|
-
this.keepalive = init.keepalive || false;
|
|
655
|
-
this.mode = init.mode || "cors";
|
|
656
|
-
this.priority = init.priority || "auto";
|
|
657
|
-
this.redirect = init.redirect || "follow";
|
|
658
|
-
this.referrer = init.referrer || "";
|
|
659
|
-
this.referrerPolicy = init.referrerPolicy || "no-referrer";
|
|
660
|
-
this.cookies = init.cookies || this.getCookies();
|
|
661
|
-
}
|
|
662
|
-
get body() {
|
|
663
|
-
const text2 = (0, import_bufferUtils.decodeBuffer)(this["_body"]);
|
|
664
|
-
const body2 = parseBody(text2, this.headers);
|
|
665
|
-
if (isStringEqual(this.method, "GET") && body2 === "") {
|
|
666
|
-
return void 0;
|
|
667
|
-
}
|
|
668
|
-
return body2;
|
|
669
|
-
}
|
|
670
|
-
passthrough() {
|
|
671
|
-
return {
|
|
672
|
-
status: 101,
|
|
673
|
-
statusText: "Continue",
|
|
674
|
-
headers: new import_headers_polyfill4.Headers(),
|
|
675
|
-
body: null,
|
|
676
|
-
passthrough: true,
|
|
677
|
-
once: false
|
|
678
|
-
};
|
|
679
|
-
}
|
|
680
|
-
getCookies() {
|
|
681
|
-
var _a;
|
|
682
|
-
const requestCookiesString = this.headers.get("cookie");
|
|
683
|
-
const ownCookies = requestCookiesString ? cookieUtils3.parse(requestCookiesString) : {};
|
|
684
|
-
import_cookies.store.hydrate();
|
|
685
|
-
const cookiesFromStore = Array.from((_a = import_cookies.store.get(__spreadProps(__spreadValues({}, this), { url: this.url.href }))) == null ? void 0 : _a.entries()).reduce((cookies, [name, { value }]) => {
|
|
686
|
-
return Object.assign(cookies, { [name.trim()]: value });
|
|
687
|
-
}, {});
|
|
688
|
-
const cookiesFromDocument = getRequestCookies(this);
|
|
689
|
-
const forwardedCookies = __spreadValues(__spreadValues({}, cookiesFromDocument), cookiesFromStore);
|
|
690
|
-
for (const [name, value] of Object.entries(forwardedCookies)) {
|
|
691
|
-
this.headers.append("cookie", `${name}=${value}`);
|
|
692
|
-
}
|
|
693
|
-
return __spreadValues(__spreadValues({}, forwardedCookies), ownCookies);
|
|
694
|
-
}
|
|
695
|
-
};
|
|
696
|
-
function parseWorkerRequest(rawRequest) {
|
|
697
|
-
const url = new URL(rawRequest.url);
|
|
698
|
-
const headers = new import_headers_polyfill5.Headers(rawRequest.headers);
|
|
699
|
-
return new MockedRequest(url, __spreadProps(__spreadValues({}, rawRequest), {
|
|
700
|
-
body: (0, import_interceptors2.encodeBuffer)(rawRequest.body || ""),
|
|
701
|
-
headers
|
|
702
|
-
}));
|
|
703
|
-
}
|
|
704
|
-
var import_until2 = index$8.__exports;
|
|
705
|
-
var getResponse = async (request, handlers, resolutionContext) => {
|
|
706
|
-
const relevantHandlers = handlers.filter((handler) => {
|
|
707
|
-
return handler.test(request, resolutionContext);
|
|
708
|
-
});
|
|
709
|
-
if (relevantHandlers.length === 0) {
|
|
710
|
-
return {
|
|
711
|
-
handler: void 0,
|
|
712
|
-
response: void 0
|
|
713
|
-
};
|
|
714
|
-
}
|
|
715
|
-
const result = await relevantHandlers.reduce(async (executionResult, handler) => {
|
|
716
|
-
const previousResults = await executionResult;
|
|
717
|
-
if (!!(previousResults == null ? void 0 : previousResults.response)) {
|
|
718
|
-
return executionResult;
|
|
719
|
-
}
|
|
720
|
-
const result2 = await handler.run(request, resolutionContext);
|
|
721
|
-
if (result2 === null || result2.handler.shouldSkip) {
|
|
722
|
-
return null;
|
|
723
|
-
}
|
|
724
|
-
if (!result2.response) {
|
|
725
|
-
return {
|
|
726
|
-
request: result2.request,
|
|
727
|
-
handler: result2.handler,
|
|
728
|
-
response: void 0,
|
|
729
|
-
parsedResult: result2.parsedResult
|
|
730
|
-
};
|
|
731
|
-
}
|
|
732
|
-
if (result2.response.once) {
|
|
733
|
-
handler.markAsSkipped(true);
|
|
734
|
-
}
|
|
735
|
-
return result2;
|
|
736
|
-
}, Promise.resolve(null));
|
|
737
|
-
if (!result) {
|
|
738
|
-
return {
|
|
739
|
-
handler: void 0,
|
|
740
|
-
response: void 0
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
return {
|
|
744
|
-
handler: result.handler,
|
|
745
|
-
publicRequest: result.request,
|
|
746
|
-
parsedRequest: result.parsedResult,
|
|
747
|
-
response: result.response
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
var import_js_levenshtein = __toESM(index$7.__require());
|
|
751
|
-
var import_graphql = index$b;
|
|
752
|
-
var getPublicUrlFromRequest = (request) => {
|
|
753
|
-
return request.referrer.startsWith(request.url.origin) ? request.url.pathname : new URL(request.url.pathname, `${request.url.protocol}//${request.url.host}`).href;
|
|
754
|
-
};
|
|
755
|
-
function parseDocumentNode(node) {
|
|
756
|
-
var _a;
|
|
757
|
-
const operationDef = node.definitions.find((def) => {
|
|
758
|
-
return def.kind === "OperationDefinition";
|
|
759
|
-
});
|
|
760
|
-
return {
|
|
761
|
-
operationType: operationDef == null ? void 0 : operationDef.operation,
|
|
762
|
-
operationName: (_a = operationDef == null ? void 0 : operationDef.name) == null ? void 0 : _a.value
|
|
763
|
-
};
|
|
764
|
-
}
|
|
765
|
-
function parseQuery(query) {
|
|
766
|
-
try {
|
|
767
|
-
const ast = (0, import_graphql.parse)(query);
|
|
768
|
-
return parseDocumentNode(ast);
|
|
769
|
-
} catch (error2) {
|
|
770
|
-
return error2;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
function extractMultipartVariables(variables, map, files) {
|
|
774
|
-
const operations = { variables };
|
|
775
|
-
for (const [key, pathArray] of Object.entries(map)) {
|
|
776
|
-
if (!(key in files)) {
|
|
777
|
-
throw new Error(`Given files do not have a key '${key}' .`);
|
|
778
|
-
}
|
|
779
|
-
for (const dotPath of pathArray) {
|
|
780
|
-
const [lastPath, ...reversedPaths] = dotPath.split(".").reverse();
|
|
781
|
-
const paths = reversedPaths.reverse();
|
|
782
|
-
let target = operations;
|
|
783
|
-
for (const path of paths) {
|
|
784
|
-
if (!(path in target)) {
|
|
785
|
-
throw new Error(`Property '${paths}' is not in operations.`);
|
|
786
|
-
}
|
|
787
|
-
target = target[path];
|
|
788
|
-
}
|
|
789
|
-
target[lastPath] = files[key];
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
return operations.variables;
|
|
793
|
-
}
|
|
794
|
-
function getGraphQLInput(request) {
|
|
795
|
-
var _a, _b;
|
|
796
|
-
switch (request.method) {
|
|
797
|
-
case "GET": {
|
|
798
|
-
const query = request.url.searchParams.get("query");
|
|
799
|
-
const variables = request.url.searchParams.get("variables") || "";
|
|
800
|
-
return {
|
|
801
|
-
query,
|
|
802
|
-
variables: jsonParse(variables)
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
case "POST": {
|
|
806
|
-
if ((_a = request.body) == null ? void 0 : _a.query) {
|
|
807
|
-
const { query, variables } = request.body;
|
|
808
|
-
return {
|
|
809
|
-
query,
|
|
810
|
-
variables
|
|
811
|
-
};
|
|
812
|
-
}
|
|
813
|
-
if ((_b = request.body) == null ? void 0 : _b.operations) {
|
|
814
|
-
const _c = request.body, { operations, map } = _c, files = __objRest(_c, ["operations", "map"]);
|
|
815
|
-
const parsedOperations = jsonParse(operations) || {};
|
|
816
|
-
if (!parsedOperations.query) {
|
|
817
|
-
return null;
|
|
818
|
-
}
|
|
819
|
-
const parsedMap = jsonParse(map || "") || {};
|
|
820
|
-
const variables = parsedOperations.variables ? extractMultipartVariables(parsedOperations.variables, parsedMap, files) : {};
|
|
821
|
-
return {
|
|
822
|
-
query: parsedOperations.query,
|
|
823
|
-
variables
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
default:
|
|
828
|
-
return null;
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
function parseGraphQLRequest(request) {
|
|
832
|
-
const input = getGraphQLInput(request);
|
|
833
|
-
if (!input || !input.query) {
|
|
834
|
-
return void 0;
|
|
835
|
-
}
|
|
836
|
-
const { query, variables } = input;
|
|
837
|
-
const parsedResult = parseQuery(query);
|
|
838
|
-
if (parsedResult instanceof Error) {
|
|
839
|
-
const requestPublicUrl = getPublicUrlFromRequest(request);
|
|
840
|
-
throw new Error(devUtils.formatMessage('Failed to intercept a GraphQL request to "%s %s": cannot parse query. See the error message from the parser below.\n\n%s', request.method, requestPublicUrl, parsedResult.message));
|
|
841
|
-
}
|
|
842
|
-
return {
|
|
843
|
-
operationType: parsedResult.operationType,
|
|
844
|
-
operationName: parsedResult.operationName,
|
|
845
|
-
variables
|
|
846
|
-
};
|
|
847
|
-
}
|
|
848
|
-
function getStatusCodeColor(status2) {
|
|
849
|
-
if (status2 < 300) {
|
|
850
|
-
return "#69AB32";
|
|
851
|
-
}
|
|
852
|
-
if (status2 < 400) {
|
|
853
|
-
return "#F0BB4B";
|
|
854
|
-
}
|
|
855
|
-
return "#E95F5D";
|
|
856
|
-
}
|
|
857
|
-
function getTimestamp() {
|
|
858
|
-
const now = new Date();
|
|
859
|
-
return [now.getHours(), now.getMinutes(), now.getSeconds()].map(String).map((chunk) => chunk.slice(0, 2)).map((chunk) => chunk.padStart(2, "0")).join(":");
|
|
860
|
-
}
|
|
861
|
-
function prepareRequest(request) {
|
|
862
|
-
return __spreadProps(__spreadValues({}, request), {
|
|
863
|
-
body: request.body,
|
|
864
|
-
headers: request.headers.all()
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
|
-
var import_headers_polyfill6 = index$6;
|
|
868
|
-
function prepareResponse(res) {
|
|
869
|
-
const responseHeaders = (0, import_headers_polyfill6.objectToHeaders)(res.headers);
|
|
870
|
-
return __spreadProps(__spreadValues({}, res), {
|
|
871
|
-
body: parseBody(res.body, responseHeaders)
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
var import_path_to_regexp = index$9;
|
|
875
|
-
var import_getCleanUrl = getCleanUrl.__exports;
|
|
876
|
-
var REDUNDANT_CHARACTERS_EXP = /[\?|#].*$/g;
|
|
877
|
-
function getSearchParams(path) {
|
|
878
|
-
return new URL(`/${path}`, "http://localhost").searchParams;
|
|
879
|
-
}
|
|
880
|
-
function cleanUrl(path) {
|
|
881
|
-
return path.replace(REDUNDANT_CHARACTERS_EXP, "");
|
|
882
|
-
}
|
|
883
|
-
function isAbsoluteUrl(url) {
|
|
884
|
-
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
|
885
|
-
}
|
|
886
|
-
function getAbsoluteUrl(path, baseUrl) {
|
|
887
|
-
if (isAbsoluteUrl(path)) {
|
|
888
|
-
return path;
|
|
889
|
-
}
|
|
890
|
-
if (path.startsWith("*")) {
|
|
891
|
-
return path;
|
|
892
|
-
}
|
|
893
|
-
const origin = baseUrl || typeof document !== "undefined" && document.baseURI;
|
|
894
|
-
return origin ? decodeURI(new URL(encodeURI(path), origin).href) : path;
|
|
895
|
-
}
|
|
896
|
-
function normalizePath(path, baseUrl) {
|
|
897
|
-
if (path instanceof RegExp) {
|
|
898
|
-
return path;
|
|
899
|
-
}
|
|
900
|
-
const maybeAbsoluteUrl = getAbsoluteUrl(path, baseUrl);
|
|
901
|
-
return cleanUrl(maybeAbsoluteUrl);
|
|
902
|
-
}
|
|
903
|
-
function coercePath(path) {
|
|
904
|
-
return path.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g, (_, parameterName, wildcard) => {
|
|
905
|
-
const expression = "(.*)";
|
|
906
|
-
if (!parameterName) {
|
|
907
|
-
return expression;
|
|
908
|
-
}
|
|
909
|
-
return parameterName.startsWith(":") ? `${parameterName}${wildcard}` : `${parameterName}${expression}`;
|
|
910
|
-
}).replace(/([^\/])(:)(?=\d+)/, "$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/, "$1\\$2");
|
|
911
|
-
}
|
|
912
|
-
function matchRequestUrl(url, path, baseUrl) {
|
|
913
|
-
const normalizedPath = normalizePath(path, baseUrl);
|
|
914
|
-
const cleanPath = typeof normalizedPath === "string" ? coercePath(normalizedPath) : normalizedPath;
|
|
915
|
-
const cleanUrl2 = (0, import_getCleanUrl.getCleanUrl)(url);
|
|
916
|
-
const result = (0, import_path_to_regexp.match)(cleanPath, { decode: decodeURIComponent })(cleanUrl2);
|
|
917
|
-
const params = result && result.params || {};
|
|
918
|
-
return {
|
|
919
|
-
matches: result !== false,
|
|
920
|
-
params
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
var import_headers_polyfill7 = index$6;
|
|
924
|
-
function compose(...fns) {
|
|
925
|
-
return (...args) => {
|
|
926
|
-
return fns.reduceRight((leftFn, rightFn) => {
|
|
927
|
-
return leftFn instanceof Promise ? Promise.resolve(leftFn).then(rightFn) : rightFn(leftFn);
|
|
928
|
-
}, args[0]);
|
|
929
|
-
};
|
|
930
|
-
}
|
|
931
|
-
var defaultResponse = {
|
|
932
|
-
status: 200,
|
|
933
|
-
statusText: "OK",
|
|
934
|
-
body: null,
|
|
935
|
-
delay: 0,
|
|
936
|
-
once: false,
|
|
937
|
-
passthrough: false
|
|
938
|
-
};
|
|
939
|
-
var defaultResponseTransformers = [];
|
|
940
|
-
function createResponseComposition(responseOverrides, defaultTransformers = defaultResponseTransformers) {
|
|
941
|
-
return async (...transformers) => {
|
|
942
|
-
const initialResponse = Object.assign({}, defaultResponse, {
|
|
943
|
-
headers: new import_headers_polyfill7.Headers({
|
|
944
|
-
"x-powered-by": "msw"
|
|
945
|
-
})
|
|
946
|
-
}, responseOverrides);
|
|
947
|
-
const resolvedTransformers = [
|
|
948
|
-
...defaultTransformers,
|
|
949
|
-
...transformers
|
|
950
|
-
].filter(Boolean);
|
|
951
|
-
const resolvedResponse = resolvedTransformers.length > 0 ? compose(...resolvedTransformers)(initialResponse) : initialResponse;
|
|
952
|
-
return resolvedResponse;
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
var response = Object.assign(createResponseComposition(), {
|
|
956
|
-
once: createResponseComposition({ once: true }),
|
|
957
|
-
networkError(message) {
|
|
958
|
-
throw new NetworkError(message);
|
|
959
|
-
}
|
|
960
|
-
});
|
|
961
|
-
var SOURCE_FRAME = /[\/\\]msw[\/\\]src[\/\\](.+)/;
|
|
962
|
-
var BUILD_FRAME = /(node_modules)?[\/\\]lib[\/\\](umd|esm|iief|cjs)[\/\\]|^[^\/\\]*$/;
|
|
963
|
-
function getCallFrame(error2) {
|
|
964
|
-
const stack = error2.stack;
|
|
965
|
-
if (!stack) {
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
const frames = stack.split("\n").slice(1);
|
|
969
|
-
const declarationFrame = frames.find((frame) => {
|
|
970
|
-
return !(SOURCE_FRAME.test(frame) || BUILD_FRAME.test(frame));
|
|
971
|
-
});
|
|
972
|
-
if (!declarationFrame) {
|
|
973
|
-
return;
|
|
974
|
-
}
|
|
975
|
-
const declarationPath = declarationFrame.replace(/\s*at [^()]*\(([^)]+)\)/, "$1").replace(/^@/, "");
|
|
976
|
-
return declarationPath;
|
|
977
|
-
}
|
|
978
|
-
function isIterable(fn) {
|
|
979
|
-
if (!fn) {
|
|
980
|
-
return false;
|
|
981
|
-
}
|
|
982
|
-
return typeof fn[Symbol.iterator] == "function";
|
|
983
|
-
}
|
|
984
|
-
var defaultContext = {
|
|
985
|
-
status,
|
|
986
|
-
set,
|
|
987
|
-
delay,
|
|
988
|
-
fetch
|
|
989
|
-
};
|
|
990
|
-
var RequestHandler = class {
|
|
991
|
-
constructor(options) {
|
|
992
|
-
this.shouldSkip = false;
|
|
993
|
-
this.ctx = options.ctx || defaultContext;
|
|
994
|
-
this.resolver = options.resolver;
|
|
995
|
-
const callFrame = getCallFrame(new Error());
|
|
996
|
-
this.info = __spreadProps(__spreadValues({}, options.info), {
|
|
997
|
-
callFrame
|
|
998
|
-
});
|
|
999
|
-
}
|
|
1000
|
-
parse(_request, _resolutionContext) {
|
|
1001
|
-
return null;
|
|
1002
|
-
}
|
|
1003
|
-
test(request, resolutionContext) {
|
|
1004
|
-
return this.predicate(request, this.parse(request, resolutionContext), resolutionContext);
|
|
1005
|
-
}
|
|
1006
|
-
getPublicRequest(request, _parsedResult) {
|
|
1007
|
-
return request;
|
|
1008
|
-
}
|
|
1009
|
-
markAsSkipped(shouldSkip = true) {
|
|
1010
|
-
this.shouldSkip = shouldSkip;
|
|
1011
|
-
}
|
|
1012
|
-
async run(request, resolutionContext) {
|
|
1013
|
-
if (this.shouldSkip) {
|
|
1014
|
-
return null;
|
|
1015
|
-
}
|
|
1016
|
-
const parsedResult = this.parse(request, resolutionContext);
|
|
1017
|
-
const shouldIntercept = this.predicate(request, parsedResult, resolutionContext);
|
|
1018
|
-
if (!shouldIntercept) {
|
|
1019
|
-
return null;
|
|
1020
|
-
}
|
|
1021
|
-
const publicRequest = this.getPublicRequest(request, parsedResult);
|
|
1022
|
-
const executeResolver = this.wrapResolver(this.resolver);
|
|
1023
|
-
const mockedResponse = await executeResolver(publicRequest, response, this.ctx);
|
|
1024
|
-
return this.createExecutionResult(parsedResult, publicRequest, mockedResponse);
|
|
1025
|
-
}
|
|
1026
|
-
wrapResolver(resolver) {
|
|
1027
|
-
return async (req, res, ctx) => {
|
|
1028
|
-
const result = this.resolverGenerator || await resolver(req, res, ctx);
|
|
1029
|
-
if (isIterable(result)) {
|
|
1030
|
-
const { value, done } = result[Symbol.iterator]().next();
|
|
1031
|
-
const nextResponse = await value;
|
|
1032
|
-
if (!nextResponse && done) {
|
|
1033
|
-
return this.resolverGeneratorResult;
|
|
1034
|
-
}
|
|
1035
|
-
if (!this.resolverGenerator) {
|
|
1036
|
-
this.resolverGenerator = result;
|
|
1037
|
-
}
|
|
1038
|
-
this.resolverGeneratorResult = nextResponse;
|
|
1039
|
-
return nextResponse;
|
|
1040
|
-
}
|
|
1041
|
-
return result;
|
|
1042
|
-
};
|
|
1043
|
-
}
|
|
1044
|
-
createExecutionResult(parsedResult, request, response2) {
|
|
1045
|
-
return {
|
|
1046
|
-
handler: this,
|
|
1047
|
-
parsedResult: parsedResult || null,
|
|
1048
|
-
request,
|
|
1049
|
-
response: response2 || null
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
};
|
|
1053
|
-
var RESTMethods = /* @__PURE__ */ ((RESTMethods2) => {
|
|
1054
|
-
RESTMethods2["HEAD"] = "HEAD";
|
|
1055
|
-
RESTMethods2["GET"] = "GET";
|
|
1056
|
-
RESTMethods2["POST"] = "POST";
|
|
1057
|
-
RESTMethods2["PUT"] = "PUT";
|
|
1058
|
-
RESTMethods2["PATCH"] = "PATCH";
|
|
1059
|
-
RESTMethods2["OPTIONS"] = "OPTIONS";
|
|
1060
|
-
RESTMethods2["DELETE"] = "DELETE";
|
|
1061
|
-
return RESTMethods2;
|
|
1062
|
-
})(RESTMethods || {});
|
|
1063
|
-
var restContext = __spreadProps(__spreadValues({}, defaultContext), {
|
|
1064
|
-
cookie,
|
|
1065
|
-
body,
|
|
1066
|
-
text,
|
|
1067
|
-
json,
|
|
1068
|
-
xml
|
|
1069
|
-
});
|
|
1070
|
-
var RestRequest = class extends MockedRequest {
|
|
1071
|
-
constructor(request, params) {
|
|
1072
|
-
super(request.url, __spreadProps(__spreadValues({}, request), {
|
|
1073
|
-
body: request["_body"]
|
|
1074
|
-
}));
|
|
1075
|
-
this.params = params;
|
|
1076
|
-
this.id = request.id;
|
|
1077
|
-
}
|
|
1078
|
-
};
|
|
1079
|
-
var RestHandler = class extends RequestHandler {
|
|
1080
|
-
constructor(method, path, resolver) {
|
|
1081
|
-
super({
|
|
1082
|
-
info: {
|
|
1083
|
-
header: `${method} ${path}`,
|
|
1084
|
-
path,
|
|
1085
|
-
method
|
|
1086
|
-
},
|
|
1087
|
-
ctx: restContext,
|
|
1088
|
-
resolver
|
|
1089
|
-
});
|
|
1090
|
-
this.checkRedundantQueryParameters();
|
|
1091
|
-
}
|
|
1092
|
-
checkRedundantQueryParameters() {
|
|
1093
|
-
const { method, path } = this.info;
|
|
1094
|
-
if (path instanceof RegExp) {
|
|
1095
|
-
return;
|
|
1096
|
-
}
|
|
1097
|
-
const url = cleanUrl(path);
|
|
1098
|
-
if (url === path) {
|
|
1099
|
-
return;
|
|
1100
|
-
}
|
|
1101
|
-
const searchParams = getSearchParams(path);
|
|
1102
|
-
searchParams.forEach((_, paramName) => {
|
|
1103
|
-
});
|
|
1104
|
-
devUtils.warn(`Found a redundant usage of query parameters in the request handler URL for "${method} ${path}". Please match against a path instead and access query parameters in the response resolver function using "req.url.searchParams".`);
|
|
1105
|
-
}
|
|
1106
|
-
parse(request, resolutionContext) {
|
|
1107
|
-
return matchRequestUrl(request.url, this.info.path, resolutionContext == null ? void 0 : resolutionContext.baseUrl);
|
|
1108
|
-
}
|
|
1109
|
-
getPublicRequest(request, parsedResult) {
|
|
1110
|
-
return new RestRequest(request, parsedResult.params || {});
|
|
1111
|
-
}
|
|
1112
|
-
predicate(request, parsedResult) {
|
|
1113
|
-
const matchesMethod = this.info.method instanceof RegExp ? this.info.method.test(request.method) : isStringEqual(this.info.method, request.method);
|
|
1114
|
-
return matchesMethod && parsedResult.matches;
|
|
1115
|
-
}
|
|
1116
|
-
log(request, response2) {
|
|
1117
|
-
const publicUrl = getPublicUrlFromRequest(request);
|
|
1118
|
-
const loggedRequest = prepareRequest(request);
|
|
1119
|
-
const loggedResponse = prepareResponse(response2);
|
|
1120
|
-
const statusColor = getStatusCodeColor(response2.status);
|
|
1121
|
-
console.groupCollapsed(devUtils.formatMessage("%s %s %s (%c%s%c)"), getTimestamp(), request.method, publicUrl, `color:${statusColor}`, `${response2.status} ${response2.statusText}`, "color:inherit");
|
|
1122
|
-
console.log("Request", loggedRequest);
|
|
1123
|
-
console.log("Handler:", this);
|
|
1124
|
-
console.log("Response", loggedResponse);
|
|
1125
|
-
console.groupEnd();
|
|
1126
|
-
}
|
|
1127
|
-
};
|
|
1128
|
-
var import_outvariant2 = index$a.__exports;
|
|
1129
|
-
var field = (fieldName, fieldValue) => {
|
|
1130
|
-
return (res) => {
|
|
1131
|
-
validateFieldName(fieldName);
|
|
1132
|
-
const prevBody = jsonParse(res.body) || {};
|
|
1133
|
-
const nextBody = mergeRight(prevBody, { [fieldName]: fieldValue });
|
|
1134
|
-
return json(nextBody)(res);
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
function validateFieldName(fieldName) {
|
|
1138
|
-
(0, import_outvariant2.invariant)(fieldName.trim() !== "", devUtils.formatMessage("Failed to set a custom field on a GraphQL response: field name cannot be empty."));
|
|
1139
|
-
(0, import_outvariant2.invariant)(fieldName !== "data", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.data()" instead?', fieldName));
|
|
1140
|
-
(0, import_outvariant2.invariant)(fieldName !== "errors", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.errors()" instead?', fieldName));
|
|
1141
|
-
(0, import_outvariant2.invariant)(fieldName !== "extensions", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.extensions()" instead?', fieldName));
|
|
1142
|
-
}
|
|
1143
|
-
function tryCatch(fn, onException) {
|
|
1144
|
-
try {
|
|
1145
|
-
const result = fn();
|
|
1146
|
-
return result;
|
|
1147
|
-
} catch (error2) {
|
|
1148
|
-
onException == null ? void 0 : onException(error2);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
var graphqlContext = __spreadProps(__spreadValues({}, defaultContext), {
|
|
1152
|
-
data,
|
|
1153
|
-
extensions,
|
|
1154
|
-
errors,
|
|
1155
|
-
cookie,
|
|
1156
|
-
field
|
|
1157
|
-
});
|
|
1158
|
-
function isDocumentNode(value) {
|
|
1159
|
-
if (value == null) {
|
|
1160
|
-
return false;
|
|
1161
|
-
}
|
|
1162
|
-
return typeof value === "object" && "kind" in value && "definitions" in value;
|
|
1163
|
-
}
|
|
1164
|
-
var GraphQLRequest = class extends MockedRequest {
|
|
1165
|
-
constructor(request, variables) {
|
|
1166
|
-
super(request.url, __spreadProps(__spreadValues({}, request), {
|
|
1167
|
-
body: request["_body"]
|
|
1168
|
-
}));
|
|
1169
|
-
this.variables = variables;
|
|
1170
|
-
}
|
|
1171
|
-
};
|
|
1172
|
-
var GraphQLHandler = class extends RequestHandler {
|
|
1173
|
-
constructor(operationType, operationName, endpoint, resolver) {
|
|
1174
|
-
let resolvedOperationName = operationName;
|
|
1175
|
-
if (isDocumentNode(operationName)) {
|
|
1176
|
-
const parsedNode = parseDocumentNode(operationName);
|
|
1177
|
-
if (parsedNode.operationType !== operationType) {
|
|
1178
|
-
throw new Error(`Failed to create a GraphQL handler: provided a DocumentNode with a mismatched operation type (expected "${operationType}", but got "${parsedNode.operationType}").`);
|
|
1179
|
-
}
|
|
1180
|
-
if (!parsedNode.operationName) {
|
|
1181
|
-
throw new Error(`Failed to create a GraphQL handler: provided a DocumentNode with no operation name.`);
|
|
1182
|
-
}
|
|
1183
|
-
resolvedOperationName = parsedNode.operationName;
|
|
1184
|
-
}
|
|
1185
|
-
const header = operationType === "all" ? `${operationType} (origin: ${endpoint.toString()})` : `${operationType} ${resolvedOperationName} (origin: ${endpoint.toString()})`;
|
|
1186
|
-
super({
|
|
1187
|
-
info: {
|
|
1188
|
-
header,
|
|
1189
|
-
operationType,
|
|
1190
|
-
operationName: resolvedOperationName
|
|
1191
|
-
},
|
|
1192
|
-
ctx: graphqlContext,
|
|
1193
|
-
resolver
|
|
1194
|
-
});
|
|
1195
|
-
this.endpoint = endpoint;
|
|
1196
|
-
}
|
|
1197
|
-
parse(request) {
|
|
1198
|
-
return tryCatch(() => parseGraphQLRequest(request), (error2) => console.error(error2.message));
|
|
1199
|
-
}
|
|
1200
|
-
getPublicRequest(request, parsedResult) {
|
|
1201
|
-
return new GraphQLRequest(request, (parsedResult == null ? void 0 : parsedResult.variables) || {});
|
|
1202
|
-
}
|
|
1203
|
-
predicate(request, parsedResult) {
|
|
1204
|
-
if (!parsedResult) {
|
|
1205
|
-
return false;
|
|
1206
|
-
}
|
|
1207
|
-
if (!parsedResult.operationName && this.info.operationType !== "all") {
|
|
1208
|
-
const publicUrl = getPublicUrlFromRequest(request);
|
|
1209
|
-
devUtils.warn(`Failed to intercept a GraphQL request at "${request.method} ${publicUrl}": anonymous GraphQL operations are not supported.
|
|
1210
|
-
|
|
1211
|
-
Consider naming this operation or using "graphql.operation" request handler to intercept GraphQL requests regardless of their operation name/type. Read more: https://mswjs.io/docs/api/graphql/operation `);
|
|
1212
|
-
return false;
|
|
1213
|
-
}
|
|
1214
|
-
const hasMatchingUrl = matchRequestUrl(request.url, this.endpoint);
|
|
1215
|
-
const hasMatchingOperationType = this.info.operationType === "all" || parsedResult.operationType === this.info.operationType;
|
|
1216
|
-
const hasMatchingOperationName = this.info.operationName instanceof RegExp ? this.info.operationName.test(parsedResult.operationName || "") : parsedResult.operationName === this.info.operationName;
|
|
1217
|
-
return hasMatchingUrl.matches && hasMatchingOperationType && hasMatchingOperationName;
|
|
1218
|
-
}
|
|
1219
|
-
log(request, response2, parsedRequest) {
|
|
1220
|
-
const loggedRequest = prepareRequest(request);
|
|
1221
|
-
const loggedResponse = prepareResponse(response2);
|
|
1222
|
-
const statusColor = getStatusCodeColor(response2.status);
|
|
1223
|
-
const requestInfo = (parsedRequest == null ? void 0 : parsedRequest.operationName) ? `${parsedRequest == null ? void 0 : parsedRequest.operationType} ${parsedRequest == null ? void 0 : parsedRequest.operationName}` : `anonymous ${parsedRequest == null ? void 0 : parsedRequest.operationType}`;
|
|
1224
|
-
console.groupCollapsed(devUtils.formatMessage("%s %s (%c%s%c)"), getTimestamp(), `${requestInfo}`, `color:${statusColor}`, `${response2.status} ${response2.statusText}`, "color:inherit");
|
|
1225
|
-
console.log("Request:", loggedRequest);
|
|
1226
|
-
console.log("Handler:", this);
|
|
1227
|
-
console.log("Response:", loggedResponse);
|
|
1228
|
-
console.groupEnd();
|
|
1229
|
-
}
|
|
1230
|
-
};
|
|
1231
|
-
var MAX_MATCH_SCORE = 3;
|
|
1232
|
-
var MAX_SUGGESTION_COUNT = 4;
|
|
1233
|
-
var TYPE_MATCH_DELTA = 0.5;
|
|
1234
|
-
function groupHandlersByType(handlers) {
|
|
1235
|
-
return handlers.reduce((groups, handler) => {
|
|
1236
|
-
if (handler instanceof RestHandler) {
|
|
1237
|
-
groups.rest.push(handler);
|
|
1238
|
-
}
|
|
1239
|
-
if (handler instanceof GraphQLHandler) {
|
|
1240
|
-
groups.graphql.push(handler);
|
|
1241
|
-
}
|
|
1242
|
-
return groups;
|
|
1243
|
-
}, {
|
|
1244
|
-
rest: [],
|
|
1245
|
-
graphql: []
|
|
1246
|
-
});
|
|
1247
|
-
}
|
|
1248
|
-
function getRestHandlerScore() {
|
|
1249
|
-
return (request, handler) => {
|
|
1250
|
-
const { path, method } = handler.info;
|
|
1251
|
-
if (path instanceof RegExp || method instanceof RegExp) {
|
|
1252
|
-
return Infinity;
|
|
1253
|
-
}
|
|
1254
|
-
const hasSameMethod = isStringEqual(request.method, method);
|
|
1255
|
-
const methodScoreDelta = hasSameMethod ? TYPE_MATCH_DELTA : 0;
|
|
1256
|
-
const requestPublicUrl = getPublicUrlFromRequest(request);
|
|
1257
|
-
const score = (0, import_js_levenshtein.default)(requestPublicUrl, path);
|
|
1258
|
-
return score - methodScoreDelta;
|
|
1259
|
-
};
|
|
1260
|
-
}
|
|
1261
|
-
function getGraphQLHandlerScore(parsedQuery) {
|
|
1262
|
-
return (_, handler) => {
|
|
1263
|
-
if (typeof parsedQuery.operationName === "undefined") {
|
|
1264
|
-
return Infinity;
|
|
1265
|
-
}
|
|
1266
|
-
const { operationType, operationName } = handler.info;
|
|
1267
|
-
if (typeof operationName !== "string") {
|
|
1268
|
-
return Infinity;
|
|
1269
|
-
}
|
|
1270
|
-
const hasSameOperationType = parsedQuery.operationType === operationType;
|
|
1271
|
-
const operationTypeScoreDelta = hasSameOperationType ? TYPE_MATCH_DELTA : 0;
|
|
1272
|
-
const score = (0, import_js_levenshtein.default)(parsedQuery.operationName, operationName);
|
|
1273
|
-
return score - operationTypeScoreDelta;
|
|
1274
|
-
};
|
|
1275
|
-
}
|
|
1276
|
-
function getSuggestedHandler(request, handlers, getScore) {
|
|
1277
|
-
const suggestedHandlers = handlers.reduce((suggestions, handler) => {
|
|
1278
|
-
const score = getScore(request, handler);
|
|
1279
|
-
return suggestions.concat([[score, handler]]);
|
|
1280
|
-
}, []).sort(([leftScore], [rightScore]) => leftScore - rightScore).filter(([score]) => score <= MAX_MATCH_SCORE).slice(0, MAX_SUGGESTION_COUNT).map(([, handler]) => handler);
|
|
1281
|
-
return suggestedHandlers;
|
|
1282
|
-
}
|
|
1283
|
-
function getSuggestedHandlersMessage(handlers) {
|
|
1284
|
-
if (handlers.length > 1) {
|
|
1285
|
-
return `Did you mean to request one of the following resources instead?
|
|
1286
|
-
|
|
1287
|
-
${handlers.map((handler) => ` • ${handler.info.header}`).join("\n")}`;
|
|
1288
|
-
}
|
|
1289
|
-
return `Did you mean to request "${handlers[0].info.header}" instead?`;
|
|
1290
|
-
}
|
|
1291
|
-
function onUnhandledRequest(request, handlers, strategy = "warn") {
|
|
1292
|
-
const parsedGraphQLQuery = tryCatch(() => parseGraphQLRequest(request));
|
|
1293
|
-
function generateHandlerSuggestion() {
|
|
1294
|
-
const handlerGroups = groupHandlersByType(handlers);
|
|
1295
|
-
const relevantHandlers = parsedGraphQLQuery ? handlerGroups.graphql : handlerGroups.rest;
|
|
1296
|
-
const suggestedHandlers = getSuggestedHandler(request, relevantHandlers, parsedGraphQLQuery ? getGraphQLHandlerScore(parsedGraphQLQuery) : getRestHandlerScore());
|
|
1297
|
-
return suggestedHandlers.length > 0 ? getSuggestedHandlersMessage(suggestedHandlers) : "";
|
|
1298
|
-
}
|
|
1299
|
-
function generateUnhandledRequestMessage() {
|
|
1300
|
-
const publicUrl = getPublicUrlFromRequest(request);
|
|
1301
|
-
const requestHeader = parsedGraphQLQuery ? `${parsedGraphQLQuery.operationType} ${parsedGraphQLQuery.operationName} (${request.method} ${publicUrl})` : `${request.method} ${publicUrl}`;
|
|
1302
|
-
const handlerSuggestion = generateHandlerSuggestion();
|
|
1303
|
-
const messageTemplate = [
|
|
1304
|
-
`captured a request without a matching request handler:`,
|
|
1305
|
-
` • ${requestHeader}`,
|
|
1306
|
-
handlerSuggestion,
|
|
1307
|
-
`If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
1308
|
-
Read more: https://mswjs.io/docs/getting-started/mocks`
|
|
1309
|
-
].filter(Boolean);
|
|
1310
|
-
return messageTemplate.join("\n\n");
|
|
1311
|
-
}
|
|
1312
|
-
function applyStrategy(strategy2) {
|
|
1313
|
-
const message = generateUnhandledRequestMessage();
|
|
1314
|
-
switch (strategy2) {
|
|
1315
|
-
case "error": {
|
|
1316
|
-
devUtils.error("Error: %s", message);
|
|
1317
|
-
throw new Error(devUtils.formatMessage('Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'));
|
|
1318
|
-
}
|
|
1319
|
-
case "warn": {
|
|
1320
|
-
devUtils.warn("Warning: %s", message);
|
|
1321
|
-
break;
|
|
1322
|
-
}
|
|
1323
|
-
case "bypass":
|
|
1324
|
-
break;
|
|
1325
|
-
default:
|
|
1326
|
-
throw new Error(devUtils.formatMessage('Failed to react to an unhandled request: unknown strategy "%s". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function as the value of the "onUnhandledRequest" option.', strategy2));
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
if (typeof strategy === "function") {
|
|
1330
|
-
strategy(request, {
|
|
1331
|
-
warning: applyStrategy.bind(null, "warn"),
|
|
1332
|
-
error: applyStrategy.bind(null, "error")
|
|
1333
|
-
});
|
|
1334
|
-
return;
|
|
1335
|
-
}
|
|
1336
|
-
applyStrategy(strategy);
|
|
1337
|
-
}
|
|
1338
|
-
var import_cookies2 = index$4.__exports;
|
|
1339
|
-
function readResponseCookies(request, response2) {
|
|
1340
|
-
import_cookies2.store.add(__spreadProps(__spreadValues({}, request), { url: request.url.toString() }), response2);
|
|
1341
|
-
import_cookies2.store.persist();
|
|
1342
|
-
}
|
|
1343
|
-
async function handleRequest(request, handlers, options, emitter, handleRequestOptions) {
|
|
1344
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1345
|
-
emitter.emit("request:start", request);
|
|
1346
|
-
if (request.headers.get("x-msw-bypass") === "true") {
|
|
1347
|
-
emitter.emit("request:end", request);
|
|
1348
|
-
(_a = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _a.call(handleRequestOptions, request);
|
|
1349
|
-
return;
|
|
1350
|
-
}
|
|
1351
|
-
const [lookupError, lookupResult] = await (0, import_until2.until)(() => {
|
|
1352
|
-
return getResponse(request, handlers, handleRequestOptions == null ? void 0 : handleRequestOptions.resolutionContext);
|
|
1353
|
-
});
|
|
1354
|
-
if (lookupError) {
|
|
1355
|
-
emitter.emit("unhandledException", lookupError, request);
|
|
1356
|
-
throw lookupError;
|
|
1357
|
-
}
|
|
1358
|
-
const { handler, response: response2 } = lookupResult;
|
|
1359
|
-
if (!handler) {
|
|
1360
|
-
onUnhandledRequest(request, handlers, options.onUnhandledRequest);
|
|
1361
|
-
emitter.emit("request:unhandled", request);
|
|
1362
|
-
emitter.emit("request:end", request);
|
|
1363
|
-
(_b = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _b.call(handleRequestOptions, request);
|
|
1364
|
-
return;
|
|
1365
|
-
}
|
|
1366
|
-
if (!response2) {
|
|
1367
|
-
devUtils.warn(`Expected response resolver to return a mocked response Object, but got %s. The original response is going to be used instead.
|
|
1368
|
-
|
|
1369
|
-
• %s
|
|
1370
|
-
%s`, response2, handler.info.header, handler.info.callFrame);
|
|
1371
|
-
emitter.emit("request:end", request);
|
|
1372
|
-
(_c = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _c.call(handleRequestOptions, request);
|
|
1373
|
-
return;
|
|
1374
|
-
}
|
|
1375
|
-
if (response2.passthrough) {
|
|
1376
|
-
emitter.emit("request:end", request);
|
|
1377
|
-
(_d = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _d.call(handleRequestOptions, request);
|
|
1378
|
-
return;
|
|
1379
|
-
}
|
|
1380
|
-
readResponseCookies(request, response2);
|
|
1381
|
-
emitter.emit("request:match", request);
|
|
1382
|
-
const requiredLookupResult = lookupResult;
|
|
1383
|
-
const transformedResponse = ((_e = handleRequestOptions == null ? void 0 : handleRequestOptions.transformResponse) == null ? void 0 : _e.call(handleRequestOptions, response2)) || response2;
|
|
1384
|
-
(_f = handleRequestOptions == null ? void 0 : handleRequestOptions.onMockedResponse) == null ? void 0 : _f.call(handleRequestOptions, transformedResponse, requiredLookupResult);
|
|
1385
|
-
emitter.emit("request:end", request);
|
|
1386
|
-
return transformedResponse;
|
|
1387
|
-
}
|
|
1388
|
-
var import_headers_polyfill9 = index$6;
|
|
1389
|
-
function serializeResponse(source) {
|
|
1390
|
-
return {
|
|
1391
|
-
status: source.status,
|
|
1392
|
-
statusText: source.statusText,
|
|
1393
|
-
headers: (0, import_headers_polyfill9.flattenHeadersObject)((0, import_headers_polyfill9.headersToObject)(source.headers)),
|
|
1394
|
-
body: source.body
|
|
1395
|
-
};
|
|
1396
|
-
}
|
|
1397
|
-
var createRequestListener = (context, options) => {
|
|
1398
|
-
return async (event, message) => {
|
|
1399
|
-
var _a;
|
|
1400
|
-
const messageChannel = new WorkerChannel(event.ports[0]);
|
|
1401
|
-
const request = parseWorkerRequest(message.payload);
|
|
1402
|
-
try {
|
|
1403
|
-
await handleRequest(request, context.requestHandlers, options, context.emitter, {
|
|
1404
|
-
transformResponse,
|
|
1405
|
-
onPassthroughResponse() {
|
|
1406
|
-
messageChannel.postMessage("NOT_FOUND");
|
|
1407
|
-
},
|
|
1408
|
-
async onMockedResponse(response2, { handler, publicRequest, parsedRequest }) {
|
|
1409
|
-
if (response2.body instanceof ReadableStream) {
|
|
1410
|
-
throw new Error(devUtils.formatMessage('Failed to construct a mocked response with a "ReadableStream" body: mocked streams are not supported. Follow https://github.com/mswjs/msw/issues/1336 for more details.'));
|
|
1411
|
-
}
|
|
1412
|
-
const responseInstance = new Response(response2.body, response2);
|
|
1413
|
-
const responseBodyBuffer = await responseInstance.arrayBuffer();
|
|
1414
|
-
const responseBody = response2.body == null ? null : responseBodyBuffer;
|
|
1415
|
-
messageChannel.postMessage("MOCK_RESPONSE", __spreadProps(__spreadValues({}, response2), {
|
|
1416
|
-
body: responseBody
|
|
1417
|
-
}), [responseBodyBuffer]);
|
|
1418
|
-
if (!options.quiet) {
|
|
1419
|
-
context.emitter.once("response:mocked", (response3) => {
|
|
1420
|
-
handler.log(publicRequest, serializeResponse(response3), parsedRequest);
|
|
1421
|
-
});
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
});
|
|
1425
|
-
} catch (error2) {
|
|
1426
|
-
if (error2 instanceof NetworkError) {
|
|
1427
|
-
messageChannel.postMessage("NETWORK_ERROR", {
|
|
1428
|
-
name: error2.name,
|
|
1429
|
-
message: error2.message
|
|
1430
|
-
});
|
|
1431
|
-
return;
|
|
1432
|
-
}
|
|
1433
|
-
if (error2 instanceof Error) {
|
|
1434
|
-
devUtils.error(`Uncaught exception in the request handler for "%s %s":
|
|
1435
|
-
|
|
1436
|
-
%s
|
|
1437
|
-
|
|
1438
|
-
This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses`, request.method, request.url, (_a = error2.stack) != null ? _a : error2);
|
|
1439
|
-
messageChannel.postMessage("MOCK_RESPONSE", {
|
|
1440
|
-
status: 500,
|
|
1441
|
-
statusText: "Request Handler Error",
|
|
1442
|
-
headers: {
|
|
1443
|
-
"Content-Type": "application/json"
|
|
1444
|
-
},
|
|
1445
|
-
body: JSON.stringify({
|
|
1446
|
-
name: error2.name,
|
|
1447
|
-
message: error2.message,
|
|
1448
|
-
stack: error2.stack
|
|
1449
|
-
})
|
|
1450
|
-
});
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
};
|
|
1454
|
-
};
|
|
1455
|
-
function transformResponse(response2) {
|
|
1456
|
-
return {
|
|
1457
|
-
status: response2.status,
|
|
1458
|
-
statusText: response2.statusText,
|
|
1459
|
-
headers: response2.headers.all(),
|
|
1460
|
-
body: response2.body,
|
|
1461
|
-
delay: response2.delay
|
|
1462
|
-
};
|
|
1463
|
-
}
|
|
1464
|
-
async function requestIntegrityCheck(context, serviceWorker) {
|
|
1465
|
-
context.workerChannel.send("INTEGRITY_CHECK_REQUEST");
|
|
1466
|
-
const { payload: actualChecksum } = await context.events.once("INTEGRITY_CHECK_RESPONSE");
|
|
1467
|
-
if (actualChecksum !== "3d6b9f06410d179a7f7404d4bf4c3c70") {
|
|
1468
|
-
throw new Error(`Currently active Service Worker (${actualChecksum}) is behind the latest published one (${"3d6b9f06410d179a7f7404d4bf4c3c70"}).`);
|
|
1469
|
-
}
|
|
1470
|
-
return serviceWorker;
|
|
1471
|
-
}
|
|
1472
|
-
var import_until3 = index$8.__exports;
|
|
1473
|
-
function deferNetworkRequestsUntil(predicatePromise) {
|
|
1474
|
-
const originalXhrSend = window.XMLHttpRequest.prototype.send;
|
|
1475
|
-
window.XMLHttpRequest.prototype.send = function(...args) {
|
|
1476
|
-
(0, import_until3.until)(() => predicatePromise).then(() => {
|
|
1477
|
-
window.XMLHttpRequest.prototype.send = originalXhrSend;
|
|
1478
|
-
this.send(...args);
|
|
1479
|
-
});
|
|
1480
|
-
};
|
|
1481
|
-
const originalFetch = window.fetch;
|
|
1482
|
-
window.fetch = async (...args) => {
|
|
1483
|
-
await (0, import_until3.until)(() => predicatePromise);
|
|
1484
|
-
window.fetch = originalFetch;
|
|
1485
|
-
return window.fetch(...args);
|
|
1486
|
-
};
|
|
1487
|
-
}
|
|
1488
|
-
function createResponseListener(context) {
|
|
1489
|
-
return (_, message) => {
|
|
1490
|
-
var _a;
|
|
1491
|
-
const { payload: responseJson } = message;
|
|
1492
|
-
if ((_a = responseJson.type) == null ? void 0 : _a.includes("opaque")) {
|
|
1493
|
-
return;
|
|
1494
|
-
}
|
|
1495
|
-
const response2 = new Response(responseJson.body || null, responseJson);
|
|
1496
|
-
const isMockedResponse = response2.headers.get("x-powered-by") === "msw";
|
|
1497
|
-
if (isMockedResponse) {
|
|
1498
|
-
context.emitter.emit("response:mocked", response2, responseJson.requestId);
|
|
1499
|
-
} else {
|
|
1500
|
-
context.emitter.emit("response:bypass", response2, responseJson.requestId);
|
|
1501
|
-
}
|
|
1502
|
-
};
|
|
1503
|
-
}
|
|
1504
|
-
function validateWorkerScope(registration, options) {
|
|
1505
|
-
if (!(options == null ? void 0 : options.quiet) && !location.href.startsWith(registration.scope)) {
|
|
1506
|
-
devUtils.warn(`Cannot intercept requests on this page because it's outside of the worker's scope ("${registration.scope}"). If you wish to mock API requests on this page, you must resolve this scope issue.
|
|
1507
|
-
|
|
1508
|
-
- (Recommended) Register the worker at the root level ("/") of your application.
|
|
1509
|
-
- Set the "Service-Worker-Allowed" response header to allow out-of-scope workers.`);
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
var createStartHandler = (context) => {
|
|
1513
|
-
return function start(options, customOptions) {
|
|
1514
|
-
const startWorkerInstance = async () => {
|
|
1515
|
-
context.events.removeAllListeners();
|
|
1516
|
-
context.workerChannel.on("REQUEST", createRequestListener(context, options));
|
|
1517
|
-
context.workerChannel.on("RESPONSE", createResponseListener(context));
|
|
1518
|
-
const instance = await getWorkerInstance(options.serviceWorker.url, options.serviceWorker.options, options.findWorker);
|
|
1519
|
-
const [worker, registration] = instance;
|
|
1520
|
-
if (!worker) {
|
|
1521
|
-
const missingWorkerMessage = (customOptions == null ? void 0 : customOptions.findWorker) ? devUtils.formatMessage(`Failed to locate the Service Worker registration using a custom "findWorker" predicate.
|
|
1522
|
-
|
|
1523
|
-
Please ensure that the custom predicate properly locates the Service Worker registration at "%s".
|
|
1524
|
-
More details: https://mswjs.io/docs/api/setup-worker/start#findworker
|
|
1525
|
-
`, options.serviceWorker.url) : devUtils.formatMessage(`Failed to locate the Service Worker registration.
|
|
1526
|
-
|
|
1527
|
-
This most likely means that the worker script URL "%s" cannot resolve against the actual public hostname (%s). This may happen if your application runs behind a proxy, or has a dynamic hostname.
|
|
1528
|
-
|
|
1529
|
-
Please consider using a custom "serviceWorker.url" option to point to the actual worker script location, or a custom "findWorker" option to resolve the Service Worker registration manually. More details: https://mswjs.io/docs/api/setup-worker/start`, options.serviceWorker.url, location.host);
|
|
1530
|
-
throw new Error(missingWorkerMessage);
|
|
1531
|
-
}
|
|
1532
|
-
context.worker = worker;
|
|
1533
|
-
context.registration = registration;
|
|
1534
|
-
context.events.addListener(window, "beforeunload", () => {
|
|
1535
|
-
if (worker.state !== "redundant") {
|
|
1536
|
-
context.workerChannel.send("CLIENT_CLOSED");
|
|
1537
|
-
}
|
|
1538
|
-
window.clearInterval(context.keepAliveInterval);
|
|
1539
|
-
});
|
|
1540
|
-
const [integrityError] = await (0, import_until4.until)(() => requestIntegrityCheck(context, worker));
|
|
1541
|
-
if (integrityError) {
|
|
1542
|
-
devUtils.error(`Detected outdated Service Worker: ${integrityError.message}
|
|
1543
|
-
|
|
1544
|
-
The mocking is still enabled, but it's highly recommended that you update your Service Worker by running:
|
|
1545
|
-
|
|
1546
|
-
$ npx msw init <PUBLIC_DIR>
|
|
1547
|
-
|
|
1548
|
-
This is necessary to ensure that the Service Worker is in sync with the library to guarantee its stability.
|
|
1549
|
-
If this message still persists after updating, please report an issue: https://github.com/open-draft/msw/issues `);
|
|
1550
|
-
}
|
|
1551
|
-
context.keepAliveInterval = window.setInterval(() => context.workerChannel.send("KEEPALIVE_REQUEST"), 5e3);
|
|
1552
|
-
validateWorkerScope(registration, context.startOptions);
|
|
1553
|
-
return registration;
|
|
1554
|
-
};
|
|
1555
|
-
const workerRegistration = startWorkerInstance().then(async (registration) => {
|
|
1556
|
-
const pendingInstance = registration.installing || registration.waiting;
|
|
1557
|
-
if (pendingInstance) {
|
|
1558
|
-
await new Promise((resolve) => {
|
|
1559
|
-
pendingInstance.addEventListener("statechange", () => {
|
|
1560
|
-
if (pendingInstance.state === "activated") {
|
|
1561
|
-
return resolve();
|
|
1562
|
-
}
|
|
1563
|
-
});
|
|
1564
|
-
});
|
|
1565
|
-
}
|
|
1566
|
-
await enableMocking(context, options).catch((error2) => {
|
|
1567
|
-
throw new Error(`Failed to enable mocking: ${error2 == null ? void 0 : error2.message}`);
|
|
1568
|
-
});
|
|
1569
|
-
return registration;
|
|
1570
|
-
});
|
|
1571
|
-
if (options.waitUntilReady) {
|
|
1572
|
-
deferNetworkRequestsUntil(workerRegistration);
|
|
1573
|
-
}
|
|
1574
|
-
return workerRegistration;
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
function printStopMessage(args = {}) {
|
|
1578
|
-
if (args.quiet) {
|
|
1579
|
-
return;
|
|
1580
|
-
}
|
|
1581
|
-
console.log(`%c${devUtils.formatMessage("Mocking disabled.")}`, "color:orangered;font-weight:bold;");
|
|
1582
|
-
}
|
|
1583
|
-
var createStop = (context) => {
|
|
1584
|
-
return function stop() {
|
|
1585
|
-
var _a;
|
|
1586
|
-
if (!context.isMockingEnabled) {
|
|
1587
|
-
devUtils.warn('Found a redundant "worker.stop()" call. Note that stopping the worker while mocking already stopped has no effect. Consider removing this "worker.stop()" call.');
|
|
1588
|
-
return;
|
|
1589
|
-
}
|
|
1590
|
-
context.workerChannel.send("MOCK_DEACTIVATE");
|
|
1591
|
-
context.isMockingEnabled = false;
|
|
1592
|
-
window.clearInterval(context.keepAliveInterval);
|
|
1593
|
-
printStopMessage({ quiet: (_a = context.startOptions) == null ? void 0 : _a.quiet });
|
|
1594
|
-
};
|
|
1595
|
-
};
|
|
1596
|
-
var DEFAULT_START_OPTIONS = {
|
|
1597
|
-
serviceWorker: {
|
|
1598
|
-
url: "/mockServiceWorker.js",
|
|
1599
|
-
options: null
|
|
1600
|
-
},
|
|
1601
|
-
quiet: false,
|
|
1602
|
-
waitUntilReady: true,
|
|
1603
|
-
onUnhandledRequest: "warn",
|
|
1604
|
-
findWorker(scriptURL, mockServiceWorkerUrl) {
|
|
1605
|
-
return scriptURL === mockServiceWorkerUrl;
|
|
1606
|
-
}
|
|
1607
|
-
};
|
|
1608
|
-
var import_interceptors4 = index$5.__exports;
|
|
1609
|
-
var import_fetch3 = index.__require();
|
|
1610
|
-
var import_XMLHttpRequest = index$1.__require();
|
|
1611
|
-
var import_interceptors3 = index$5.__exports;
|
|
1612
|
-
var noop = () => {
|
|
1613
|
-
throw new Error("Not implemented");
|
|
1614
|
-
};
|
|
1615
|
-
function createResponseFromIsomorphicResponse(response2) {
|
|
1616
|
-
return __spreadProps(__spreadValues({}, response2), {
|
|
1617
|
-
ok: response2.status >= 200 && response2.status < 300,
|
|
1618
|
-
url: "",
|
|
1619
|
-
type: "default",
|
|
1620
|
-
status: response2.status,
|
|
1621
|
-
statusText: response2.statusText,
|
|
1622
|
-
headers: response2.headers,
|
|
1623
|
-
body: new ReadableStream(),
|
|
1624
|
-
redirected: response2.headers.get("Location") != null,
|
|
1625
|
-
async text() {
|
|
1626
|
-
return response2.body || "";
|
|
1627
|
-
},
|
|
1628
|
-
async json() {
|
|
1629
|
-
return JSON.parse(response2.body || "");
|
|
1630
|
-
},
|
|
1631
|
-
async arrayBuffer() {
|
|
1632
|
-
return (0, import_interceptors3.encodeBuffer)(response2.body || "");
|
|
1633
|
-
},
|
|
1634
|
-
bodyUsed: false,
|
|
1635
|
-
formData: noop,
|
|
1636
|
-
blob: noop,
|
|
1637
|
-
clone: noop
|
|
1638
|
-
});
|
|
1639
|
-
}
|
|
1640
|
-
function createFallbackRequestListener(context, options) {
|
|
1641
|
-
const interceptor = new import_interceptors4.BatchInterceptor({
|
|
1642
|
-
name: "fallback",
|
|
1643
|
-
interceptors: [new import_fetch3.FetchInterceptor(), new import_XMLHttpRequest.XMLHttpRequestInterceptor()]
|
|
1644
|
-
});
|
|
1645
|
-
interceptor.on("request", async (request) => {
|
|
1646
|
-
const mockedRequest = new MockedRequest(request.url, __spreadProps(__spreadValues({}, request), {
|
|
1647
|
-
body: await request.arrayBuffer()
|
|
1648
|
-
}));
|
|
1649
|
-
const response2 = await handleRequest(mockedRequest, context.requestHandlers, options, context.emitter, {
|
|
1650
|
-
transformResponse(response3) {
|
|
1651
|
-
return {
|
|
1652
|
-
status: response3.status,
|
|
1653
|
-
statusText: response3.statusText,
|
|
1654
|
-
headers: response3.headers.all(),
|
|
1655
|
-
body: response3.body,
|
|
1656
|
-
delay: response3.delay
|
|
1657
|
-
};
|
|
1658
|
-
},
|
|
1659
|
-
onMockedResponse(_, { handler, publicRequest, parsedRequest }) {
|
|
1660
|
-
if (!options.quiet) {
|
|
1661
|
-
context.emitter.once("response:mocked", (response3) => {
|
|
1662
|
-
handler.log(publicRequest, serializeResponse(response3), parsedRequest);
|
|
1663
|
-
});
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
});
|
|
1667
|
-
if (response2) {
|
|
1668
|
-
request.respondWith(response2);
|
|
1669
|
-
}
|
|
1670
|
-
});
|
|
1671
|
-
interceptor.on("response", (request, response2) => {
|
|
1672
|
-
if (!request.id) {
|
|
1673
|
-
return;
|
|
1674
|
-
}
|
|
1675
|
-
const browserResponse = createResponseFromIsomorphicResponse(response2);
|
|
1676
|
-
if (response2.headers.get("x-powered-by") === "msw") {
|
|
1677
|
-
context.emitter.emit("response:mocked", browserResponse, request.id);
|
|
1678
|
-
} else {
|
|
1679
|
-
context.emitter.emit("response:bypass", browserResponse, request.id);
|
|
1680
|
-
}
|
|
1681
|
-
});
|
|
1682
|
-
interceptor.apply();
|
|
1683
|
-
return interceptor;
|
|
1684
|
-
}
|
|
1685
|
-
function createFallbackStart(context) {
|
|
1686
|
-
return async function start(options) {
|
|
1687
|
-
context.fallbackInterceptor = createFallbackRequestListener(context, options);
|
|
1688
|
-
printStartMessage({
|
|
1689
|
-
message: "Mocking enabled (fallback mode).",
|
|
1690
|
-
quiet: options.quiet
|
|
1691
|
-
});
|
|
1692
|
-
return void 0;
|
|
1693
|
-
};
|
|
1694
|
-
}
|
|
1695
|
-
function createFallbackStop(context) {
|
|
1696
|
-
return function stop() {
|
|
1697
|
-
var _a, _b;
|
|
1698
|
-
(_a = context.fallbackInterceptor) == null ? void 0 : _a.dispose();
|
|
1699
|
-
printStopMessage({ quiet: (_b = context.startOptions) == null ? void 0 : _b.quiet });
|
|
1700
|
-
};
|
|
1701
|
-
}
|
|
1702
|
-
var import_outvariant3 = index$a.__exports;
|
|
1703
|
-
var import_strict_event_emitter = index$2.__require();
|
|
1704
|
-
function pipeEvents(source, destination) {
|
|
1705
|
-
const rawEmit = source.emit;
|
|
1706
|
-
if (rawEmit._isPiped) {
|
|
1707
|
-
return;
|
|
1708
|
-
}
|
|
1709
|
-
source.emit = function(event, ...data2) {
|
|
1710
|
-
destination.emit(event, ...data2);
|
|
1711
|
-
return rawEmit.call(this, event, ...data2);
|
|
1712
|
-
};
|
|
1713
|
-
source.emit._isPiped = true;
|
|
1714
|
-
}
|
|
1715
|
-
function toReadonlyArray(source) {
|
|
1716
|
-
const clone = [...source];
|
|
1717
|
-
Object.freeze(clone);
|
|
1718
|
-
return clone;
|
|
1719
|
-
}
|
|
1720
|
-
var SetupApi = class {
|
|
1721
|
-
constructor(...initialHandlers) {
|
|
1722
|
-
this.validateHandlers(...initialHandlers);
|
|
1723
|
-
this.initialHandlers = toReadonlyArray(initialHandlers);
|
|
1724
|
-
this.currentHandlers = [...initialHandlers];
|
|
1725
|
-
this.emitter = new import_strict_event_emitter.StrictEventEmitter();
|
|
1726
|
-
this.publicEmitter = new import_strict_event_emitter.StrictEventEmitter();
|
|
1727
|
-
pipeEvents(this.emitter, this.publicEmitter);
|
|
1728
|
-
this.events = this.createLifeCycleEvents();
|
|
1729
|
-
}
|
|
1730
|
-
validateHandlers(...handlers) {
|
|
1731
|
-
for (const handler of handlers) {
|
|
1732
|
-
(0, import_outvariant3.invariant)(!Array.isArray(handler), devUtils.formatMessage('Failed to construct "%s" given an Array of request handlers. Make sure you spread the request handlers when calling the respective setup function.'), this.constructor.name);
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
dispose() {
|
|
1736
|
-
this.emitter.removeAllListeners();
|
|
1737
|
-
this.publicEmitter.removeAllListeners();
|
|
1738
|
-
}
|
|
1739
|
-
use(...runtimeHandlers) {
|
|
1740
|
-
this.currentHandlers.unshift(...runtimeHandlers);
|
|
1741
|
-
}
|
|
1742
|
-
restoreHandlers() {
|
|
1743
|
-
this.currentHandlers.forEach((handler) => {
|
|
1744
|
-
handler.markAsSkipped(false);
|
|
1745
|
-
});
|
|
1746
|
-
}
|
|
1747
|
-
resetHandlers(...nextHandlers) {
|
|
1748
|
-
this.currentHandlers = nextHandlers.length > 0 ? [...nextHandlers] : [...this.initialHandlers];
|
|
1749
|
-
}
|
|
1750
|
-
listHandlers() {
|
|
1751
|
-
return toReadonlyArray(this.currentHandlers);
|
|
1752
|
-
}
|
|
1753
|
-
createLifeCycleEvents() {
|
|
1754
|
-
return {
|
|
1755
|
-
on: (...args) => {
|
|
1756
|
-
return this.publicEmitter.on(...args);
|
|
1757
|
-
},
|
|
1758
|
-
removeListener: (...args) => {
|
|
1759
|
-
return this.publicEmitter.removeListener(...args);
|
|
1760
|
-
},
|
|
1761
|
-
removeAllListeners: (...args) => {
|
|
1762
|
-
return this.publicEmitter.removeAllListeners(...args);
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
}
|
|
1766
|
-
};
|
|
1767
|
-
var SetupWorkerApi = class extends SetupApi {
|
|
1768
|
-
constructor(...handlers) {
|
|
1769
|
-
super(...handlers);
|
|
1770
|
-
this.startHandler = null;
|
|
1771
|
-
this.stopHandler = null;
|
|
1772
|
-
(0, import_outvariant4.invariant)(!(0, import_is_node_process3.isNodeProcess)(), devUtils.formatMessage("Failed to execute `setupWorker` in a non-browser environment. Consider using `setupServer` for Node.js environment instead."));
|
|
1773
|
-
this.listeners = [];
|
|
1774
|
-
this.context = this.createWorkerContext();
|
|
1775
|
-
}
|
|
1776
|
-
createWorkerContext() {
|
|
1777
|
-
const context = {
|
|
1778
|
-
isMockingEnabled: false,
|
|
1779
|
-
startOptions: null,
|
|
1780
|
-
worker: null,
|
|
1781
|
-
registration: null,
|
|
1782
|
-
requestHandlers: this.currentHandlers,
|
|
1783
|
-
emitter: this.emitter,
|
|
1784
|
-
workerChannel: {
|
|
1785
|
-
on: (eventType, callback) => {
|
|
1786
|
-
this.context.events.addListener(navigator.serviceWorker, "message", (event) => {
|
|
1787
|
-
if (event.source !== this.context.worker) {
|
|
1788
|
-
return;
|
|
1789
|
-
}
|
|
1790
|
-
const message = event.data;
|
|
1791
|
-
if (!message) {
|
|
1792
|
-
return;
|
|
1793
|
-
}
|
|
1794
|
-
if (message.type === eventType) {
|
|
1795
|
-
callback(event, message);
|
|
1796
|
-
}
|
|
1797
|
-
});
|
|
1798
|
-
},
|
|
1799
|
-
send: (type) => {
|
|
1800
|
-
var _a;
|
|
1801
|
-
(_a = this.context.worker) == null ? void 0 : _a.postMessage(type);
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
|
-
events: {
|
|
1805
|
-
addListener: (target, eventType, callback) => {
|
|
1806
|
-
target.addEventListener(eventType, callback);
|
|
1807
|
-
this.listeners.push({ eventType, target, callback });
|
|
1808
|
-
return () => {
|
|
1809
|
-
target.removeEventListener(eventType, callback);
|
|
1810
|
-
};
|
|
1811
|
-
},
|
|
1812
|
-
removeAllListeners: () => {
|
|
1813
|
-
for (const { target, eventType, callback } of this.listeners) {
|
|
1814
|
-
target.removeEventListener(eventType, callback);
|
|
1815
|
-
}
|
|
1816
|
-
this.listeners = [];
|
|
1817
|
-
},
|
|
1818
|
-
once: (eventType) => {
|
|
1819
|
-
const bindings = [];
|
|
1820
|
-
return new Promise((resolve, reject) => {
|
|
1821
|
-
const handleIncomingMessage = (event) => {
|
|
1822
|
-
try {
|
|
1823
|
-
const message = event.data;
|
|
1824
|
-
if (message.type === eventType) {
|
|
1825
|
-
resolve(message);
|
|
1826
|
-
}
|
|
1827
|
-
} catch (error2) {
|
|
1828
|
-
reject(error2);
|
|
1829
|
-
}
|
|
1830
|
-
};
|
|
1831
|
-
bindings.push(this.context.events.addListener(navigator.serviceWorker, "message", handleIncomingMessage), this.context.events.addListener(navigator.serviceWorker, "messageerror", reject));
|
|
1832
|
-
}).finally(() => {
|
|
1833
|
-
bindings.forEach((unbind) => unbind());
|
|
1834
|
-
});
|
|
1835
|
-
}
|
|
1836
|
-
},
|
|
1837
|
-
useFallbackMode: !("serviceWorker" in navigator) || location.protocol === "file:"
|
|
1838
|
-
};
|
|
1839
|
-
Object.defineProperties(context, {
|
|
1840
|
-
requestHandlers: {
|
|
1841
|
-
get: () => this.currentHandlers
|
|
1842
|
-
}
|
|
1843
|
-
});
|
|
1844
|
-
this.startHandler = context.useFallbackMode ? createFallbackStart(context) : createStartHandler(context);
|
|
1845
|
-
this.stopHandler = context.useFallbackMode ? createFallbackStop(context) : createStop(context);
|
|
1846
|
-
return context;
|
|
1847
|
-
}
|
|
1848
|
-
async start(options = {}) {
|
|
1849
|
-
this.context.startOptions = mergeRight(DEFAULT_START_OPTIONS, options);
|
|
1850
|
-
return await this.startHandler(this.context.startOptions, options);
|
|
1851
|
-
}
|
|
1852
|
-
printHandlers() {
|
|
1853
|
-
const handlers = this.listHandlers();
|
|
1854
|
-
handlers.forEach((handler) => {
|
|
1855
|
-
const { header, callFrame } = handler.info;
|
|
1856
|
-
const pragma = handler.info.hasOwnProperty("operationType") ? "[graphql]" : "[rest]";
|
|
1857
|
-
console.groupCollapsed(`${pragma} ${header}`);
|
|
1858
|
-
if (callFrame) {
|
|
1859
|
-
console.log(`Declaration: ${callFrame}`);
|
|
1860
|
-
}
|
|
1861
|
-
console.log("Handler:", handler);
|
|
1862
|
-
console.groupEnd();
|
|
1863
|
-
});
|
|
1864
|
-
}
|
|
1865
|
-
stop() {
|
|
1866
|
-
super.dispose();
|
|
1867
|
-
this.context.events.removeAllListeners();
|
|
1868
|
-
this.context.emitter.removeAllListeners();
|
|
1869
|
-
this.stopHandler();
|
|
1870
|
-
}
|
|
1871
|
-
};
|
|
1872
|
-
function setupWorker(...handlers) {
|
|
1873
|
-
return new SetupWorkerApi(...handlers);
|
|
1874
|
-
}
|
|
1875
|
-
function createRestHandler(method) {
|
|
1876
|
-
return (path, resolver) => {
|
|
1877
|
-
return new RestHandler(method, path, resolver);
|
|
1878
|
-
};
|
|
1879
|
-
}
|
|
1880
|
-
var rest = {
|
|
1881
|
-
all: createRestHandler(/.+/),
|
|
1882
|
-
head: createRestHandler(
|
|
1883
|
-
"HEAD"
|
|
1884
|
-
/* HEAD */
|
|
1885
|
-
),
|
|
1886
|
-
get: createRestHandler(
|
|
1887
|
-
"GET"
|
|
1888
|
-
/* GET */
|
|
1889
|
-
),
|
|
1890
|
-
post: createRestHandler(
|
|
1891
|
-
"POST"
|
|
1892
|
-
/* POST */
|
|
1893
|
-
),
|
|
1894
|
-
put: createRestHandler(
|
|
1895
|
-
"PUT"
|
|
1896
|
-
/* PUT */
|
|
1897
|
-
),
|
|
1898
|
-
delete: createRestHandler(
|
|
1899
|
-
"DELETE"
|
|
1900
|
-
/* DELETE */
|
|
1901
|
-
),
|
|
1902
|
-
patch: createRestHandler(
|
|
1903
|
-
"PATCH"
|
|
1904
|
-
/* PATCH */
|
|
1905
|
-
),
|
|
1906
|
-
options: createRestHandler(
|
|
1907
|
-
"OPTIONS"
|
|
1908
|
-
/* OPTIONS */
|
|
1909
|
-
)
|
|
1910
|
-
};
|
|
1911
|
-
function createScopedGraphQLHandler(operationType, url) {
|
|
1912
|
-
return (operationName, resolver) => {
|
|
1913
|
-
return new GraphQLHandler(operationType, operationName, url, resolver);
|
|
1914
|
-
};
|
|
1915
|
-
}
|
|
1916
|
-
function createGraphQLOperationHandler(url) {
|
|
1917
|
-
return (resolver) => {
|
|
1918
|
-
return new GraphQLHandler("all", new RegExp(".*"), url, resolver);
|
|
1919
|
-
};
|
|
1920
|
-
}
|
|
1921
|
-
var standardGraphQLHandlers = {
|
|
1922
|
-
operation: createGraphQLOperationHandler("*"),
|
|
1923
|
-
query: createScopedGraphQLHandler("query", "*"),
|
|
1924
|
-
mutation: createScopedGraphQLHandler("mutation", "*")
|
|
1925
|
-
};
|
|
1926
|
-
function createGraphQLLink(url) {
|
|
1927
|
-
return {
|
|
1928
|
-
operation: createGraphQLOperationHandler(url),
|
|
1929
|
-
query: createScopedGraphQLHandler("query", url),
|
|
1930
|
-
mutation: createScopedGraphQLHandler("mutation", url)
|
|
1931
|
-
};
|
|
1932
|
-
}
|
|
1933
|
-
var graphql = __spreadProps(__spreadValues({}, standardGraphQLHandlers), {
|
|
1934
|
-
link: createGraphQLLink
|
|
1935
|
-
});
|
|
1936
|
-
module.exports = lib;
|
|
1937
|
-
//# sourceMappingURL=index.cjs.map
|