@bleedingdev/modern-js-utils 3.9.0-ultramodern.8 → 3.9.3-ultramodern.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cli/applyOptionsChain.js +1 -1
- package/dist/cjs/cli/get/config.js +1 -1
- package/dist/cjs/cli/is/config.js +1 -1
- package/dist/cjs/cli/require.js +3 -7
- package/dist/cjs/compiled.js +28 -34
- package/dist/cjs/fast-glob.js +50 -0
- package/dist/cjs/watch-options.js +18 -0
- package/dist/compiled/address/LICENSE.txt +22 -0
- package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
- package/dist/compiled/address/index.d.mts +50 -0
- package/dist/compiled/address/index.d.ts +50 -0
- package/dist/compiled/address/index.js +189 -136
- package/dist/compiled/address/index.mjs +187 -0
- package/dist/compiled/address/licenses-cjs.txt +24 -0
- package/dist/compiled/address/licenses-esm.txt +24 -0
- package/dist/compiled/address/package.json +1 -1
- package/dist/compiled/address/provenance.json +22 -0
- package/dist/compiled/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/index.d.ts +51 -5
- package/dist/compiled/browserslist/index.js +1763 -820
- package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
- package/dist/compiled/browserslist/package.json +1 -1
- package/dist/compiled/browserslist/provenance.json +19 -0
- package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
- package/dist/compiled/chalk/index.d.mts +677 -0
- package/dist/compiled/chalk/index.d.ts +619 -357
- package/dist/compiled/chalk/index.js +734 -2343
- package/dist/compiled/chalk/index.mjs +761 -0
- package/dist/compiled/chalk/license +1 -1
- package/dist/compiled/chalk/licenses-cjs.txt +11 -0
- package/dist/compiled/chalk/licenses-esm.txt +11 -0
- package/dist/compiled/chalk/package.json +1 -1
- package/dist/compiled/chalk/provenance.json +19 -0
- package/dist/compiled/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
- package/dist/compiled/chokidar/index.d.mts +385 -0
- package/dist/compiled/chokidar/index.d.ts +385 -0
- package/dist/compiled/chokidar/index.js +1437 -4099
- package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
- package/dist/compiled/chokidar/index.mjs +1492 -0
- package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
- package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
- package/dist/compiled/chokidar/licenses-esm.txt +48 -0
- package/dist/compiled/chokidar/package.json +1 -1
- package/dist/compiled/chokidar/provenance.json +27 -0
- package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
- package/dist/compiled/commander/index.d.mts +1116 -0
- package/dist/compiled/commander/index.d.ts +1116 -0
- package/dist/compiled/commander/index.js +1738 -1499
- package/dist/compiled/commander/index.mjs +1778 -2
- package/dist/compiled/commander/licenses-cjs.txt +24 -0
- package/dist/compiled/commander/licenses-esm.txt +24 -0
- package/dist/compiled/commander/package.json +1 -1
- package/dist/compiled/commander/provenance.json +22 -0
- package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
- package/dist/compiled/debug/index.d.ts +79 -16
- package/dist/compiled/debug/index.js +172 -106
- package/dist/compiled/debug/licenses-cjs.txt +60 -0
- package/dist/compiled/debug/package.json +1 -1
- package/dist/compiled/debug/provenance.json +27 -0
- package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
- package/dist/compiled/dotenv-expand/index.d.ts +48 -10
- package/dist/compiled/dotenv-expand/index.js +65 -41
- package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
- package/dist/compiled/dotenv-expand/package.json +1 -1
- package/dist/compiled/dotenv-expand/provenance.json +22 -0
- package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
- package/dist/compiled/execa/index.d.mts +2451 -0
- package/dist/compiled/execa/index.d.ts +2301 -414
- package/dist/compiled/execa/index.js +6485 -1681
- package/dist/compiled/execa/index.mjs +6541 -0
- package/dist/compiled/execa/licenses-cjs.txt +443 -0
- package/dist/compiled/execa/licenses-esm.txt +443 -0
- package/dist/compiled/execa/package.json +1 -1
- package/dist/compiled/execa/provenance.json +19 -0
- package/dist/compiled/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/index.d.mts +98 -0
- package/dist/compiled/filesize/index.d.ts +98 -0
- package/dist/compiled/filesize/index.js +425 -185
- package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
- package/dist/compiled/filesize/index.mjs +450 -0
- package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
- package/dist/compiled/filesize/licenses-cjs.txt +29 -0
- package/dist/compiled/filesize/licenses-esm.txt +29 -0
- package/dist/compiled/filesize/package.json +1 -1
- package/dist/compiled/filesize/provenance.json +22 -0
- package/dist/compiled/fs-extra/LICENSE +15 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
- package/dist/compiled/fs-extra/index.d.ts +997 -496
- package/dist/compiled/fs-extra/index.js +1142 -1355
- package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
- package/dist/compiled/fs-extra/package.json +1 -1
- package/dist/compiled/fs-extra/provenance.json +27 -0
- package/dist/compiled/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
- package/dist/compiled/glob/index.d.mts +3823 -0
- package/dist/compiled/glob/index.d.ts +3823 -91
- package/dist/compiled/glob/index.js +3612 -1937
- package/dist/compiled/glob/index.mjs +3467 -0
- package/dist/compiled/glob/licenses-cjs.txt +65 -0
- package/dist/compiled/glob/licenses-esm.txt +65 -0
- package/dist/compiled/glob/package.json +1 -1
- package/dist/compiled/glob/provenance.json +42 -0
- package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
- package/dist/compiled/globby/index.d.mts +422 -0
- package/dist/compiled/globby/index.d.ts +364 -128
- package/dist/compiled/globby/index.js +4417 -521
- package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
- package/dist/compiled/globby/index.mjs +4572 -0
- package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
- package/dist/compiled/globby/license +1 -1
- package/dist/compiled/globby/licenses-cjs.txt +237 -0
- package/dist/compiled/globby/licenses-esm.txt +237 -0
- package/dist/compiled/globby/package.json +1 -1
- package/dist/compiled/globby/provenance.json +19 -0
- package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
- package/dist/compiled/gzip-size/index.d.mts +106 -0
- package/dist/compiled/gzip-size/index.d.ts +91 -81
- package/dist/compiled/gzip-size/index.js +117 -94
- package/dist/compiled/gzip-size/index.mjs +170 -0
- package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
- package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
- package/dist/compiled/gzip-size/package.json +1 -1
- package/dist/compiled/gzip-size/provenance.json +19 -0
- package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
- package/dist/compiled/import-lazy/index.d.ts +2 -2
- package/dist/compiled/import-lazy/index.js +18 -19
- package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
- package/dist/compiled/import-lazy/package.json +1 -1
- package/dist/compiled/import-lazy/provenance.json +19 -0
- package/dist/compiled/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/index.d.mts +790 -0
- package/dist/compiled/inquirer/index.d.ts +727 -934
- package/dist/compiled/inquirer/index.js +5975 -14467
- package/dist/compiled/inquirer/index.mjs +11624 -0
- package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
- package/dist/compiled/inquirer/licenses-esm.txt +619 -0
- package/dist/compiled/inquirer/package.json +1 -1
- package/dist/compiled/inquirer/provenance.json +92 -0
- package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
- package/dist/compiled/js-yaml/index.d.mts +1126 -0
- package/dist/compiled/js-yaml/index.d.ts +1114 -142
- package/dist/compiled/js-yaml/index.js +20 -21
- package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/index.mjs +5 -4
- package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
- package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
- package/dist/compiled/js-yaml/package.json +1 -1
- package/dist/compiled/js-yaml/provenance.json +19 -0
- package/dist/compiled/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/index.d.ts +103 -0
- package/dist/compiled/json5/index.js +11 -11
- package/dist/compiled/json5/licenses-cjs.txt +25 -0
- package/dist/compiled/json5/package.json +1 -1
- package/dist/compiled/json5/provenance.json +22 -0
- package/dist/compiled/lodash/add.d.ts +2 -0
- package/dist/compiled/lodash/after.d.ts +2 -0
- package/dist/compiled/lodash/ary.d.ts +2 -0
- package/dist/compiled/lodash/assign.d.ts +2 -0
- package/dist/compiled/lodash/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/at.d.ts +2 -0
- package/dist/compiled/lodash/attempt.d.ts +2 -0
- package/dist/compiled/lodash/before.d.ts +2 -0
- package/dist/compiled/lodash/bind.d.ts +2 -0
- package/dist/compiled/lodash/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/castArray.d.ts +2 -0
- package/dist/compiled/lodash/ceil.d.ts +2 -0
- package/dist/compiled/lodash/chain.d.ts +2 -0
- package/dist/compiled/lodash/chunk.d.ts +2 -0
- package/dist/compiled/lodash/clamp.d.ts +2 -0
- package/dist/compiled/lodash/clone.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/common/array.d.ts +56 -22
- package/dist/compiled/lodash/common/collection.d.ts +9 -1
- package/dist/compiled/lodash/common/common.d.ts +17 -10
- package/dist/compiled/lodash/common/function.d.ts +10 -1
- package/dist/compiled/lodash/common/lang.d.ts +8 -5
- package/dist/compiled/lodash/common/math.d.ts +3 -1
- package/dist/compiled/lodash/common/object.d.ts +141 -17
- package/dist/compiled/lodash/common/seq.d.ts +2 -2
- package/dist/compiled/lodash/common/string.d.ts +17 -17
- package/dist/compiled/lodash/compact.d.ts +2 -0
- package/dist/compiled/lodash/concat.d.ts +2 -0
- package/dist/compiled/lodash/cond.d.ts +2 -0
- package/dist/compiled/lodash/conforms.d.ts +2 -0
- package/dist/compiled/lodash/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/constant.d.ts +2 -0
- package/dist/compiled/lodash/countBy.d.ts +2 -0
- package/dist/compiled/lodash/create.d.ts +2 -0
- package/dist/compiled/lodash/curry.d.ts +2 -0
- package/dist/compiled/lodash/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/debounce.d.ts +2 -0
- package/dist/compiled/lodash/deburr.d.ts +2 -0
- package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
- package/dist/compiled/lodash/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/defaults.d.ts +2 -0
- package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/defer.d.ts +2 -0
- package/dist/compiled/lodash/delay.d.ts +2 -0
- package/dist/compiled/lodash/difference.d.ts +2 -0
- package/dist/compiled/lodash/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/divide.d.ts +2 -0
- package/dist/compiled/lodash/drop.d.ts +2 -0
- package/dist/compiled/lodash/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/each.d.ts +2 -0
- package/dist/compiled/lodash/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/entries.d.ts +2 -0
- package/dist/compiled/lodash/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/eq.d.ts +2 -0
- package/dist/compiled/lodash/escape.d.ts +2 -0
- package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/every.d.ts +2 -0
- package/dist/compiled/lodash/extend.d.ts +2 -0
- package/dist/compiled/lodash/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fill.d.ts +2 -0
- package/dist/compiled/lodash/filter.d.ts +2 -0
- package/dist/compiled/lodash/find.d.ts +2 -0
- package/dist/compiled/lodash/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/findKey.d.ts +2 -0
- package/dist/compiled/lodash/findLast.d.ts +2 -0
- package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/first.d.ts +2 -0
- package/dist/compiled/lodash/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/flatten.d.ts +2 -0
- package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/flip.d.ts +2 -0
- package/dist/compiled/lodash/floor.d.ts +2 -0
- package/dist/compiled/lodash/flow.d.ts +2 -0
- package/dist/compiled/lodash/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/forEach.d.ts +2 -0
- package/dist/compiled/lodash/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/forIn.d.ts +2 -0
- package/dist/compiled/lodash/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/F.d.ts +2 -0
- package/dist/compiled/lodash/fp/T.d.ts +2 -0
- package/dist/compiled/lodash/fp/__.d.ts +3 -0
- package/dist/compiled/lodash/fp/add.d.ts +2 -0
- package/dist/compiled/lodash/fp/after.d.ts +2 -0
- package/dist/compiled/lodash/fp/all.d.ts +2 -0
- package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/always.d.ts +2 -0
- package/dist/compiled/lodash/fp/any.d.ts +2 -0
- package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/apply.d.ts +2 -0
- package/dist/compiled/lodash/fp/ary.d.ts +2 -0
- package/dist/compiled/lodash/fp/assign.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/at.d.ts +2 -0
- package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
- package/dist/compiled/lodash/fp/before.d.ts +2 -0
- package/dist/compiled/lodash/fp/bind.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
- package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
- package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
- package/dist/compiled/lodash/fp/clone.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/compact.d.ts +2 -0
- package/dist/compiled/lodash/fp/complement.d.ts +2 -0
- package/dist/compiled/lodash/fp/compose.d.ts +2 -0
- package/dist/compiled/lodash/fp/concat.d.ts +2 -0
- package/dist/compiled/lodash/fp/cond.d.ts +2 -0
- package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
- package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/constant.d.ts +2 -0
- package/dist/compiled/lodash/fp/contains.d.ts +2 -0
- package/dist/compiled/lodash/fp/convert.d.ts +15 -0
- package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/create.d.ts +2 -0
- package/dist/compiled/lodash/fp/curry.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
- package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
- package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defer.d.ts +2 -0
- package/dist/compiled/lodash/fp/delay.d.ts +2 -0
- package/dist/compiled/lodash/fp/difference.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/divide.d.ts +2 -0
- package/dist/compiled/lodash/fp/drop.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/each.d.ts +2 -0
- package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/entries.d.ts +2 -0
- package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/eq.d.ts +2 -0
- package/dist/compiled/lodash/fp/equals.d.ts +2 -0
- package/dist/compiled/lodash/fp/escape.d.ts +2 -0
- package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/every.d.ts +2 -0
- package/dist/compiled/lodash/fp/extend.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/fill.d.ts +2 -0
- package/dist/compiled/lodash/fp/filter.d.ts +2 -0
- package/dist/compiled/lodash/fp/find.d.ts +2 -0
- package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/first.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flip.d.ts +2 -0
- package/dist/compiled/lodash/fp/floor.d.ts +2 -0
- package/dist/compiled/lodash/fp/flow.d.ts +2 -0
- package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/functions.d.ts +2 -0
- package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/get.d.ts +2 -0
- package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/gt.d.ts +2 -0
- package/dist/compiled/lodash/fp/gte.d.ts +2 -0
- package/dist/compiled/lodash/fp/has.d.ts +2 -0
- package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/head.d.ts +2 -0
- package/dist/compiled/lodash/fp/identical.d.ts +2 -0
- package/dist/compiled/lodash/fp/identity.d.ts +2 -0
- package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
- package/dist/compiled/lodash/fp/includes.d.ts +2 -0
- package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/init.d.ts +2 -0
- package/dist/compiled/lodash/fp/initial.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/invert.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
- package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isError.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/isString.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/fp/join.d.ts +2 -0
- package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
- package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/keys.d.ts +2 -0
- package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/last.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/lt.d.ts +2 -0
- package/dist/compiled/lodash/fp/lte.d.ts +2 -0
- package/dist/compiled/lodash/fp/map.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/fp/matches.d.ts +2 -0
- package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/fp/max.d.ts +2 -0
- package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/mean.d.ts +2 -0
- package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
- package/dist/compiled/lodash/fp/merge.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/method.d.ts +2 -0
- package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/min.d.ts +2 -0
- package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
- package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
- package/dist/compiled/lodash/fp/negate.d.ts +2 -0
- package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/fp/noop.d.ts +2 -0
- package/dist/compiled/lodash/fp/now.d.ts +2 -0
- package/dist/compiled/lodash/fp/nth.d.ts +2 -0
- package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/fp/omit.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/once.d.ts +2 -0
- package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/over.d.ts +2 -0
- package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
- package/dist/compiled/lodash/fp/pad.d.ts +2 -0
- package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/fp/partial.d.ts +2 -0
- package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/partition.d.ts +2 -0
- package/dist/compiled/lodash/fp/path.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/paths.d.ts +2 -0
- package/dist/compiled/lodash/fp/pick.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
- package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
- package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
- package/dist/compiled/lodash/fp/prop.d.ts +2 -0
- package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/property.d.ts +2 -0
- package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/props.d.ts +2 -0
- package/dist/compiled/lodash/fp/pull.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/fp/random.d.ts +2 -0
- package/dist/compiled/lodash/fp/range.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/reject.d.ts +2 -0
- package/dist/compiled/lodash/fp/remove.d.ts +2 -0
- package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
- package/dist/compiled/lodash/fp/replace.d.ts +2 -0
- package/dist/compiled/lodash/fp/rest.d.ts +2 -0
- package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/result.d.ts +2 -0
- package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
- package/dist/compiled/lodash/fp/round.d.ts +2 -0
- package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/fp/sample.d.ts +2 -0
- package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/fp/set.d.ts +2 -0
- package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/fp/size.d.ts +2 -0
- package/dist/compiled/lodash/fp/slice.d.ts +2 -0
- package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/some.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/split.d.ts +2 -0
- package/dist/compiled/lodash/fp/spread.d.ts +2 -0
- package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
- package/dist/compiled/lodash/fp/sum.d.ts +2 -0
- package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/tail.d.ts +2 -0
- package/dist/compiled/lodash/fp/take.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/tap.d.ts +2 -0
- package/dist/compiled/lodash/fp/template.d.ts +2 -0
- package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
- package/dist/compiled/lodash/fp/thru.d.ts +2 -0
- package/dist/compiled/lodash/fp/times.d.ts +2 -0
- package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
- package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toString.d.ts +2 -0
- package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/fp/transform.d.ts +2 -0
- package/dist/compiled/lodash/fp/trim.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
- package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
- package/dist/compiled/lodash/fp/unary.d.ts +2 -0
- package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
- package/dist/compiled/lodash/fp/union.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
- package/dist/compiled/lodash/fp/unset.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/update.d.ts +2 -0
- package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/values.d.ts +2 -0
- package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/where.d.ts +2 -0
- package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/without.d.ts +2 -0
- package/dist/compiled/lodash/fp/words.d.ts +2 -0
- package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
- package/dist/compiled/lodash/fp/xor.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/zip.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp.d.ts +4962 -0
- package/dist/compiled/lodash/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/functions.d.ts +2 -0
- package/dist/compiled/lodash/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/get.d.ts +2 -0
- package/dist/compiled/lodash/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/gt.d.ts +2 -0
- package/dist/compiled/lodash/gte.d.ts +2 -0
- package/dist/compiled/lodash/has.d.ts +2 -0
- package/dist/compiled/lodash/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/head.d.ts +2 -0
- package/dist/compiled/lodash/identity.d.ts +2 -0
- package/dist/compiled/lodash/inRange.d.ts +2 -0
- package/dist/compiled/lodash/includes.d.ts +2 -0
- package/dist/compiled/lodash/index.d.ts +1 -16
- package/dist/compiled/lodash/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/initial.d.ts +2 -0
- package/dist/compiled/lodash/intersection.d.ts +2 -0
- package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/invert.d.ts +2 -0
- package/dist/compiled/lodash/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/invoke.d.ts +2 -0
- package/dist/compiled/lodash/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/isArray.d.ts +2 -0
- package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isDate.d.ts +2 -0
- package/dist/compiled/lodash/isElement.d.ts +2 -0
- package/dist/compiled/lodash/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/isError.d.ts +2 -0
- package/dist/compiled/lodash/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/isLength.d.ts +2 -0
- package/dist/compiled/lodash/isMap.d.ts +2 -0
- package/dist/compiled/lodash/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/isNative.d.ts +2 -0
- package/dist/compiled/lodash/isNil.d.ts +2 -0
- package/dist/compiled/lodash/isNull.d.ts +2 -0
- package/dist/compiled/lodash/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/isObject.d.ts +2 -0
- package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/isSet.d.ts +2 -0
- package/dist/compiled/lodash/isString.d.ts +2 -0
- package/dist/compiled/lodash/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/join.d.ts +2 -0
- package/dist/compiled/lodash/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/keys.d.ts +2 -0
- package/dist/compiled/lodash/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/last.d.ts +2 -0
- package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/licenses-cjs.txt +49 -0
- package/dist/compiled/lodash/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/lt.d.ts +2 -0
- package/dist/compiled/lodash/lte.d.ts +2 -0
- package/dist/compiled/lodash/map.d.ts +2 -0
- package/dist/compiled/lodash/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/matches.d.ts +2 -0
- package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/max.d.ts +2 -0
- package/dist/compiled/lodash/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/mean.d.ts +2 -0
- package/dist/compiled/lodash/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/memoize.d.ts +2 -0
- package/dist/compiled/lodash/merge.d.ts +2 -0
- package/dist/compiled/lodash/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/method.d.ts +2 -0
- package/dist/compiled/lodash/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/min.d.ts +2 -0
- package/dist/compiled/lodash/minBy.d.ts +2 -0
- package/dist/compiled/lodash/mixin.d.ts +2 -0
- package/dist/compiled/lodash/multiply.d.ts +2 -0
- package/dist/compiled/lodash/negate.d.ts +2 -0
- package/dist/compiled/lodash/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/noop.d.ts +2 -0
- package/dist/compiled/lodash/now.d.ts +2 -0
- package/dist/compiled/lodash/nth.d.ts +2 -0
- package/dist/compiled/lodash/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/omit.d.ts +2 -0
- package/dist/compiled/lodash/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/once.d.ts +2 -0
- package/dist/compiled/lodash/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/over.d.ts +2 -0
- package/dist/compiled/lodash/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/overSome.d.ts +2 -0
- package/dist/compiled/lodash/package.json +1 -1
- package/dist/compiled/lodash/pad.d.ts +2 -0
- package/dist/compiled/lodash/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/padStart.d.ts +2 -0
- package/dist/compiled/lodash/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/partial.d.ts +2 -0
- package/dist/compiled/lodash/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/partition.d.ts +2 -0
- package/dist/compiled/lodash/pick.d.ts +2 -0
- package/dist/compiled/lodash/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/property.d.ts +2 -0
- package/dist/compiled/lodash/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/provenance.json +19 -0
- package/dist/compiled/lodash/pull.d.ts +2 -0
- package/dist/compiled/lodash/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/random.d.ts +2 -0
- package/dist/compiled/lodash/range.d.ts +2 -0
- package/dist/compiled/lodash/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/rearg.d.ts +2 -0
- package/dist/compiled/lodash/reduce.d.ts +2 -0
- package/dist/compiled/lodash/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/reject.d.ts +2 -0
- package/dist/compiled/lodash/remove.d.ts +2 -0
- package/dist/compiled/lodash/repeat.d.ts +2 -0
- package/dist/compiled/lodash/replace.d.ts +2 -0
- package/dist/compiled/lodash/rest.d.ts +2 -0
- package/dist/compiled/lodash/result.d.ts +2 -0
- package/dist/compiled/lodash/reverse.d.ts +2 -0
- package/dist/compiled/lodash/round.d.ts +2 -0
- package/dist/compiled/lodash/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/sample.d.ts +2 -0
- package/dist/compiled/lodash/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/set.d.ts +2 -0
- package/dist/compiled/lodash/setWith.d.ts +2 -0
- package/dist/compiled/lodash/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/size.d.ts +2 -0
- package/dist/compiled/lodash/slice.d.ts +2 -0
- package/dist/compiled/lodash/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/some.d.ts +2 -0
- package/dist/compiled/lodash/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/split.d.ts +2 -0
- package/dist/compiled/lodash/spread.d.ts +2 -0
- package/dist/compiled/lodash/startCase.d.ts +2 -0
- package/dist/compiled/lodash/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/stubString.d.ts +2 -0
- package/dist/compiled/lodash/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/subtract.d.ts +2 -0
- package/dist/compiled/lodash/sum.d.ts +2 -0
- package/dist/compiled/lodash/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/tail.d.ts +2 -0
- package/dist/compiled/lodash/take.d.ts +2 -0
- package/dist/compiled/lodash/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/tap.d.ts +2 -0
- package/dist/compiled/lodash/template.d.ts +2 -0
- package/dist/compiled/lodash/throttle.d.ts +2 -0
- package/dist/compiled/lodash/thru.d.ts +2 -0
- package/dist/compiled/lodash/times.d.ts +2 -0
- package/dist/compiled/lodash/toArray.d.ts +2 -0
- package/dist/compiled/lodash/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/toLength.d.ts +2 -0
- package/dist/compiled/lodash/toLower.d.ts +2 -0
- package/dist/compiled/lodash/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/toPath.d.ts +2 -0
- package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/toString.d.ts +2 -0
- package/dist/compiled/lodash/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/transform.d.ts +2 -0
- package/dist/compiled/lodash/trim.d.ts +2 -0
- package/dist/compiled/lodash/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/truncate.d.ts +2 -0
- package/dist/compiled/lodash/unary.d.ts +2 -0
- package/dist/compiled/lodash/unescape.d.ts +2 -0
- package/dist/compiled/lodash/union.d.ts +2 -0
- package/dist/compiled/lodash/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/uniq.d.ts +2 -0
- package/dist/compiled/lodash/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/unset.d.ts +2 -0
- package/dist/compiled/lodash/unzip.d.ts +2 -0
- package/dist/compiled/lodash/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/update.d.ts +2 -0
- package/dist/compiled/lodash/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/values.d.ts +2 -0
- package/dist/compiled/lodash/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/without.d.ts +2 -0
- package/dist/compiled/lodash/words.d.ts +2 -0
- package/dist/compiled/lodash/wrap.d.ts +2 -0
- package/dist/compiled/lodash/xor.d.ts +2 -0
- package/dist/compiled/lodash/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/zip.d.ts +2 -0
- package/dist/compiled/lodash/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/zipWith.d.ts +2 -0
- package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
- package/dist/compiled/mime-types/index.d.ts +15 -12
- package/dist/compiled/mime-types/index.js +74 -28
- package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
- package/dist/compiled/mime-types/package.json +1 -1
- package/dist/compiled/mime-types/provenance.json +19 -0
- package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
- package/dist/compiled/minimist/index.d.ts +3 -11
- package/dist/compiled/minimist/index.js +103 -104
- package/dist/compiled/minimist/licenses-cjs.txt +20 -0
- package/dist/compiled/minimist/package.json +1 -1
- package/dist/compiled/minimist/provenance.json +22 -0
- package/dist/compiled/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/index.d.mts +108 -0
- package/dist/compiled/nanoid/index.d.ts +31 -14
- package/dist/compiled/nanoid/index.js +117 -74
- package/dist/compiled/nanoid/index.mjs +98 -48
- package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
- package/dist/compiled/nanoid/licenses-esm.txt +22 -0
- package/dist/compiled/nanoid/package.json +1 -1
- package/dist/compiled/nanoid/provenance.json +19 -0
- package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
- package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
- package/dist/compiled/ora/index.d.mts +501 -0
- package/dist/compiled/ora/index.d.ts +428 -204
- package/dist/compiled/ora/index.js +2121 -3893
- package/dist/compiled/ora/index.mjs +2155 -0
- package/dist/compiled/ora/licenses-cjs.txt +226 -0
- package/dist/compiled/ora/licenses-esm.txt +226 -0
- package/dist/compiled/ora/package.json +1 -1
- package/dist/compiled/ora/provenance.json +24 -0
- package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
- package/dist/compiled/pkg-up/index.d.ts +9 -9
- package/dist/compiled/pkg-up/index.js +47 -14
- package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
- package/dist/compiled/pkg-up/package.json +1 -1
- package/dist/compiled/pkg-up/provenance.json +18 -0
- package/dist/compiled/semver/classes/comparator.d.ts +3 -3
- package/dist/compiled/semver/classes/range.d.ts +6 -6
- package/dist/compiled/semver/classes/semver.d.ts +11 -4
- package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
- package/dist/compiled/semver/functions/clean.d.ts +1 -1
- package/dist/compiled/semver/functions/cmp.d.ts +2 -2
- package/dist/compiled/semver/functions/coerce.d.ts +2 -2
- package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
- package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
- package/dist/compiled/semver/functions/compare.d.ts +2 -2
- package/dist/compiled/semver/functions/diff.d.ts +3 -7
- package/dist/compiled/semver/functions/eq.d.ts +2 -2
- package/dist/compiled/semver/functions/gt.d.ts +2 -2
- package/dist/compiled/semver/functions/gte.d.ts +2 -2
- package/dist/compiled/semver/functions/inc.d.ts +15 -4
- package/dist/compiled/semver/functions/lt.d.ts +2 -2
- package/dist/compiled/semver/functions/lte.d.ts +2 -2
- package/dist/compiled/semver/functions/major.d.ts +2 -2
- package/dist/compiled/semver/functions/minor.d.ts +2 -2
- package/dist/compiled/semver/functions/neq.d.ts +2 -2
- package/dist/compiled/semver/functions/parse.d.ts +15 -4
- package/dist/compiled/semver/functions/patch.d.ts +2 -2
- package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
- package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
- package/dist/compiled/semver/functions/rsort.d.ts +2 -2
- package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
- package/dist/compiled/semver/functions/sort.d.ts +2 -2
- package/dist/compiled/semver/functions/truncate.d.ts +10 -0
- package/dist/compiled/semver/functions/valid.d.ts +2 -2
- package/dist/compiled/semver/index.d.ts +82 -77
- package/dist/compiled/semver/index.js +639 -1026
- package/dist/compiled/semver/licenses-cjs.txt +17 -0
- package/dist/compiled/semver/package.json +1 -1
- package/dist/compiled/semver/preload.d.ts +2 -0
- package/dist/compiled/semver/provenance.json +22 -0
- package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
- package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
- package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
- package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
- package/dist/compiled/semver/ranges/outside.d.ts +5 -5
- package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
- package/dist/compiled/semver/ranges/subset.d.ts +3 -7
- package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
- package/dist/compiled/semver/ranges/valid.d.ts +3 -3
- package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
- package/dist/compiled/signale/index.d.ts +22 -29
- package/dist/compiled/signale/index.js +2934 -613
- package/dist/compiled/signale/license.md +21 -0
- package/dist/compiled/signale/licenses-cjs.txt +468 -0
- package/dist/compiled/signale/package.json +1 -1
- package/dist/compiled/signale/provenance.json +19 -0
- package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
- package/dist/compiled/slash/index.d.mts +25 -0
- package/dist/compiled/slash/index.d.ts +4 -4
- package/dist/compiled/slash/index.js +31 -27
- package/dist/compiled/slash/index.mjs +25 -0
- package/dist/compiled/slash/license +1 -1
- package/dist/compiled/slash/licenses-cjs.txt +11 -0
- package/dist/compiled/slash/licenses-esm.txt +11 -0
- package/dist/compiled/slash/package.json +1 -1
- package/dist/compiled/slash/provenance.json +19 -0
- package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
- package/dist/compiled/strip-ansi/index.d.mts +17 -0
- package/dist/compiled/strip-ansi/index.d.ts +2 -2
- package/dist/compiled/strip-ansi/index.js +39 -29
- package/dist/compiled/strip-ansi/index.mjs +33 -0
- package/dist/compiled/strip-ansi/license +1 -1
- package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
- package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
- package/dist/compiled/strip-ansi/package.json +1 -1
- package/dist/compiled/strip-ansi/provenance.json +19 -0
- package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
- package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
- package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
- package/dist/compiled/tsconfig-paths/index.js +256 -243
- package/dist/compiled/tsconfig-paths/index.mjs +2 -2
- package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
- package/dist/compiled/tsconfig-paths/package.json +1 -1
- package/dist/compiled/tsconfig-paths/provenance.json +19 -0
- package/dist/compiled/upath/LICENSE +22 -0
- package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
- package/dist/compiled/upath/index.d.mts +84 -0
- package/dist/compiled/upath/index.d.ts +84 -0
- package/dist/compiled/upath/index.js +173 -110
- package/dist/compiled/upath/index.mjs +236 -0
- package/dist/compiled/upath/licenses-cjs.txt +24 -0
- package/dist/compiled/upath/licenses-esm.txt +24 -0
- package/dist/compiled/upath/package.json +1 -1
- package/dist/compiled/upath/provenance.json +22 -0
- package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
- package/dist/compiled/url-join/index.d.mts +9 -0
- package/dist/compiled/url-join/index.d.ts +3 -11
- package/dist/compiled/url-join/index.js +55 -55
- package/dist/compiled/url-join/index.mjs +50 -0
- package/dist/compiled/url-join/licenses-cjs.txt +23 -0
- package/dist/compiled/url-join/licenses-esm.txt +23 -0
- package/dist/compiled/url-join/package.json +1 -1
- package/dist/compiled/url-join/provenance.json +22 -0
- package/dist/esm/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm/cli/get/config.mjs +1 -1
- package/dist/esm/cli/is/config.mjs +1 -1
- package/dist/esm/cli/require.mjs +4 -5
- package/dist/esm/compiled.mjs +22 -31
- package/dist/esm/fast-glob.mjs +1 -0
- package/dist/esm/watch-options.mjs +0 -0
- package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm-node/cli/get/config.mjs +1 -1
- package/dist/esm-node/cli/is/config.mjs +1 -1
- package/dist/esm-node/cli/require.mjs +4 -5
- package/dist/esm-node/compiled.mjs +22 -30
- package/dist/esm-node/fast-glob.mjs +2 -0
- package/dist/esm-node/watch-options.mjs +1 -0
- package/dist/types/cli/commands.d.ts +1 -1
- package/dist/types/cli/modulePath.d.ts +1 -1
- package/dist/types/cli/require.d.ts +0 -1
- package/dist/types/compiled.d.ts +30 -29
- package/dist/types/fast-glob.d.ts +1 -0
- package/dist/types/watch-options.d.ts +1 -0
- package/package.json +100 -36
- package/rslib.config.mts +20 -84
- package/dist/compiled/address/lib/address.d.ts +0 -28
- package/dist/compiled/browserslist/license +0 -20
- package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/compiled/chokidar/fsevents.node +0 -0
- package/dist/compiled/chokidar/license +0 -21
- package/dist/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/compiled/commander/typings/index.d.ts +0 -890
- package/dist/compiled/debug/ms/index.d.ts +0 -25
- package/dist/compiled/dotenv/index.js +0 -101
- package/dist/compiled/dotenv/license +0 -23
- package/dist/compiled/dotenv/package.json +0 -1
- package/dist/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/compiled/fast-glob/index.js +0 -4665
- package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
- package/dist/compiled/fast-glob/license +0 -21
- package/dist/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/compiled/fast-glob/package.json +0 -1
- package/dist/compiled/filesize/filesize.d.ts +0 -131
- package/dist/compiled/filesize/license +0 -28
- package/dist/compiled/fs-extra/license +0 -15
- package/dist/compiled/glob/license +0 -21
- package/dist/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
- package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
- package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
- package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
- package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
- package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
- package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
- package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
- package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
- package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
- package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
- package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
- package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
- package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
- package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
- package/dist/compiled/inquirer/license +0 -22
- package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
- package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
- package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
- package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
- package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
- package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
- package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
- package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
- package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
- package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
- package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
- package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
- package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
- package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
- package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
- package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
- package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
- package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
- package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
- package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
- package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
- package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
- package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
- package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
- package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
- package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
- package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
- package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
- package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
- package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
- package/dist/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/compiled/json5/lib/index.d.ts +0 -4
- package/dist/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/compiled/nanoid/license +0 -20
- package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
- package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/compiled/upath/license +0 -22
- package/dist/compiled/upath/upath.d.ts +0 -241
- package/dist/compiled/webpack-chain/index.js +0 -1475
- package/dist/compiled/webpack-chain/license +0 -373
- package/dist/compiled/webpack-chain/package.json +0 -1
- package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
- package/dist/esm/rslib-runtime~1.mjs +0 -12
- /package/dist/compiled/commander/{license → LICENSE} +0 -0
- /package/dist/compiled/debug/{license → LICENSE} +0 -0
- /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
- /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
- /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
- /package/dist/compiled/lodash/{license → LICENSE} +0 -0
- /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
- /package/dist/compiled/minimist/{license → LICENSE} +0 -0
- /package/dist/compiled/semver/{license → LICENSE} +0 -0
- /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
- /package/dist/compiled/url-join/{license → LICENSE} +0 -0
|
@@ -1,563 +1,1064 @@
|
|
|
1
|
-
// Type definitions for fs-extra 9.0
|
|
2
|
-
// Project: https://github.com/jprichardson/node-fs-extra
|
|
3
|
-
// Definitions by: Alan Agius <https://github.com/alan-agius4>,
|
|
4
|
-
// midknight41 <https://github.com/midknight41>,
|
|
5
|
-
// Brendan Forster <https://github.com/shiftkey>,
|
|
6
|
-
// Mees van Dijk <https://github.com/mees->,
|
|
7
|
-
// Justin Rockwood <https://github.com/jrockwood>,
|
|
8
|
-
// Sang Dang <https://github.com/sangdth>,
|
|
9
|
-
// Florian Keller <https://github.com/ffflorian>
|
|
10
|
-
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
11
|
-
// Tiger Oakes <https://github.com/NotWoods>
|
|
12
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
13
|
-
// Minimum TypeScript Version: 3.9
|
|
14
|
-
|
|
15
1
|
/// <reference types="node" />
|
|
16
|
-
|
|
17
2
|
import * as fs from 'fs';
|
|
18
|
-
import
|
|
19
|
-
import PathLike = fs.PathLike;
|
|
20
|
-
|
|
3
|
+
import { readFile as readFile$2, readFileSync as readFileSync$1, writeFile as writeFile$2, writeFileSync as writeFileSync$1, PathLike } from 'fs';
|
|
21
4
|
export * from 'fs';
|
|
5
|
+
import { Url } from 'url';
|
|
22
6
|
|
|
23
|
-
|
|
24
|
-
export function copy(src: string, dest: string, callback: (err: Error) => void): void;
|
|
25
|
-
export function copy(src: string, dest: string, options: CopyOptions, callback: (err: Error) => void): void;
|
|
26
|
-
export function copySync(src: string, dest: string, options?: CopyOptionsSync): void;
|
|
27
|
-
|
|
28
|
-
export function copyFile(src: string, dest: string, flags?: number): Promise<void>;
|
|
29
|
-
export function copyFile(src: string, dest: string, callback: (err: Error) => void): void;
|
|
30
|
-
export function copyFile(src: string, dest: string, flags: number, callback: (err: Error) => void): void;
|
|
31
|
-
|
|
32
|
-
export function move(src: string, dest: string, options?: MoveOptions): Promise<void>;
|
|
33
|
-
export function move(src: string, dest: string, callback: (err: Error) => void): void;
|
|
34
|
-
export function move(src: string, dest: string, options: MoveOptions, callback: (err: Error) => void): void;
|
|
35
|
-
export function moveSync(src: string, dest: string, options?: MoveOptions): void;
|
|
36
|
-
|
|
37
|
-
export function createFile(file: string): Promise<void>;
|
|
38
|
-
export function createFile(file: string, callback: (err: Error) => void): void;
|
|
39
|
-
export function createFileSync(file: string): void;
|
|
40
|
-
|
|
41
|
-
export function createSymlink(src: string, dest: string, type: SymlinkType): Promise<void>;
|
|
42
|
-
export function createSymlink(src: string, dest: string, type: SymlinkType, callback?: (err: Error) => void): void;
|
|
43
|
-
export function createSymlinkSync(src: string, dest: string, type: SymlinkType): void;
|
|
44
|
-
|
|
45
|
-
export function ensureDir(path: string, options?: EnsureOptions | number): Promise<void>;
|
|
46
|
-
export function ensureDir(path: string, callback?: (err: Error) => void): void;
|
|
47
|
-
export function ensureDir(path: string, options?: EnsureOptions | number, callback?: (err: Error) => void): void;
|
|
48
|
-
export function ensureDirSync(path: string, options?: EnsureOptions | number): void;
|
|
49
|
-
|
|
50
|
-
export function mkdirs(dir: string): Promise<void>;
|
|
51
|
-
export function mkdirs(dir: string, callback: (err: Error) => void): void;
|
|
52
|
-
export function mkdirp(dir: string): Promise<void>;
|
|
53
|
-
export function mkdirp(dir: string, callback: (err: Error) => void): void;
|
|
54
|
-
export function mkdirsSync(dir: string): void;
|
|
55
|
-
export function mkdirpSync(dir: string): void;
|
|
56
|
-
|
|
57
|
-
export function outputFile(
|
|
58
|
-
file: string,
|
|
59
|
-
data: any,
|
|
60
|
-
options?: WriteFileOptions | BufferEncoding | string,
|
|
61
|
-
): Promise<void>;
|
|
62
|
-
export function outputFile(file: string, data: any, callback: (err: Error) => void): void;
|
|
63
|
-
export function outputFile(
|
|
64
|
-
file: string,
|
|
65
|
-
data: any,
|
|
66
|
-
options: WriteFileOptions | string,
|
|
67
|
-
callback: (err: Error) => void,
|
|
68
|
-
): void;
|
|
69
|
-
export function outputFileSync(file: string, data: any, options?: WriteFileOptions | BufferEncoding | string): void;
|
|
70
|
-
|
|
71
|
-
export function readJson(file: string, options?: ReadOptions | BufferEncoding | string): Promise<any>;
|
|
72
|
-
export function readJson(file: string, callback: (err: Error, jsonObject: any) => void): void;
|
|
73
|
-
export function readJson(
|
|
74
|
-
file: string,
|
|
75
|
-
options: ReadOptions | BufferEncoding | string,
|
|
76
|
-
callback: (err: Error, jsonObject: any) => void,
|
|
77
|
-
): void;
|
|
78
|
-
export function readJSON(file: string, options?: ReadOptions | BufferEncoding | string): Promise<any>;
|
|
79
|
-
export function readJSON(file: string, callback: (err: Error, jsonObject: any) => void): void;
|
|
80
|
-
export function readJSON(
|
|
81
|
-
file: string,
|
|
82
|
-
options: ReadOptions | BufferEncoding | string,
|
|
83
|
-
callback: (err: Error, jsonObject: any) => void,
|
|
84
|
-
): void;
|
|
85
|
-
|
|
86
|
-
export function readJsonSync(file: string, options?: ReadOptions | BufferEncoding | string): any;
|
|
87
|
-
export function readJSONSync(file: string, options?: ReadOptions | BufferEncoding | string): any;
|
|
88
|
-
|
|
89
|
-
export function remove(dir: string, callback: (err: Error) => void): void;
|
|
90
|
-
export function remove(dir: string, callback?: (err: Error) => void): Promise<void>;
|
|
91
|
-
export function removeSync(dir: string): void;
|
|
92
|
-
|
|
93
|
-
export function outputJSON(file: string, data: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
|
|
94
|
-
export function outputJSON(
|
|
95
|
-
file: string,
|
|
96
|
-
data: any,
|
|
97
|
-
options: WriteOptions | BufferEncoding | string,
|
|
98
|
-
callback: (err: Error) => void,
|
|
99
|
-
): void;
|
|
100
|
-
export function outputJSON(file: string, data: any, callback: (err: Error) => void): void;
|
|
101
|
-
export function outputJson(file: string, data: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
|
|
102
|
-
export function outputJson(
|
|
103
|
-
file: string,
|
|
104
|
-
data: any,
|
|
105
|
-
options: WriteOptions | BufferEncoding | string,
|
|
106
|
-
callback: (err: Error) => void,
|
|
107
|
-
): void;
|
|
108
|
-
export function outputJson(file: string, data: any, callback: (err: Error) => void): void;
|
|
109
|
-
export function outputJsonSync(file: string, data: any, options?: WriteOptions | BufferEncoding | string): void;
|
|
110
|
-
export function outputJSONSync(file: string, data: any, options?: WriteOptions | BufferEncoding | string): void;
|
|
7
|
+
type Path = PathLike | Url;
|
|
111
8
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
callback: (err: Error) => void,
|
|
119
|
-
): void;
|
|
120
|
-
export function writeJson(file: string, object: any, options?: WriteOptions | BufferEncoding | string): Promise<void>;
|
|
121
|
-
export function writeJson(file: string, object: any, callback: (err: Error) => void): void;
|
|
122
|
-
export function writeJson(
|
|
123
|
-
file: string,
|
|
124
|
-
object: any,
|
|
125
|
-
options: WriteOptions | BufferEncoding | string,
|
|
126
|
-
callback: (err: Error) => void,
|
|
127
|
-
): void;
|
|
9
|
+
interface FS {
|
|
10
|
+
readFile: typeof readFile$2;
|
|
11
|
+
readFileSync: typeof readFileSync$1;
|
|
12
|
+
writeFile: typeof writeFile$2;
|
|
13
|
+
writeFileSync: typeof writeFileSync$1;
|
|
14
|
+
}
|
|
128
15
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
export function ensureFile(path: string): Promise<void>;
|
|
133
|
-
export function ensureFile(path: string, callback: (err: Error) => void): void;
|
|
134
|
-
export function ensureFileSync(path: string): void;
|
|
135
|
-
|
|
136
|
-
export function ensureLink(src: string, dest: string): Promise<void>;
|
|
137
|
-
export function ensureLink(src: string, dest: string, callback: (err: Error) => void): void;
|
|
138
|
-
// alias for ensureLink
|
|
139
|
-
export const createLink: typeof ensureLink;
|
|
140
|
-
export function ensureLinkSync(src: string, dest: string): void;
|
|
141
|
-
// aliased as
|
|
142
|
-
export const createLinkSync: typeof ensureLinkSync;
|
|
143
|
-
|
|
144
|
-
export function ensureSymlink(src: string, dest: string, type?: SymlinkType): Promise<void>;
|
|
145
|
-
export function ensureSymlink(src: string, dest: string, type: SymlinkType, callback: (err: Error) => void): void;
|
|
146
|
-
export function ensureSymlink(src: string, dest: string, callback: (err: Error) => void): void;
|
|
147
|
-
export function ensureSymlinkSync(src: string, dest: string, type?: SymlinkType): void;
|
|
148
|
-
|
|
149
|
-
export function emptyDir(path: string): Promise<void>;
|
|
150
|
-
export function emptyDir(path: string, callback: (err: Error) => void): void;
|
|
151
|
-
export const emptydir: typeof emptyDir;
|
|
152
|
-
|
|
153
|
-
export function emptyDirSync(path: string): void;
|
|
154
|
-
export const emptydirSync: typeof emptyDirSync;
|
|
155
|
-
|
|
156
|
-
export function pathExists(path: string): Promise<boolean>;
|
|
157
|
-
export function pathExists(path: string, callback: (err: Error, exists: boolean) => void): void;
|
|
158
|
-
export function pathExistsSync(path: string): boolean;
|
|
159
|
-
|
|
160
|
-
// fs async methods
|
|
161
|
-
// copied from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/v6/index.d.ts
|
|
162
|
-
|
|
163
|
-
export function access(path: PathLike, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
164
|
-
export function access(path: PathLike, mode: number, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
165
|
-
export function access(path: PathLike, mode?: number): Promise<void>;
|
|
166
|
-
|
|
167
|
-
export function appendFile(
|
|
168
|
-
file: PathLike | number,
|
|
169
|
-
data: any,
|
|
170
|
-
options: {
|
|
171
|
-
encoding?: BufferEncoding | string | undefined;
|
|
172
|
-
mode?: number | string | undefined;
|
|
16
|
+
type JFReadOptions =
|
|
17
|
+
| {
|
|
18
|
+
encoding?: string | null | undefined;
|
|
173
19
|
flag?: string | undefined;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export function chown(path: PathLike, uid: number, gid: number): Promise<void>;
|
|
195
|
-
export function chown(path: PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
196
|
-
|
|
197
|
-
export function close(fd: number, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
198
|
-
export function close(fd: number): Promise<void>;
|
|
199
|
-
|
|
200
|
-
export function fchmod(fd: number, mode: Mode, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
201
|
-
export function fchmod(fd: number, mode: Mode): Promise<void>;
|
|
202
|
-
|
|
203
|
-
export function fchown(fd: number, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
204
|
-
export function fchown(fd: number, uid: number, gid: number): Promise<void>;
|
|
205
|
-
|
|
206
|
-
export function fdatasync(fd: number, callback: () => void): void;
|
|
207
|
-
export function fdatasync(fd: number): Promise<void>;
|
|
208
|
-
|
|
209
|
-
export function fstat(fd: number, callback: (err: NodeJS.ErrnoException, stats: Stats) => any): void;
|
|
210
|
-
export function fstat(fd: number): Promise<Stats>;
|
|
20
|
+
throws?: boolean | undefined;
|
|
21
|
+
fs?: FS | undefined;
|
|
22
|
+
reviver?: ((key: any, value: any) => any) | undefined;
|
|
23
|
+
}
|
|
24
|
+
| string
|
|
25
|
+
| null
|
|
26
|
+
| undefined;
|
|
27
|
+
|
|
28
|
+
type JFWriteOptions =
|
|
29
|
+
| {
|
|
30
|
+
encoding?: string | null | undefined;
|
|
31
|
+
mode?: string | number | undefined;
|
|
32
|
+
flag?: string | undefined;
|
|
33
|
+
fs?: FS | undefined;
|
|
34
|
+
EOL?: string | undefined;
|
|
35
|
+
spaces?: string | number | undefined;
|
|
36
|
+
replacer?: ((key: string, value: any) => any) | undefined;
|
|
37
|
+
}
|
|
38
|
+
| string
|
|
39
|
+
| null;
|
|
211
40
|
|
|
212
|
-
|
|
213
|
-
|
|
41
|
+
type ReadCallback = (err: NodeJS.ErrnoException | null, data: any) => void;
|
|
42
|
+
type WriteCallback = (err: NodeJS.ErrnoException | null) => void;
|
|
214
43
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @see {@link https://github.com/jprichardson/node-jsonfile#readfilefilename-options-callback}
|
|
46
|
+
*/
|
|
47
|
+
declare function readFile$1(file: Path, options: JFReadOptions, callback: ReadCallback): void;
|
|
48
|
+
declare function readFile$1(file: Path, callback: ReadCallback): void;
|
|
49
|
+
declare function readFile$1(file: Path, options?: JFReadOptions): Promise<any>;
|
|
218
50
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options}
|
|
53
|
+
*/
|
|
54
|
+
declare function readFileSync(file: Path, options?: JFReadOptions): any;
|
|
223
55
|
|
|
224
|
-
|
|
225
|
-
|
|
56
|
+
/**
|
|
57
|
+
* @see {@link https://github.com/jprichardson/node-jsonfile#writefilefilename-obj-options-callback}
|
|
58
|
+
*/
|
|
59
|
+
declare function writeFile$1(file: Path, obj: any, options: JFWriteOptions, callback: WriteCallback): void;
|
|
60
|
+
declare function writeFile$1(file: Path, obj: any, callback: WriteCallback): void;
|
|
61
|
+
declare function writeFile$1(file: Path, obj: any, options?: JFWriteOptions): Promise<void>;
|
|
226
62
|
|
|
227
|
-
|
|
228
|
-
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link https://github.com/jprichardson/node-jsonfile#writefilesyncfilename-obj-options}
|
|
65
|
+
*/
|
|
66
|
+
declare function writeFileSync(file: Path, obj: any, options?: JFWriteOptions): void;
|
|
229
67
|
|
|
230
|
-
|
|
231
|
-
|
|
68
|
+
interface StringifyOptions {
|
|
69
|
+
EOL?: string | undefined;
|
|
70
|
+
finalEOL?: boolean | undefined;
|
|
71
|
+
replacer?: ((key: string, value: any) => any) | undefined;
|
|
72
|
+
spaces?: string | number | undefined;
|
|
73
|
+
}
|
|
232
74
|
|
|
233
75
|
/**
|
|
234
|
-
*
|
|
76
|
+
* Copy a file or directory. The directory can have contents.
|
|
77
|
+
*
|
|
78
|
+
* @param src Note that if `src` is a directory it will copy everything inside of this directory,
|
|
79
|
+
* not the entire directory itself (see [issue #537](https://github.com/jprichardson/node-fs-extra/issues/537)).
|
|
80
|
+
* @param dest Note that if `src` is a file, `dest` cannot be a directory
|
|
81
|
+
* (see [issue #323](https://github.com/jprichardson/node-fs-extra/issues/323)).
|
|
235
82
|
*
|
|
236
|
-
* @
|
|
83
|
+
* @example
|
|
84
|
+
* import * as fs from 'fs-extra'
|
|
85
|
+
*
|
|
86
|
+
* // With a callback:
|
|
87
|
+
* fs.copy('/tmp/myfile', '/tmp/mynewfile', err => {
|
|
88
|
+
* if (err) return console.error(err)
|
|
89
|
+
* console.log('success!')
|
|
90
|
+
* }) // copies file
|
|
91
|
+
*
|
|
92
|
+
* fs.copy('/tmp/mydir', '/tmp/mynewdir', err => {
|
|
93
|
+
* if (err) return console.error(err)
|
|
94
|
+
* console.log('success!')
|
|
95
|
+
* }) // copies directory, even if it has subdirectories or files
|
|
96
|
+
*
|
|
97
|
+
* // With Promises:
|
|
98
|
+
* fs.copy('/tmp/myfile', '/tmp/mynewfile')
|
|
99
|
+
* .then(() => {
|
|
100
|
+
* console.log('success!')
|
|
101
|
+
* })
|
|
102
|
+
* .catch(err => {
|
|
103
|
+
* console.error(err)
|
|
104
|
+
* })
|
|
105
|
+
*
|
|
106
|
+
* // With async/await:
|
|
107
|
+
* async function asyncAwait () {
|
|
108
|
+
* try {
|
|
109
|
+
* await fs.copy('/tmp/myfile', '/tmp/mynewfile')
|
|
110
|
+
* console.log('success!')
|
|
111
|
+
* } catch (err) {
|
|
112
|
+
* console.error(err)
|
|
113
|
+
* }
|
|
114
|
+
* }
|
|
115
|
+
*
|
|
116
|
+
* asyncAwait()
|
|
117
|
+
*
|
|
118
|
+
* // Using filter function
|
|
119
|
+
* fs.copy(
|
|
120
|
+
* '/tmp/mydir',
|
|
121
|
+
* '/tmp/mynewdir',
|
|
122
|
+
* {
|
|
123
|
+
* filter(src, dest) {
|
|
124
|
+
* // your logic here
|
|
125
|
+
* // it will be copied if return true
|
|
126
|
+
* }
|
|
127
|
+
* },
|
|
128
|
+
* err => {
|
|
129
|
+
* if (err) return console.error(err)
|
|
130
|
+
* console.log('success!')
|
|
131
|
+
* }
|
|
132
|
+
* )
|
|
237
133
|
*/
|
|
238
|
-
|
|
134
|
+
declare function copy(src: string, dest: string, options?: CopyOptions): Promise<void>;
|
|
135
|
+
declare function copy(src: string, dest: string, callback: NoParamCallbackWithUndefined): void;
|
|
136
|
+
declare function copy(src: string, dest: string, options: CopyOptions, callback: NoParamCallbackWithUndefined): void;
|
|
239
137
|
/**
|
|
240
|
-
*
|
|
138
|
+
* Copy a file or directory. The directory can have contents.
|
|
139
|
+
*
|
|
140
|
+
* @param src Note that if `src` is a directory it will copy everything inside of this directory,
|
|
141
|
+
* not the entire directory itself (see [issue #537](https://github.com/jprichardson/node-fs-extra/issues/537)).
|
|
142
|
+
* @param dest Note that if `src` is a file, `dest` cannot be a directory
|
|
143
|
+
* (see [issue #323](https://github.com/jprichardson/node-fs-extra/issues/323)).
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* import * as fs from 'fs-extra'
|
|
147
|
+
*
|
|
148
|
+
* // copy file
|
|
149
|
+
* fs.copySync('/tmp/myfile', '/tmp/mynewfile')
|
|
241
150
|
*
|
|
242
|
-
*
|
|
151
|
+
* // copy directory, even if it has subdirectories or files
|
|
152
|
+
* fs.copySync('/tmp/mydir', '/tmp/mynewdir')
|
|
153
|
+
*
|
|
154
|
+
* // Using filter function
|
|
155
|
+
* fs.copySync('/tmp/mydir', '/tmp/mynewdir', {
|
|
156
|
+
* filter(src, dest) {
|
|
157
|
+
* // your logic here
|
|
158
|
+
* // it will be copied if return true
|
|
159
|
+
* }
|
|
160
|
+
* })
|
|
243
161
|
*/
|
|
244
|
-
|
|
245
|
-
path: PathLike,
|
|
246
|
-
options: Mode | fs.MakeDirectoryOptions | null,
|
|
247
|
-
callback: (err: NodeJS.ErrnoException) => void,
|
|
248
|
-
): void;
|
|
249
|
-
export function mkdir(path: PathLike, options?: Mode | fs.MakeDirectoryOptions | null): Promise<void>;
|
|
250
|
-
export function mkdirSync(path: PathLike, options?: Mode | fs.MakeDirectoryOptions | null): void;
|
|
251
|
-
|
|
252
|
-
export function open(
|
|
253
|
-
path: PathLike,
|
|
254
|
-
flags: string | number,
|
|
255
|
-
callback: (err: NodeJS.ErrnoException, fd: number) => void,
|
|
256
|
-
): void;
|
|
257
|
-
export function open(
|
|
258
|
-
path: PathLike,
|
|
259
|
-
flags: string | number,
|
|
260
|
-
mode: Mode,
|
|
261
|
-
callback: (err: NodeJS.ErrnoException, fd: number) => void,
|
|
262
|
-
): void;
|
|
263
|
-
export function open(path: PathLike, flags: string | number, mode?: Mode | null): Promise<number>;
|
|
162
|
+
declare function copySync(src: string, dest: string, options?: CopyOptionsSync): void;
|
|
264
163
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
)
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
path: PathLike,
|
|
327
|
-
options: { encoding?: BufferEncoding | string | null | undefined; withFileTypes: true },
|
|
328
|
-
): Promise<fs.Dirent[]>;
|
|
329
|
-
|
|
330
|
-
export function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException, linkString: string) => any): void;
|
|
331
|
-
export function readlink(path: PathLike): Promise<string>;
|
|
332
|
-
|
|
333
|
-
export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void;
|
|
334
|
-
export function realpath(
|
|
335
|
-
path: PathLike,
|
|
336
|
-
cache: { [path: string]: string },
|
|
337
|
-
callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any,
|
|
338
|
-
): void;
|
|
339
|
-
export function realpath(path: PathLike, cache?: { [path: string]: string }): Promise<string>;
|
|
340
|
-
|
|
341
|
-
/* tslint:disable:unified-signatures */
|
|
342
|
-
export namespace realpath {
|
|
343
|
-
const native: {
|
|
344
|
-
(path: PathLike, options: { encoding: 'buffer' } | 'buffer'): Promise<Buffer>;
|
|
345
|
-
(
|
|
346
|
-
path: PathLike,
|
|
347
|
-
options: { encoding: BufferEncoding | string | null } | BufferEncoding | string | undefined | null,
|
|
348
|
-
): Promise<string>;
|
|
349
|
-
(path: PathLike, options: { encoding: BufferEncoding | string | null } | string | undefined | null): Promise<
|
|
350
|
-
string | Buffer
|
|
351
|
-
>;
|
|
352
|
-
(path: PathLike): Promise<string>;
|
|
353
|
-
} & typeof fs.realpath.native;
|
|
354
|
-
}
|
|
355
|
-
/* tslint:enable:unified-signatures */
|
|
164
|
+
/**
|
|
165
|
+
* Moves a file or directory, even across devices.
|
|
166
|
+
*
|
|
167
|
+
* @param dest Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* import * as fs from 'fs-extra'
|
|
171
|
+
*
|
|
172
|
+
* const src = '/tmp/file.txt'
|
|
173
|
+
* const dest = '/tmp/this/path/does/not/exist/file.txt'
|
|
174
|
+
*
|
|
175
|
+
* // With a callback:
|
|
176
|
+
* fs.move(src, dest, err => {
|
|
177
|
+
* if (err) return console.error(err)
|
|
178
|
+
* console.log('success!')
|
|
179
|
+
* })
|
|
180
|
+
*
|
|
181
|
+
* // With Promises:
|
|
182
|
+
* fs.move(src, dest)
|
|
183
|
+
* .then(() => {
|
|
184
|
+
* console.log('success!')
|
|
185
|
+
* })
|
|
186
|
+
* .catch(err => {
|
|
187
|
+
* console.error(err)
|
|
188
|
+
* })
|
|
189
|
+
*
|
|
190
|
+
* // With async/await:
|
|
191
|
+
* async function asyncAwait () {
|
|
192
|
+
* try {
|
|
193
|
+
* await fs.move(src, dest)
|
|
194
|
+
* console.log('success!')
|
|
195
|
+
* } catch (err) {
|
|
196
|
+
* console.error(err)
|
|
197
|
+
* }
|
|
198
|
+
* }
|
|
199
|
+
*
|
|
200
|
+
* asyncAwait()
|
|
201
|
+
*
|
|
202
|
+
* // Using `overwrite` option
|
|
203
|
+
* fs.move('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true }, err => {
|
|
204
|
+
* if (err) return console.error(err)
|
|
205
|
+
* console.log('success!')
|
|
206
|
+
* })
|
|
207
|
+
*/
|
|
208
|
+
declare function move(src: string, dest: string, options?: MoveOptions): Promise<void>;
|
|
209
|
+
declare function move(src: string, dest: string, callback: NoParamCallbackWithUndefined): void;
|
|
210
|
+
declare function move(src: string, dest: string, options: MoveOptions, callback: NoParamCallbackWithUndefined): void;
|
|
211
|
+
/**
|
|
212
|
+
* Moves a file or directory, even across devices.
|
|
213
|
+
*
|
|
214
|
+
* @param dest Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory.
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* import * as fs from 'fs-extra'
|
|
218
|
+
*
|
|
219
|
+
* fs.moveSync('/tmp/somefile', '/tmp/does/not/exist/yet/somefile')
|
|
220
|
+
*
|
|
221
|
+
* // Using `overwrite` option
|
|
222
|
+
* fs.moveSync('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true })
|
|
223
|
+
*/
|
|
224
|
+
declare function moveSync(src: string, dest: string, options?: MoveOptions): void;
|
|
356
225
|
|
|
357
|
-
|
|
358
|
-
|
|
226
|
+
/**
|
|
227
|
+
* Ensures that the file exists. If the file that is requested to be created is in
|
|
228
|
+
* directories that do not exist, these directories are created. If the file already
|
|
229
|
+
* exists, it is **NOT MODIFIED**.
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* import * as fs from 'fs-extra'
|
|
233
|
+
*
|
|
234
|
+
* const file = '/tmp/this/path/does/not/exist/file.txt'
|
|
235
|
+
*
|
|
236
|
+
* // With a callback:
|
|
237
|
+
* fs.ensureFile(file, err => {
|
|
238
|
+
* console.log(err) // => null
|
|
239
|
+
* // file has now been created, including the directory it is to be placed in
|
|
240
|
+
* })
|
|
241
|
+
*
|
|
242
|
+
* // With Promises:
|
|
243
|
+
* fs.ensureFile(file)
|
|
244
|
+
* .then(() => {
|
|
245
|
+
* console.log('success!')
|
|
246
|
+
* })
|
|
247
|
+
* .catch(err => {
|
|
248
|
+
* console.error(err)
|
|
249
|
+
* })
|
|
250
|
+
*
|
|
251
|
+
* // With async/await:
|
|
252
|
+
* async function asyncAwait () {
|
|
253
|
+
* try {
|
|
254
|
+
* await fs.ensureFile(file)
|
|
255
|
+
* console.log('success!')
|
|
256
|
+
* } catch (err) {
|
|
257
|
+
* console.error(err)
|
|
258
|
+
* }
|
|
259
|
+
* }
|
|
260
|
+
*
|
|
261
|
+
* asyncAwait()
|
|
262
|
+
*/
|
|
263
|
+
declare function ensureFile(file: string): Promise<void>;
|
|
264
|
+
declare function ensureFile(file: string, callback: NoParamCallbackWithUndefined): void;
|
|
265
|
+
/**
|
|
266
|
+
* @see ensureFile
|
|
267
|
+
*/
|
|
268
|
+
declare const createFile: typeof ensureFile;
|
|
269
|
+
/**
|
|
270
|
+
* Ensures that the file exists. If the file that is requested to be created is in
|
|
271
|
+
* directories that do not exist, these directories are created. If the file already
|
|
272
|
+
* exists, it is **NOT MODIFIED**.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* import * as fs from 'fs-extra'
|
|
276
|
+
*
|
|
277
|
+
* const file = '/tmp/this/path/does/not/exist/file.txt'
|
|
278
|
+
* fs.ensureFileSync(file)
|
|
279
|
+
* // file has now been created, including the directory it is to be placed in
|
|
280
|
+
*/
|
|
281
|
+
declare function ensureFileSync(file: string): void;
|
|
282
|
+
/**
|
|
283
|
+
* @see ensureFileSync
|
|
284
|
+
*/
|
|
285
|
+
declare const createFileSync: typeof ensureFileSync;
|
|
359
286
|
|
|
360
287
|
/**
|
|
361
|
-
*
|
|
362
|
-
*
|
|
288
|
+
* Ensures that the link exists. If the directory structure does not exist, it is created.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* import * as fs from 'fs-extra'
|
|
363
292
|
*
|
|
364
|
-
*
|
|
293
|
+
* const srcPath = '/tmp/file.txt'
|
|
294
|
+
* const destPath = '/tmp/this/path/does/not/exist/file.txt'
|
|
295
|
+
*
|
|
296
|
+
* // With a callback:
|
|
297
|
+
* fs.ensureLink(srcPath, destPath, err => {
|
|
298
|
+
* console.log(err) // => null
|
|
299
|
+
* // link has now been created, including the directory it is to be placed in
|
|
300
|
+
* })
|
|
301
|
+
*
|
|
302
|
+
* // With Promises:
|
|
303
|
+
* fs.ensureLink(srcPath, destPath)
|
|
304
|
+
* .then(() => {
|
|
305
|
+
* console.log('success!')
|
|
306
|
+
* })
|
|
307
|
+
* .catch(err => {
|
|
308
|
+
* console.error(err)
|
|
309
|
+
* })
|
|
310
|
+
*
|
|
311
|
+
* // With async/await:
|
|
312
|
+
* async function asyncAwait () {
|
|
313
|
+
* try {
|
|
314
|
+
* await fs.ensureLink(srcPath, destPath)
|
|
315
|
+
* console.log('success!')
|
|
316
|
+
* } catch (err) {
|
|
317
|
+
* console.error(err)
|
|
318
|
+
* }
|
|
319
|
+
* }
|
|
320
|
+
*
|
|
321
|
+
* asyncAwait()
|
|
365
322
|
*/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
323
|
+
declare function ensureLink(src: string, dest: string): Promise<void>;
|
|
324
|
+
declare function ensureLink(src: string, dest: string, callback: fs.NoParamCallback): void;
|
|
325
|
+
/**
|
|
326
|
+
* @see ensureLink
|
|
327
|
+
*/
|
|
328
|
+
declare const createLink: typeof ensureLink;
|
|
329
|
+
/**
|
|
330
|
+
* Ensures that the link exists. If the directory structure does not exist, it is created.
|
|
331
|
+
*
|
|
332
|
+
* @example
|
|
333
|
+
* import * as fs from 'fs-extra'
|
|
334
|
+
*
|
|
335
|
+
* const srcPath = '/tmp/file.txt'
|
|
336
|
+
* const destPath = '/tmp/this/path/does/not/exist/file.txt'
|
|
337
|
+
* fs.ensureLinkSync(srcPath, destPath)
|
|
338
|
+
* // link has now been created, including the directory it is to be placed in
|
|
339
|
+
*/
|
|
340
|
+
declare function ensureLinkSync(src: string, dest: string): void;
|
|
341
|
+
/**
|
|
342
|
+
* @see ensureLinkSync
|
|
343
|
+
*/
|
|
344
|
+
declare const createLinkSync: typeof ensureLinkSync;
|
|
375
345
|
|
|
376
346
|
/**
|
|
377
|
-
*
|
|
347
|
+
* Ensures that the symlink exists. If the directory structure does not exist, it is created.
|
|
348
|
+
*
|
|
349
|
+
* @param type It is only available on Windows and ignored on other platforms.
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* import * as fs from 'fs-extra'
|
|
353
|
+
*
|
|
354
|
+
* const srcPath = '/tmp/file.txt'
|
|
355
|
+
* const destPath = '/tmp/this/path/does/not/exist/file.txt'
|
|
356
|
+
*
|
|
357
|
+
* // With a callback:
|
|
358
|
+
* fs.ensureSymlink(srcPath, destPath, err => {
|
|
359
|
+
* console.log(err) // => null
|
|
360
|
+
* // symlink has now been created, including the directory it is to be placed in
|
|
361
|
+
* })
|
|
362
|
+
*
|
|
363
|
+
* // With Promises:
|
|
364
|
+
* fs.ensureSymlink(srcPath, destPath)
|
|
365
|
+
* .then(() => {
|
|
366
|
+
* console.log('success!')
|
|
367
|
+
* })
|
|
368
|
+
* .catch(err => {
|
|
369
|
+
* console.error(err)
|
|
370
|
+
* })
|
|
371
|
+
*
|
|
372
|
+
* // With async/await:
|
|
373
|
+
* async function asyncAwait () {
|
|
374
|
+
* try {
|
|
375
|
+
* await fs.ensureSymlink(srcPath, destPath)
|
|
376
|
+
* console.log('success!')
|
|
377
|
+
* } catch (err) {
|
|
378
|
+
* console.error(err)
|
|
379
|
+
* }
|
|
380
|
+
* }
|
|
381
|
+
*
|
|
382
|
+
* asyncAwait()
|
|
383
|
+
*/
|
|
384
|
+
declare function ensureSymlink(src: string, dest: string, type?: SymlinkType): Promise<void>;
|
|
385
|
+
declare function ensureSymlink(src: string, dest: string, callback: fs.NoParamCallback): void;
|
|
386
|
+
declare function ensureSymlink(src: string, dest: string, type: SymlinkType, callback: fs.NoParamCallback): void;
|
|
387
|
+
/**
|
|
388
|
+
* @see ensureSymlink
|
|
389
|
+
*/
|
|
390
|
+
declare const createSymlink: typeof ensureSymlink;
|
|
391
|
+
/**
|
|
392
|
+
* Ensures that the symlink exists. If the directory structure does not exist, it is created.
|
|
393
|
+
*
|
|
394
|
+
* @param type It is only available on Windows and ignored on other platforms.
|
|
378
395
|
*
|
|
379
|
-
* @
|
|
396
|
+
* @example
|
|
397
|
+
* import * as fs from 'fs-extra'
|
|
398
|
+
*
|
|
399
|
+
* const srcPath = '/tmp/file.txt'
|
|
400
|
+
* const destPath = '/tmp/this/path/does/not/exist/file.txt'
|
|
401
|
+
* fs.ensureSymlinkSync(srcPath, destPath)
|
|
402
|
+
* // symlink has now been created, including the directory it is to be placed in
|
|
380
403
|
*/
|
|
381
|
-
|
|
382
|
-
|
|
404
|
+
declare function ensureSymlinkSync(src: string, dest: string, type?: SymlinkType): void;
|
|
405
|
+
/**
|
|
406
|
+
* @see ensureSymlinkSync
|
|
407
|
+
*/
|
|
408
|
+
declare const createSymlinkSync: typeof ensureSymlinkSync;
|
|
383
409
|
|
|
384
|
-
|
|
385
|
-
|
|
410
|
+
/**
|
|
411
|
+
* Ensures that the directory exists. If the directory structure does not exist, it is created.
|
|
412
|
+
*
|
|
413
|
+
* @example
|
|
414
|
+
* import * as fs from 'fs-extra'
|
|
415
|
+
*
|
|
416
|
+
* const dir = '/tmp/this/path/does/not/exist'
|
|
417
|
+
* const desiredMode = 0o2775
|
|
418
|
+
* const options = {
|
|
419
|
+
* mode: 0o2775
|
|
420
|
+
* }
|
|
421
|
+
*
|
|
422
|
+
* // With a callback:
|
|
423
|
+
* fs.ensureDir(dir, err => {
|
|
424
|
+
* console.log(err) // => null
|
|
425
|
+
* // dir has now been created, including the directory it is to be placed in
|
|
426
|
+
* })
|
|
427
|
+
*
|
|
428
|
+
* // With a callback and a mode integer
|
|
429
|
+
* fs.ensureDir(dir, desiredMode, err => {
|
|
430
|
+
* console.log(err) // => null
|
|
431
|
+
* // dir has now been created with mode 0o2775, including the directory it is to be placed in
|
|
432
|
+
* })
|
|
433
|
+
*
|
|
434
|
+
* // With Promises:
|
|
435
|
+
* fs.ensureDir(dir)
|
|
436
|
+
* .then(() => {
|
|
437
|
+
* console.log('success!')
|
|
438
|
+
* })
|
|
439
|
+
* .catch(err => {
|
|
440
|
+
* console.error(err)
|
|
441
|
+
* })
|
|
442
|
+
*
|
|
443
|
+
* // With Promises and a mode integer:
|
|
444
|
+
* fs.ensureDir(dir, desiredMode)
|
|
445
|
+
* .then(() => {
|
|
446
|
+
* console.log('success!')
|
|
447
|
+
* })
|
|
448
|
+
* .catch(err => {
|
|
449
|
+
* console.error(err)
|
|
450
|
+
* })
|
|
451
|
+
*
|
|
452
|
+
* // With async/await:
|
|
453
|
+
* async function asyncAwait () {
|
|
454
|
+
* try {
|
|
455
|
+
* await fs.ensureDir(dir)
|
|
456
|
+
* console.log('success!')
|
|
457
|
+
* } catch (err) {
|
|
458
|
+
* console.error(err)
|
|
459
|
+
* }
|
|
460
|
+
* }
|
|
461
|
+
* asyncAwait()
|
|
462
|
+
*
|
|
463
|
+
* // With async/await and an options object, containing mode:
|
|
464
|
+
* async function asyncAwaitMode () {
|
|
465
|
+
* try {
|
|
466
|
+
* await fs.ensureDir(dir, options)
|
|
467
|
+
* console.log('success!')
|
|
468
|
+
* } catch (err) {
|
|
469
|
+
* console.error(err)
|
|
470
|
+
* }
|
|
471
|
+
* }
|
|
472
|
+
* asyncAwaitMode()
|
|
473
|
+
*/
|
|
474
|
+
declare function ensureDir(path: string, options?: EnsureDirOptions | number): Promise<void>;
|
|
475
|
+
declare function ensureDir(path: string, callback: fs.NoParamCallback): void;
|
|
476
|
+
declare function ensureDir(path: string, options: EnsureDirOptions | number, callback: fs.NoParamCallback): void;
|
|
477
|
+
/**
|
|
478
|
+
* Ensures that the directory exists. If the directory structure does not exist, it is created.
|
|
479
|
+
* If provided, options may specify the desired mode for the directory.
|
|
480
|
+
*
|
|
481
|
+
* @example
|
|
482
|
+
* import * as fs from 'fs-extra'
|
|
483
|
+
*
|
|
484
|
+
* const dir = '/tmp/this/path/does/not/exist'
|
|
485
|
+
*
|
|
486
|
+
* const desiredMode = 0o2775
|
|
487
|
+
* const options = {
|
|
488
|
+
* mode: 0o2775
|
|
489
|
+
* }
|
|
490
|
+
*
|
|
491
|
+
* fs.ensureDirSync(dir)
|
|
492
|
+
* // dir has now been created, including the directory it is to be placed in
|
|
493
|
+
*
|
|
494
|
+
* fs.ensureDirSync(dir, desiredMode)
|
|
495
|
+
* // dir has now been created, including the directory it is to be placed in with permission 0o2775
|
|
496
|
+
*
|
|
497
|
+
* fs.ensureDirSync(dir, options)
|
|
498
|
+
* // dir has now been created, including the directory it is to be placed in with permission 0o2775
|
|
499
|
+
*/
|
|
500
|
+
declare function ensureDirSync(path: string, options?: EnsureDirOptions | number): void;
|
|
386
501
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
502
|
+
/**
|
|
503
|
+
* @see ensureDir
|
|
504
|
+
*/
|
|
505
|
+
declare const mkdirs: typeof ensureDir;
|
|
506
|
+
/**
|
|
507
|
+
* @see ensureDirSync
|
|
508
|
+
*/
|
|
509
|
+
declare const mkdirsSync: typeof ensureDirSync;
|
|
395
510
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
511
|
+
/**
|
|
512
|
+
* @see ensureDir
|
|
513
|
+
*/
|
|
514
|
+
declare const mkdirp: typeof ensureDir;
|
|
515
|
+
/**
|
|
516
|
+
* @see ensureDirSync
|
|
517
|
+
*/
|
|
518
|
+
declare const mkdirpSync: typeof ensureDirSync;
|
|
399
519
|
|
|
400
520
|
/**
|
|
401
|
-
*
|
|
521
|
+
* Almost the same as `writeFile` (i.e. it overwrites), except that if the parent directory
|
|
522
|
+
* does not exist, it's created.
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
* import * as fs from 'fs-extra'
|
|
526
|
+
*
|
|
527
|
+
* const file = '/tmp/this/path/does/not/exist/file.txt'
|
|
528
|
+
*
|
|
529
|
+
* // With a callback:
|
|
530
|
+
* fs.outputFile(file, 'hello!', err => {
|
|
531
|
+
* console.log(err) // => null
|
|
532
|
+
*
|
|
533
|
+
* fs.readFile(file, 'utf8', (err, data) => {
|
|
534
|
+
* if (err) return console.error(err)
|
|
535
|
+
* console.log(data) // => hello!
|
|
536
|
+
* })
|
|
537
|
+
* })
|
|
538
|
+
*
|
|
539
|
+
* // With Promises:
|
|
540
|
+
* fs.outputFile(file, 'hello!')
|
|
541
|
+
* .then(() => fs.readFile(file, 'utf8'))
|
|
542
|
+
* .then(data => {
|
|
543
|
+
* console.log(data) // => hello!
|
|
544
|
+
* })
|
|
545
|
+
* .catch(err => {
|
|
546
|
+
* console.error(err)
|
|
547
|
+
* })
|
|
548
|
+
*
|
|
549
|
+
* // With async/await:
|
|
550
|
+
* async function asyncAwait () {
|
|
551
|
+
* try {
|
|
552
|
+
* await fs.outputFile(file, 'hello!')
|
|
553
|
+
*
|
|
554
|
+
* const data = await fs.readFile(file, 'utf8')
|
|
402
555
|
*
|
|
403
|
-
*
|
|
556
|
+
* console.log(data) // => hello!
|
|
557
|
+
* } catch (err) {
|
|
558
|
+
* console.error(err)
|
|
559
|
+
* }
|
|
560
|
+
* }
|
|
561
|
+
*
|
|
562
|
+
* asyncAwait()
|
|
404
563
|
*/
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
path: PathLike,
|
|
410
|
-
atime: number,
|
|
411
|
-
mtime: number,
|
|
412
|
-
callback: (err: NodeJS.ErrnoException) => void,
|
|
413
|
-
): void;
|
|
414
|
-
export function utimes(path: PathLike, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
415
|
-
export function utimes(path: PathLike, atime: number, mtime: number): Promise<void>;
|
|
416
|
-
export function utimes(path: PathLike, atime: Date, mtime: Date): Promise<void>;
|
|
417
|
-
|
|
418
|
-
export function write<TBuffer extends ArrayBufferView>(
|
|
419
|
-
fd: number,
|
|
420
|
-
buffer: TBuffer,
|
|
421
|
-
offset: number,
|
|
422
|
-
length: number,
|
|
423
|
-
position: number | null,
|
|
424
|
-
callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer) => void,
|
|
425
|
-
): void;
|
|
426
|
-
export function write<TBuffer extends ArrayBufferView>(
|
|
427
|
-
fd: number,
|
|
428
|
-
buffer: TBuffer,
|
|
429
|
-
offset: number,
|
|
430
|
-
length: number,
|
|
431
|
-
callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer) => void,
|
|
432
|
-
): void;
|
|
433
|
-
export function write(
|
|
434
|
-
fd: number,
|
|
435
|
-
data: any,
|
|
436
|
-
callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
|
|
437
|
-
): void;
|
|
438
|
-
export function write(
|
|
439
|
-
fd: number,
|
|
440
|
-
data: any,
|
|
441
|
-
offset: number,
|
|
442
|
-
callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
|
|
443
|
-
): void;
|
|
444
|
-
export function write(
|
|
445
|
-
fd: number,
|
|
446
|
-
data: any,
|
|
447
|
-
offset: number,
|
|
448
|
-
encoding: BufferEncoding | string,
|
|
449
|
-
callback: (err: NodeJS.ErrnoException, written: number, str: string) => void,
|
|
450
|
-
): void;
|
|
451
|
-
export function write<TBuffer extends ArrayBufferView>(
|
|
452
|
-
fd: number,
|
|
453
|
-
buffer: TBuffer,
|
|
454
|
-
offset?: number,
|
|
455
|
-
length?: number,
|
|
456
|
-
position?: number | null,
|
|
457
|
-
): Promise<{ bytesWritten: number; buffer: TBuffer }>;
|
|
458
|
-
export function write(
|
|
459
|
-
fd: number,
|
|
460
|
-
data: any,
|
|
461
|
-
offset?: number,
|
|
462
|
-
encoding?: BufferEncoding | string,
|
|
463
|
-
): Promise<{ bytesWritten: number; buffer: string }>;
|
|
464
|
-
|
|
465
|
-
export function writeFile(file: PathLike | number, data: any, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
466
|
-
export function writeFile(
|
|
467
|
-
file: PathLike | number,
|
|
468
|
-
data: any,
|
|
469
|
-
options?: WriteFileOptions | BufferEncoding | string,
|
|
564
|
+
declare function outputFile(
|
|
565
|
+
file: string,
|
|
566
|
+
data: string | NodeJS.ArrayBufferView,
|
|
567
|
+
options?: fs.WriteFileOptions,
|
|
470
568
|
): Promise<void>;
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
export function writev(
|
|
479
|
-
fd: number,
|
|
480
|
-
buffers: NodeJS.ArrayBufferView[],
|
|
481
|
-
position: number,
|
|
482
|
-
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void,
|
|
569
|
+
declare function outputFile(file: string, data: string | NodeJS.ArrayBufferView, callback: fs.NoParamCallback): void;
|
|
570
|
+
declare function outputFile(
|
|
571
|
+
file: string,
|
|
572
|
+
data: string | NodeJS.ArrayBufferView,
|
|
573
|
+
options: fs.WriteFileOptions,
|
|
574
|
+
callback: fs.NoParamCallback,
|
|
483
575
|
): void;
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
576
|
+
/**
|
|
577
|
+
* Almost the same as `writeFileSync` (i.e. it overwrites), except that if the parent directory
|
|
578
|
+
* does not exist, it's created.
|
|
579
|
+
*
|
|
580
|
+
* @example
|
|
581
|
+
* import * as fs from 'fs-extra'
|
|
582
|
+
*
|
|
583
|
+
* const file = '/tmp/this/path/does/not/exist/file.txt'
|
|
584
|
+
* fs.outputFileSync(file, 'hello!')
|
|
585
|
+
*
|
|
586
|
+
* const data = fs.readFileSync(file, 'utf8')
|
|
587
|
+
* console.log(data) // => hello!
|
|
588
|
+
*/
|
|
589
|
+
declare function outputFileSync(
|
|
590
|
+
file: string,
|
|
591
|
+
data: string | NodeJS.ArrayBufferView,
|
|
592
|
+
options?: fs.WriteFileOptions,
|
|
488
593
|
): void;
|
|
489
|
-
export function writev(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number): Promise<WritevResult>;
|
|
490
594
|
|
|
491
595
|
/**
|
|
492
|
-
*
|
|
596
|
+
* Reads a JSON file and then parses it into an object.
|
|
493
597
|
*
|
|
494
|
-
* @
|
|
598
|
+
* @example
|
|
599
|
+
* import * as fs from 'fs-extra'
|
|
600
|
+
*
|
|
601
|
+
* // With a callback:
|
|
602
|
+
* fs.readJson('./package.json', (err, packageObj) => {
|
|
603
|
+
* if (err) console.error(err)
|
|
604
|
+
* console.log(packageObj.version) // => 0.1.3
|
|
605
|
+
* })
|
|
606
|
+
*
|
|
607
|
+
* // With Promises:
|
|
608
|
+
* fs.readJson('./package.json')
|
|
609
|
+
* .then(packageObj => {
|
|
610
|
+
* console.log(packageObj.version) // => 0.1.3
|
|
611
|
+
* })
|
|
612
|
+
* .catch(err => {
|
|
613
|
+
* console.error(err)
|
|
614
|
+
* })
|
|
615
|
+
*
|
|
616
|
+
* // With async/await:
|
|
617
|
+
* async function asyncAwait () {
|
|
618
|
+
* try {
|
|
619
|
+
* const packageObj = await fs.readJson('./package.json')
|
|
620
|
+
* console.log(packageObj.version) // => 0.1.3
|
|
621
|
+
* } catch (err) {
|
|
622
|
+
* console.error(err)
|
|
623
|
+
* }
|
|
624
|
+
* }
|
|
625
|
+
*
|
|
626
|
+
* asyncAwait()
|
|
627
|
+
*
|
|
628
|
+
* // `readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example:
|
|
629
|
+
* const file = '/tmp/some-invalid.json'
|
|
630
|
+
* const data = '{not valid JSON'
|
|
631
|
+
* fs.writeFileSync(file, data)
|
|
632
|
+
*
|
|
633
|
+
* // With a callback:
|
|
634
|
+
* fs.readJson(file, { throws: false }, (err, obj) => {
|
|
635
|
+
* if (err) console.error(err)
|
|
636
|
+
* console.log(obj) // => null
|
|
637
|
+
* })
|
|
638
|
+
*
|
|
639
|
+
* // With Promises:
|
|
640
|
+
* fs.readJson(file, { throws: false })
|
|
641
|
+
* .then(obj => {
|
|
642
|
+
* console.log(obj) // => null
|
|
643
|
+
* })
|
|
644
|
+
* .catch(err => {
|
|
645
|
+
* console.error(err) // Not called
|
|
646
|
+
* })
|
|
647
|
+
*
|
|
648
|
+
* // With async/await:
|
|
649
|
+
* async function asyncAwaitThrows () {
|
|
650
|
+
* const obj = await fs.readJson(file, { throws: false })
|
|
651
|
+
* console.log(obj) // => null
|
|
652
|
+
* }
|
|
653
|
+
*
|
|
654
|
+
* asyncAwaitThrows()
|
|
495
655
|
*/
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
656
|
+
declare const readJson: typeof readFile$1;
|
|
657
|
+
/**
|
|
658
|
+
* @see readJson
|
|
659
|
+
*/
|
|
660
|
+
declare const readJSON: typeof readFile$1;
|
|
661
|
+
/**
|
|
662
|
+
* Reads a JSON file and then parses it into an object.
|
|
663
|
+
*
|
|
664
|
+
* @example
|
|
665
|
+
* import * as fs from 'fs-extra'
|
|
666
|
+
*
|
|
667
|
+
* const packageObj = fs.readJsonSync('./package.json')
|
|
668
|
+
* console.log(packageObj.version) // => 2.0.0
|
|
669
|
+
*
|
|
670
|
+
* // `readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example:
|
|
671
|
+
* const file = '/tmp/some-invalid.json'
|
|
672
|
+
* const data = '{not valid JSON'
|
|
673
|
+
* fs.writeFileSync(file, data)
|
|
674
|
+
*
|
|
675
|
+
* const obj = fs.readJsonSync(file, { throws: false })
|
|
676
|
+
* console.log(obj) // => null
|
|
677
|
+
*/
|
|
678
|
+
declare const readJsonSync: typeof readFileSync;
|
|
679
|
+
/**
|
|
680
|
+
* @see readJsonSync
|
|
681
|
+
*/
|
|
682
|
+
declare const readJSONSync: typeof readFileSync;
|
|
507
683
|
|
|
508
|
-
|
|
509
|
-
|
|
684
|
+
/**
|
|
685
|
+
* Writes an object to a JSON file.
|
|
686
|
+
*
|
|
687
|
+
* @example
|
|
688
|
+
* import * as fs from 'fs-extra'
|
|
689
|
+
*
|
|
690
|
+
* // With a callback:
|
|
691
|
+
* fs.writeJson('./package.json', {name: 'fs-extra'}, err => {
|
|
692
|
+
* if (err) return console.error(err)
|
|
693
|
+
* console.log('success!')
|
|
694
|
+
* })
|
|
695
|
+
*
|
|
696
|
+
* // With Promises:
|
|
697
|
+
* fs.writeJson('./package.json', {name: 'fs-extra'})
|
|
698
|
+
* .then(() => {
|
|
699
|
+
* console.log('success!')
|
|
700
|
+
* })
|
|
701
|
+
* .catch(err => {
|
|
702
|
+
* console.error(err)
|
|
703
|
+
* })
|
|
704
|
+
*
|
|
705
|
+
* // With async/await:
|
|
706
|
+
* async function asyncAwait () {
|
|
707
|
+
* try {
|
|
708
|
+
* await fs.writeJson('./package.json', {name: 'fs-extra'})
|
|
709
|
+
* console.log('success!')
|
|
710
|
+
* } catch (err) {
|
|
711
|
+
* console.error(err)
|
|
712
|
+
* }
|
|
713
|
+
* }
|
|
714
|
+
*
|
|
715
|
+
* asyncAwait()
|
|
716
|
+
*/
|
|
717
|
+
declare const writeJson: typeof writeFile$1;
|
|
718
|
+
/**
|
|
719
|
+
* @see writeJson
|
|
720
|
+
*/
|
|
721
|
+
declare const writeJSON: typeof writeFile$1;
|
|
722
|
+
/**
|
|
723
|
+
* Writes an object to a JSON file.
|
|
724
|
+
*
|
|
725
|
+
* @example
|
|
726
|
+
* import * as fs from 'fs-extra'
|
|
727
|
+
*
|
|
728
|
+
* fs.writeJsonSync('./package.json', {name: 'fs-extra'})
|
|
729
|
+
*/
|
|
730
|
+
declare const writeJsonSync: typeof writeFileSync;
|
|
731
|
+
/**
|
|
732
|
+
* @see writeJsonSync
|
|
733
|
+
*/
|
|
734
|
+
declare const writeJSONSync: typeof writeFileSync;
|
|
510
735
|
|
|
511
|
-
|
|
736
|
+
/**
|
|
737
|
+
* Almost the same as `writeJson`, except that if the directory does not exist, it's created.
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* import * as fs from 'fs-extra'
|
|
741
|
+
*
|
|
742
|
+
* const file = '/tmp/this/path/does/not/exist/file.json'
|
|
743
|
+
*
|
|
744
|
+
* // With a callback:
|
|
745
|
+
* fs.outputJson(file, {name: 'JP'}, err => {
|
|
746
|
+
* console.log(err) // => null
|
|
747
|
+
*
|
|
748
|
+
* fs.readJson(file, (err, data) => {
|
|
749
|
+
* if (err) return console.error(err)
|
|
750
|
+
* console.log(data.name) // => JP
|
|
751
|
+
* })
|
|
752
|
+
* })
|
|
753
|
+
*
|
|
754
|
+
* // With Promises:
|
|
755
|
+
* fs.outputJson(file, {name: 'JP'})
|
|
756
|
+
* .then(() => fs.readJson(file))
|
|
757
|
+
* .then(data => {
|
|
758
|
+
* console.log(data.name) // => JP
|
|
759
|
+
* })
|
|
760
|
+
* .catch(err => {
|
|
761
|
+
* console.error(err)
|
|
762
|
+
* })
|
|
763
|
+
*
|
|
764
|
+
* // With async/await:
|
|
765
|
+
* async function asyncAwait () {
|
|
766
|
+
* try {
|
|
767
|
+
* await fs.outputJson(file, {name: 'JP'})
|
|
768
|
+
*
|
|
769
|
+
* const data = await fs.readJson(file)
|
|
770
|
+
*
|
|
771
|
+
* console.log(data.name) // => JP
|
|
772
|
+
* } catch (err) {
|
|
773
|
+
* console.error(err)
|
|
774
|
+
* }
|
|
775
|
+
* }
|
|
776
|
+
*
|
|
777
|
+
* asyncAwait()
|
|
778
|
+
*/
|
|
779
|
+
declare function outputJson(file: string, data: any, options?: JsonOutputOptions): Promise<void>;
|
|
780
|
+
declare function outputJson(file: string, data: any, options: JsonOutputOptions, callback: fs.NoParamCallback): void;
|
|
781
|
+
declare function outputJson(file: string, data: any, callback: fs.NoParamCallback): void;
|
|
782
|
+
/**
|
|
783
|
+
* @see outputJson
|
|
784
|
+
*/
|
|
785
|
+
declare const outputJSON: typeof outputJson;
|
|
786
|
+
/**
|
|
787
|
+
* Almost the same as `writeJsonSync`, except that if the directory does not exist, it's created.
|
|
788
|
+
*
|
|
789
|
+
* @example
|
|
790
|
+
* import * as fs from 'fs-extra'
|
|
791
|
+
*
|
|
792
|
+
* const file = '/tmp/this/path/does/not/exist/file.json'
|
|
793
|
+
* fs.outputJsonSync(file, {name: 'JP'})
|
|
794
|
+
*
|
|
795
|
+
* const data = fs.readJsonSync(file)
|
|
796
|
+
* console.log(data.name) // => JP
|
|
797
|
+
*/
|
|
798
|
+
declare function outputJsonSync(file: string, data: any, options?: JsonOutputOptions): void;
|
|
799
|
+
/**
|
|
800
|
+
* @see outputJsonSync
|
|
801
|
+
*/
|
|
802
|
+
declare const outputJSONSync: typeof outputJsonSync;
|
|
512
803
|
|
|
513
|
-
|
|
804
|
+
/**
|
|
805
|
+
* Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing.
|
|
806
|
+
*
|
|
807
|
+
* @example
|
|
808
|
+
* import * as fs from 'fs-extra'
|
|
809
|
+
*
|
|
810
|
+
* // remove file
|
|
811
|
+
* // With a callback:
|
|
812
|
+
* fs.remove('/tmp/myfile', err => {
|
|
813
|
+
* if (err) return console.error(err)
|
|
814
|
+
* console.log('success!')
|
|
815
|
+
* })
|
|
816
|
+
*
|
|
817
|
+
* fs.remove('/home/jprichardson', err => {
|
|
818
|
+
* if (err) return console.error(err)
|
|
819
|
+
* console.log('success!') // I just deleted my entire HOME directory.
|
|
820
|
+
* })
|
|
821
|
+
*
|
|
822
|
+
* // With Promises:
|
|
823
|
+
* fs.remove('/tmp/myfile')
|
|
824
|
+
* .then(() => {
|
|
825
|
+
* console.log('success!')
|
|
826
|
+
* })
|
|
827
|
+
* .catch(err => {
|
|
828
|
+
* console.error(err)
|
|
829
|
+
* })
|
|
830
|
+
*
|
|
831
|
+
* // With async/await:
|
|
832
|
+
* async function asyncAwait () {
|
|
833
|
+
* try {
|
|
834
|
+
* await fs.remove('/tmp/myfile')
|
|
835
|
+
* console.log('success!')
|
|
836
|
+
* } catch (err) {
|
|
837
|
+
* console.error(err)
|
|
838
|
+
* }
|
|
839
|
+
* }
|
|
840
|
+
*
|
|
841
|
+
* asyncAwait()
|
|
842
|
+
*/
|
|
843
|
+
declare function remove(dir: string): Promise<void>;
|
|
844
|
+
declare function remove(dir: string, callback: fs.NoParamCallback): void;
|
|
845
|
+
/**
|
|
846
|
+
* Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing.
|
|
847
|
+
*
|
|
848
|
+
* @example
|
|
849
|
+
* import * as fs from 'fs-extra'
|
|
850
|
+
*
|
|
851
|
+
* // remove file
|
|
852
|
+
* fs.removeSync('/tmp/myfile')
|
|
853
|
+
*
|
|
854
|
+
* fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory.
|
|
855
|
+
*/
|
|
856
|
+
declare function removeSync(dir: string): void;
|
|
514
857
|
|
|
515
|
-
|
|
858
|
+
/**
|
|
859
|
+
* Ensures that a directory is empty. Deletes directory contents if the directory is not empty.
|
|
860
|
+
* If the directory does not exist, it is created. The directory itself is not deleted.
|
|
861
|
+
*
|
|
862
|
+
* @example
|
|
863
|
+
* import * as fs from 'fs-extra'
|
|
864
|
+
*
|
|
865
|
+
* // assume this directory has a lot of files and folders
|
|
866
|
+
* // With a callback:
|
|
867
|
+
* fs.emptyDir('/tmp/some/dir', err => {
|
|
868
|
+
* if (err) return console.error(err)
|
|
869
|
+
* console.log('success!')
|
|
870
|
+
* })
|
|
871
|
+
*
|
|
872
|
+
* // With Promises:
|
|
873
|
+
* fs.emptyDir('/tmp/some/dir')
|
|
874
|
+
* .then(() => {
|
|
875
|
+
* console.log('success!')
|
|
876
|
+
* })
|
|
877
|
+
* .catch(err => {
|
|
878
|
+
* console.error(err)
|
|
879
|
+
* })
|
|
880
|
+
*
|
|
881
|
+
* // With async/await:
|
|
882
|
+
* async function asyncAwait () {
|
|
883
|
+
* try {
|
|
884
|
+
* await fs.emptyDir('/tmp/some/dir')
|
|
885
|
+
* console.log('success!')
|
|
886
|
+
* } catch (err) {
|
|
887
|
+
* console.error(err)
|
|
888
|
+
* }
|
|
889
|
+
* }
|
|
890
|
+
*
|
|
891
|
+
* asyncAwait()
|
|
892
|
+
*/
|
|
893
|
+
declare function emptyDir(path: string): Promise<void>;
|
|
894
|
+
declare function emptyDir(path: string, callback: fs.NoParamCallback): void;
|
|
895
|
+
/**
|
|
896
|
+
* @see emptyDir
|
|
897
|
+
*/
|
|
898
|
+
declare const emptydir: typeof emptyDir;
|
|
899
|
+
/**
|
|
900
|
+
* Ensures that a directory is empty. Deletes directory contents if the directory is not empty.
|
|
901
|
+
* If the directory does not exist, it is created. The directory itself is not deleted.
|
|
902
|
+
*
|
|
903
|
+
* @example
|
|
904
|
+
* import * as fs from 'fs-extra'
|
|
905
|
+
*
|
|
906
|
+
* // assume this directory has a lot of files and folders
|
|
907
|
+
* fs.emptyDirSync('/tmp/some/dir')
|
|
908
|
+
*/
|
|
909
|
+
declare function emptyDirSync(path: string): void;
|
|
910
|
+
/**
|
|
911
|
+
* @see emptyDirSync
|
|
912
|
+
*/
|
|
913
|
+
declare const emptydirSync: typeof emptyDirSync;
|
|
516
914
|
|
|
517
|
-
|
|
915
|
+
/**
|
|
916
|
+
* Test whether or not the given path exists by checking with the file system. Like
|
|
917
|
+
* [`fs.exists`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback), but with a normal
|
|
918
|
+
* callback signature (err, exists). Uses `fs.access` under the hood.
|
|
919
|
+
*
|
|
920
|
+
* @example
|
|
921
|
+
* import * as fs from 'fs-extra'
|
|
922
|
+
*
|
|
923
|
+
* const file = '/tmp/this/path/does/not/exist/file.txt'
|
|
924
|
+
*
|
|
925
|
+
* // With a callback:
|
|
926
|
+
* fs.pathExists(file, (err, exists) => {
|
|
927
|
+
* console.log(err) // => null
|
|
928
|
+
* console.log(exists) // => false
|
|
929
|
+
* })
|
|
930
|
+
*
|
|
931
|
+
* // Promise usage:
|
|
932
|
+
* fs.pathExists(file)
|
|
933
|
+
* .then(exists => console.log(exists)) // => false
|
|
934
|
+
*
|
|
935
|
+
* // With async/await:
|
|
936
|
+
* async function asyncAwait () {
|
|
937
|
+
* const exists = await fs.pathExists(file)
|
|
938
|
+
*
|
|
939
|
+
* console.log(exists) // => false
|
|
940
|
+
* }
|
|
941
|
+
*
|
|
942
|
+
* asyncAwait()
|
|
943
|
+
*/
|
|
944
|
+
declare function pathExists(path: string): Promise<boolean>;
|
|
945
|
+
declare function pathExists(path: string, callback: (err: NodeJS.ErrnoException | null, exists: boolean) => void): void;
|
|
946
|
+
/**
|
|
947
|
+
* An alias for [`fs.existsSync`](https://nodejs.org/api/fs.html#fs_fs_existssync_path), created for
|
|
948
|
+
* consistency with `pathExists`.
|
|
949
|
+
*/
|
|
950
|
+
declare function pathExistsSync(path: string): boolean;
|
|
951
|
+
|
|
952
|
+
declare const access: typeof fs.access.__promisify__ & typeof fs.access;
|
|
953
|
+
declare const appendFile: typeof fs.appendFile.__promisify__ & typeof fs.appendFile;
|
|
954
|
+
declare const chmod: typeof fs.chmod.__promisify__ & typeof fs.chmod;
|
|
955
|
+
declare const chown: typeof fs.chown.__promisify__ & typeof fs.chown;
|
|
956
|
+
declare const close: typeof fs.close.__promisify__ & typeof fs.close;
|
|
957
|
+
declare const copyFile: typeof fs.copyFile.__promisify__ & typeof fs.copyFile;
|
|
958
|
+
declare const exists: typeof fs.exists.__promisify__ & typeof fs.exists;
|
|
959
|
+
declare const fchmod: typeof fs.fchmod.__promisify__ & typeof fs.fchmod;
|
|
960
|
+
declare const fchown: typeof fs.fchown.__promisify__ & typeof fs.fchown;
|
|
961
|
+
declare const fdatasync: typeof fs.fdatasync.__promisify__ & typeof fs.fdatasync;
|
|
962
|
+
declare const fstat: typeof fs.fstat.__promisify__ & typeof fs.fstat;
|
|
963
|
+
declare const fsync: typeof fs.fsync.__promisify__ & typeof fs.fsync;
|
|
964
|
+
declare const ftruncate: typeof fs.ftruncate.__promisify__ & typeof fs.ftruncate;
|
|
965
|
+
declare const futimes: typeof fs.futimes.__promisify__ & typeof fs.futimes;
|
|
966
|
+
declare const lchmod: typeof fs.lchmod.__promisify__ & typeof fs.lchmod;
|
|
967
|
+
declare const lchown: typeof fs.lchown.__promisify__ & typeof fs.lchown;
|
|
968
|
+
declare const link: typeof fs.link.__promisify__ & typeof fs.link;
|
|
969
|
+
declare const lstat: typeof fs.lstat.__promisify__ & typeof fs.lstat;
|
|
970
|
+
declare const mkdir: typeof fs.mkdir.__promisify__ & typeof fs.mkdir;
|
|
971
|
+
declare const mkdtemp: typeof fs.mkdtemp.__promisify__ & typeof fs.mkdtemp;
|
|
972
|
+
declare const open: typeof fs.open.__promisify__ & typeof fs.open;
|
|
973
|
+
declare const opendir: typeof fs.opendir.__promisify__ & typeof fs.opendir;
|
|
974
|
+
declare const read: typeof fs.read.__promisify__ & typeof fs.read;
|
|
975
|
+
declare const readv: typeof fs.readv.__promisify__ & typeof fs.readv;
|
|
976
|
+
declare const readdir: typeof fs.readdir.__promisify__ & typeof fs.readdir;
|
|
977
|
+
declare const readFile: typeof fs.readFile.__promisify__ & typeof fs.readFile;
|
|
978
|
+
declare const readlink: typeof fs.readlink.__promisify__ & typeof fs.readlink;
|
|
979
|
+
declare const realpath:
|
|
980
|
+
& typeof fs.realpath.__promisify__
|
|
981
|
+
& typeof fs.realpath
|
|
982
|
+
& {
|
|
983
|
+
native(path: fs.PathLike, options?: fs.EncodingOption): Promise<string>;
|
|
984
|
+
native(path: fs.PathLike, options: fs.BufferEncodingOption): Promise<Buffer>;
|
|
985
|
+
};
|
|
986
|
+
declare const rename: typeof fs.rename.__promisify__ & typeof fs.rename;
|
|
987
|
+
declare const rm: typeof fs.rm.__promisify__ & typeof fs.rm;
|
|
988
|
+
declare const rmdir: typeof fs.rmdir.__promisify__ & typeof fs.rmdir;
|
|
989
|
+
declare const stat: typeof fs.stat.__promisify__ & typeof fs.stat;
|
|
990
|
+
declare const symlink: typeof fs.symlink.__promisify__ & typeof fs.symlink;
|
|
991
|
+
declare const truncate: typeof fs.truncate.__promisify__ & typeof fs.truncate;
|
|
992
|
+
declare const unlink: typeof fs.unlink.__promisify__ & typeof fs.unlink;
|
|
993
|
+
declare const utimes: typeof fs.utimes.__promisify__ & typeof fs.utimes;
|
|
994
|
+
declare const write: typeof fs.write.__promisify__ & typeof fs.write;
|
|
995
|
+
declare const writev: typeof fs.writev.__promisify__ & typeof fs.writev;
|
|
996
|
+
declare const writeFile: typeof fs.writeFile.__promisify__ & typeof fs.writeFile;
|
|
997
|
+
|
|
998
|
+
type NoParamCallbackWithUndefined = (err: NodeJS.ErrnoException | null | undefined) => void;
|
|
999
|
+
|
|
1000
|
+
type SymlinkType = fs.symlink.Type;
|
|
1001
|
+
|
|
1002
|
+
type CopyFilterSync = (src: string, dest: string) => boolean;
|
|
1003
|
+
type CopyFilterAsync = (src: string, dest: string) => Promise<boolean>;
|
|
1004
|
+
|
|
1005
|
+
interface CopyOptions {
|
|
1006
|
+
/**
|
|
1007
|
+
* Dereference symlinks.
|
|
1008
|
+
* @default false
|
|
1009
|
+
*/
|
|
518
1010
|
dereference?: boolean | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* Overwrite existing file or directory.
|
|
1013
|
+
* _Note that the copy operation will silently fail if you set this to `false` and the destination exists._
|
|
1014
|
+
* Use the `errorOnExist` option to change this behavior.
|
|
1015
|
+
* @default true
|
|
1016
|
+
*/
|
|
519
1017
|
overwrite?: boolean | undefined;
|
|
1018
|
+
/**
|
|
1019
|
+
* When `true`, will set last modification and access times to the ones of the original source files.
|
|
1020
|
+
* When `false`, timestamp behavior is OS-dependent.
|
|
1021
|
+
* @default false
|
|
1022
|
+
*/
|
|
520
1023
|
preserveTimestamps?: boolean | undefined;
|
|
1024
|
+
/**
|
|
1025
|
+
* When `overwrite` is `false` and the destination exists, throw an error.
|
|
1026
|
+
* @default false
|
|
1027
|
+
*/
|
|
521
1028
|
errorOnExist?: boolean | undefined;
|
|
1029
|
+
/**
|
|
1030
|
+
* Function to filter copied files/directories. Return `true` to copy the item, `false` to ignore it.
|
|
1031
|
+
* Can also return a `Promise` that resolves to `true` or `false` (or pass in an `async` function).
|
|
1032
|
+
*/
|
|
522
1033
|
filter?: CopyFilterSync | CopyFilterAsync | undefined;
|
|
523
|
-
recursive?: boolean | undefined;
|
|
524
1034
|
}
|
|
525
1035
|
|
|
526
|
-
|
|
1036
|
+
interface CopyOptionsSync extends CopyOptions {
|
|
1037
|
+
/**
|
|
1038
|
+
* Function to filter copied files/directories. Return `true` to copy the item, `false` to ignore it.
|
|
1039
|
+
*/
|
|
527
1040
|
filter?: CopyFilterSync | undefined;
|
|
528
1041
|
}
|
|
529
1042
|
|
|
530
|
-
|
|
1043
|
+
interface EnsureDirOptions {
|
|
531
1044
|
mode?: number | undefined;
|
|
532
1045
|
}
|
|
533
1046
|
|
|
534
|
-
|
|
1047
|
+
interface MoveOptions {
|
|
1048
|
+
/**
|
|
1049
|
+
* Overwrite existing file or directory.
|
|
1050
|
+
* @default false
|
|
1051
|
+
*/
|
|
535
1052
|
overwrite?: boolean | undefined;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
fs?: object | undefined;
|
|
542
|
-
reviver?: any;
|
|
543
|
-
encoding?: BufferEncoding | string | undefined;
|
|
544
|
-
flag?: string | undefined;
|
|
1053
|
+
/**
|
|
1054
|
+
* Dereference symlinks.
|
|
1055
|
+
* @default false
|
|
1056
|
+
*/
|
|
1057
|
+
dereference?: boolean | undefined;
|
|
545
1058
|
}
|
|
546
1059
|
|
|
547
|
-
export interface WriteFileOptions {
|
|
548
|
-
encoding?: BufferEncoding | string | null | undefined;
|
|
549
|
-
flag?: string | undefined;
|
|
550
|
-
mode?: number | undefined;
|
|
551
|
-
}
|
|
552
1060
|
|
|
553
|
-
|
|
554
|
-
fs?: object | undefined;
|
|
555
|
-
replacer?: any;
|
|
556
|
-
spaces?: number | string | undefined;
|
|
557
|
-
EOL?: string | undefined;
|
|
558
|
-
}
|
|
1061
|
+
type JsonOutputOptions = fs.WriteFileOptions & StringifyOptions;
|
|
559
1062
|
|
|
560
|
-
export
|
|
561
|
-
|
|
562
|
-
buffers: ArrayBufferView[];
|
|
563
|
-
}
|
|
1063
|
+
export { access, appendFile, chmod, chown, close, copy, copyFile, copySync, createFile, createFileSync, createLink, createLinkSync, createSymlink, createSymlinkSync, emptyDir, emptyDirSync, emptydir, emptydirSync, ensureDir, ensureDirSync, ensureFile, ensureFileSync, ensureLink, ensureLinkSync, ensureSymlink, ensureSymlinkSync, exists, fchmod, fchown, fdatasync, fstat, fsync, ftruncate, futimes, lchmod, lchown, link, lstat, mkdir, mkdirp, mkdirpSync, mkdirs, mkdirsSync, mkdtemp, move, moveSync, open, opendir, outputFile, outputFileSync, outputJSON, outputJSONSync, outputJson, outputJsonSync, pathExists, pathExistsSync, read, readFile, readJSON, readJSONSync, readJson, readJsonSync, readdir, readlink, readv, realpath, remove, removeSync, rename, rm, rmdir, stat, symlink, truncate, unlink, utimes, write, writeFile, writeJSON, writeJSONSync, writeJson, writeJsonSync, writev };
|
|
1064
|
+
export type { CopyFilterAsync, CopyFilterSync, CopyOptions, CopyOptionsSync, EnsureDirOptions, JsonOutputOptions, JFReadOptions as JsonReadOptions, JFWriteOptions as JsonWriteOptions, MoveOptions, NoParamCallbackWithUndefined, SymlinkType };
|