@slicemachine/manager 0.1.1-dev-plugins.3
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/LICENSE +202 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs +26 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.js +25 -0
- package/dist/__node_modules/@mswjs/cookies/lib/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs +175 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.js +174 -0
- package/dist/__node_modules/@mswjs/cookies/lib/store.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs +92 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js +93 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs +52 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js +53 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs +176 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js +175 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs +186 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js +187 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs +7 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js +8 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs +54 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js +53 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs +554 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js +554 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs +83 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js +83 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs +57 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js +57 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs +51 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js +51 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs +41 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js +41 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs +319 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js +319 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs +327 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js +326 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs +24 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js +25 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs +148 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js +149 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs +13 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js +14 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs +18 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js +19 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs +23 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js +23 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js +26 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs +14 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs.map +1 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js +15 -0
- package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/index.cjs +9 -0
- package/dist/__node_modules/@open-draft/until/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/index.js +10 -0
- package/dist/__node_modules/@open-draft/until/lib/index.js.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/until.cjs +15 -0
- package/dist/__node_modules/@open-draft/until/lib/until.cjs.map +1 -0
- package/dist/__node_modules/@open-draft/until/lib/until.js +16 -0
- package/dist/__node_modules/@open-draft/until/lib/until.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs +144 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js +144 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs +226 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js +226 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs +1396 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js +1396 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/dom.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs +261 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js +261 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/entities.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs +18 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js +18 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/index.js.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs +588 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs.map +1 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js +588 -0
- package/dist/__node_modules/@xmldom/xmldom/lib/sax.js.map +1 -0
- package/dist/__node_modules/busboy/lib/index.cjs +51 -0
- package/dist/__node_modules/busboy/lib/index.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/index.js +52 -0
- package/dist/__node_modules/busboy/lib/index.js.map +1 -0
- package/dist/__node_modules/busboy/lib/types/multipart.cjs +1046 -0
- package/dist/__node_modules/busboy/lib/types/multipart.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/types/multipart.js +1047 -0
- package/dist/__node_modules/busboy/lib/types/multipart.js.map +1 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.cjs +545 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.js +546 -0
- package/dist/__node_modules/busboy/lib/types/urlencoded.js.map +1 -0
- package/dist/__node_modules/busboy/lib/utils.cjs +1681 -0
- package/dist/__node_modules/busboy/lib/utils.cjs.map +1 -0
- package/dist/__node_modules/busboy/lib/utils.js +1682 -0
- package/dist/__node_modules/busboy/lib/utils.js.map +1 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs +135 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js +136 -0
- package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.js +6 -0
- package/dist/__node_modules/common-tags/es/commaLists/commaLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js +6 -0
- package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs +7 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js +6 -0
- package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js.map +1 -0
- package/dist/__node_modules/common-tags/es/html/html.cjs +9 -0
- package/dist/__node_modules/common-tags/es/html/html.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/html/html.js +8 -0
- package/dist/__node_modules/common-tags/es/html/html.js.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs +32 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js +33 -0
- package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js +6 -0
- package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs +6 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.js +5 -0
- package/dist/__node_modules/common-tags/es/oneLine/oneLine.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs +7 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js +6 -0
- package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs +6 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js +5 -0
- package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js.map +1 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs +19 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js +20 -0
- package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs +13 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js +14 -0
- package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs +17 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js +18 -0
- package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs +9 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js +8 -0
- package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js.map +1 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs +17 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js +18 -0
- package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs +7 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js +8 -0
- package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +35 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js +36 -0
- package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs +6 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js +5 -0
- package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js.map +1 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs +21 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs.map +1 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js +22 -0
- package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.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/debug/__node_modules/ms/index.cjs +122 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.cjs.map +1 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.js +122 -0
- package/dist/__node_modules/debug/__node_modules/ms/index.js.map +1 -0
- package/dist/__node_modules/debug/src/browser.cjs +165 -0
- package/dist/__node_modules/debug/src/browser.cjs.map +1 -0
- package/dist/__node_modules/debug/src/browser.js +164 -0
- package/dist/__node_modules/debug/src/browser.js.map +1 -0
- package/dist/__node_modules/debug/src/common.cjs +161 -0
- package/dist/__node_modules/debug/src/common.cjs.map +1 -0
- package/dist/__node_modules/debug/src/common.js +162 -0
- package/dist/__node_modules/debug/src/common.js.map +1 -0
- package/dist/__node_modules/devalue/src/constants.cjs +15 -0
- package/dist/__node_modules/devalue/src/constants.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/constants.js +15 -0
- package/dist/__node_modules/devalue/src/constants.js.map +1 -0
- package/dist/__node_modules/devalue/src/parse.cjs +95 -0
- package/dist/__node_modules/devalue/src/parse.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/parse.js +95 -0
- package/dist/__node_modules/devalue/src/parse.js.map +1 -0
- package/dist/__node_modules/devalue/src/stringify.cjs +140 -0
- package/dist/__node_modules/devalue/src/stringify.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/stringify.js +140 -0
- package/dist/__node_modules/devalue/src/stringify.js.map +1 -0
- package/dist/__node_modules/devalue/src/uneval.cjs +4 -0
- package/dist/__node_modules/devalue/src/uneval.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/uneval.js +3 -0
- package/dist/__node_modules/devalue/src/uneval.js.map +1 -0
- package/dist/__node_modules/devalue/src/utils.cjs +68 -0
- package/dist/__node_modules/devalue/src/utils.cjs.map +1 -0
- package/dist/__node_modules/devalue/src/utils.js +68 -0
- package/dist/__node_modules/devalue/src/utils.js.map +1 -0
- package/dist/__node_modules/fetch-blob/file.cjs +61 -0
- package/dist/__node_modules/fetch-blob/file.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/file.js +61 -0
- package/dist/__node_modules/fetch-blob/file.js.map +1 -0
- package/dist/__node_modules/fetch-blob/index.cjs +217 -0
- package/dist/__node_modules/fetch-blob/index.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/index.js +217 -0
- package/dist/__node_modules/fetch-blob/index.js.map +1 -0
- package/dist/__node_modules/fetch-blob/streams.cjs +43 -0
- package/dist/__node_modules/fetch-blob/streams.cjs.map +1 -0
- package/dist/__node_modules/fetch-blob/streams.js +42 -0
- package/dist/__node_modules/fetch-blob/streams.js.map +1 -0
- package/dist/__node_modules/file-type/core.cjs +1147 -0
- package/dist/__node_modules/file-type/core.cjs.map +1 -0
- package/dist/__node_modules/file-type/core.js +1147 -0
- package/dist/__node_modules/file-type/core.js.map +1 -0
- package/dist/__node_modules/file-type/util.cjs +27 -0
- package/dist/__node_modules/file-type/util.cjs.map +1 -0
- package/dist/__node_modules/file-type/util.js +27 -0
- package/dist/__node_modules/file-type/util.js.map +1 -0
- package/dist/__node_modules/formdata-node/lib/browser.cjs +16 -0
- package/dist/__node_modules/formdata-node/lib/browser.cjs.map +1 -0
- package/dist/__node_modules/formdata-node/lib/browser.js +16 -0
- package/dist/__node_modules/formdata-node/lib/browser.js.map +1 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.cjs +116 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.js +116 -0
- package/dist/__node_modules/formdata-polyfill/esm.min.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/Either.cjs +14 -0
- package/dist/__node_modules/fp-ts/es6/Either.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/Either.js +14 -0
- package/dist/__node_modules/fp-ts/es6/Either.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/function.cjs +33 -0
- package/dist/__node_modules/fp-ts/es6/function.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/function.js +33 -0
- package/dist/__node_modules/fp-ts/es6/function.js.map +1 -0
- package/dist/__node_modules/fp-ts/es6/internal.cjs +18 -0
- package/dist/__node_modules/fp-ts/es6/internal.cjs.map +1 -0
- package/dist/__node_modules/fp-ts/es6/internal.js +18 -0
- package/dist/__node_modules/fp-ts/es6/internal.js.map +1 -0
- package/dist/__node_modules/get-port/index.cjs +113 -0
- package/dist/__node_modules/get-port/index.cjs.map +1 -0
- package/dist/__node_modules/get-port/index.js +114 -0
- package/dist/__node_modules/get-port/index.js.map +1 -0
- package/dist/__node_modules/graphql/error/GraphQLError.cjs +162 -0
- package/dist/__node_modules/graphql/error/GraphQLError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/GraphQLError.js +162 -0
- package/dist/__node_modules/graphql/error/GraphQLError.js.map +1 -0
- package/dist/__node_modules/graphql/error/locatedError.cjs +23 -0
- package/dist/__node_modules/graphql/error/locatedError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/locatedError.js +23 -0
- package/dist/__node_modules/graphql/error/locatedError.js.map +1 -0
- package/dist/__node_modules/graphql/error/syntaxError.cjs +11 -0
- package/dist/__node_modules/graphql/error/syntaxError.cjs.map +1 -0
- package/dist/__node_modules/graphql/error/syntaxError.js +11 -0
- package/dist/__node_modules/graphql/error/syntaxError.js.map +1 -0
- package/dist/__node_modules/graphql/execution/collectFields.cjs +128 -0
- package/dist/__node_modules/graphql/execution/collectFields.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/collectFields.js +128 -0
- package/dist/__node_modules/graphql/execution/collectFields.js.map +1 -0
- package/dist/__node_modules/graphql/execution/execute.cjs +600 -0
- package/dist/__node_modules/graphql/execution/execute.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/execute.js +600 -0
- package/dist/__node_modules/graphql/execution/execute.js.map +1 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs +46 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js +46 -0
- package/dist/__node_modules/graphql/execution/mapAsyncIterator.js.map +1 -0
- package/dist/__node_modules/graphql/execution/subscribe.cjs +121 -0
- package/dist/__node_modules/graphql/execution/subscribe.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/subscribe.js +121 -0
- package/dist/__node_modules/graphql/execution/subscribe.js.map +1 -0
- package/dist/__node_modules/graphql/execution/values.cjs +184 -0
- package/dist/__node_modules/graphql/execution/values.cjs.map +1 -0
- package/dist/__node_modules/graphql/execution/values.js +184 -0
- package/dist/__node_modules/graphql/execution/values.js.map +1 -0
- package/dist/__node_modules/graphql/graphql.cjs +67 -0
- package/dist/__node_modules/graphql/graphql.cjs.map +1 -0
- package/dist/__node_modules/graphql/graphql.js +67 -0
- package/dist/__node_modules/graphql/graphql.js.map +1 -0
- package/dist/__node_modules/graphql/index.cjs +320 -0
- package/dist/__node_modules/graphql/index.cjs.map +1 -0
- package/dist/__node_modules/graphql/index.js +299 -0
- package/dist/__node_modules/graphql/index.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/Path.cjs +21 -0
- package/dist/__node_modules/graphql/jsutils/Path.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/Path.js +21 -0
- package/dist/__node_modules/graphql/jsutils/Path.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs +10 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.js +10 -0
- package/dist/__node_modules/graphql/jsutils/devAssert.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs +24 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.js +24 -0
- package/dist/__node_modules/graphql/jsutils/didYouMean.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs +17 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.js +17 -0
- package/dist/__node_modules/graphql/jsutils/groupBy.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.js +7 -0
- package/dist/__node_modules/graphql/jsutils/identityFunc.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/inspect.cjs +85 -0
- package/dist/__node_modules/graphql/jsutils/inspect.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/inspect.js +85 -0
- package/dist/__node_modules/graphql/jsutils/inspect.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs +41 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.js +41 -0
- package/dist/__node_modules/graphql/jsutils/instanceOf.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/invariant.cjs +12 -0
- package/dist/__node_modules/graphql/jsutils/invariant.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/invariant.js +12 -0
- package/dist/__node_modules/graphql/jsutils/invariant.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isIterableObject.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs +7 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.js +7 -0
- package/dist/__node_modules/graphql/jsutils/isPromise.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.js +11 -0
- package/dist/__node_modules/graphql/jsutils/keyMap.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.js +11 -0
- package/dist/__node_modules/graphql/jsutils/keyValMap.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs +11 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.js +11 -0
- package/dist/__node_modules/graphql/jsutils/mapValue.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs +28 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.js +28 -0
- package/dist/__node_modules/graphql/jsutils/memoize3.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs +47 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js +47 -0
- package/dist/__node_modules/graphql/jsutils/naturalCompare.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs +9 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.js +9 -0
- package/dist/__node_modules/graphql/jsutils/printPathArray.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs +13 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js +13 -0
- package/dist/__node_modules/graphql/jsutils/promiseForObject.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs +12 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js +12 -0
- package/dist/__node_modules/graphql/jsutils/promiseReduce.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs +94 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.js +94 -0
- package/dist/__node_modules/graphql/jsutils/suggestionList.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toError.cjs +15 -0
- package/dist/__node_modules/graphql/jsutils/toError.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toError.js +15 -0
- package/dist/__node_modules/graphql/jsutils/toError.js.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs +17 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.cjs.map +1 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.js +17 -0
- package/dist/__node_modules/graphql/jsutils/toObjMap.js.map +1 -0
- package/dist/__node_modules/graphql/language/ast.cjs +175 -0
- package/dist/__node_modules/graphql/language/ast.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/ast.js +176 -0
- package/dist/__node_modules/graphql/language/ast.js.map +1 -0
- package/dist/__node_modules/graphql/language/blockString.cjs +109 -0
- package/dist/__node_modules/graphql/language/blockString.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/blockString.js +109 -0
- package/dist/__node_modules/graphql/language/blockString.js.map +1 -0
- package/dist/__node_modules/graphql/language/characterClasses.cjs +23 -0
- package/dist/__node_modules/graphql/language/characterClasses.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/characterClasses.js +23 -0
- package/dist/__node_modules/graphql/language/characterClasses.js.map +1 -0
- package/dist/__node_modules/graphql/language/directiveLocation.cjs +25 -0
- package/dist/__node_modules/graphql/language/directiveLocation.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/directiveLocation.js +26 -0
- package/dist/__node_modules/graphql/language/directiveLocation.js.map +1 -0
- package/dist/__node_modules/graphql/language/kinds.cjs +49 -0
- package/dist/__node_modules/graphql/language/kinds.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/kinds.js +50 -0
- package/dist/__node_modules/graphql/language/kinds.js.map +1 -0
- package/dist/__node_modules/graphql/language/lexer.cjs +509 -0
- package/dist/__node_modules/graphql/language/lexer.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/lexer.js +509 -0
- package/dist/__node_modules/graphql/language/lexer.js.map +1 -0
- package/dist/__node_modules/graphql/language/location.cjs +22 -0
- package/dist/__node_modules/graphql/language/location.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/location.js +22 -0
- package/dist/__node_modules/graphql/language/location.js.map +1 -0
- package/dist/__node_modules/graphql/language/parser.cjs +1283 -0
- package/dist/__node_modules/graphql/language/parser.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/parser.js +1283 -0
- package/dist/__node_modules/graphql/language/parser.js.map +1 -0
- package/dist/__node_modules/graphql/language/predicates.cjs +44 -0
- package/dist/__node_modules/graphql/language/predicates.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/predicates.js +44 -0
- package/dist/__node_modules/graphql/language/predicates.js.map +1 -0
- package/dist/__node_modules/graphql/language/printLocation.cjs +51 -0
- package/dist/__node_modules/graphql/language/printLocation.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printLocation.js +51 -0
- package/dist/__node_modules/graphql/language/printLocation.js.map +1 -0
- package/dist/__node_modules/graphql/language/printString.cjs +178 -0
- package/dist/__node_modules/graphql/language/printString.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printString.js +178 -0
- package/dist/__node_modules/graphql/language/printString.js.map +1 -0
- package/dist/__node_modules/graphql/language/printer.cjs +245 -0
- package/dist/__node_modules/graphql/language/printer.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/printer.js +245 -0
- package/dist/__node_modules/graphql/language/printer.js.map +1 -0
- package/dist/__node_modules/graphql/language/source.cjs +33 -0
- package/dist/__node_modules/graphql/language/source.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/source.js +33 -0
- package/dist/__node_modules/graphql/language/source.js.map +1 -0
- package/dist/__node_modules/graphql/language/tokenKind.cjs +28 -0
- package/dist/__node_modules/graphql/language/tokenKind.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/tokenKind.js +29 -0
- package/dist/__node_modules/graphql/language/tokenKind.js.map +1 -0
- package/dist/__node_modules/graphql/language/visitor.cjs +200 -0
- package/dist/__node_modules/graphql/language/visitor.cjs.map +1 -0
- package/dist/__node_modules/graphql/language/visitor.js +200 -0
- package/dist/__node_modules/graphql/language/visitor.js.map +1 -0
- package/dist/__node_modules/graphql/type/assertName.cjs +34 -0
- package/dist/__node_modules/graphql/type/assertName.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/assertName.js +34 -0
- package/dist/__node_modules/graphql/type/assertName.js.map +1 -0
- package/dist/__node_modules/graphql/type/definition.cjs +762 -0
- package/dist/__node_modules/graphql/type/definition.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/definition.js +762 -0
- package/dist/__node_modules/graphql/type/definition.js.map +1 -0
- package/dist/__node_modules/graphql/type/directives.cjs +139 -0
- package/dist/__node_modules/graphql/type/directives.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/directives.js +139 -0
- package/dist/__node_modules/graphql/type/directives.js.map +1 -0
- package/dist/__node_modules/graphql/type/introspection.cjs +495 -0
- package/dist/__node_modules/graphql/type/introspection.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/introspection.js +496 -0
- package/dist/__node_modules/graphql/type/introspection.js.map +1 -0
- package/dist/__node_modules/graphql/type/scalars.cjs +248 -0
- package/dist/__node_modules/graphql/type/scalars.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/scalars.js +248 -0
- package/dist/__node_modules/graphql/type/scalars.js.map +1 -0
- package/dist/__node_modules/graphql/type/schema.cjs +223 -0
- package/dist/__node_modules/graphql/type/schema.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/schema.js +223 -0
- package/dist/__node_modules/graphql/type/schema.js.map +1 -0
- package/dist/__node_modules/graphql/type/validate.cjs +428 -0
- package/dist/__node_modules/graphql/type/validate.cjs.map +1 -0
- package/dist/__node_modules/graphql/type/validate.js +428 -0
- package/dist/__node_modules/graphql/type/validate.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs +257 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.js +257 -0
- package/dist/__node_modules/graphql/utilities/TypeInfo.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs +28 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.js +28 -0
- package/dist/__node_modules/graphql/utilities/assertValidName.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs +111 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.js +111 -0
- package/dist/__node_modules/graphql/utilities/astFromValue.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs +62 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js +62 -0
- package/dist/__node_modules/graphql/utilities/buildASTSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs +264 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js +264 -0
- package/dist/__node_modules/graphql/utilities/buildClientSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs +133 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js +133 -0
- package/dist/__node_modules/graphql/utilities/coerceInputValue.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/concatAST.cjs +15 -0
- package/dist/__node_modules/graphql/utilities/concatAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/concatAST.js +15 -0
- package/dist/__node_modules/graphql/utilities/concatAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs +448 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.js +448 -0
- package/dist/__node_modules/graphql/utilities/extendSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs +384 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js +386 -0
- package/dist/__node_modules/graphql/utilities/findBreakingChanges.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs +119 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js +119 -0
- package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs +22 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.js +22 -0
- package/dist/__node_modules/graphql/utilities/getOperationAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs +43 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js +43 -0
- package/dist/__node_modules/graphql/utilities/getOperationRootType.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs +24 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js +24 -0
- package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs +129 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js +129 -0
- package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/printSchema.cjs +192 -0
- package/dist/__node_modules/graphql/utilities/printSchema.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/printSchema.js +192 -0
- package/dist/__node_modules/graphql/utilities/printSchema.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs +57 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.js +57 -0
- package/dist/__node_modules/graphql/utilities/separateOperations.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs +30 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.js +30 -0
- package/dist/__node_modules/graphql/utilities/sortValueNode.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs +35 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js +35 -0
- package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs +58 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.js +58 -0
- package/dist/__node_modules/graphql/utilities/typeComparators.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs +20 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.js +20 -0
- package/dist/__node_modules/graphql/utilities/typeFromAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs +100 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.js +100 -0
- package/dist/__node_modules/graphql/utilities/valueFromAST.js.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs +32 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs.map +1 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js +32 -0
- package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js.map +1 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs +170 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.js +170 -0
- package/dist/__node_modules/graphql/validation/ValidationContext.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs +24 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +24 -0
- package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs +80 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +80 -0
- package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs +43 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +43 -0
- package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs +73 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +73 -0
- package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs +110 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js +110 -0
- package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs +20 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +20 -0
- package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs +55 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js +55 -0
- package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs +28 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +28 -0
- package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs +34 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +34 -0
- package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs +53 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +53 -0
- package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs +34 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +34 -0
- package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs +41 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +41 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs +477 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +477 -0
- package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs +55 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +55 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs +111 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +111 -0
- package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs +97 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +97 -0
- package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs +42 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js +42 -0
- package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs +62 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +62 -0
- package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs +47 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +47 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs +29 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +29 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs +63 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +63 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs +50 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +50 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs +59 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +59 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs +27 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +27 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +38 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs +32 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +32 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs +48 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +48 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs +41 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +41 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs +30 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +30 -0
- package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs +132 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +132 -0
- package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs +27 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +27 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs +64 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +64 -0
- package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs +89 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +89 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs +24 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +24 -0
- package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.map +1 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs +84 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.js +84 -0
- package/dist/__node_modules/graphql/validation/specifiedRules.js.map +1 -0
- package/dist/__node_modules/graphql/validation/validate.cjs +72 -0
- package/dist/__node_modules/graphql/validation/validate.cjs.map +1 -0
- package/dist/__node_modules/graphql/validation/validate.js +72 -0
- package/dist/__node_modules/graphql/validation/validate.js.map +1 -0
- package/dist/__node_modules/graphql/version.cjs +12 -0
- package/dist/__node_modules/graphql/version.cjs.map +1 -0
- package/dist/__node_modules/graphql/version.js +12 -0
- package/dist/__node_modules/graphql/version.js.map +1 -0
- package/dist/__node_modules/headers-polyfill/lib/index.cjs +214 -0
- package/dist/__node_modules/headers-polyfill/lib/index.cjs.map +1 -0
- package/dist/__node_modules/headers-polyfill/lib/index.js +215 -0
- package/dist/__node_modules/headers-polyfill/lib/index.js.map +1 -0
- package/dist/__node_modules/is-node-process/lib/index.cjs +18 -0
- package/dist/__node_modules/is-node-process/lib/index.cjs.map +1 -0
- package/dist/__node_modules/is-node-process/lib/index.js +17 -0
- package/dist/__node_modules/is-node-process/lib/index.js.map +1 -0
- package/dist/__node_modules/js-levenshtein/index.cjs +91 -0
- package/dist/__node_modules/js-levenshtein/index.cjs.map +1 -0
- package/dist/__node_modules/js-levenshtein/index.js +91 -0
- package/dist/__node_modules/js-levenshtein/index.js.map +1 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs +34 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs.map +1 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js +34 -0
- package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js.map +1 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs +363 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs.map +1 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js +363 -0
- package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js.map +1 -0
- package/dist/__node_modules/msw/lib/index.cjs +1937 -0
- package/dist/__node_modules/msw/lib/index.cjs.map +1 -0
- package/dist/__node_modules/msw/lib/index.js +1938 -0
- package/dist/__node_modules/msw/lib/index.js.map +1 -0
- package/dist/__node_modules/node-domexception/index.cjs +11 -0
- package/dist/__node_modules/node-domexception/index.cjs.map +1 -0
- package/dist/__node_modules/node-domexception/index.js +10 -0
- package/dist/__node_modules/node-domexception/index.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/body.cjs +262 -0
- package/dist/__node_modules/node-fetch/src/body.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/body.js +262 -0
- package/dist/__node_modules/node-fetch/src/body.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs +10 -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 +10 -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 +17 -0
- package/dist/__node_modules/node-fetch/src/errors/base.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/errors/base.js +17 -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 +19 -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 +19 -0
- package/dist/__node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/headers.cjs +190 -0
- package/dist/__node_modules/node-fetch/src/headers.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/headers.js +190 -0
- package/dist/__node_modules/node-fetch/src/headers.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/index.cjs +292 -0
- package/dist/__node_modules/node-fetch/src/index.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/index.js +292 -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 +206 -0
- package/dist/__node_modules/node-fetch/src/request.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/response.cjs +122 -0
- package/dist/__node_modules/node-fetch/src/response.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/response.js +123 -0
- package/dist/__node_modules/node-fetch/src/response.js.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/get-search.cjs +12 -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 +12 -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 +8 -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 +8 -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 +28 -0
- package/dist/__node_modules/node-fetch/src/utils/is.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/is.js +28 -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 +356 -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 +356 -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 +149 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.js +149 -0
- package/dist/__node_modules/node-fetch/src/utils/referrer.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/format.cjs +53 -0
- package/dist/__node_modules/outvariant/lib/format.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/format.js +54 -0
- package/dist/__node_modules/outvariant/lib/format.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/index.cjs +29 -0
- package/dist/__node_modules/outvariant/lib/index.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/index.js +28 -0
- package/dist/__node_modules/outvariant/lib/index.js.map +1 -0
- package/dist/__node_modules/outvariant/lib/invariant.cjs +95 -0
- package/dist/__node_modules/outvariant/lib/invariant.cjs.map +1 -0
- package/dist/__node_modules/outvariant/lib/invariant.js +94 -0
- package/dist/__node_modules/outvariant/lib/invariant.js.map +1 -0
- package/dist/__node_modules/p-limit/index.cjs +53 -0
- package/dist/__node_modules/p-limit/index.cjs.map +1 -0
- package/dist/__node_modules/p-limit/index.js +54 -0
- package/dist/__node_modules/p-limit/index.js.map +1 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs +11 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs.map +1 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js +11 -0
- package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js.map +1 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs +50 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.js +50 -0
- package/dist/__node_modules/r19/dist/client/createRPCClient.js.map +1 -0
- package/dist/__node_modules/r19/dist/constants.cjs +5 -0
- package/dist/__node_modules/r19/dist/constants.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/constants.js +5 -0
- package/dist/__node_modules/r19/dist/constants.js.map +1 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs +25 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js +25 -0
- package/dist/__node_modules/r19/dist/createRPCMiddleware.js.map +1 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs +182 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.js +182 -0
- package/dist/__node_modules/r19/dist/handleRPCRequest.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs +46 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.js +46 -0
- package/dist/__node_modules/r19/dist/lib/encodeFormData.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.cjs +43 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.js +43 -0
- package/dist/__node_modules/r19/dist/lib/flattenObject.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs +19 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js +19 -0
- package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs +7 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.js +7 -0
- package/dist/__node_modules/r19/dist/lib/isErrorLike.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs +20 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js +20 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs +22 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js +22 -0
- package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js.map +1 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs +20 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.js +20 -0
- package/dist/__node_modules/r19/dist/lib/unflattenObject.js.map +1 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs +33 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs.map +1 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.js +33 -0
- package/dist/__node_modules/r19/dist/proceduresFromInstance.js.map +1 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs +161 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs.map +1 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js +162 -0
- package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js.map +1 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.cjs +393 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.cjs.map +1 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.js +394 -0
- package/dist/__node_modules/streamsearch/lib/sbmh.js.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs +98 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js +98 -0
- package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs +34 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.cjs.map +1 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.js +34 -0
- package/dist/__node_modules/strict-event-emitter/lib/index.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs +98 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js +98 -0
- package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs +53 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.js +53 -0
- package/dist/__node_modules/strtok3/lib/BufferTokenizer.js.map +1 -0
- package/dist/__node_modules/strtok3/lib/core.cjs +9 -0
- package/dist/__node_modules/strtok3/lib/core.cjs.map +1 -0
- package/dist/__node_modules/strtok3/lib/core.js +9 -0
- package/dist/__node_modules/strtok3/lib/core.js.map +1 -0
- package/dist/__node_modules/token-types/lib/index.cjs +94 -0
- package/dist/__node_modules/token-types/lib/index.cjs.map +1 -0
- package/dist/__node_modules/token-types/lib/index.js +94 -0
- package/dist/__node_modules/token-types/lib/index.js.map +1 -0
- package/dist/__node_modules/unist-util-is/index.cjs +73 -0
- package/dist/__node_modules/unist-util-is/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-is/index.js +73 -0
- package/dist/__node_modules/unist-util-is/index.js.map +1 -0
- package/dist/__node_modules/unist-util-visit/index.cjs +32 -0
- package/dist/__node_modules/unist-util-visit/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit/index.js +33 -0
- package/dist/__node_modules/unist-util-visit/index.js.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs +7 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.js +7 -0
- package/dist/__node_modules/unist-util-visit-parents/color.browser.js.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/index.cjs +74 -0
- package/dist/__node_modules/unist-util-visit-parents/index.cjs.map +1 -0
- package/dist/__node_modules/unist-util-visit-parents/index.js +74 -0
- package/dist/__node_modules/unist-util-visit-parents/index.js.map +1 -0
- package/dist/__node_modules/web-encoding/src/lib.cjs +7 -0
- package/dist/__node_modules/web-encoding/src/lib.cjs.map +1 -0
- package/dist/__node_modules/web-encoding/src/lib.js +8 -0
- package/dist/__node_modules/web-encoding/src/lib.js.map +1 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -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 +3822 -0
- package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/dist/__node_modules/yocto-queue/index.cjs +89 -0
- package/dist/__node_modules/yocto-queue/index.cjs.map +1 -0
- package/dist/__node_modules/yocto-queue/index.js +90 -0
- package/dist/__node_modules/yocto-queue/index.js.map +1 -0
- package/dist/_virtual/AsyncEventEmitter.cjs +5 -0
- package/dist/_virtual/AsyncEventEmitter.cjs.map +1 -0
- package/dist/_virtual/AsyncEventEmitter.js +5 -0
- package/dist/_virtual/AsyncEventEmitter.js.map +1 -0
- package/dist/_virtual/BatchInterceptor.cjs +5 -0
- package/dist/_virtual/BatchInterceptor.cjs.map +1 -0
- package/dist/_virtual/BatchInterceptor.js +5 -0
- package/dist/_virtual/BatchInterceptor.js.map +1 -0
- package/dist/_virtual/EventPolyfill.cjs +5 -0
- package/dist/_virtual/EventPolyfill.cjs.map +1 -0
- package/dist/_virtual/EventPolyfill.js +5 -0
- package/dist/_virtual/EventPolyfill.js.map +1 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs +5 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.cjs.map +1 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.js +5 -0
- package/dist/_virtual/InteractiveIsomorphicRequest.js.map +1 -0
- package/dist/_virtual/Interceptor.cjs +5 -0
- package/dist/_virtual/Interceptor.cjs.map +1 -0
- package/dist/_virtual/Interceptor.js +5 -0
- package/dist/_virtual/Interceptor.js.map +1 -0
- package/dist/_virtual/IsomorphicRequest.cjs +5 -0
- package/dist/_virtual/IsomorphicRequest.cjs.map +1 -0
- package/dist/_virtual/IsomorphicRequest.js +5 -0
- package/dist/_virtual/IsomorphicRequest.js.map +1 -0
- package/dist/_virtual/ProgressEventPolyfill.cjs +5 -0
- package/dist/_virtual/ProgressEventPolyfill.cjs.map +1 -0
- package/dist/_virtual/ProgressEventPolyfill.js +5 -0
- package/dist/_virtual/ProgressEventPolyfill.js.map +1 -0
- package/dist/_virtual/StrictEventEmitter.cjs +5 -0
- package/dist/_virtual/StrictEventEmitter.cjs.map +1 -0
- package/dist/_virtual/StrictEventEmitter.js +5 -0
- package/dist/_virtual/StrictEventEmitter.js.map +1 -0
- package/dist/_virtual/XMLHttpRequestOverride.cjs +5 -0
- package/dist/_virtual/XMLHttpRequestOverride.cjs.map +1 -0
- package/dist/_virtual/XMLHttpRequestOverride.js +5 -0
- package/dist/_virtual/XMLHttpRequestOverride.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +35 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +35 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/browser.cjs +13 -0
- package/dist/_virtual/browser.cjs.map +1 -0
- package/dist/_virtual/browser.js +14 -0
- package/dist/_virtual/browser.js.map +1 -0
- package/dist/_virtual/browser2.cjs +13 -0
- package/dist/_virtual/browser2.cjs.map +1 -0
- package/dist/_virtual/browser2.js +14 -0
- package/dist/_virtual/browser2.js.map +1 -0
- package/dist/_virtual/bufferFrom.cjs +5 -0
- package/dist/_virtual/bufferFrom.cjs.map +1 -0
- package/dist/_virtual/bufferFrom.js +5 -0
- package/dist/_virtual/bufferFrom.js.map +1 -0
- package/dist/_virtual/bufferUtils.cjs +5 -0
- package/dist/_virtual/bufferUtils.cjs.map +1 -0
- package/dist/_virtual/bufferUtils.js +5 -0
- package/dist/_virtual/bufferUtils.js.map +1 -0
- package/dist/_virtual/conventions.cjs +5 -0
- package/dist/_virtual/conventions.cjs.map +1 -0
- package/dist/_virtual/conventions.js +5 -0
- package/dist/_virtual/conventions.js.map +1 -0
- package/dist/_virtual/createEvent.cjs +5 -0
- package/dist/_virtual/createEvent.cjs.map +1 -0
- package/dist/_virtual/createEvent.js +5 -0
- package/dist/_virtual/createEvent.js.map +1 -0
- package/dist/_virtual/createLazyCallback.cjs +5 -0
- package/dist/_virtual/createLazyCallback.cjs.map +1 -0
- package/dist/_virtual/createLazyCallback.js +5 -0
- package/dist/_virtual/createLazyCallback.js.map +1 -0
- package/dist/_virtual/dom-parser.cjs +5 -0
- package/dist/_virtual/dom-parser.cjs.map +1 -0
- package/dist/_virtual/dom-parser.js +5 -0
- package/dist/_virtual/dom-parser.js.map +1 -0
- package/dist/_virtual/dom.cjs +5 -0
- package/dist/_virtual/dom.cjs.map +1 -0
- package/dist/_virtual/dom.js +5 -0
- package/dist/_virtual/dom.js.map +1 -0
- package/dist/_virtual/entities.cjs +5 -0
- package/dist/_virtual/entities.cjs.map +1 -0
- package/dist/_virtual/entities.js +5 -0
- package/dist/_virtual/entities.js.map +1 -0
- package/dist/_virtual/format.cjs +5 -0
- package/dist/_virtual/format.cjs.map +1 -0
- package/dist/_virtual/format.js +5 -0
- package/dist/_virtual/format.js.map +1 -0
- package/dist/_virtual/getCleanUrl.cjs +5 -0
- package/dist/_virtual/getCleanUrl.cjs.map +1 -0
- package/dist/_virtual/getCleanUrl.js +5 -0
- package/dist/_virtual/getCleanUrl.js.map +1 -0
- package/dist/_virtual/glossary.cjs +5 -0
- package/dist/_virtual/glossary.cjs.map +1 -0
- package/dist/_virtual/glossary.js +5 -0
- package/dist/_virtual/glossary.js.map +1 -0
- package/dist/_virtual/index.cjs +6 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index10.cjs +5 -0
- package/dist/_virtual/index10.cjs.map +1 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index10.js.map +1 -0
- package/dist/_virtual/index11.cjs +5 -0
- package/dist/_virtual/index11.cjs.map +1 -0
- package/dist/_virtual/index11.js +5 -0
- package/dist/_virtual/index11.js.map +1 -0
- package/dist/_virtual/index2.cjs +6 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +13 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +14 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/index4.cjs +5 -0
- package/dist/_virtual/index4.cjs.map +1 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index4.js.map +1 -0
- package/dist/_virtual/index5.cjs +5 -0
- package/dist/_virtual/index5.cjs.map +1 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index5.js.map +1 -0
- package/dist/_virtual/index6.cjs +5 -0
- package/dist/_virtual/index6.cjs.map +1 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index6.js.map +1 -0
- package/dist/_virtual/index7.cjs +5 -0
- package/dist/_virtual/index7.cjs.map +1 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index7.js.map +1 -0
- package/dist/_virtual/index8.cjs +5 -0
- package/dist/_virtual/index8.cjs.map +1 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/index9.cjs +5 -0
- package/dist/_virtual/index9.cjs.map +1 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/index9.js.map +1 -0
- package/dist/_virtual/invariant.cjs +5 -0
- package/dist/_virtual/invariant.cjs.map +1 -0
- package/dist/_virtual/invariant.js +5 -0
- package/dist/_virtual/invariant.js.map +1 -0
- package/dist/_virtual/lib.cjs +5 -0
- package/dist/_virtual/lib.cjs.map +1 -0
- package/dist/_virtual/lib.js +5 -0
- package/dist/_virtual/lib.js.map +1 -0
- package/dist/_virtual/nextTick.cjs +5 -0
- package/dist/_virtual/nextTick.cjs.map +1 -0
- package/dist/_virtual/nextTick.js +5 -0
- package/dist/_virtual/nextTick.js.map +1 -0
- package/dist/_virtual/parseJson.cjs +5 -0
- package/dist/_virtual/parseJson.cjs.map +1 -0
- package/dist/_virtual/parseJson.js +5 -0
- package/dist/_virtual/parseJson.js.map +1 -0
- package/dist/_virtual/ponyfill.es2018.cjs +13 -0
- package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
- package/dist/_virtual/ponyfill.es2018.js +14 -0
- package/dist/_virtual/ponyfill.es2018.js.map +1 -0
- package/dist/_virtual/sax.cjs +5 -0
- package/dist/_virtual/sax.cjs.map +1 -0
- package/dist/_virtual/sax.js +5 -0
- package/dist/_virtual/sax.js.map +1 -0
- package/dist/_virtual/set-cookie.cjs +13 -0
- package/dist/_virtual/set-cookie.cjs.map +1 -0
- package/dist/_virtual/set-cookie.js +14 -0
- package/dist/_virtual/set-cookie.js.map +1 -0
- package/dist/_virtual/store.cjs +5 -0
- package/dist/_virtual/store.cjs.map +1 -0
- package/dist/_virtual/store.js +5 -0
- package/dist/_virtual/store.js.map +1 -0
- package/dist/_virtual/toIsoResponse.cjs +5 -0
- package/dist/_virtual/toIsoResponse.cjs.map +1 -0
- package/dist/_virtual/toIsoResponse.js +5 -0
- package/dist/_virtual/toIsoResponse.js.map +1 -0
- package/dist/_virtual/until.cjs +5 -0
- package/dist/_virtual/until.cjs.map +1 -0
- package/dist/_virtual/until.js +5 -0
- package/dist/_virtual/until.js.map +1 -0
- package/dist/_virtual/uuid.cjs +5 -0
- package/dist/_virtual/uuid.cjs.map +1 -0
- package/dist/_virtual/uuid.js +5 -0
- package/dist/_virtual/uuid.js.map +1 -0
- package/dist/auth/PrismicAuthManager.cjs +280 -0
- package/dist/auth/PrismicAuthManager.cjs.map +1 -0
- package/dist/auth/PrismicAuthManager.d.ts +58 -0
- package/dist/auth/PrismicAuthManager.js +258 -0
- package/dist/auth/PrismicAuthManager.js.map +1 -0
- package/dist/auth/createPrismicAuthManager.cjs +8 -0
- package/dist/auth/createPrismicAuthManager.cjs.map +1 -0
- package/dist/auth/createPrismicAuthManager.d.ts +4 -0
- package/dist/auth/createPrismicAuthManager.js +8 -0
- package/dist/auth/createPrismicAuthManager.js.map +1 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.cjs +50 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.cjs.map +1 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.d.ts +14 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js +33 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js.map +1 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client.cjs +20 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.js +20 -0
- package/dist/client.js.map +1 -0
- package/dist/constants/API_ENDPOINTS.cjs +45 -0
- package/dist/constants/API_ENDPOINTS.cjs.map +1 -0
- package/dist/constants/API_ENDPOINTS.d.ts +9 -0
- package/dist/constants/API_ENDPOINTS.js +45 -0
- package/dist/constants/API_ENDPOINTS.js.map +1 -0
- package/dist/constants/API_TOKENS.cjs +17 -0
- package/dist/constants/API_TOKENS.cjs.map +1 -0
- package/dist/constants/API_TOKENS.d.ts +5 -0
- package/dist/constants/API_TOKENS.js +17 -0
- package/dist/constants/API_TOKENS.js.map +1 -0
- package/dist/constants/APPLICATION_MODE.cjs +9 -0
- package/dist/constants/APPLICATION_MODE.cjs.map +1 -0
- package/dist/constants/APPLICATION_MODE.d.ts +5 -0
- package/dist/constants/APPLICATION_MODE.js +9 -0
- package/dist/constants/APPLICATION_MODE.js.map +1 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs.map +1 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.d.ts +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js +5 -0
- package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js +5 -0
- package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js +5 -0
- package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js.map +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs +5 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs.map +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.d.ts +1 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.js +5 -0
- package/dist/constants/SLICE_MACHINE_USER_AGENT.js.map +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.cjs +5 -0
- package/dist/constants/TS_CONFIG_FILENAME.cjs.map +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.d.ts +1 -0
- package/dist/constants/TS_CONFIG_FILENAME.js +5 -0
- package/dist/constants/TS_CONFIG_FILENAME.js.map +1 -0
- package/dist/constants/VERSION_KIND.cjs +10 -0
- package/dist/constants/VERSION_KIND.cjs.map +1 -0
- package/dist/constants/VERSION_KIND.d.ts +6 -0
- package/dist/constants/VERSION_KIND.js +10 -0
- package/dist/constants/VERSION_KIND.js.map +1 -0
- package/dist/errors.cjs +77 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +34 -0
- package/dist/errors.js +77 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/DecodeError.cjs +22 -0
- package/dist/lib/DecodeError.cjs.map +1 -0
- package/dist/lib/DecodeError.d.ts +12 -0
- package/dist/lib/DecodeError.js +22 -0
- package/dist/lib/DecodeError.js.map +1 -0
- package/dist/lib/assertPluginsInitialized.cjs +9 -0
- package/dist/lib/assertPluginsInitialized.cjs.map +1 -0
- package/dist/lib/assertPluginsInitialized.d.ts +2 -0
- package/dist/lib/assertPluginsInitialized.js +9 -0
- package/dist/lib/assertPluginsInitialized.js.map +1 -0
- package/dist/lib/bufferCodec.cjs +24 -0
- package/dist/lib/bufferCodec.cjs.map +1 -0
- package/dist/lib/bufferCodec.d.ts +3 -0
- package/dist/lib/bufferCodec.js +7 -0
- package/dist/lib/bufferCodec.js.map +1 -0
- package/dist/lib/castArray.cjs +7 -0
- package/dist/lib/castArray.cjs.map +1 -0
- package/dist/lib/castArray.d.ts +1 -0
- package/dist/lib/castArray.js +7 -0
- package/dist/lib/castArray.js.map +1 -0
- package/dist/lib/checkIsURLAccessible.cjs +9 -0
- package/dist/lib/checkIsURLAccessible.cjs.map +1 -0
- package/dist/lib/checkIsURLAccessible.d.ts +1 -0
- package/dist/lib/checkIsURLAccessible.js +9 -0
- package/dist/lib/checkIsURLAccessible.js.map +1 -0
- package/dist/lib/createContentDigest.cjs +25 -0
- package/dist/lib/createContentDigest.cjs.map +1 -0
- package/dist/lib/createContentDigest.d.ts +9 -0
- package/dist/lib/createContentDigest.js +8 -0
- package/dist/lib/createContentDigest.js.map +1 -0
- package/dist/lib/decode.cjs +18 -0
- package/dist/lib/decode.cjs.map +1 -0
- package/dist/lib/decode.d.ts +10 -0
- package/dist/lib/decode.js +18 -0
- package/dist/lib/decode.js.map +1 -0
- package/dist/lib/decodeHookResult.cjs +21 -0
- package/dist/lib/decodeHookResult.cjs.map +1 -0
- package/dist/lib/decodeHookResult.d.ts +10 -0
- package/dist/lib/decodeHookResult.js +21 -0
- package/dist/lib/decodeHookResult.js.map +1 -0
- package/dist/lib/decodeSliceMachineConfig.cjs +50 -0
- package/dist/lib/decodeSliceMachineConfig.cjs.map +1 -0
- package/dist/lib/decodeSliceMachineConfig.d.ts +3 -0
- package/dist/lib/decodeSliceMachineConfig.js +33 -0
- package/dist/lib/decodeSliceMachineConfig.js.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs +102 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.d.ts +21 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js +85 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js.map +1 -0
- package/dist/lib/fetchNPMPackageVersions.cjs +41 -0
- package/dist/lib/fetchNPMPackageVersions.cjs.map +1 -0
- package/dist/lib/fetchNPMPackageVersions.d.ts +5 -0
- package/dist/lib/fetchNPMPackageVersions.js +24 -0
- package/dist/lib/fetchNPMPackageVersions.js.map +1 -0
- package/dist/lib/format.cjs +33 -0
- package/dist/lib/format.cjs.map +1 -0
- package/dist/lib/format.d.ts +12 -0
- package/dist/lib/format.js +33 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/functionCodec.cjs +29 -0
- package/dist/lib/functionCodec.cjs.map +1 -0
- package/dist/lib/functionCodec.d.ts +2 -0
- package/dist/lib/functionCodec.js +12 -0
- package/dist/lib/functionCodec.js.map +1 -0
- package/dist/lib/locateFileUpward.cjs +50 -0
- package/dist/lib/locateFileUpward.cjs.map +1 -0
- package/dist/lib/locateFileUpward.d.ts +10 -0
- package/dist/lib/locateFileUpward.js +32 -0
- package/dist/lib/locateFileUpward.js.map +1 -0
- package/dist/lib/markdownToHTML.cjs +90 -0
- package/dist/lib/markdownToHTML.cjs.map +1 -0
- package/dist/lib/markdownToHTML.d.ts +1 -0
- package/dist/lib/markdownToHTML.js +68 -0
- package/dist/lib/markdownToHTML.js.map +1 -0
- package/dist/lib/prismicrc.cjs +48 -0
- package/dist/lib/prismicrc.cjs.map +1 -0
- package/dist/lib/prismicrc.d.ts +10 -0
- package/dist/lib/prismicrc.js +29 -0
- package/dist/lib/prismicrc.js.map +1 -0
- package/dist/lib/serializeCookies.cjs +29 -0
- package/dist/lib/serializeCookies.cjs.map +1 -0
- package/dist/lib/serializeCookies.d.ts +6 -0
- package/dist/lib/serializeCookies.js +29 -0
- package/dist/lib/serializeCookies.js.map +1 -0
- package/dist/managers/BaseManager.cjs +63 -0
- package/dist/managers/BaseManager.cjs.map +1 -0
- package/dist/managers/BaseManager.d.ts +33 -0
- package/dist/managers/BaseManager.js +63 -0
- package/dist/managers/BaseManager.js.map +1 -0
- package/dist/managers/SliceMachineManager.cjs +217 -0
- package/dist/managers/SliceMachineManager.cjs.map +1 -0
- package/dist/managers/SliceMachineManager.d.ts +93 -0
- package/dist/managers/SliceMachineManager.js +217 -0
- package/dist/managers/SliceMachineManager.js.map +1 -0
- package/dist/managers/createSliceMachineManager.cjs +8 -0
- package/dist/managers/createSliceMachineManager.cjs.map +1 -0
- package/dist/managers/createSliceMachineManager.d.ts +4 -0
- package/dist/managers/createSliceMachineManager.js +8 -0
- package/dist/managers/createSliceMachineManager.js.map +1 -0
- package/dist/managers/createSliceMachineManagerClient.cjs +11 -0
- package/dist/managers/createSliceMachineManagerClient.cjs.map +1 -0
- package/dist/managers/createSliceMachineManagerClient.d.ts +8 -0
- package/dist/managers/createSliceMachineManagerClient.js +11 -0
- package/dist/managers/createSliceMachineManagerClient.js.map +1 -0
- package/dist/managers/createSliceMachineManagerMiddleware.cjs +47 -0
- package/dist/managers/createSliceMachineManagerMiddleware.cjs.map +1 -0
- package/dist/managers/createSliceMachineManagerMiddleware.d.ts +14 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js +47 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs +177 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.d.ts +50 -0
- package/dist/managers/customTypes/CustomTypesManager.js +159 -0
- package/dist/managers/customTypes/CustomTypesManager.js.map +1 -0
- package/dist/managers/plugins/PluginsManager.cjs +36 -0
- package/dist/managers/plugins/PluginsManager.cjs.map +1 -0
- package/dist/managers/plugins/PluginsManager.d.ts +13 -0
- package/dist/managers/plugins/PluginsManager.js +36 -0
- package/dist/managers/plugins/PluginsManager.js.map +1 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs +199 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs.map +1 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.d.ts +28 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js +182 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js.map +1 -0
- package/dist/managers/prismicRepository/types.cjs +45 -0
- package/dist/managers/prismicRepository/types.cjs.map +1 -0
- package/dist/managers/prismicRepository/types.d.ts +38 -0
- package/dist/managers/prismicRepository/types.js +28 -0
- package/dist/managers/prismicRepository/types.js.map +1 -0
- package/dist/managers/project/ProjectManager.cjs +120 -0
- package/dist/managers/project/ProjectManager.cjs.map +1 -0
- package/dist/managers/project/ProjectManager.d.ts +30 -0
- package/dist/managers/project/ProjectManager.js +102 -0
- package/dist/managers/project/ProjectManager.js.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs +206 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.d.ts +31 -0
- package/dist/managers/screenshots/ScreenshotsManager.js +168 -0
- package/dist/managers/screenshots/ScreenshotsManager.js.map +1 -0
- package/dist/managers/simulator/SimulatorManager.cjs +100 -0
- package/dist/managers/simulator/SimulatorManager.cjs.map +1 -0
- package/dist/managers/simulator/SimulatorManager.d.ts +37 -0
- package/dist/managers/simulator/SimulatorManager.js +83 -0
- package/dist/managers/simulator/SimulatorManager.js.map +1 -0
- package/dist/managers/slices/SlicesManager.cjs +341 -0
- package/dist/managers/slices/SlicesManager.cjs.map +1 -0
- package/dist/managers/slices/SlicesManager.d.ts +111 -0
- package/dist/managers/slices/SlicesManager.js +323 -0
- package/dist/managers/slices/SlicesManager.js.map +1 -0
- package/dist/managers/snippets/SnippetsManager.cjs +41 -0
- package/dist/managers/snippets/SnippetsManager.cjs.map +1 -0
- package/dist/managers/snippets/SnippetsManager.d.ts +11 -0
- package/dist/managers/snippets/SnippetsManager.js +24 -0
- package/dist/managers/snippets/SnippetsManager.js.map +1 -0
- package/dist/managers/telemetry/TelemetryManager.cjs +105 -0
- package/dist/managers/telemetry/TelemetryManager.cjs.map +1 -0
- package/dist/managers/telemetry/TelemetryManager.d.ts +17 -0
- package/dist/managers/telemetry/TelemetryManager.js +105 -0
- package/dist/managers/telemetry/TelemetryManager.js.map +1 -0
- package/dist/managers/telemetry/types.cjs +15 -0
- package/dist/managers/telemetry/types.cjs.map +1 -0
- package/dist/managers/telemetry/types.d.ts +28 -0
- package/dist/managers/telemetry/types.js +15 -0
- package/dist/managers/telemetry/types.js.map +1 -0
- package/dist/managers/user/UserManager.cjs +25 -0
- package/dist/managers/user/UserManager.cjs.map +1 -0
- package/dist/managers/user/UserManager.d.ts +38 -0
- package/dist/managers/user/UserManager.js +25 -0
- package/dist/managers/user/UserManager.js.map +1 -0
- package/dist/managers/versions/VersionsManager.cjs +104 -0
- package/dist/managers/versions/VersionsManager.cjs.map +1 -0
- package/dist/managers/versions/VersionsManager.d.ts +19 -0
- package/dist/managers/versions/VersionsManager.js +86 -0
- package/dist/managers/versions/VersionsManager.js.map +1 -0
- package/dist/managers/versions/types.d.ts +5 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs +27 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs.map +1 -0
- package/dist/test/createSliceMachineManagerMSWHandler.d.ts +7 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js +27 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js.map +1 -0
- package/dist/test/index.d.ts +1 -0
- package/dist/test.cjs +5 -0
- package/dist/test.cjs.map +1 -0
- package/dist/test.js +5 -0
- package/dist/test.js.map +1 -0
- package/dist/types.d.ts +45 -0
- package/package.json +128 -0
- package/src/auth/PrismicAuthManager.ts +403 -0
- package/src/auth/createPrismicAuthManager.ts +11 -0
- package/src/auth/createPrismicAuthManagerMiddleware.ts +70 -0
- package/src/client/index.ts +32 -0
- package/src/constants/API_ENDPOINTS.ts +62 -0
- package/src/constants/API_TOKENS.ts +18 -0
- package/src/constants/APPLICATION_MODE.ts +5 -0
- package/src/constants/DEFAULT_SLICE_SCREENSHOT_URL.ts +6 -0
- package/src/constants/SLICE_MACHINE_CONFIG_FILENAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.ts +1 -0
- package/src/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.ts +1 -0
- package/src/constants/SLICE_MACHINE_USER_AGENT.ts +1 -0
- package/src/constants/TS_CONFIG_FILENAME.ts +1 -0
- package/src/constants/VERSION_KIND.ts +6 -0
- package/src/errors.ts +146 -0
- package/src/index.ts +27 -0
- package/src/lib/DecodeError.ts +22 -0
- package/src/lib/assertPluginsInitialized.ts +11 -0
- package/src/lib/bufferCodec.ts +10 -0
- package/src/lib/castArray.ts +3 -0
- package/src/lib/checkIsURLAccessible.ts +7 -0
- package/src/lib/createContentDigest.ts +12 -0
- package/src/lib/decode.ts +36 -0
- package/src/lib/decodeHookResult.ts +36 -0
- package/src/lib/decodeSliceMachineConfig.ts +43 -0
- package/src/lib/fetchGitHubReleaseBodyForRelease.ts +143 -0
- package/src/lib/fetchNPMPackageVersions.ts +46 -0
- package/src/lib/format.ts +34 -0
- package/src/lib/functionCodec.ts +16 -0
- package/src/lib/locateFileUpward.ts +58 -0
- package/src/lib/markdownToHTML.ts +113 -0
- package/src/lib/prismicrc.ts +64 -0
- package/src/lib/serializeCookies.ts +45 -0
- package/src/managers/BaseManager.ts +92 -0
- package/src/managers/SliceMachineManager.ts +362 -0
- package/src/managers/createSliceMachineManager.ts +11 -0
- package/src/managers/createSliceMachineManagerClient.ts +23 -0
- package/src/managers/createSliceMachineManagerMiddleware.ts +75 -0
- package/src/managers/customTypes/CustomTypesManager.ts +303 -0
- package/src/managers/plugins/PluginsManager.ts +48 -0
- package/src/managers/prismicRepository/PrismicRepositoryManager.ts +266 -0
- package/src/managers/prismicRepository/types.ts +30 -0
- package/src/managers/project/ProjectManager.ts +165 -0
- package/src/managers/screenshots/ScreenshotsManager.ts +242 -0
- package/src/managers/simulator/SimulatorManager.ts +151 -0
- package/src/managers/slices/SlicesManager.ts +604 -0
- package/src/managers/snippets/SnippetsManager.ts +45 -0
- package/src/managers/telemetry/TelemetryManager.ts +142 -0
- package/src/managers/telemetry/types.ts +46 -0
- package/src/managers/user/UserManager.ts +27 -0
- package/src/managers/versions/VersionsManager.ts +121 -0
- package/src/managers/versions/types.ts +6 -0
- package/src/test/createSliceMachineManagerMSWHandler.ts +41 -0
- package/src/test/index.ts +4 -0
- package/src/types.ts +59 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { format } from "node:url";
|
|
2
|
+
import { deprecate } from "node:util";
|
|
3
|
+
import Headers from "./headers.js";
|
|
4
|
+
import Body, { clone, extractContentType, getTotalBytes } from "./body.js";
|
|
5
|
+
import { isAbortSignal } from "./utils/is.js";
|
|
6
|
+
import { getSearch } from "./utils/get-search.js";
|
|
7
|
+
import { validateReferrerPolicy, DEFAULT_REFERRER_POLICY, determineRequestsReferrer } from "./utils/referrer.js";
|
|
8
|
+
const INTERNALS = Symbol("Request internals");
|
|
9
|
+
const isRequest = (object) => {
|
|
10
|
+
return typeof object === "object" && typeof object[INTERNALS] === "object";
|
|
11
|
+
};
|
|
12
|
+
const doBadDataWarn = deprecate(
|
|
13
|
+
() => {
|
|
14
|
+
},
|
|
15
|
+
".data is not a valid RequestInit property, use .body instead",
|
|
16
|
+
"https://github.com/node-fetch/node-fetch/issues/1000 (request)"
|
|
17
|
+
);
|
|
18
|
+
class Request extends Body {
|
|
19
|
+
constructor(input, init = {}) {
|
|
20
|
+
let parsedURL;
|
|
21
|
+
if (isRequest(input)) {
|
|
22
|
+
parsedURL = new URL(input.url);
|
|
23
|
+
} else {
|
|
24
|
+
parsedURL = new URL(input);
|
|
25
|
+
input = {};
|
|
26
|
+
}
|
|
27
|
+
if (parsedURL.username !== "" || parsedURL.password !== "") {
|
|
28
|
+
throw new TypeError(`${parsedURL} is an url with embedded credentials.`);
|
|
29
|
+
}
|
|
30
|
+
let method = init.method || input.method || "GET";
|
|
31
|
+
if (/^(delete|get|head|options|post|put)$/i.test(method)) {
|
|
32
|
+
method = method.toUpperCase();
|
|
33
|
+
}
|
|
34
|
+
if (!isRequest(init) && "data" in init) {
|
|
35
|
+
doBadDataWarn();
|
|
36
|
+
}
|
|
37
|
+
if ((init.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) {
|
|
38
|
+
throw new TypeError("Request with GET/HEAD method cannot have body");
|
|
39
|
+
}
|
|
40
|
+
const inputBody = init.body ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
|
|
41
|
+
super(inputBody, {
|
|
42
|
+
size: init.size || input.size || 0
|
|
43
|
+
});
|
|
44
|
+
const headers = new Headers(init.headers || input.headers || {});
|
|
45
|
+
if (inputBody !== null && !headers.has("Content-Type")) {
|
|
46
|
+
const contentType = extractContentType(inputBody, this);
|
|
47
|
+
if (contentType) {
|
|
48
|
+
headers.set("Content-Type", contentType);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
let signal = isRequest(input) ? input.signal : null;
|
|
52
|
+
if ("signal" in init) {
|
|
53
|
+
signal = init.signal;
|
|
54
|
+
}
|
|
55
|
+
if (signal != null && !isAbortSignal(signal)) {
|
|
56
|
+
throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
|
|
57
|
+
}
|
|
58
|
+
let referrer = init.referrer == null ? input.referrer : init.referrer;
|
|
59
|
+
if (referrer === "") {
|
|
60
|
+
referrer = "no-referrer";
|
|
61
|
+
} else if (referrer) {
|
|
62
|
+
const parsedReferrer = new URL(referrer);
|
|
63
|
+
referrer = /^about:(\/\/)?client$/.test(parsedReferrer) ? "client" : parsedReferrer;
|
|
64
|
+
} else {
|
|
65
|
+
referrer = void 0;
|
|
66
|
+
}
|
|
67
|
+
this[INTERNALS] = {
|
|
68
|
+
method,
|
|
69
|
+
redirect: init.redirect || input.redirect || "follow",
|
|
70
|
+
headers,
|
|
71
|
+
parsedURL,
|
|
72
|
+
signal,
|
|
73
|
+
referrer
|
|
74
|
+
};
|
|
75
|
+
this.follow = init.follow === void 0 ? input.follow === void 0 ? 20 : input.follow : init.follow;
|
|
76
|
+
this.compress = init.compress === void 0 ? input.compress === void 0 ? true : input.compress : init.compress;
|
|
77
|
+
this.counter = init.counter || input.counter || 0;
|
|
78
|
+
this.agent = init.agent || input.agent;
|
|
79
|
+
this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;
|
|
80
|
+
this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
|
|
81
|
+
this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || "";
|
|
82
|
+
}
|
|
83
|
+
/** @returns {string} */
|
|
84
|
+
get method() {
|
|
85
|
+
return this[INTERNALS].method;
|
|
86
|
+
}
|
|
87
|
+
/** @returns {string} */
|
|
88
|
+
get url() {
|
|
89
|
+
return format(this[INTERNALS].parsedURL);
|
|
90
|
+
}
|
|
91
|
+
/** @returns {Headers} */
|
|
92
|
+
get headers() {
|
|
93
|
+
return this[INTERNALS].headers;
|
|
94
|
+
}
|
|
95
|
+
get redirect() {
|
|
96
|
+
return this[INTERNALS].redirect;
|
|
97
|
+
}
|
|
98
|
+
/** @returns {AbortSignal} */
|
|
99
|
+
get signal() {
|
|
100
|
+
return this[INTERNALS].signal;
|
|
101
|
+
}
|
|
102
|
+
// https://fetch.spec.whatwg.org/#dom-request-referrer
|
|
103
|
+
get referrer() {
|
|
104
|
+
if (this[INTERNALS].referrer === "no-referrer") {
|
|
105
|
+
return "";
|
|
106
|
+
}
|
|
107
|
+
if (this[INTERNALS].referrer === "client") {
|
|
108
|
+
return "about:client";
|
|
109
|
+
}
|
|
110
|
+
if (this[INTERNALS].referrer) {
|
|
111
|
+
return this[INTERNALS].referrer.toString();
|
|
112
|
+
}
|
|
113
|
+
return void 0;
|
|
114
|
+
}
|
|
115
|
+
get referrerPolicy() {
|
|
116
|
+
return this[INTERNALS].referrerPolicy;
|
|
117
|
+
}
|
|
118
|
+
set referrerPolicy(referrerPolicy) {
|
|
119
|
+
this[INTERNALS].referrerPolicy = validateReferrerPolicy(referrerPolicy);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Clone this request
|
|
123
|
+
*
|
|
124
|
+
* @return Request
|
|
125
|
+
*/
|
|
126
|
+
clone() {
|
|
127
|
+
return new Request(this);
|
|
128
|
+
}
|
|
129
|
+
get [Symbol.toStringTag]() {
|
|
130
|
+
return "Request";
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
Object.defineProperties(Request.prototype, {
|
|
134
|
+
method: { enumerable: true },
|
|
135
|
+
url: { enumerable: true },
|
|
136
|
+
headers: { enumerable: true },
|
|
137
|
+
redirect: { enumerable: true },
|
|
138
|
+
clone: { enumerable: true },
|
|
139
|
+
signal: { enumerable: true },
|
|
140
|
+
referrer: { enumerable: true },
|
|
141
|
+
referrerPolicy: { enumerable: true }
|
|
142
|
+
});
|
|
143
|
+
const getNodeRequestOptions = (request) => {
|
|
144
|
+
const { parsedURL } = request[INTERNALS];
|
|
145
|
+
const headers = new Headers(request[INTERNALS].headers);
|
|
146
|
+
if (!headers.has("Accept")) {
|
|
147
|
+
headers.set("Accept", "*/*");
|
|
148
|
+
}
|
|
149
|
+
let contentLengthValue = null;
|
|
150
|
+
if (request.body === null && /^(post|put)$/i.test(request.method)) {
|
|
151
|
+
contentLengthValue = "0";
|
|
152
|
+
}
|
|
153
|
+
if (request.body !== null) {
|
|
154
|
+
const totalBytes = getTotalBytes(request);
|
|
155
|
+
if (typeof totalBytes === "number" && !Number.isNaN(totalBytes)) {
|
|
156
|
+
contentLengthValue = String(totalBytes);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (contentLengthValue) {
|
|
160
|
+
headers.set("Content-Length", contentLengthValue);
|
|
161
|
+
}
|
|
162
|
+
if (request.referrerPolicy === "") {
|
|
163
|
+
request.referrerPolicy = DEFAULT_REFERRER_POLICY;
|
|
164
|
+
}
|
|
165
|
+
if (request.referrer && request.referrer !== "no-referrer") {
|
|
166
|
+
request[INTERNALS].referrer = determineRequestsReferrer(request);
|
|
167
|
+
} else {
|
|
168
|
+
request[INTERNALS].referrer = "no-referrer";
|
|
169
|
+
}
|
|
170
|
+
if (request[INTERNALS].referrer instanceof URL) {
|
|
171
|
+
headers.set("Referer", request.referrer);
|
|
172
|
+
}
|
|
173
|
+
if (!headers.has("User-Agent")) {
|
|
174
|
+
headers.set("User-Agent", "node-fetch");
|
|
175
|
+
}
|
|
176
|
+
if (request.compress && !headers.has("Accept-Encoding")) {
|
|
177
|
+
headers.set("Accept-Encoding", "gzip, deflate, br");
|
|
178
|
+
}
|
|
179
|
+
let { agent } = request;
|
|
180
|
+
if (typeof agent === "function") {
|
|
181
|
+
agent = agent(parsedURL);
|
|
182
|
+
}
|
|
183
|
+
if (!headers.has("Connection") && !agent) {
|
|
184
|
+
headers.set("Connection", "close");
|
|
185
|
+
}
|
|
186
|
+
const search = getSearch(parsedURL);
|
|
187
|
+
const options = {
|
|
188
|
+
// Overwrite search to retain trailing ? (issue #776)
|
|
189
|
+
path: parsedURL.pathname + search,
|
|
190
|
+
// The following options are not expressed in the URL
|
|
191
|
+
method: request.method,
|
|
192
|
+
headers: headers[Symbol.for("nodejs.util.inspect.custom")](),
|
|
193
|
+
insecureHTTPParser: request.insecureHTTPParser,
|
|
194
|
+
agent
|
|
195
|
+
};
|
|
196
|
+
return {
|
|
197
|
+
/** @type {URL} */
|
|
198
|
+
parsedURL,
|
|
199
|
+
options
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
export {
|
|
203
|
+
Request as default,
|
|
204
|
+
getNodeRequestOptions
|
|
205
|
+
};
|
|
206
|
+
//# sourceMappingURL=request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.js","sources":["../../../../../../node_modules/node-fetch/src/request.js"],"sourcesContent":["/**\n * Request.js\n *\n * Request class contains server only options\n *\n * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/.\n */\n\nimport {format as formatUrl} from 'node:url';\nimport {deprecate} from 'node:util';\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType, getTotalBytes} from './body.js';\nimport {isAbortSignal} from './utils/is.js';\nimport {getSearch} from './utils/get-search.js';\nimport {\n\tvalidateReferrerPolicy, determineRequestsReferrer, DEFAULT_REFERRER_POLICY\n} from './utils/referrer.js';\n\nconst INTERNALS = Symbol('Request internals');\n\n/**\n * Check if `obj` is an instance of Request.\n *\n * @param {*} object\n * @return {boolean}\n */\nconst isRequest = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object[INTERNALS] === 'object'\n\t);\n};\n\nconst doBadDataWarn = deprecate(() => {},\n\t'.data is not a valid RequestInit property, use .body instead',\n\t'https://github.com/node-fetch/node-fetch/issues/1000 (request)');\n\n/**\n * Request class\n *\n * Ref: https://fetch.spec.whatwg.org/#request-class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nexport default class Request extends Body {\n\tconstructor(input, init = {}) {\n\t\tlet parsedURL;\n\n\t\t// Normalize input and force URL to be encoded as UTF-8 (https://github.com/node-fetch/node-fetch/issues/245)\n\t\tif (isRequest(input)) {\n\t\t\tparsedURL = new URL(input.url);\n\t\t} else {\n\t\t\tparsedURL = new URL(input);\n\t\t\tinput = {};\n\t\t}\n\n\t\tif (parsedURL.username !== '' || parsedURL.password !== '') {\n\t\t\tthrow new TypeError(`${parsedURL} is an url with embedded credentials.`);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tif (/^(delete|get|head|options|post|put)$/i.test(method)) {\n\t\t\tmethod = method.toUpperCase();\n\t\t}\n\n\t\tif (!isRequest(init) && 'data' in init) {\n\t\t\tdoBadDataWarn();\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif ((init.body != null || (isRequest(input) && input.body !== null)) &&\n\t\t\t(method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tconst inputBody = init.body ?\n\t\t\tinit.body :\n\t\t\t(isRequest(input) && input.body !== null ?\n\t\t\t\tclone(input) :\n\t\t\t\tnull);\n\n\t\tsuper(inputBody, {\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.set('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ?\n\t\t\tinput.signal :\n\t\t\tnull;\n\t\tif ('signal' in init) {\n\t\t\tsignal = init.signal;\n\t\t}\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal or EventTarget');\n\t\t}\n\n\t\t// §5.4, Request constructor steps, step 15.1\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq\n\t\tlet referrer = init.referrer == null ? input.referrer : init.referrer;\n\t\tif (referrer === '') {\n\t\t\t// §5.4, Request constructor steps, step 15.2\n\t\t\treferrer = 'no-referrer';\n\t\t} else if (referrer) {\n\t\t\t// §5.4, Request constructor steps, step 15.3.1, 15.3.2\n\t\t\tconst parsedReferrer = new URL(referrer);\n\t\t\t// §5.4, Request constructor steps, step 15.3.3, 15.3.4\n\t\t\treferrer = /^about:(\\/\\/)?client$/.test(parsedReferrer) ? 'client' : parsedReferrer;\n\t\t} else {\n\t\t\treferrer = undefined;\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal,\n\t\t\treferrer\n\t\t};\n\n\t\t// Node-fetch-only options\n\t\tthis.follow = init.follow === undefined ? (input.follow === undefined ? 20 : input.follow) : init.follow;\n\t\tthis.compress = init.compress === undefined ? (input.compress === undefined ? true : input.compress) : init.compress;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t\tthis.highWaterMark = init.highWaterMark || input.highWaterMark || 16384;\n\t\tthis.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;\n\n\t\t// §5.4, Request constructor steps, step 16.\n\t\t// Default is empty string per https://fetch.spec.whatwg.org/#concept-request-referrer-policy\n\t\tthis.referrerPolicy = init.referrerPolicy || input.referrerPolicy || '';\n\t}\n\n\t/** @returns {string} */\n\tget method() {\n\t\treturn this[INTERNALS].method;\n\t}\n\n\t/** @returns {string} */\n\tget url() {\n\t\treturn formatUrl(this[INTERNALS].parsedURL);\n\t}\n\n\t/** @returns {Headers} */\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS].redirect;\n\t}\n\n\t/** @returns {AbortSignal} */\n\tget signal() {\n\t\treturn this[INTERNALS].signal;\n\t}\n\n\t// https://fetch.spec.whatwg.org/#dom-request-referrer\n\tget referrer() {\n\t\tif (this[INTERNALS].referrer === 'no-referrer') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer === 'client') {\n\t\t\treturn 'about:client';\n\t\t}\n\n\t\tif (this[INTERNALS].referrer) {\n\t\t\treturn this[INTERNALS].referrer.toString();\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget referrerPolicy() {\n\t\treturn this[INTERNALS].referrerPolicy;\n\t}\n\n\tset referrerPolicy(referrerPolicy) {\n\t\tthis[INTERNALS].referrerPolicy = validateReferrerPolicy(referrerPolicy);\n\t}\n\n\t/**\n\t * Clone this request\n\t *\n\t * @return Request\n\t */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Request';\n\t}\n}\n\nObject.defineProperties(Request.prototype, {\n\tmethod: {enumerable: true},\n\turl: {enumerable: true},\n\theaders: {enumerable: true},\n\tredirect: {enumerable: true},\n\tclone: {enumerable: true},\n\tsignal: {enumerable: true},\n\treferrer: {enumerable: true},\n\treferrerPolicy: {enumerable: true}\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param {Request} request - A Request instance\n * @return The options object to be passed to http.request\n */\nexport const getNodeRequestOptions = request => {\n\tconst {parsedURL} = request[INTERNALS];\n\tconst headers = new Headers(request[INTERNALS].headers);\n\n\t// Fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body === null && /^(post|put)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\n\tif (request.body !== null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\t// Set Content-Length if totalBytes is a number (that is not NaN)\n\t\tif (typeof totalBytes === 'number' && !Number.isNaN(totalBytes)) {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// 4.1. Main fetch, step 2.6\n\t// > If request's referrer policy is the empty string, then set request's referrer policy to the\n\t// > default referrer policy.\n\tif (request.referrerPolicy === '') {\n\t\trequest.referrerPolicy = DEFAULT_REFERRER_POLICY;\n\t}\n\n\t// 4.1. Main fetch, step 2.7\n\t// > If request's referrer is not \"no-referrer\", set request's referrer to the result of invoking\n\t// > determine request's referrer.\n\tif (request.referrer && request.referrer !== 'no-referrer') {\n\t\trequest[INTERNALS].referrer = determineRequestsReferrer(request);\n\t} else {\n\t\trequest[INTERNALS].referrer = 'no-referrer';\n\t}\n\n\t// 4.5. HTTP-network-or-cache fetch, step 6.9\n\t// > If httpRequest's referrer is a URL, then append `Referer`/httpRequest's referrer, serialized\n\t// > and isomorphic encoded, to httpRequest's header list.\n\tif (request[INTERNALS].referrer instanceof URL) {\n\t\theaders.set('Referer', request.referrer);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip, deflate, br');\n\t}\n\n\tlet {agent} = request;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\tconst search = getSearch(parsedURL);\n\n\t// Pass the full URL directly to request(), but overwrite the following\n\t// options:\n\tconst options = {\n\t\t// Overwrite search to retain trailing ? (issue #776)\n\t\tpath: parsedURL.pathname + search,\n\t\t// The following options are not expressed in the URL\n\t\tmethod: request.method,\n\t\theaders: headers[Symbol.for('nodejs.util.inspect.custom')](),\n\t\tinsecureHTTPParser: request.insecureHTTPParser,\n\t\tagent\n\t};\n\n\treturn {\n\t\t/** @type {URL} */\n\t\tparsedURL,\n\t\toptions\n\t};\n};\n"],"names":["formatUrl"],"mappings":"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"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const headers = require("./headers.cjs");
|
|
3
|
+
const body = require("./body.cjs");
|
|
4
|
+
const isRedirect = require("./utils/is-redirect.cjs");
|
|
5
|
+
const INTERNALS = Symbol("Response internals");
|
|
6
|
+
class Response extends body.default {
|
|
7
|
+
constructor(body$1 = null, options = {}) {
|
|
8
|
+
super(body$1, options);
|
|
9
|
+
const status = options.status != null ? options.status : 200;
|
|
10
|
+
const headers$1 = new headers.default(options.headers);
|
|
11
|
+
if (body$1 !== null && !headers$1.has("Content-Type")) {
|
|
12
|
+
const contentType = body.extractContentType(body$1, this);
|
|
13
|
+
if (contentType) {
|
|
14
|
+
headers$1.append("Content-Type", contentType);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
this[INTERNALS] = {
|
|
18
|
+
type: "default",
|
|
19
|
+
url: options.url,
|
|
20
|
+
status,
|
|
21
|
+
statusText: options.statusText || "",
|
|
22
|
+
headers: headers$1,
|
|
23
|
+
counter: options.counter,
|
|
24
|
+
highWaterMark: options.highWaterMark
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
get type() {
|
|
28
|
+
return this[INTERNALS].type;
|
|
29
|
+
}
|
|
30
|
+
get url() {
|
|
31
|
+
return this[INTERNALS].url || "";
|
|
32
|
+
}
|
|
33
|
+
get status() {
|
|
34
|
+
return this[INTERNALS].status;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Convenience property representing if the request ended normally
|
|
38
|
+
*/
|
|
39
|
+
get ok() {
|
|
40
|
+
return this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;
|
|
41
|
+
}
|
|
42
|
+
get redirected() {
|
|
43
|
+
return this[INTERNALS].counter > 0;
|
|
44
|
+
}
|
|
45
|
+
get statusText() {
|
|
46
|
+
return this[INTERNALS].statusText;
|
|
47
|
+
}
|
|
48
|
+
get headers() {
|
|
49
|
+
return this[INTERNALS].headers;
|
|
50
|
+
}
|
|
51
|
+
get highWaterMark() {
|
|
52
|
+
return this[INTERNALS].highWaterMark;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Clone this response
|
|
56
|
+
*
|
|
57
|
+
* @return Response
|
|
58
|
+
*/
|
|
59
|
+
clone() {
|
|
60
|
+
return new Response(body.clone(this, this.highWaterMark), {
|
|
61
|
+
type: this.type,
|
|
62
|
+
url: this.url,
|
|
63
|
+
status: this.status,
|
|
64
|
+
statusText: this.statusText,
|
|
65
|
+
headers: this.headers,
|
|
66
|
+
ok: this.ok,
|
|
67
|
+
redirected: this.redirected,
|
|
68
|
+
size: this.size,
|
|
69
|
+
highWaterMark: this.highWaterMark
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @param {string} url The URL that the new response is to originate from.
|
|
74
|
+
* @param {number} status An optional status code for the response (e.g., 302.)
|
|
75
|
+
* @returns {Response} A Response object.
|
|
76
|
+
*/
|
|
77
|
+
static redirect(url, status = 302) {
|
|
78
|
+
if (!isRedirect.isRedirect(status)) {
|
|
79
|
+
throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
|
|
80
|
+
}
|
|
81
|
+
return new Response(null, {
|
|
82
|
+
headers: {
|
|
83
|
+
location: new URL(url).toString()
|
|
84
|
+
},
|
|
85
|
+
status
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
static error() {
|
|
89
|
+
const response = new Response(null, { status: 0, statusText: "" });
|
|
90
|
+
response[INTERNALS].type = "error";
|
|
91
|
+
return response;
|
|
92
|
+
}
|
|
93
|
+
static json(data = void 0, init = {}) {
|
|
94
|
+
const body2 = JSON.stringify(data);
|
|
95
|
+
if (body2 === void 0) {
|
|
96
|
+
throw new TypeError("data is not JSON serializable");
|
|
97
|
+
}
|
|
98
|
+
const headers$1 = new headers.default(init && init.headers);
|
|
99
|
+
if (!headers$1.has("content-type")) {
|
|
100
|
+
headers$1.set("content-type", "application/json");
|
|
101
|
+
}
|
|
102
|
+
return new Response(body2, {
|
|
103
|
+
...init,
|
|
104
|
+
headers: headers$1
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
get [Symbol.toStringTag]() {
|
|
108
|
+
return "Response";
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
Object.defineProperties(Response.prototype, {
|
|
112
|
+
type: { enumerable: true },
|
|
113
|
+
url: { enumerable: true },
|
|
114
|
+
status: { enumerable: true },
|
|
115
|
+
ok: { enumerable: true },
|
|
116
|
+
redirected: { enumerable: true },
|
|
117
|
+
statusText: { enumerable: true },
|
|
118
|
+
headers: { enumerable: true },
|
|
119
|
+
clone: { enumerable: true }
|
|
120
|
+
});
|
|
121
|
+
module.exports = Response;
|
|
122
|
+
//# sourceMappingURL=response.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.cjs","sources":["../../../../../../node_modules/node-fetch/src/response.js"],"sourcesContent":["/**\n * Response.js\n *\n * Response class provides content decoding\n */\n\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType} from './body.js';\nimport {isRedirect} from './utils/is-redirect.js';\n\nconst INTERNALS = Symbol('Response internals');\n\n/**\n * Response class\n *\n * Ref: https://fetch.spec.whatwg.org/#response-class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Response extends Body {\n\tconstructor(body = null, options = {}) {\n\t\tsuper(body, options);\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq, no-negated-condition\n\t\tconst status = options.status != null ? options.status : 200;\n\n\t\tconst headers = new Headers(options.headers);\n\n\t\tif (body !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\ttype: 'default',\n\t\t\turl: options.url,\n\t\t\tstatus,\n\t\t\tstatusText: options.statusText || '',\n\t\t\theaders,\n\t\t\tcounter: options.counter,\n\t\t\thighWaterMark: options.highWaterMark\n\t\t};\n\t}\n\n\tget type() {\n\t\treturn this[INTERNALS].type;\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS].status;\n\t}\n\n\t/**\n\t * Convenience property representing if the request ended normally\n\t */\n\tget ok() {\n\t\treturn this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget highWaterMark() {\n\t\treturn this[INTERNALS].highWaterMark;\n\t}\n\n\t/**\n\t * Clone this response\n\t *\n\t * @return Response\n\t */\n\tclone() {\n\t\treturn new Response(clone(this, this.highWaterMark), {\n\t\t\ttype: this.type,\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected,\n\t\t\tsize: this.size,\n\t\t\thighWaterMark: this.highWaterMark\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} url The URL that the new response is to originate from.\n\t * @param {number} status An optional status code for the response (e.g., 302.)\n\t * @returns {Response} A Response object.\n\t */\n\tstatic redirect(url, status = 302) {\n\t\tif (!isRedirect(status)) {\n\t\t\tthrow new RangeError('Failed to execute \"redirect\" on \"response\": Invalid status code');\n\t\t}\n\n\t\treturn new Response(null, {\n\t\t\theaders: {\n\t\t\t\tlocation: new URL(url).toString()\n\t\t\t},\n\t\t\tstatus\n\t\t});\n\t}\n\n\tstatic error() {\n\t\tconst response = new Response(null, {status: 0, statusText: ''});\n\t\tresponse[INTERNALS].type = 'error';\n\t\treturn response;\n\t}\n\n\tstatic json(data = undefined, init = {}) {\n\t\tconst body = JSON.stringify(data);\n\n\t\tif (body === undefined) {\n\t\t\tthrow new TypeError('data is not JSON serializable');\n\t\t}\n\n\t\tconst headers = new Headers(init && init.headers);\n\n\t\tif (!headers.has('content-type')) {\n\t\t\theaders.set('content-type', 'application/json');\n\t\t}\n\n\t\treturn new Response(body, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Response';\n\t}\n}\n\nObject.defineProperties(Response.prototype, {\n\ttype: {enumerable: true},\n\turl: {enumerable: true},\n\tstatus: {enumerable: true},\n\tok: {enumerable: true},\n\tredirected: {enumerable: true},\n\tstatusText: {enumerable: true},\n\theaders: {enumerable: true},\n\tclone: {enumerable: true}\n});\n"],"names":["Body","body","headers","Headers","extractContentType","clone","isRedirect"],"mappings":"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"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import Headers from "./headers.js";
|
|
2
|
+
import Body, { extractContentType, clone } from "./body.js";
|
|
3
|
+
import { isRedirect } from "./utils/is-redirect.js";
|
|
4
|
+
const INTERNALS = Symbol("Response internals");
|
|
5
|
+
class Response extends Body {
|
|
6
|
+
constructor(body = null, options = {}) {
|
|
7
|
+
super(body, options);
|
|
8
|
+
const status = options.status != null ? options.status : 200;
|
|
9
|
+
const headers = new Headers(options.headers);
|
|
10
|
+
if (body !== null && !headers.has("Content-Type")) {
|
|
11
|
+
const contentType = extractContentType(body, this);
|
|
12
|
+
if (contentType) {
|
|
13
|
+
headers.append("Content-Type", contentType);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
this[INTERNALS] = {
|
|
17
|
+
type: "default",
|
|
18
|
+
url: options.url,
|
|
19
|
+
status,
|
|
20
|
+
statusText: options.statusText || "",
|
|
21
|
+
headers,
|
|
22
|
+
counter: options.counter,
|
|
23
|
+
highWaterMark: options.highWaterMark
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
get type() {
|
|
27
|
+
return this[INTERNALS].type;
|
|
28
|
+
}
|
|
29
|
+
get url() {
|
|
30
|
+
return this[INTERNALS].url || "";
|
|
31
|
+
}
|
|
32
|
+
get status() {
|
|
33
|
+
return this[INTERNALS].status;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Convenience property representing if the request ended normally
|
|
37
|
+
*/
|
|
38
|
+
get ok() {
|
|
39
|
+
return this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;
|
|
40
|
+
}
|
|
41
|
+
get redirected() {
|
|
42
|
+
return this[INTERNALS].counter > 0;
|
|
43
|
+
}
|
|
44
|
+
get statusText() {
|
|
45
|
+
return this[INTERNALS].statusText;
|
|
46
|
+
}
|
|
47
|
+
get headers() {
|
|
48
|
+
return this[INTERNALS].headers;
|
|
49
|
+
}
|
|
50
|
+
get highWaterMark() {
|
|
51
|
+
return this[INTERNALS].highWaterMark;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Clone this response
|
|
55
|
+
*
|
|
56
|
+
* @return Response
|
|
57
|
+
*/
|
|
58
|
+
clone() {
|
|
59
|
+
return new Response(clone(this, this.highWaterMark), {
|
|
60
|
+
type: this.type,
|
|
61
|
+
url: this.url,
|
|
62
|
+
status: this.status,
|
|
63
|
+
statusText: this.statusText,
|
|
64
|
+
headers: this.headers,
|
|
65
|
+
ok: this.ok,
|
|
66
|
+
redirected: this.redirected,
|
|
67
|
+
size: this.size,
|
|
68
|
+
highWaterMark: this.highWaterMark
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @param {string} url The URL that the new response is to originate from.
|
|
73
|
+
* @param {number} status An optional status code for the response (e.g., 302.)
|
|
74
|
+
* @returns {Response} A Response object.
|
|
75
|
+
*/
|
|
76
|
+
static redirect(url, status = 302) {
|
|
77
|
+
if (!isRedirect(status)) {
|
|
78
|
+
throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');
|
|
79
|
+
}
|
|
80
|
+
return new Response(null, {
|
|
81
|
+
headers: {
|
|
82
|
+
location: new URL(url).toString()
|
|
83
|
+
},
|
|
84
|
+
status
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
static error() {
|
|
88
|
+
const response = new Response(null, { status: 0, statusText: "" });
|
|
89
|
+
response[INTERNALS].type = "error";
|
|
90
|
+
return response;
|
|
91
|
+
}
|
|
92
|
+
static json(data = void 0, init = {}) {
|
|
93
|
+
const body = JSON.stringify(data);
|
|
94
|
+
if (body === void 0) {
|
|
95
|
+
throw new TypeError("data is not JSON serializable");
|
|
96
|
+
}
|
|
97
|
+
const headers = new Headers(init && init.headers);
|
|
98
|
+
if (!headers.has("content-type")) {
|
|
99
|
+
headers.set("content-type", "application/json");
|
|
100
|
+
}
|
|
101
|
+
return new Response(body, {
|
|
102
|
+
...init,
|
|
103
|
+
headers
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
get [Symbol.toStringTag]() {
|
|
107
|
+
return "Response";
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
Object.defineProperties(Response.prototype, {
|
|
111
|
+
type: { enumerable: true },
|
|
112
|
+
url: { enumerable: true },
|
|
113
|
+
status: { enumerable: true },
|
|
114
|
+
ok: { enumerable: true },
|
|
115
|
+
redirected: { enumerable: true },
|
|
116
|
+
statusText: { enumerable: true },
|
|
117
|
+
headers: { enumerable: true },
|
|
118
|
+
clone: { enumerable: true }
|
|
119
|
+
});
|
|
120
|
+
export {
|
|
121
|
+
Response as default
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.js","sources":["../../../../../../node_modules/node-fetch/src/response.js"],"sourcesContent":["/**\n * Response.js\n *\n * Response class provides content decoding\n */\n\nimport Headers from './headers.js';\nimport Body, {clone, extractContentType} from './body.js';\nimport {isRedirect} from './utils/is-redirect.js';\n\nconst INTERNALS = Symbol('Response internals');\n\n/**\n * Response class\n *\n * Ref: https://fetch.spec.whatwg.org/#response-class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nexport default class Response extends Body {\n\tconstructor(body = null, options = {}) {\n\t\tsuper(body, options);\n\n\t\t// eslint-disable-next-line no-eq-null, eqeqeq, no-negated-condition\n\t\tconst status = options.status != null ? options.status : 200;\n\n\t\tconst headers = new Headers(options.headers);\n\n\t\tif (body !== null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body, this);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS] = {\n\t\t\ttype: 'default',\n\t\t\turl: options.url,\n\t\t\tstatus,\n\t\t\tstatusText: options.statusText || '',\n\t\t\theaders,\n\t\t\tcounter: options.counter,\n\t\t\thighWaterMark: options.highWaterMark\n\t\t};\n\t}\n\n\tget type() {\n\t\treturn this[INTERNALS].type;\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS].status;\n\t}\n\n\t/**\n\t * Convenience property representing if the request ended normally\n\t */\n\tget ok() {\n\t\treturn this[INTERNALS].status >= 200 && this[INTERNALS].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS].headers;\n\t}\n\n\tget highWaterMark() {\n\t\treturn this[INTERNALS].highWaterMark;\n\t}\n\n\t/**\n\t * Clone this response\n\t *\n\t * @return Response\n\t */\n\tclone() {\n\t\treturn new Response(clone(this, this.highWaterMark), {\n\t\t\ttype: this.type,\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected,\n\t\t\tsize: this.size,\n\t\t\thighWaterMark: this.highWaterMark\n\t\t});\n\t}\n\n\t/**\n\t * @param {string} url The URL that the new response is to originate from.\n\t * @param {number} status An optional status code for the response (e.g., 302.)\n\t * @returns {Response} A Response object.\n\t */\n\tstatic redirect(url, status = 302) {\n\t\tif (!isRedirect(status)) {\n\t\t\tthrow new RangeError('Failed to execute \"redirect\" on \"response\": Invalid status code');\n\t\t}\n\n\t\treturn new Response(null, {\n\t\t\theaders: {\n\t\t\t\tlocation: new URL(url).toString()\n\t\t\t},\n\t\t\tstatus\n\t\t});\n\t}\n\n\tstatic error() {\n\t\tconst response = new Response(null, {status: 0, statusText: ''});\n\t\tresponse[INTERNALS].type = 'error';\n\t\treturn response;\n\t}\n\n\tstatic json(data = undefined, init = {}) {\n\t\tconst body = JSON.stringify(data);\n\n\t\tif (body === undefined) {\n\t\t\tthrow new TypeError('data is not JSON serializable');\n\t\t}\n\n\t\tconst headers = new Headers(init && init.headers);\n\n\t\tif (!headers.has('content-type')) {\n\t\t\theaders.set('content-type', 'application/json');\n\t\t}\n\n\t\treturn new Response(body, {\n\t\t\t...init,\n\t\t\theaders\n\t\t});\n\t}\n\n\tget [Symbol.toStringTag]() {\n\t\treturn 'Response';\n\t}\n}\n\nObject.defineProperties(Response.prototype, {\n\ttype: {enumerable: true},\n\turl: {enumerable: true},\n\tstatus: {enumerable: true},\n\tok: {enumerable: true},\n\tredirected: {enumerable: true},\n\tstatusText: {enumerable: true},\n\theaders: {enumerable: true},\n\tclone: {enumerable: true}\n});\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const getSearch = (parsedURL) => {
|
|
4
|
+
if (parsedURL.search) {
|
|
5
|
+
return parsedURL.search;
|
|
6
|
+
}
|
|
7
|
+
const lastOffset = parsedURL.href.length - 1;
|
|
8
|
+
const hash = parsedURL.hash || (parsedURL.href[lastOffset] === "#" ? "#" : "");
|
|
9
|
+
return parsedURL.href[lastOffset - hash.length] === "?" ? "?" : "";
|
|
10
|
+
};
|
|
11
|
+
exports.getSearch = getSearch;
|
|
12
|
+
//# sourceMappingURL=get-search.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-search.cjs","sources":["../../../../../../../node_modules/node-fetch/src/utils/get-search.js"],"sourcesContent":["export const getSearch = parsedURL => {\n\tif (parsedURL.search) {\n\t\treturn parsedURL.search;\n\t}\n\n\tconst lastOffset = parsedURL.href.length - 1;\n\tconst hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : '');\n\treturn parsedURL.href[lastOffset - hash.length] === '?' ? '?' : '';\n};\n"],"names":[],"mappings":";;AAAY,MAAC,YAAY,eAAa;AACrC,MAAI,UAAU,QAAQ;AACrB,WAAO,UAAU;AAAA,EACjB;AAED,QAAM,aAAa,UAAU,KAAK,SAAS;AAC3C,QAAM,OAAO,UAAU,SAAS,UAAU,KAAK,UAAU,MAAM,MAAM,MAAM;AAC3E,SAAO,UAAU,KAAK,aAAa,KAAK,MAAM,MAAM,MAAM,MAAM;AACjE;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const getSearch = (parsedURL) => {
|
|
2
|
+
if (parsedURL.search) {
|
|
3
|
+
return parsedURL.search;
|
|
4
|
+
}
|
|
5
|
+
const lastOffset = parsedURL.href.length - 1;
|
|
6
|
+
const hash = parsedURL.hash || (parsedURL.href[lastOffset] === "#" ? "#" : "");
|
|
7
|
+
return parsedURL.href[lastOffset - hash.length] === "?" ? "?" : "";
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
getSearch
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=get-search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-search.js","sources":["../../../../../../../node_modules/node-fetch/src/utils/get-search.js"],"sourcesContent":["export const getSearch = parsedURL => {\n\tif (parsedURL.search) {\n\t\treturn parsedURL.search;\n\t}\n\n\tconst lastOffset = parsedURL.href.length - 1;\n\tconst hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : '');\n\treturn parsedURL.href[lastOffset - hash.length] === '?' ? '?' : '';\n};\n"],"names":[],"mappings":"AAAY,MAAC,YAAY,eAAa;AACrC,MAAI,UAAU,QAAQ;AACrB,WAAO,UAAU;AAAA,EACjB;AAED,QAAM,aAAa,UAAU,KAAK,SAAS;AAC3C,QAAM,OAAO,UAAU,SAAS,UAAU,KAAK,UAAU,MAAM,MAAM,MAAM;AAC3E,SAAO,UAAU,KAAK,aAAa,KAAK,MAAM,MAAM,MAAM,MAAM;AACjE;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const redirectStatus = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
4
|
+
const isRedirect = (code) => {
|
|
5
|
+
return redirectStatus.has(code);
|
|
6
|
+
};
|
|
7
|
+
exports.isRedirect = isRedirect;
|
|
8
|
+
//# sourceMappingURL=is-redirect.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-redirect.cjs","sources":["../../../../../../../node_modules/node-fetch/src/utils/is-redirect.js"],"sourcesContent":["const redirectStatus = new Set([301, 302, 303, 307, 308]);\n\n/**\n * Redirect code matching\n *\n * @param {number} code - Status code\n * @return {boolean}\n */\nexport const isRedirect = code => {\n\treturn redirectStatus.has(code);\n};\n"],"names":[],"mappings":";;AAAA,MAAM,iBAAiB,oBAAI,IAAI,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG,CAAC;AAQ5C,MAAC,aAAa,UAAQ;AACjC,SAAO,eAAe,IAAI,IAAI;AAC/B;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-redirect.js","sources":["../../../../../../../node_modules/node-fetch/src/utils/is-redirect.js"],"sourcesContent":["const redirectStatus = new Set([301, 302, 303, 307, 308]);\n\n/**\n * Redirect code matching\n *\n * @param {number} code - Status code\n * @return {boolean}\n */\nexport const isRedirect = code => {\n\treturn redirectStatus.has(code);\n};\n"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,oBAAI,IAAI,CAAC,KAAK,KAAK,KAAK,KAAK,GAAG,CAAC;AAQ5C,MAAC,aAAa,UAAQ;AACjC,SAAO,eAAe,IAAI,IAAI;AAC/B;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const NAME = Symbol.toStringTag;
|
|
4
|
+
const isURLSearchParameters = (object) => {
|
|
5
|
+
return typeof object === "object" && typeof object.append === "function" && typeof object.delete === "function" && typeof object.get === "function" && typeof object.getAll === "function" && typeof object.has === "function" && typeof object.set === "function" && typeof object.sort === "function" && object[NAME] === "URLSearchParams";
|
|
6
|
+
};
|
|
7
|
+
const isBlob = (object) => {
|
|
8
|
+
return object && typeof object === "object" && typeof object.arrayBuffer === "function" && typeof object.type === "string" && typeof object.stream === "function" && typeof object.constructor === "function" && /^(Blob|File)$/.test(object[NAME]);
|
|
9
|
+
};
|
|
10
|
+
const isAbortSignal = (object) => {
|
|
11
|
+
return typeof object === "object" && (object[NAME] === "AbortSignal" || object[NAME] === "EventTarget");
|
|
12
|
+
};
|
|
13
|
+
const isDomainOrSubdomain = (destination, original) => {
|
|
14
|
+
const orig = new URL(original).hostname;
|
|
15
|
+
const dest = new URL(destination).hostname;
|
|
16
|
+
return orig === dest || orig.endsWith(`.${dest}`);
|
|
17
|
+
};
|
|
18
|
+
const isSameProtocol = (destination, original) => {
|
|
19
|
+
const orig = new URL(original).protocol;
|
|
20
|
+
const dest = new URL(destination).protocol;
|
|
21
|
+
return orig === dest;
|
|
22
|
+
};
|
|
23
|
+
exports.isAbortSignal = isAbortSignal;
|
|
24
|
+
exports.isBlob = isBlob;
|
|
25
|
+
exports.isDomainOrSubdomain = isDomainOrSubdomain;
|
|
26
|
+
exports.isSameProtocol = isSameProtocol;
|
|
27
|
+
exports.isURLSearchParameters = isURLSearchParameters;
|
|
28
|
+
//# sourceMappingURL=is.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is.cjs","sources":["../../../../../../../node_modules/node-fetch/src/utils/is.js"],"sourcesContent":["/**\n * Is.js\n *\n * Object type checks.\n */\n\nconst NAME = Symbol.toStringTag;\n\n/**\n * Check if `obj` is a URLSearchParams object\n * ref: https://github.com/node-fetch/node-fetch/issues/296#issuecomment-307598143\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isURLSearchParameters = object => {\n\treturn (\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.append === 'function' &&\n\t\ttypeof object.delete === 'function' &&\n\t\ttypeof object.get === 'function' &&\n\t\ttypeof object.getAll === 'function' &&\n\t\ttypeof object.has === 'function' &&\n\t\ttypeof object.set === 'function' &&\n\t\ttypeof object.sort === 'function' &&\n\t\tobject[NAME] === 'URLSearchParams'\n\t);\n};\n\n/**\n * Check if `object` is a W3C `Blob` object (which `File` inherits from)\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isBlob = object => {\n\treturn (\n\t\tobject &&\n\t\ttypeof object === 'object' &&\n\t\ttypeof object.arrayBuffer === 'function' &&\n\t\ttypeof object.type === 'string' &&\n\t\ttypeof object.stream === 'function' &&\n\t\ttypeof object.constructor === 'function' &&\n\t\t/^(Blob|File)$/.test(object[NAME])\n\t);\n};\n\n/**\n * Check if `obj` is an instance of AbortSignal.\n * @param {*} object - Object to check for\n * @return {boolean}\n */\nexport const isAbortSignal = object => {\n\treturn (\n\t\ttypeof object === 'object' && (\n\t\t\tobject[NAME] === 'AbortSignal' ||\n\t\t\tobject[NAME] === 'EventTarget'\n\t\t)\n\t);\n};\n\n/**\n * isDomainOrSubdomain reports whether sub is a subdomain (or exact match) of\n * the parent domain.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isDomainOrSubdomain = (destination, original) => {\n\tconst orig = new URL(original).hostname;\n\tconst dest = new URL(destination).hostname;\n\n\treturn orig === dest || orig.endsWith(`.${dest}`);\n};\n\n/**\n * isSameProtocol reports whether the two provided URLs use the same protocol.\n *\n * Both domains must already be in canonical form.\n * @param {string|URL} original\n * @param {string|URL} destination\n */\nexport const isSameProtocol = (destination, original) => {\n\tconst orig = new URL(original).protocol;\n\tconst dest = new URL(destination).protocol;\n\n\treturn orig === dest;\n};\n"],"names":[],"mappings":";;AAMA,MAAM,OAAO,OAAO;AAQR,MAAC,wBAAwB,YAAU;AAC9C,SACC,OAAO,WAAW,YAClB,OAAO,OAAO,WAAW,cACzB,OAAO,OAAO,WAAW,cACzB,OAAO,OAAO,QAAQ,cACtB,OAAO,OAAO,WAAW,cACzB,OAAO,OAAO,QAAQ,cACtB,OAAO,OAAO,QAAQ,cACtB,OAAO,OAAO,SAAS,cACvB,OAAO,IAAI,MAAM;AAEnB;AAOY,MAAC,SAAS,YAAU;AAC/B,SACC,UACA,OAAO,WAAW,YAClB,OAAO,OAAO,gBAAgB,cAC9B,OAAO,OAAO,SAAS,YACvB,OAAO,OAAO,WAAW,cACzB,OAAO,OAAO,gBAAgB,cAC9B,gBAAgB,KAAK,OAAO,IAAI,CAAC;AAEnC;AAOY,MAAC,gBAAgB,YAAU;AACtC,SACC,OAAO,WAAW,aACjB,OAAO,IAAI,MAAM,iBACjB,OAAO,IAAI,MAAM;AAGpB;AAUY,MAAC,sBAAsB,CAAC,aAAa,aAAa;AAC7D,QAAM,OAAO,IAAI,IAAI,QAAQ,EAAE;AAC/B,QAAM,OAAO,IAAI,IAAI,WAAW,EAAE;AAElC,SAAO,SAAS,QAAQ,KAAK,SAAS,IAAI,MAAM;AACjD;AASY,MAAC,iBAAiB,CAAC,aAAa,aAAa;AACxD,QAAM,OAAO,IAAI,IAAI,QAAQ,EAAE;AAC/B,QAAM,OAAO,IAAI,IAAI,WAAW,EAAE;AAElC,SAAO,SAAS;AACjB;;;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const NAME = Symbol.toStringTag;
|
|
2
|
+
const isURLSearchParameters = (object) => {
|
|
3
|
+
return typeof object === "object" && typeof object.append === "function" && typeof object.delete === "function" && typeof object.get === "function" && typeof object.getAll === "function" && typeof object.has === "function" && typeof object.set === "function" && typeof object.sort === "function" && object[NAME] === "URLSearchParams";
|
|
4
|
+
};
|
|
5
|
+
const isBlob = (object) => {
|
|
6
|
+
return object && typeof object === "object" && typeof object.arrayBuffer === "function" && typeof object.type === "string" && typeof object.stream === "function" && typeof object.constructor === "function" && /^(Blob|File)$/.test(object[NAME]);
|
|
7
|
+
};
|
|
8
|
+
const isAbortSignal = (object) => {
|
|
9
|
+
return typeof object === "object" && (object[NAME] === "AbortSignal" || object[NAME] === "EventTarget");
|
|
10
|
+
};
|
|
11
|
+
const isDomainOrSubdomain = (destination, original) => {
|
|
12
|
+
const orig = new URL(original).hostname;
|
|
13
|
+
const dest = new URL(destination).hostname;
|
|
14
|
+
return orig === dest || orig.endsWith(`.${dest}`);
|
|
15
|
+
};
|
|
16
|
+
const isSameProtocol = (destination, original) => {
|
|
17
|
+
const orig = new URL(original).protocol;
|
|
18
|
+
const dest = new URL(destination).protocol;
|
|
19
|
+
return orig === dest;
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
isAbortSignal,
|
|
23
|
+
isBlob,
|
|
24
|
+
isDomainOrSubdomain,
|
|
25
|
+
isSameProtocol,
|
|
26
|
+
isURLSearchParameters
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=is.js.map
|