@bleedingdev/modern-js-utils 3.9.0-ultramodern.8 → 3.9.3-ultramodern.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cli/applyOptionsChain.js +1 -1
- package/dist/cjs/cli/get/config.js +1 -1
- package/dist/cjs/cli/is/config.js +1 -1
- package/dist/cjs/cli/require.js +3 -7
- package/dist/cjs/compiled.js +28 -34
- package/dist/cjs/fast-glob.js +50 -0
- package/dist/cjs/watch-options.js +18 -0
- package/dist/compiled/address/LICENSE.txt +22 -0
- package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
- package/dist/compiled/address/index.d.mts +50 -0
- package/dist/compiled/address/index.d.ts +50 -0
- package/dist/compiled/address/index.js +189 -136
- package/dist/compiled/address/index.mjs +187 -0
- package/dist/compiled/address/licenses-cjs.txt +24 -0
- package/dist/compiled/address/licenses-esm.txt +24 -0
- package/dist/compiled/address/package.json +1 -1
- package/dist/compiled/address/provenance.json +22 -0
- package/dist/compiled/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/index.d.ts +51 -5
- package/dist/compiled/browserslist/index.js +1763 -820
- package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
- package/dist/compiled/browserslist/package.json +1 -1
- package/dist/compiled/browserslist/provenance.json +19 -0
- package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
- package/dist/compiled/chalk/index.d.mts +677 -0
- package/dist/compiled/chalk/index.d.ts +619 -357
- package/dist/compiled/chalk/index.js +734 -2343
- package/dist/compiled/chalk/index.mjs +761 -0
- package/dist/compiled/chalk/license +1 -1
- package/dist/compiled/chalk/licenses-cjs.txt +11 -0
- package/dist/compiled/chalk/licenses-esm.txt +11 -0
- package/dist/compiled/chalk/package.json +1 -1
- package/dist/compiled/chalk/provenance.json +19 -0
- package/dist/compiled/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
- package/dist/compiled/chokidar/index.d.mts +385 -0
- package/dist/compiled/chokidar/index.d.ts +385 -0
- package/dist/compiled/chokidar/index.js +1437 -4099
- package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
- package/dist/compiled/chokidar/index.mjs +1492 -0
- package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
- package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
- package/dist/compiled/chokidar/licenses-esm.txt +48 -0
- package/dist/compiled/chokidar/package.json +1 -1
- package/dist/compiled/chokidar/provenance.json +27 -0
- package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
- package/dist/compiled/commander/index.d.mts +1116 -0
- package/dist/compiled/commander/index.d.ts +1116 -0
- package/dist/compiled/commander/index.js +1738 -1499
- package/dist/compiled/commander/index.mjs +1778 -2
- package/dist/compiled/commander/licenses-cjs.txt +24 -0
- package/dist/compiled/commander/licenses-esm.txt +24 -0
- package/dist/compiled/commander/package.json +1 -1
- package/dist/compiled/commander/provenance.json +22 -0
- package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
- package/dist/compiled/debug/index.d.ts +79 -16
- package/dist/compiled/debug/index.js +172 -106
- package/dist/compiled/debug/licenses-cjs.txt +60 -0
- package/dist/compiled/debug/package.json +1 -1
- package/dist/compiled/debug/provenance.json +27 -0
- package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
- package/dist/compiled/dotenv-expand/index.d.ts +48 -10
- package/dist/compiled/dotenv-expand/index.js +65 -41
- package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
- package/dist/compiled/dotenv-expand/package.json +1 -1
- package/dist/compiled/dotenv-expand/provenance.json +22 -0
- package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
- package/dist/compiled/execa/index.d.mts +2451 -0
- package/dist/compiled/execa/index.d.ts +2301 -414
- package/dist/compiled/execa/index.js +6485 -1681
- package/dist/compiled/execa/index.mjs +6541 -0
- package/dist/compiled/execa/licenses-cjs.txt +443 -0
- package/dist/compiled/execa/licenses-esm.txt +443 -0
- package/dist/compiled/execa/package.json +1 -1
- package/dist/compiled/execa/provenance.json +19 -0
- package/dist/compiled/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/index.d.mts +98 -0
- package/dist/compiled/filesize/index.d.ts +98 -0
- package/dist/compiled/filesize/index.js +425 -185
- package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
- package/dist/compiled/filesize/index.mjs +450 -0
- package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
- package/dist/compiled/filesize/licenses-cjs.txt +29 -0
- package/dist/compiled/filesize/licenses-esm.txt +29 -0
- package/dist/compiled/filesize/package.json +1 -1
- package/dist/compiled/filesize/provenance.json +22 -0
- package/dist/compiled/fs-extra/LICENSE +15 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
- package/dist/compiled/fs-extra/index.d.ts +997 -496
- package/dist/compiled/fs-extra/index.js +1142 -1355
- package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
- package/dist/compiled/fs-extra/package.json +1 -1
- package/dist/compiled/fs-extra/provenance.json +27 -0
- package/dist/compiled/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
- package/dist/compiled/glob/index.d.mts +3823 -0
- package/dist/compiled/glob/index.d.ts +3823 -91
- package/dist/compiled/glob/index.js +3612 -1937
- package/dist/compiled/glob/index.mjs +3467 -0
- package/dist/compiled/glob/licenses-cjs.txt +65 -0
- package/dist/compiled/glob/licenses-esm.txt +65 -0
- package/dist/compiled/glob/package.json +1 -1
- package/dist/compiled/glob/provenance.json +42 -0
- package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
- package/dist/compiled/globby/index.d.mts +422 -0
- package/dist/compiled/globby/index.d.ts +364 -128
- package/dist/compiled/globby/index.js +4417 -521
- package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
- package/dist/compiled/globby/index.mjs +4572 -0
- package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
- package/dist/compiled/globby/license +1 -1
- package/dist/compiled/globby/licenses-cjs.txt +237 -0
- package/dist/compiled/globby/licenses-esm.txt +237 -0
- package/dist/compiled/globby/package.json +1 -1
- package/dist/compiled/globby/provenance.json +19 -0
- package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
- package/dist/compiled/gzip-size/index.d.mts +106 -0
- package/dist/compiled/gzip-size/index.d.ts +91 -81
- package/dist/compiled/gzip-size/index.js +117 -94
- package/dist/compiled/gzip-size/index.mjs +170 -0
- package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
- package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
- package/dist/compiled/gzip-size/package.json +1 -1
- package/dist/compiled/gzip-size/provenance.json +19 -0
- package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
- package/dist/compiled/import-lazy/index.d.ts +2 -2
- package/dist/compiled/import-lazy/index.js +18 -19
- package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
- package/dist/compiled/import-lazy/package.json +1 -1
- package/dist/compiled/import-lazy/provenance.json +19 -0
- package/dist/compiled/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/index.d.mts +790 -0
- package/dist/compiled/inquirer/index.d.ts +727 -934
- package/dist/compiled/inquirer/index.js +5975 -14467
- package/dist/compiled/inquirer/index.mjs +11624 -0
- package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
- package/dist/compiled/inquirer/licenses-esm.txt +619 -0
- package/dist/compiled/inquirer/package.json +1 -1
- package/dist/compiled/inquirer/provenance.json +92 -0
- package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
- package/dist/compiled/js-yaml/index.d.mts +1126 -0
- package/dist/compiled/js-yaml/index.d.ts +1114 -142
- package/dist/compiled/js-yaml/index.js +20 -21
- package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/index.mjs +5 -4
- package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
- package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
- package/dist/compiled/js-yaml/package.json +1 -1
- package/dist/compiled/js-yaml/provenance.json +19 -0
- package/dist/compiled/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/index.d.ts +103 -0
- package/dist/compiled/json5/index.js +11 -11
- package/dist/compiled/json5/licenses-cjs.txt +25 -0
- package/dist/compiled/json5/package.json +1 -1
- package/dist/compiled/json5/provenance.json +22 -0
- package/dist/compiled/lodash/add.d.ts +2 -0
- package/dist/compiled/lodash/after.d.ts +2 -0
- package/dist/compiled/lodash/ary.d.ts +2 -0
- package/dist/compiled/lodash/assign.d.ts +2 -0
- package/dist/compiled/lodash/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/at.d.ts +2 -0
- package/dist/compiled/lodash/attempt.d.ts +2 -0
- package/dist/compiled/lodash/before.d.ts +2 -0
- package/dist/compiled/lodash/bind.d.ts +2 -0
- package/dist/compiled/lodash/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/castArray.d.ts +2 -0
- package/dist/compiled/lodash/ceil.d.ts +2 -0
- package/dist/compiled/lodash/chain.d.ts +2 -0
- package/dist/compiled/lodash/chunk.d.ts +2 -0
- package/dist/compiled/lodash/clamp.d.ts +2 -0
- package/dist/compiled/lodash/clone.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/common/array.d.ts +56 -22
- package/dist/compiled/lodash/common/collection.d.ts +9 -1
- package/dist/compiled/lodash/common/common.d.ts +17 -10
- package/dist/compiled/lodash/common/function.d.ts +10 -1
- package/dist/compiled/lodash/common/lang.d.ts +8 -5
- package/dist/compiled/lodash/common/math.d.ts +3 -1
- package/dist/compiled/lodash/common/object.d.ts +141 -17
- package/dist/compiled/lodash/common/seq.d.ts +2 -2
- package/dist/compiled/lodash/common/string.d.ts +17 -17
- package/dist/compiled/lodash/compact.d.ts +2 -0
- package/dist/compiled/lodash/concat.d.ts +2 -0
- package/dist/compiled/lodash/cond.d.ts +2 -0
- package/dist/compiled/lodash/conforms.d.ts +2 -0
- package/dist/compiled/lodash/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/constant.d.ts +2 -0
- package/dist/compiled/lodash/countBy.d.ts +2 -0
- package/dist/compiled/lodash/create.d.ts +2 -0
- package/dist/compiled/lodash/curry.d.ts +2 -0
- package/dist/compiled/lodash/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/debounce.d.ts +2 -0
- package/dist/compiled/lodash/deburr.d.ts +2 -0
- package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
- package/dist/compiled/lodash/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/defaults.d.ts +2 -0
- package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/defer.d.ts +2 -0
- package/dist/compiled/lodash/delay.d.ts +2 -0
- package/dist/compiled/lodash/difference.d.ts +2 -0
- package/dist/compiled/lodash/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/divide.d.ts +2 -0
- package/dist/compiled/lodash/drop.d.ts +2 -0
- package/dist/compiled/lodash/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/each.d.ts +2 -0
- package/dist/compiled/lodash/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/entries.d.ts +2 -0
- package/dist/compiled/lodash/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/eq.d.ts +2 -0
- package/dist/compiled/lodash/escape.d.ts +2 -0
- package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/every.d.ts +2 -0
- package/dist/compiled/lodash/extend.d.ts +2 -0
- package/dist/compiled/lodash/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fill.d.ts +2 -0
- package/dist/compiled/lodash/filter.d.ts +2 -0
- package/dist/compiled/lodash/find.d.ts +2 -0
- package/dist/compiled/lodash/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/findKey.d.ts +2 -0
- package/dist/compiled/lodash/findLast.d.ts +2 -0
- package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/first.d.ts +2 -0
- package/dist/compiled/lodash/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/flatten.d.ts +2 -0
- package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/flip.d.ts +2 -0
- package/dist/compiled/lodash/floor.d.ts +2 -0
- package/dist/compiled/lodash/flow.d.ts +2 -0
- package/dist/compiled/lodash/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/forEach.d.ts +2 -0
- package/dist/compiled/lodash/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/forIn.d.ts +2 -0
- package/dist/compiled/lodash/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/F.d.ts +2 -0
- package/dist/compiled/lodash/fp/T.d.ts +2 -0
- package/dist/compiled/lodash/fp/__.d.ts +3 -0
- package/dist/compiled/lodash/fp/add.d.ts +2 -0
- package/dist/compiled/lodash/fp/after.d.ts +2 -0
- package/dist/compiled/lodash/fp/all.d.ts +2 -0
- package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/always.d.ts +2 -0
- package/dist/compiled/lodash/fp/any.d.ts +2 -0
- package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/apply.d.ts +2 -0
- package/dist/compiled/lodash/fp/ary.d.ts +2 -0
- package/dist/compiled/lodash/fp/assign.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/at.d.ts +2 -0
- package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
- package/dist/compiled/lodash/fp/before.d.ts +2 -0
- package/dist/compiled/lodash/fp/bind.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
- package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
- package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
- package/dist/compiled/lodash/fp/clone.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/compact.d.ts +2 -0
- package/dist/compiled/lodash/fp/complement.d.ts +2 -0
- package/dist/compiled/lodash/fp/compose.d.ts +2 -0
- package/dist/compiled/lodash/fp/concat.d.ts +2 -0
- package/dist/compiled/lodash/fp/cond.d.ts +2 -0
- package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
- package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/constant.d.ts +2 -0
- package/dist/compiled/lodash/fp/contains.d.ts +2 -0
- package/dist/compiled/lodash/fp/convert.d.ts +15 -0
- package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/create.d.ts +2 -0
- package/dist/compiled/lodash/fp/curry.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
- package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
- package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defer.d.ts +2 -0
- package/dist/compiled/lodash/fp/delay.d.ts +2 -0
- package/dist/compiled/lodash/fp/difference.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/divide.d.ts +2 -0
- package/dist/compiled/lodash/fp/drop.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/each.d.ts +2 -0
- package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/entries.d.ts +2 -0
- package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/eq.d.ts +2 -0
- package/dist/compiled/lodash/fp/equals.d.ts +2 -0
- package/dist/compiled/lodash/fp/escape.d.ts +2 -0
- package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/every.d.ts +2 -0
- package/dist/compiled/lodash/fp/extend.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/fill.d.ts +2 -0
- package/dist/compiled/lodash/fp/filter.d.ts +2 -0
- package/dist/compiled/lodash/fp/find.d.ts +2 -0
- package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/first.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flip.d.ts +2 -0
- package/dist/compiled/lodash/fp/floor.d.ts +2 -0
- package/dist/compiled/lodash/fp/flow.d.ts +2 -0
- package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/functions.d.ts +2 -0
- package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/get.d.ts +2 -0
- package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/gt.d.ts +2 -0
- package/dist/compiled/lodash/fp/gte.d.ts +2 -0
- package/dist/compiled/lodash/fp/has.d.ts +2 -0
- package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/head.d.ts +2 -0
- package/dist/compiled/lodash/fp/identical.d.ts +2 -0
- package/dist/compiled/lodash/fp/identity.d.ts +2 -0
- package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
- package/dist/compiled/lodash/fp/includes.d.ts +2 -0
- package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/init.d.ts +2 -0
- package/dist/compiled/lodash/fp/initial.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/invert.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
- package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isError.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/isString.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/fp/join.d.ts +2 -0
- package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
- package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/keys.d.ts +2 -0
- package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/last.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/lt.d.ts +2 -0
- package/dist/compiled/lodash/fp/lte.d.ts +2 -0
- package/dist/compiled/lodash/fp/map.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/fp/matches.d.ts +2 -0
- package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/fp/max.d.ts +2 -0
- package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/mean.d.ts +2 -0
- package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
- package/dist/compiled/lodash/fp/merge.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/method.d.ts +2 -0
- package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/min.d.ts +2 -0
- package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
- package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
- package/dist/compiled/lodash/fp/negate.d.ts +2 -0
- package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/fp/noop.d.ts +2 -0
- package/dist/compiled/lodash/fp/now.d.ts +2 -0
- package/dist/compiled/lodash/fp/nth.d.ts +2 -0
- package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/fp/omit.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/once.d.ts +2 -0
- package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/over.d.ts +2 -0
- package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
- package/dist/compiled/lodash/fp/pad.d.ts +2 -0
- package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/fp/partial.d.ts +2 -0
- package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/partition.d.ts +2 -0
- package/dist/compiled/lodash/fp/path.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/paths.d.ts +2 -0
- package/dist/compiled/lodash/fp/pick.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
- package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
- package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
- package/dist/compiled/lodash/fp/prop.d.ts +2 -0
- package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/property.d.ts +2 -0
- package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/props.d.ts +2 -0
- package/dist/compiled/lodash/fp/pull.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/fp/random.d.ts +2 -0
- package/dist/compiled/lodash/fp/range.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/reject.d.ts +2 -0
- package/dist/compiled/lodash/fp/remove.d.ts +2 -0
- package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
- package/dist/compiled/lodash/fp/replace.d.ts +2 -0
- package/dist/compiled/lodash/fp/rest.d.ts +2 -0
- package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/result.d.ts +2 -0
- package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
- package/dist/compiled/lodash/fp/round.d.ts +2 -0
- package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/fp/sample.d.ts +2 -0
- package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/fp/set.d.ts +2 -0
- package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/fp/size.d.ts +2 -0
- package/dist/compiled/lodash/fp/slice.d.ts +2 -0
- package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/some.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/split.d.ts +2 -0
- package/dist/compiled/lodash/fp/spread.d.ts +2 -0
- package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
- package/dist/compiled/lodash/fp/sum.d.ts +2 -0
- package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/tail.d.ts +2 -0
- package/dist/compiled/lodash/fp/take.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/tap.d.ts +2 -0
- package/dist/compiled/lodash/fp/template.d.ts +2 -0
- package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
- package/dist/compiled/lodash/fp/thru.d.ts +2 -0
- package/dist/compiled/lodash/fp/times.d.ts +2 -0
- package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
- package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toString.d.ts +2 -0
- package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/fp/transform.d.ts +2 -0
- package/dist/compiled/lodash/fp/trim.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
- package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
- package/dist/compiled/lodash/fp/unary.d.ts +2 -0
- package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
- package/dist/compiled/lodash/fp/union.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
- package/dist/compiled/lodash/fp/unset.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/update.d.ts +2 -0
- package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/values.d.ts +2 -0
- package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/where.d.ts +2 -0
- package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/without.d.ts +2 -0
- package/dist/compiled/lodash/fp/words.d.ts +2 -0
- package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
- package/dist/compiled/lodash/fp/xor.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/zip.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp.d.ts +4962 -0
- package/dist/compiled/lodash/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/functions.d.ts +2 -0
- package/dist/compiled/lodash/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/get.d.ts +2 -0
- package/dist/compiled/lodash/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/gt.d.ts +2 -0
- package/dist/compiled/lodash/gte.d.ts +2 -0
- package/dist/compiled/lodash/has.d.ts +2 -0
- package/dist/compiled/lodash/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/head.d.ts +2 -0
- package/dist/compiled/lodash/identity.d.ts +2 -0
- package/dist/compiled/lodash/inRange.d.ts +2 -0
- package/dist/compiled/lodash/includes.d.ts +2 -0
- package/dist/compiled/lodash/index.d.ts +1 -16
- package/dist/compiled/lodash/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/initial.d.ts +2 -0
- package/dist/compiled/lodash/intersection.d.ts +2 -0
- package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/invert.d.ts +2 -0
- package/dist/compiled/lodash/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/invoke.d.ts +2 -0
- package/dist/compiled/lodash/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/isArray.d.ts +2 -0
- package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isDate.d.ts +2 -0
- package/dist/compiled/lodash/isElement.d.ts +2 -0
- package/dist/compiled/lodash/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/isError.d.ts +2 -0
- package/dist/compiled/lodash/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/isLength.d.ts +2 -0
- package/dist/compiled/lodash/isMap.d.ts +2 -0
- package/dist/compiled/lodash/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/isNative.d.ts +2 -0
- package/dist/compiled/lodash/isNil.d.ts +2 -0
- package/dist/compiled/lodash/isNull.d.ts +2 -0
- package/dist/compiled/lodash/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/isObject.d.ts +2 -0
- package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/isSet.d.ts +2 -0
- package/dist/compiled/lodash/isString.d.ts +2 -0
- package/dist/compiled/lodash/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/join.d.ts +2 -0
- package/dist/compiled/lodash/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/keys.d.ts +2 -0
- package/dist/compiled/lodash/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/last.d.ts +2 -0
- package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/licenses-cjs.txt +49 -0
- package/dist/compiled/lodash/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/lt.d.ts +2 -0
- package/dist/compiled/lodash/lte.d.ts +2 -0
- package/dist/compiled/lodash/map.d.ts +2 -0
- package/dist/compiled/lodash/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/matches.d.ts +2 -0
- package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/max.d.ts +2 -0
- package/dist/compiled/lodash/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/mean.d.ts +2 -0
- package/dist/compiled/lodash/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/memoize.d.ts +2 -0
- package/dist/compiled/lodash/merge.d.ts +2 -0
- package/dist/compiled/lodash/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/method.d.ts +2 -0
- package/dist/compiled/lodash/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/min.d.ts +2 -0
- package/dist/compiled/lodash/minBy.d.ts +2 -0
- package/dist/compiled/lodash/mixin.d.ts +2 -0
- package/dist/compiled/lodash/multiply.d.ts +2 -0
- package/dist/compiled/lodash/negate.d.ts +2 -0
- package/dist/compiled/lodash/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/noop.d.ts +2 -0
- package/dist/compiled/lodash/now.d.ts +2 -0
- package/dist/compiled/lodash/nth.d.ts +2 -0
- package/dist/compiled/lodash/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/omit.d.ts +2 -0
- package/dist/compiled/lodash/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/once.d.ts +2 -0
- package/dist/compiled/lodash/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/over.d.ts +2 -0
- package/dist/compiled/lodash/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/overSome.d.ts +2 -0
- package/dist/compiled/lodash/package.json +1 -1
- package/dist/compiled/lodash/pad.d.ts +2 -0
- package/dist/compiled/lodash/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/padStart.d.ts +2 -0
- package/dist/compiled/lodash/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/partial.d.ts +2 -0
- package/dist/compiled/lodash/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/partition.d.ts +2 -0
- package/dist/compiled/lodash/pick.d.ts +2 -0
- package/dist/compiled/lodash/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/property.d.ts +2 -0
- package/dist/compiled/lodash/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/provenance.json +19 -0
- package/dist/compiled/lodash/pull.d.ts +2 -0
- package/dist/compiled/lodash/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/random.d.ts +2 -0
- package/dist/compiled/lodash/range.d.ts +2 -0
- package/dist/compiled/lodash/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/rearg.d.ts +2 -0
- package/dist/compiled/lodash/reduce.d.ts +2 -0
- package/dist/compiled/lodash/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/reject.d.ts +2 -0
- package/dist/compiled/lodash/remove.d.ts +2 -0
- package/dist/compiled/lodash/repeat.d.ts +2 -0
- package/dist/compiled/lodash/replace.d.ts +2 -0
- package/dist/compiled/lodash/rest.d.ts +2 -0
- package/dist/compiled/lodash/result.d.ts +2 -0
- package/dist/compiled/lodash/reverse.d.ts +2 -0
- package/dist/compiled/lodash/round.d.ts +2 -0
- package/dist/compiled/lodash/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/sample.d.ts +2 -0
- package/dist/compiled/lodash/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/set.d.ts +2 -0
- package/dist/compiled/lodash/setWith.d.ts +2 -0
- package/dist/compiled/lodash/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/size.d.ts +2 -0
- package/dist/compiled/lodash/slice.d.ts +2 -0
- package/dist/compiled/lodash/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/some.d.ts +2 -0
- package/dist/compiled/lodash/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/split.d.ts +2 -0
- package/dist/compiled/lodash/spread.d.ts +2 -0
- package/dist/compiled/lodash/startCase.d.ts +2 -0
- package/dist/compiled/lodash/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/stubString.d.ts +2 -0
- package/dist/compiled/lodash/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/subtract.d.ts +2 -0
- package/dist/compiled/lodash/sum.d.ts +2 -0
- package/dist/compiled/lodash/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/tail.d.ts +2 -0
- package/dist/compiled/lodash/take.d.ts +2 -0
- package/dist/compiled/lodash/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/tap.d.ts +2 -0
- package/dist/compiled/lodash/template.d.ts +2 -0
- package/dist/compiled/lodash/throttle.d.ts +2 -0
- package/dist/compiled/lodash/thru.d.ts +2 -0
- package/dist/compiled/lodash/times.d.ts +2 -0
- package/dist/compiled/lodash/toArray.d.ts +2 -0
- package/dist/compiled/lodash/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/toLength.d.ts +2 -0
- package/dist/compiled/lodash/toLower.d.ts +2 -0
- package/dist/compiled/lodash/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/toPath.d.ts +2 -0
- package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/toString.d.ts +2 -0
- package/dist/compiled/lodash/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/transform.d.ts +2 -0
- package/dist/compiled/lodash/trim.d.ts +2 -0
- package/dist/compiled/lodash/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/truncate.d.ts +2 -0
- package/dist/compiled/lodash/unary.d.ts +2 -0
- package/dist/compiled/lodash/unescape.d.ts +2 -0
- package/dist/compiled/lodash/union.d.ts +2 -0
- package/dist/compiled/lodash/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/uniq.d.ts +2 -0
- package/dist/compiled/lodash/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/unset.d.ts +2 -0
- package/dist/compiled/lodash/unzip.d.ts +2 -0
- package/dist/compiled/lodash/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/update.d.ts +2 -0
- package/dist/compiled/lodash/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/values.d.ts +2 -0
- package/dist/compiled/lodash/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/without.d.ts +2 -0
- package/dist/compiled/lodash/words.d.ts +2 -0
- package/dist/compiled/lodash/wrap.d.ts +2 -0
- package/dist/compiled/lodash/xor.d.ts +2 -0
- package/dist/compiled/lodash/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/zip.d.ts +2 -0
- package/dist/compiled/lodash/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/zipWith.d.ts +2 -0
- package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
- package/dist/compiled/mime-types/index.d.ts +15 -12
- package/dist/compiled/mime-types/index.js +74 -28
- package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
- package/dist/compiled/mime-types/package.json +1 -1
- package/dist/compiled/mime-types/provenance.json +19 -0
- package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
- package/dist/compiled/minimist/index.d.ts +3 -11
- package/dist/compiled/minimist/index.js +103 -104
- package/dist/compiled/minimist/licenses-cjs.txt +20 -0
- package/dist/compiled/minimist/package.json +1 -1
- package/dist/compiled/minimist/provenance.json +22 -0
- package/dist/compiled/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/index.d.mts +108 -0
- package/dist/compiled/nanoid/index.d.ts +31 -14
- package/dist/compiled/nanoid/index.js +117 -74
- package/dist/compiled/nanoid/index.mjs +98 -48
- package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
- package/dist/compiled/nanoid/licenses-esm.txt +22 -0
- package/dist/compiled/nanoid/package.json +1 -1
- package/dist/compiled/nanoid/provenance.json +19 -0
- package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
- package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
- package/dist/compiled/ora/index.d.mts +501 -0
- package/dist/compiled/ora/index.d.ts +428 -204
- package/dist/compiled/ora/index.js +2121 -3893
- package/dist/compiled/ora/index.mjs +2155 -0
- package/dist/compiled/ora/licenses-cjs.txt +226 -0
- package/dist/compiled/ora/licenses-esm.txt +226 -0
- package/dist/compiled/ora/package.json +1 -1
- package/dist/compiled/ora/provenance.json +24 -0
- package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
- package/dist/compiled/pkg-up/index.d.ts +9 -9
- package/dist/compiled/pkg-up/index.js +47 -14
- package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
- package/dist/compiled/pkg-up/package.json +1 -1
- package/dist/compiled/pkg-up/provenance.json +18 -0
- package/dist/compiled/semver/classes/comparator.d.ts +3 -3
- package/dist/compiled/semver/classes/range.d.ts +6 -6
- package/dist/compiled/semver/classes/semver.d.ts +11 -4
- package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
- package/dist/compiled/semver/functions/clean.d.ts +1 -1
- package/dist/compiled/semver/functions/cmp.d.ts +2 -2
- package/dist/compiled/semver/functions/coerce.d.ts +2 -2
- package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
- package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
- package/dist/compiled/semver/functions/compare.d.ts +2 -2
- package/dist/compiled/semver/functions/diff.d.ts +3 -7
- package/dist/compiled/semver/functions/eq.d.ts +2 -2
- package/dist/compiled/semver/functions/gt.d.ts +2 -2
- package/dist/compiled/semver/functions/gte.d.ts +2 -2
- package/dist/compiled/semver/functions/inc.d.ts +15 -4
- package/dist/compiled/semver/functions/lt.d.ts +2 -2
- package/dist/compiled/semver/functions/lte.d.ts +2 -2
- package/dist/compiled/semver/functions/major.d.ts +2 -2
- package/dist/compiled/semver/functions/minor.d.ts +2 -2
- package/dist/compiled/semver/functions/neq.d.ts +2 -2
- package/dist/compiled/semver/functions/parse.d.ts +15 -4
- package/dist/compiled/semver/functions/patch.d.ts +2 -2
- package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
- package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
- package/dist/compiled/semver/functions/rsort.d.ts +2 -2
- package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
- package/dist/compiled/semver/functions/sort.d.ts +2 -2
- package/dist/compiled/semver/functions/truncate.d.ts +10 -0
- package/dist/compiled/semver/functions/valid.d.ts +2 -2
- package/dist/compiled/semver/index.d.ts +82 -77
- package/dist/compiled/semver/index.js +639 -1026
- package/dist/compiled/semver/licenses-cjs.txt +17 -0
- package/dist/compiled/semver/package.json +1 -1
- package/dist/compiled/semver/preload.d.ts +2 -0
- package/dist/compiled/semver/provenance.json +22 -0
- package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
- package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
- package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
- package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
- package/dist/compiled/semver/ranges/outside.d.ts +5 -5
- package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
- package/dist/compiled/semver/ranges/subset.d.ts +3 -7
- package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
- package/dist/compiled/semver/ranges/valid.d.ts +3 -3
- package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
- package/dist/compiled/signale/index.d.ts +22 -29
- package/dist/compiled/signale/index.js +2934 -613
- package/dist/compiled/signale/license.md +21 -0
- package/dist/compiled/signale/licenses-cjs.txt +468 -0
- package/dist/compiled/signale/package.json +1 -1
- package/dist/compiled/signale/provenance.json +19 -0
- package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
- package/dist/compiled/slash/index.d.mts +25 -0
- package/dist/compiled/slash/index.d.ts +4 -4
- package/dist/compiled/slash/index.js +31 -27
- package/dist/compiled/slash/index.mjs +25 -0
- package/dist/compiled/slash/license +1 -1
- package/dist/compiled/slash/licenses-cjs.txt +11 -0
- package/dist/compiled/slash/licenses-esm.txt +11 -0
- package/dist/compiled/slash/package.json +1 -1
- package/dist/compiled/slash/provenance.json +19 -0
- package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
- package/dist/compiled/strip-ansi/index.d.mts +17 -0
- package/dist/compiled/strip-ansi/index.d.ts +2 -2
- package/dist/compiled/strip-ansi/index.js +39 -29
- package/dist/compiled/strip-ansi/index.mjs +33 -0
- package/dist/compiled/strip-ansi/license +1 -1
- package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
- package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
- package/dist/compiled/strip-ansi/package.json +1 -1
- package/dist/compiled/strip-ansi/provenance.json +19 -0
- package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
- package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
- package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
- package/dist/compiled/tsconfig-paths/index.js +256 -243
- package/dist/compiled/tsconfig-paths/index.mjs +2 -2
- package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
- package/dist/compiled/tsconfig-paths/package.json +1 -1
- package/dist/compiled/tsconfig-paths/provenance.json +19 -0
- package/dist/compiled/upath/LICENSE +22 -0
- package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
- package/dist/compiled/upath/index.d.mts +84 -0
- package/dist/compiled/upath/index.d.ts +84 -0
- package/dist/compiled/upath/index.js +173 -110
- package/dist/compiled/upath/index.mjs +236 -0
- package/dist/compiled/upath/licenses-cjs.txt +24 -0
- package/dist/compiled/upath/licenses-esm.txt +24 -0
- package/dist/compiled/upath/package.json +1 -1
- package/dist/compiled/upath/provenance.json +22 -0
- package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
- package/dist/compiled/url-join/index.d.mts +9 -0
- package/dist/compiled/url-join/index.d.ts +3 -11
- package/dist/compiled/url-join/index.js +55 -55
- package/dist/compiled/url-join/index.mjs +50 -0
- package/dist/compiled/url-join/licenses-cjs.txt +23 -0
- package/dist/compiled/url-join/licenses-esm.txt +23 -0
- package/dist/compiled/url-join/package.json +1 -1
- package/dist/compiled/url-join/provenance.json +22 -0
- package/dist/esm/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm/cli/get/config.mjs +1 -1
- package/dist/esm/cli/is/config.mjs +1 -1
- package/dist/esm/cli/require.mjs +4 -5
- package/dist/esm/compiled.mjs +22 -31
- package/dist/esm/fast-glob.mjs +1 -0
- package/dist/esm/watch-options.mjs +0 -0
- package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm-node/cli/get/config.mjs +1 -1
- package/dist/esm-node/cli/is/config.mjs +1 -1
- package/dist/esm-node/cli/require.mjs +4 -5
- package/dist/esm-node/compiled.mjs +22 -30
- package/dist/esm-node/fast-glob.mjs +2 -0
- package/dist/esm-node/watch-options.mjs +1 -0
- package/dist/types/cli/commands.d.ts +1 -1
- package/dist/types/cli/modulePath.d.ts +1 -1
- package/dist/types/cli/require.d.ts +0 -1
- package/dist/types/compiled.d.ts +30 -29
- package/dist/types/fast-glob.d.ts +1 -0
- package/dist/types/watch-options.d.ts +1 -0
- package/package.json +100 -36
- package/rslib.config.mts +20 -84
- package/dist/compiled/address/lib/address.d.ts +0 -28
- package/dist/compiled/browserslist/license +0 -20
- package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/compiled/chokidar/fsevents.node +0 -0
- package/dist/compiled/chokidar/license +0 -21
- package/dist/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/compiled/commander/typings/index.d.ts +0 -890
- package/dist/compiled/debug/ms/index.d.ts +0 -25
- package/dist/compiled/dotenv/index.js +0 -101
- package/dist/compiled/dotenv/license +0 -23
- package/dist/compiled/dotenv/package.json +0 -1
- package/dist/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/compiled/fast-glob/index.js +0 -4665
- package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
- package/dist/compiled/fast-glob/license +0 -21
- package/dist/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/compiled/fast-glob/package.json +0 -1
- package/dist/compiled/filesize/filesize.d.ts +0 -131
- package/dist/compiled/filesize/license +0 -28
- package/dist/compiled/fs-extra/license +0 -15
- package/dist/compiled/glob/license +0 -21
- package/dist/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
- package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
- package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
- package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
- package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
- package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
- package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
- package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
- package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
- package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
- package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
- package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
- package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
- package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
- package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
- package/dist/compiled/inquirer/license +0 -22
- package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
- package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
- package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
- package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
- package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
- package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
- package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
- package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
- package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
- package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
- package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
- package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
- package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
- package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
- package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
- package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
- package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
- package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
- package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
- package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
- package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
- package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
- package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
- package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
- package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
- package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
- package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
- package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
- package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
- package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
- package/dist/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/compiled/json5/lib/index.d.ts +0 -4
- package/dist/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/compiled/nanoid/license +0 -20
- package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
- package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/compiled/upath/license +0 -22
- package/dist/compiled/upath/upath.d.ts +0 -241
- package/dist/compiled/webpack-chain/index.js +0 -1475
- package/dist/compiled/webpack-chain/license +0 -373
- package/dist/compiled/webpack-chain/package.json +0 -1
- package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
- package/dist/esm/rslib-runtime~1.mjs +0 -12
- /package/dist/compiled/commander/{license → LICENSE} +0 -0
- /package/dist/compiled/debug/{license → LICENSE} +0 -0
- /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
- /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
- /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
- /package/dist/compiled/lodash/{license → LICENSE} +0 -0
- /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
- /package/dist/compiled/minimist/{license → LICENSE} +0 -0
- /package/dist/compiled/semver/{license → LICENSE} +0 -0
- /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
- /package/dist/compiled/url-join/{license → LICENSE} +0 -0
|
@@ -1,997 +1,790 @@
|
|
|
1
|
-
|
|
2
|
-
// Project: https://github.com/SBoudrias/Inquirer.js
|
|
3
|
-
// Definitions by: Qubo <https://github.com/tkQubo>
|
|
4
|
-
// Parvez <https://github.com/ppathan>
|
|
5
|
-
// Jouderian <https://github.com/jouderianjr>
|
|
6
|
-
// Qibang <https://github.com/bang88>
|
|
7
|
-
// Jason Dreyzehner <https://github.com/bitjson>
|
|
8
|
-
// Synarque <https://github.com/synarque>
|
|
9
|
-
// Justin Rockwood <https://github.com/jrockwood>
|
|
10
|
-
// Keith Kelly <https://github.com/kwkelly>
|
|
11
|
-
// Richard Lea <https://github.com/chigix>
|
|
12
|
-
// Jed Mao <https://github.com/jedmao>
|
|
13
|
-
// Manuel Thalmann <https://github.com/manuth>
|
|
14
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
15
|
-
// TypeScript Version: 4.2
|
|
16
|
-
import { Interface as ReadlineInterface } from 'readline';
|
|
17
|
-
import { Observable } from './rxjs';
|
|
18
|
-
import Choice = require('./lib/objects/choice');
|
|
19
|
-
import Choices = require('./lib/objects/choices');
|
|
20
|
-
import Separator = require('./lib/objects/separator');
|
|
21
|
-
import './lib/prompts/base';
|
|
22
|
-
import './lib/prompts/checkbox';
|
|
23
|
-
import './lib/prompts/confirm';
|
|
24
|
-
import './lib/prompts/editor';
|
|
25
|
-
import './lib/prompts/expand';
|
|
26
|
-
import './lib/prompts/input';
|
|
27
|
-
import './lib/prompts/list';
|
|
28
|
-
import './lib/prompts/number';
|
|
29
|
-
import './lib/prompts/password';
|
|
30
|
-
import './lib/prompts/rawlist';
|
|
31
|
-
import './lib/utils/events';
|
|
32
|
-
import './lib/utils/paginator';
|
|
33
|
-
import './lib/utils/readline';
|
|
34
|
-
import './lib/utils/screen-manager';
|
|
35
|
-
import './lib/utils/utils';
|
|
36
|
-
import BottomBar = require('./lib/ui/bottom-bar');
|
|
37
|
-
import PromptUI = require('./lib/ui/prompt');
|
|
1
|
+
import { Duplex } from 'node:stream';
|
|
38
2
|
|
|
39
3
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* The
|
|
44
|
-
*
|
|
45
|
-
* @template F
|
|
46
|
-
* The fallback-type.
|
|
4
|
+
* `InquirerReadline` is a re-implementation of `readline.Interface` from Node.js.
|
|
5
|
+
* We're reimplementing it because of 3 reasons:
|
|
6
|
+
* 1. The `readline.Interface` API is not complete; it's missing for example `clearLine`.
|
|
7
|
+
* 2. The input/output streams are not generics, meaning they're inexact.
|
|
8
|
+
* 3. Since ReadLine isn't built-in Typescript Global NodeJS type, it'd force us to ship `@types/node` as a dependency to all users.
|
|
47
9
|
*/
|
|
48
|
-
type
|
|
10
|
+
type InquirerReadline = {
|
|
11
|
+
output: Duplex & {
|
|
12
|
+
mute: () => void;
|
|
13
|
+
unmute: () => void;
|
|
14
|
+
};
|
|
15
|
+
input: NodeJS.ReadableStream;
|
|
16
|
+
clearLine: (dir: 0 | 1 | -1) => void;
|
|
17
|
+
getCursorPos: () => {
|
|
18
|
+
rows: number;
|
|
19
|
+
cols: number;
|
|
20
|
+
};
|
|
21
|
+
setPrompt: (prompt: string) => void;
|
|
22
|
+
line: string;
|
|
23
|
+
write: (data: string) => void;
|
|
24
|
+
on: (event: string, listener: (...args: unknown[]) => void) => void;
|
|
25
|
+
removeListener: (event: string, listener: (...args: unknown[]) => void) => void;
|
|
26
|
+
pause: () => void;
|
|
27
|
+
resume: () => void;
|
|
28
|
+
close: () => void;
|
|
29
|
+
};
|
|
30
|
+
type Context = {
|
|
31
|
+
input?: NodeJS.ReadableStream;
|
|
32
|
+
output?: NodeJS.WritableStream;
|
|
33
|
+
clearPromptOnDone?: boolean;
|
|
34
|
+
signal?: AbortSignal;
|
|
35
|
+
};
|
|
36
|
+
type Prompt<Value, Config> = (config: Config, context?: Context) => Promise<Value>;
|
|
49
37
|
|
|
50
38
|
/**
|
|
51
|
-
*
|
|
39
|
+
* Recursively expand intersections and mapped types for better IDE display,
|
|
40
|
+
* while preserving functions, arrays, primitives, and types with a string
|
|
41
|
+
* index signature (e.g. `Record<string, ...>`) as-is.
|
|
52
42
|
*/
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
* @param prompt
|
|
61
|
-
* The constructor of the prompt.
|
|
62
|
-
*/
|
|
63
|
-
registerPrompt(name: string, prompt: inquirer.prompts.PromptConstructor): void;
|
|
43
|
+
type Prettify<T> = T extends (...args: never[]) => unknown ? T : T extends ReadonlyArray<unknown> ? T : T extends string | number | boolean | symbol | bigint | null | undefined ? T : T extends object ? string extends keyof T ? T : {
|
|
44
|
+
[K in keyof T]: Prettify<T[K]>;
|
|
45
|
+
} & {} : T;
|
|
46
|
+
type PartialDeep<T> = T extends object ? {
|
|
47
|
+
[P in keyof T]?: PartialDeep<T[P]>;
|
|
48
|
+
} : T;
|
|
49
|
+
type DistributiveMerge<A, B> = A extends any ? Prettify<Omit<A, keyof B> & B> : never;
|
|
64
50
|
|
|
65
|
-
|
|
66
|
-
* Registers the default prompts.
|
|
67
|
-
*/
|
|
68
|
-
restoreDefaultPrompts(): void;
|
|
69
|
-
}
|
|
51
|
+
type Keybinding = 'emacs' | 'vim';
|
|
70
52
|
|
|
71
53
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @template T
|
|
75
|
-
* The type of the answers.
|
|
54
|
+
* Union type representing the possible statuses of a prompt.
|
|
76
55
|
*
|
|
77
|
-
*
|
|
78
|
-
* The
|
|
56
|
+
* - `'loading'`: The prompt is currently loading.
|
|
57
|
+
* - `'idle'`: The prompt is loaded and currently waiting for the user to
|
|
58
|
+
* submit an answer.
|
|
59
|
+
* - `'done'`: The user has submitted an answer and the prompt is finished.
|
|
60
|
+
* - `string`: Any other string: The prompt is in a custom state.
|
|
79
61
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
* The choices of the prompt.
|
|
83
|
-
*/
|
|
84
|
-
choices?: inquirer.AsyncDynamicQuestionProperty<ReadonlyArray<inquirer.DistinctChoice<TChoiceMap>>, T> | undefined;
|
|
85
|
-
|
|
62
|
+
type Status = 'loading' | 'idle' | 'done' | (string & {});
|
|
63
|
+
type DefaultTheme = {
|
|
86
64
|
/**
|
|
87
|
-
*
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Provides components for the module.
|
|
94
|
-
*/
|
|
95
|
-
declare namespace inquirer {
|
|
96
|
-
/**
|
|
97
|
-
* Represents either a key of `T` or a `string`.
|
|
65
|
+
* Prefix to prepend to the message. If a function is provided, it will be
|
|
66
|
+
* called with the current status of the prompt, and the return value will be
|
|
67
|
+
* used as the prefix.
|
|
98
68
|
*
|
|
99
|
-
* @
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
type KeyUnion<T> = LiteralUnion<Extract<keyof T, string>>;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Converts the specified union-type `U` to an intersection-type.
|
|
69
|
+
* @remarks
|
|
70
|
+
* If `status === 'loading'`, this property is ignored and the spinner (styled
|
|
71
|
+
* by the `spinner` property) will be displayed instead.
|
|
106
72
|
*
|
|
107
|
-
* @
|
|
108
|
-
*
|
|
73
|
+
* @defaultValue
|
|
74
|
+
* ```ts
|
|
75
|
+
* // import { styleText } from 'node:util';
|
|
76
|
+
* (status) => status === 'done' ? styleText('green', '✔') : styleText('blue', '?')
|
|
77
|
+
* ```
|
|
109
78
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
79
|
+
prefix: string | Prettify<Omit<Record<Status, string>, 'loading'>>;
|
|
112
80
|
/**
|
|
113
|
-
*
|
|
81
|
+
* Configuration for the spinner that is displayed when the prompt is in the
|
|
82
|
+
* `'loading'` state.
|
|
83
|
+
*
|
|
84
|
+
* We recommend the use of {@link https://github.com/sindresorhus/cli-spinners|cli-spinners} for a list of available spinners.
|
|
114
85
|
*/
|
|
115
|
-
|
|
86
|
+
spinner: {
|
|
116
87
|
/**
|
|
117
|
-
*
|
|
88
|
+
* The time interval between frames, in milliseconds.
|
|
89
|
+
*
|
|
90
|
+
* @defaultValue
|
|
91
|
+
* ```ts
|
|
92
|
+
* 80
|
|
93
|
+
* ```
|
|
118
94
|
*/
|
|
119
|
-
|
|
120
|
-
|
|
95
|
+
interval: number;
|
|
121
96
|
/**
|
|
122
|
-
* A
|
|
97
|
+
* A list of frames to show for the spinner.
|
|
98
|
+
*
|
|
99
|
+
* @defaultValue
|
|
100
|
+
* ```ts
|
|
101
|
+
* ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
|
|
102
|
+
* ```
|
|
123
103
|
*/
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
104
|
+
frames: string[];
|
|
105
|
+
};
|
|
127
106
|
/**
|
|
128
|
-
*
|
|
107
|
+
* Alternative keybindings enabled for prompt navigation.
|
|
108
|
+
*
|
|
109
|
+
* @defaultValue
|
|
110
|
+
* ```ts
|
|
111
|
+
* process.env['INQUIRER_KEYBINDINGS']
|
|
112
|
+
* ```
|
|
129
113
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Prompts the questions to the user.
|
|
138
|
-
*/
|
|
139
|
-
<T extends Answers = Answers>(questions: QuestionCollection<T>, initialAnswers?: Partial<T>): Promise<T> & { ui: PromptUI<T> };
|
|
140
|
-
|
|
114
|
+
keybindings: ReadonlyArray<Keybinding>;
|
|
115
|
+
/**
|
|
116
|
+
* Object containing functions to style different parts of the prompt.
|
|
117
|
+
*/
|
|
118
|
+
style: {
|
|
141
119
|
/**
|
|
142
|
-
*
|
|
120
|
+
* Style to apply to the user's answer once it has been submitted.
|
|
143
121
|
*
|
|
144
|
-
* @param
|
|
145
|
-
* The
|
|
122
|
+
* @param text - The user's answer.
|
|
123
|
+
* @returns The styled answer.
|
|
146
124
|
*
|
|
147
|
-
* @
|
|
148
|
-
*
|
|
125
|
+
* @defaultValue
|
|
126
|
+
* ```ts
|
|
127
|
+
* // import { styleText } from 'node:util';
|
|
128
|
+
* (text) => styleText('cyan', text)
|
|
129
|
+
* ```
|
|
149
130
|
*/
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
interface Inquirer extends PromptModuleBase {
|
|
131
|
+
answer: (text: string) => string;
|
|
154
132
|
/**
|
|
155
|
-
*
|
|
133
|
+
* Style to apply to the message displayed to the user.
|
|
156
134
|
*
|
|
157
|
-
* @param
|
|
158
|
-
* The
|
|
135
|
+
* @param text - The message to style.
|
|
136
|
+
* @param status - The current status of the prompt.
|
|
137
|
+
* @returns The styled message.
|
|
159
138
|
*
|
|
160
|
-
* @
|
|
161
|
-
*
|
|
139
|
+
* @defaultValue
|
|
140
|
+
* ```ts
|
|
141
|
+
* // import { styleText } from 'node:util';
|
|
142
|
+
* (text, status) => styleText('bold', text)
|
|
143
|
+
* ```
|
|
162
144
|
*/
|
|
163
|
-
|
|
164
|
-
|
|
145
|
+
message: (text: string, status: Status) => string;
|
|
165
146
|
/**
|
|
166
|
-
*
|
|
147
|
+
* Style to apply to error messages.
|
|
167
148
|
*
|
|
168
|
-
* @param
|
|
169
|
-
* The
|
|
149
|
+
* @param text - The error message.
|
|
150
|
+
* @returns The styled error message.
|
|
170
151
|
*
|
|
171
|
-
* @
|
|
172
|
-
*
|
|
152
|
+
* @defaultValue
|
|
153
|
+
* ```ts
|
|
154
|
+
* // import { styleText } from 'node:util';
|
|
155
|
+
* (text) => styleText('red', `> ${text}`)
|
|
156
|
+
* ```
|
|
173
157
|
*/
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* The default prompt-module.
|
|
178
|
-
*/
|
|
179
|
-
prompt: PromptModule;
|
|
180
|
-
|
|
158
|
+
error: (text: string) => string;
|
|
181
159
|
/**
|
|
182
|
-
*
|
|
160
|
+
* Style to apply to the default answer when one is provided.
|
|
183
161
|
*
|
|
184
|
-
* @
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
*
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Provides ui-components.
|
|
195
|
-
*/
|
|
196
|
-
ui: {
|
|
197
|
-
/**
|
|
198
|
-
* Represents the bottom-bar UI.
|
|
199
|
-
*/
|
|
200
|
-
BottomBar: typeof BottomBar;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Represents the prompt ui.
|
|
204
|
-
*/
|
|
205
|
-
Prompt: typeof PromptUI;
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* A set of answers.
|
|
211
|
-
*/
|
|
212
|
-
interface Answers extends Record<string, any> {}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Provides the functionality to validate answers.
|
|
216
|
-
*
|
|
217
|
-
* @template T
|
|
218
|
-
* The type of the answers.
|
|
219
|
-
*/
|
|
220
|
-
type Validator<T extends Answers = Answers> = Question<T>['validate'];
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Provides the functionality to transform an answer.
|
|
224
|
-
*
|
|
225
|
-
* @template T
|
|
226
|
-
* The type of the answers.
|
|
227
|
-
*/
|
|
228
|
-
type Transformer<T extends Answers = Answers> = InputQuestionOptions<T>['transformer'];
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Represents a dynamic property for a question.
|
|
232
|
-
*
|
|
233
|
-
* @template T
|
|
234
|
-
* The type of the property.
|
|
235
|
-
*
|
|
236
|
-
* @template TAnswers
|
|
237
|
-
* The type of the answers.
|
|
238
|
-
*/
|
|
239
|
-
type DynamicQuestionProperty<T, TAnswers extends Answers = Answers> = T | ((answers: TAnswers) => T);
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Represents a dynamic property for a question which can be fetched asynchronously.
|
|
243
|
-
*
|
|
244
|
-
* @template T
|
|
245
|
-
* The type of the property.
|
|
246
|
-
*
|
|
247
|
-
* @template TAnswers
|
|
248
|
-
* The type of the answers.
|
|
249
|
-
*/
|
|
250
|
-
type AsyncDynamicQuestionProperty<T, TAnswers extends Answers = Answers> = DynamicQuestionProperty<
|
|
251
|
-
T | Promise<T>,
|
|
252
|
-
TAnswers
|
|
253
|
-
>;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Provides options for a question.
|
|
257
|
-
*
|
|
258
|
-
* @template T
|
|
259
|
-
* The type of the answers.
|
|
260
|
-
*/
|
|
261
|
-
interface Question<T extends Answers = Answers> {
|
|
262
|
-
/**
|
|
263
|
-
* The type of the question.
|
|
264
|
-
*/
|
|
265
|
-
type?: string | undefined;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* The key to save the answer to the answers-hash.
|
|
269
|
-
*/
|
|
270
|
-
name?: KeyUnion<T> | undefined;
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* The message to show to the user.
|
|
274
|
-
*/
|
|
275
|
-
message?: AsyncDynamicQuestionProperty<string, T> | undefined;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* The default value of the question.
|
|
279
|
-
*/
|
|
280
|
-
default?: AsyncDynamicQuestionProperty<any, T> | undefined;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* The prefix of the `message`.
|
|
284
|
-
*/
|
|
285
|
-
prefix?: string | undefined;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* The suffix of the `message`.
|
|
162
|
+
* @param text - The default answer.
|
|
163
|
+
* @returns The styled default answer.
|
|
164
|
+
*
|
|
165
|
+
* @defaultValue
|
|
166
|
+
* ```ts
|
|
167
|
+
* // import { styleText } from 'node:util';
|
|
168
|
+
* (text) => styleText('dim', `(${text})`)
|
|
169
|
+
* ```
|
|
289
170
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
171
|
+
defaultAnswer: (text: string) => string;
|
|
292
172
|
/**
|
|
293
|
-
*
|
|
173
|
+
* Style to apply to help text.
|
|
294
174
|
*
|
|
295
|
-
* @param
|
|
296
|
-
* The
|
|
175
|
+
* @param text - The help text.
|
|
176
|
+
* @returns The styled help text.
|
|
297
177
|
*
|
|
298
|
-
* @
|
|
299
|
-
*
|
|
178
|
+
* @defaultValue
|
|
179
|
+
* ```ts
|
|
180
|
+
* // import { styleText } from 'node:util';
|
|
181
|
+
* (text) => styleText('dim', text)
|
|
182
|
+
* ```
|
|
300
183
|
*/
|
|
301
|
-
|
|
302
|
-
|
|
184
|
+
help: (text: string) => string;
|
|
303
185
|
/**
|
|
304
|
-
*
|
|
305
|
-
*/
|
|
306
|
-
when?: AsyncDynamicQuestionProperty<boolean, T> | undefined;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Validates the integrity of the answer.
|
|
186
|
+
* Style to apply to highlighted text.
|
|
310
187
|
*
|
|
311
|
-
* @param
|
|
312
|
-
* The
|
|
188
|
+
* @param text - The text to highlight.
|
|
189
|
+
* @returns The highlighted text.
|
|
313
190
|
*
|
|
314
|
-
* @
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
191
|
+
* @defaultValue
|
|
192
|
+
* ```ts
|
|
193
|
+
* // import { styleText } from 'node:util';
|
|
194
|
+
* (text) => styleText('cyan', text)
|
|
195
|
+
* ```
|
|
319
196
|
*/
|
|
320
|
-
|
|
321
|
-
|
|
197
|
+
highlight: (text: string) => string;
|
|
322
198
|
/**
|
|
323
|
-
*
|
|
324
|
-
*/
|
|
325
|
-
askAnswered?: boolean;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Represents the possible answers of each question in the prompt
|
|
330
|
-
*/
|
|
331
|
-
type QuestionAnswer<T extends Answers = Answers> = {
|
|
332
|
-
[K in keyof T]: {
|
|
333
|
-
name: K;
|
|
334
|
-
answer: T[K]
|
|
335
|
-
}
|
|
336
|
-
}[keyof T];
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Represents a choice-item.
|
|
340
|
-
*/
|
|
341
|
-
interface ChoiceBase {
|
|
342
|
-
/**
|
|
343
|
-
* The type of the choice.
|
|
344
|
-
*/
|
|
345
|
-
type?: string | undefined;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Provides options for a choice.
|
|
350
|
-
*/
|
|
351
|
-
interface ChoiceOptions extends ChoiceBase {
|
|
352
|
-
/**
|
|
353
|
-
* @inheritdoc
|
|
354
|
-
*/
|
|
355
|
-
type?: 'choice' | undefined;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* The name of the choice to show to the user.
|
|
359
|
-
*/
|
|
360
|
-
name?: string | undefined;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* The value of the choice.
|
|
364
|
-
*/
|
|
365
|
-
value?: any;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* The short form of the name of the choice.
|
|
369
|
-
*/
|
|
370
|
-
short?: string | undefined;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The extra properties of the choice.
|
|
374
|
-
*/
|
|
375
|
-
extra?: any;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Provides options for a choice of the `ListPrompt`.
|
|
380
|
-
*
|
|
381
|
-
* @template T
|
|
382
|
-
* The type of the answers.
|
|
383
|
-
*/
|
|
384
|
-
interface ListChoiceOptions<T extends Answers = Answers> extends ChoiceOptions {
|
|
385
|
-
/**
|
|
386
|
-
* A value indicating whether the choice is disabled.
|
|
387
|
-
*/
|
|
388
|
-
disabled?: DynamicQuestionProperty<boolean | string, T> | undefined;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Provides options for a choice of the `CheckboxPrompt`.
|
|
393
|
-
*
|
|
394
|
-
* @template T
|
|
395
|
-
* The type of the answers.
|
|
396
|
-
*/
|
|
397
|
-
interface CheckboxChoiceOptions<T extends Answers = Answers> extends ListChoiceOptions<T> {
|
|
398
|
-
/**
|
|
399
|
-
* A value indicating whether the choice should be initially checked.
|
|
400
|
-
*/
|
|
401
|
-
checked?: boolean | undefined;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Provides options for a choice of the `ExpandPrompt`.
|
|
406
|
-
*/
|
|
407
|
-
interface ExpandChoiceOptions extends ChoiceOptions {
|
|
408
|
-
/**
|
|
409
|
-
* The key to press for selecting the choice.
|
|
410
|
-
*/
|
|
411
|
-
key?: string | undefined;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Represents a separator.
|
|
416
|
-
*/
|
|
417
|
-
interface SeparatorOptions extends ChoiceBase {
|
|
418
|
-
/**
|
|
419
|
-
* Gets the type of the choice.
|
|
420
|
-
*/
|
|
421
|
-
type: 'separator';
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* Gets or sets the text of the separator.
|
|
425
|
-
*/
|
|
426
|
-
line?: string | undefined;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Provides all valid choice-types for any kind of question.
|
|
431
|
-
*
|
|
432
|
-
* @template T
|
|
433
|
-
* The type of the answers.
|
|
434
|
-
*/
|
|
435
|
-
interface BaseChoiceMap<T extends Answers = Answers> {
|
|
436
|
-
Choice: Choice<T>;
|
|
437
|
-
ChoiceOptions: ChoiceOptions;
|
|
438
|
-
SeparatorOptions: SeparatorOptions;
|
|
439
|
-
Separator: Separator;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* Provides all valid choice-types for the `ListQuestion`.
|
|
444
|
-
*
|
|
445
|
-
* @template T
|
|
446
|
-
* The type of the answers.
|
|
447
|
-
*/
|
|
448
|
-
interface ListChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
|
|
449
|
-
ListChoiceOptions: ListChoiceOptions<T>;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Provides all valid choice-types for the `CheckboxQuestion`.
|
|
454
|
-
*
|
|
455
|
-
* @template T
|
|
456
|
-
* The type of the answers.
|
|
457
|
-
*/
|
|
458
|
-
interface CheckboxChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
|
|
459
|
-
CheckboxChoiceOptions: CheckboxChoiceOptions<T>;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Provides all valid choice-types for the `ExpandQuestion`.
|
|
464
|
-
*
|
|
465
|
-
* @template T
|
|
466
|
-
* The type of the answers.
|
|
467
|
-
*/
|
|
468
|
-
interface ExpandChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
|
|
469
|
-
ExpandChoiceOptions: ExpandChoiceOptions;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Provides all valid choice-types.
|
|
474
|
-
*
|
|
475
|
-
* @template T
|
|
476
|
-
* The type of the answers.
|
|
477
|
-
*/
|
|
478
|
-
interface AllChoiceMap<T extends Answers = Answers> {
|
|
479
|
-
BaseChoiceMap: BaseChoiceMap<T>[keyof BaseChoiceMap<T>];
|
|
480
|
-
ListChoiceMap: ListChoiceMap<T>[keyof ListChoiceMap<T>];
|
|
481
|
-
CheckboxChoiceMap: CheckboxChoiceMap<T>[keyof CheckboxChoiceMap<T>];
|
|
482
|
-
ExpandChoiceMap: ExpandChoiceMap<T>[keyof ExpandChoiceMap<T>];
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Provides valid choices for the question of the `TChoiceMap`.
|
|
487
|
-
*
|
|
488
|
-
* @template TAnswers
|
|
489
|
-
* The type of the answers.
|
|
490
|
-
*
|
|
491
|
-
* @template TChoiceMap
|
|
492
|
-
* The choice-types to provide.
|
|
493
|
-
*/
|
|
494
|
-
type DistinctChoice<TAnswers extends Answers = Answers, TChoiceMap = AllChoiceMap<TAnswers>> =
|
|
495
|
-
| string
|
|
496
|
-
| TChoiceMap[keyof TChoiceMap];
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Represents a set of choices.
|
|
500
|
-
*
|
|
501
|
-
* @template T
|
|
502
|
-
* The type of the answers.
|
|
503
|
-
*/
|
|
504
|
-
type ChoiceCollection<T extends Answers = Answers> = Array<DistinctChoice<AllChoiceMap<T>>>;
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* Provides options for a question for the `InputPrompt`.
|
|
508
|
-
*
|
|
509
|
-
* @template T
|
|
510
|
-
* The type of the answers.
|
|
511
|
-
*/
|
|
512
|
-
interface InputQuestionOptions<T extends Answers = Answers> extends Question<T> {
|
|
513
|
-
/**
|
|
514
|
-
* Transforms the value to display to the user.
|
|
199
|
+
* Style to apply to keyboard keys referred to in help texts.
|
|
515
200
|
*
|
|
516
|
-
* @param
|
|
517
|
-
* The
|
|
201
|
+
* @param text - The key to style.
|
|
202
|
+
* @returns The styled key.
|
|
518
203
|
*
|
|
519
|
-
* @
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
*
|
|
523
|
-
*
|
|
524
|
-
*
|
|
525
|
-
* @returns
|
|
526
|
-
* The value to display to the user.
|
|
204
|
+
* @defaultValue
|
|
205
|
+
* ```ts
|
|
206
|
+
* // import { styleText } from 'node:util';
|
|
207
|
+
* (text) => styleText('cyan', styleText('bold', `<${text}>`))
|
|
208
|
+
* ```
|
|
527
209
|
*/
|
|
528
|
-
|
|
529
|
-
}
|
|
210
|
+
key: (text: string) => string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
type Theme<Extension extends object = object> = Extension & DefaultTheme;
|
|
530
214
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
type?: 'input' | undefined;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* Provides options for a question for the `NumberPrompt`.
|
|
546
|
-
*
|
|
547
|
-
* @template T
|
|
548
|
-
* The type of the answers.
|
|
549
|
-
*/
|
|
550
|
-
interface NumberQuestionOptions<T extends Answers = Answers> extends InputQuestionOptions<T> {}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Provides options for a question for the `NumberPrompt`.
|
|
554
|
-
*
|
|
555
|
-
* @template T
|
|
556
|
-
* The type of the answers.
|
|
557
|
-
*/
|
|
558
|
-
interface NumberQuestion<T extends Answers = Answers> extends NumberQuestionOptions<T> {
|
|
559
|
-
/**
|
|
560
|
-
* @inheritdoc
|
|
561
|
-
*/
|
|
562
|
-
type: 'number';
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* Provides options for a question for the `PasswordPrompt`.
|
|
567
|
-
*
|
|
568
|
-
* @template T
|
|
569
|
-
* The type of the answers.
|
|
570
|
-
*/
|
|
571
|
-
interface PasswordQuestionOptions<T extends Answers = Answers> extends InputQuestionOptions<T> {
|
|
572
|
-
/**
|
|
573
|
-
* The character to replace the user-input.
|
|
574
|
-
*/
|
|
575
|
-
mask?: string | undefined;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* Provides options for a question for the `PasswordPrompt`.
|
|
580
|
-
*
|
|
581
|
-
* @template T
|
|
582
|
-
* The type of the answers.
|
|
583
|
-
*/
|
|
584
|
-
interface PasswordQuestion<T extends Answers = Answers> extends PasswordQuestionOptions<T> {
|
|
585
|
-
/**
|
|
586
|
-
* @inheritdoc
|
|
587
|
-
*/
|
|
588
|
-
type: 'password';
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Represents a list-based question that can loop.
|
|
593
|
-
*
|
|
594
|
-
* @template T
|
|
595
|
-
* The type of the answers.
|
|
596
|
-
*
|
|
597
|
-
* @template TChoiceMap
|
|
598
|
-
* The valid choices for the question.
|
|
599
|
-
*/
|
|
600
|
-
interface LoopableListQuestionOptionsBase<T extends Answers, TChoiceMap extends Answers> extends ListQuestionOptionsBase<T, TChoiceMap> {
|
|
601
|
-
/**
|
|
602
|
-
* A value indicating whether choices in a list should be looped.
|
|
603
|
-
*/
|
|
604
|
-
loop?: boolean | undefined;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Provides options for a question for the `ListPrompt`.
|
|
609
|
-
*
|
|
610
|
-
* @template T
|
|
611
|
-
* The type of the answers.
|
|
612
|
-
*/
|
|
613
|
-
interface ListQuestionOptions<T extends Answers = Answers>
|
|
614
|
-
extends LoopableListQuestionOptionsBase<T, ListChoiceMap<T>> {}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* Provides options for a question for the `ListPrompt`.
|
|
618
|
-
*
|
|
619
|
-
* @template T
|
|
620
|
-
* The type of the answers.
|
|
621
|
-
*/
|
|
622
|
-
interface ListQuestion<T extends Answers = Answers> extends ListQuestionOptions<T> {
|
|
623
|
-
/**
|
|
624
|
-
* @inheritdoc
|
|
625
|
-
*/
|
|
626
|
-
type: 'list';
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Provides options for a question for the `RawListPrompt`.
|
|
631
|
-
*
|
|
632
|
-
* @template T
|
|
633
|
-
* The type of the answers.
|
|
634
|
-
*/
|
|
635
|
-
interface RawListQuestionOptions<T extends Answers = Answers> extends ListQuestionOptions<T> {}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Provides options for a question for the `RawListPrompt`.
|
|
639
|
-
*
|
|
640
|
-
* @template T
|
|
641
|
-
* The type of the answers.
|
|
642
|
-
*/
|
|
643
|
-
interface RawListQuestion<T extends Answers = Answers> extends RawListQuestionOptions<T> {
|
|
644
|
-
/**
|
|
645
|
-
* @inheritdoc
|
|
646
|
-
*/
|
|
647
|
-
type: 'rawlist';
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Provides options for a question for the `ExpandPrompt`.
|
|
652
|
-
*
|
|
653
|
-
* @template T
|
|
654
|
-
* The type of the answers.
|
|
655
|
-
*/
|
|
656
|
-
interface ExpandQuestionOptions<T extends Answers = Answers>
|
|
657
|
-
extends ListQuestionOptionsBase<T, ExpandChoiceMap<T>> {}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* Provides options for a question for the `ExpandPrompt`.
|
|
661
|
-
*
|
|
662
|
-
* @template T
|
|
663
|
-
* The type of the answers.
|
|
664
|
-
*/
|
|
665
|
-
interface ExpandQuestion<T extends Answers = Answers> extends ExpandQuestionOptions<T> {
|
|
666
|
-
/**
|
|
667
|
-
* @inheritdoc
|
|
668
|
-
*/
|
|
669
|
-
type: 'expand';
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* Provides options for a question for the `CheckboxPrompt`.
|
|
674
|
-
*
|
|
675
|
-
* @template T
|
|
676
|
-
* The type of the answers.
|
|
677
|
-
*/
|
|
678
|
-
interface CheckboxQuestionOptions<T extends Answers = Answers>
|
|
679
|
-
extends LoopableListQuestionOptionsBase<T, CheckboxChoiceMap<T>> {}
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* Provides options for a question for the `CheckboxPrompt`.
|
|
683
|
-
*
|
|
684
|
-
* @template T
|
|
685
|
-
* The type of the answers.
|
|
686
|
-
*/
|
|
687
|
-
interface CheckboxQuestion<T extends Answers = Answers> extends CheckboxQuestionOptions<T> {
|
|
688
|
-
/**
|
|
689
|
-
* @inheritdoc
|
|
690
|
-
*/
|
|
691
|
-
type: 'checkbox';
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Provides options for a question for the `ConfirmPrompt`.
|
|
696
|
-
*
|
|
697
|
-
* @template T
|
|
698
|
-
* The type of the answers.
|
|
699
|
-
*/
|
|
700
|
-
interface ConfirmQuestionOptions<T extends Answers = Answers> extends Question<T> {}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Provides options for a question for the `ConfirmPrompt`.
|
|
704
|
-
*
|
|
705
|
-
* @template T
|
|
706
|
-
* The type of the answers.
|
|
707
|
-
*/
|
|
708
|
-
interface ConfirmQuestion<T extends Answers = Answers> extends ConfirmQuestionOptions<T> {
|
|
709
|
-
/**
|
|
710
|
-
* @inheritdoc
|
|
711
|
-
*/
|
|
712
|
-
type: 'confirm';
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Provides options for a question for the `EditorPrompt`.
|
|
717
|
-
*
|
|
718
|
-
* @template T
|
|
719
|
-
* The type of the answers.
|
|
720
|
-
*/
|
|
721
|
-
interface EditorQuestionOptions<T extends Answers = Answers> extends Question<T> {}
|
|
215
|
+
/**
|
|
216
|
+
* Separator object
|
|
217
|
+
* Used to space/separate choices group
|
|
218
|
+
*/
|
|
219
|
+
declare class Separator {
|
|
220
|
+
readonly separator: string;
|
|
221
|
+
readonly type: string;
|
|
222
|
+
constructor(separator?: string);
|
|
223
|
+
static isSeparator(choice: unknown): choice is Separator;
|
|
224
|
+
}
|
|
722
225
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
226
|
+
type CheckboxTheme = {
|
|
227
|
+
icon: {
|
|
228
|
+
checked: string;
|
|
229
|
+
unchecked: string;
|
|
230
|
+
cursor: string;
|
|
231
|
+
disabledChecked: string;
|
|
232
|
+
disabledUnchecked: string;
|
|
233
|
+
};
|
|
234
|
+
style: {
|
|
235
|
+
disabled: (text: string) => string;
|
|
236
|
+
renderSelectedChoices: <T>(selectedChoices: ReadonlyArray<NormalizedChoice<T>>, allChoices: ReadonlyArray<NormalizedChoice<T> | Separator>) => string;
|
|
237
|
+
description: (text: string) => string;
|
|
238
|
+
keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
|
|
239
|
+
};
|
|
240
|
+
i18n: {
|
|
241
|
+
disabledError: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
type CheckboxShortcuts = {
|
|
245
|
+
all?: string | null;
|
|
246
|
+
invert?: string | null;
|
|
247
|
+
};
|
|
248
|
+
type Choice$4<Value> = {
|
|
249
|
+
value: Value;
|
|
250
|
+
name?: string;
|
|
251
|
+
checkedName?: string;
|
|
252
|
+
description?: string;
|
|
253
|
+
short?: string;
|
|
254
|
+
disabled?: boolean | string;
|
|
255
|
+
checked?: boolean;
|
|
256
|
+
type?: never;
|
|
257
|
+
};
|
|
258
|
+
type NormalizedChoice<Value> = {
|
|
259
|
+
value: Value;
|
|
260
|
+
name: string;
|
|
261
|
+
checkedName: string;
|
|
262
|
+
description?: string;
|
|
263
|
+
short: string;
|
|
264
|
+
disabled: boolean | string;
|
|
265
|
+
checked: boolean;
|
|
266
|
+
};
|
|
267
|
+
type CheckboxConfig<Value = string> = {
|
|
268
|
+
message: string;
|
|
269
|
+
prefix?: string;
|
|
270
|
+
pageSize?: number;
|
|
271
|
+
choices: ReadonlyArray<Value | Choice$4<Value> | Separator>;
|
|
272
|
+
loop?: boolean;
|
|
273
|
+
required?: boolean;
|
|
274
|
+
validate?: (choices: readonly NormalizedChoice<Value>[]) => boolean | string | Promise<string | boolean>;
|
|
275
|
+
theme?: PartialDeep<Theme<CheckboxTheme>>;
|
|
276
|
+
shortcuts?: CheckboxShortcuts;
|
|
277
|
+
};
|
|
278
|
+
declare const _default$8: <const Value>(config: {
|
|
279
|
+
message: string;
|
|
280
|
+
prefix?: string | undefined;
|
|
281
|
+
pageSize?: number | undefined;
|
|
282
|
+
choices: readonly (Separator | Value | Choice$4<Value>)[];
|
|
283
|
+
loop?: boolean | undefined;
|
|
284
|
+
required?: boolean | undefined;
|
|
285
|
+
validate?: ((choices: readonly NormalizedChoice<Value>[]) => boolean | string | Promise<string | boolean>) | undefined;
|
|
286
|
+
theme?: PartialDeep<Theme<CheckboxTheme>> | undefined;
|
|
287
|
+
shortcuts?: CheckboxShortcuts | undefined;
|
|
288
|
+
} & CheckboxConfig<Value>, context?: Context) => Promise<Value[]>;
|
|
289
|
+
|
|
290
|
+
type FileOptions = {
|
|
291
|
+
prefix?: string;
|
|
292
|
+
postfix?: string;
|
|
293
|
+
mode?: number;
|
|
294
|
+
template?: string;
|
|
295
|
+
dir?: string;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
type EditorTheme = {
|
|
299
|
+
validationFailureMode: 'keep' | 'clear';
|
|
300
|
+
style: {
|
|
301
|
+
loadingMessage: () => string;
|
|
302
|
+
waitingMessage: (enterKey: string) => string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
type EditorConfig = {
|
|
306
|
+
message: string;
|
|
307
|
+
default?: string | undefined;
|
|
308
|
+
postfix?: string;
|
|
309
|
+
waitForUserInput?: boolean;
|
|
310
|
+
validate?: (value: string) => boolean | string | Promise<string | boolean>;
|
|
311
|
+
file?: FileOptions;
|
|
312
|
+
theme?: PartialDeep<Theme<EditorTheme>>;
|
|
313
|
+
};
|
|
314
|
+
declare const _default$7: Prompt<string, {
|
|
315
|
+
message: string;
|
|
316
|
+
default?: string | undefined | undefined;
|
|
317
|
+
postfix?: string | undefined;
|
|
318
|
+
waitForUserInput?: boolean | undefined;
|
|
319
|
+
validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
|
|
320
|
+
file?: FileOptions | undefined;
|
|
321
|
+
theme?: PartialDeep<Theme<EditorTheme>> | undefined;
|
|
322
|
+
} & EditorConfig>;
|
|
323
|
+
|
|
324
|
+
type ConfirmConfig = {
|
|
325
|
+
message: string;
|
|
326
|
+
default?: boolean | undefined;
|
|
327
|
+
transformer?: (value: boolean) => string;
|
|
328
|
+
theme?: PartialDeep<Theme<ConfirmTheme>>;
|
|
329
|
+
};
|
|
330
|
+
type ConfirmTheme = {
|
|
331
|
+
/**
|
|
332
|
+
* Words accepted as "yes" and "no" answers. Matching is prefix-based and
|
|
333
|
+
* case-insensitive, and the first character of each word is shown in the
|
|
334
|
+
* hint. These words are also displayed once the prompt is answered.
|
|
335
|
+
*/
|
|
336
|
+
keywords: {
|
|
337
|
+
yes: string;
|
|
338
|
+
no: string;
|
|
339
|
+
};
|
|
340
|
+
style: {
|
|
341
|
+
/**
|
|
342
|
+
* Style the character representing the default answer in the hint (e.g.
|
|
343
|
+
* "Y/n"). Uppercases it by default; scripts without case (e.g. Chinese)
|
|
344
|
+
* are highlighted with a color instead.
|
|
345
|
+
*/
|
|
346
|
+
confirmDefault: (text: string) => string;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
declare const _default$6: Prompt<boolean, {
|
|
350
|
+
message: string;
|
|
351
|
+
default?: boolean | undefined | undefined;
|
|
352
|
+
transformer?: ((value: boolean) => string) | undefined;
|
|
353
|
+
theme?: PartialDeep<Theme<ConfirmTheme>> | undefined;
|
|
354
|
+
} & ConfirmConfig>;
|
|
355
|
+
|
|
356
|
+
type InputTheme = {
|
|
357
|
+
validationFailureMode: 'keep' | 'clear';
|
|
358
|
+
};
|
|
359
|
+
type InputConfig = {
|
|
360
|
+
message: string;
|
|
361
|
+
default?: string | undefined;
|
|
362
|
+
prefill?: 'tab' | 'editable';
|
|
363
|
+
required?: boolean;
|
|
364
|
+
transformer?: (value: string, { isFinal }: {
|
|
365
|
+
isFinal: boolean;
|
|
366
|
+
}) => string;
|
|
367
|
+
validate?: (value: string) => boolean | string | Promise<string | boolean>;
|
|
368
|
+
theme?: PartialDeep<Theme<InputTheme>>;
|
|
369
|
+
pattern?: RegExp;
|
|
370
|
+
patternError?: string;
|
|
371
|
+
};
|
|
372
|
+
declare const _default$5: Prompt<string, {
|
|
373
|
+
message: string;
|
|
374
|
+
default?: string | undefined | undefined;
|
|
375
|
+
prefill?: "tab" | "editable" | undefined;
|
|
376
|
+
required?: boolean | undefined;
|
|
377
|
+
transformer?: ((value: string, { isFinal }: {
|
|
378
|
+
isFinal: boolean;
|
|
379
|
+
}) => string) | undefined;
|
|
380
|
+
validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
|
|
381
|
+
theme?: PartialDeep<Theme<InputTheme>> | undefined;
|
|
382
|
+
pattern?: RegExp | undefined;
|
|
383
|
+
patternError?: string | undefined;
|
|
384
|
+
} & InputConfig>;
|
|
385
|
+
|
|
386
|
+
type NumberConfig<Required extends boolean = boolean> = {
|
|
387
|
+
message: string;
|
|
388
|
+
default?: number | undefined;
|
|
389
|
+
min?: number;
|
|
390
|
+
max?: number;
|
|
391
|
+
step?: number | 'any';
|
|
392
|
+
required?: Required;
|
|
393
|
+
validate?: (value: Required extends true ? number : number | undefined) => boolean | string | Promise<string | boolean>;
|
|
394
|
+
theme?: PartialDeep<Theme>;
|
|
395
|
+
};
|
|
396
|
+
declare const _default$4: <Required extends boolean>(config: {
|
|
397
|
+
message: string;
|
|
398
|
+
default?: number | undefined | undefined;
|
|
399
|
+
min?: number | undefined;
|
|
400
|
+
max?: number | undefined;
|
|
401
|
+
step?: number | "any" | undefined;
|
|
402
|
+
required?: Required | undefined;
|
|
403
|
+
validate?: ((value: Required extends true ? number : number | undefined) => boolean | string | Promise<string | boolean>) | undefined;
|
|
404
|
+
theme?: PartialDeep<Theme> | undefined;
|
|
405
|
+
} & NumberConfig<Required>, context?: Context) => Promise<Required extends true ? number : number | undefined>;
|
|
406
|
+
|
|
407
|
+
type Key = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
408
|
+
type Choice$3<Value> = {
|
|
409
|
+
key: Key;
|
|
410
|
+
value: Value;
|
|
411
|
+
} | {
|
|
412
|
+
key: Key;
|
|
413
|
+
name: string;
|
|
414
|
+
value: Value;
|
|
415
|
+
};
|
|
416
|
+
type ExpandConfig<Value = string> = {
|
|
417
|
+
message: string;
|
|
418
|
+
choices: readonly (Separator | {
|
|
419
|
+
key: Key;
|
|
420
|
+
name: Value & string;
|
|
421
|
+
value?: never;
|
|
422
|
+
} | Choice$3<Value>)[];
|
|
423
|
+
default?: Key | 'h';
|
|
424
|
+
expanded?: boolean;
|
|
425
|
+
theme?: PartialDeep<Theme>;
|
|
426
|
+
};
|
|
427
|
+
declare const expand: <const Value>(config: {
|
|
428
|
+
message: string;
|
|
429
|
+
choices: readonly (Separator | {
|
|
430
|
+
key: Key;
|
|
431
|
+
name: Value & string;
|
|
432
|
+
value?: never;
|
|
433
|
+
} | Choice$3<Value>)[];
|
|
434
|
+
default?: (Key | "h") | undefined;
|
|
435
|
+
expanded?: boolean | undefined;
|
|
436
|
+
theme?: PartialDeep<Theme> | undefined;
|
|
437
|
+
} & ExpandConfig<Value>, context?: Context) => Promise<Value>;
|
|
438
|
+
|
|
439
|
+
type RawlistTheme = {
|
|
440
|
+
style: {
|
|
441
|
+
description: (text: string) => string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
type Choice$2<Value> = {
|
|
445
|
+
value: Value;
|
|
446
|
+
name?: string;
|
|
447
|
+
short?: string;
|
|
448
|
+
key?: string;
|
|
449
|
+
description?: string;
|
|
450
|
+
};
|
|
451
|
+
type RawlistConfig<Value> = {
|
|
452
|
+
message: string;
|
|
453
|
+
choices: ReadonlyArray<Value | Choice$2<Value> | Separator>;
|
|
454
|
+
loop?: boolean;
|
|
455
|
+
theme?: PartialDeep<Theme<RawlistTheme>>;
|
|
456
|
+
default?: NoInfer<Value>;
|
|
457
|
+
};
|
|
458
|
+
declare const _default$3: <const Value>(config: {
|
|
459
|
+
message: string;
|
|
460
|
+
choices: readonly (Separator | Value | Choice$2<Value>)[];
|
|
461
|
+
loop?: boolean | undefined;
|
|
462
|
+
theme?: PartialDeep<Theme<RawlistTheme>> | undefined;
|
|
463
|
+
default?: NoInfer<Value> | undefined;
|
|
464
|
+
} & RawlistConfig<Value>, context?: Context) => Promise<Value>;
|
|
465
|
+
|
|
466
|
+
type PasswordTheme = {
|
|
467
|
+
style: {
|
|
468
|
+
maskedText: string;
|
|
469
|
+
keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
type PasswordConfig = {
|
|
473
|
+
message: string;
|
|
474
|
+
mask?: boolean | string;
|
|
475
|
+
toggleMask?: boolean;
|
|
476
|
+
validate?: (value: string) => boolean | string | Promise<string | boolean>;
|
|
477
|
+
theme?: PartialDeep<Theme<PasswordTheme>>;
|
|
478
|
+
};
|
|
479
|
+
declare const _default$2: Prompt<string, {
|
|
480
|
+
message: string;
|
|
481
|
+
mask?: boolean | string | undefined;
|
|
482
|
+
toggleMask?: boolean | undefined;
|
|
483
|
+
validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
|
|
484
|
+
theme?: PartialDeep<Theme<PasswordTheme>> | undefined;
|
|
485
|
+
} & PasswordConfig>;
|
|
486
|
+
|
|
487
|
+
type SearchTheme = {
|
|
488
|
+
icon: {
|
|
489
|
+
cursor: string;
|
|
490
|
+
};
|
|
491
|
+
style: {
|
|
492
|
+
disabled: (text: string) => string;
|
|
493
|
+
searchTerm: (text: string) => string;
|
|
494
|
+
description: (text: string) => string;
|
|
495
|
+
keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
type Choice$1<Value> = {
|
|
499
|
+
value: Value;
|
|
500
|
+
name?: string;
|
|
501
|
+
description?: string;
|
|
502
|
+
short?: string;
|
|
503
|
+
disabled?: boolean | string;
|
|
504
|
+
type?: never;
|
|
505
|
+
};
|
|
506
|
+
type SearchConfig<Value = string> = {
|
|
507
|
+
message: string;
|
|
508
|
+
source: (term: string | undefined, opt: {
|
|
509
|
+
signal: AbortSignal;
|
|
510
|
+
}) => ReadonlyArray<Value | Choice$1<Value> | Separator> | Promise<ReadonlyArray<Value | Choice$1<Value> | Separator>>;
|
|
511
|
+
validate?: (value: Value) => boolean | string | Promise<string | boolean>;
|
|
512
|
+
pageSize?: number;
|
|
513
|
+
default?: NoInfer<Value>;
|
|
514
|
+
initialValue?: string;
|
|
515
|
+
theme?: PartialDeep<Theme<SearchTheme>>;
|
|
516
|
+
};
|
|
517
|
+
declare const _default$1: <const Value>(config: {
|
|
518
|
+
message: string;
|
|
519
|
+
source: (term: string | undefined, opt: {
|
|
520
|
+
signal: AbortSignal;
|
|
521
|
+
}) => readonly (Separator | Value | Choice$1<Value>)[] | Promise<readonly (Separator | Value | Choice$1<Value>)[]>;
|
|
522
|
+
validate?: ((value: Value) => boolean | string | Promise<string | boolean>) | undefined;
|
|
523
|
+
pageSize?: number | undefined;
|
|
524
|
+
default?: NoInfer<Value> | undefined;
|
|
525
|
+
initialValue?: string | undefined;
|
|
526
|
+
theme?: PartialDeep<Theme<SearchTheme>> | undefined;
|
|
527
|
+
} & SearchConfig<Value>, context?: Context) => Promise<Value>;
|
|
528
|
+
|
|
529
|
+
type SelectTheme = {
|
|
530
|
+
icon: {
|
|
531
|
+
cursor: string;
|
|
532
|
+
};
|
|
533
|
+
style: {
|
|
534
|
+
disabled: (text: string) => string;
|
|
535
|
+
description: (text: string) => string;
|
|
536
|
+
keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
|
|
537
|
+
};
|
|
538
|
+
i18n: {
|
|
539
|
+
disabledError: string;
|
|
540
|
+
};
|
|
541
|
+
indexMode: 'hidden' | 'number';
|
|
542
|
+
};
|
|
543
|
+
type Choice<Value> = {
|
|
544
|
+
value: Value;
|
|
545
|
+
name?: string;
|
|
546
|
+
description?: string;
|
|
547
|
+
short?: string;
|
|
548
|
+
disabled?: boolean | string;
|
|
549
|
+
type?: never;
|
|
550
|
+
};
|
|
551
|
+
type SelectConfig<Value> = {
|
|
552
|
+
message: string;
|
|
553
|
+
choices: ReadonlyArray<Value | Choice<Value> | Separator>;
|
|
554
|
+
pageSize?: number;
|
|
555
|
+
loop?: boolean;
|
|
556
|
+
default?: NoInfer<Value>;
|
|
557
|
+
theme?: PartialDeep<Theme<SelectTheme>>;
|
|
558
|
+
};
|
|
559
|
+
declare const _default: <const Value>(config: {
|
|
560
|
+
message: string;
|
|
561
|
+
choices: readonly (Separator | Value | Choice<Value>)[];
|
|
562
|
+
pageSize?: number | undefined;
|
|
563
|
+
loop?: boolean | undefined;
|
|
564
|
+
default?: NoInfer<Value> | undefined;
|
|
565
|
+
theme?: PartialDeep<Theme<SelectTheme>> | undefined;
|
|
566
|
+
} & SelectConfig<Value>, context?: Context) => Promise<Value>;
|
|
567
|
+
|
|
568
|
+
type NextHandler<T> = (value: T) => void;
|
|
569
|
+
type ErrorHandler = (error: unknown) => void;
|
|
570
|
+
type CompleteHandler = () => void;
|
|
571
|
+
declare global {
|
|
572
|
+
interface SymbolConstructor {
|
|
573
|
+
readonly observable: symbol;
|
|
734
574
|
}
|
|
735
|
-
|
|
575
|
+
}
|
|
576
|
+
type Observer<T> = {
|
|
577
|
+
next?: NextHandler<T>;
|
|
578
|
+
error?: ErrorHandler;
|
|
579
|
+
complete?: CompleteHandler;
|
|
580
|
+
};
|
|
581
|
+
type SubscriptionLike = {
|
|
582
|
+
closed?: boolean;
|
|
583
|
+
unsubscribe: () => void;
|
|
584
|
+
};
|
|
585
|
+
type Observable<T> = {
|
|
586
|
+
subscribe: {
|
|
587
|
+
(observer: Observer<T>): SubscriptionLike;
|
|
588
|
+
(next?: NextHandler<T> | null, error?: ErrorHandler | null, complete?: CompleteHandler | null): SubscriptionLike;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
type InteropObservable<T> = Observable<T> & AsyncIterable<T> & {
|
|
592
|
+
readonly [Symbol.observable]: () => Observable<T>;
|
|
593
|
+
readonly '@@observable': () => Observable<T>;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
type Answers<Key extends string = string> = Record<Key, any>;
|
|
597
|
+
type NoInfer$1<T> = [T][T extends any ? 0 : never];
|
|
598
|
+
type UnionToIntersection<U> = (U extends unknown ? (arg: U) => void : never) extends (arg: infer I) => void ? I : never;
|
|
599
|
+
type EmptyRecord = Record<string, never>;
|
|
600
|
+
type DotPathRecord<Path extends string, Value> = Path extends `${infer Head}.${infer Rest}` ? Head extends '' ? EmptyRecord : {
|
|
601
|
+
[K in Head]: DotPathRecord<Rest, Value>;
|
|
602
|
+
} : Path extends '' ? EmptyRecord : {
|
|
603
|
+
[K in Path]: Value;
|
|
604
|
+
};
|
|
605
|
+
type NormalizeAnswers<A extends Answers> = string extends keyof A ? A : Extract<keyof A, string> extends never ? EmptyRecord : Prettify<UnionToIntersection<{
|
|
606
|
+
[Key in Extract<keyof A, string>]: DotPathRecord<Key, [
|
|
607
|
+
A[Key]
|
|
608
|
+
] extends [never] ? any : A[Key]>;
|
|
609
|
+
}[Extract<keyof A, string>]>>;
|
|
610
|
+
type Mutable<T> = {
|
|
611
|
+
-readonly [K in keyof T]: T[K];
|
|
612
|
+
};
|
|
613
|
+
type WidenAnswerLiterals<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T extends symbol ? symbol : T extends ReadonlyArray<infer U> ? ReadonlyArray<WidenAnswerLiterals<U>> : T extends Array<infer U> ? Array<WidenAnswerLiterals<U>> : T extends Record<string, unknown> ? {
|
|
614
|
+
[K in keyof Mutable<T>]: Mutable<T>[K] extends infer V ? V extends undefined ? never : WidenAnswerLiterals<V> : never;
|
|
615
|
+
} : T;
|
|
616
|
+
type MergeAnswerObjects<Base, Override> = Prettify<Omit<Base, keyof Override> & Override>;
|
|
617
|
+
type AsyncGetterFunction<T, A extends Answers> = (this: {
|
|
618
|
+
async: () => (...args: [error: null | undefined, value: T] | [error: Error, value: undefined]) => void;
|
|
619
|
+
}, answers: NoInfer$1<Partial<A>>) => void | T | Promise<T>;
|
|
620
|
+
type MaybeAsyncValue<T, A extends Answers> = T | AsyncGetterFunction<T, A>;
|
|
621
|
+
/**
|
|
622
|
+
* Allows to inject a custom question type into inquirer module.
|
|
623
|
+
*
|
|
624
|
+
* @example
|
|
625
|
+
* ```ts
|
|
626
|
+
* declare module 'inquirer' {
|
|
627
|
+
* interface QuestionMap {
|
|
628
|
+
* custom: { message: string };
|
|
629
|
+
* }
|
|
630
|
+
* }
|
|
631
|
+
* ```
|
|
632
|
+
*
|
|
633
|
+
* Globally defined question types are not correct.
|
|
634
|
+
*/
|
|
635
|
+
interface QuestionMap {
|
|
636
|
+
__dummy: {
|
|
637
|
+
message: string;
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
type KeyValueOrAsyncGetterFunction<T, k extends string, A extends Answers> = T extends Record<string, any> ? MaybeAsyncValue<T[k], A> : never;
|
|
641
|
+
type Question<A extends Answers = Answers, Type extends string = string> = {
|
|
642
|
+
type?: Type;
|
|
643
|
+
name: string;
|
|
644
|
+
message: MaybeAsyncValue<string, A>;
|
|
645
|
+
default?: any;
|
|
646
|
+
choices?: any;
|
|
647
|
+
validate?: (value: any, answers: NoInfer$1<Partial<A>>) => boolean | string | Promise<boolean | string>;
|
|
648
|
+
filter?: (answer: any, answers: NoInfer$1<Partial<A>>) => any;
|
|
649
|
+
askAnswered?: boolean;
|
|
650
|
+
when?: MaybeAsyncValue<boolean, A>;
|
|
651
|
+
};
|
|
652
|
+
type QuestionWithGetters<Type extends string, Q extends Record<string, any>, A extends Answers> = DistributiveMerge<Q, {
|
|
653
|
+
type: Type;
|
|
654
|
+
askAnswered?: boolean;
|
|
655
|
+
when?: MaybeAsyncValue<boolean, A>;
|
|
656
|
+
filter?(input: any, answers: NoInfer$1<A>): any;
|
|
657
|
+
message: KeyValueOrAsyncGetterFunction<Q, 'message', A>;
|
|
658
|
+
default?: KeyValueOrAsyncGetterFunction<Q, 'default', A>;
|
|
659
|
+
choices?: KeyValueOrAsyncGetterFunction<Q, 'choices', A>;
|
|
660
|
+
}>;
|
|
661
|
+
type UnnamedDistinctQuestion<A extends Answers = object> = QuestionWithGetters<'checkbox', Parameters<typeof _default$8>[0] & {
|
|
662
|
+
default: unknown[];
|
|
663
|
+
}, A> | QuestionWithGetters<'confirm', Parameters<typeof _default$6>[0], A> | QuestionWithGetters<'editor', Parameters<typeof _default$7>[0], A> | QuestionWithGetters<'expand', Parameters<typeof expand>[0], A> | QuestionWithGetters<'input', Parameters<typeof _default$5>[0], A> | QuestionWithGetters<'number', Parameters<typeof _default$4>[0], A> | QuestionWithGetters<'password', Parameters<typeof _default$2>[0], A> | QuestionWithGetters<'rawlist', Parameters<typeof _default$3>[0], A> | QuestionWithGetters<'search', Parameters<typeof _default$1>[0], A> | QuestionWithGetters<'select', Parameters<typeof _default>[0], A>;
|
|
664
|
+
type CustomQuestion<A extends Answers, Q extends Record<string, Record<string, any>>> = {
|
|
665
|
+
[key in Extract<keyof Q, string>]: Readonly<QuestionWithGetters<key, Q[key], A>>;
|
|
666
|
+
}[Extract<keyof Q, string>];
|
|
667
|
+
type PromptModuleSpecificQuestion<A extends Answers, Prompts extends Record<string, Record<string, any>> = never> = UnnamedDistinctQuestion<A> | CustomQuestion<A, Prompts>;
|
|
668
|
+
type PromptModuleNamedQuestion<A extends Answers, Prompts extends Record<string, Record<string, any>> = never, Flat extends Answers = A> = PromptModuleSpecificQuestion<A, Prompts> & {
|
|
669
|
+
name: Extract<keyof Flat, string>;
|
|
670
|
+
};
|
|
671
|
+
type DistinctQuestion<A extends Answers = Answers> = PromptModuleNamedQuestion<A>;
|
|
672
|
+
type PromptSession<A extends Answers = Answers, Q extends Question<A> = Question<A>> = readonly Q[] | Record<string, Omit<Q, 'name'>> | Observable<Q> | Q;
|
|
673
|
+
type QuestionSequence<Q> = Q | readonly Q[] | Observable<Q>;
|
|
674
|
+
type MergedAnswers<A extends Answers, Prefilled extends Answers> = MergeAnswerObjects<NormalizeAnswers<A>, WidenAnswerLiterals<Prefilled>>;
|
|
675
|
+
type DictionaryAnswers<A extends Answers, Prefilled extends Answers> = MergeAnswerObjects<NormalizeAnswers<Answers<Extract<keyof A, string>>>, WidenAnswerLiterals<Prefilled>>;
|
|
676
|
+
type PromptModulePublicQuestion<A extends Answers, Flat extends Answers = A> = {
|
|
677
|
+
type?: 'input' | 'confirm' | 'editor' | 'password' | 'number' | 'rawlist' | 'expand' | 'checkbox' | 'search' | 'select';
|
|
678
|
+
name: Extract<keyof Flat, string>;
|
|
679
|
+
message: MaybeAsyncValue<string, A>;
|
|
680
|
+
default?: unknown;
|
|
681
|
+
choices?: unknown;
|
|
682
|
+
filter?: (input: any, answers: NoInfer$1<Partial<A>>) => any;
|
|
683
|
+
askAnswered?: boolean;
|
|
684
|
+
when?: MaybeAsyncValue<boolean, A>;
|
|
685
|
+
} & Record<string, unknown>;
|
|
686
|
+
type StreamOptions = Prettify<Context & {
|
|
687
|
+
skipTTYChecks?: boolean;
|
|
688
|
+
}>;
|
|
689
|
+
|
|
690
|
+
interface PromptBase {
|
|
691
|
+
/**
|
|
692
|
+
* Runs the prompt.
|
|
693
|
+
*
|
|
694
|
+
* @returns
|
|
695
|
+
* The result of the prompt.
|
|
696
|
+
*/
|
|
697
|
+
run(): Promise<any>;
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Provides the functionality to initialize new prompts.
|
|
701
|
+
*/
|
|
702
|
+
interface LegacyPromptConstructor {
|
|
736
703
|
/**
|
|
737
|
-
*
|
|
704
|
+
* Initializes a new instance of a prompt.
|
|
738
705
|
*
|
|
739
|
-
* @
|
|
740
|
-
* The
|
|
741
|
-
*/
|
|
742
|
-
interface QuestionMap<T extends Answers = Answers> {
|
|
743
|
-
/**
|
|
744
|
-
* The `InputQuestion` type.
|
|
745
|
-
*/
|
|
746
|
-
input: InputQuestion<T>;
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* The `NumberQuestion` type.
|
|
750
|
-
*/
|
|
751
|
-
number: NumberQuestion<T>;
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* The `PasswordQuestion` type.
|
|
755
|
-
*/
|
|
756
|
-
password: PasswordQuestion<T>;
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* The `ListQuestion` type.
|
|
760
|
-
*/
|
|
761
|
-
list: ListQuestion<T>;
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* The `RawListQuestion` type.
|
|
765
|
-
*/
|
|
766
|
-
rawList: RawListQuestion<T>;
|
|
767
|
-
|
|
768
|
-
/**
|
|
769
|
-
* The `ExpandQuestion` type.
|
|
770
|
-
*/
|
|
771
|
-
expand: ExpandQuestion<T>;
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* The `CheckboxQuestion` type.
|
|
775
|
-
*/
|
|
776
|
-
checkbox: CheckboxQuestion<T>;
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* The `ConfirmQuestion` type.
|
|
780
|
-
*/
|
|
781
|
-
confirm: ConfirmQuestion<T>;
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* The `EditorQuestion` type.
|
|
785
|
-
*/
|
|
786
|
-
editor: EditorQuestion<T>;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
* Represents one of the available questions.
|
|
706
|
+
* @param question
|
|
707
|
+
* The question to prompt.
|
|
791
708
|
*
|
|
792
|
-
* @
|
|
793
|
-
*
|
|
794
|
-
*/
|
|
795
|
-
type DistinctQuestion<T extends Answers = Answers> = QuestionMap<T>[keyof QuestionMap<T>];
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* Indicates the type of a question
|
|
799
|
-
*/
|
|
800
|
-
type QuestionTypeName = DistinctQuestion['type'];
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* Represents a collection of questions.
|
|
709
|
+
* @param readLine
|
|
710
|
+
* An object for reading from the command-line.
|
|
804
711
|
*
|
|
805
|
-
* @
|
|
806
|
-
* The
|
|
807
|
-
*/
|
|
808
|
-
type QuestionCollection<T extends Answers = Answers> =
|
|
809
|
-
| DistinctQuestion<T>
|
|
810
|
-
| ReadonlyArray<DistinctQuestion<T>>
|
|
811
|
-
| Observable<DistinctQuestion<T>>;
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* Provides components for the prompts.
|
|
712
|
+
* @param answers
|
|
713
|
+
* The answers provided by the user.
|
|
815
714
|
*/
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
*/
|
|
850
|
-
run(): Promise<any>;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Provides the functionality to initialize new prompts.
|
|
855
|
-
*/
|
|
856
|
-
interface PromptConstructor {
|
|
857
|
-
/**
|
|
858
|
-
* Initializes a new instance of a prompt.
|
|
859
|
-
*
|
|
860
|
-
* @param question
|
|
861
|
-
* The question to prompt.
|
|
862
|
-
*
|
|
863
|
-
* @param readLine
|
|
864
|
-
* An object for reading from the command-line.
|
|
865
|
-
*
|
|
866
|
-
* @param answers
|
|
867
|
-
* The answers provided by the user.
|
|
868
|
-
*/
|
|
869
|
-
new (question: any, readLine: ReadlineInterface, answers: Answers): PromptBase;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Provides a set of prompt-constructors.
|
|
874
|
-
*/
|
|
875
|
-
type PromptCollection = Record<string, PromptConstructor>;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* Provides data about the state of a prompt.
|
|
879
|
-
*/
|
|
880
|
-
interface PromptStateData {
|
|
881
|
-
/**
|
|
882
|
-
* Either a string which describes the error of the prompt or a boolean indicating whether the prompt-value is valid.
|
|
883
|
-
*/
|
|
884
|
-
isValid: string | boolean;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Provides data about the successful state of a prompt.
|
|
889
|
-
*
|
|
890
|
-
* @param T
|
|
891
|
-
* The type of the answer.
|
|
892
|
-
*/
|
|
893
|
-
interface SuccessfulPromptStateData<T = any> extends PromptStateData {
|
|
894
|
-
/**
|
|
895
|
-
* @inheritdoc
|
|
896
|
-
*/
|
|
897
|
-
isValid: true;
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* The value of the prompt.
|
|
901
|
-
*/
|
|
902
|
-
value: T;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Provides data about the failed state of a prompt.
|
|
907
|
-
*/
|
|
908
|
-
interface FailedPromptStateData extends PromptStateData {
|
|
909
|
-
/**
|
|
910
|
-
* @inheritdoc
|
|
911
|
-
*/
|
|
912
|
-
isValid: false | string;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* Provides pipes for handling events of a prompt.
|
|
917
|
-
*
|
|
918
|
-
* @param T
|
|
919
|
-
* The type of the answer.
|
|
920
|
-
*/
|
|
921
|
-
interface PromptEventPipes<T = any> {
|
|
922
|
-
/**
|
|
923
|
-
* A pypeline for succesful inputs.
|
|
924
|
-
*/
|
|
925
|
-
success: Observable<SuccessfulPromptStateData<T>>;
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* An object representing an error.
|
|
929
|
-
*/
|
|
930
|
-
error: Observable<FailedPromptStateData>;
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* Provides components for the ui.
|
|
936
|
-
*/
|
|
937
|
-
namespace ui {
|
|
938
|
-
/**
|
|
939
|
-
* Provides options for the bottom-bar UI.
|
|
940
|
-
*/
|
|
941
|
-
interface BottomBarOptions extends StreamOptions {
|
|
942
|
-
/**
|
|
943
|
-
* The initial text to display.
|
|
944
|
-
*/
|
|
945
|
-
bottomBar?: string | undefined;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
/**
|
|
949
|
-
* Represents a fetched answer.
|
|
950
|
-
*
|
|
951
|
-
* @template T
|
|
952
|
-
* The type of the answers.
|
|
953
|
-
*/
|
|
954
|
-
type FetchedQuestion<T extends Answers = Answers> = DistinctQuestion<T> & {
|
|
955
|
-
/**
|
|
956
|
-
* The type of the question.
|
|
957
|
-
*/
|
|
958
|
-
type: string;
|
|
959
|
-
|
|
960
|
-
/**
|
|
961
|
-
* The message to show to the user.
|
|
962
|
-
*/
|
|
963
|
-
message: string;
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
* The default value of the question.
|
|
967
|
-
*/
|
|
968
|
-
default: any;
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* The choices of the question.
|
|
972
|
-
*/
|
|
973
|
-
choices: ChoiceCollection<T>;
|
|
974
|
-
};
|
|
715
|
+
new (question: any, readLine: InquirerReadline, answers: Record<string, any>): PromptBase;
|
|
716
|
+
}
|
|
717
|
+
type PromptFn<Value = any, Config = any> = (config: Config, context: StreamOptions & {
|
|
718
|
+
signal: AbortSignal;
|
|
719
|
+
}) => Promise<Value>;
|
|
720
|
+
/**
|
|
721
|
+
* Provides a set of prompt-constructors.
|
|
722
|
+
*/
|
|
723
|
+
type PromptCollection = Record<string, PromptFn | LegacyPromptConstructor>;
|
|
724
|
+
type AnswerEvent = {
|
|
725
|
+
name: string;
|
|
726
|
+
answer: unknown;
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* Base interface class other can inherits from
|
|
730
|
+
*/
|
|
731
|
+
declare class PromptsRunner<A extends Answers> {
|
|
732
|
+
private prompts;
|
|
733
|
+
answers: Partial<A>;
|
|
734
|
+
process: InteropObservable<AnswerEvent>;
|
|
735
|
+
private abortController;
|
|
736
|
+
private opt;
|
|
737
|
+
constructor(prompts: PromptCollection, opt?: StreamOptions);
|
|
738
|
+
run(questions: PromptSession<A>, answers?: Partial<A>): Promise<A>;
|
|
739
|
+
private getQuestions;
|
|
740
|
+
private prepareQuestion;
|
|
741
|
+
private fetchAnswer;
|
|
742
|
+
/**
|
|
743
|
+
* Close the interface and cleanup listeners
|
|
744
|
+
*/
|
|
745
|
+
close: () => void;
|
|
746
|
+
private shouldRun;
|
|
747
|
+
}
|
|
975
748
|
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
/**
|
|
981
|
-
* The name of the answer.
|
|
982
|
-
*/
|
|
983
|
-
name: string;
|
|
749
|
+
/**
|
|
750
|
+
* Inquirer.js
|
|
751
|
+
* A collection of common interactive command line user interfaces.
|
|
752
|
+
*/
|
|
984
753
|
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
754
|
+
type PublicQuestions<A extends Answers, Prefilled extends Answers> = QuestionSequence<PromptModulePublicQuestion<MergedAnswers<A, Prefilled>, A>>;
|
|
755
|
+
type InternalQuestions<A extends Answers, Prefilled extends Answers, Prompts extends Record<string, Record<string, unknown>>> = QuestionSequence<PromptModuleNamedQuestion<MergedAnswers<A, Prefilled>, Prompts, A>>;
|
|
756
|
+
type QuestionsDictionary<A extends Answers, Prefilled extends Answers, Prompts extends Record<string, Record<string, unknown>>> = {
|
|
757
|
+
[name in keyof A]: PromptModuleSpecificQuestion<MergedAnswers<A, Prefilled>, Prompts>;
|
|
758
|
+
};
|
|
759
|
+
type PromptModuleApi<Prompts extends Record<string, Record<string, unknown>> = never> = {
|
|
760
|
+
<const A extends Answers, const Prefilled extends Answers = object>(questions: PublicQuestions<A, Prefilled> | InternalQuestions<A, Prefilled, Prompts>, answers?: Prefilled): PromptReturnType<MergedAnswers<A, Prefilled>>;
|
|
761
|
+
<const A extends Answers, const Prefilled extends Answers = object>(questions: QuestionsDictionary<A, Prefilled, Prompts>, answers?: Prefilled): PromptReturnType<DictionaryAnswers<A, Prefilled>>;
|
|
762
|
+
<A extends Answers>(questions: PromptSession<A>, answers?: Partial<A>): PromptReturnType<A>;
|
|
763
|
+
} & {
|
|
764
|
+
prompts: PromptCollection;
|
|
765
|
+
registerPrompt(name: string, prompt: LegacyPromptConstructor | PromptFn): PromptModuleApi<Prompts>;
|
|
766
|
+
restoreDefaultPrompts(): void;
|
|
767
|
+
};
|
|
992
768
|
|
|
769
|
+
type PromptReturnType<T extends Answers> = Promise<T> & {
|
|
770
|
+
ui: PromptsRunner<T>;
|
|
771
|
+
};
|
|
993
772
|
/**
|
|
994
|
-
*
|
|
773
|
+
* Create a new self-contained prompt module.
|
|
995
774
|
*/
|
|
996
|
-
declare
|
|
997
|
-
|
|
775
|
+
declare function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): PromptModuleApi<Prompts>;
|
|
776
|
+
declare function registerPrompt(name: string, newPrompt: LegacyPromptConstructor): void;
|
|
777
|
+
declare function restoreDefaultPrompts(): void;
|
|
778
|
+
declare const inquirer: {
|
|
779
|
+
prompt: PromptModuleApi<Omit<QuestionMap, "__dummy">>;
|
|
780
|
+
ui: {
|
|
781
|
+
Prompt: typeof PromptsRunner;
|
|
782
|
+
};
|
|
783
|
+
createPromptModule: typeof createPromptModule;
|
|
784
|
+
registerPrompt: typeof registerPrompt;
|
|
785
|
+
restoreDefaultPrompts: typeof restoreDefaultPrompts;
|
|
786
|
+
Separator: typeof Separator;
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
export { createPromptModule, inquirer as default };
|
|
790
|
+
export type { Answers, DistinctQuestion, PromptSession, Question, QuestionMap };
|