@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 @@
|
|
|
1
|
+
{"version":3,"file":"createContentDigest.cjs","sources":["../../../src/lib/createContentDigest.ts"],"sourcesContent":["import * as crypto from \"node:crypto\";\n\n/**\n * Creates a content digest for a given input.\n *\n * @param input - The value used to create a digest digest.\n *\n * @returns The content digest of `input`.\n */\nexport const createContentDigest = (input: crypto.BinaryLike): string => {\n\treturn crypto.createHash(\"sha1\").update(input).digest(\"hex\");\n};\n"],"names":["crypto"],"mappings":";;;;;;;;;;;;;;;;;;;;AASa,MAAA,sBAAsB,CAAC,UAAoC;AAChE,SAAAA,kBAAO,WAAW,MAAM,EAAE,OAAO,KAAK,EAAE,OAAO,KAAK;AAC5D;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as crypto from "node:crypto";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a content digest for a given input.
|
|
4
|
+
*
|
|
5
|
+
* @param input - The value used to create a digest digest.
|
|
6
|
+
*
|
|
7
|
+
* @returns The content digest of `input`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const createContentDigest: (input: crypto.BinaryLike) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createContentDigest.js","sources":["../../../src/lib/createContentDigest.ts"],"sourcesContent":["import * as crypto from \"node:crypto\";\n\n/**\n * Creates a content digest for a given input.\n *\n * @param input - The value used to create a digest digest.\n *\n * @returns The content digest of `input`.\n */\nexport const createContentDigest = (input: crypto.BinaryLike): string => {\n\treturn crypto.createHash(\"sha1\").update(input).digest(\"hex\");\n};\n"],"names":[],"mappings":";AASa,MAAA,sBAAsB,CAAC,UAAoC;AAChE,SAAA,OAAO,WAAW,MAAM,EAAE,OAAO,KAAK,EAAE,OAAO,KAAK;AAC5D;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Either = require('./../__node_modules/fp-ts/es6/Either.cjs');
|
|
4
|
+
const _function = require('./../__node_modules/fp-ts/es6/function.cjs');
|
|
5
|
+
const DecodeError = require("./DecodeError.cjs");
|
|
6
|
+
const decode = (codec, input) => {
|
|
7
|
+
return _function.pipe(codec.decode(input), Either.foldW((errors) => {
|
|
8
|
+
return {
|
|
9
|
+
error: new DecodeError.DecodeError({ input, errors })
|
|
10
|
+
};
|
|
11
|
+
}, (value) => {
|
|
12
|
+
return {
|
|
13
|
+
value
|
|
14
|
+
};
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
exports.decode = decode;
|
|
18
|
+
//# sourceMappingURL=decode.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode.cjs","sources":["../../../src/lib/decode.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport * as E from \"fp-ts/Either\";\nimport { pipe } from \"fp-ts/function\";\n\nimport { DecodeError } from \"./DecodeError\";\n\nexport type DecodeReturnType<A, _O, I> =\n\t| {\n\t\t\tvalue: A;\n\t\t\terror?: never;\n\t }\n\t| {\n\t\t\tvalue?: never;\n\t\t\terror: DecodeError<I>;\n\t };\n\nexport const decode = <A, O, I>(\n\tcodec: t.Type<A, O, I>,\n\tinput: I,\n): DecodeReturnType<A, O, I> => {\n\treturn pipe(\n\t\tcodec.decode(input),\n\t\tE.foldW(\n\t\t\t(errors) => {\n\t\t\t\treturn {\n\t\t\t\t\terror: new DecodeError({ input, errors }),\n\t\t\t\t};\n\t\t\t},\n\t\t\t(value) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue,\n\t\t\t\t};\n\t\t\t},\n\t\t),\n\t);\n};\n"],"names":["pipe","E.foldW","DecodeError"],"mappings":";;;;;AAgBa,MAAA,SAAS,CACrB,OACA,UAC8B;AACvB,SAAAA,UAAAA,KACN,MAAM,OAAO,KAAK,GAClBC,OAAAA,MACC,CAAC,WAAU;AACH,WAAA;AAAA,MACN,OAAO,IAAIC,YAAA,YAAY,EAAE,OAAO,QAAQ;AAAA,IAAA;AAAA,EAE1C,GACA,CAAC,UAAS;AACF,WAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAED,CAAA,CACD;AAEH;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { DecodeError } from "./DecodeError";
|
|
3
|
+
export type DecodeReturnType<A, _O, I> = {
|
|
4
|
+
value: A;
|
|
5
|
+
error?: never;
|
|
6
|
+
} | {
|
|
7
|
+
value?: never;
|
|
8
|
+
error: DecodeError<I>;
|
|
9
|
+
};
|
|
10
|
+
export declare const decode: <A, O, I>(codec: t.Type<A, O, I>, input: I) => DecodeReturnType<A, O, I>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { foldW } from './../__node_modules/fp-ts/es6/Either.js';
|
|
2
|
+
import { pipe } from './../__node_modules/fp-ts/es6/function.js';
|
|
3
|
+
import { DecodeError } from "./DecodeError.js";
|
|
4
|
+
const decode = (codec, input) => {
|
|
5
|
+
return pipe(codec.decode(input), foldW((errors) => {
|
|
6
|
+
return {
|
|
7
|
+
error: new DecodeError({ input, errors })
|
|
8
|
+
};
|
|
9
|
+
}, (value) => {
|
|
10
|
+
return {
|
|
11
|
+
value
|
|
12
|
+
};
|
|
13
|
+
}));
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
decode
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=decode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode.js","sources":["../../../src/lib/decode.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport * as E from \"fp-ts/Either\";\nimport { pipe } from \"fp-ts/function\";\n\nimport { DecodeError } from \"./DecodeError\";\n\nexport type DecodeReturnType<A, _O, I> =\n\t| {\n\t\t\tvalue: A;\n\t\t\terror?: never;\n\t }\n\t| {\n\t\t\tvalue?: never;\n\t\t\terror: DecodeError<I>;\n\t };\n\nexport const decode = <A, O, I>(\n\tcodec: t.Type<A, O, I>,\n\tinput: I,\n): DecodeReturnType<A, O, I> => {\n\treturn pipe(\n\t\tcodec.decode(input),\n\t\tE.foldW(\n\t\t\t(errors) => {\n\t\t\t\treturn {\n\t\t\t\t\terror: new DecodeError({ input, errors }),\n\t\t\t\t};\n\t\t\t},\n\t\t\t(value) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue,\n\t\t\t\t};\n\t\t\t},\n\t\t),\n\t);\n};\n"],"names":["E.foldW"],"mappings":";;;AAgBa,MAAA,SAAS,CACrB,OACA,UAC8B;AACvB,SAAA,KACN,MAAM,OAAO,KAAK,GAClBA,MACC,CAAC,WAAU;AACH,WAAA;AAAA,MACN,OAAO,IAAI,YAAY,EAAE,OAAO,QAAQ;AAAA,IAAA;AAAA,EAE1C,GACA,CAAC,UAAS;AACF,WAAA;AAAA,MACN;AAAA,IAAA;AAAA,EAED,CAAA,CACD;AAEH;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const decode = require("./decode.cjs");
|
|
4
|
+
const decodeHookResult = (codec, hookResult) => {
|
|
5
|
+
const data = [];
|
|
6
|
+
const errors = [];
|
|
7
|
+
for (const dataElement of hookResult.data) {
|
|
8
|
+
const { value, error } = decode.decode(codec, dataElement);
|
|
9
|
+
if (error) {
|
|
10
|
+
errors.push(error);
|
|
11
|
+
} else {
|
|
12
|
+
data.push(value);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
data,
|
|
17
|
+
errors: [...errors, ...hookResult.errors]
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
exports.decodeHookResult = decodeHookResult;
|
|
21
|
+
//# sourceMappingURL=decodeHookResult.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decodeHookResult.cjs","sources":["../../../src/lib/decodeHookResult.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport { CallHookReturnType, HookError } from \"@slicemachine/plugin-kit\";\n\nimport { DecodeError } from \"./DecodeError\";\nimport { decode } from \"./decode\";\n\nexport const decodeHookResult = <\n\tA,\n\tO,\n\tI,\n\tTHookResult extends Awaited<CallHookReturnType>,\n>(\n\tcodec: t.Type<A, O, I>,\n\thookResult: THookResult,\n): {\n\tdata: A[];\n\terrors: (HookError | DecodeError<I>)[];\n} => {\n\tconst data: A[] = [];\n\tconst errors: DecodeError<I>[] = [];\n\n\tfor (const dataElement of hookResult.data) {\n\t\tconst { value, error } = decode(codec, dataElement);\n\n\t\tif (error) {\n\t\t\terrors.push(error);\n\t\t} else {\n\t\t\tdata.push(value);\n\t\t}\n\t}\n\n\treturn {\n\t\tdata,\n\t\terrors: [...errors, ...hookResult.errors],\n\t};\n};\n"],"names":["decode"],"mappings":";;;AAMa,MAAA,mBAAmB,CAM/B,OACA,eAIG;AACH,QAAM,OAAY,CAAA;AAClB,QAAM,SAA2B,CAAA;AAEtB,aAAA,eAAe,WAAW,MAAM;AAC1C,UAAM,EAAE,OAAO,MAAA,IAAUA,OAAAA,OAAO,OAAO,WAAW;AAElD,QAAI,OAAO;AACV,aAAO,KAAK,KAAK;AAAA,IAAA,OACX;AACN,WAAK,KAAK,KAAK;AAAA,IACf;AAAA,EACD;AAEM,SAAA;AAAA,IACN;AAAA,IACA,QAAQ,CAAC,GAAG,QAAQ,GAAG,WAAW,MAAM;AAAA,EAAA;AAE1C;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { HookError } from "@slicemachine/plugin-kit";
|
|
3
|
+
import { DecodeError } from "./DecodeError";
|
|
4
|
+
export declare const decodeHookResult: <A, O, I, THookResult extends {
|
|
5
|
+
data: any[];
|
|
6
|
+
errors: HookError<unknown>[];
|
|
7
|
+
}>(codec: t.Type<A, O, I>, hookResult: THookResult) => {
|
|
8
|
+
data: A[];
|
|
9
|
+
errors: (HookError<unknown> | DecodeError<I>)[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { decode } from "./decode.js";
|
|
2
|
+
const decodeHookResult = (codec, hookResult) => {
|
|
3
|
+
const data = [];
|
|
4
|
+
const errors = [];
|
|
5
|
+
for (const dataElement of hookResult.data) {
|
|
6
|
+
const { value, error } = decode(codec, dataElement);
|
|
7
|
+
if (error) {
|
|
8
|
+
errors.push(error);
|
|
9
|
+
} else {
|
|
10
|
+
data.push(value);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
data,
|
|
15
|
+
errors: [...errors, ...hookResult.errors]
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
decodeHookResult
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=decodeHookResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decodeHookResult.js","sources":["../../../src/lib/decodeHookResult.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport { CallHookReturnType, HookError } from \"@slicemachine/plugin-kit\";\n\nimport { DecodeError } from \"./DecodeError\";\nimport { decode } from \"./decode\";\n\nexport const decodeHookResult = <\n\tA,\n\tO,\n\tI,\n\tTHookResult extends Awaited<CallHookReturnType>,\n>(\n\tcodec: t.Type<A, O, I>,\n\thookResult: THookResult,\n): {\n\tdata: A[];\n\terrors: (HookError | DecodeError<I>)[];\n} => {\n\tconst data: A[] = [];\n\tconst errors: DecodeError<I>[] = [];\n\n\tfor (const dataElement of hookResult.data) {\n\t\tconst { value, error } = decode(codec, dataElement);\n\n\t\tif (error) {\n\t\t\terrors.push(error);\n\t\t} else {\n\t\t\tdata.push(value);\n\t\t}\n\t}\n\n\treturn {\n\t\tdata,\n\t\terrors: [...errors, ...hookResult.errors],\n\t};\n};\n"],"names":[],"mappings":";AAMa,MAAA,mBAAmB,CAM/B,OACA,eAIG;AACH,QAAM,OAAY,CAAA;AAClB,QAAM,SAA2B,CAAA;AAEtB,aAAA,eAAe,WAAW,MAAM;AAC1C,UAAM,EAAE,OAAO,MAAA,IAAU,OAAO,OAAO,WAAW;AAElD,QAAI,OAAO;AACV,aAAO,KAAK,KAAK;AAAA,IAAA,OACX;AACN,WAAK,KAAK,KAAK;AAAA,IACf;AAAA,EACD;AAEM,SAAA;AAAA,IACN;AAAA,IACA,QAAQ,CAAC,GAAG,QAAQ,GAAG,WAAW,MAAM;AAAA,EAAA;AAE1C;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const t = require("io-ts");
|
|
4
|
+
const decode = require("./decode.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const t__namespace = /* @__PURE__ */ _interopNamespaceDefault(t);
|
|
22
|
+
const SliceMachineConfigPluginRegistrationCodec = t__namespace.union([
|
|
23
|
+
t__namespace.string,
|
|
24
|
+
t__namespace.intersection([
|
|
25
|
+
t__namespace.type({
|
|
26
|
+
resolve: t__namespace.string
|
|
27
|
+
}),
|
|
28
|
+
t__namespace.partial({
|
|
29
|
+
options: t__namespace.UnknownRecord
|
|
30
|
+
})
|
|
31
|
+
])
|
|
32
|
+
]);
|
|
33
|
+
const SliceMachineConfigCodec = t__namespace.intersection([
|
|
34
|
+
t__namespace.type({
|
|
35
|
+
_latest: t__namespace.string,
|
|
36
|
+
repositoryName: t__namespace.string,
|
|
37
|
+
adapter: SliceMachineConfigPluginRegistrationCodec
|
|
38
|
+
}),
|
|
39
|
+
t__namespace.partial({
|
|
40
|
+
apiEndpoint: t__namespace.string,
|
|
41
|
+
libraries: t__namespace.array(t__namespace.string),
|
|
42
|
+
localSliceSimulatorURL: t__namespace.string,
|
|
43
|
+
plugins: t__namespace.array(SliceMachineConfigPluginRegistrationCodec)
|
|
44
|
+
})
|
|
45
|
+
]);
|
|
46
|
+
const decodeSliceMachineConfig = (input) => {
|
|
47
|
+
return decode.decode(SliceMachineConfigCodec, input);
|
|
48
|
+
};
|
|
49
|
+
exports.decodeSliceMachineConfig = decodeSliceMachineConfig;
|
|
50
|
+
//# sourceMappingURL=decodeSliceMachineConfig.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decodeSliceMachineConfig.cjs","sources":["../../../src/lib/decodeSliceMachineConfig.ts"],"sourcesContent":["import * as t from \"io-ts\";\n\nimport { SliceMachineConfig } from \"../types\";\n\nimport { decode, DecodeReturnType } from \"./decode\";\n\nconst SliceMachineConfigPluginRegistrationCodec = t.union([\n\tt.string,\n\tt.intersection([\n\t\tt.type({\n\t\t\tresolve: t.string,\n\t\t}),\n\t\tt.partial({\n\t\t\toptions: t.UnknownRecord,\n\t\t}),\n\t]),\n]);\n\nconst SliceMachineConfigCodec = t.intersection([\n\tt.type({\n\t\t_latest: t.string,\n\t\trepositoryName: t.string,\n\t\tadapter: SliceMachineConfigPluginRegistrationCodec,\n\t}),\n\tt.partial({\n\t\tapiEndpoint: t.string,\n\t\tlibraries: t.array(t.string),\n\t\tlocalSliceSimulatorURL: t.string,\n\t\tplugins: t.array(SliceMachineConfigPluginRegistrationCodec),\n\t}),\n]);\n\n// TODO: Maybe rename \"decode\" to \"validate\". \"decode\" exposes the `io-ts`\n// internals.\nexport const decodeSliceMachineConfig = (\n\tinput: unknown,\n): DecodeReturnType<SliceMachineConfig, SliceMachineConfig, unknown> => {\n\treturn decode(SliceMachineConfigCodec, input) as DecodeReturnType<\n\t\tSliceMachineConfig,\n\t\tSliceMachineConfig,\n\t\tunknown\n\t>;\n};\n"],"names":["t","decode"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,4CAA4CA,aAAE,MAAM;AAAA,EACzDA,aAAE;AAAA,EACFA,aAAE,aAAa;AAAA,IACdA,aAAE,KAAK;AAAA,MACN,SAASA,aAAE;AAAA,IAAA,CACX;AAAA,IACDA,aAAE,QAAQ;AAAA,MACT,SAASA,aAAE;AAAA,IAAA,CACX;AAAA,EAAA,CACD;AACD,CAAA;AAED,MAAM,0BAA0BA,aAAE,aAAa;AAAA,EAC9CA,aAAE,KAAK;AAAA,IACN,SAASA,aAAE;AAAA,IACX,gBAAgBA,aAAE;AAAA,IAClB,SAAS;AAAA,EAAA,CACT;AAAA,EACDA,aAAE,QAAQ;AAAA,IACT,aAAaA,aAAE;AAAA,IACf,WAAWA,aAAE,MAAMA,aAAE,MAAM;AAAA,IAC3B,wBAAwBA,aAAE;AAAA,IAC1B,SAASA,aAAE,MAAM,yCAAyC;AAAA,EAAA,CAC1D;AACD,CAAA;AAIY,MAAA,2BAA2B,CACvC,UACsE;AAC/D,SAAAC,OAAA,OAAO,yBAAyB,KAAK;AAK7C;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { decode } from "./decode.js";
|
|
3
|
+
const SliceMachineConfigPluginRegistrationCodec = t.union([
|
|
4
|
+
t.string,
|
|
5
|
+
t.intersection([
|
|
6
|
+
t.type({
|
|
7
|
+
resolve: t.string
|
|
8
|
+
}),
|
|
9
|
+
t.partial({
|
|
10
|
+
options: t.UnknownRecord
|
|
11
|
+
})
|
|
12
|
+
])
|
|
13
|
+
]);
|
|
14
|
+
const SliceMachineConfigCodec = t.intersection([
|
|
15
|
+
t.type({
|
|
16
|
+
_latest: t.string,
|
|
17
|
+
repositoryName: t.string,
|
|
18
|
+
adapter: SliceMachineConfigPluginRegistrationCodec
|
|
19
|
+
}),
|
|
20
|
+
t.partial({
|
|
21
|
+
apiEndpoint: t.string,
|
|
22
|
+
libraries: t.array(t.string),
|
|
23
|
+
localSliceSimulatorURL: t.string,
|
|
24
|
+
plugins: t.array(SliceMachineConfigPluginRegistrationCodec)
|
|
25
|
+
})
|
|
26
|
+
]);
|
|
27
|
+
const decodeSliceMachineConfig = (input) => {
|
|
28
|
+
return decode(SliceMachineConfigCodec, input);
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
decodeSliceMachineConfig
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=decodeSliceMachineConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decodeSliceMachineConfig.js","sources":["../../../src/lib/decodeSliceMachineConfig.ts"],"sourcesContent":["import * as t from \"io-ts\";\n\nimport { SliceMachineConfig } from \"../types\";\n\nimport { decode, DecodeReturnType } from \"./decode\";\n\nconst SliceMachineConfigPluginRegistrationCodec = t.union([\n\tt.string,\n\tt.intersection([\n\t\tt.type({\n\t\t\tresolve: t.string,\n\t\t}),\n\t\tt.partial({\n\t\t\toptions: t.UnknownRecord,\n\t\t}),\n\t]),\n]);\n\nconst SliceMachineConfigCodec = t.intersection([\n\tt.type({\n\t\t_latest: t.string,\n\t\trepositoryName: t.string,\n\t\tadapter: SliceMachineConfigPluginRegistrationCodec,\n\t}),\n\tt.partial({\n\t\tapiEndpoint: t.string,\n\t\tlibraries: t.array(t.string),\n\t\tlocalSliceSimulatorURL: t.string,\n\t\tplugins: t.array(SliceMachineConfigPluginRegistrationCodec),\n\t}),\n]);\n\n// TODO: Maybe rename \"decode\" to \"validate\". \"decode\" exposes the `io-ts`\n// internals.\nexport const decodeSliceMachineConfig = (\n\tinput: unknown,\n): DecodeReturnType<SliceMachineConfig, SliceMachineConfig, unknown> => {\n\treturn decode(SliceMachineConfigCodec, input) as DecodeReturnType<\n\t\tSliceMachineConfig,\n\t\tSliceMachineConfig,\n\t\tunknown\n\t>;\n};\n"],"names":[],"mappings":";;AAMA,MAAM,4CAA4C,EAAE,MAAM;AAAA,EACzD,EAAE;AAAA,EACF,EAAE,aAAa;AAAA,IACd,EAAE,KAAK;AAAA,MACN,SAAS,EAAE;AAAA,IAAA,CACX;AAAA,IACD,EAAE,QAAQ;AAAA,MACT,SAAS,EAAE;AAAA,IAAA,CACX;AAAA,EAAA,CACD;AACD,CAAA;AAED,MAAM,0BAA0B,EAAE,aAAa;AAAA,EAC9C,EAAE,KAAK;AAAA,IACN,SAAS,EAAE;AAAA,IACX,gBAAgB,EAAE;AAAA,IAClB,SAAS;AAAA,EAAA,CACT;AAAA,EACD,EAAE,QAAQ;AAAA,IACT,aAAa,EAAE;AAAA,IACf,WAAW,EAAE,MAAM,EAAE,MAAM;AAAA,IAC3B,wBAAwB,EAAE;AAAA,IAC1B,SAAS,EAAE,MAAM,yCAAyC;AAAA,EAAA,CAC1D;AACD,CAAA;AAIY,MAAA,2BAA2B,CACvC,UACsE;AAC/D,SAAA,OAAO,yBAAyB,KAAK;AAK7C;"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const t = require("io-ts");
|
|
4
|
+
const index$1 = require('./../__node_modules/node-fetch/src/index.cjs');
|
|
5
|
+
const index = require('./../__node_modules/p-limit/index.cjs');
|
|
6
|
+
const decode = require("./decode.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const t__namespace = /* @__PURE__ */ _interopNamespaceDefault(t);
|
|
24
|
+
const GITHUB_JSON_ACCEPT_HEADER = "application/vnd.github+json";
|
|
25
|
+
const GitHubReleaseMetadata = t__namespace.type({
|
|
26
|
+
name: t__namespace.string,
|
|
27
|
+
body: t__namespace.union([t__namespace.null, t__namespace.string])
|
|
28
|
+
});
|
|
29
|
+
const fetchAllGitHubReleases = async (args) => {
|
|
30
|
+
const res = await index$1.default(`https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases`, {
|
|
31
|
+
headers: {
|
|
32
|
+
Accept: GITHUB_JSON_ACCEPT_HEADER
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
if (res.ok) {
|
|
36
|
+
const json = await res.json();
|
|
37
|
+
const { value, error } = decode.decode(t__namespace.array(GitHubReleaseMetadata), json);
|
|
38
|
+
if (error) {
|
|
39
|
+
throw new Error(`Invalid GitHub Release response.`, { cause: error });
|
|
40
|
+
}
|
|
41
|
+
return value;
|
|
42
|
+
} else {
|
|
43
|
+
throw new Error(`Invalid GitHub Release response.`);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const fetchGitHubReleaseByVersion = async (args) => {
|
|
47
|
+
let url;
|
|
48
|
+
if (args.packageName) {
|
|
49
|
+
url = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.packageName}@${args.version}`;
|
|
50
|
+
} else {
|
|
51
|
+
url = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.version}`;
|
|
52
|
+
}
|
|
53
|
+
const res = await index$1.default(url, {
|
|
54
|
+
headers: {
|
|
55
|
+
Accept: GITHUB_JSON_ACCEPT_HEADER
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
if (res.ok) {
|
|
59
|
+
const json = await res.json();
|
|
60
|
+
const { value, error } = decode.decode(GitHubReleaseMetadata, json);
|
|
61
|
+
if (error) {
|
|
62
|
+
throw new Error(`Invalid GitHub Release response.`, { cause: error });
|
|
63
|
+
}
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const _fetchGitHubReleaseBodyForRelease = async (args) => {
|
|
68
|
+
const cache = args.cache || {};
|
|
69
|
+
if (Object.keys(cache).length < 1) {
|
|
70
|
+
const releases = await fetchAllGitHubReleases({
|
|
71
|
+
repositoryOwner: args.repositoryOwner,
|
|
72
|
+
repositoryName: args.repositoryName
|
|
73
|
+
});
|
|
74
|
+
for (const release of releases) {
|
|
75
|
+
cache[release.name] = release;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (args.version in cache) {
|
|
79
|
+
const release = cache[args.version];
|
|
80
|
+
return (release == null ? void 0 : release.body) ?? void 0;
|
|
81
|
+
} else {
|
|
82
|
+
try {
|
|
83
|
+
const version = await fetchGitHubReleaseByVersion({
|
|
84
|
+
repositoryOwner: args.repositoryOwner,
|
|
85
|
+
repositoryName: args.repositoryName,
|
|
86
|
+
packageName: args.packageName,
|
|
87
|
+
version: args.version
|
|
88
|
+
});
|
|
89
|
+
cache[args.version] = version;
|
|
90
|
+
return (version == null ? void 0 : version.body) ?? void 0;
|
|
91
|
+
} catch {
|
|
92
|
+
cache[args.version] = void 0;
|
|
93
|
+
return void 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const limit = index(1);
|
|
98
|
+
const fetchGitHubReleaseBodyForRelease = async (...args) => {
|
|
99
|
+
return await limit(() => _fetchGitHubReleaseBodyForRelease(...args));
|
|
100
|
+
};
|
|
101
|
+
exports.fetchGitHubReleaseBodyForRelease = fetchGitHubReleaseBodyForRelease;
|
|
102
|
+
//# sourceMappingURL=fetchGitHubReleaseBodyForRelease.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchGitHubReleaseBodyForRelease.cjs","sources":["../../../src/lib/fetchGitHubReleaseBodyForRelease.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport fetch from \"node-fetch\";\nimport pLimit from \"p-limit\";\n\nimport { decode } from \"./decode\";\n\nconst GITHUB_JSON_ACCEPT_HEADER = \"application/vnd.github+json\";\n\n/**\n * A minimally defined codec for GitHub release metadata.\n *\n * @see https://docs.github.com/en/rest/releases/releases#get-a-release-by-tag-name\n */\nconst GitHubReleaseMetadata = t.type({\n\tname: t.string,\n\tbody: t.union([t.null, t.string]),\n});\nexport type GitHubReleaseMetadata = t.TypeOf<typeof GitHubReleaseMetadata>;\n\ntype FetchAllGitHubReleasesArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n};\n\nconst fetchAllGitHubReleases = async (\n\targs: FetchAllGitHubReleasesArgs,\n): Promise<GitHubReleaseMetadata[]> => {\n\tconst res = await fetch(\n\t\t`https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases`,\n\t\t{\n\t\t\theaders: {\n\t\t\t\tAccept: GITHUB_JSON_ACCEPT_HEADER,\n\t\t\t},\n\t\t},\n\t);\n\n\tif (res.ok) {\n\t\tconst json = await res.json();\n\n\t\tconst { value, error } = decode(t.array(GitHubReleaseMetadata), json);\n\n\t\tif (error) {\n\t\t\tthrow new Error(`Invalid GitHub Release response.`, { cause: error });\n\t\t}\n\n\t\treturn value;\n\t} else {\n\t\tthrow new Error(`Invalid GitHub Release response.`);\n\t}\n};\n\ntype FetchGitHubReleaseByVersionArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n\tpackageName?: string;\n\tversion: string;\n};\n\nconst fetchGitHubReleaseByVersion = async (\n\targs: FetchGitHubReleaseByVersionArgs,\n): Promise<GitHubReleaseMetadata | undefined> => {\n\tlet url: string;\n\n\tif (args.packageName) {\n\t\turl = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.packageName}@${args.version}`;\n\t} else {\n\t\turl = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.version}`;\n\t}\n\n\tconst res = await fetch(url, {\n\t\theaders: {\n\t\t\tAccept: GITHUB_JSON_ACCEPT_HEADER,\n\t\t},\n\t});\n\n\tif (res.ok) {\n\t\tconst json = await res.json();\n\n\t\tconst { value, error } = decode(GitHubReleaseMetadata, json);\n\n\t\tif (error) {\n\t\t\tthrow new Error(`Invalid GitHub Release response.`, { cause: error });\n\t\t}\n\n\t\treturn value;\n\t}\n};\n\ntype FetchGitHubReleaseBodyForReleaseArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n\tpackageName?: string;\n\tversion: string;\n\tcache?: Record<string, GitHubReleaseMetadata | undefined>;\n};\n\nconst _fetchGitHubReleaseBodyForRelease = async (\n\targs: FetchGitHubReleaseBodyForReleaseArgs,\n): Promise<string | undefined> => {\n\tconst cache = args.cache || {};\n\n\tif (Object.keys(cache).length < 1) {\n\t\tconst releases = await fetchAllGitHubReleases({\n\t\t\trepositoryOwner: args.repositoryOwner,\n\t\t\trepositoryName: args.repositoryName,\n\t\t});\n\n\t\tfor (const release of releases) {\n\t\t\tcache[release.name] = release;\n\t\t}\n\t}\n\n\tif (args.version in cache) {\n\t\tconst release = cache[args.version];\n\n\t\treturn release?.body ?? undefined;\n\t} else {\n\t\ttry {\n\t\t\tconst version = await fetchGitHubReleaseByVersion({\n\t\t\t\trepositoryOwner: args.repositoryOwner,\n\t\t\t\trepositoryName: args.repositoryName,\n\t\t\t\tpackageName: args.packageName,\n\t\t\t\tversion: args.version,\n\t\t\t});\n\n\t\t\tcache[args.version] = version;\n\n\t\t\treturn version?.body ?? undefined;\n\t\t} catch {\n\t\t\tcache[args.version] = undefined;\n\n\t\t\treturn undefined;\n\t\t}\n\t}\n};\n\nconst limit = pLimit(1);\n\nexport const fetchGitHubReleaseBodyForRelease = async (\n\t...args: Parameters<typeof _fetchGitHubReleaseBodyForRelease>\n): ReturnType<typeof _fetchGitHubReleaseBodyForRelease> => {\n\treturn await limit(() => _fetchGitHubReleaseBodyForRelease(...args));\n};\n"],"names":["t","fetch","decode","pLimit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,4BAA4B;AAOlC,MAAM,wBAAwBA,aAAE,KAAK;AAAA,EACpC,MAAMA,aAAE;AAAA,EACR,MAAMA,aAAE,MAAM,CAACA,aAAE,MAAMA,aAAE,MAAM,CAAC;AAChC,CAAA;AAQD,MAAM,yBAAyB,OAC9B,SACqC;AACrC,QAAM,MAAM,MAAMC,gBACjB,gCAAgC,KAAK,mBAAmB,KAAK,2BAC7D;AAAA,IACC,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAGF,MAAI,IAAI,IAAI;AACL,UAAA,OAAO,MAAM,IAAI;AAEjB,UAAA,EAAE,OAAO,MAAK,IAAKC,cAAOF,aAAE,MAAM,qBAAqB,GAAG,IAAI;AAEpE,QAAI,OAAO;AACV,YAAM,IAAI,MAAM,oCAAoC,EAAE,OAAO,OAAO;AAAA,IACpE;AAEM,WAAA;AAAA,EAAA,OACD;AACA,UAAA,IAAI,MAAM,kCAAkC;AAAA,EAClD;AACF;AASA,MAAM,8BAA8B,OACnC,SAC+C;AAC3C,MAAA;AAEJ,MAAI,KAAK,aAAa;AACrB,UAAM,gCAAgC,KAAK,mBAAmB,KAAK,gCAAgC,KAAK,eAAe,KAAK;AAAA,EAAA,OACtH;AACN,UAAM,gCAAgC,KAAK,mBAAmB,KAAK,gCAAgC,KAAK;AAAA,EACxG;AAEK,QAAA,MAAM,MAAMC,QAAA,QAAM,KAAK;AAAA,IAC5B,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAED,MAAI,IAAI,IAAI;AACL,UAAA,OAAO,MAAM,IAAI;AAEvB,UAAM,EAAE,OAAO,MAAA,IAAUC,OAAAA,OAAO,uBAAuB,IAAI;AAE3D,QAAI,OAAO;AACV,YAAM,IAAI,MAAM,oCAAoC,EAAE,OAAO,OAAO;AAAA,IACpE;AAEM,WAAA;AAAA,EACP;AACF;AAUA,MAAM,oCAAoC,OACzC,SACgC;AAC1B,QAAA,QAAQ,KAAK,SAAS;AAE5B,MAAI,OAAO,KAAK,KAAK,EAAE,SAAS,GAAG;AAC5B,UAAA,WAAW,MAAM,uBAAuB;AAAA,MAC7C,iBAAiB,KAAK;AAAA,MACtB,gBAAgB,KAAK;AAAA,IAAA,CACrB;AAED,eAAW,WAAW,UAAU;AACzB,YAAA,QAAQ,IAAI,IAAI;AAAA,IACtB;AAAA,EACD;AAEG,MAAA,KAAK,WAAW,OAAO;AACpB,UAAA,UAAU,MAAM,KAAK,OAAO;AAElC,YAAO,mCAAS,SAAQ;AAAA,EAAA,OAClB;AACF,QAAA;AACG,YAAA,UAAU,MAAM,4BAA4B;AAAA,QACjD,iBAAiB,KAAK;AAAA,QACtB,gBAAgB,KAAK;AAAA,QACrB,aAAa,KAAK;AAAA,QAClB,SAAS,KAAK;AAAA,MAAA,CACd;AAEK,YAAA,KAAK,OAAO,IAAI;AAEtB,cAAO,mCAAS,SAAQ;AAAA,IAAA,QACvB;AACK,YAAA,KAAK,OAAO,IAAI;AAEf,aAAA;AAAA,IACP;AAAA,EACD;AACF;AAEA,MAAM,QAAQC,MAAO,CAAC;AAET,MAAA,mCAAmC,UAC5C,SACsD;AACzD,SAAO,MAAM,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC;AACpE;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
/**
|
|
3
|
+
* A minimally defined codec for GitHub release metadata.
|
|
4
|
+
*
|
|
5
|
+
* @see https://docs.github.com/en/rest/releases/releases#get-a-release-by-tag-name
|
|
6
|
+
*/
|
|
7
|
+
declare const GitHubReleaseMetadata: t.TypeC<{
|
|
8
|
+
name: t.StringC;
|
|
9
|
+
body: t.UnionC<[t.NullC, t.StringC]>;
|
|
10
|
+
}>;
|
|
11
|
+
export type GitHubReleaseMetadata = t.TypeOf<typeof GitHubReleaseMetadata>;
|
|
12
|
+
type FetchGitHubReleaseBodyForReleaseArgs = {
|
|
13
|
+
repositoryOwner: string;
|
|
14
|
+
repositoryName: string;
|
|
15
|
+
packageName?: string;
|
|
16
|
+
version: string;
|
|
17
|
+
cache?: Record<string, GitHubReleaseMetadata | undefined>;
|
|
18
|
+
};
|
|
19
|
+
declare const _fetchGitHubReleaseBodyForRelease: (args: FetchGitHubReleaseBodyForReleaseArgs) => Promise<string | undefined>;
|
|
20
|
+
export declare const fetchGitHubReleaseBodyForRelease: (args: FetchGitHubReleaseBodyForReleaseArgs) => ReturnType<typeof _fetchGitHubReleaseBodyForRelease>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import fetch from './../__node_modules/node-fetch/src/index.js';
|
|
3
|
+
import pLimit from './../__node_modules/p-limit/index.js';
|
|
4
|
+
import { decode } from "./decode.js";
|
|
5
|
+
const GITHUB_JSON_ACCEPT_HEADER = "application/vnd.github+json";
|
|
6
|
+
const GitHubReleaseMetadata = t.type({
|
|
7
|
+
name: t.string,
|
|
8
|
+
body: t.union([t.null, t.string])
|
|
9
|
+
});
|
|
10
|
+
const fetchAllGitHubReleases = async (args) => {
|
|
11
|
+
const res = await fetch(`https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases`, {
|
|
12
|
+
headers: {
|
|
13
|
+
Accept: GITHUB_JSON_ACCEPT_HEADER
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
if (res.ok) {
|
|
17
|
+
const json = await res.json();
|
|
18
|
+
const { value, error } = decode(t.array(GitHubReleaseMetadata), json);
|
|
19
|
+
if (error) {
|
|
20
|
+
throw new Error(`Invalid GitHub Release response.`, { cause: error });
|
|
21
|
+
}
|
|
22
|
+
return value;
|
|
23
|
+
} else {
|
|
24
|
+
throw new Error(`Invalid GitHub Release response.`);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const fetchGitHubReleaseByVersion = async (args) => {
|
|
28
|
+
let url;
|
|
29
|
+
if (args.packageName) {
|
|
30
|
+
url = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.packageName}@${args.version}`;
|
|
31
|
+
} else {
|
|
32
|
+
url = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.version}`;
|
|
33
|
+
}
|
|
34
|
+
const res = await fetch(url, {
|
|
35
|
+
headers: {
|
|
36
|
+
Accept: GITHUB_JSON_ACCEPT_HEADER
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
if (res.ok) {
|
|
40
|
+
const json = await res.json();
|
|
41
|
+
const { value, error } = decode(GitHubReleaseMetadata, json);
|
|
42
|
+
if (error) {
|
|
43
|
+
throw new Error(`Invalid GitHub Release response.`, { cause: error });
|
|
44
|
+
}
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const _fetchGitHubReleaseBodyForRelease = async (args) => {
|
|
49
|
+
const cache = args.cache || {};
|
|
50
|
+
if (Object.keys(cache).length < 1) {
|
|
51
|
+
const releases = await fetchAllGitHubReleases({
|
|
52
|
+
repositoryOwner: args.repositoryOwner,
|
|
53
|
+
repositoryName: args.repositoryName
|
|
54
|
+
});
|
|
55
|
+
for (const release of releases) {
|
|
56
|
+
cache[release.name] = release;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (args.version in cache) {
|
|
60
|
+
const release = cache[args.version];
|
|
61
|
+
return (release == null ? void 0 : release.body) ?? void 0;
|
|
62
|
+
} else {
|
|
63
|
+
try {
|
|
64
|
+
const version = await fetchGitHubReleaseByVersion({
|
|
65
|
+
repositoryOwner: args.repositoryOwner,
|
|
66
|
+
repositoryName: args.repositoryName,
|
|
67
|
+
packageName: args.packageName,
|
|
68
|
+
version: args.version
|
|
69
|
+
});
|
|
70
|
+
cache[args.version] = version;
|
|
71
|
+
return (version == null ? void 0 : version.body) ?? void 0;
|
|
72
|
+
} catch {
|
|
73
|
+
cache[args.version] = void 0;
|
|
74
|
+
return void 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
const limit = pLimit(1);
|
|
79
|
+
const fetchGitHubReleaseBodyForRelease = async (...args) => {
|
|
80
|
+
return await limit(() => _fetchGitHubReleaseBodyForRelease(...args));
|
|
81
|
+
};
|
|
82
|
+
export {
|
|
83
|
+
fetchGitHubReleaseBodyForRelease
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=fetchGitHubReleaseBodyForRelease.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchGitHubReleaseBodyForRelease.js","sources":["../../../src/lib/fetchGitHubReleaseBodyForRelease.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport fetch from \"node-fetch\";\nimport pLimit from \"p-limit\";\n\nimport { decode } from \"./decode\";\n\nconst GITHUB_JSON_ACCEPT_HEADER = \"application/vnd.github+json\";\n\n/**\n * A minimally defined codec for GitHub release metadata.\n *\n * @see https://docs.github.com/en/rest/releases/releases#get-a-release-by-tag-name\n */\nconst GitHubReleaseMetadata = t.type({\n\tname: t.string,\n\tbody: t.union([t.null, t.string]),\n});\nexport type GitHubReleaseMetadata = t.TypeOf<typeof GitHubReleaseMetadata>;\n\ntype FetchAllGitHubReleasesArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n};\n\nconst fetchAllGitHubReleases = async (\n\targs: FetchAllGitHubReleasesArgs,\n): Promise<GitHubReleaseMetadata[]> => {\n\tconst res = await fetch(\n\t\t`https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases`,\n\t\t{\n\t\t\theaders: {\n\t\t\t\tAccept: GITHUB_JSON_ACCEPT_HEADER,\n\t\t\t},\n\t\t},\n\t);\n\n\tif (res.ok) {\n\t\tconst json = await res.json();\n\n\t\tconst { value, error } = decode(t.array(GitHubReleaseMetadata), json);\n\n\t\tif (error) {\n\t\t\tthrow new Error(`Invalid GitHub Release response.`, { cause: error });\n\t\t}\n\n\t\treturn value;\n\t} else {\n\t\tthrow new Error(`Invalid GitHub Release response.`);\n\t}\n};\n\ntype FetchGitHubReleaseByVersionArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n\tpackageName?: string;\n\tversion: string;\n};\n\nconst fetchGitHubReleaseByVersion = async (\n\targs: FetchGitHubReleaseByVersionArgs,\n): Promise<GitHubReleaseMetadata | undefined> => {\n\tlet url: string;\n\n\tif (args.packageName) {\n\t\turl = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.packageName}@${args.version}`;\n\t} else {\n\t\turl = `https://api.github.com/repos/${args.repositoryOwner}/${args.repositoryName}/releases/tags/${args.version}`;\n\t}\n\n\tconst res = await fetch(url, {\n\t\theaders: {\n\t\t\tAccept: GITHUB_JSON_ACCEPT_HEADER,\n\t\t},\n\t});\n\n\tif (res.ok) {\n\t\tconst json = await res.json();\n\n\t\tconst { value, error } = decode(GitHubReleaseMetadata, json);\n\n\t\tif (error) {\n\t\t\tthrow new Error(`Invalid GitHub Release response.`, { cause: error });\n\t\t}\n\n\t\treturn value;\n\t}\n};\n\ntype FetchGitHubReleaseBodyForReleaseArgs = {\n\trepositoryOwner: string;\n\trepositoryName: string;\n\tpackageName?: string;\n\tversion: string;\n\tcache?: Record<string, GitHubReleaseMetadata | undefined>;\n};\n\nconst _fetchGitHubReleaseBodyForRelease = async (\n\targs: FetchGitHubReleaseBodyForReleaseArgs,\n): Promise<string | undefined> => {\n\tconst cache = args.cache || {};\n\n\tif (Object.keys(cache).length < 1) {\n\t\tconst releases = await fetchAllGitHubReleases({\n\t\t\trepositoryOwner: args.repositoryOwner,\n\t\t\trepositoryName: args.repositoryName,\n\t\t});\n\n\t\tfor (const release of releases) {\n\t\t\tcache[release.name] = release;\n\t\t}\n\t}\n\n\tif (args.version in cache) {\n\t\tconst release = cache[args.version];\n\n\t\treturn release?.body ?? undefined;\n\t} else {\n\t\ttry {\n\t\t\tconst version = await fetchGitHubReleaseByVersion({\n\t\t\t\trepositoryOwner: args.repositoryOwner,\n\t\t\t\trepositoryName: args.repositoryName,\n\t\t\t\tpackageName: args.packageName,\n\t\t\t\tversion: args.version,\n\t\t\t});\n\n\t\t\tcache[args.version] = version;\n\n\t\t\treturn version?.body ?? undefined;\n\t\t} catch {\n\t\t\tcache[args.version] = undefined;\n\n\t\t\treturn undefined;\n\t\t}\n\t}\n};\n\nconst limit = pLimit(1);\n\nexport const fetchGitHubReleaseBodyForRelease = async (\n\t...args: Parameters<typeof _fetchGitHubReleaseBodyForRelease>\n): ReturnType<typeof _fetchGitHubReleaseBodyForRelease> => {\n\treturn await limit(() => _fetchGitHubReleaseBodyForRelease(...args));\n};\n"],"names":[],"mappings":";;;;AAMA,MAAM,4BAA4B;AAOlC,MAAM,wBAAwB,EAAE,KAAK;AAAA,EACpC,MAAM,EAAE;AAAA,EACR,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC;AAChC,CAAA;AAQD,MAAM,yBAAyB,OAC9B,SACqC;AACrC,QAAM,MAAM,MAAM,MACjB,gCAAgC,KAAK,mBAAmB,KAAK,2BAC7D;AAAA,IACC,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAGF,MAAI,IAAI,IAAI;AACL,UAAA,OAAO,MAAM,IAAI;AAEjB,UAAA,EAAE,OAAO,MAAK,IAAK,OAAO,EAAE,MAAM,qBAAqB,GAAG,IAAI;AAEpE,QAAI,OAAO;AACV,YAAM,IAAI,MAAM,oCAAoC,EAAE,OAAO,OAAO;AAAA,IACpE;AAEM,WAAA;AAAA,EAAA,OACD;AACA,UAAA,IAAI,MAAM,kCAAkC;AAAA,EAClD;AACF;AASA,MAAM,8BAA8B,OACnC,SAC+C;AAC3C,MAAA;AAEJ,MAAI,KAAK,aAAa;AACrB,UAAM,gCAAgC,KAAK,mBAAmB,KAAK,gCAAgC,KAAK,eAAe,KAAK;AAAA,EAAA,OACtH;AACN,UAAM,gCAAgC,KAAK,mBAAmB,KAAK,gCAAgC,KAAK;AAAA,EACxG;AAEK,QAAA,MAAM,MAAM,MAAM,KAAK;AAAA,IAC5B,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAED,MAAI,IAAI,IAAI;AACL,UAAA,OAAO,MAAM,IAAI;AAEvB,UAAM,EAAE,OAAO,MAAA,IAAU,OAAO,uBAAuB,IAAI;AAE3D,QAAI,OAAO;AACV,YAAM,IAAI,MAAM,oCAAoC,EAAE,OAAO,OAAO;AAAA,IACpE;AAEM,WAAA;AAAA,EACP;AACF;AAUA,MAAM,oCAAoC,OACzC,SACgC;AAC1B,QAAA,QAAQ,KAAK,SAAS;AAE5B,MAAI,OAAO,KAAK,KAAK,EAAE,SAAS,GAAG;AAC5B,UAAA,WAAW,MAAM,uBAAuB;AAAA,MAC7C,iBAAiB,KAAK;AAAA,MACtB,gBAAgB,KAAK;AAAA,IAAA,CACrB;AAED,eAAW,WAAW,UAAU;AACzB,YAAA,QAAQ,IAAI,IAAI;AAAA,IACtB;AAAA,EACD;AAEG,MAAA,KAAK,WAAW,OAAO;AACpB,UAAA,UAAU,MAAM,KAAK,OAAO;AAElC,YAAO,mCAAS,SAAQ;AAAA,EAAA,OAClB;AACF,QAAA;AACG,YAAA,UAAU,MAAM,4BAA4B;AAAA,QACjD,iBAAiB,KAAK;AAAA,QACtB,gBAAgB,KAAK;AAAA,QACrB,aAAa,KAAK;AAAA,QAClB,SAAS,KAAK;AAAA,MAAA,CACd;AAEK,YAAA,KAAK,OAAO,IAAI;AAEtB,cAAO,mCAAS,SAAQ;AAAA,IAAA,QACvB;AACK,YAAA,KAAK,OAAO,IAAI;AAEf,aAAA;AAAA,IACP;AAAA,EACD;AACF;AAEA,MAAM,QAAQ,OAAO,CAAC;AAET,MAAA,mCAAmC,UAC5C,SACsD;AACzD,SAAO,MAAM,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC;AACpE;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const t = require("io-ts");
|
|
4
|
+
const index = require('./../__node_modules/node-fetch/src/index.cjs');
|
|
5
|
+
const decode = require("./decode.cjs");
|
|
6
|
+
function _interopNamespaceDefault(e) {
|
|
7
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
|
+
if (e) {
|
|
9
|
+
for (const k in e) {
|
|
10
|
+
if (k !== "default") {
|
|
11
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: () => e[k]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
n.default = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
const t__namespace = /* @__PURE__ */ _interopNamespaceDefault(t);
|
|
23
|
+
const NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER = "application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*";
|
|
24
|
+
const NPMRegistryPackageMetadataCodec = t__namespace.type({
|
|
25
|
+
versions: t__namespace.UnknownRecord
|
|
26
|
+
});
|
|
27
|
+
const fetchNPMPackageVersions = async (args) => {
|
|
28
|
+
const res = await index.default(`https://registry.npmjs.org/${args.packageName}`, {
|
|
29
|
+
headers: {
|
|
30
|
+
Accept: NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
const json = await res.json();
|
|
34
|
+
const { value, error } = decode.decode(NPMRegistryPackageMetadataCodec, json);
|
|
35
|
+
if (error) {
|
|
36
|
+
throw new Error(`Invalid NPM registry response.`, { cause: error });
|
|
37
|
+
}
|
|
38
|
+
return Object.keys(value.versions);
|
|
39
|
+
};
|
|
40
|
+
exports.fetchNPMPackageVersions = fetchNPMPackageVersions;
|
|
41
|
+
//# sourceMappingURL=fetchNPMPackageVersions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchNPMPackageVersions.cjs","sources":["../../../src/lib/fetchNPMPackageVersions.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport fetch from \"node-fetch\";\n\nimport { decode } from \"./decode\";\n\n/**\n * The Accept header value used when only metadata required for package\n * installation is needed. The response includes all versions and some of their\n * metadata.\n *\n * @see https://github.com/npm/registry/blob/cfe04736f34db9274a780184d1cdb2fb3e4ead2a/docs/responses/package-metadata.md#package-metadata\n */\nconst NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER =\n\t\"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*\";\n\n/**\n * A minimally defined codec for NPM registry package metadata. Only data needed\n * for version detection is defined.\n */\nconst NPMRegistryPackageMetadataCodec = t.type({\n\tversions: t.UnknownRecord,\n});\n\ntype FetchNPMPackageVersionsArgs = {\n\tpackageName: string;\n};\n\nexport const fetchNPMPackageVersions = async (\n\targs: FetchNPMPackageVersionsArgs,\n): Promise<string[]> => {\n\tconst res = await fetch(`https://registry.npmjs.org/${args.packageName}`, {\n\t\theaders: {\n\t\t\tAccept: NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER,\n\t\t},\n\t});\n\n\tconst json = await res.json();\n\n\tconst { value, error } = decode(NPMRegistryPackageMetadataCodec, json);\n\n\tif (error) {\n\t\tthrow new Error(`Invalid NPM registry response.`, { cause: error });\n\t}\n\n\treturn Object.keys(value.versions);\n};\n"],"names":["t","fetch","decode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,kDACL;AAMD,MAAM,kCAAkCA,aAAE,KAAK;AAAA,EAC9C,UAAUA,aAAE;AACZ,CAAA;AAMY,MAAA,0BAA0B,OACtC,SACsB;AACtB,QAAM,MAAM,MAAMC,cAAM,8BAA8B,KAAK,eAAe;AAAA,IACzE,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAEK,QAAA,OAAO,MAAM,IAAI;AAEvB,QAAM,EAAE,OAAO,MAAA,IAAUC,OAAAA,OAAO,iCAAiC,IAAI;AAErE,MAAI,OAAO;AACV,UAAM,IAAI,MAAM,kCAAkC,EAAE,OAAO,OAAO;AAAA,EAClE;AAEM,SAAA,OAAO,KAAK,MAAM,QAAQ;AAClC;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import fetch from './../__node_modules/node-fetch/src/index.js';
|
|
3
|
+
import { decode } from "./decode.js";
|
|
4
|
+
const NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER = "application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*";
|
|
5
|
+
const NPMRegistryPackageMetadataCodec = t.type({
|
|
6
|
+
versions: t.UnknownRecord
|
|
7
|
+
});
|
|
8
|
+
const fetchNPMPackageVersions = async (args) => {
|
|
9
|
+
const res = await fetch(`https://registry.npmjs.org/${args.packageName}`, {
|
|
10
|
+
headers: {
|
|
11
|
+
Accept: NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const json = await res.json();
|
|
15
|
+
const { value, error } = decode(NPMRegistryPackageMetadataCodec, json);
|
|
16
|
+
if (error) {
|
|
17
|
+
throw new Error(`Invalid NPM registry response.`, { cause: error });
|
|
18
|
+
}
|
|
19
|
+
return Object.keys(value.versions);
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
fetchNPMPackageVersions
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=fetchNPMPackageVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchNPMPackageVersions.js","sources":["../../../src/lib/fetchNPMPackageVersions.ts"],"sourcesContent":["import * as t from \"io-ts\";\nimport fetch from \"node-fetch\";\n\nimport { decode } from \"./decode\";\n\n/**\n * The Accept header value used when only metadata required for package\n * installation is needed. The response includes all versions and some of their\n * metadata.\n *\n * @see https://github.com/npm/registry/blob/cfe04736f34db9274a780184d1cdb2fb3e4ead2a/docs/responses/package-metadata.md#package-metadata\n */\nconst NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER =\n\t\"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*\";\n\n/**\n * A minimally defined codec for NPM registry package metadata. Only data needed\n * for version detection is defined.\n */\nconst NPMRegistryPackageMetadataCodec = t.type({\n\tversions: t.UnknownRecord,\n});\n\ntype FetchNPMPackageVersionsArgs = {\n\tpackageName: string;\n};\n\nexport const fetchNPMPackageVersions = async (\n\targs: FetchNPMPackageVersionsArgs,\n): Promise<string[]> => {\n\tconst res = await fetch(`https://registry.npmjs.org/${args.packageName}`, {\n\t\theaders: {\n\t\t\tAccept: NPM_REGISTRY_ABBREVIATED_METADATA_ACCEPT_HEADER,\n\t\t},\n\t});\n\n\tconst json = await res.json();\n\n\tconst { value, error } = decode(NPMRegistryPackageMetadataCodec, json);\n\n\tif (error) {\n\t\tthrow new Error(`Invalid NPM registry response.`, { cause: error });\n\t}\n\n\treturn Object.keys(value.versions);\n};\n"],"names":[],"mappings":";;;AAYA,MAAM,kDACL;AAMD,MAAM,kCAAkC,EAAE,KAAK;AAAA,EAC9C,UAAU,EAAE;AACZ,CAAA;AAMY,MAAA,0BAA0B,OACtC,SACsB;AACtB,QAAM,MAAM,MAAM,MAAM,8BAA8B,KAAK,eAAe;AAAA,IACzE,SAAS;AAAA,MACR,QAAQ;AAAA,IACR;AAAA,EAAA,CACD;AAEK,QAAA,OAAO,MAAM,IAAI;AAEvB,QAAM,EAAE,OAAO,MAAA,IAAU,OAAO,iCAAiC,IAAI;AAErE,MAAI,OAAO;AACV,UAAM,IAAI,MAAM,kCAAkC,EAAE,OAAO,OAAO;AAAA,EAClE;AAEM,SAAA,OAAO,KAAK,MAAM,QAAQ;AAClC;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const prettier = require("prettier");
|
|
4
|
+
require('./../__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs');
|
|
5
|
+
require('./../__node_modules/common-tags/es/commaLists/commaLists.cjs');
|
|
6
|
+
require('./../__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs');
|
|
7
|
+
require('./../__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs');
|
|
8
|
+
require('./../__node_modules/common-tags/es/html/html.cjs');
|
|
9
|
+
require('./../__node_modules/common-tags/es/safeHtml/safeHtml.cjs');
|
|
10
|
+
require('./../__node_modules/common-tags/es/oneLine/oneLine.cjs');
|
|
11
|
+
require('./../__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs');
|
|
12
|
+
require('./../__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs');
|
|
13
|
+
require('./../__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs');
|
|
14
|
+
require('./../__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs');
|
|
15
|
+
require('./../__node_modules/common-tags/es/inlineLists/inlineLists.cjs');
|
|
16
|
+
require('./../__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs');
|
|
17
|
+
const stripIndent = require('./../__node_modules/common-tags/es/stripIndent/stripIndent.cjs');
|
|
18
|
+
require('./../__node_modules/common-tags/es/stripIndents/stripIndents.cjs');
|
|
19
|
+
const format = async (source, filePath, options) => {
|
|
20
|
+
let formatted = stripIndent(source);
|
|
21
|
+
const prettierOptions = await prettier.resolveConfig(filePath);
|
|
22
|
+
formatted = prettier.format(formatted, {
|
|
23
|
+
...prettierOptions,
|
|
24
|
+
filepath: filePath,
|
|
25
|
+
...(options == null ? void 0 : options.prettier) ?? {}
|
|
26
|
+
});
|
|
27
|
+
if ((options == null ? void 0 : options.includeNewlineAtEnd) === false) {
|
|
28
|
+
formatted.replace(/[\r\n]+$/, "");
|
|
29
|
+
}
|
|
30
|
+
return formatted;
|
|
31
|
+
};
|
|
32
|
+
exports.format = format;
|
|
33
|
+
//# sourceMappingURL=format.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.cjs","sources":["../../../src/lib/format.ts"],"sourcesContent":["import prettier from \"prettier\";\nimport { stripIndent } from \"common-tags\";\n\ntype FormatOptions = {\n\tprettier?: prettier.Options;\n\t/**\n\t * Determines if a newline is included at the end of the formatted result.\n\t *\n\t * @defaultValue `true`\n\t */\n\tincludeNewlineAtEnd?: boolean;\n};\n\nexport const format = async (\n\tsource: string,\n\tfilePath: string,\n\toptions?: FormatOptions,\n): Promise<string> => {\n\tlet formatted = stripIndent(source);\n\n\tconst prettierOptions = await prettier.resolveConfig(filePath);\n\n\tformatted = prettier.format(formatted, {\n\t\t...prettierOptions,\n\t\tfilepath: filePath,\n\t\t...(options?.prettier ?? {}),\n\t});\n\n\tif (options?.includeNewlineAtEnd === false) {\n\t\tformatted.replace(/[\\r\\n]+$/, \"\");\n\t}\n\n\treturn formatted;\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAaO,MAAM,SAAS,OACrB,QACA,UACA,YACoB;AAChB,MAAA,YAAY,YAAY,MAAM;AAElC,QAAM,kBAAkB,MAAM,SAAS,cAAc,QAAQ;AAEjD,cAAA,SAAS,OAAO,WAAW;AAAA,IACtC,GAAG;AAAA,IACH,UAAU;AAAA,IACV,IAAI,mCAAS,aAAY;GACzB;AAEG,OAAA,mCAAS,yBAAwB,OAAO;AACjC,cAAA,QAAQ,YAAY,EAAE;AAAA,EAChC;AAEM,SAAA;AACR;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import prettier from "prettier";
|
|
2
|
+
type FormatOptions = {
|
|
3
|
+
prettier?: prettier.Options;
|
|
4
|
+
/**
|
|
5
|
+
* Determines if a newline is included at the end of the formatted result.
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue `true`
|
|
8
|
+
*/
|
|
9
|
+
includeNewlineAtEnd?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const format: (source: string, filePath: string, options?: FormatOptions) => Promise<string>;
|
|
12
|
+
export {};
|