@slicemachine/manager 0.0.0-alpha.dev-new-release-process.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs +68 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js +68 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/CachedKeyDecoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs +43 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js +43 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/DecodeError.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs +804 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js +804 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Decoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs +354 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js +354 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/Encoder.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtData.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs +65 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js +65 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/ExtensionCodec.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.cjs +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.js +14 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/decode.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.cjs +13 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.js +13 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/encode.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.cjs +91 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.js +91 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/timestamp.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.cjs +31 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.js +31 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/int.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.cjs +7 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.js +7 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/prettyByte.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.cjs +23 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.js +23 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/typedArrays.js.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.cjs +132 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.cjs.map +1 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.js +132 -0
- package/dist/_node_modules/@msgpack/msgpack/dist.es5_esm/utils/utf8.js.map +1 -0
- package/dist/_node_modules/common-tags/es/TemplateTag/TemplateTag.cjs +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 +8 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.js +9 -0
- package/dist/_node_modules/common-tags/es/stripIndent/stripIndent.js.map +1 -0
- package/dist/_node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +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/cross-spawn/index.cjs +30 -0
- package/dist/_node_modules/cross-spawn/index.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/index.js +31 -0
- package/dist/_node_modules/cross-spawn/index.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.cjs +47 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.js +47 -0
- package/dist/_node_modules/cross-spawn/lib/enoent.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/parse.cjs +64 -0
- package/dist/_node_modules/cross-spawn/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/parse.js +64 -0
- package/dist/_node_modules/cross-spawn/lib/parse.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.cjs +22 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.js +23 -0
- package/dist/_node_modules/cross-spawn/lib/util/escape.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs +21 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.js +21 -0
- package/dist/_node_modules/cross-spawn/lib/util/readShebang.js.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs +42 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +1 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js +42 -0
- package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js +41 -0
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/buffer-stream.cjs +43 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/buffer-stream.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/buffer-stream.js +43 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/buffer-stream.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/index.cjs +59 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/index.js +60 -0
- package/dist/_node_modules/execa/_node_modules/get-stream/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.cjs +275 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.js +275 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.cjs +53 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.js +53 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.cjs +18 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.js +18 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.cjs +27 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.js +27 -0
- package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/is-stream/index.cjs +11 -0
- package/dist/_node_modules/execa/_node_modules/is-stream/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/is-stream/index.js +11 -0
- package/dist/_node_modules/execa/_node_modules/is-stream/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/mimic-fn/index.cjs +46 -0
- package/dist/_node_modules/execa/_node_modules/mimic-fn/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/mimic-fn/index.js +47 -0
- package/dist/_node_modules/execa/_node_modules/mimic-fn/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/npm-run-path/index.cjs +34 -0
- package/dist/_node_modules/execa/_node_modules/npm-run-path/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/npm-run-path/index.js +34 -0
- package/dist/_node_modules/execa/_node_modules/npm-run-path/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/onetime/index.cjs +32 -0
- package/dist/_node_modules/execa/_node_modules/onetime/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/onetime/index.js +33 -0
- package/dist/_node_modules/execa/_node_modules/onetime/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/path-key/index.cjs +13 -0
- package/dist/_node_modules/execa/_node_modules/path-key/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/path-key/index.js +14 -0
- package/dist/_node_modules/execa/_node_modules/path-key/index.js.map +1 -0
- package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.cjs +14 -0
- package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.cjs.map +1 -0
- package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.js +15 -0
- package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.js.map +1 -0
- package/dist/_node_modules/execa/index.cjs +147 -0
- package/dist/_node_modules/execa/index.cjs.map +1 -0
- package/dist/_node_modules/execa/index.js +147 -0
- package/dist/_node_modules/execa/index.js.map +1 -0
- package/dist/_node_modules/execa/lib/command.cjs +37 -0
- package/dist/_node_modules/execa/lib/command.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/command.js +37 -0
- package/dist/_node_modules/execa/lib/command.js.map +1 -0
- package/dist/_node_modules/execa/lib/error.cjs +73 -0
- package/dist/_node_modules/execa/lib/error.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/error.js +73 -0
- package/dist/_node_modules/execa/lib/error.js.map +1 -0
- package/dist/_node_modules/execa/lib/kill.cjs +80 -0
- package/dist/_node_modules/execa/lib/kill.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/kill.js +80 -0
- package/dist/_node_modules/execa/lib/kill.js.map +1 -0
- package/dist/_node_modules/execa/lib/pipe.cjs +37 -0
- package/dist/_node_modules/execa/lib/pipe.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/pipe.js +37 -0
- package/dist/_node_modules/execa/lib/pipe.js.map +1 -0
- package/dist/_node_modules/execa/lib/promise.cjs +30 -0
- package/dist/_node_modules/execa/lib/promise.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/promise.js +30 -0
- package/dist/_node_modules/execa/lib/promise.js.map +1 -0
- package/dist/_node_modules/execa/lib/stdio.cjs +26 -0
- package/dist/_node_modules/execa/lib/stdio.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/stdio.js +26 -0
- package/dist/_node_modules/execa/lib/stdio.js.map +1 -0
- package/dist/_node_modules/execa/lib/stream.cjs +81 -0
- package/dist/_node_modules/execa/lib/stream.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/stream.js +81 -0
- package/dist/_node_modules/execa/lib/stream.js.map +1 -0
- package/dist/_node_modules/execa/lib/verbose.cjs +20 -0
- package/dist/_node_modules/execa/lib/verbose.cjs.map +1 -0
- package/dist/_node_modules/execa/lib/verbose.js +20 -0
- package/dist/_node_modules/execa/lib/verbose.js.map +1 -0
- package/dist/_node_modules/fetch-blob/file.cjs +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 +223 -0
- package/dist/_node_modules/fetch-blob/index.cjs.map +1 -0
- package/dist/_node_modules/fetch-blob/index.js +223 -0
- package/dist/_node_modules/fetch-blob/index.js.map +1 -0
- package/dist/_node_modules/fetch-blob/streams.cjs +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 +1234 -0
- package/dist/_node_modules/file-type/core.cjs.map +1 -0
- package/dist/_node_modules/file-type/core.js +1234 -0
- package/dist/_node_modules/file-type/core.js.map +1 -0
- package/dist/_node_modules/file-type/supported.cjs +308 -0
- package/dist/_node_modules/file-type/supported.cjs.map +1 -0
- package/dist/_node_modules/file-type/supported.js +308 -0
- package/dist/_node_modules/file-type/supported.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-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 +18 -0
- package/dist/_node_modules/fp-ts/es6/Either.cjs.map +1 -0
- package/dist/_node_modules/fp-ts/es6/Either.js +18 -0
- package/dist/_node_modules/fp-ts/es6/Either.js.map +1 -0
- package/dist/_node_modules/fp-ts/es6/function.cjs +44 -0
- package/dist/_node_modules/fp-ts/es6/function.cjs.map +1 -0
- package/dist/_node_modules/fp-ts/es6/function.js +44 -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/isexe/index.cjs +56 -0
- package/dist/_node_modules/isexe/index.cjs.map +1 -0
- package/dist/_node_modules/isexe/index.js +56 -0
- package/dist/_node_modules/isexe/index.js.map +1 -0
- package/dist/_node_modules/isexe/mode.cjs +40 -0
- package/dist/_node_modules/isexe/mode.cjs.map +1 -0
- package/dist/_node_modules/isexe/mode.js +40 -0
- package/dist/_node_modules/isexe/mode.js.map +1 -0
- package/dist/_node_modules/isexe/windows.cjs +47 -0
- package/dist/_node_modules/isexe/windows.cjs.map +1 -0
- package/dist/_node_modules/isexe/windows.js +47 -0
- package/dist/_node_modules/isexe/windows.js.map +1 -0
- package/dist/_node_modules/merge-stream/index.cjs +39 -0
- package/dist/_node_modules/merge-stream/index.cjs.map +1 -0
- package/dist/_node_modules/merge-stream/index.js +40 -0
- package/dist/_node_modules/merge-stream/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/p-limit/_node_modules/yocto-queue/index.cjs +89 -0
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.cjs.map +1 -0
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.js +90 -0
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.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/path-key/index.cjs +16 -0
- package/dist/_node_modules/path-key/index.cjs.map +1 -0
- package/dist/_node_modules/path-key/index.js +16 -0
- package/dist/_node_modules/path-key/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/R19Error.cjs +25 -0
- package/dist/_node_modules/r19/dist/R19Error.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/R19Error.js +25 -0
- package/dist/_node_modules/r19/dist/R19Error.js.map +1 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.cjs +90 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.js +90 -0
- package/dist/_node_modules/r19/dist/client/createRPCClient.js.map +1 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.cjs +36 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.js +36 -0
- package/dist/_node_modules/r19/dist/createRPCMiddleware.js.map +1 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.cjs +121 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.js +121 -0
- package/dist/_node_modules/r19/dist/handleRPCRequest.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isErrorLike.cjs +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/isPlainObject.cjs +11 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.js +11 -0
- package/dist/_node_modules/r19/dist/lib/isPlainObject.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.cjs +8 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.js +8 -0
- package/dist/_node_modules/r19/dist/lib/isR19ErrorLike.js.map +1 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.cjs +28 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.cjs.map +1 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.js +28 -0
- package/dist/_node_modules/r19/dist/lib/replaceLeaves.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/shebang-command/index.cjs +18 -0
- package/dist/_node_modules/shebang-command/index.cjs.map +1 -0
- package/dist/_node_modules/shebang-command/index.js +18 -0
- package/dist/_node_modules/shebang-command/index.js.map +1 -0
- package/dist/_node_modules/shebang-regex/index.cjs +5 -0
- package/dist/_node_modules/shebang-regex/index.cjs.map +1 -0
- package/dist/_node_modules/shebang-regex/index.js +5 -0
- package/dist/_node_modules/shebang-regex/index.js.map +1 -0
- package/dist/_node_modules/signal-exit/index.cjs +150 -0
- package/dist/_node_modules/signal-exit/index.cjs.map +1 -0
- package/dist/_node_modules/signal-exit/index.js +151 -0
- package/dist/_node_modules/signal-exit/index.js.map +1 -0
- package/dist/_node_modules/signal-exit/signals.cjs +45 -0
- package/dist/_node_modules/signal-exit/signals.cjs.map +1 -0
- package/dist/_node_modules/signal-exit/signals.js +45 -0
- package/dist/_node_modules/signal-exit/signals.js.map +1 -0
- package/dist/_node_modules/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/lib/index.cjs +76 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.js +76 -0
- package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs +39 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js +40 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.cjs +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.js +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +86 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js +86 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +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/which/which.cjs +96 -0
- package/dist/_node_modules/which/which.cjs.map +1 -0
- package/dist/_node_modules/which/which.js +96 -0
- package/dist/_node_modules/which/which.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +9 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +9 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/escape.cjs +5 -0
- package/dist/_virtual/escape.cjs.map +1 -0
- package/dist/_virtual/escape.js +5 -0
- package/dist/_virtual/escape.js.map +1 -0
- package/dist/_virtual/index.cjs +5 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.cjs +5 -0
- package/dist/_virtual/index2.cjs.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.cjs +5 -0
- package/dist/_virtual/index3.cjs.map +1 -0
- package/dist/_virtual/index3.js +5 -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/ponyfill.es2018.cjs +5 -0
- package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
- package/dist/_virtual/ponyfill.es2018.js +5 -0
- package/dist/_virtual/ponyfill.es2018.js.map +1 -0
- package/dist/_virtual/signals.cjs +5 -0
- package/dist/_virtual/signals.cjs.map +1 -0
- package/dist/_virtual/signals.js +5 -0
- package/dist/_virtual/signals.js.map +1 -0
- package/dist/auth/PrismicAuthManager.cjs +291 -0
- package/dist/auth/PrismicAuthManager.cjs.map +1 -0
- package/dist/auth/PrismicAuthManager.d.ts +58 -0
- package/dist/auth/PrismicAuthManager.js +269 -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 +51 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.cjs.map +1 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.d.ts +14 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js +34 -0
- package/dist/auth/createPrismicAuthManagerMiddleware.js.map +1 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client.cjs +21 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.js +21 -0
- package/dist/client.js.map +1 -0
- package/dist/constants/API_ENDPOINTS.cjs +55 -0
- package/dist/constants/API_ENDPOINTS.cjs.map +1 -0
- package/dist/constants/API_ENDPOINTS.d.ts +11 -0
- package/dist/constants/API_ENDPOINTS.js +55 -0
- package/dist/constants/API_ENDPOINTS.js.map +1 -0
- package/dist/constants/API_TOKENS.cjs +18 -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 +18 -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/REPOSITORY_NAME_VALIDATION.cjs +8 -0
- package/dist/constants/REPOSITORY_NAME_VALIDATION.cjs.map +1 -0
- package/dist/constants/REPOSITORY_NAME_VALIDATION.d.ts +4 -0
- package/dist/constants/REPOSITORY_NAME_VALIDATION.js +8 -0
- package/dist/constants/REPOSITORY_NAME_VALIDATION.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 +101 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.ts +35 -0
- package/dist/errors.js +101 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +24 -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 +4 -0
- package/dist/lib/bufferCodec.js +7 -0
- package/dist/lib/bufferCodec.js.map +1 -0
- package/dist/lib/buildPrismicRepositoryAPIEndpoint.cjs +9 -0
- package/dist/lib/buildPrismicRepositoryAPIEndpoint.cjs.map +1 -0
- package/dist/lib/buildPrismicRepositoryAPIEndpoint.d.ts +4 -0
- package/dist/lib/buildPrismicRepositoryAPIEndpoint.js +9 -0
- package/dist/lib/buildPrismicRepositoryAPIEndpoint.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.d.ts +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/decodePackageJSON.cjs +29 -0
- package/dist/lib/decodePackageJSON.cjs.map +1 -0
- package/dist/lib/decodePackageJSON.d.ts +12 -0
- package/dist/lib/decodePackageJSON.js +12 -0
- package/dist/lib/decodePackageJSON.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/fetch.cjs +36 -0
- package/dist/lib/fetch.cjs.map +1 -0
- package/dist/lib/fetch.d.ts +15 -0
- package/dist/lib/fetch.js +18 -0
- package/dist/lib/fetch.js.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs +105 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs.map +1 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.d.ts +21 -0
- package/dist/lib/fetchGitHubReleaseBodyForRelease.js +88 -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/installDependencies.cjs +38 -0
- package/dist/lib/installDependencies.cjs.map +1 -0
- package/dist/lib/installDependencies.d.ts +13 -0
- package/dist/lib/installDependencies.js +38 -0
- package/dist/lib/installDependencies.js.map +1 -0
- package/dist/lib/locateFileUpward.cjs +47 -0
- package/dist/lib/locateFileUpward.cjs.map +1 -0
- package/dist/lib/locateFileUpward.d.ts +10 -0
- package/dist/lib/locateFileUpward.js +29 -0
- package/dist/lib/locateFileUpward.js.map +1 -0
- package/dist/lib/markdownToHTML.cjs +91 -0
- package/dist/lib/markdownToHTML.cjs.map +1 -0
- package/dist/lib/markdownToHTML.d.ts +1 -0
- package/dist/lib/markdownToHTML.js +69 -0
- package/dist/lib/markdownToHTML.js.map +1 -0
- package/dist/lib/mockSlice.cjs +32 -0
- package/dist/lib/mockSlice.cjs.map +1 -0
- package/dist/lib/mockSlice.d.ts +9 -0
- package/dist/lib/mockSlice.js +32 -0
- package/dist/lib/mockSlice.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/lib/trailingSlash.cjs +11 -0
- package/dist/lib/trailingSlash.cjs.map +1 -0
- package/dist/lib/trailingSlash.d.ts +2 -0
- package/dist/lib/trailingSlash.js +11 -0
- package/dist/lib/trailingSlash.js.map +1 -0
- package/dist/managers/BaseManager.cjs +69 -0
- package/dist/managers/BaseManager.cjs.map +1 -0
- package/dist/managers/BaseManager.d.ts +37 -0
- package/dist/managers/BaseManager.js +69 -0
- package/dist/managers/BaseManager.js.map +1 -0
- package/dist/managers/SliceMachineManager.cjs +251 -0
- package/dist/managers/SliceMachineManager.cjs.map +1 -0
- package/dist/managers/SliceMachineManager.d.ts +99 -0
- package/dist/managers/SliceMachineManager.js +251 -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 +5 -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 +44 -0
- package/dist/managers/createSliceMachineManagerMiddleware.cjs.map +1 -0
- package/dist/managers/createSliceMachineManagerMiddleware.d.ts +15 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js +44 -0
- package/dist/managers/createSliceMachineManagerMiddleware.js.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs +190 -0
- package/dist/managers/customTypes/CustomTypesManager.cjs.map +1 -0
- package/dist/managers/customTypes/CustomTypesManager.d.ts +61 -0
- package/dist/managers/customTypes/CustomTypesManager.js +172 -0
- package/dist/managers/customTypes/CustomTypesManager.js.map +1 -0
- package/dist/managers/customTypes/types.d.ts +2 -0
- package/dist/managers/documentation/DocumentationManager.cjs +42 -0
- package/dist/managers/documentation/DocumentationManager.cjs.map +1 -0
- package/dist/managers/documentation/DocumentationManager.d.ts +11 -0
- package/dist/managers/documentation/DocumentationManager.js +25 -0
- package/dist/managers/documentation/DocumentationManager.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 +404 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs.map +1 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.d.ts +36 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js +387 -0
- package/dist/managers/prismicRepository/PrismicRepositoryManager.js.map +1 -0
- package/dist/managers/prismicRepository/sortEnvironments.cjs +36 -0
- package/dist/managers/prismicRepository/sortEnvironments.cjs.map +1 -0
- package/dist/managers/prismicRepository/sortEnvironments.d.ts +17 -0
- package/dist/managers/prismicRepository/sortEnvironments.js +36 -0
- package/dist/managers/prismicRepository/sortEnvironments.js.map +1 -0
- package/dist/managers/prismicRepository/types.cjs +78 -0
- package/dist/managers/prismicRepository/types.cjs.map +1 -0
- package/dist/managers/prismicRepository/types.d.ts +148 -0
- package/dist/managers/prismicRepository/types.js +63 -0
- package/dist/managers/prismicRepository/types.js.map +1 -0
- package/dist/managers/project/ProjectManager.cjs +273 -0
- package/dist/managers/project/ProjectManager.cjs.map +1 -0
- package/dist/managers/project/ProjectManager.d.ts +84 -0
- package/dist/managers/project/ProjectManager.js +254 -0
- package/dist/managers/project/ProjectManager.js.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs +164 -0
- package/dist/managers/screenshots/ScreenshotsManager.cjs.map +1 -0
- package/dist/managers/screenshots/ScreenshotsManager.d.ts +20 -0
- package/dist/managers/screenshots/ScreenshotsManager.js +147 -0
- package/dist/managers/screenshots/ScreenshotsManager.js.map +1 -0
- package/dist/managers/simulator/SimulatorManager.cjs +105 -0
- package/dist/managers/simulator/SimulatorManager.cjs.map +1 -0
- package/dist/managers/simulator/SimulatorManager.d.ts +38 -0
- package/dist/managers/simulator/SimulatorManager.js +88 -0
- package/dist/managers/simulator/SimulatorManager.js.map +1 -0
- package/dist/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.cjs +139 -0
- package/dist/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.cjs.map +1 -0
- package/dist/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.d.ts +27 -0
- package/dist/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.js +122 -0
- package/dist/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.js.map +1 -0
- package/dist/managers/slices/SlicesManager.cjs +652 -0
- package/dist/managers/slices/SlicesManager.cjs.map +1 -0
- package/dist/managers/slices/SlicesManager.d.ts +178 -0
- package/dist/managers/slices/SlicesManager.js +634 -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 +154 -0
- package/dist/managers/telemetry/TelemetryManager.cjs.map +1 -0
- package/dist/managers/telemetry/TelemetryManager.d.ts +29 -0
- package/dist/managers/telemetry/TelemetryManager.js +154 -0
- package/dist/managers/telemetry/TelemetryManager.js.map +1 -0
- package/dist/managers/telemetry/types.cjs +57 -0
- package/dist/managers/telemetry/types.cjs.map +1 -0
- package/dist/managers/telemetry/types.d.ts +165 -0
- package/dist/managers/telemetry/types.js +57 -0
- package/dist/managers/telemetry/types.js.map +1 -0
- package/dist/managers/user/UserManager.cjs +29 -0
- package/dist/managers/user/UserManager.cjs.map +1 -0
- package/dist/managers/user/UserManager.d.ts +40 -0
- package/dist/managers/user/UserManager.js +29 -0
- package/dist/managers/user/UserManager.js.map +1 -0
- package/dist/managers/versions/VersionsManager.cjs +140 -0
- package/dist/managers/versions/VersionsManager.cjs.map +1 -0
- package/dist/managers/versions/VersionsManager.d.ts +22 -0
- package/dist/managers/versions/VersionsManager.js +122 -0
- package/dist/managers/versions/VersionsManager.js.map +1 -0
- package/dist/managers/versions/types.d.ts +5 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs +18 -0
- package/dist/test/createSliceMachineManagerMSWHandler.cjs.map +1 -0
- package/dist/test/createSliceMachineManagerMSWHandler.d.ts +7 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js +18 -0
- package/dist/test/createSliceMachineManagerMSWHandler.js.map +1 -0
- package/dist/test/index.d.ts +2 -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 +37 -0
- package/package.json +140 -0
- package/src/auth/PrismicAuthManager.ts +412 -0
- package/src/auth/createPrismicAuthManager.ts +11 -0
- package/src/auth/createPrismicAuthManagerMiddleware.ts +72 -0
- package/src/client/index.ts +35 -0
- package/src/constants/API_ENDPOINTS.ts +86 -0
- package/src/constants/API_TOKENS.ts +19 -0
- package/src/constants/APPLICATION_MODE.ts +5 -0
- package/src/constants/DEFAULT_SLICE_SCREENSHOT_URL.ts +6 -0
- package/src/constants/REPOSITORY_NAME_VALIDATION.ts +4 -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 +85 -0
- package/src/index.ts +46 -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/buildPrismicRepositoryAPIEndpoint.ts +16 -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/decodePackageJSON.ts +18 -0
- package/src/lib/decodeSliceMachineConfig.ts +39 -0
- package/src/lib/fetch.ts +46 -0
- package/src/lib/fetchGitHubReleaseBodyForRelease.ts +146 -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/installDependencies.ts +65 -0
- package/src/lib/locateFileUpward.ts +53 -0
- package/src/lib/markdownToHTML.ts +116 -0
- package/src/lib/mockSlice.ts +50 -0
- package/src/lib/prismicrc.ts +64 -0
- package/src/lib/serializeCookies.ts +45 -0
- package/src/lib/trailingSlash.ts +9 -0
- package/src/managers/BaseManager.ts +100 -0
- package/src/managers/SliceMachineManager.ts +399 -0
- package/src/managers/createSliceMachineManager.ts +11 -0
- package/src/managers/createSliceMachineManagerClient.ts +23 -0
- package/src/managers/createSliceMachineManagerMiddleware.ts +78 -0
- package/src/managers/customTypes/CustomTypesManager.ts +332 -0
- package/src/managers/customTypes/types.ts +3 -0
- package/src/managers/documentation/DocumentationManager.ts +44 -0
- package/src/managers/plugins/PluginsManager.ts +48 -0
- package/src/managers/prismicRepository/PrismicRepositoryManager.ts +569 -0
- package/src/managers/prismicRepository/sortEnvironments.ts +55 -0
- package/src/managers/prismicRepository/types.ts +169 -0
- package/src/managers/project/ProjectManager.ts +443 -0
- package/src/managers/screenshots/ScreenshotsManager.ts +199 -0
- package/src/managers/simulator/SimulatorManager.ts +161 -0
- package/src/managers/sliceTemplateLibrary/SliceTemplateLibraryManager.ts +201 -0
- package/src/managers/slices/SlicesManager.ts +1105 -0
- package/src/managers/snippets/SnippetsManager.ts +45 -0
- package/src/managers/telemetry/TelemetryManager.ts +248 -0
- package/src/managers/telemetry/types.ts +283 -0
- package/src/managers/user/UserManager.ts +39 -0
- package/src/managers/versions/VersionsManager.ts +167 -0
- package/src/managers/versions/types.ts +6 -0
- package/src/test/createSliceMachineManagerMSWHandler.ts +29 -0
- package/src/test/index.ts +2 -0
- package/src/types.ts +47 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import net from "node:net";
|
|
2
|
+
import os__default from "node:os";
|
|
3
|
+
class Locked extends Error {
|
|
4
|
+
constructor(port) {
|
|
5
|
+
super(`${port} is locked`);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
const lockedPorts = {
|
|
9
|
+
old: /* @__PURE__ */ new Set(),
|
|
10
|
+
young: /* @__PURE__ */ new Set()
|
|
11
|
+
};
|
|
12
|
+
const releaseOldLockedPortsIntervalMs = 1e3 * 15;
|
|
13
|
+
let interval;
|
|
14
|
+
const getLocalHosts = () => {
|
|
15
|
+
const interfaces = os__default.networkInterfaces();
|
|
16
|
+
const results = /* @__PURE__ */ new Set([void 0, "0.0.0.0"]);
|
|
17
|
+
for (const _interface of Object.values(interfaces)) {
|
|
18
|
+
for (const config of _interface) {
|
|
19
|
+
results.add(config.address);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return results;
|
|
23
|
+
};
|
|
24
|
+
const checkAvailablePort = (options) => new Promise((resolve, reject) => {
|
|
25
|
+
const server = net.createServer();
|
|
26
|
+
server.unref();
|
|
27
|
+
server.on("error", reject);
|
|
28
|
+
server.listen(options, () => {
|
|
29
|
+
const { port } = server.address();
|
|
30
|
+
server.close(() => {
|
|
31
|
+
resolve(port);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
const getAvailablePort = async (options, hosts) => {
|
|
36
|
+
if (options.host || options.port === 0) {
|
|
37
|
+
return checkAvailablePort(options);
|
|
38
|
+
}
|
|
39
|
+
for (const host of hosts) {
|
|
40
|
+
try {
|
|
41
|
+
await checkAvailablePort({ port: options.port, host });
|
|
42
|
+
} catch (error) {
|
|
43
|
+
if (!["EADDRNOTAVAIL", "EINVAL"].includes(error.code)) {
|
|
44
|
+
throw error;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options.port;
|
|
49
|
+
};
|
|
50
|
+
const portCheckSequence = function* (ports) {
|
|
51
|
+
if (ports) {
|
|
52
|
+
yield* ports;
|
|
53
|
+
}
|
|
54
|
+
yield 0;
|
|
55
|
+
};
|
|
56
|
+
async function getPorts(options) {
|
|
57
|
+
let ports;
|
|
58
|
+
let exclude = /* @__PURE__ */ new Set();
|
|
59
|
+
if (options) {
|
|
60
|
+
if (options.port) {
|
|
61
|
+
ports = typeof options.port === "number" ? [options.port] : options.port;
|
|
62
|
+
}
|
|
63
|
+
if (options.exclude) {
|
|
64
|
+
const excludeIterable = options.exclude;
|
|
65
|
+
if (typeof excludeIterable[Symbol.iterator] !== "function") {
|
|
66
|
+
throw new TypeError("The `exclude` option must be an iterable.");
|
|
67
|
+
}
|
|
68
|
+
for (const element of excludeIterable) {
|
|
69
|
+
if (typeof element !== "number") {
|
|
70
|
+
throw new TypeError("Each item in the `exclude` option must be a number corresponding to the port you want excluded.");
|
|
71
|
+
}
|
|
72
|
+
if (!Number.isSafeInteger(element)) {
|
|
73
|
+
throw new TypeError(`Number ${element} in the exclude option is not a safe integer and can't be used`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exclude = new Set(excludeIterable);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (interval === void 0) {
|
|
80
|
+
interval = setInterval(() => {
|
|
81
|
+
lockedPorts.old = lockedPorts.young;
|
|
82
|
+
lockedPorts.young = /* @__PURE__ */ new Set();
|
|
83
|
+
}, releaseOldLockedPortsIntervalMs);
|
|
84
|
+
if (interval.unref) {
|
|
85
|
+
interval.unref();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
const hosts = getLocalHosts();
|
|
89
|
+
for (const port of portCheckSequence(ports)) {
|
|
90
|
+
try {
|
|
91
|
+
if (exclude.has(port)) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
let availablePort = await getAvailablePort({ ...options, port }, hosts);
|
|
95
|
+
while (lockedPorts.old.has(availablePort) || lockedPorts.young.has(availablePort)) {
|
|
96
|
+
if (port !== 0) {
|
|
97
|
+
throw new Locked(port);
|
|
98
|
+
}
|
|
99
|
+
availablePort = await getAvailablePort({ ...options, port }, hosts);
|
|
100
|
+
}
|
|
101
|
+
lockedPorts.young.add(availablePort);
|
|
102
|
+
return availablePort;
|
|
103
|
+
} catch (error) {
|
|
104
|
+
if (!["EADDRINUSE", "EACCES"].includes(error.code) && !(error instanceof Locked)) {
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
throw new Error("No available ports found");
|
|
110
|
+
}
|
|
111
|
+
export {
|
|
112
|
+
getPorts as default
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/get-port/index.js"],"sourcesContent":["import net from 'node:net';\nimport os from 'node:os';\n\nclass Locked extends Error {\n\tconstructor(port) {\n\t\tsuper(`${port} is locked`);\n\t}\n}\n\nconst lockedPorts = {\n\told: new Set(),\n\tyoung: new Set(),\n};\n\n// On this interval, the old locked ports are discarded,\n// the young locked ports are moved to old locked ports,\n// and a new young set for locked ports are created.\nconst releaseOldLockedPortsIntervalMs = 1000 * 15;\n\nconst minPort = 1024;\nconst maxPort = 65_535;\n\n// Lazily create interval on first use\nlet interval;\n\nconst getLocalHosts = () => {\n\tconst interfaces = os.networkInterfaces();\n\n\t// Add undefined value for createServer function to use default host,\n\t// and default IPv4 host in case createServer defaults to IPv6.\n\tconst results = new Set([undefined, '0.0.0.0']);\n\n\tfor (const _interface of Object.values(interfaces)) {\n\t\tfor (const config of _interface) {\n\t\t\tresults.add(config.address);\n\t\t}\n\t}\n\n\treturn results;\n};\n\nconst checkAvailablePort = options =>\n\tnew Promise((resolve, reject) => {\n\t\tconst server = net.createServer();\n\t\tserver.unref();\n\t\tserver.on('error', reject);\n\n\t\tserver.listen(options, () => {\n\t\t\tconst {port} = server.address();\n\t\t\tserver.close(() => {\n\t\t\t\tresolve(port);\n\t\t\t});\n\t\t});\n\t});\n\nconst getAvailablePort = async (options, hosts) => {\n\tif (options.host || options.port === 0) {\n\t\treturn checkAvailablePort(options);\n\t}\n\n\tfor (const host of hosts) {\n\t\ttry {\n\t\t\tawait checkAvailablePort({port: options.port, host}); // eslint-disable-line no-await-in-loop\n\t\t} catch (error) {\n\t\t\tif (!['EADDRNOTAVAIL', 'EINVAL'].includes(error.code)) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn options.port;\n};\n\nconst portCheckSequence = function * (ports) {\n\tif (ports) {\n\t\tyield * ports;\n\t}\n\n\tyield 0; // Fall back to 0 if anything else failed\n};\n\nexport default async function getPorts(options) {\n\tlet ports;\n\tlet exclude = new Set();\n\n\tif (options) {\n\t\tif (options.port) {\n\t\t\tports = typeof options.port === 'number' ? [options.port] : options.port;\n\t\t}\n\n\t\tif (options.exclude) {\n\t\t\tconst excludeIterable = options.exclude;\n\n\t\t\tif (typeof excludeIterable[Symbol.iterator] !== 'function') {\n\t\t\t\tthrow new TypeError('The `exclude` option must be an iterable.');\n\t\t\t}\n\n\t\t\tfor (const element of excludeIterable) {\n\t\t\t\tif (typeof element !== 'number') {\n\t\t\t\t\tthrow new TypeError('Each item in the `exclude` option must be a number corresponding to the port you want excluded.');\n\t\t\t\t}\n\n\t\t\t\tif (!Number.isSafeInteger(element)) {\n\t\t\t\t\tthrow new TypeError(`Number ${element} in the exclude option is not a safe integer and can't be used`);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\texclude = new Set(excludeIterable);\n\t\t}\n\t}\n\n\tif (interval === undefined) {\n\t\tinterval = setInterval(() => {\n\t\t\tlockedPorts.old = lockedPorts.young;\n\t\t\tlockedPorts.young = new Set();\n\t\t}, releaseOldLockedPortsIntervalMs);\n\n\t\t// Does not exist in some environments (Electron, Jest jsdom env, browser, etc).\n\t\tif (interval.unref) {\n\t\t\tinterval.unref();\n\t\t}\n\t}\n\n\tconst hosts = getLocalHosts();\n\n\tfor (const port of portCheckSequence(ports)) {\n\t\ttry {\n\t\t\tif (exclude.has(port)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tlet availablePort = await getAvailablePort({...options, port}, hosts); // eslint-disable-line no-await-in-loop\n\t\t\twhile (lockedPorts.old.has(availablePort) || lockedPorts.young.has(availablePort)) {\n\t\t\t\tif (port !== 0) {\n\t\t\t\t\tthrow new Locked(port);\n\t\t\t\t}\n\n\t\t\t\tavailablePort = await getAvailablePort({...options, port}, hosts); // eslint-disable-line no-await-in-loop\n\t\t\t}\n\n\t\t\tlockedPorts.young.add(availablePort);\n\n\t\t\treturn availablePort;\n\t\t} catch (error) {\n\t\t\tif (!['EADDRINUSE', 'EACCES'].includes(error.code) && !(error instanceof Locked)) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\t}\n\n\tthrow new Error('No available ports found');\n}\n\nexport function portNumbers(from, to) {\n\tif (!Number.isInteger(from) || !Number.isInteger(to)) {\n\t\tthrow new TypeError('`from` and `to` must be integer numbers');\n\t}\n\n\tif (from < minPort || from > maxPort) {\n\t\tthrow new RangeError(`'from' must be between ${minPort} and ${maxPort}`);\n\t}\n\n\tif (to < minPort || to > maxPort) {\n\t\tthrow new RangeError(`'to' must be between ${minPort} and ${maxPort}`);\n\t}\n\n\tif (from > to) {\n\t\tthrow new RangeError('`to` must be greater than or equal to `from`');\n\t}\n\n\tconst generator = function * (from, to) {\n\t\tfor (let port = from; port <= to; port++) {\n\t\t\tyield port;\n\t\t}\n\t};\n\n\treturn generator(from, to);\n}\n"],"names":["os"],"mappings":";;AAGA,MAAM,eAAe,MAAM;AAAA,EAC1B,YAAY,MAAM;AACjB,UAAM,GAAG,gBAAgB;AAAA,EACzB;AACF;AAEA,MAAM,cAAc;AAAA,EACnB,KAAK,oBAAI,IAAK;AAAA,EACd,OAAO,oBAAI,IAAK;AACjB;AAKA,MAAM,kCAAkC,MAAO;AAM/C,IAAI;AAEJ,MAAM,gBAAgB,MAAM;AAC3B,QAAM,aAAaA,YAAG;AAItB,QAAM,UAAU,oBAAI,IAAI,CAAC,QAAW,SAAS,CAAC;AAE9C,aAAW,cAAc,OAAO,OAAO,UAAU,GAAG;AACnD,eAAW,UAAU,YAAY;AAChC,cAAQ,IAAI,OAAO,OAAO;AAAA,IAC1B;AAAA,EACD;AAED,SAAO;AACR;AAEA,MAAM,qBAAqB,aAC1B,IAAI,QAAQ,CAAC,SAAS,WAAW;AAChC,QAAM,SAAS,IAAI;AACnB,SAAO,MAAK;AACZ,SAAO,GAAG,SAAS,MAAM;AAEzB,SAAO,OAAO,SAAS,MAAM;AAC5B,UAAM,EAAC,KAAI,IAAI,OAAO,QAAO;AAC7B,WAAO,MAAM,MAAM;AAClB,cAAQ,IAAI;AAAA,IAChB,CAAI;AAAA,EACJ,CAAG;AACH,CAAE;AAEF,MAAM,mBAAmB,OAAO,SAAS,UAAU;AAClD,MAAI,QAAQ,QAAQ,QAAQ,SAAS,GAAG;AACvC,WAAO,mBAAmB,OAAO;AAAA,EACjC;AAED,aAAW,QAAQ,OAAO;AACzB,QAAI;AACH,YAAM,mBAAmB,EAAC,MAAM,QAAQ,MAAM,KAAI,CAAC;AAAA,IACnD,SAAQ,OAAP;AACD,UAAI,CAAC,CAAC,iBAAiB,QAAQ,EAAE,SAAS,MAAM,IAAI,GAAG;AACtD,cAAM;AAAA,MACN;AAAA,IACD;AAAA,EACD;AAED,SAAO,QAAQ;AAChB;AAEA,MAAM,oBAAoB,WAAY,OAAO;AAC5C,MAAI,OAAO;AACV,WAAQ;AAAA,EACR;AAED,QAAM;AACP;AAEe,eAAe,SAAS,SAAS;AAC/C,MAAI;AACJ,MAAI,UAAU,oBAAI;AAElB,MAAI,SAAS;AACZ,QAAI,QAAQ,MAAM;AACjB,cAAQ,OAAO,QAAQ,SAAS,WAAW,CAAC,QAAQ,IAAI,IAAI,QAAQ;AAAA,IACpE;AAED,QAAI,QAAQ,SAAS;AACpB,YAAM,kBAAkB,QAAQ;AAEhC,UAAI,OAAO,gBAAgB,OAAO,QAAQ,MAAM,YAAY;AAC3D,cAAM,IAAI,UAAU,2CAA2C;AAAA,MAC/D;AAED,iBAAW,WAAW,iBAAiB;AACtC,YAAI,OAAO,YAAY,UAAU;AAChC,gBAAM,IAAI,UAAU,iGAAiG;AAAA,QACrH;AAED,YAAI,CAAC,OAAO,cAAc,OAAO,GAAG;AACnC,gBAAM,IAAI,UAAU,UAAU,uEAAuE;AAAA,QACrG;AAAA,MACD;AAED,gBAAU,IAAI,IAAI,eAAe;AAAA,IACjC;AAAA,EACD;AAED,MAAI,aAAa,QAAW;AAC3B,eAAW,YAAY,MAAM;AAC5B,kBAAY,MAAM,YAAY;AAC9B,kBAAY,QAAQ,oBAAI;IACxB,GAAE,+BAA+B;AAGlC,QAAI,SAAS,OAAO;AACnB,eAAS,MAAK;AAAA,IACd;AAAA,EACD;AAED,QAAM,QAAQ;AAEd,aAAW,QAAQ,kBAAkB,KAAK,GAAG;AAC5C,QAAI;AACH,UAAI,QAAQ,IAAI,IAAI,GAAG;AACtB;AAAA,MACA;AAED,UAAI,gBAAgB,MAAM,iBAAiB,EAAC,GAAG,SAAS,KAAI,GAAG,KAAK;AACpE,aAAO,YAAY,IAAI,IAAI,aAAa,KAAK,YAAY,MAAM,IAAI,aAAa,GAAG;AAClF,YAAI,SAAS,GAAG;AACf,gBAAM,IAAI,OAAO,IAAI;AAAA,QACrB;AAED,wBAAgB,MAAM,iBAAiB,EAAC,GAAG,SAAS,KAAI,GAAG,KAAK;AAAA,MAChE;AAED,kBAAY,MAAM,IAAI,aAAa;AAEnC,aAAO;AAAA,IACP,SAAQ,OAAP;AACD,UAAI,CAAC,CAAC,cAAc,QAAQ,EAAE,SAAS,MAAM,IAAI,KAAK,EAAE,iBAAiB,SAAS;AACjF,cAAM;AAAA,MACN;AAAA,IACD;AAAA,EACD;AAED,QAAM,IAAI,MAAM,0BAA0B;AAC3C;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
4
|
+
require("fs");
|
|
5
|
+
const windows = require("./windows.cjs");
|
|
6
|
+
const mode = require("./mode.cjs");
|
|
7
|
+
var core;
|
|
8
|
+
if (process.platform === "win32" || _commonjsHelpers.commonjsGlobal.TESTING_WINDOWS) {
|
|
9
|
+
core = windows.__require();
|
|
10
|
+
} else {
|
|
11
|
+
core = mode.__require();
|
|
12
|
+
}
|
|
13
|
+
var isexe_1 = isexe;
|
|
14
|
+
isexe.sync = sync;
|
|
15
|
+
function isexe(path, options, cb) {
|
|
16
|
+
if (typeof options === "function") {
|
|
17
|
+
cb = options;
|
|
18
|
+
options = {};
|
|
19
|
+
}
|
|
20
|
+
if (!cb) {
|
|
21
|
+
if (typeof Promise !== "function") {
|
|
22
|
+
throw new TypeError("callback not provided");
|
|
23
|
+
}
|
|
24
|
+
return new Promise(function(resolve, reject) {
|
|
25
|
+
isexe(path, options || {}, function(er, is) {
|
|
26
|
+
if (er) {
|
|
27
|
+
reject(er);
|
|
28
|
+
} else {
|
|
29
|
+
resolve(is);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
core(path, options || {}, function(er, is) {
|
|
35
|
+
if (er) {
|
|
36
|
+
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
37
|
+
er = null;
|
|
38
|
+
is = false;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
cb(er, is);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function sync(path, options) {
|
|
45
|
+
try {
|
|
46
|
+
return core.sync(path, options || {});
|
|
47
|
+
} catch (er) {
|
|
48
|
+
if (options && options.ignoreErrors || er.code === "EACCES") {
|
|
49
|
+
return false;
|
|
50
|
+
} else {
|
|
51
|
+
throw er;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.isexe_1 = isexe_1;
|
|
56
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/isexe/index.js"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n"],"names":["global","require$$1","require$$2"],"mappings":";;;;;;AACA,IAAI;AACJ,IAAI,QAAQ,aAAa,WAAWA,iBAAAA,eAAO,iBAAiB;AAC1D,SAAOC,QAAAA,UAAuB;AAChC,OAAO;AACL,SAAOC,KAAAA,UAAoB;AAC7B;AAEA,IAAA,UAAiB;AACjB,MAAM,OAAO;AAEb,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,MAAI,OAAO,YAAY,YAAY;AACjC,SAAK;AACL,cAAU,CAAE;AAAA,EACb;AAED,MAAI,CAAC,IAAI;AACP,QAAI,OAAO,YAAY,YAAY;AACjC,YAAM,IAAI,UAAU,uBAAuB;AAAA,IAC5C;AAED,WAAO,IAAI,QAAQ,SAAU,SAAS,QAAQ;AAC5C,YAAM,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAC3C,YAAI,IAAI;AACN,iBAAO,EAAE;AAAA,QACnB,OAAe;AACL,kBAAQ,EAAE;AAAA,QACX;AAAA,MACT,CAAO;AAAA,IACP,CAAK;AAAA,EACF;AAED,OAAK,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAE1C,QAAI,IAAI;AACN,UAAI,GAAG,SAAS,YAAY,WAAW,QAAQ,cAAc;AAC3D,aAAK;AACL,aAAK;AAAA,MACN;AAAA,IACF;AACD,OAAG,IAAI,EAAE;AAAA,EACb,CAAG;AACH;AAEA,SAAS,KAAM,MAAM,SAAS;AAE5B,MAAI;AACF,WAAO,KAAK,KAAK,MAAM,WAAW,CAAA,CAAE;AAAA,EACrC,SAAQ,IAAP;AACA,QAAI,WAAW,QAAQ,gBAAgB,GAAG,SAAS,UAAU;AAC3D,aAAO;AAAA,IACb,OAAW;AACL,YAAM;AAAA,IACP;AAAA,EACF;AACH;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { commonjsGlobal } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import "fs";
|
|
3
|
+
import { __require as requireWindows } from "./windows.js";
|
|
4
|
+
import { __require as requireMode } from "./mode.js";
|
|
5
|
+
var core;
|
|
6
|
+
if (process.platform === "win32" || commonjsGlobal.TESTING_WINDOWS) {
|
|
7
|
+
core = requireWindows();
|
|
8
|
+
} else {
|
|
9
|
+
core = requireMode();
|
|
10
|
+
}
|
|
11
|
+
var isexe_1 = isexe;
|
|
12
|
+
isexe.sync = sync;
|
|
13
|
+
function isexe(path, options, cb) {
|
|
14
|
+
if (typeof options === "function") {
|
|
15
|
+
cb = options;
|
|
16
|
+
options = {};
|
|
17
|
+
}
|
|
18
|
+
if (!cb) {
|
|
19
|
+
if (typeof Promise !== "function") {
|
|
20
|
+
throw new TypeError("callback not provided");
|
|
21
|
+
}
|
|
22
|
+
return new Promise(function(resolve, reject) {
|
|
23
|
+
isexe(path, options || {}, function(er, is) {
|
|
24
|
+
if (er) {
|
|
25
|
+
reject(er);
|
|
26
|
+
} else {
|
|
27
|
+
resolve(is);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
core(path, options || {}, function(er, is) {
|
|
33
|
+
if (er) {
|
|
34
|
+
if (er.code === "EACCES" || options && options.ignoreErrors) {
|
|
35
|
+
er = null;
|
|
36
|
+
is = false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
cb(er, is);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function sync(path, options) {
|
|
43
|
+
try {
|
|
44
|
+
return core.sync(path, options || {});
|
|
45
|
+
} catch (er) {
|
|
46
|
+
if (options && options.ignoreErrors || er.code === "EACCES") {
|
|
47
|
+
return false;
|
|
48
|
+
} else {
|
|
49
|
+
throw er;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
isexe_1 as i
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/isexe/index.js"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n"],"names":["global","require$$1","require$$2"],"mappings":";;;;AACA,IAAI;AACJ,IAAI,QAAQ,aAAa,WAAWA,eAAO,iBAAiB;AAC1D,SAAOC,eAAuB;AAChC,OAAO;AACL,SAAOC,YAAoB;AAC7B;AAEA,IAAA,UAAiB;AACjB,MAAM,OAAO;AAEb,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,MAAI,OAAO,YAAY,YAAY;AACjC,SAAK;AACL,cAAU,CAAE;AAAA,EACb;AAED,MAAI,CAAC,IAAI;AACP,QAAI,OAAO,YAAY,YAAY;AACjC,YAAM,IAAI,UAAU,uBAAuB;AAAA,IAC5C;AAED,WAAO,IAAI,QAAQ,SAAU,SAAS,QAAQ;AAC5C,YAAM,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAC3C,YAAI,IAAI;AACN,iBAAO,EAAE;AAAA,QACnB,OAAe;AACL,kBAAQ,EAAE;AAAA,QACX;AAAA,MACT,CAAO;AAAA,IACP,CAAK;AAAA,EACF;AAED,OAAK,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAE1C,QAAI,IAAI;AACN,UAAI,GAAG,SAAS,YAAY,WAAW,QAAQ,cAAc;AAC3D,aAAK;AACL,aAAK;AAAA,MACN;AAAA,IACF;AACD,OAAG,IAAI,EAAE;AAAA,EACb,CAAG;AACH;AAEA,SAAS,KAAM,MAAM,SAAS;AAE5B,MAAI;AACF,WAAO,KAAK,KAAK,MAAM,WAAW,CAAA,CAAE;AAAA,EACrC,SAAQ,IAAP;AACA,QAAI,WAAW,QAAQ,gBAAgB,GAAG,SAAS,UAAU;AAC3D,aAAO;AAAA,IACb,OAAW;AACL,YAAM;AAAA,IACP;AAAA,EACF;AACH;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require$$0 = require("fs");
|
|
4
|
+
var mode;
|
|
5
|
+
var hasRequiredMode;
|
|
6
|
+
function requireMode() {
|
|
7
|
+
if (hasRequiredMode)
|
|
8
|
+
return mode;
|
|
9
|
+
hasRequiredMode = 1;
|
|
10
|
+
mode = isexe;
|
|
11
|
+
isexe.sync = sync;
|
|
12
|
+
var fs = require$$0;
|
|
13
|
+
function isexe(path, options, cb) {
|
|
14
|
+
fs.stat(path, function(er, stat) {
|
|
15
|
+
cb(er, er ? false : checkStat(stat, options));
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function sync(path, options) {
|
|
19
|
+
return checkStat(fs.statSync(path), options);
|
|
20
|
+
}
|
|
21
|
+
function checkStat(stat, options) {
|
|
22
|
+
return stat.isFile() && checkMode(stat, options);
|
|
23
|
+
}
|
|
24
|
+
function checkMode(stat, options) {
|
|
25
|
+
var mod = stat.mode;
|
|
26
|
+
var uid = stat.uid;
|
|
27
|
+
var gid = stat.gid;
|
|
28
|
+
var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
|
|
29
|
+
var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
|
|
30
|
+
var u = parseInt("100", 8);
|
|
31
|
+
var g = parseInt("010", 8);
|
|
32
|
+
var o = parseInt("001", 8);
|
|
33
|
+
var ug = u | g;
|
|
34
|
+
var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
35
|
+
return ret;
|
|
36
|
+
}
|
|
37
|
+
return mode;
|
|
38
|
+
}
|
|
39
|
+
exports.__require = requireMode;
|
|
40
|
+
//# sourceMappingURL=mode.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mode.cjs","sources":["../../../../../node_modules/isexe/mode.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,OAAO,CAAC;AAAA,IAChD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,OAAO;AAAA,EAC5C;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,WAAO,KAAK,OAAM,KAAM,UAAU,MAAM,OAAO;AAAA,EAChD;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AAEf,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAClD,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAElD,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,KAAK,IAAI;AAEb,QAAI,MAAO,MAAM,KACd,MAAM,KAAM,QAAQ,SACpB,MAAM,KAAM,QAAQ,SACpB,MAAM,MAAO,UAAU;AAE1B,WAAO;AAAA,EACT;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import require$$0 from "fs";
|
|
2
|
+
var mode;
|
|
3
|
+
var hasRequiredMode;
|
|
4
|
+
function requireMode() {
|
|
5
|
+
if (hasRequiredMode)
|
|
6
|
+
return mode;
|
|
7
|
+
hasRequiredMode = 1;
|
|
8
|
+
mode = isexe;
|
|
9
|
+
isexe.sync = sync;
|
|
10
|
+
var fs = require$$0;
|
|
11
|
+
function isexe(path, options, cb) {
|
|
12
|
+
fs.stat(path, function(er, stat) {
|
|
13
|
+
cb(er, er ? false : checkStat(stat, options));
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function sync(path, options) {
|
|
17
|
+
return checkStat(fs.statSync(path), options);
|
|
18
|
+
}
|
|
19
|
+
function checkStat(stat, options) {
|
|
20
|
+
return stat.isFile() && checkMode(stat, options);
|
|
21
|
+
}
|
|
22
|
+
function checkMode(stat, options) {
|
|
23
|
+
var mod = stat.mode;
|
|
24
|
+
var uid = stat.uid;
|
|
25
|
+
var gid = stat.gid;
|
|
26
|
+
var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
|
|
27
|
+
var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
|
|
28
|
+
var u = parseInt("100", 8);
|
|
29
|
+
var g = parseInt("010", 8);
|
|
30
|
+
var o = parseInt("001", 8);
|
|
31
|
+
var ug = u | g;
|
|
32
|
+
var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
|
|
33
|
+
return ret;
|
|
34
|
+
}
|
|
35
|
+
return mode;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
requireMode as __require
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mode.js","sources":["../../../../../node_modules/isexe/mode.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n"],"names":[],"mappings":";;;;;;;AAAA,SAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,OAAO,CAAC;AAAA,IAChD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,OAAO;AAAA,EAC5C;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,WAAO,KAAK,OAAM,KAAM,UAAU,MAAM,OAAO;AAAA,EAChD;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AAEf,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAClD,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAElD,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,KAAK,IAAI;AAEb,QAAI,MAAO,MAAM,KACd,MAAM,KAAM,QAAQ,SACpB,MAAM,KAAM,QAAQ,SACpB,MAAM,MAAO,UAAU;AAE1B,WAAO;AAAA,EACT;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require$$0 = require("fs");
|
|
4
|
+
var windows;
|
|
5
|
+
var hasRequiredWindows;
|
|
6
|
+
function requireWindows() {
|
|
7
|
+
if (hasRequiredWindows)
|
|
8
|
+
return windows;
|
|
9
|
+
hasRequiredWindows = 1;
|
|
10
|
+
windows = isexe;
|
|
11
|
+
isexe.sync = sync;
|
|
12
|
+
var fs = require$$0;
|
|
13
|
+
function checkPathExt(path, options) {
|
|
14
|
+
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
15
|
+
if (!pathext) {
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
pathext = pathext.split(";");
|
|
19
|
+
if (pathext.indexOf("") !== -1) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
for (var i = 0; i < pathext.length; i++) {
|
|
23
|
+
var p = pathext[i].toLowerCase();
|
|
24
|
+
if (p && path.substr(-p.length).toLowerCase() === p) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
function checkStat(stat, path, options) {
|
|
31
|
+
if (!stat.isSymbolicLink() && !stat.isFile()) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
return checkPathExt(path, options);
|
|
35
|
+
}
|
|
36
|
+
function isexe(path, options, cb) {
|
|
37
|
+
fs.stat(path, function(er, stat) {
|
|
38
|
+
cb(er, er ? false : checkStat(stat, path, options));
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function sync(path, options) {
|
|
42
|
+
return checkStat(fs.statSync(path), path, options);
|
|
43
|
+
}
|
|
44
|
+
return windows;
|
|
45
|
+
}
|
|
46
|
+
exports.__require = requireWindows;
|
|
47
|
+
//# sourceMappingURL=windows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windows.cjs","sources":["../../../../../node_modules/isexe/windows.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA,YAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,aAAc,MAAM,SAAS;AACpC,QAAI,UAAU,QAAQ,YAAY,SAChC,QAAQ,UAAU,QAAQ,IAAI;AAEhC,QAAI,CAAC,SAAS;AACZ,aAAO;AAAA,IACR;AAED,cAAU,QAAQ,MAAM,GAAG;AAC3B,QAAI,QAAQ,QAAQ,EAAE,MAAM,IAAI;AAC9B,aAAO;AAAA,IACR;AACD,aAAS,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;AACvC,UAAI,IAAI,QAAQ,CAAC,EAAE,YAAa;AAChC,UAAI,KAAK,KAAK,OAAO,CAAC,EAAE,MAAM,EAAE,YAAa,MAAK,GAAG;AACnD,eAAO;AAAA,MACR;AAAA,IACF;AACD,WAAO;AAAA,EACR;AAED,WAAS,UAAW,MAAM,MAAM,SAAS;AACvC,QAAI,CAAC,KAAK,eAAc,KAAM,CAAC,KAAK,OAAM,GAAI;AAC5C,aAAO;AAAA,IACR;AACD,WAAO,aAAa,MAAM,OAAO;AAAA,EAClC;AAED,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,MAAM,OAAO,CAAC;AAAA,IACtD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,MAAM,OAAO;AAAA,EACnD;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import require$$0 from "fs";
|
|
2
|
+
var windows;
|
|
3
|
+
var hasRequiredWindows;
|
|
4
|
+
function requireWindows() {
|
|
5
|
+
if (hasRequiredWindows)
|
|
6
|
+
return windows;
|
|
7
|
+
hasRequiredWindows = 1;
|
|
8
|
+
windows = isexe;
|
|
9
|
+
isexe.sync = sync;
|
|
10
|
+
var fs = require$$0;
|
|
11
|
+
function checkPathExt(path, options) {
|
|
12
|
+
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
13
|
+
if (!pathext) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
pathext = pathext.split(";");
|
|
17
|
+
if (pathext.indexOf("") !== -1) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
for (var i = 0; i < pathext.length; i++) {
|
|
21
|
+
var p = pathext[i].toLowerCase();
|
|
22
|
+
if (p && path.substr(-p.length).toLowerCase() === p) {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
function checkStat(stat, path, options) {
|
|
29
|
+
if (!stat.isSymbolicLink() && !stat.isFile()) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return checkPathExt(path, options);
|
|
33
|
+
}
|
|
34
|
+
function isexe(path, options, cb) {
|
|
35
|
+
fs.stat(path, function(er, stat) {
|
|
36
|
+
cb(er, er ? false : checkStat(stat, path, options));
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function sync(path, options) {
|
|
40
|
+
return checkStat(fs.statSync(path), path, options);
|
|
41
|
+
}
|
|
42
|
+
return windows;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
requireWindows as __require
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=windows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windows.js","sources":["../../../../../node_modules/isexe/windows.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n"],"names":[],"mappings":";;;;;;;AAAA,YAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,aAAc,MAAM,SAAS;AACpC,QAAI,UAAU,QAAQ,YAAY,SAChC,QAAQ,UAAU,QAAQ,IAAI;AAEhC,QAAI,CAAC,SAAS;AACZ,aAAO;AAAA,IACR;AAED,cAAU,QAAQ,MAAM,GAAG;AAC3B,QAAI,QAAQ,QAAQ,EAAE,MAAM,IAAI;AAC9B,aAAO;AAAA,IACR;AACD,aAAS,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;AACvC,UAAI,IAAI,QAAQ,CAAC,EAAE,YAAa;AAChC,UAAI,KAAK,KAAK,OAAO,CAAC,EAAE,MAAM,EAAE,YAAa,MAAK,GAAG;AACnD,eAAO;AAAA,MACR;AAAA,IACF;AACD,WAAO;AAAA,EACR;AAED,WAAS,UAAW,MAAM,MAAM,SAAS;AACvC,QAAI,CAAC,KAAK,eAAc,KAAM,CAAC,KAAK,OAAM,GAAI;AAC5C,aAAO;AAAA,IACR;AACD,WAAO,aAAa,MAAM,OAAO;AAAA,EAClC;AAED,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,MAAM,OAAO,CAAC;AAAA,IACtD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,MAAM,OAAO;AAAA,EACnD;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
|
|
3
|
+
const require$$0 = require("stream");
|
|
4
|
+
const { PassThrough } = require$$0;
|
|
5
|
+
var mergeStream = function() {
|
|
6
|
+
var sources = [];
|
|
7
|
+
var output = new PassThrough({ objectMode: true });
|
|
8
|
+
output.setMaxListeners(0);
|
|
9
|
+
output.add = add;
|
|
10
|
+
output.isEmpty = isEmpty;
|
|
11
|
+
output.on("unpipe", remove);
|
|
12
|
+
Array.prototype.slice.call(arguments).forEach(add);
|
|
13
|
+
return output;
|
|
14
|
+
function add(source) {
|
|
15
|
+
if (Array.isArray(source)) {
|
|
16
|
+
source.forEach(add);
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
sources.push(source);
|
|
20
|
+
source.once("end", remove.bind(null, source));
|
|
21
|
+
source.once("error", output.emit.bind(output, "error"));
|
|
22
|
+
source.pipe(output, { end: false });
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
function isEmpty() {
|
|
26
|
+
return sources.length == 0;
|
|
27
|
+
}
|
|
28
|
+
function remove(source) {
|
|
29
|
+
sources = sources.filter(function(it) {
|
|
30
|
+
return it !== source;
|
|
31
|
+
});
|
|
32
|
+
if (!sources.length && output.readable) {
|
|
33
|
+
output.end();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const mergeStream$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(mergeStream);
|
|
38
|
+
module.exports = mergeStream$1;
|
|
39
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/merge-stream/index.js"],"sourcesContent":["'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n"],"names":[],"mappings":";;;AAEA,MAAM,EAAE,YAAa,IAAG;AAExB,IAAA,cAAiB,WAA0B;AACzC,MAAI,UAAU,CAAE;AAChB,MAAI,SAAU,IAAI,YAAY,EAAC,YAAY,KAAI,CAAC;AAEhD,SAAO,gBAAgB,CAAC;AAExB,SAAO,MAAM;AACb,SAAO,UAAU;AAEjB,SAAO,GAAG,UAAU,MAAM;AAE1B,QAAM,UAAU,MAAM,KAAK,SAAS,EAAE,QAAQ,GAAG;AAEjD,SAAO;AAEP,WAAS,IAAK,QAAQ;AACpB,QAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,aAAO,QAAQ,GAAG;AAClB,aAAO;AAAA,IACR;AAED,YAAQ,KAAK,MAAM;AACnB,WAAO,KAAK,OAAO,OAAO,KAAK,MAAM,MAAM,CAAC;AAC5C,WAAO,KAAK,SAAS,OAAO,KAAK,KAAK,QAAQ,OAAO,CAAC;AACtD,WAAO,KAAK,QAAQ,EAAC,KAAK,MAAK,CAAC;AAChC,WAAO;AAAA,EACR;AAED,WAAS,UAAW;AAClB,WAAO,QAAQ,UAAU;AAAA,EAC1B;AAED,WAAS,OAAQ,QAAQ;AACvB,cAAU,QAAQ,OAAO,SAAU,IAAI;AAAE,aAAO,OAAO;AAAA,KAAQ;AAC/D,QAAI,CAAC,QAAQ,UAAU,OAAO,UAAU;AAAE,aAAO;IAAO;AAAA,EACzD;AACH;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
+
import require$$0 from "stream";
|
|
3
|
+
const { PassThrough } = require$$0;
|
|
4
|
+
var mergeStream = function() {
|
|
5
|
+
var sources = [];
|
|
6
|
+
var output = new PassThrough({ objectMode: true });
|
|
7
|
+
output.setMaxListeners(0);
|
|
8
|
+
output.add = add;
|
|
9
|
+
output.isEmpty = isEmpty;
|
|
10
|
+
output.on("unpipe", remove);
|
|
11
|
+
Array.prototype.slice.call(arguments).forEach(add);
|
|
12
|
+
return output;
|
|
13
|
+
function add(source) {
|
|
14
|
+
if (Array.isArray(source)) {
|
|
15
|
+
source.forEach(add);
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
sources.push(source);
|
|
19
|
+
source.once("end", remove.bind(null, source));
|
|
20
|
+
source.once("error", output.emit.bind(output, "error"));
|
|
21
|
+
source.pipe(output, { end: false });
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
function isEmpty() {
|
|
25
|
+
return sources.length == 0;
|
|
26
|
+
}
|
|
27
|
+
function remove(source) {
|
|
28
|
+
sources = sources.filter(function(it) {
|
|
29
|
+
return it !== source;
|
|
30
|
+
});
|
|
31
|
+
if (!sources.length && output.readable) {
|
|
32
|
+
output.end();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const mergeStream$1 = /* @__PURE__ */ getDefaultExportFromCjs(mergeStream);
|
|
37
|
+
export {
|
|
38
|
+
mergeStream$1 as default
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/merge-stream/index.js"],"sourcesContent":["'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n"],"names":[],"mappings":";;AAEA,MAAM,EAAE,YAAa,IAAG;AAExB,IAAA,cAAiB,WAA0B;AACzC,MAAI,UAAU,CAAE;AAChB,MAAI,SAAU,IAAI,YAAY,EAAC,YAAY,KAAI,CAAC;AAEhD,SAAO,gBAAgB,CAAC;AAExB,SAAO,MAAM;AACb,SAAO,UAAU;AAEjB,SAAO,GAAG,UAAU,MAAM;AAE1B,QAAM,UAAU,MAAM,KAAK,SAAS,EAAE,QAAQ,GAAG;AAEjD,SAAO;AAEP,WAAS,IAAK,QAAQ;AACpB,QAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,aAAO,QAAQ,GAAG;AAClB,aAAO;AAAA,IACR;AAED,YAAQ,KAAK,MAAM;AACnB,WAAO,KAAK,OAAO,OAAO,KAAK,MAAM,MAAM,CAAC;AAC5C,WAAO,KAAK,SAAS,OAAO,KAAK,KAAK,QAAQ,OAAO,CAAC;AACtD,WAAO,KAAK,QAAQ,EAAC,KAAK,MAAK,CAAC;AAChC,WAAO;AAAA,EACR;AAED,WAAS,UAAW;AAClB,WAAO,QAAQ,UAAU;AAAA,EAC1B;AAED,WAAS,OAAQ,QAAQ;AACvB,cAAU,QAAQ,OAAO,SAAU,IAAI;AAAE,aAAO,OAAO;AAAA,KAAQ;AAC/D,QAAI,CAAC,QAAQ,UAAU,OAAO,UAAU;AAAE,aAAO;IAAO;AAAA,EACzD;AACH;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
|
3
|
+
if (!globalThis.DOMException) {
|
|
4
|
+
try {
|
|
5
|
+
const { MessageChannel } = require("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
|
|
6
|
+
port.postMessage(ab, [ab, ab]);
|
|
7
|
+
} catch (err) {
|
|
8
|
+
err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/node-domexception/index.js"],"sourcesContent":["/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */\n\nif (!globalThis.DOMException) {\n try {\n const { MessageChannel } = require('worker_threads'),\n port = new MessageChannel().port1,\n ab = new ArrayBuffer()\n port.postMessage(ab, [ab, ab])\n } catch (err) {\n err.constructor.name === 'DOMException' && (\n globalThis.DOMException = err.constructor\n )\n }\n}\n\nmodule.exports = globalThis.DOMException\n"],"names":[],"mappings":";;AAEA,IAAI,CAAC,WAAW,cAAc;AAC5B,MAAI;AACF,UAAM,EAAE,eAAc,IAAK,QAAQ,gBAAgB,GACnD,OAAO,IAAI,eAAc,EAAG,OAC5B,KAAK,IAAI,YAAa;AACtB,SAAK,YAAY,IAAI,CAAC,IAAI,EAAE,CAAC;AAAA,EAC9B,SAAQ,KAAP;AACA,QAAI,YAAY,SAAS,mBACvB,WAAW,eAAe,IAAI;AAAA,EAEjC;AACH;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
|
2
|
+
if (!globalThis.DOMException) {
|
|
3
|
+
try {
|
|
4
|
+
const { MessageChannel } = require("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
|
|
5
|
+
port.postMessage(ab, [ab, ab]);
|
|
6
|
+
} catch (err) {
|
|
7
|
+
err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/node-domexception/index.js"],"sourcesContent":["/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */\n\nif (!globalThis.DOMException) {\n try {\n const { MessageChannel } = require('worker_threads'),\n port = new MessageChannel().port1,\n ab = new ArrayBuffer()\n port.postMessage(ab, [ab, ab])\n } catch (err) {\n err.constructor.name === 'DOMException' && (\n globalThis.DOMException = err.constructor\n )\n }\n}\n\nmodule.exports = globalThis.DOMException\n"],"names":[],"mappings":";AAEA,IAAI,CAAC,WAAW,cAAc;AAC5B,MAAI;AACF,UAAM,EAAE,eAAc,IAAK,QAAQ,gBAAgB,GACnD,OAAO,IAAI,eAAc,EAAG,OAC5B,KAAK,IAAI,YAAa;AACtB,SAAK,YAAY,IAAI,CAAC,IAAI,EAAE,CAAC;AAAA,EAC9B,SAAQ,KAAP;AACA,QAAI,YAAY,SAAS,mBACvB,WAAW,eAAe,IAAI;AAAA,EAEjC;AACH;","x_google_ignoreList":[0]}
|