@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.2
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,154 +1,1126 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Returned by a scalar resolver when the source does not match its tag.
|
|
3
|
+
*
|
|
4
|
+
* @category Tags
|
|
5
|
+
*/
|
|
6
|
+
declare const NOT_RESOLVED: unique symbol;
|
|
7
|
+
/**
|
|
8
|
+
* Options for {@link defineScalarTag}.
|
|
9
|
+
*
|
|
10
|
+
* @category Tags
|
|
11
|
+
*/
|
|
12
|
+
interface ScalarTagOptions<Result> {
|
|
13
|
+
/**
|
|
14
|
+
* Whether this tag participates in resolving plain scalars without an
|
|
15
|
+
* explicit tag. Default: `false`.
|
|
16
|
+
*/
|
|
17
|
+
implicit?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether explicit tag names are matched by prefix instead of exact equality.
|
|
20
|
+
* Default: `false`.
|
|
21
|
+
*/
|
|
22
|
+
matchByTagPrefix?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Set of `source.charAt(0)` keys for which `resolve` may succeed (a superset
|
|
25
|
+
* of what it really matches). A key is either a single character or '' (empty
|
|
26
|
+
* source). `null` means "no constraint, always try". Used by the composer to
|
|
27
|
+
* dispatch implicit scalars by first character without running every resolver.
|
|
28
|
+
*/
|
|
29
|
+
implicitFirstChars?: readonly string[] | null;
|
|
30
|
+
/**
|
|
31
|
+
* Construct a value from scalar text, or return {@link NOT_RESOLVED} when it
|
|
32
|
+
* is invalid for this tag. `isExplicit` is true for an explicit tag and
|
|
33
|
+
* `tagName` is the actual matched name.
|
|
34
|
+
*/
|
|
35
|
+
resolve: (source: string, isExplicit: boolean, tagName: string) => Result | typeof NOT_RESOLVED;
|
|
36
|
+
/**
|
|
37
|
+
* Selects this tag for a JavaScript value when dumping. Use `() => false`
|
|
38
|
+
* for load-only tags.
|
|
39
|
+
*/
|
|
40
|
+
identify: (data: any) => boolean;
|
|
41
|
+
/**
|
|
42
|
+
* A scalar's printed form is text, so `represent` always yields a string.
|
|
43
|
+
* The factory supplies a `String(data)` default when a tag omits it.
|
|
44
|
+
*/
|
|
45
|
+
represent?: (data: any) => string;
|
|
46
|
+
/** Return the tag name to emit for a prefix-matching tag. Defaults to `tagName`. */
|
|
47
|
+
representTagName?: (data: any) => string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Normalized scalar tag returned by {@link defineScalarTag}.
|
|
51
|
+
*
|
|
52
|
+
* @category Tags
|
|
53
|
+
*/
|
|
54
|
+
interface ScalarTagDefinition<Result = unknown> extends Required<ScalarTagOptions<Result>> {
|
|
55
|
+
/** Tag name used for schema lookup. */
|
|
56
|
+
tagName: string;
|
|
57
|
+
/** YAML node kind handled by this tag. */
|
|
58
|
+
nodeKind: 'scalar';
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Options for {@link defineSequenceTag}.
|
|
62
|
+
*
|
|
63
|
+
* @category Tags
|
|
64
|
+
*/
|
|
65
|
+
interface SequenceTagOptions<Carrier, Result = Carrier> {
|
|
66
|
+
/**
|
|
67
|
+
* Whether explicit tag names are matched by prefix instead of exact equality.
|
|
68
|
+
* Default: `false`.
|
|
69
|
+
*/
|
|
70
|
+
matchByTagPrefix?: boolean;
|
|
71
|
+
/** Create the carrier used while constructing a sequence. */
|
|
72
|
+
create: (tagName: string) => Carrier;
|
|
73
|
+
/** Add an item to the carrier. Return a non-empty error message to reject it. */
|
|
74
|
+
addItem: (carrier: Carrier, item: unknown, index: number) => void | string;
|
|
75
|
+
/** Convert the completed carrier to the result. Defaults to the identity function. */
|
|
76
|
+
finalize?: (carrier: Carrier) => Result;
|
|
77
|
+
/**
|
|
78
|
+
* Selects this tag for a JavaScript value when dumping. Use `() => false`
|
|
79
|
+
* for load-only tags.
|
|
80
|
+
*/
|
|
81
|
+
identify: (data: any) => boolean;
|
|
82
|
+
/** Return the array-like contents to dump. Defaults to the identity function. */
|
|
83
|
+
represent?: (data: any) => ArrayLike<unknown>;
|
|
84
|
+
/** Return the tag name to emit for a prefix-matching tag. Defaults to `tagName`. */
|
|
85
|
+
representTagName?: (data: any) => string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Normalized sequence tag returned by {@link defineSequenceTag}.
|
|
89
|
+
*
|
|
90
|
+
* @category Tags
|
|
91
|
+
*/
|
|
92
|
+
interface SequenceTagDefinition<Carrier = unknown, Result = Carrier> extends Required<SequenceTagOptions<Carrier, Result>> {
|
|
93
|
+
/** Tag name used for schema lookup. */
|
|
94
|
+
tagName: string;
|
|
95
|
+
/** YAML node kind handled by this tag. */
|
|
96
|
+
nodeKind: 'sequence';
|
|
97
|
+
/** Sequence tags do not participate in implicit scalar resolution. */
|
|
98
|
+
implicit: false;
|
|
99
|
+
/** Whether the carrier is also the final result (`finalize` was omitted). */
|
|
100
|
+
carrierIsResult: boolean;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Options for {@link defineMappingTag}.
|
|
104
|
+
*
|
|
105
|
+
* @category Tags
|
|
106
|
+
*/
|
|
107
|
+
interface MappingTagOptions<Carrier, Result = Carrier> {
|
|
108
|
+
/**
|
|
109
|
+
* Whether explicit tag names are matched by prefix instead of exact equality.
|
|
110
|
+
* Default: `false`.
|
|
111
|
+
*/
|
|
112
|
+
matchByTagPrefix?: boolean;
|
|
113
|
+
/** Create the carrier used while constructing a mapping. */
|
|
114
|
+
create: (tagName: string) => Carrier;
|
|
115
|
+
/**
|
|
116
|
+
* Writes a pair. Returns '' on success, a non-empty error message otherwise
|
|
117
|
+
* (key does not fit the representation, value rejected, ...). Always a string
|
|
118
|
+
* so the hot path never allocates an exception wrapper.
|
|
119
|
+
*/
|
|
120
|
+
addPair: (carrier: Carrier, key: unknown, value: unknown) => string;
|
|
121
|
+
/** Return whether the carrier contains a key, for duplicate and merge checks. */
|
|
122
|
+
has: (carrier: Carrier, key: unknown) => boolean;
|
|
123
|
+
/** Return the keys of a completed result for YAML merge processing. */
|
|
124
|
+
keys: (result: Result) => Iterable<unknown>;
|
|
125
|
+
/** Return a value from a completed result for YAML merge processing. */
|
|
126
|
+
get: (result: Result, key: unknown) => unknown;
|
|
127
|
+
/** Convert the completed carrier to the result. Defaults to the identity function. */
|
|
128
|
+
finalize?: (carrier: Carrier) => Result;
|
|
129
|
+
/**
|
|
130
|
+
* Selects this tag for a JavaScript value when dumping. Use `() => false`
|
|
131
|
+
* for load-only tags.
|
|
132
|
+
*/
|
|
133
|
+
identify: (data: any) => boolean;
|
|
134
|
+
/** Return the mapping entries to dump. Defaults to the identity function. */
|
|
135
|
+
represent?: (data: any) => Map<unknown, unknown>;
|
|
136
|
+
/** Return the tag name to emit for a prefix-matching tag. Defaults to `tagName`. */
|
|
137
|
+
representTagName?: (data: any) => string;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Normalized mapping tag returned by {@link defineMappingTag}.
|
|
141
|
+
*
|
|
142
|
+
* @category Tags
|
|
143
|
+
*/
|
|
144
|
+
interface MappingTagDefinition<Carrier = unknown, Result = Carrier> extends Required<MappingTagOptions<Carrier, Result>> {
|
|
145
|
+
/** Tag name used for schema lookup. */
|
|
146
|
+
tagName: string;
|
|
147
|
+
/** YAML node kind handled by this tag. */
|
|
148
|
+
nodeKind: 'mapping';
|
|
149
|
+
/** Mapping tags do not participate in implicit scalar resolution. */
|
|
150
|
+
implicit: false;
|
|
151
|
+
/** Whether the carrier is also the final result (`finalize` was omitted). */
|
|
152
|
+
carrierIsResult: boolean;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Any normalized tag definition accepted by {@link Schema}.
|
|
156
|
+
*
|
|
157
|
+
* @category Tags
|
|
158
|
+
*/
|
|
159
|
+
type TagDefinition = ScalarTagDefinition<any> | SequenceTagDefinition<any, any> | MappingTagDefinition<any, any>;
|
|
160
|
+
/**
|
|
161
|
+
* Create a normalized scalar tag definition.
|
|
162
|
+
*
|
|
163
|
+
* @category Tags
|
|
164
|
+
*/
|
|
165
|
+
declare function defineScalarTag<Result>(tagName: string, options: ScalarTagOptions<Result>): ScalarTagDefinition<Result>;
|
|
166
|
+
/**
|
|
167
|
+
* Create a normalized sequence tag definition.
|
|
168
|
+
*
|
|
169
|
+
* @category Tags
|
|
170
|
+
*/
|
|
171
|
+
declare function defineSequenceTag<Carrier, Result = Carrier>(tagName: string, options: SequenceTagOptions<Carrier, Result>): SequenceTagDefinition<Carrier, Result>;
|
|
172
|
+
/**
|
|
173
|
+
* Create a normalized mapping tag definition.
|
|
174
|
+
*
|
|
175
|
+
* @category Tags
|
|
176
|
+
*/
|
|
177
|
+
declare function defineMappingTag<Carrier, Result = Carrier>(tagName: string, options: MappingTagOptions<Carrier, Result>): MappingTagDefinition<Carrier, Result>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Controls tag resolution when loading and type selection when dumping.
|
|
181
|
+
*
|
|
182
|
+
* @category Schemas
|
|
183
|
+
*/
|
|
184
|
+
declare class Schema {
|
|
185
|
+
readonly tags: readonly TagDefinition[];
|
|
186
|
+
/** @internal */
|
|
187
|
+
readonly implicitScalarTags: readonly ScalarTagDefinition[];
|
|
188
|
+
/**
|
|
189
|
+
* Dispatch implicit scalar resolvers by `source.charAt(0)`. Each bucket holds
|
|
190
|
+
* the resolvers that may match that key, in schema order; a key absent from
|
|
191
|
+
* the map uses
|
|
192
|
+
* {@link Schema.implicitScalarAnyFirstChar}
|
|
193
|
+
* (resolvers that declared no first-char constraint, so they apply to any
|
|
194
|
+
* first character).
|
|
195
|
+
*/
|
|
196
|
+
private readonly implicitScalarByFirstChar;
|
|
197
|
+
private readonly implicitScalarAnyFirstChar;
|
|
198
|
+
/**
|
|
199
|
+
* The default scalar tag (`!!str`), resolved once so the composer's fallback
|
|
200
|
+
* for unresolved plain scalars avoids a keyed lookup per scalar.
|
|
201
|
+
*
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
readonly defaultScalarTag: ScalarTagDefinition;
|
|
205
|
+
/**
|
|
206
|
+
* The default container tags (`!!seq` / `!!map`), used by the dumper: when a
|
|
207
|
+
* value is identified by its default tag, the tag is implicit and not
|
|
208
|
+
* printed. Undefined if the schema does not define them (then such values
|
|
209
|
+
* can't be dumped).
|
|
210
|
+
*
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
readonly defaultSequenceTag: SequenceTagDefinition | undefined;
|
|
214
|
+
/** @internal */
|
|
215
|
+
readonly defaultMappingTag: MappingTagDefinition | undefined;
|
|
216
|
+
private readonly exact;
|
|
217
|
+
private readonly prefix;
|
|
218
|
+
constructor(tags: readonly TagDefinition[]);
|
|
219
|
+
/** @internal */
|
|
220
|
+
lookupScalarTag(tagName: string): ScalarTagDefinition | undefined;
|
|
221
|
+
/** @internal */
|
|
222
|
+
lookupSequenceTag(tagName: string): SequenceTagDefinition | undefined;
|
|
223
|
+
/** @internal */
|
|
224
|
+
lookupMappingTag(tagName: string): MappingTagDefinition | undefined;
|
|
225
|
+
/** @internal */
|
|
226
|
+
resolveImplicitScalarTag(source: string): {
|
|
227
|
+
value: unknown;
|
|
228
|
+
tag: ScalarTagDefinition;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Creates a new schema with the specified tags added. If a tag already
|
|
232
|
+
* exists, it is replaced by the specified tag.
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
*
|
|
236
|
+
* ```javascript
|
|
237
|
+
* import { CORE_SCHEMA, mergeTag, realMapTag } from 'js-yaml'
|
|
238
|
+
*
|
|
239
|
+
* const schema = CORE_SCHEMA.withTags(mergeTag, realMapTag)
|
|
240
|
+
* ```
|
|
241
|
+
*/
|
|
242
|
+
withTags(...tags: Array<TagDefinition | readonly TagDefinition[]>): Schema;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* The YAML 1.2 Failsafe Schema: strings, sequences, and mappings.
|
|
246
|
+
*
|
|
247
|
+
* @category Schemas
|
|
248
|
+
*/
|
|
249
|
+
declare const FAILSAFE_SCHEMA: Schema;
|
|
250
|
+
/**
|
|
251
|
+
* The YAML 1.2 JSON Schema. It uses JSON scalar forms while retaining YAML
|
|
252
|
+
* collection syntax.
|
|
253
|
+
*
|
|
254
|
+
* @category Schemas
|
|
255
|
+
*/
|
|
256
|
+
declare const JSON_SCHEMA: Schema;
|
|
257
|
+
/**
|
|
258
|
+
* The default schema for the loaders. Note, {@link CORE_SCHEMA} comes
|
|
259
|
+
* without the `!!merge` tag. You can easily enable it if needed.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* Enable {@link mergeTag}:
|
|
263
|
+
*
|
|
264
|
+
* ```javascript
|
|
265
|
+
* import { load, CORE_SCHEMA, mergeTag } from 'js-yaml'
|
|
266
|
+
*
|
|
267
|
+
* try {
|
|
268
|
+
* load(data, { schema: CORE_SCHEMA.withTags(mergeTag) })
|
|
269
|
+
* } catch (e) {
|
|
270
|
+
* console.error(e)
|
|
271
|
+
* }
|
|
272
|
+
* ```
|
|
273
|
+
*
|
|
274
|
+
* @category Schemas
|
|
275
|
+
*/
|
|
276
|
+
declare const CORE_SCHEMA: Schema;
|
|
277
|
+
/**
|
|
278
|
+
* YAML 1.1-compatible schema.
|
|
279
|
+
*
|
|
280
|
+
* @category Schemas
|
|
281
|
+
*/
|
|
282
|
+
declare const YAML11_SCHEMA: Schema;
|
|
283
|
+
/**
|
|
284
|
+
* The dumper schema for maximum compatibility. It combines all supported type
|
|
285
|
+
* variants from YAML 1.1 and YAML 1.2 so strings matching any of them are
|
|
286
|
+
* quoted. This makes the generated YAML more compatible with other parsers.
|
|
287
|
+
*
|
|
288
|
+
* The schema is based on YAML 1.1, but extends `!!int` and `!!float` to accept
|
|
289
|
+
* both YAML 1.1 and Core Schema forms, since Core Schema supports some forms
|
|
290
|
+
* that YAML 1.1 does not.
|
|
291
|
+
*
|
|
292
|
+
* @category Schemas
|
|
293
|
+
*/
|
|
294
|
+
declare const DUMP_SCHEMA: Schema;
|
|
295
|
+
|
|
296
|
+
/** @category Tags */
|
|
297
|
+
declare const strTag: ScalarTagDefinition<string>;
|
|
298
|
+
|
|
299
|
+
/** @category Tags */
|
|
300
|
+
declare const nullCoreTag: ScalarTagDefinition<null>;
|
|
301
|
+
|
|
302
|
+
/** @category Tags */
|
|
303
|
+
declare const nullJsonTag: ScalarTagDefinition<null>;
|
|
304
|
+
|
|
305
|
+
/** @category Tags */
|
|
306
|
+
declare const nullYaml11Tag: ScalarTagDefinition<null>;
|
|
307
|
+
|
|
308
|
+
/** @category Tags */
|
|
309
|
+
declare const boolCoreTag: ScalarTagDefinition<boolean>;
|
|
310
|
+
|
|
311
|
+
/** @category Tags */
|
|
312
|
+
declare const boolJsonTag: ScalarTagDefinition<boolean>;
|
|
313
|
+
|
|
314
|
+
/** @category Tags */
|
|
315
|
+
declare const boolYaml11Tag: ScalarTagDefinition<boolean>;
|
|
316
|
+
|
|
317
|
+
/** @category Tags */
|
|
318
|
+
declare const intCoreTag: ScalarTagDefinition<number>;
|
|
319
|
+
|
|
320
|
+
/** @category Tags */
|
|
321
|
+
declare const intJsonTag: ScalarTagDefinition<number>;
|
|
322
|
+
|
|
323
|
+
/** @category Tags */
|
|
324
|
+
declare const intYaml11Tag: ScalarTagDefinition<number>;
|
|
325
|
+
|
|
326
|
+
/** @category Tags */
|
|
327
|
+
declare const floatCoreTag: ScalarTagDefinition<number>;
|
|
328
|
+
|
|
329
|
+
/** @category Tags */
|
|
330
|
+
declare const floatJsonTag: ScalarTagDefinition<number>;
|
|
331
|
+
|
|
332
|
+
/** @category Tags */
|
|
333
|
+
declare const floatYaml11Tag: ScalarTagDefinition<number>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Enables merge keys in {@link CORE_SCHEMA} when added with
|
|
337
|
+
* {@link Schema.withTags}.
|
|
338
|
+
*
|
|
339
|
+
* @category Tags
|
|
340
|
+
*/
|
|
341
|
+
declare const mergeTag: ScalarTagDefinition<"<<">;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* The `!!binary` tag, represented as a `Uint8Array`.
|
|
345
|
+
*
|
|
346
|
+
* @category Tags
|
|
347
|
+
*/
|
|
348
|
+
declare const binaryTag: ScalarTagDefinition<Uint8Array<ArrayBuffer>>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The YAML 1.1 `!!timestamp` tag, represented as a JavaScript `Date`.
|
|
352
|
+
*
|
|
353
|
+
* @category Tags
|
|
354
|
+
*/
|
|
355
|
+
declare const timestampTag: ScalarTagDefinition<Date>;
|
|
356
|
+
|
|
357
|
+
/** @category Tags */
|
|
358
|
+
declare const seqTag: SequenceTagDefinition<unknown[], unknown[]>;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Provided only for YAML 1.1 compatibility and supported by the loader only.
|
|
362
|
+
* JavaScript has no dedicated class to represent this type, so it cannot be
|
|
363
|
+
* identified and dumped.
|
|
364
|
+
*
|
|
365
|
+
* ```yaml
|
|
366
|
+
* !!omap
|
|
367
|
+
* - one: 1
|
|
368
|
+
* - two: 2
|
|
369
|
+
* ```
|
|
370
|
+
*
|
|
371
|
+
* is loaded as
|
|
372
|
+
*
|
|
373
|
+
* ```javascript
|
|
374
|
+
* [
|
|
375
|
+
* { one: 1 },
|
|
376
|
+
* { two: 2 }
|
|
377
|
+
* ]
|
|
378
|
+
* ```
|
|
379
|
+
*
|
|
380
|
+
* @category Tags
|
|
381
|
+
*/
|
|
382
|
+
declare const omapTag: SequenceTagDefinition<{
|
|
383
|
+
list: unknown[];
|
|
384
|
+
seen: Set<unknown>;
|
|
385
|
+
}, unknown[]>;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Provided only for YAML 1.1 compatibility and supported by the loader only.
|
|
389
|
+
* JavaScript has no dedicated class to represent this type, so it cannot be
|
|
390
|
+
* identified and dumped.
|
|
391
|
+
*
|
|
392
|
+
* ```yaml
|
|
393
|
+
* !!pairs
|
|
394
|
+
* - one: 1
|
|
395
|
+
* - two: 2
|
|
396
|
+
* ```
|
|
397
|
+
*
|
|
398
|
+
* is loaded as
|
|
399
|
+
*
|
|
400
|
+
* ```javascript
|
|
401
|
+
* [
|
|
402
|
+
* ['one', 1],
|
|
403
|
+
* ['two', 2]
|
|
404
|
+
* ]
|
|
405
|
+
* ```
|
|
406
|
+
*
|
|
407
|
+
* @category Tags
|
|
408
|
+
*/
|
|
409
|
+
declare const pairsTag: SequenceTagDefinition<[unknown, unknown][], [unknown, unknown][]>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* This is the default mapping implementation. It uses `{}` objects and has only
|
|
413
|
+
* partial functionality due to language limitations. This choice was made
|
|
414
|
+
* because users expect to get JavaScript objects, and it was left unchanged to
|
|
415
|
+
* avoid too many breaking changes in the v5 release.
|
|
416
|
+
*
|
|
417
|
+
* Side effects:
|
|
418
|
+
*
|
|
419
|
+
* - `Object.hasOwn()` checks or `for...of` loops are required for safe use (to
|
|
420
|
+
* avoid falling through to prototypes).
|
|
421
|
+
* - Only scalar string keys are supported properly.
|
|
422
|
+
* - Other scalar keys, such as `null` and numbers, are converted to strings.
|
|
423
|
+
* This is historical behaviour, and it can cause side effects such as
|
|
424
|
+
* problems with `!!merge`.
|
|
425
|
+
*
|
|
426
|
+
* Note that non-string scalar keys may be deprecated in future versions.
|
|
427
|
+
*
|
|
428
|
+
* Ideally, use {@link realMapTag} instead.
|
|
429
|
+
*
|
|
430
|
+
* @category Tags
|
|
431
|
+
*/
|
|
432
|
+
declare const mapTag: MappingTagDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Recommended when non-string keys are actually needed. It uses native
|
|
436
|
+
* JavaScript `Map` objects, so keys keep their constructed types instead of
|
|
437
|
+
* being converted to strings.
|
|
438
|
+
*
|
|
439
|
+
* It is not the default to avoid widespread breaking changes in existing
|
|
440
|
+
* projects. `Map` has a different access API and does not pass deep equality
|
|
441
|
+
* checks against `{}`-based fixtures. Alongside the other changes in v5,
|
|
442
|
+
* making it the default was considered too disruptive.
|
|
443
|
+
*
|
|
444
|
+
* If these differences are acceptable for your project, we recommend using
|
|
445
|
+
* {@link realMapTag} to guarantee the absence of problems and side effects.
|
|
446
|
+
*
|
|
447
|
+
* @example
|
|
448
|
+
* Enable {@link realMapTag}:
|
|
449
|
+
*
|
|
450
|
+
* ```javascript
|
|
451
|
+
* import { load, CORE_SCHEMA, realMapTag } from 'js-yaml'
|
|
452
|
+
*
|
|
453
|
+
* try {
|
|
454
|
+
* load(data, { schema: CORE_SCHEMA.withTags(realMapTag) })
|
|
455
|
+
* } catch (e) {
|
|
456
|
+
* console.error(e)
|
|
457
|
+
* }
|
|
458
|
+
* ```
|
|
459
|
+
*
|
|
460
|
+
* @category Tags
|
|
461
|
+
*/
|
|
462
|
+
declare const realMapTag: MappingTagDefinition<Map<unknown, unknown>, Map<unknown, unknown>>;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* This implementation exists solely to reproduce v4 behavior exactly. Its use
|
|
466
|
+
* is strongly discouraged. If complex or non-string keys are needed, use
|
|
467
|
+
* {@link realMapTag} instead.
|
|
468
|
+
*
|
|
469
|
+
* @category Tags
|
|
470
|
+
*/
|
|
471
|
+
declare const legacyMapTag: MappingTagDefinition<Record<string, unknown>, Record<string, unknown>>;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* The YAML 1.1 `!!set` tag, represented as a JavaScript `Set`.
|
|
475
|
+
*
|
|
476
|
+
* @category Tags
|
|
477
|
+
*/
|
|
478
|
+
declare const setTag: MappingTagDefinition<Set<unknown>, Set<unknown>>;
|
|
479
|
+
|
|
480
|
+
/** @category Events */
|
|
481
|
+
declare const EVENT_ID: {
|
|
482
|
+
readonly DOCUMENT: 1;
|
|
483
|
+
readonly SEQUENCE: 2;
|
|
484
|
+
readonly MAPPING: 3;
|
|
485
|
+
readonly SCALAR: 4;
|
|
486
|
+
readonly ALIAS: 5;
|
|
487
|
+
readonly POP: 6;
|
|
488
|
+
};
|
|
489
|
+
/** @category Events */
|
|
490
|
+
type EventId = typeof EVENT_ID[keyof typeof EVENT_ID];
|
|
491
|
+
/** @category Nodes */
|
|
492
|
+
declare const SCALAR_STYLE: {
|
|
493
|
+
readonly PLAIN: 1;
|
|
494
|
+
readonly SINGLE_QUOTED: 2;
|
|
495
|
+
readonly DOUBLE_QUOTED: 3;
|
|
496
|
+
readonly LITERAL_BLOCK: 4;
|
|
497
|
+
readonly FOLDED_BLOCK: 5;
|
|
498
|
+
};
|
|
499
|
+
/** @category Nodes */
|
|
500
|
+
type ScalarStyle = typeof SCALAR_STYLE[keyof typeof SCALAR_STYLE];
|
|
501
|
+
/** @category Nodes */
|
|
502
|
+
declare const COLLECTION_STYLE: {
|
|
503
|
+
readonly BLOCK: 1;
|
|
504
|
+
readonly FLOW: 2;
|
|
505
|
+
};
|
|
506
|
+
/** @category Nodes */
|
|
507
|
+
type CollectionStyle = typeof COLLECTION_STYLE[keyof typeof COLLECTION_STYLE];
|
|
508
|
+
/** @category Nodes */
|
|
509
|
+
declare const CHOMPING_MODE: {
|
|
510
|
+
readonly CLIP: 1;
|
|
511
|
+
readonly STRIP: 2;
|
|
512
|
+
readonly KEEP: 3;
|
|
513
|
+
};
|
|
514
|
+
/** @category Nodes */
|
|
515
|
+
type ChompingMode = typeof CHOMPING_MODE[keyof typeof CHOMPING_MODE];
|
|
516
|
+
/** @category Events */
|
|
517
|
+
type DocumentDirective = {
|
|
518
|
+
kind: 'yaml';
|
|
519
|
+
version: string;
|
|
520
|
+
} | {
|
|
521
|
+
kind: 'tag';
|
|
522
|
+
handle: string;
|
|
523
|
+
prefix: string;
|
|
524
|
+
};
|
|
525
|
+
/** @category Events */
|
|
526
|
+
interface DocumentEvent {
|
|
527
|
+
type: typeof EVENT_ID.DOCUMENT;
|
|
528
|
+
explicitStart: boolean;
|
|
529
|
+
explicitEnd: boolean;
|
|
530
|
+
directives: DocumentDirective[];
|
|
531
|
+
}
|
|
532
|
+
/** @category Events */
|
|
533
|
+
interface SequenceEvent {
|
|
534
|
+
type: typeof EVENT_ID.SEQUENCE;
|
|
535
|
+
start: number;
|
|
536
|
+
anchorStart: number;
|
|
537
|
+
anchorEnd: number;
|
|
538
|
+
tagStart: number;
|
|
539
|
+
tagEnd: number;
|
|
540
|
+
style: CollectionStyle;
|
|
541
|
+
}
|
|
542
|
+
/** @category Events */
|
|
543
|
+
interface MappingEvent {
|
|
544
|
+
type: typeof EVENT_ID.MAPPING;
|
|
545
|
+
start: number;
|
|
546
|
+
anchorStart: number;
|
|
547
|
+
anchorEnd: number;
|
|
548
|
+
tagStart: number;
|
|
549
|
+
tagEnd: number;
|
|
550
|
+
style: CollectionStyle;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* A scalar whose decoded value can be read with {@link getScalarValue}.
|
|
554
|
+
*
|
|
555
|
+
* @category Events
|
|
556
|
+
*/
|
|
557
|
+
interface ScalarEvent {
|
|
558
|
+
type: typeof EVENT_ID.SCALAR;
|
|
559
|
+
valueStart: number;
|
|
560
|
+
valueEnd: number;
|
|
561
|
+
anchorStart: number;
|
|
562
|
+
anchorEnd: number;
|
|
563
|
+
tagStart: number;
|
|
564
|
+
tagEnd: number;
|
|
565
|
+
style: ScalarStyle;
|
|
566
|
+
chomping: ChompingMode;
|
|
567
|
+
indent: number;
|
|
568
|
+
fast: boolean;
|
|
569
|
+
}
|
|
570
|
+
/** @category Events */
|
|
571
|
+
interface AliasEvent {
|
|
572
|
+
type: typeof EVENT_ID.ALIAS;
|
|
573
|
+
anchorStart: number;
|
|
574
|
+
anchorEnd: number;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Closes the most recently opened document, sequence, or mapping.
|
|
578
|
+
*
|
|
579
|
+
* @category Events
|
|
580
|
+
*/
|
|
581
|
+
interface PopEvent {
|
|
582
|
+
type: typeof EVENT_ID.POP;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Source ranges are zero-based and end-exclusive; `-1` means absent.
|
|
586
|
+
*
|
|
587
|
+
* @category Events
|
|
588
|
+
*/
|
|
589
|
+
type Event = DocumentEvent | SequenceEvent | MappingEvent | ScalarEvent | AliasEvent | PopEvent;
|
|
590
|
+
|
|
591
|
+
/** @category Events */
|
|
592
|
+
interface ConstructorOptions {
|
|
593
|
+
/** Source text referenced by offsets in `events`. */
|
|
594
|
+
source: string;
|
|
595
|
+
filename?: string;
|
|
596
|
+
/**
|
|
597
|
+
* Schema to use.
|
|
598
|
+
*
|
|
599
|
+
* @defaultValue {@link CORE_SCHEMA}
|
|
600
|
+
*/
|
|
601
|
+
schema?: Schema;
|
|
602
|
+
/**
|
|
603
|
+
* Enables compatibility with `JSON.parse` behavior. Duplicate keys in a
|
|
604
|
+
* mapping override values instead of throwing an error.
|
|
605
|
+
*
|
|
606
|
+
* @defaultValue `false`
|
|
607
|
+
*/
|
|
608
|
+
json?: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* Maximum total number of keys processed by merge (`<<`) across one load
|
|
611
|
+
* call. Each member of a merge sequence also counts as one key. Set to `-1`
|
|
612
|
+
* to disable the limit.
|
|
613
|
+
*
|
|
614
|
+
* @defaultValue `10000`
|
|
615
|
+
*/
|
|
616
|
+
maxTotalMergeKeys?: number;
|
|
617
|
+
/**
|
|
618
|
+
* Maximum number of alias nodes (`*ref`) per document. Set to `0` to reject
|
|
619
|
+
* all aliases, or to `-1` for no limit.
|
|
620
|
+
*
|
|
621
|
+
* @defaultValue `-1`
|
|
622
|
+
*/
|
|
623
|
+
maxAliases?: number;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Constructs JavaScript documents directly from parser events, without an
|
|
627
|
+
* intermediate AST.
|
|
628
|
+
*
|
|
629
|
+
* @category Events
|
|
630
|
+
*/
|
|
631
|
+
declare function constructFromEvents(events: Event[], options: ConstructorOptions): unknown[];
|
|
632
|
+
|
|
633
|
+
/** @category Events */
|
|
634
|
+
interface ParserOptions {
|
|
635
|
+
/**
|
|
636
|
+
* File path used in error messages.
|
|
637
|
+
*
|
|
638
|
+
* @defaultValue `null`
|
|
639
|
+
*/
|
|
640
|
+
filename?: string;
|
|
641
|
+
/**
|
|
642
|
+
* Maximum nesting depth for collections. Aliases are not taken into account.
|
|
643
|
+
*
|
|
644
|
+
* @defaultValue `100`
|
|
645
|
+
*/
|
|
646
|
+
maxDepth?: number;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* Parses YAML into a flat event stream referencing source text by offsets.
|
|
650
|
+
*
|
|
651
|
+
* @category Events
|
|
652
|
+
*/
|
|
653
|
+
declare function parseEvents(input: string, options: ParserOptions): Event[];
|
|
654
|
+
|
|
655
|
+
/** @category Main */
|
|
656
|
+
interface LoadOptions extends ParserOptions, Omit<ConstructorOptions, 'source'> {
|
|
657
|
+
}
|
|
658
|
+
/** @inline */
|
|
659
|
+
type LoadAllIterator = (document: unknown) => void;
|
|
660
|
+
/**
|
|
661
|
+
* Same as {@link load}, but understands multi-document sources.
|
|
662
|
+
* Returns an array of documents.
|
|
663
|
+
*
|
|
664
|
+
* @category Main
|
|
665
|
+
*/
|
|
666
|
+
declare function loadAll(input: string, options?: LoadOptions): unknown[];
|
|
667
|
+
/**
|
|
668
|
+
* @deprecated Iterator is not supported.
|
|
669
|
+
*/
|
|
670
|
+
declare function loadAll(input: string, iterator: null, options?: LoadOptions): unknown[];
|
|
671
|
+
/**
|
|
672
|
+
* @deprecated Iterator is not supported.
|
|
673
|
+
*/
|
|
674
|
+
declare function loadAll(input: string, iterator: LoadAllIterator, options?: LoadOptions): void;
|
|
675
|
+
/**
|
|
676
|
+
* Parses `string` as a single YAML document. Throws {@link YAMLException} on
|
|
677
|
+
* error. This function does not understand multi-document or empty sources; it
|
|
678
|
+
* throws an exception on those.
|
|
679
|
+
*
|
|
680
|
+
* > [!NOTE]
|
|
681
|
+
* > 1. When processing untrusted input, see the
|
|
682
|
+
* > [security considerations](../docs/safety.md).
|
|
683
|
+
* > 2. All exceptions MUST be caught, not just {@link YAMLException}.
|
|
684
|
+
* > 3. The default {@link CORE_SCHEMA} comes without the `!!merge` tag. You can
|
|
685
|
+
* > easily enable it if needed.
|
|
686
|
+
* > 4. The default {@link mapTag} is `{}`-object based, with known limitations
|
|
687
|
+
* > (see description). For full compatibility use {@link realMapTag}
|
|
688
|
+
* > instead (it uses native JS `Map`).
|
|
689
|
+
*
|
|
690
|
+
* @example
|
|
691
|
+
* Enable {@link mergeTag} and {@link realMapTag}:
|
|
692
|
+
*
|
|
693
|
+
* ```javascript
|
|
694
|
+
* import { load, CORE_SCHEMA, mergeTag, realMapTag } from 'js-yaml'
|
|
695
|
+
*
|
|
696
|
+
* try {
|
|
697
|
+
* load(data, { schema: CORE_SCHEMA.withTags(mergeTag, realMapTag) })
|
|
698
|
+
* } catch (e) {
|
|
699
|
+
* console.error(e)
|
|
700
|
+
* }
|
|
701
|
+
* ```
|
|
702
|
+
*
|
|
703
|
+
* @category Main
|
|
704
|
+
*/
|
|
705
|
+
declare function load(input: string, options?: LoadOptions): unknown;
|
|
706
|
+
|
|
707
|
+
/** @category Nodes */
|
|
708
|
+
interface NodeBase {
|
|
709
|
+
/**
|
|
710
|
+
* YAML tag. Untagged nodes carry the semantic resolved tag; tagged nodes carry
|
|
711
|
+
* the printable/verbatim tag spelling.
|
|
712
|
+
*/
|
|
713
|
+
tag: string;
|
|
714
|
+
/** Whether to print the node's tag explicitly. */
|
|
715
|
+
tagged: boolean;
|
|
716
|
+
anchor?: string;
|
|
717
|
+
/** Reserved for the formatting layer; not populated by the dumper yet. */
|
|
718
|
+
commentBefore?: string;
|
|
719
|
+
comment?: string;
|
|
720
|
+
commentAfter?: string;
|
|
721
|
+
blankBefore?: number;
|
|
722
|
+
}
|
|
723
|
+
/** @category Nodes */
|
|
724
|
+
interface ScalarNode extends NodeBase {
|
|
725
|
+
kind: 'scalar';
|
|
726
|
+
/** Preferred scalar style; the presenter may fall back when necessary. */
|
|
727
|
+
style: ScalarStyle;
|
|
728
|
+
value: string;
|
|
729
|
+
}
|
|
730
|
+
/** @category Nodes */
|
|
731
|
+
interface SequenceNode extends NodeBase {
|
|
732
|
+
kind: 'sequence';
|
|
733
|
+
style: CollectionStyle;
|
|
734
|
+
items: Node[];
|
|
735
|
+
}
|
|
736
|
+
/** @category Nodes */
|
|
737
|
+
interface MappingNode extends NodeBase {
|
|
738
|
+
kind: 'mapping';
|
|
739
|
+
style: CollectionStyle;
|
|
740
|
+
items: Array<{
|
|
741
|
+
key: Node;
|
|
742
|
+
value: Node;
|
|
743
|
+
}>;
|
|
744
|
+
}
|
|
745
|
+
/** @category Nodes */
|
|
746
|
+
interface AliasNode {
|
|
747
|
+
kind: 'alias';
|
|
748
|
+
/** The anchor name this alias points at (`*name`). */
|
|
749
|
+
anchor: string;
|
|
750
|
+
}
|
|
751
|
+
/** @category Nodes */
|
|
752
|
+
type Node = ScalarNode | SequenceNode | MappingNode | AliasNode;
|
|
753
|
+
/**
|
|
754
|
+
* The layer above {@link Node}: each document wraps one content node plus its
|
|
755
|
+
* own markers/directives. Not a member of {@link Node} — the fields differ.
|
|
756
|
+
* Document directives are ordered presentation data.
|
|
757
|
+
*
|
|
758
|
+
* @category Nodes
|
|
759
|
+
*/
|
|
760
|
+
interface Document {
|
|
761
|
+
/** null = empty document */
|
|
762
|
+
contents: Node | null;
|
|
763
|
+
/** print '---' */
|
|
764
|
+
explicitStart?: boolean;
|
|
765
|
+
/** print '...' */
|
|
766
|
+
explicitEnd?: boolean;
|
|
767
|
+
directives: DocumentDirective[];
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/** Scalar presentation state passed to styling rules. @category AST */
|
|
771
|
+
interface ScalarLayout {
|
|
772
|
+
readonly node: Readonly<ScalarNode>;
|
|
773
|
+
readonly parent: Readonly<Node> | null;
|
|
774
|
+
readonly level: number;
|
|
775
|
+
readonly isKey: boolean;
|
|
776
|
+
readonly flowOnly: boolean;
|
|
777
|
+
readonly shiftOfParent: number;
|
|
778
|
+
readonly shiftOfContent: number;
|
|
779
|
+
readonly shiftOfFirstLine: number;
|
|
780
|
+
readonly presenterOptions: Readonly<Required<PresenterOptions>>;
|
|
781
|
+
/**
|
|
782
|
+
* Bit mask of allowed styles; each bit corresponds to a {@link SCALAR_STYLE}
|
|
783
|
+
* value.
|
|
784
|
+
*/
|
|
785
|
+
allowedStylesMask: number;
|
|
786
|
+
/**
|
|
787
|
+
* Selected output style, which styling rules may modify. To avoid overriding
|
|
788
|
+
* earlier decisions, a rule should normally modify it only while it is
|
|
789
|
+
* {@link SCALAR_STYLE.PLAIN}.
|
|
790
|
+
*/
|
|
791
|
+
style: ScalarStyle;
|
|
792
|
+
}
|
|
793
|
+
/** Function signature for scalar styling rules. @category AST */
|
|
794
|
+
type ScalarStyleRule = (layout: ScalarLayout) => void;
|
|
795
|
+
|
|
796
|
+
/** @category AST */
|
|
797
|
+
interface PresenterOptions {
|
|
798
|
+
/** Schema used when selecting a safe scalar style. */
|
|
57
799
|
schema: Schema;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
800
|
+
/**
|
|
801
|
+
* Indentation width in spaces.
|
|
802
|
+
*
|
|
803
|
+
* @defaultValue `2`
|
|
804
|
+
*/
|
|
805
|
+
indent?: number;
|
|
806
|
+
/**
|
|
807
|
+
* Does not add an indentation level to array elements when enabled.
|
|
808
|
+
*
|
|
809
|
+
* @defaultValue `false`
|
|
810
|
+
*/
|
|
811
|
+
seqNoIndent?: boolean;
|
|
812
|
+
/**
|
|
813
|
+
* Allows a nested collection to start on the same line after `-`.
|
|
814
|
+
*
|
|
815
|
+
* @defaultValue `true`
|
|
816
|
+
*/
|
|
817
|
+
seqInlineFirst?: boolean;
|
|
818
|
+
/**
|
|
819
|
+
* Preferred line width for folding. Unbreakable and more-indented lines may
|
|
820
|
+
* exceed it. Set to `-1` for unlimited width.
|
|
821
|
+
*
|
|
822
|
+
* @defaultValue `80`
|
|
823
|
+
*/
|
|
824
|
+
lineWidth?: number;
|
|
825
|
+
/**
|
|
826
|
+
* Adds spaces inside flow collection brackets: `{a: 1}` becomes `{ a: 1 }`.
|
|
827
|
+
*
|
|
828
|
+
* @defaultValue `false`
|
|
829
|
+
*/
|
|
830
|
+
flowBracketPadding?: boolean;
|
|
831
|
+
/**
|
|
832
|
+
* Omits the space after commas in flow collections: `[1, 2]` becomes
|
|
833
|
+
* `[1,2]`.
|
|
834
|
+
*
|
|
835
|
+
* @defaultValue `false`
|
|
836
|
+
*/
|
|
837
|
+
flowSkipCommaSpace?: boolean;
|
|
838
|
+
/**
|
|
839
|
+
* Omits the space after `:` in flow mappings: `{"a": 1}` becomes `{"a":1}`.
|
|
840
|
+
*
|
|
841
|
+
* This forces `quoteFlowKeys`; otherwise `a:1` would be parsed as a single
|
|
842
|
+
* plain scalar instead of a mapping entry.
|
|
843
|
+
*
|
|
844
|
+
* @defaultValue `false`
|
|
845
|
+
*/
|
|
846
|
+
flowSkipColonSpace?: boolean;
|
|
847
|
+
/**
|
|
848
|
+
* Quotes flow mapping keys: `{a: 1}` becomes `{"a": 1}`.
|
|
849
|
+
*
|
|
850
|
+
* @defaultValue `false`
|
|
851
|
+
*/
|
|
852
|
+
quoteFlowKeys?: boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Quoting style to use when a string needs quotes.
|
|
855
|
+
*
|
|
856
|
+
* @defaultValue `'single'`
|
|
857
|
+
*/
|
|
858
|
+
quoteStyle?: 'single' | 'double';
|
|
859
|
+
/**
|
|
860
|
+
* Quotes all non-key strings using {@link quoteStyle}.
|
|
861
|
+
*
|
|
862
|
+
* @defaultValue `false`
|
|
863
|
+
*/
|
|
864
|
+
forceQuotes?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* Customizes how strings are rendered as plain, quoted, literal, or folded
|
|
867
|
+
* scalars. Rules are applied in array order; providing this option replaces
|
|
868
|
+
* the {@link DEFAULT_SCALAR_STYLE_RULES default rules}.
|
|
869
|
+
*
|
|
870
|
+
* @defaultValue `Object.values(DEFAULT_SCALAR_STYLE_RULES)`
|
|
871
|
+
*/
|
|
872
|
+
scalarStyleRules?: readonly ScalarStyleRule[];
|
|
873
|
+
/**
|
|
874
|
+
* Prints an explicit tag before an anchor: `&ref_0 !!set` becomes
|
|
875
|
+
* `!!set &ref_0`.
|
|
876
|
+
*
|
|
877
|
+
* @defaultValue `false`
|
|
878
|
+
*/
|
|
879
|
+
tagBeforeAnchor?: boolean;
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Build YAML from AST.
|
|
883
|
+
*
|
|
884
|
+
* @category AST
|
|
885
|
+
*/
|
|
886
|
+
declare function present(documents: Document[], options: PresenterOptions): string;
|
|
887
|
+
|
|
888
|
+
/** @category Main */
|
|
889
|
+
interface DumpOptions extends Omit<PresenterOptions, 'schema'> {
|
|
890
|
+
/**
|
|
891
|
+
* Schema to use.
|
|
892
|
+
*
|
|
893
|
+
* @defaultValue {@link DUMP_SCHEMA}
|
|
894
|
+
*/
|
|
895
|
+
schema?: Schema;
|
|
896
|
+
/**
|
|
897
|
+
* Skips invalid types instead of throwing. Invalid mapping pairs and sequence
|
|
898
|
+
* items are skipped; `undefined` sequence items are serialized as `null`.
|
|
899
|
+
*
|
|
900
|
+
* @defaultValue `false`
|
|
901
|
+
*/
|
|
902
|
+
skipInvalid?: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Inlines duplicate objects instead of converting them into references.
|
|
905
|
+
*
|
|
906
|
+
* @defaultValue `false`
|
|
907
|
+
*/
|
|
908
|
+
noRefs?: boolean;
|
|
909
|
+
/**
|
|
910
|
+
* Nesting level at which collections switch from block to flow style. Set to
|
|
911
|
+
* `-1` to never switch automatically.
|
|
912
|
+
*
|
|
913
|
+
* @defaultValue `-1`
|
|
914
|
+
*/
|
|
915
|
+
flowLevel?: number;
|
|
916
|
+
/**
|
|
917
|
+
* Sorts mapping keys when `true`. A function can be provided to define the
|
|
918
|
+
* sort order.
|
|
919
|
+
*
|
|
920
|
+
* @defaultValue `false`
|
|
921
|
+
* @deprecated Use {@link transform} to reorder mapping items.
|
|
922
|
+
*/
|
|
923
|
+
sortKeys?: boolean | ((a: any, b: any) => number);
|
|
924
|
+
/**
|
|
925
|
+
* Mutates the generated AST before it is rendered.
|
|
926
|
+
*
|
|
927
|
+
* @example Sort mapping keys:
|
|
928
|
+
*
|
|
929
|
+
* ```typescript
|
|
930
|
+
* import { dump, visit } from 'js-yaml'
|
|
931
|
+
*
|
|
932
|
+
* dump(value, {
|
|
933
|
+
* transform: documents => visit(documents, node => {
|
|
934
|
+
* if (node.kind === 'mapping') node.items.sort((a, b) => {
|
|
935
|
+
* const x = a.key.kind === 'scalar' ? a.key.value : ''
|
|
936
|
+
* const y = b.key.kind === 'scalar' ? b.key.value : ''
|
|
937
|
+
* return x.localeCompare(y)
|
|
938
|
+
* })
|
|
939
|
+
* })
|
|
940
|
+
* })
|
|
941
|
+
* ```
|
|
942
|
+
*/
|
|
943
|
+
transform?: (documents: Document[]) => void;
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* Serializes JS object as a YAML document. By default it can dump every
|
|
947
|
+
* supported YAML type, so it throws an exception if you try to dump regexps or
|
|
948
|
+
* functions. However, you can disable exceptions by setting the
|
|
949
|
+
* {@link DumpOptions.skipInvalid} option to `true`.
|
|
950
|
+
*
|
|
951
|
+
* @category Main
|
|
952
|
+
*/
|
|
953
|
+
declare function dump(input: any, options?: DumpOptions): string;
|
|
954
|
+
|
|
955
|
+
interface SnippetMark {
|
|
956
|
+
name?: string | null;
|
|
957
|
+
buffer: string;
|
|
61
958
|
position: number;
|
|
62
959
|
line: number;
|
|
63
|
-
lineStart: number;
|
|
64
|
-
lineIndent: number;
|
|
65
|
-
version: null | number;
|
|
66
|
-
checkLineBreaks: boolean;
|
|
67
|
-
kind: string;
|
|
68
|
-
result: any;
|
|
69
|
-
implicitTypes: Type[];
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface DumpOptions {
|
|
73
|
-
/** indentation width to use (in spaces). */
|
|
74
|
-
indent?: number | undefined;
|
|
75
|
-
/** when true, will not add an indentation level to array elements */
|
|
76
|
-
noArrayIndent?: boolean | undefined;
|
|
77
|
-
/** do not throw on invalid types (like function in the safe schema) and skip pairs and single values with such types. */
|
|
78
|
-
skipInvalid?: boolean | undefined;
|
|
79
|
-
/** specifies level of nesting, when to switch from block to flow style for collections. -1 means block style everwhere */
|
|
80
|
-
flowLevel?: number | undefined;
|
|
81
|
-
/** Each tag may have own set of styles. - "tag" => "style" map. */
|
|
82
|
-
styles?: { [x: string]: any } | undefined;
|
|
83
|
-
/** specifies a schema to use. */
|
|
84
|
-
schema?: Schema | undefined;
|
|
85
|
-
/** if true, sort keys when dumping YAML. If a function, use the function to sort the keys. (default: false) */
|
|
86
|
-
sortKeys?: boolean | ((a: any, b: any) => number) | undefined;
|
|
87
|
-
/** set max line width. (default: 80) */
|
|
88
|
-
lineWidth?: number | undefined;
|
|
89
|
-
/** if true, don't convert duplicate objects into references (default: false) */
|
|
90
|
-
noRefs?: boolean | undefined;
|
|
91
|
-
/** if true don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1 (default: false) */
|
|
92
|
-
noCompatMode?: boolean | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* if true flow sequences will be condensed, omitting the space between `key: value` or `a, b`. Eg. `'[a,b]'` or `{a:{b:c}}`.
|
|
95
|
-
* Can be useful when using yaml for pretty URL query params as spaces are %-encoded. (default: false).
|
|
96
|
-
*/
|
|
97
|
-
condenseFlow?: boolean | undefined;
|
|
98
|
-
/** strings will be quoted using this quoting style. If you specify single quotes, double quotes will still be used for non-printable characters. (default: `'`) */
|
|
99
|
-
quotingType?: "'" | '"' | undefined;
|
|
100
|
-
/** if true, all non-key strings will be quoted even if they normally don't need to. (default: false) */
|
|
101
|
-
forceQuotes?: boolean | undefined;
|
|
102
|
-
/** callback `function (key, value)` called recursively on each key/value in source object (see `replacer` docs for `JSON.stringify`). */
|
|
103
|
-
replacer?: ((key: string, value: any) => any) | undefined;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface TypeConstructorOptions {
|
|
107
|
-
kind?: 'sequence' | 'scalar' | 'mapping' | undefined;
|
|
108
|
-
resolve?: ((data: any) => boolean) | undefined;
|
|
109
|
-
construct?: ((data: any, type?: string) => any) | undefined;
|
|
110
|
-
instanceOf?: object | undefined;
|
|
111
|
-
predicate?: ((data: object) => boolean) | undefined;
|
|
112
|
-
represent?: ((data: object) => any) | { [x: string]: (data: object) => any } | undefined;
|
|
113
|
-
representName?: ((data: object) => any) | undefined;
|
|
114
|
-
defaultStyle?: string | undefined;
|
|
115
|
-
multi?: boolean | undefined;
|
|
116
|
-
styleAliases?: { [x: string]: any } | undefined;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface SchemaDefinition {
|
|
120
|
-
implicit?: Type[] | undefined;
|
|
121
|
-
explicit?: Type[] | undefined;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/** only strings, arrays and plain objects: http://www.yaml.org/spec/1.2/spec.html#id2802346 */
|
|
125
|
-
export let FAILSAFE_SCHEMA: Schema;
|
|
126
|
-
/** only strings, arrays and plain objects: http://www.yaml.org/spec/1.2/spec.html#id2802346 */
|
|
127
|
-
export let JSON_SCHEMA: Schema;
|
|
128
|
-
/** same as JSON_SCHEMA: http://www.yaml.org/spec/1.2/spec.html#id2804923 */
|
|
129
|
-
export let CORE_SCHEMA: Schema;
|
|
130
|
-
/** all supported YAML types */
|
|
131
|
-
export let DEFAULT_SCHEMA: Schema;
|
|
132
|
-
|
|
133
|
-
export interface Mark {
|
|
134
|
-
buffer: string;
|
|
135
960
|
column: number;
|
|
136
|
-
|
|
137
|
-
name: string;
|
|
138
|
-
position: number;
|
|
139
|
-
snippet: string;
|
|
961
|
+
snippet?: string | null;
|
|
140
962
|
}
|
|
141
963
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
964
|
+
/**
|
|
965
|
+
* A YAML error. Unlike an ordinary `Error`, it adds a source snippet showing
|
|
966
|
+
* the location of the problem to the error message, when available.
|
|
967
|
+
*
|
|
968
|
+
* @category Main
|
|
969
|
+
*/
|
|
970
|
+
declare class YAMLException extends Error {
|
|
971
|
+
reason: string;
|
|
972
|
+
mark?: SnippetMark;
|
|
973
|
+
/**
|
|
974
|
+
* Optional `mark` contains source snippet data. Usually, use
|
|
975
|
+
* {@link YAMLException.throwAt} instead of passing it directly.
|
|
976
|
+
*/
|
|
977
|
+
constructor(reason: string, mark?: SnippetMark);
|
|
978
|
+
/**
|
|
979
|
+
* Returns the formatted error, omitting the source snippet in compact mode.
|
|
980
|
+
*/
|
|
145
981
|
toString(compact?: boolean): string;
|
|
982
|
+
/**
|
|
983
|
+
* Builds a YAMLException with a source snippet and throws it. `source` is
|
|
984
|
+
* the raw input text; `position` is an offset into it.
|
|
985
|
+
*/
|
|
986
|
+
static throwAt(source: string, position: number, message: string, filename?: string): never;
|
|
987
|
+
}
|
|
146
988
|
|
|
147
|
-
|
|
989
|
+
/**
|
|
990
|
+
* Decodes the scalar referenced by event offsets in `input`.
|
|
991
|
+
*
|
|
992
|
+
* @category Events
|
|
993
|
+
*/
|
|
994
|
+
declare function getScalarValue(input: string, scalar: ScalarEvent): string;
|
|
148
995
|
|
|
149
|
-
|
|
996
|
+
/** @category AST */
|
|
997
|
+
interface FromEventsOptions {
|
|
998
|
+
/** Source text referenced by offsets in `events`. */
|
|
999
|
+
source: string;
|
|
1000
|
+
/** Schema used to resolve implicit scalar tags. */
|
|
1001
|
+
schema: Schema;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Builds an AST from parser events
|
|
1005
|
+
*
|
|
1006
|
+
* @category AST
|
|
1007
|
+
*/
|
|
1008
|
+
declare function eventsToAst(events: Event[], options: FromEventsOptions): Document[];
|
|
1009
|
+
|
|
1010
|
+
/** @category AST */
|
|
1011
|
+
interface FromJsOptions {
|
|
1012
|
+
/** Inlines duplicate objects instead of converting them into references. */
|
|
1013
|
+
noRefs?: boolean;
|
|
1014
|
+
/**
|
|
1015
|
+
* Skips unrepresentable values instead of throwing. Invalid mapping pairs
|
|
1016
|
+
* and sequence items are skipped; `undefined` sequence items become `null`.
|
|
1017
|
+
*/
|
|
1018
|
+
skipInvalid?: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Convert JS object to AST. A JS value is one YAML document. An unrepresentable
|
|
1022
|
+
* root becomes an empty document, which the presenter renders as an empty
|
|
1023
|
+
* string.
|
|
1024
|
+
*
|
|
1025
|
+
* @category AST
|
|
1026
|
+
*/
|
|
1027
|
+
declare function jsToAst(input: unknown, schema: Schema, options?: FromJsOptions): Document[];
|
|
150
1028
|
|
|
151
|
-
|
|
1029
|
+
/**
|
|
1030
|
+
* Default scalar styling rules in application order.
|
|
1031
|
+
* See [Scalar styling](../../docs/scalar_styling.md) for usage details.
|
|
1032
|
+
*
|
|
1033
|
+
* @category AST
|
|
1034
|
+
*/
|
|
1035
|
+
declare const DEFAULT_SCALAR_STYLE_RULES: {
|
|
1036
|
+
readonly applyQuoteFlowKeysOption: typeof applyQuoteFlowKeysOption;
|
|
1037
|
+
readonly doubleQuoteForInvisibles: typeof doubleQuoteForInvisibles;
|
|
1038
|
+
readonly doubleQuoteWhitespaceOnly: typeof doubleQuoteWhitespaceOnly;
|
|
1039
|
+
readonly applyForceQuotesOption: typeof applyForceQuotesOption;
|
|
1040
|
+
readonly tryLongOrMultilineAsBlock: typeof tryLongOrMultilineAsBlock;
|
|
1041
|
+
readonly quoteInvalidPlain: typeof quoteInvalidPlain;
|
|
1042
|
+
readonly fallbackToDoubleQuoted: typeof fallbackToDoubleQuoted;
|
|
1043
|
+
};
|
|
1044
|
+
declare function applyQuoteFlowKeysOption(layout: ScalarLayout): void;
|
|
1045
|
+
declare function doubleQuoteForInvisibles(layout: ScalarLayout): void;
|
|
1046
|
+
declare function doubleQuoteWhitespaceOnly(layout: ScalarLayout): void;
|
|
1047
|
+
declare function applyForceQuotesOption(layout: ScalarLayout): void;
|
|
1048
|
+
declare function tryLongOrMultilineAsBlock(layout: ScalarLayout): void;
|
|
1049
|
+
declare function quoteInvalidPlain(layout: ScalarLayout): void;
|
|
1050
|
+
declare function fallbackToDoubleQuoted(layout: ScalarLayout): void;
|
|
152
1051
|
|
|
153
|
-
|
|
1052
|
+
/**
|
|
1053
|
+
* Return from a visitor to stop the whole traversal.
|
|
1054
|
+
*
|
|
1055
|
+
* @category AST
|
|
1056
|
+
*/
|
|
1057
|
+
declare const VISIT_BREAK: unique symbol;
|
|
1058
|
+
/**
|
|
1059
|
+
* Return from a visitor to skip the current node's children.
|
|
1060
|
+
*
|
|
1061
|
+
* @category AST
|
|
1062
|
+
*/
|
|
1063
|
+
declare const VISIT_SKIP: unique symbol;
|
|
1064
|
+
/** @inline */
|
|
1065
|
+
type VisitControl = typeof VISIT_BREAK | typeof VISIT_SKIP | undefined | void;
|
|
1066
|
+
/**
|
|
1067
|
+
* Traversal-derived position of the current node. Kept off the node itself: a
|
|
1068
|
+
* node may sit in several places (alias/dedup reuse), so depth/role belong to
|
|
1069
|
+
* the walk, not the node. {@link VisitContext.parent} `kind` +
|
|
1070
|
+
* {@link VisitContext.isKey} pin the exact slot.
|
|
1071
|
+
*
|
|
1072
|
+
* @category AST
|
|
1073
|
+
*/
|
|
1074
|
+
interface VisitContext {
|
|
1075
|
+
/** 0 = document content root */
|
|
1076
|
+
depth: number;
|
|
1077
|
+
/** Enclosing sequence/mapping, null at the root */
|
|
1078
|
+
parent: Node | null;
|
|
1079
|
+
/** Node sits in a mapping key position */
|
|
1080
|
+
isKey: boolean;
|
|
154
1081
|
}
|
|
1082
|
+
/** @category AST */
|
|
1083
|
+
type Visitor = (node: Node, ctx: VisitContext) => VisitControl;
|
|
1084
|
+
/**
|
|
1085
|
+
* Walk every node in the documents, calling {@link Visitor} once per
|
|
1086
|
+
* node (pre-order).
|
|
1087
|
+
*
|
|
1088
|
+
* @category AST
|
|
1089
|
+
*/
|
|
1090
|
+
declare function visit(documents: Document[], visitor: Visitor): void;
|
|
1091
|
+
|
|
1092
|
+
/** @deprecated Use `EVENT_ID.DOCUMENT` instead. @internal */
|
|
1093
|
+
declare const EVENT_DOCUMENT: 1;
|
|
1094
|
+
/** @deprecated Use `EVENT_ID.SEQUENCE` instead. @internal */
|
|
1095
|
+
declare const EVENT_SEQUENCE: 2;
|
|
1096
|
+
/** @deprecated Use `EVENT_ID.MAPPING` instead. @internal */
|
|
1097
|
+
declare const EVENT_MAPPING: 3;
|
|
1098
|
+
/** @deprecated Use `EVENT_ID.SCALAR` instead. @internal */
|
|
1099
|
+
declare const EVENT_SCALAR: 4;
|
|
1100
|
+
/** @deprecated Use `EVENT_ID.ALIAS` instead. @internal */
|
|
1101
|
+
declare const EVENT_ALIAS: 5;
|
|
1102
|
+
/** @deprecated Use `EVENT_ID.POP` instead. @internal */
|
|
1103
|
+
declare const EVENT_POP: 6;
|
|
1104
|
+
/** @deprecated Use `SCALAR_STYLE.PLAIN` instead. @internal */
|
|
1105
|
+
declare const SCALAR_STYLE_PLAIN: 1;
|
|
1106
|
+
/** @deprecated Use `SCALAR_STYLE.SINGLE_QUOTED` instead. @internal */
|
|
1107
|
+
declare const SCALAR_STYLE_SINGLE_QUOTED: 2;
|
|
1108
|
+
/** @deprecated Use `SCALAR_STYLE.DOUBLE_QUOTED` instead. @internal */
|
|
1109
|
+
declare const SCALAR_STYLE_DOUBLE_QUOTED: 3;
|
|
1110
|
+
/** @deprecated Use `SCALAR_STYLE.LITERAL_BLOCK` instead. @internal */
|
|
1111
|
+
declare const SCALAR_STYLE_LITERAL_BLOCK: 4;
|
|
1112
|
+
/** @deprecated Use `SCALAR_STYLE.FOLDED_BLOCK` instead. @internal */
|
|
1113
|
+
declare const SCALAR_STYLE_FOLDED_BLOCK: 5;
|
|
1114
|
+
/** @deprecated Use `COLLECTION_STYLE.BLOCK` instead. @internal */
|
|
1115
|
+
declare const COLLECTION_STYLE_BLOCK: 1;
|
|
1116
|
+
/** @deprecated Use `COLLECTION_STYLE.FLOW` instead. @internal */
|
|
1117
|
+
declare const COLLECTION_STYLE_FLOW: 2;
|
|
1118
|
+
/** @deprecated Use `CHOMPING_MODE.CLIP` instead. @internal */
|
|
1119
|
+
declare const CHOMPING_CLIP: 1;
|
|
1120
|
+
/** @deprecated Use `CHOMPING_MODE.STRIP` instead. @internal */
|
|
1121
|
+
declare const CHOMPING_STRIP: 2;
|
|
1122
|
+
/** @deprecated Use `CHOMPING_MODE.KEEP` instead. @internal */
|
|
1123
|
+
declare const CHOMPING_KEEP: 3;
|
|
1124
|
+
|
|
1125
|
+
export { CHOMPING_CLIP, CHOMPING_KEEP, CHOMPING_MODE, CHOMPING_STRIP, COLLECTION_STYLE, COLLECTION_STYLE_BLOCK, COLLECTION_STYLE_FLOW, CORE_SCHEMA, DEFAULT_SCALAR_STYLE_RULES, DUMP_SCHEMA, EVENT_ALIAS, EVENT_DOCUMENT, EVENT_ID, EVENT_MAPPING, EVENT_POP, EVENT_SCALAR, EVENT_SEQUENCE, FAILSAFE_SCHEMA, JSON_SCHEMA, NOT_RESOLVED, SCALAR_STYLE, SCALAR_STYLE_DOUBLE_QUOTED, SCALAR_STYLE_FOLDED_BLOCK, SCALAR_STYLE_LITERAL_BLOCK, SCALAR_STYLE_PLAIN, SCALAR_STYLE_SINGLE_QUOTED, Schema, VISIT_BREAK, VISIT_SKIP, YAML11_SCHEMA, YAMLException, binaryTag, boolCoreTag, boolJsonTag, boolYaml11Tag, constructFromEvents, defineMappingTag, defineScalarTag, defineSequenceTag, dump, eventsToAst, floatCoreTag, floatJsonTag, floatYaml11Tag, getScalarValue, intCoreTag, intJsonTag, intYaml11Tag, jsToAst, legacyMapTag, load, loadAll, mapTag, mergeTag, nullCoreTag, nullJsonTag, nullYaml11Tag, omapTag, pairsTag, parseEvents, present, realMapTag, seqTag, setTag, strTag, timestampTag, visit };
|
|
1126
|
+
export type { AliasEvent, AliasNode, ChompingMode, CollectionStyle, ConstructorOptions, Document, DocumentDirective, DocumentEvent, DumpOptions, Event, EventId, FromEventsOptions, FromJsOptions, LoadOptions, MappingEvent, MappingNode, MappingTagDefinition, MappingTagOptions, Node, NodeBase, ParserOptions, PopEvent, PresenterOptions, ScalarEvent, ScalarLayout, ScalarNode, ScalarStyle, ScalarStyleRule, ScalarTagDefinition, ScalarTagOptions, SequenceEvent, SequenceNode, SequenceTagDefinition, SequenceTagOptions, TagDefinition, VisitContext, Visitor };
|