@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cli/applyOptionsChain.js +1 -1
- package/dist/cjs/cli/get/config.js +1 -1
- package/dist/cjs/cli/is/config.js +1 -1
- package/dist/cjs/cli/require.js +3 -7
- package/dist/cjs/compiled.js +28 -34
- package/dist/cjs/fast-glob.js +50 -0
- package/dist/cjs/watch-options.js +18 -0
- package/dist/compiled/address/LICENSE.txt +22 -0
- package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
- package/dist/compiled/address/index.d.mts +50 -0
- package/dist/compiled/address/index.d.ts +50 -0
- package/dist/compiled/address/index.js +189 -136
- package/dist/compiled/address/index.mjs +187 -0
- package/dist/compiled/address/licenses-cjs.txt +24 -0
- package/dist/compiled/address/licenses-esm.txt +24 -0
- package/dist/compiled/address/package.json +1 -1
- package/dist/compiled/address/provenance.json +22 -0
- package/dist/compiled/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
- package/dist/compiled/browserslist/index.d.ts +51 -5
- package/dist/compiled/browserslist/index.js +1763 -820
- package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
- package/dist/compiled/browserslist/package.json +1 -1
- package/dist/compiled/browserslist/provenance.json +19 -0
- package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
- package/dist/compiled/chalk/index.d.mts +677 -0
- package/dist/compiled/chalk/index.d.ts +619 -357
- package/dist/compiled/chalk/index.js +734 -2343
- package/dist/compiled/chalk/index.mjs +761 -0
- package/dist/compiled/chalk/license +1 -1
- package/dist/compiled/chalk/licenses-cjs.txt +11 -0
- package/dist/compiled/chalk/licenses-esm.txt +11 -0
- package/dist/compiled/chalk/package.json +1 -1
- package/dist/compiled/chalk/provenance.json +19 -0
- package/dist/compiled/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
- package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
- package/dist/compiled/chokidar/index.d.mts +385 -0
- package/dist/compiled/chokidar/index.d.ts +385 -0
- package/dist/compiled/chokidar/index.js +1437 -4099
- package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
- package/dist/compiled/chokidar/index.mjs +1492 -0
- package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
- package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
- package/dist/compiled/chokidar/licenses-esm.txt +48 -0
- package/dist/compiled/chokidar/package.json +1 -1
- package/dist/compiled/chokidar/provenance.json +27 -0
- package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
- package/dist/compiled/commander/index.d.mts +1116 -0
- package/dist/compiled/commander/index.d.ts +1116 -0
- package/dist/compiled/commander/index.js +1738 -1499
- package/dist/compiled/commander/index.mjs +1778 -2
- package/dist/compiled/commander/licenses-cjs.txt +24 -0
- package/dist/compiled/commander/licenses-esm.txt +24 -0
- package/dist/compiled/commander/package.json +1 -1
- package/dist/compiled/commander/provenance.json +22 -0
- package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
- package/dist/compiled/debug/index.d.ts +79 -16
- package/dist/compiled/debug/index.js +172 -106
- package/dist/compiled/debug/licenses-cjs.txt +60 -0
- package/dist/compiled/debug/package.json +1 -1
- package/dist/compiled/debug/provenance.json +27 -0
- package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
- package/dist/compiled/dotenv-expand/index.d.ts +48 -10
- package/dist/compiled/dotenv-expand/index.js +65 -41
- package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
- package/dist/compiled/dotenv-expand/package.json +1 -1
- package/dist/compiled/dotenv-expand/provenance.json +22 -0
- package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
- package/dist/compiled/execa/index.d.mts +2451 -0
- package/dist/compiled/execa/index.d.ts +2301 -414
- package/dist/compiled/execa/index.js +6485 -1681
- package/dist/compiled/execa/index.mjs +6541 -0
- package/dist/compiled/execa/licenses-cjs.txt +443 -0
- package/dist/compiled/execa/licenses-esm.txt +443 -0
- package/dist/compiled/execa/package.json +1 -1
- package/dist/compiled/execa/provenance.json +19 -0
- package/dist/compiled/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
- package/dist/compiled/filesize/index.d.mts +98 -0
- package/dist/compiled/filesize/index.d.ts +98 -0
- package/dist/compiled/filesize/index.js +425 -185
- package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
- package/dist/compiled/filesize/index.mjs +450 -0
- package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
- package/dist/compiled/filesize/licenses-cjs.txt +29 -0
- package/dist/compiled/filesize/licenses-esm.txt +29 -0
- package/dist/compiled/filesize/package.json +1 -1
- package/dist/compiled/filesize/provenance.json +22 -0
- package/dist/compiled/fs-extra/LICENSE +15 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
- package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
- package/dist/compiled/fs-extra/index.d.ts +997 -496
- package/dist/compiled/fs-extra/index.js +1142 -1355
- package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
- package/dist/compiled/fs-extra/package.json +1 -1
- package/dist/compiled/fs-extra/provenance.json +27 -0
- package/dist/compiled/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
- package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
- package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
- package/dist/compiled/glob/index.d.mts +3823 -0
- package/dist/compiled/glob/index.d.ts +3823 -91
- package/dist/compiled/glob/index.js +3612 -1937
- package/dist/compiled/glob/index.mjs +3467 -0
- package/dist/compiled/glob/licenses-cjs.txt +65 -0
- package/dist/compiled/glob/licenses-esm.txt +65 -0
- package/dist/compiled/glob/package.json +1 -1
- package/dist/compiled/glob/provenance.json +42 -0
- package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
- package/dist/compiled/globby/index.d.mts +422 -0
- package/dist/compiled/globby/index.d.ts +364 -128
- package/dist/compiled/globby/index.js +4417 -521
- package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
- package/dist/compiled/globby/index.mjs +4572 -0
- package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
- package/dist/compiled/globby/license +1 -1
- package/dist/compiled/globby/licenses-cjs.txt +237 -0
- package/dist/compiled/globby/licenses-esm.txt +237 -0
- package/dist/compiled/globby/package.json +1 -1
- package/dist/compiled/globby/provenance.json +19 -0
- package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
- package/dist/compiled/gzip-size/index.d.mts +106 -0
- package/dist/compiled/gzip-size/index.d.ts +91 -81
- package/dist/compiled/gzip-size/index.js +117 -94
- package/dist/compiled/gzip-size/index.mjs +170 -0
- package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
- package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
- package/dist/compiled/gzip-size/package.json +1 -1
- package/dist/compiled/gzip-size/provenance.json +19 -0
- package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
- package/dist/compiled/import-lazy/index.d.ts +2 -2
- package/dist/compiled/import-lazy/index.js +18 -19
- package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
- package/dist/compiled/import-lazy/package.json +1 -1
- package/dist/compiled/import-lazy/provenance.json +19 -0
- package/dist/compiled/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
- package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
- package/dist/compiled/inquirer/index.d.mts +790 -0
- package/dist/compiled/inquirer/index.d.ts +727 -934
- package/dist/compiled/inquirer/index.js +5975 -14467
- package/dist/compiled/inquirer/index.mjs +11624 -0
- package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
- package/dist/compiled/inquirer/licenses-esm.txt +619 -0
- package/dist/compiled/inquirer/package.json +1 -1
- package/dist/compiled/inquirer/provenance.json +92 -0
- package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
- package/dist/compiled/js-yaml/index.d.mts +1126 -0
- package/dist/compiled/js-yaml/index.d.ts +1114 -142
- package/dist/compiled/js-yaml/index.js +20 -21
- package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/index.mjs +5 -4
- package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
- package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
- package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
- package/dist/compiled/js-yaml/package.json +1 -1
- package/dist/compiled/js-yaml/provenance.json +19 -0
- package/dist/compiled/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
- package/dist/compiled/json5/index.d.ts +103 -0
- package/dist/compiled/json5/index.js +11 -11
- package/dist/compiled/json5/licenses-cjs.txt +25 -0
- package/dist/compiled/json5/package.json +1 -1
- package/dist/compiled/json5/provenance.json +22 -0
- package/dist/compiled/lodash/add.d.ts +2 -0
- package/dist/compiled/lodash/after.d.ts +2 -0
- package/dist/compiled/lodash/ary.d.ts +2 -0
- package/dist/compiled/lodash/assign.d.ts +2 -0
- package/dist/compiled/lodash/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/at.d.ts +2 -0
- package/dist/compiled/lodash/attempt.d.ts +2 -0
- package/dist/compiled/lodash/before.d.ts +2 -0
- package/dist/compiled/lodash/bind.d.ts +2 -0
- package/dist/compiled/lodash/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/castArray.d.ts +2 -0
- package/dist/compiled/lodash/ceil.d.ts +2 -0
- package/dist/compiled/lodash/chain.d.ts +2 -0
- package/dist/compiled/lodash/chunk.d.ts +2 -0
- package/dist/compiled/lodash/clamp.d.ts +2 -0
- package/dist/compiled/lodash/clone.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/common/array.d.ts +56 -22
- package/dist/compiled/lodash/common/collection.d.ts +9 -1
- package/dist/compiled/lodash/common/common.d.ts +17 -10
- package/dist/compiled/lodash/common/function.d.ts +10 -1
- package/dist/compiled/lodash/common/lang.d.ts +8 -5
- package/dist/compiled/lodash/common/math.d.ts +3 -1
- package/dist/compiled/lodash/common/object.d.ts +141 -17
- package/dist/compiled/lodash/common/seq.d.ts +2 -2
- package/dist/compiled/lodash/common/string.d.ts +17 -17
- package/dist/compiled/lodash/compact.d.ts +2 -0
- package/dist/compiled/lodash/concat.d.ts +2 -0
- package/dist/compiled/lodash/cond.d.ts +2 -0
- package/dist/compiled/lodash/conforms.d.ts +2 -0
- package/dist/compiled/lodash/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/constant.d.ts +2 -0
- package/dist/compiled/lodash/countBy.d.ts +2 -0
- package/dist/compiled/lodash/create.d.ts +2 -0
- package/dist/compiled/lodash/curry.d.ts +2 -0
- package/dist/compiled/lodash/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/debounce.d.ts +2 -0
- package/dist/compiled/lodash/deburr.d.ts +2 -0
- package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
- package/dist/compiled/lodash/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/defaults.d.ts +2 -0
- package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/defer.d.ts +2 -0
- package/dist/compiled/lodash/delay.d.ts +2 -0
- package/dist/compiled/lodash/difference.d.ts +2 -0
- package/dist/compiled/lodash/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/divide.d.ts +2 -0
- package/dist/compiled/lodash/drop.d.ts +2 -0
- package/dist/compiled/lodash/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/each.d.ts +2 -0
- package/dist/compiled/lodash/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/entries.d.ts +2 -0
- package/dist/compiled/lodash/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/eq.d.ts +2 -0
- package/dist/compiled/lodash/escape.d.ts +2 -0
- package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/every.d.ts +2 -0
- package/dist/compiled/lodash/extend.d.ts +2 -0
- package/dist/compiled/lodash/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fill.d.ts +2 -0
- package/dist/compiled/lodash/filter.d.ts +2 -0
- package/dist/compiled/lodash/find.d.ts +2 -0
- package/dist/compiled/lodash/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/findKey.d.ts +2 -0
- package/dist/compiled/lodash/findLast.d.ts +2 -0
- package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/first.d.ts +2 -0
- package/dist/compiled/lodash/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/flatten.d.ts +2 -0
- package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/flip.d.ts +2 -0
- package/dist/compiled/lodash/floor.d.ts +2 -0
- package/dist/compiled/lodash/flow.d.ts +2 -0
- package/dist/compiled/lodash/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/forEach.d.ts +2 -0
- package/dist/compiled/lodash/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/forIn.d.ts +2 -0
- package/dist/compiled/lodash/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/F.d.ts +2 -0
- package/dist/compiled/lodash/fp/T.d.ts +2 -0
- package/dist/compiled/lodash/fp/__.d.ts +3 -0
- package/dist/compiled/lodash/fp/add.d.ts +2 -0
- package/dist/compiled/lodash/fp/after.d.ts +2 -0
- package/dist/compiled/lodash/fp/all.d.ts +2 -0
- package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/always.d.ts +2 -0
- package/dist/compiled/lodash/fp/any.d.ts +2 -0
- package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
- package/dist/compiled/lodash/fp/apply.d.ts +2 -0
- package/dist/compiled/lodash/fp/ary.d.ts +2 -0
- package/dist/compiled/lodash/fp/assign.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/at.d.ts +2 -0
- package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
- package/dist/compiled/lodash/fp/before.d.ts +2 -0
- package/dist/compiled/lodash/fp/bind.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
- package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
- package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
- package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
- package/dist/compiled/lodash/fp/clone.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/compact.d.ts +2 -0
- package/dist/compiled/lodash/fp/complement.d.ts +2 -0
- package/dist/compiled/lodash/fp/compose.d.ts +2 -0
- package/dist/compiled/lodash/fp/concat.d.ts +2 -0
- package/dist/compiled/lodash/fp/cond.d.ts +2 -0
- package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
- package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/constant.d.ts +2 -0
- package/dist/compiled/lodash/fp/contains.d.ts +2 -0
- package/dist/compiled/lodash/fp/convert.d.ts +15 -0
- package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/create.d.ts +2 -0
- package/dist/compiled/lodash/fp/curry.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
- package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
- package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/defer.d.ts +2 -0
- package/dist/compiled/lodash/fp/delay.d.ts +2 -0
- package/dist/compiled/lodash/fp/difference.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
- package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/divide.d.ts +2 -0
- package/dist/compiled/lodash/fp/drop.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/each.d.ts +2 -0
- package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/entries.d.ts +2 -0
- package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/eq.d.ts +2 -0
- package/dist/compiled/lodash/fp/equals.d.ts +2 -0
- package/dist/compiled/lodash/fp/escape.d.ts +2 -0
- package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/every.d.ts +2 -0
- package/dist/compiled/lodash/fp/extend.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/fill.d.ts +2 -0
- package/dist/compiled/lodash/fp/filter.d.ts +2 -0
- package/dist/compiled/lodash/fp/find.d.ts +2 -0
- package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
- package/dist/compiled/lodash/fp/first.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
- package/dist/compiled/lodash/fp/flip.d.ts +2 -0
- package/dist/compiled/lodash/fp/floor.d.ts +2 -0
- package/dist/compiled/lodash/fp/flow.d.ts +2 -0
- package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
- package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
- package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/functions.d.ts +2 -0
- package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/get.d.ts +2 -0
- package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/gt.d.ts +2 -0
- package/dist/compiled/lodash/fp/gte.d.ts +2 -0
- package/dist/compiled/lodash/fp/has.d.ts +2 -0
- package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/head.d.ts +2 -0
- package/dist/compiled/lodash/fp/identical.d.ts +2 -0
- package/dist/compiled/lodash/fp/identity.d.ts +2 -0
- package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
- package/dist/compiled/lodash/fp/includes.d.ts +2 -0
- package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/init.d.ts +2 -0
- package/dist/compiled/lodash/fp/initial.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/invert.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
- package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isError.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
- package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/isString.d.ts +2 -0
- package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/fp/join.d.ts +2 -0
- package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
- package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/keys.d.ts +2 -0
- package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/last.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/lt.d.ts +2 -0
- package/dist/compiled/lodash/fp/lte.d.ts +2 -0
- package/dist/compiled/lodash/fp/map.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/fp/matches.d.ts +2 -0
- package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/fp/max.d.ts +2 -0
- package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/mean.d.ts +2 -0
- package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
- package/dist/compiled/lodash/fp/merge.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/method.d.ts +2 -0
- package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/min.d.ts +2 -0
- package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
- package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
- package/dist/compiled/lodash/fp/negate.d.ts +2 -0
- package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/fp/noop.d.ts +2 -0
- package/dist/compiled/lodash/fp/now.d.ts +2 -0
- package/dist/compiled/lodash/fp/nth.d.ts +2 -0
- package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/fp/omit.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/once.d.ts +2 -0
- package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/over.d.ts +2 -0
- package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
- package/dist/compiled/lodash/fp/pad.d.ts +2 -0
- package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/fp/partial.d.ts +2 -0
- package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/partition.d.ts +2 -0
- package/dist/compiled/lodash/fp/path.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/paths.d.ts +2 -0
- package/dist/compiled/lodash/fp/pick.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
- package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
- package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
- package/dist/compiled/lodash/fp/prop.d.ts +2 -0
- package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
- package/dist/compiled/lodash/fp/property.d.ts +2 -0
- package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/props.d.ts +2 -0
- package/dist/compiled/lodash/fp/pull.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/fp/random.d.ts +2 -0
- package/dist/compiled/lodash/fp/range.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
- package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
- package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/reject.d.ts +2 -0
- package/dist/compiled/lodash/fp/remove.d.ts +2 -0
- package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
- package/dist/compiled/lodash/fp/replace.d.ts +2 -0
- package/dist/compiled/lodash/fp/rest.d.ts +2 -0
- package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/result.d.ts +2 -0
- package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
- package/dist/compiled/lodash/fp/round.d.ts +2 -0
- package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/fp/sample.d.ts +2 -0
- package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/fp/set.d.ts +2 -0
- package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/fp/size.d.ts +2 -0
- package/dist/compiled/lodash/fp/slice.d.ts +2 -0
- package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/some.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/split.d.ts +2 -0
- package/dist/compiled/lodash/fp/spread.d.ts +2 -0
- package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
- package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
- package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
- package/dist/compiled/lodash/fp/sum.d.ts +2 -0
- package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/tail.d.ts +2 -0
- package/dist/compiled/lodash/fp/take.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/fp/tap.d.ts +2 -0
- package/dist/compiled/lodash/fp/template.d.ts +2 -0
- package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
- package/dist/compiled/lodash/fp/thru.d.ts +2 -0
- package/dist/compiled/lodash/fp/times.d.ts +2 -0
- package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
- package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
- package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
- package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
- package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/fp/toString.d.ts +2 -0
- package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/fp/transform.d.ts +2 -0
- package/dist/compiled/lodash/fp/trim.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
- package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
- package/dist/compiled/lodash/fp/unary.d.ts +2 -0
- package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
- package/dist/compiled/lodash/fp/union.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
- package/dist/compiled/lodash/fp/unset.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
- package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/update.d.ts +2 -0
- package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/values.d.ts +2 -0
- package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/fp/where.d.ts +2 -0
- package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
- package/dist/compiled/lodash/fp/without.d.ts +2 -0
- package/dist/compiled/lodash/fp/words.d.ts +2 -0
- package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
- package/dist/compiled/lodash/fp/xor.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/fp/zip.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
- package/dist/compiled/lodash/fp.d.ts +4962 -0
- package/dist/compiled/lodash/fromPairs.d.ts +2 -0
- package/dist/compiled/lodash/functions.d.ts +2 -0
- package/dist/compiled/lodash/functionsIn.d.ts +2 -0
- package/dist/compiled/lodash/get.d.ts +2 -0
- package/dist/compiled/lodash/groupBy.d.ts +2 -0
- package/dist/compiled/lodash/gt.d.ts +2 -0
- package/dist/compiled/lodash/gte.d.ts +2 -0
- package/dist/compiled/lodash/has.d.ts +2 -0
- package/dist/compiled/lodash/hasIn.d.ts +2 -0
- package/dist/compiled/lodash/head.d.ts +2 -0
- package/dist/compiled/lodash/identity.d.ts +2 -0
- package/dist/compiled/lodash/inRange.d.ts +2 -0
- package/dist/compiled/lodash/includes.d.ts +2 -0
- package/dist/compiled/lodash/index.d.ts +1 -16
- package/dist/compiled/lodash/indexOf.d.ts +2 -0
- package/dist/compiled/lodash/initial.d.ts +2 -0
- package/dist/compiled/lodash/intersection.d.ts +2 -0
- package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
- package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
- package/dist/compiled/lodash/invert.d.ts +2 -0
- package/dist/compiled/lodash/invertBy.d.ts +2 -0
- package/dist/compiled/lodash/invoke.d.ts +2 -0
- package/dist/compiled/lodash/invokeMap.d.ts +2 -0
- package/dist/compiled/lodash/isArguments.d.ts +2 -0
- package/dist/compiled/lodash/isArray.d.ts +2 -0
- package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
- package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
- package/dist/compiled/lodash/isBoolean.d.ts +2 -0
- package/dist/compiled/lodash/isBuffer.d.ts +2 -0
- package/dist/compiled/lodash/isDate.d.ts +2 -0
- package/dist/compiled/lodash/isElement.d.ts +2 -0
- package/dist/compiled/lodash/isEmpty.d.ts +2 -0
- package/dist/compiled/lodash/isEqual.d.ts +2 -0
- package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
- package/dist/compiled/lodash/isError.d.ts +2 -0
- package/dist/compiled/lodash/isFinite.d.ts +2 -0
- package/dist/compiled/lodash/isFunction.d.ts +2 -0
- package/dist/compiled/lodash/isInteger.d.ts +2 -0
- package/dist/compiled/lodash/isLength.d.ts +2 -0
- package/dist/compiled/lodash/isMap.d.ts +2 -0
- package/dist/compiled/lodash/isMatch.d.ts +2 -0
- package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
- package/dist/compiled/lodash/isNaN.d.ts +2 -0
- package/dist/compiled/lodash/isNative.d.ts +2 -0
- package/dist/compiled/lodash/isNil.d.ts +2 -0
- package/dist/compiled/lodash/isNull.d.ts +2 -0
- package/dist/compiled/lodash/isNumber.d.ts +2 -0
- package/dist/compiled/lodash/isObject.d.ts +2 -0
- package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
- package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/isRegExp.d.ts +2 -0
- package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/isSet.d.ts +2 -0
- package/dist/compiled/lodash/isString.d.ts +2 -0
- package/dist/compiled/lodash/isSymbol.d.ts +2 -0
- package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
- package/dist/compiled/lodash/isUndefined.d.ts +2 -0
- package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
- package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
- package/dist/compiled/lodash/iteratee.d.ts +2 -0
- package/dist/compiled/lodash/join.d.ts +2 -0
- package/dist/compiled/lodash/kebabCase.d.ts +2 -0
- package/dist/compiled/lodash/keyBy.d.ts +2 -0
- package/dist/compiled/lodash/keys.d.ts +2 -0
- package/dist/compiled/lodash/keysIn.d.ts +2 -0
- package/dist/compiled/lodash/last.d.ts +2 -0
- package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/licenses-cjs.txt +49 -0
- package/dist/compiled/lodash/lowerCase.d.ts +2 -0
- package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
- package/dist/compiled/lodash/lt.d.ts +2 -0
- package/dist/compiled/lodash/lte.d.ts +2 -0
- package/dist/compiled/lodash/map.d.ts +2 -0
- package/dist/compiled/lodash/mapKeys.d.ts +2 -0
- package/dist/compiled/lodash/mapValues.d.ts +2 -0
- package/dist/compiled/lodash/matches.d.ts +2 -0
- package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
- package/dist/compiled/lodash/max.d.ts +2 -0
- package/dist/compiled/lodash/maxBy.d.ts +2 -0
- package/dist/compiled/lodash/mean.d.ts +2 -0
- package/dist/compiled/lodash/meanBy.d.ts +2 -0
- package/dist/compiled/lodash/memoize.d.ts +2 -0
- package/dist/compiled/lodash/merge.d.ts +2 -0
- package/dist/compiled/lodash/mergeWith.d.ts +2 -0
- package/dist/compiled/lodash/method.d.ts +2 -0
- package/dist/compiled/lodash/methodOf.d.ts +2 -0
- package/dist/compiled/lodash/min.d.ts +2 -0
- package/dist/compiled/lodash/minBy.d.ts +2 -0
- package/dist/compiled/lodash/mixin.d.ts +2 -0
- package/dist/compiled/lodash/multiply.d.ts +2 -0
- package/dist/compiled/lodash/negate.d.ts +2 -0
- package/dist/compiled/lodash/noConflict.d.ts +2 -0
- package/dist/compiled/lodash/noop.d.ts +2 -0
- package/dist/compiled/lodash/now.d.ts +2 -0
- package/dist/compiled/lodash/nth.d.ts +2 -0
- package/dist/compiled/lodash/nthArg.d.ts +2 -0
- package/dist/compiled/lodash/omit.d.ts +2 -0
- package/dist/compiled/lodash/omitBy.d.ts +2 -0
- package/dist/compiled/lodash/once.d.ts +2 -0
- package/dist/compiled/lodash/orderBy.d.ts +2 -0
- package/dist/compiled/lodash/over.d.ts +2 -0
- package/dist/compiled/lodash/overArgs.d.ts +2 -0
- package/dist/compiled/lodash/overEvery.d.ts +2 -0
- package/dist/compiled/lodash/overSome.d.ts +2 -0
- package/dist/compiled/lodash/package.json +1 -1
- package/dist/compiled/lodash/pad.d.ts +2 -0
- package/dist/compiled/lodash/padEnd.d.ts +2 -0
- package/dist/compiled/lodash/padStart.d.ts +2 -0
- package/dist/compiled/lodash/parseInt.d.ts +2 -0
- package/dist/compiled/lodash/partial.d.ts +2 -0
- package/dist/compiled/lodash/partialRight.d.ts +2 -0
- package/dist/compiled/lodash/partition.d.ts +2 -0
- package/dist/compiled/lodash/pick.d.ts +2 -0
- package/dist/compiled/lodash/pickBy.d.ts +2 -0
- package/dist/compiled/lodash/property.d.ts +2 -0
- package/dist/compiled/lodash/propertyOf.d.ts +2 -0
- package/dist/compiled/lodash/provenance.json +19 -0
- package/dist/compiled/lodash/pull.d.ts +2 -0
- package/dist/compiled/lodash/pullAll.d.ts +2 -0
- package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
- package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
- package/dist/compiled/lodash/pullAt.d.ts +2 -0
- package/dist/compiled/lodash/random.d.ts +2 -0
- package/dist/compiled/lodash/range.d.ts +2 -0
- package/dist/compiled/lodash/rangeRight.d.ts +2 -0
- package/dist/compiled/lodash/rearg.d.ts +2 -0
- package/dist/compiled/lodash/reduce.d.ts +2 -0
- package/dist/compiled/lodash/reduceRight.d.ts +2 -0
- package/dist/compiled/lodash/reject.d.ts +2 -0
- package/dist/compiled/lodash/remove.d.ts +2 -0
- package/dist/compiled/lodash/repeat.d.ts +2 -0
- package/dist/compiled/lodash/replace.d.ts +2 -0
- package/dist/compiled/lodash/rest.d.ts +2 -0
- package/dist/compiled/lodash/result.d.ts +2 -0
- package/dist/compiled/lodash/reverse.d.ts +2 -0
- package/dist/compiled/lodash/round.d.ts +2 -0
- package/dist/compiled/lodash/runInContext.d.ts +2 -0
- package/dist/compiled/lodash/sample.d.ts +2 -0
- package/dist/compiled/lodash/sampleSize.d.ts +2 -0
- package/dist/compiled/lodash/set.d.ts +2 -0
- package/dist/compiled/lodash/setWith.d.ts +2 -0
- package/dist/compiled/lodash/shuffle.d.ts +2 -0
- package/dist/compiled/lodash/size.d.ts +2 -0
- package/dist/compiled/lodash/slice.d.ts +2 -0
- package/dist/compiled/lodash/snakeCase.d.ts +2 -0
- package/dist/compiled/lodash/some.d.ts +2 -0
- package/dist/compiled/lodash/sortBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
- package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
- package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
- package/dist/compiled/lodash/split.d.ts +2 -0
- package/dist/compiled/lodash/spread.d.ts +2 -0
- package/dist/compiled/lodash/startCase.d.ts +2 -0
- package/dist/compiled/lodash/startsWith.d.ts +2 -0
- package/dist/compiled/lodash/stubArray.d.ts +2 -0
- package/dist/compiled/lodash/stubFalse.d.ts +2 -0
- package/dist/compiled/lodash/stubObject.d.ts +2 -0
- package/dist/compiled/lodash/stubString.d.ts +2 -0
- package/dist/compiled/lodash/stubTrue.d.ts +2 -0
- package/dist/compiled/lodash/subtract.d.ts +2 -0
- package/dist/compiled/lodash/sum.d.ts +2 -0
- package/dist/compiled/lodash/sumBy.d.ts +2 -0
- package/dist/compiled/lodash/tail.d.ts +2 -0
- package/dist/compiled/lodash/take.d.ts +2 -0
- package/dist/compiled/lodash/takeRight.d.ts +2 -0
- package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
- package/dist/compiled/lodash/takeWhile.d.ts +2 -0
- package/dist/compiled/lodash/tap.d.ts +2 -0
- package/dist/compiled/lodash/template.d.ts +2 -0
- package/dist/compiled/lodash/throttle.d.ts +2 -0
- package/dist/compiled/lodash/thru.d.ts +2 -0
- package/dist/compiled/lodash/times.d.ts +2 -0
- package/dist/compiled/lodash/toArray.d.ts +2 -0
- package/dist/compiled/lodash/toFinite.d.ts +2 -0
- package/dist/compiled/lodash/toInteger.d.ts +2 -0
- package/dist/compiled/lodash/toLength.d.ts +2 -0
- package/dist/compiled/lodash/toLower.d.ts +2 -0
- package/dist/compiled/lodash/toNumber.d.ts +2 -0
- package/dist/compiled/lodash/toPairs.d.ts +2 -0
- package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
- package/dist/compiled/lodash/toPath.d.ts +2 -0
- package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
- package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
- package/dist/compiled/lodash/toString.d.ts +2 -0
- package/dist/compiled/lodash/toUpper.d.ts +2 -0
- package/dist/compiled/lodash/transform.d.ts +2 -0
- package/dist/compiled/lodash/trim.d.ts +2 -0
- package/dist/compiled/lodash/trimEnd.d.ts +2 -0
- package/dist/compiled/lodash/trimStart.d.ts +2 -0
- package/dist/compiled/lodash/truncate.d.ts +2 -0
- package/dist/compiled/lodash/unary.d.ts +2 -0
- package/dist/compiled/lodash/unescape.d.ts +2 -0
- package/dist/compiled/lodash/union.d.ts +2 -0
- package/dist/compiled/lodash/unionBy.d.ts +2 -0
- package/dist/compiled/lodash/unionWith.d.ts +2 -0
- package/dist/compiled/lodash/uniq.d.ts +2 -0
- package/dist/compiled/lodash/uniqBy.d.ts +2 -0
- package/dist/compiled/lodash/uniqWith.d.ts +2 -0
- package/dist/compiled/lodash/uniqueId.d.ts +2 -0
- package/dist/compiled/lodash/unset.d.ts +2 -0
- package/dist/compiled/lodash/unzip.d.ts +2 -0
- package/dist/compiled/lodash/unzipWith.d.ts +2 -0
- package/dist/compiled/lodash/update.d.ts +2 -0
- package/dist/compiled/lodash/updateWith.d.ts +2 -0
- package/dist/compiled/lodash/upperCase.d.ts +2 -0
- package/dist/compiled/lodash/upperFirst.d.ts +2 -0
- package/dist/compiled/lodash/values.d.ts +2 -0
- package/dist/compiled/lodash/valuesIn.d.ts +2 -0
- package/dist/compiled/lodash/without.d.ts +2 -0
- package/dist/compiled/lodash/words.d.ts +2 -0
- package/dist/compiled/lodash/wrap.d.ts +2 -0
- package/dist/compiled/lodash/xor.d.ts +2 -0
- package/dist/compiled/lodash/xorBy.d.ts +2 -0
- package/dist/compiled/lodash/xorWith.d.ts +2 -0
- package/dist/compiled/lodash/zip.d.ts +2 -0
- package/dist/compiled/lodash/zipObject.d.ts +2 -0
- package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
- package/dist/compiled/lodash/zipWith.d.ts +2 -0
- package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
- package/dist/compiled/mime-types/index.d.ts +15 -12
- package/dist/compiled/mime-types/index.js +74 -28
- package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
- package/dist/compiled/mime-types/package.json +1 -1
- package/dist/compiled/mime-types/provenance.json +19 -0
- package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
- package/dist/compiled/minimist/index.d.ts +3 -11
- package/dist/compiled/minimist/index.js +103 -104
- package/dist/compiled/minimist/licenses-cjs.txt +20 -0
- package/dist/compiled/minimist/package.json +1 -1
- package/dist/compiled/minimist/provenance.json +22 -0
- package/dist/compiled/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
- package/dist/compiled/nanoid/index.d.mts +108 -0
- package/dist/compiled/nanoid/index.d.ts +31 -14
- package/dist/compiled/nanoid/index.js +117 -74
- package/dist/compiled/nanoid/index.mjs +98 -48
- package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
- package/dist/compiled/nanoid/licenses-esm.txt +22 -0
- package/dist/compiled/nanoid/package.json +1 -1
- package/dist/compiled/nanoid/provenance.json +19 -0
- package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
- package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
- package/dist/compiled/ora/index.d.mts +501 -0
- package/dist/compiled/ora/index.d.ts +428 -204
- package/dist/compiled/ora/index.js +2121 -3893
- package/dist/compiled/ora/index.mjs +2155 -0
- package/dist/compiled/ora/licenses-cjs.txt +226 -0
- package/dist/compiled/ora/licenses-esm.txt +226 -0
- package/dist/compiled/ora/package.json +1 -1
- package/dist/compiled/ora/provenance.json +24 -0
- package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
- package/dist/compiled/pkg-up/index.d.ts +9 -9
- package/dist/compiled/pkg-up/index.js +47 -14
- package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
- package/dist/compiled/pkg-up/package.json +1 -1
- package/dist/compiled/pkg-up/provenance.json +18 -0
- package/dist/compiled/semver/classes/comparator.d.ts +3 -3
- package/dist/compiled/semver/classes/range.d.ts +6 -6
- package/dist/compiled/semver/classes/semver.d.ts +11 -4
- package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
- package/dist/compiled/semver/functions/clean.d.ts +1 -1
- package/dist/compiled/semver/functions/cmp.d.ts +2 -2
- package/dist/compiled/semver/functions/coerce.d.ts +2 -2
- package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
- package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
- package/dist/compiled/semver/functions/compare.d.ts +2 -2
- package/dist/compiled/semver/functions/diff.d.ts +3 -7
- package/dist/compiled/semver/functions/eq.d.ts +2 -2
- package/dist/compiled/semver/functions/gt.d.ts +2 -2
- package/dist/compiled/semver/functions/gte.d.ts +2 -2
- package/dist/compiled/semver/functions/inc.d.ts +15 -4
- package/dist/compiled/semver/functions/lt.d.ts +2 -2
- package/dist/compiled/semver/functions/lte.d.ts +2 -2
- package/dist/compiled/semver/functions/major.d.ts +2 -2
- package/dist/compiled/semver/functions/minor.d.ts +2 -2
- package/dist/compiled/semver/functions/neq.d.ts +2 -2
- package/dist/compiled/semver/functions/parse.d.ts +15 -4
- package/dist/compiled/semver/functions/patch.d.ts +2 -2
- package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
- package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
- package/dist/compiled/semver/functions/rsort.d.ts +2 -2
- package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
- package/dist/compiled/semver/functions/sort.d.ts +2 -2
- package/dist/compiled/semver/functions/truncate.d.ts +10 -0
- package/dist/compiled/semver/functions/valid.d.ts +2 -2
- package/dist/compiled/semver/index.d.ts +82 -77
- package/dist/compiled/semver/index.js +639 -1026
- package/dist/compiled/semver/licenses-cjs.txt +17 -0
- package/dist/compiled/semver/package.json +1 -1
- package/dist/compiled/semver/preload.d.ts +2 -0
- package/dist/compiled/semver/provenance.json +22 -0
- package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
- package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
- package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
- package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
- package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
- package/dist/compiled/semver/ranges/outside.d.ts +5 -5
- package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
- package/dist/compiled/semver/ranges/subset.d.ts +3 -7
- package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
- package/dist/compiled/semver/ranges/valid.d.ts +3 -3
- package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
- package/dist/compiled/signale/index.d.ts +22 -29
- package/dist/compiled/signale/index.js +2934 -613
- package/dist/compiled/signale/license.md +21 -0
- package/dist/compiled/signale/licenses-cjs.txt +468 -0
- package/dist/compiled/signale/package.json +1 -1
- package/dist/compiled/signale/provenance.json +19 -0
- package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
- package/dist/compiled/slash/index.d.mts +25 -0
- package/dist/compiled/slash/index.d.ts +4 -4
- package/dist/compiled/slash/index.js +31 -27
- package/dist/compiled/slash/index.mjs +25 -0
- package/dist/compiled/slash/license +1 -1
- package/dist/compiled/slash/licenses-cjs.txt +11 -0
- package/dist/compiled/slash/licenses-esm.txt +11 -0
- package/dist/compiled/slash/package.json +1 -1
- package/dist/compiled/slash/provenance.json +19 -0
- package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
- package/dist/compiled/strip-ansi/index.d.mts +17 -0
- package/dist/compiled/strip-ansi/index.d.ts +2 -2
- package/dist/compiled/strip-ansi/index.js +39 -29
- package/dist/compiled/strip-ansi/index.mjs +33 -0
- package/dist/compiled/strip-ansi/license +1 -1
- package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
- package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
- package/dist/compiled/strip-ansi/package.json +1 -1
- package/dist/compiled/strip-ansi/provenance.json +19 -0
- package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
- package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
- package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
- package/dist/compiled/tsconfig-paths/index.js +256 -243
- package/dist/compiled/tsconfig-paths/index.mjs +2 -2
- package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
- package/dist/compiled/tsconfig-paths/package.json +1 -1
- package/dist/compiled/tsconfig-paths/provenance.json +19 -0
- package/dist/compiled/upath/LICENSE +22 -0
- package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
- package/dist/compiled/upath/index.d.mts +84 -0
- package/dist/compiled/upath/index.d.ts +84 -0
- package/dist/compiled/upath/index.js +173 -110
- package/dist/compiled/upath/index.mjs +236 -0
- package/dist/compiled/upath/licenses-cjs.txt +24 -0
- package/dist/compiled/upath/licenses-esm.txt +24 -0
- package/dist/compiled/upath/package.json +1 -1
- package/dist/compiled/upath/provenance.json +22 -0
- package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
- package/dist/compiled/url-join/index.d.mts +9 -0
- package/dist/compiled/url-join/index.d.ts +3 -11
- package/dist/compiled/url-join/index.js +55 -55
- package/dist/compiled/url-join/index.mjs +50 -0
- package/dist/compiled/url-join/licenses-cjs.txt +23 -0
- package/dist/compiled/url-join/licenses-esm.txt +23 -0
- package/dist/compiled/url-join/package.json +1 -1
- package/dist/compiled/url-join/provenance.json +22 -0
- package/dist/esm/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm/cli/get/config.mjs +1 -1
- package/dist/esm/cli/is/config.mjs +1 -1
- package/dist/esm/cli/require.mjs +4 -5
- package/dist/esm/compiled.mjs +22 -31
- package/dist/esm/fast-glob.mjs +1 -0
- package/dist/esm/watch-options.mjs +0 -0
- package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
- package/dist/esm-node/cli/get/config.mjs +1 -1
- package/dist/esm-node/cli/is/config.mjs +1 -1
- package/dist/esm-node/cli/require.mjs +4 -5
- package/dist/esm-node/compiled.mjs +22 -30
- package/dist/esm-node/fast-glob.mjs +2 -0
- package/dist/esm-node/watch-options.mjs +1 -0
- package/dist/types/cli/commands.d.ts +1 -1
- package/dist/types/cli/modulePath.d.ts +1 -1
- package/dist/types/cli/require.d.ts +0 -1
- package/dist/types/compiled.d.ts +30 -29
- package/dist/types/fast-glob.d.ts +1 -0
- package/dist/types/watch-options.d.ts +1 -0
- package/package.json +100 -36
- package/rslib.config.mts +20 -84
- package/dist/compiled/address/lib/address.d.ts +0 -28
- package/dist/compiled/browserslist/license +0 -20
- package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/compiled/chokidar/fsevents.node +0 -0
- package/dist/compiled/chokidar/license +0 -21
- package/dist/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/compiled/commander/typings/index.d.ts +0 -890
- package/dist/compiled/debug/ms/index.d.ts +0 -25
- package/dist/compiled/dotenv/index.js +0 -101
- package/dist/compiled/dotenv/license +0 -23
- package/dist/compiled/dotenv/package.json +0 -1
- package/dist/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/compiled/fast-glob/index.js +0 -4665
- package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
- package/dist/compiled/fast-glob/license +0 -21
- package/dist/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/compiled/fast-glob/package.json +0 -1
- package/dist/compiled/filesize/filesize.d.ts +0 -131
- package/dist/compiled/filesize/license +0 -28
- package/dist/compiled/fs-extra/license +0 -15
- package/dist/compiled/glob/license +0 -21
- package/dist/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
- package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
- package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
- package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
- package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
- package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
- package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
- package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
- package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
- package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
- package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
- package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
- package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
- package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
- package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
- package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
- package/dist/compiled/inquirer/license +0 -22
- package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
- package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
- package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
- package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
- package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
- package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
- package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
- package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
- package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
- package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
- package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
- package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
- package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
- package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
- package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
- package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
- package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
- package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
- package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
- package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
- package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
- package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
- package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
- package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
- package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
- package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
- package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
- package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
- package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
- package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
- package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
- package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
- package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
- package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
- package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
- package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
- package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
- package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
- package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
- package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
- package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
- package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
- package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
- package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
- package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
- package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
- package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
- package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
- package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
- package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
- package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
- package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
- package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
- package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
- package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
- package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
- package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
- package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
- package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
- package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
- package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
- package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
- package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
- package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
- package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
- package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
- package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
- package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
- package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
- package/dist/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/compiled/json5/lib/index.d.ts +0 -4
- package/dist/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/compiled/nanoid/license +0 -20
- package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
- package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/compiled/upath/license +0 -22
- package/dist/compiled/upath/upath.d.ts +0 -241
- package/dist/compiled/webpack-chain/index.js +0 -1475
- package/dist/compiled/webpack-chain/license +0 -373
- package/dist/compiled/webpack-chain/package.json +0 -1
- package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
- package/dist/esm/rslib-runtime~1.mjs +0 -12
- /package/dist/compiled/commander/{license → LICENSE} +0 -0
- /package/dist/compiled/debug/{license → LICENSE} +0 -0
- /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
- /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
- /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
- /package/dist/compiled/lodash/{license → LICENSE} +0 -0
- /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
- /package/dist/compiled/minimist/{license → LICENSE} +0 -0
- /package/dist/compiled/semver/{license → LICENSE} +0 -0
- /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
- /package/dist/compiled/url-join/{license → LICENSE} +0 -0
|
@@ -1,392 +1,313 @@
|
|
|
1
1
|
(()=>{
|
|
2
|
-
var
|
|
3
|
-
|
|
2
|
+
var t = {
|
|
3
|
+
591: (t, e, r)=>{
|
|
4
4
|
"use strict";
|
|
5
|
-
const n = r(
|
|
6
|
-
const i = r(
|
|
7
|
-
const o = r(
|
|
8
|
-
const c = r(
|
|
9
|
-
const s = r(
|
|
10
|
-
function copySync(
|
|
5
|
+
const n = r(976);
|
|
6
|
+
const i = r(928);
|
|
7
|
+
const o = r(649).mkdirsSync;
|
|
8
|
+
const c = r(126).utimesMillisSync;
|
|
9
|
+
const s = r(399);
|
|
10
|
+
function copySync(t, e, r) {
|
|
11
11
|
if ("function" == typeof r) r = {
|
|
12
12
|
filter: r
|
|
13
13
|
};
|
|
14
14
|
r = r || {};
|
|
15
15
|
r.clobber = "clobber" in r ? !!r.clobber : true;
|
|
16
16
|
r.overwrite = "overwrite" in r ? !!r.overwrite : r.clobber;
|
|
17
|
-
if (r.preserveTimestamps && "ia32" === process.arch)
|
|
18
|
-
const { srcStat:
|
|
19
|
-
s.checkParentPathsSync(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return getStats(e, t, r, c);
|
|
27
|
-
}
|
|
28
|
-
function startCopy(e, t, r, n) {
|
|
29
|
-
if (n.filter && !n.filter(t, r)) return;
|
|
30
|
-
return getStats(e, t, r, n);
|
|
31
|
-
}
|
|
32
|
-
function getStats(e, t, r, i) {
|
|
17
|
+
if (r.preserveTimestamps && "ia32" === process.arch) process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269", "Warning", "fs-extra-WARN0002");
|
|
18
|
+
const { srcStat: c, destStat: a } = s.checkPathsSync(t, e, "copy", r);
|
|
19
|
+
s.checkParentPathsSync(t, c, e, "copy");
|
|
20
|
+
if (r.filter && !r.filter(t, e)) return;
|
|
21
|
+
const u = i.dirname(e);
|
|
22
|
+
if (!n.existsSync(u)) o(u);
|
|
23
|
+
return getStats(a, t, e, r);
|
|
24
|
+
}
|
|
25
|
+
function getStats(t, e, r, i) {
|
|
33
26
|
const o = i.dereference ? n.statSync : n.lstatSync;
|
|
34
|
-
const c = o(
|
|
35
|
-
if (c.isDirectory()) return onDir(c,
|
|
36
|
-
if (c.isFile() || c.isCharacterDevice() || c.isBlockDevice()) return onFile(c,
|
|
37
|
-
if (c.isSymbolicLink()) return onLink(
|
|
38
|
-
if (c.isSocket()) throw new Error(`Cannot copy a socket file: ${
|
|
39
|
-
if (c.isFIFO()) throw new Error(`Cannot copy a FIFO pipe: ${
|
|
40
|
-
throw new Error(`Unknown file: ${
|
|
41
|
-
}
|
|
42
|
-
function onFile(
|
|
43
|
-
if (!
|
|
44
|
-
return mayCopyFile(
|
|
45
|
-
}
|
|
46
|
-
function mayCopyFile(
|
|
27
|
+
const c = o(e);
|
|
28
|
+
if (c.isDirectory()) return onDir(c, t, e, r, i);
|
|
29
|
+
else if (c.isFile() || c.isCharacterDevice() || c.isBlockDevice()) return onFile(c, t, e, r, i);
|
|
30
|
+
else if (c.isSymbolicLink()) return onLink(t, e, r, i);
|
|
31
|
+
else if (c.isSocket()) throw new Error(`Cannot copy a socket file: ${e}`);
|
|
32
|
+
else if (c.isFIFO()) throw new Error(`Cannot copy a FIFO pipe: ${e}`);
|
|
33
|
+
throw new Error(`Unknown file: ${e}`);
|
|
34
|
+
}
|
|
35
|
+
function onFile(t, e, r, n, i) {
|
|
36
|
+
if (!e) return copyFile(t, r, n, i);
|
|
37
|
+
return mayCopyFile(t, r, n, i);
|
|
38
|
+
}
|
|
39
|
+
function mayCopyFile(t, e, r, i) {
|
|
47
40
|
if (i.overwrite) {
|
|
48
41
|
n.unlinkSync(r);
|
|
49
|
-
return copyFile(
|
|
50
|
-
}
|
|
51
|
-
if (i.errorOnExist) throw new Error(`'${r}' already exists`);
|
|
42
|
+
return copyFile(t, e, r, i);
|
|
43
|
+
} else if (i.errorOnExist) throw new Error(`'${r}' already exists`);
|
|
52
44
|
}
|
|
53
|
-
function copyFile(
|
|
54
|
-
n.copyFileSync(
|
|
55
|
-
if (i.preserveTimestamps) handleTimestamps(
|
|
56
|
-
return setDestMode(r,
|
|
45
|
+
function copyFile(t, e, r, i) {
|
|
46
|
+
n.copyFileSync(e, r);
|
|
47
|
+
if (i.preserveTimestamps) handleTimestamps(t.mode, e, r);
|
|
48
|
+
return setDestMode(r, t.mode);
|
|
57
49
|
}
|
|
58
|
-
function handleTimestamps(
|
|
59
|
-
if (fileIsNotWritable(
|
|
60
|
-
return setDestTimestamps(
|
|
50
|
+
function handleTimestamps(t, e, r) {
|
|
51
|
+
if (fileIsNotWritable(t)) makeFileWritable(r, t);
|
|
52
|
+
return setDestTimestamps(e, r);
|
|
61
53
|
}
|
|
62
|
-
function fileIsNotWritable(
|
|
63
|
-
return (128 &
|
|
54
|
+
function fileIsNotWritable(t) {
|
|
55
|
+
return (128 & t) === 0;
|
|
64
56
|
}
|
|
65
|
-
function makeFileWritable(
|
|
66
|
-
return setDestMode(
|
|
57
|
+
function makeFileWritable(t, e) {
|
|
58
|
+
return setDestMode(t, 128 | e);
|
|
67
59
|
}
|
|
68
|
-
function setDestMode(
|
|
69
|
-
return n.chmodSync(
|
|
60
|
+
function setDestMode(t, e) {
|
|
61
|
+
return n.chmodSync(t, e);
|
|
70
62
|
}
|
|
71
|
-
function setDestTimestamps(
|
|
72
|
-
const r = n.statSync(
|
|
73
|
-
return c(
|
|
63
|
+
function setDestTimestamps(t, e) {
|
|
64
|
+
const r = n.statSync(t);
|
|
65
|
+
return c(e, r.atime, r.mtime);
|
|
74
66
|
}
|
|
75
|
-
function onDir(
|
|
76
|
-
if (!
|
|
67
|
+
function onDir(t, e, r, n, i) {
|
|
68
|
+
if (!e) return mkDirAndCopy(t.mode, r, n, i);
|
|
77
69
|
return copyDir(r, n, i);
|
|
78
70
|
}
|
|
79
|
-
function mkDirAndCopy(
|
|
71
|
+
function mkDirAndCopy(t, e, r, i) {
|
|
80
72
|
n.mkdirSync(r);
|
|
81
|
-
copyDir(
|
|
82
|
-
return setDestMode(r,
|
|
73
|
+
copyDir(e, r, i);
|
|
74
|
+
return setDestMode(r, t);
|
|
83
75
|
}
|
|
84
|
-
function copyDir(
|
|
85
|
-
n.
|
|
76
|
+
function copyDir(t, e, r) {
|
|
77
|
+
const i = n.opendirSync(t);
|
|
78
|
+
try {
|
|
79
|
+
let n;
|
|
80
|
+
while(null !== (n = i.readSync()))copyDirItem(n.name, t, e, r);
|
|
81
|
+
} finally{
|
|
82
|
+
i.closeSync();
|
|
83
|
+
}
|
|
86
84
|
}
|
|
87
|
-
function copyDirItem(
|
|
88
|
-
const o = i.join(
|
|
89
|
-
const c = i.join(r,
|
|
85
|
+
function copyDirItem(t, e, r, n) {
|
|
86
|
+
const o = i.join(e, t);
|
|
87
|
+
const c = i.join(r, t);
|
|
88
|
+
if (n.filter && !n.filter(o, c)) return;
|
|
90
89
|
const { destStat: a } = s.checkPathsSync(o, c, "copy", n);
|
|
91
|
-
return
|
|
90
|
+
return getStats(a, o, c, n);
|
|
92
91
|
}
|
|
93
|
-
function onLink(
|
|
94
|
-
let c = n.readlinkSync(
|
|
92
|
+
function onLink(t, e, r, o) {
|
|
93
|
+
let c = n.readlinkSync(e);
|
|
95
94
|
if (o.dereference) c = i.resolve(process.cwd(), c);
|
|
96
|
-
if (!
|
|
97
|
-
{
|
|
98
|
-
let
|
|
95
|
+
if (!t) return n.symlinkSync(c, r);
|
|
96
|
+
else {
|
|
97
|
+
let t;
|
|
99
98
|
try {
|
|
100
|
-
|
|
101
|
-
} catch (
|
|
102
|
-
if ("EINVAL" ===
|
|
103
|
-
throw
|
|
99
|
+
t = n.readlinkSync(r);
|
|
100
|
+
} catch (t) {
|
|
101
|
+
if ("EINVAL" === t.code || "UNKNOWN" === t.code) return n.symlinkSync(c, r);
|
|
102
|
+
throw t;
|
|
103
|
+
}
|
|
104
|
+
if (o.dereference) t = i.resolve(process.cwd(), t);
|
|
105
|
+
if (c !== t) {
|
|
106
|
+
if (s.isSrcSubdir(c, t)) throw new Error(`Cannot copy '${c}' to a subdirectory of itself, '${t}'.`);
|
|
107
|
+
if (s.isSrcSubdir(t, c)) throw new Error(`Cannot overwrite '${t}' with '${c}'.`);
|
|
104
108
|
}
|
|
105
|
-
if (o.dereference) e = i.resolve(process.cwd(), e);
|
|
106
|
-
if (s.isSrcSubdir(c, e)) throw new Error(`Cannot copy '${c}' to a subdirectory of itself, '${e}'.`);
|
|
107
|
-
if (n.statSync(r).isDirectory() && s.isSrcSubdir(e, c)) throw new Error(`Cannot overwrite '${e}' with '${c}'.`);
|
|
108
109
|
return copyLink(c, r);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
function copyLink(
|
|
112
|
-
n.unlinkSync(
|
|
113
|
-
return n.symlinkSync(
|
|
112
|
+
function copyLink(t, e) {
|
|
113
|
+
n.unlinkSync(e);
|
|
114
|
+
return n.symlinkSync(t, e);
|
|
114
115
|
}
|
|
115
|
-
|
|
116
|
+
t.exports = copySync;
|
|
116
117
|
},
|
|
117
|
-
|
|
118
|
+
271: (t, e, r)=>{
|
|
118
119
|
"use strict";
|
|
119
|
-
const n = r(
|
|
120
|
-
const i = r(
|
|
121
|
-
const o = r(
|
|
122
|
-
const c = r(
|
|
123
|
-
const s = r(
|
|
124
|
-
const a = r(
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
} else {
|
|
131
|
-
n = r;
|
|
132
|
-
r = {};
|
|
133
|
-
}
|
|
134
|
-
n = n || function() {};
|
|
135
|
-
r = r || {};
|
|
120
|
+
const n = r(378);
|
|
121
|
+
const i = r(928);
|
|
122
|
+
const { mkdirs: o } = r(649);
|
|
123
|
+
const { pathExists: c } = r(521);
|
|
124
|
+
const { utimesMillis: s } = r(126);
|
|
125
|
+
const a = r(399);
|
|
126
|
+
const { asyncIteratorConcurrentProcess: u } = r(905);
|
|
127
|
+
async function copy(t, e, r = {}) {
|
|
128
|
+
if ("function" == typeof r) r = {
|
|
129
|
+
filter: r
|
|
130
|
+
};
|
|
136
131
|
r.clobber = "clobber" in r ? !!r.clobber : true;
|
|
137
132
|
r.overwrite = "overwrite" in r ? !!r.overwrite : r.clobber;
|
|
138
|
-
if (r.preserveTimestamps && "ia32" === process.arch)
|
|
139
|
-
a.checkPaths(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
function
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
n.copyFile(t, r, (n)=>{
|
|
196
|
-
if (n) return o(n);
|
|
197
|
-
if (i.preserveTimestamps) return handleTimestampsAndMode(e.mode, t, r, o);
|
|
198
|
-
return setDestMode(r, e.mode, o);
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
function handleTimestampsAndMode(e, t, r, n) {
|
|
202
|
-
if (fileIsNotWritable(e)) return makeFileWritable(r, e, (i)=>{
|
|
203
|
-
if (i) return n(i);
|
|
204
|
-
return setDestTimestampsAndMode(e, t, r, n);
|
|
205
|
-
});
|
|
206
|
-
return setDestTimestampsAndMode(e, t, r, n);
|
|
207
|
-
}
|
|
208
|
-
function fileIsNotWritable(e) {
|
|
209
|
-
return (128 & e) === 0;
|
|
210
|
-
}
|
|
211
|
-
function makeFileWritable(e, t, r) {
|
|
212
|
-
return setDestMode(e, 128 | t, r);
|
|
213
|
-
}
|
|
214
|
-
function setDestTimestampsAndMode(e, t, r, n) {
|
|
215
|
-
setDestTimestamps(t, r, (t)=>{
|
|
216
|
-
if (t) return n(t);
|
|
217
|
-
return setDestMode(r, e, n);
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
function setDestMode(e, t, r) {
|
|
221
|
-
return n.chmod(e, t, r);
|
|
222
|
-
}
|
|
223
|
-
function setDestTimestamps(e, t, r) {
|
|
224
|
-
n.stat(e, (e, n)=>{
|
|
225
|
-
if (e) return r(e);
|
|
226
|
-
return s(t, n.atime, n.mtime, r);
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
function onDir(e, t, r, n, i, o) {
|
|
230
|
-
if (!t) return mkDirAndCopy(e.mode, r, n, i, o);
|
|
231
|
-
return copyDir(r, n, i, o);
|
|
232
|
-
}
|
|
233
|
-
function mkDirAndCopy(e, t, r, i, o) {
|
|
234
|
-
n.mkdir(r, (n)=>{
|
|
235
|
-
if (n) return o(n);
|
|
236
|
-
copyDir(t, r, i, (t)=>{
|
|
237
|
-
if (t) return o(t);
|
|
238
|
-
return setDestMode(r, e, o);
|
|
239
|
-
});
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
function copyDir(e, t, r, i) {
|
|
243
|
-
n.readdir(e, (n, o)=>{
|
|
244
|
-
if (n) return i(n);
|
|
245
|
-
return copyDirItems(o, e, t, r, i);
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
function copyDirItems(e, t, r, n, i) {
|
|
249
|
-
const o = e.pop();
|
|
250
|
-
if (!o) return i();
|
|
251
|
-
return copyDirItem(e, o, t, r, n, i);
|
|
252
|
-
}
|
|
253
|
-
function copyDirItem(e, t, r, n, o, c) {
|
|
254
|
-
const s = i.join(r, t);
|
|
255
|
-
const u = i.join(n, t);
|
|
256
|
-
a.checkPaths(s, u, "copy", o, (t, i)=>{
|
|
257
|
-
if (t) return c(t);
|
|
258
|
-
const { destStat: a } = i;
|
|
259
|
-
startCopy(a, s, u, o, (t)=>{
|
|
260
|
-
if (t) return c(t);
|
|
261
|
-
return copyDirItems(e, r, n, o, c);
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
function onLink(e, t, r, o, c) {
|
|
266
|
-
n.readlink(t, (t, s)=>{
|
|
267
|
-
if (t) return c(t);
|
|
268
|
-
if (o.dereference) s = i.resolve(process.cwd(), s);
|
|
269
|
-
if (!e) return n.symlink(s, r, c);
|
|
270
|
-
n.readlink(r, (t, u)=>{
|
|
271
|
-
if (t) {
|
|
272
|
-
if ("EINVAL" === t.code || "UNKNOWN" === t.code) return n.symlink(s, r, c);
|
|
273
|
-
return c(t);
|
|
274
|
-
}
|
|
275
|
-
if (o.dereference) u = i.resolve(process.cwd(), u);
|
|
276
|
-
if (a.isSrcSubdir(s, u)) return c(new Error(`Cannot copy '${s}' to a subdirectory of itself, '${u}'.`));
|
|
277
|
-
if (e.isDirectory() && a.isSrcSubdir(u, s)) return c(new Error(`Cannot overwrite '${u}' with '${s}'.`));
|
|
278
|
-
return copyLink(s, r, c);
|
|
279
|
-
});
|
|
133
|
+
if (r.preserveTimestamps && "ia32" === process.arch) process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269", "Warning", "fs-extra-WARN0001");
|
|
134
|
+
const { srcStat: n, destStat: s } = await a.checkPaths(t, e, "copy", r);
|
|
135
|
+
await a.checkParentPaths(t, n, e, "copy");
|
|
136
|
+
const u = await runFilter(t, e, r);
|
|
137
|
+
if (!u) return;
|
|
138
|
+
const f = i.dirname(e);
|
|
139
|
+
const l = await c(f);
|
|
140
|
+
if (!l) await o(f);
|
|
141
|
+
await getStatsAndPerformCopy(s, t, e, r);
|
|
142
|
+
}
|
|
143
|
+
async function runFilter(t, e, r) {
|
|
144
|
+
if (!r.filter) return true;
|
|
145
|
+
return r.filter(t, e);
|
|
146
|
+
}
|
|
147
|
+
async function getStatsAndPerformCopy(t, e, r, i) {
|
|
148
|
+
const o = i.dereference ? n.stat : n.lstat;
|
|
149
|
+
const c = await o(e);
|
|
150
|
+
if (c.isDirectory()) return onDir(c, t, e, r, i);
|
|
151
|
+
if (c.isFile() || c.isCharacterDevice() || c.isBlockDevice()) return onFile(c, t, e, r, i);
|
|
152
|
+
if (c.isSymbolicLink()) return onLink(t, e, r, i);
|
|
153
|
+
if (c.isSocket()) throw new Error(`Cannot copy a socket file: ${e}`);
|
|
154
|
+
if (c.isFIFO()) throw new Error(`Cannot copy a FIFO pipe: ${e}`);
|
|
155
|
+
throw new Error(`Unknown file: ${e}`);
|
|
156
|
+
}
|
|
157
|
+
async function onFile(t, e, r, i, o) {
|
|
158
|
+
if (!e) return copyFile(t, r, i, o);
|
|
159
|
+
if (o.overwrite) {
|
|
160
|
+
await n.unlink(i);
|
|
161
|
+
return copyFile(t, r, i, o);
|
|
162
|
+
}
|
|
163
|
+
if (o.errorOnExist) throw new Error(`'${i}' already exists`);
|
|
164
|
+
}
|
|
165
|
+
async function copyFile(t, e, r, i) {
|
|
166
|
+
await n.copyFile(e, r);
|
|
167
|
+
if (i.preserveTimestamps) {
|
|
168
|
+
if (fileIsNotWritable(t.mode)) await makeFileWritable(r, t.mode);
|
|
169
|
+
const i = await n.stat(e);
|
|
170
|
+
await s(r, i.atime, i.mtime);
|
|
171
|
+
}
|
|
172
|
+
return n.chmod(r, t.mode);
|
|
173
|
+
}
|
|
174
|
+
function fileIsNotWritable(t) {
|
|
175
|
+
return (128 & t) === 0;
|
|
176
|
+
}
|
|
177
|
+
function makeFileWritable(t, e) {
|
|
178
|
+
return n.chmod(t, 128 | e);
|
|
179
|
+
}
|
|
180
|
+
async function onDir(t, e, r, o, c) {
|
|
181
|
+
if (!e) await n.mkdir(o);
|
|
182
|
+
await u(await n.opendir(r), async (t)=>{
|
|
183
|
+
const e = i.join(r, t.name);
|
|
184
|
+
const n = i.join(o, t.name);
|
|
185
|
+
const s = await runFilter(e, n, c);
|
|
186
|
+
if (s) {
|
|
187
|
+
const { destStat: t } = await a.checkPaths(e, n, "copy", c);
|
|
188
|
+
await getStatsAndPerformCopy(t, e, n, c);
|
|
189
|
+
}
|
|
280
190
|
});
|
|
191
|
+
if (!e) await n.chmod(o, t.mode);
|
|
281
192
|
}
|
|
282
|
-
function
|
|
283
|
-
n.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
193
|
+
async function onLink(t, e, r, o) {
|
|
194
|
+
let c = await n.readlink(e);
|
|
195
|
+
if (o.dereference) c = i.resolve(process.cwd(), c);
|
|
196
|
+
if (!t) return n.symlink(c, r);
|
|
197
|
+
let s = null;
|
|
198
|
+
try {
|
|
199
|
+
s = await n.readlink(r);
|
|
200
|
+
} catch (t) {
|
|
201
|
+
if ("EINVAL" === t.code || "UNKNOWN" === t.code) return n.symlink(c, r);
|
|
202
|
+
throw t;
|
|
203
|
+
}
|
|
204
|
+
if (o.dereference) s = i.resolve(process.cwd(), s);
|
|
205
|
+
if (c !== s) {
|
|
206
|
+
if (a.isSrcSubdir(c, s)) throw new Error(`Cannot copy '${c}' to a subdirectory of itself, '${s}'.`);
|
|
207
|
+
if (a.isSrcSubdir(s, c)) throw new Error(`Cannot overwrite '${s}' with '${c}'.`);
|
|
208
|
+
}
|
|
209
|
+
await n.unlink(r);
|
|
210
|
+
return n.symlink(c, r);
|
|
287
211
|
}
|
|
288
|
-
|
|
212
|
+
t.exports = copy;
|
|
289
213
|
},
|
|
290
|
-
|
|
214
|
+
996: (t, e, r)=>{
|
|
291
215
|
"use strict";
|
|
292
|
-
const n = r(
|
|
293
|
-
|
|
294
|
-
copy: n(r(
|
|
295
|
-
copySync: r(
|
|
216
|
+
const n = r(86).fromPromise;
|
|
217
|
+
t.exports = {
|
|
218
|
+
copy: n(r(271)),
|
|
219
|
+
copySync: r(591)
|
|
296
220
|
};
|
|
297
221
|
},
|
|
298
|
-
|
|
222
|
+
426: (t, e, r)=>{
|
|
299
223
|
"use strict";
|
|
300
|
-
const n = r(
|
|
301
|
-
const i = r(
|
|
302
|
-
const o = r(
|
|
303
|
-
const c = r(
|
|
304
|
-
const s = r(
|
|
305
|
-
const a = n(async function(
|
|
306
|
-
let
|
|
224
|
+
const n = r(86).fromPromise;
|
|
225
|
+
const i = r(378);
|
|
226
|
+
const o = r(928);
|
|
227
|
+
const c = r(649);
|
|
228
|
+
const s = r(413);
|
|
229
|
+
const a = n(async function(t) {
|
|
230
|
+
let e;
|
|
307
231
|
try {
|
|
308
|
-
|
|
309
|
-
} catch
|
|
310
|
-
|
|
232
|
+
e = await i.readdir(t);
|
|
233
|
+
} catch (e) {
|
|
234
|
+
if ("ENOENT" !== e.code) throw e;
|
|
235
|
+
return c.mkdirs(t);
|
|
311
236
|
}
|
|
312
|
-
return Promise.all(
|
|
237
|
+
return Promise.all(e.map((e)=>s.remove(o.join(t, e))));
|
|
313
238
|
});
|
|
314
|
-
function emptyDirSync(
|
|
315
|
-
let
|
|
239
|
+
function emptyDirSync(t) {
|
|
240
|
+
let e;
|
|
316
241
|
try {
|
|
317
|
-
|
|
318
|
-
} catch
|
|
319
|
-
|
|
242
|
+
e = i.readdirSync(t);
|
|
243
|
+
} catch (e) {
|
|
244
|
+
if ("ENOENT" !== e.code) throw e;
|
|
245
|
+
return c.mkdirsSync(t);
|
|
320
246
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
s.removeSync(
|
|
247
|
+
e.forEach((e)=>{
|
|
248
|
+
e = o.join(t, e);
|
|
249
|
+
s.removeSync(e);
|
|
324
250
|
});
|
|
325
251
|
}
|
|
326
|
-
|
|
252
|
+
t.exports = {
|
|
327
253
|
emptyDirSync: emptyDirSync,
|
|
328
254
|
emptydirSync: emptyDirSync,
|
|
329
255
|
emptyDir: a,
|
|
330
256
|
emptydir: a
|
|
331
257
|
};
|
|
332
258
|
},
|
|
333
|
-
|
|
259
|
+
721: (t, e, r)=>{
|
|
334
260
|
"use strict";
|
|
335
|
-
const n = r(
|
|
336
|
-
const i = r(
|
|
337
|
-
const o = r(
|
|
338
|
-
const c = r(
|
|
339
|
-
function createFile(
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
261
|
+
const n = r(86).fromPromise;
|
|
262
|
+
const i = r(928);
|
|
263
|
+
const o = r(378);
|
|
264
|
+
const c = r(649);
|
|
265
|
+
async function createFile(t) {
|
|
266
|
+
let e;
|
|
267
|
+
try {
|
|
268
|
+
e = await o.stat(t);
|
|
269
|
+
} catch {}
|
|
270
|
+
if (e && e.isFile()) return;
|
|
271
|
+
const r = i.dirname(t);
|
|
272
|
+
let n = null;
|
|
273
|
+
try {
|
|
274
|
+
n = await o.stat(r);
|
|
275
|
+
} catch (e) {
|
|
276
|
+
if ("ENOENT" === e.code) {
|
|
277
|
+
await c.mkdirs(r);
|
|
278
|
+
await o.writeFile(t, "");
|
|
279
|
+
return;
|
|
280
|
+
} else throw e;
|
|
345
281
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
const s = i.dirname(e);
|
|
349
|
-
o.stat(s, (e, r)=>{
|
|
350
|
-
if (e) {
|
|
351
|
-
if ("ENOENT" === e.code) return c.mkdirs(s, (e)=>{
|
|
352
|
-
if (e) return t(e);
|
|
353
|
-
makeFile();
|
|
354
|
-
});
|
|
355
|
-
return t(e);
|
|
356
|
-
}
|
|
357
|
-
if (r.isDirectory()) makeFile();
|
|
358
|
-
else o.readdir(s, (e)=>{
|
|
359
|
-
if (e) return t(e);
|
|
360
|
-
});
|
|
361
|
-
});
|
|
362
|
-
});
|
|
282
|
+
if (n.isDirectory()) await o.writeFile(t, "");
|
|
283
|
+
else await o.readdir(r);
|
|
363
284
|
}
|
|
364
|
-
function createFileSync(
|
|
365
|
-
let
|
|
285
|
+
function createFileSync(t) {
|
|
286
|
+
let e;
|
|
366
287
|
try {
|
|
367
|
-
|
|
288
|
+
e = o.statSync(t);
|
|
368
289
|
} catch {}
|
|
369
|
-
if (
|
|
370
|
-
const r = i.dirname(
|
|
290
|
+
if (e && e.isFile()) return;
|
|
291
|
+
const r = i.dirname(t);
|
|
371
292
|
try {
|
|
372
293
|
if (!o.statSync(r).isDirectory()) o.readdirSync(r);
|
|
373
|
-
} catch (
|
|
374
|
-
if (
|
|
375
|
-
else throw
|
|
294
|
+
} catch (t) {
|
|
295
|
+
if (t && "ENOENT" === t.code) c.mkdirsSync(r);
|
|
296
|
+
else throw t;
|
|
376
297
|
}
|
|
377
|
-
o.writeFileSync(
|
|
298
|
+
o.writeFileSync(t, "");
|
|
378
299
|
}
|
|
379
|
-
|
|
300
|
+
t.exports = {
|
|
380
301
|
createFile: n(createFile),
|
|
381
302
|
createFileSync: createFileSync
|
|
382
303
|
};
|
|
383
304
|
},
|
|
384
|
-
|
|
305
|
+
987: (t, e, r)=>{
|
|
385
306
|
"use strict";
|
|
386
|
-
const { createFile: n, createFileSync: i } = r(
|
|
387
|
-
const { createLink: o, createLinkSync: c } = r(
|
|
388
|
-
const { createSymlink: s, createSymlinkSync: a } = r(
|
|
389
|
-
|
|
307
|
+
const { createFile: n, createFileSync: i } = r(721);
|
|
308
|
+
const { createLink: o, createLinkSync: c } = r(943);
|
|
309
|
+
const { createSymlink: s, createSymlinkSync: a } = r(296);
|
|
310
|
+
t.exports = {
|
|
390
311
|
createFile: n,
|
|
391
312
|
createFileSync: i,
|
|
392
313
|
ensureFile: n,
|
|
@@ -401,236 +322,258 @@
|
|
|
401
322
|
ensureSymlinkSync: a
|
|
402
323
|
};
|
|
403
324
|
},
|
|
404
|
-
|
|
325
|
+
943: (t, e, r)=>{
|
|
405
326
|
"use strict";
|
|
406
|
-
const n = r(
|
|
407
|
-
const i = r(
|
|
408
|
-
const o = r(
|
|
409
|
-
const c = r(
|
|
410
|
-
const s = r(
|
|
411
|
-
const { areIdentical: a } = r(
|
|
412
|
-
function createLink(
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
327
|
+
const n = r(86).fromPromise;
|
|
328
|
+
const i = r(928);
|
|
329
|
+
const o = r(378);
|
|
330
|
+
const c = r(649);
|
|
331
|
+
const { pathExists: s } = r(521);
|
|
332
|
+
const { areIdentical: a } = r(399);
|
|
333
|
+
async function createLink(t, e) {
|
|
334
|
+
let r;
|
|
335
|
+
try {
|
|
336
|
+
r = await o.lstat(e, {
|
|
337
|
+
bigint: true
|
|
417
338
|
});
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
return r(n);
|
|
424
|
-
}
|
|
425
|
-
if (u && a(o, u)) return r(null);
|
|
426
|
-
const f = i.dirname(t);
|
|
427
|
-
s(f, (n, i)=>{
|
|
428
|
-
if (n) return r(n);
|
|
429
|
-
if (i) return makeLink(e, t);
|
|
430
|
-
c.mkdirs(f, (n)=>{
|
|
431
|
-
if (n) return r(n);
|
|
432
|
-
makeLink(e, t);
|
|
433
|
-
});
|
|
434
|
-
});
|
|
339
|
+
} catch {}
|
|
340
|
+
let n;
|
|
341
|
+
try {
|
|
342
|
+
n = await o.lstat(t, {
|
|
343
|
+
bigint: true
|
|
435
344
|
});
|
|
436
|
-
})
|
|
345
|
+
} catch (t) {
|
|
346
|
+
t.message = t.message.replace("lstat", "ensureLink");
|
|
347
|
+
throw t;
|
|
348
|
+
}
|
|
349
|
+
if (r && a(n, r)) return;
|
|
350
|
+
const u = i.dirname(e);
|
|
351
|
+
const f = await s(u);
|
|
352
|
+
if (!f) await c.mkdirs(u);
|
|
353
|
+
await o.link(t, e);
|
|
437
354
|
}
|
|
438
|
-
function createLinkSync(
|
|
355
|
+
function createLinkSync(t, e) {
|
|
439
356
|
let r;
|
|
440
357
|
try {
|
|
441
|
-
r = o.lstatSync(
|
|
358
|
+
r = o.lstatSync(e, {
|
|
359
|
+
bigint: true
|
|
360
|
+
});
|
|
442
361
|
} catch {}
|
|
443
362
|
try {
|
|
444
|
-
const
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
363
|
+
const e = o.lstatSync(t, {
|
|
364
|
+
bigint: true
|
|
365
|
+
});
|
|
366
|
+
if (r && a(e, r)) return;
|
|
367
|
+
} catch (t) {
|
|
368
|
+
t.message = t.message.replace("lstat", "ensureLink");
|
|
369
|
+
throw t;
|
|
449
370
|
}
|
|
450
|
-
const n = i.dirname(
|
|
371
|
+
const n = i.dirname(e);
|
|
451
372
|
const s = o.existsSync(n);
|
|
452
|
-
if (s) return o.linkSync(
|
|
373
|
+
if (s) return o.linkSync(t, e);
|
|
453
374
|
c.mkdirsSync(n);
|
|
454
|
-
return o.linkSync(
|
|
375
|
+
return o.linkSync(t, e);
|
|
455
376
|
}
|
|
456
|
-
|
|
377
|
+
t.exports = {
|
|
457
378
|
createLink: n(createLink),
|
|
458
379
|
createLinkSync: createLinkSync
|
|
459
380
|
};
|
|
460
381
|
},
|
|
461
|
-
|
|
382
|
+
129: (t, e, r)=>{
|
|
462
383
|
"use strict";
|
|
463
|
-
const n = r(
|
|
464
|
-
const i = r(
|
|
465
|
-
const o = r(
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
384
|
+
const n = r(928);
|
|
385
|
+
const i = r(378);
|
|
386
|
+
const { pathExists: o } = r(521);
|
|
387
|
+
const c = r(86).fromPromise;
|
|
388
|
+
async function symlinkPaths(t, e) {
|
|
389
|
+
if (n.isAbsolute(t)) {
|
|
390
|
+
try {
|
|
391
|
+
await i.lstat(t);
|
|
392
|
+
} catch (t) {
|
|
469
393
|
t.message = t.message.replace("lstat", "ensureSymlink");
|
|
470
|
-
|
|
394
|
+
throw t;
|
|
471
395
|
}
|
|
472
|
-
return r(null, {
|
|
473
|
-
toCwd: e,
|
|
474
|
-
toDst: e
|
|
475
|
-
});
|
|
476
|
-
});
|
|
477
|
-
{
|
|
478
|
-
const c = n.dirname(t);
|
|
479
|
-
const s = n.join(c, e);
|
|
480
|
-
return o(s, (t, o)=>{
|
|
481
|
-
if (t) return r(t);
|
|
482
|
-
if (o) return r(null, {
|
|
483
|
-
toCwd: s,
|
|
484
|
-
toDst: e
|
|
485
|
-
});
|
|
486
|
-
return i.lstat(e, (t)=>{
|
|
487
|
-
if (t) {
|
|
488
|
-
t.message = t.message.replace("lstat", "ensureSymlink");
|
|
489
|
-
return r(t);
|
|
490
|
-
}
|
|
491
|
-
return r(null, {
|
|
492
|
-
toCwd: e,
|
|
493
|
-
toDst: n.relative(c, e)
|
|
494
|
-
});
|
|
495
|
-
});
|
|
496
|
-
});
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
function symlinkPathsSync(e, t) {
|
|
500
|
-
let r;
|
|
501
|
-
if (n.isAbsolute(e)) {
|
|
502
|
-
r = i.existsSync(e);
|
|
503
|
-
if (!r) throw new Error("absolute srcpath does not exist");
|
|
504
396
|
return {
|
|
505
|
-
toCwd:
|
|
506
|
-
toDst:
|
|
397
|
+
toCwd: t,
|
|
398
|
+
toDst: t
|
|
507
399
|
};
|
|
508
400
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
401
|
+
const r = n.dirname(e);
|
|
402
|
+
const c = n.join(r, t);
|
|
403
|
+
const s = await o(c);
|
|
404
|
+
if (s) return {
|
|
405
|
+
toCwd: c,
|
|
406
|
+
toDst: t
|
|
407
|
+
};
|
|
408
|
+
try {
|
|
409
|
+
await i.lstat(t);
|
|
410
|
+
} catch (t) {
|
|
411
|
+
t.message = t.message.replace("lstat", "ensureSymlink");
|
|
412
|
+
throw t;
|
|
413
|
+
}
|
|
414
|
+
return {
|
|
415
|
+
toCwd: t,
|
|
416
|
+
toDst: n.relative(r, t)
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
function symlinkPathsSync(t, e) {
|
|
420
|
+
if (n.isAbsolute(t)) {
|
|
421
|
+
const e = i.existsSync(t);
|
|
422
|
+
if (!e) throw new Error("absolute srcpath does not exist");
|
|
519
423
|
return {
|
|
520
|
-
toCwd:
|
|
521
|
-
toDst:
|
|
424
|
+
toCwd: t,
|
|
425
|
+
toDst: t
|
|
522
426
|
};
|
|
523
427
|
}
|
|
428
|
+
const r = n.dirname(e);
|
|
429
|
+
const o = n.join(r, t);
|
|
430
|
+
const c = i.existsSync(o);
|
|
431
|
+
if (c) return {
|
|
432
|
+
toCwd: o,
|
|
433
|
+
toDst: t
|
|
434
|
+
};
|
|
435
|
+
const s = i.existsSync(t);
|
|
436
|
+
if (!s) throw new Error("relative srcpath does not exist");
|
|
437
|
+
return {
|
|
438
|
+
toCwd: t,
|
|
439
|
+
toDst: n.relative(r, t)
|
|
440
|
+
};
|
|
524
441
|
}
|
|
525
|
-
|
|
526
|
-
symlinkPaths: symlinkPaths,
|
|
442
|
+
t.exports = {
|
|
443
|
+
symlinkPaths: c(symlinkPaths),
|
|
527
444
|
symlinkPathsSync: symlinkPathsSync
|
|
528
445
|
};
|
|
529
446
|
},
|
|
530
|
-
|
|
447
|
+
989: (t, e, r)=>{
|
|
531
448
|
"use strict";
|
|
532
|
-
const n = r(
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}
|
|
449
|
+
const n = r(378);
|
|
450
|
+
const i = r(86).fromPromise;
|
|
451
|
+
async function symlinkType(t, e) {
|
|
452
|
+
if (e) return e;
|
|
453
|
+
let r;
|
|
454
|
+
try {
|
|
455
|
+
r = await n.lstat(t);
|
|
456
|
+
} catch {
|
|
457
|
+
return "file";
|
|
458
|
+
}
|
|
459
|
+
return r && r.isDirectory() ? "dir" : "file";
|
|
542
460
|
}
|
|
543
|
-
function symlinkTypeSync(
|
|
461
|
+
function symlinkTypeSync(t, e) {
|
|
462
|
+
if (e) return e;
|
|
544
463
|
let r;
|
|
545
|
-
if (t) return t;
|
|
546
464
|
try {
|
|
547
|
-
r = n.lstatSync(
|
|
465
|
+
r = n.lstatSync(t);
|
|
548
466
|
} catch {
|
|
549
467
|
return "file";
|
|
550
468
|
}
|
|
551
469
|
return r && r.isDirectory() ? "dir" : "file";
|
|
552
470
|
}
|
|
553
|
-
|
|
554
|
-
symlinkType: symlinkType,
|
|
471
|
+
t.exports = {
|
|
472
|
+
symlinkType: i(symlinkType),
|
|
555
473
|
symlinkTypeSync: symlinkTypeSync
|
|
556
474
|
};
|
|
557
475
|
},
|
|
558
|
-
|
|
476
|
+
296: (t, e, r)=>{
|
|
559
477
|
"use strict";
|
|
560
|
-
const n = r(
|
|
561
|
-
const i = r(
|
|
562
|
-
const o = r(
|
|
563
|
-
const c = r(
|
|
564
|
-
const
|
|
565
|
-
const
|
|
566
|
-
const
|
|
567
|
-
const
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
o.lstat(t, (i, c)=>{
|
|
578
|
-
if (!i && c.isSymbolicLink()) Promise.all([
|
|
579
|
-
o.stat(e),
|
|
580
|
-
o.stat(t)
|
|
581
|
-
]).then(([i, o])=>{
|
|
582
|
-
if (h(i, o)) return n(null);
|
|
583
|
-
_createSymlink(e, t, r, n);
|
|
478
|
+
const n = r(86).fromPromise;
|
|
479
|
+
const i = r(928);
|
|
480
|
+
const o = r(378);
|
|
481
|
+
const { mkdirs: c, mkdirsSync: s } = r(649);
|
|
482
|
+
const { symlinkPaths: a, symlinkPathsSync: u } = r(129);
|
|
483
|
+
const { symlinkType: f, symlinkTypeSync: l } = r(989);
|
|
484
|
+
const { pathExists: y } = r(521);
|
|
485
|
+
const { areIdentical: p } = r(399);
|
|
486
|
+
async function createSymlink(t, e, r) {
|
|
487
|
+
let n;
|
|
488
|
+
try {
|
|
489
|
+
n = await o.lstat(e);
|
|
490
|
+
} catch {}
|
|
491
|
+
if (n && n.isSymbolicLink()) {
|
|
492
|
+
let r;
|
|
493
|
+
if (i.isAbsolute(t)) r = await o.stat(t, {
|
|
494
|
+
bigint: true
|
|
584
495
|
});
|
|
585
|
-
else
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
p(a, (r, i)=>{
|
|
596
|
-
if (r) return n(r);
|
|
597
|
-
if (i) return o.symlink(e, t, c, n);
|
|
598
|
-
s(a, (r)=>{
|
|
599
|
-
if (r) return n(r);
|
|
600
|
-
o.symlink(e, t, c, n);
|
|
496
|
+
else {
|
|
497
|
+
const n = i.dirname(e);
|
|
498
|
+
const c = i.join(n, t);
|
|
499
|
+
try {
|
|
500
|
+
r = await o.stat(c, {
|
|
501
|
+
bigint: true
|
|
502
|
+
});
|
|
503
|
+
} catch {
|
|
504
|
+
r = await o.stat(t, {
|
|
505
|
+
bigint: true
|
|
601
506
|
});
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
let n;
|
|
510
|
+
try {
|
|
511
|
+
n = await o.stat(e, {
|
|
512
|
+
bigint: true
|
|
602
513
|
});
|
|
603
|
-
})
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
514
|
+
} catch (t) {
|
|
515
|
+
if ("ENOENT" !== t.code) throw t;
|
|
516
|
+
}
|
|
517
|
+
if (n && p(r, n)) return;
|
|
518
|
+
}
|
|
519
|
+
const s = await a(t, e);
|
|
520
|
+
t = s.toDst;
|
|
521
|
+
const u = await f(s.toCwd, r);
|
|
522
|
+
const l = i.dirname(e);
|
|
523
|
+
if (!await y(l)) await c(l);
|
|
524
|
+
return o.symlink(t, e, u);
|
|
525
|
+
}
|
|
526
|
+
function createSymlinkSync(t, e, r) {
|
|
607
527
|
let n;
|
|
608
528
|
try {
|
|
609
|
-
n = o.lstatSync(
|
|
529
|
+
n = o.lstatSync(e);
|
|
610
530
|
} catch {}
|
|
611
531
|
if (n && n.isSymbolicLink()) {
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
532
|
+
let r;
|
|
533
|
+
if (i.isAbsolute(t)) r = o.statSync(t, {
|
|
534
|
+
bigint: true
|
|
535
|
+
});
|
|
536
|
+
else {
|
|
537
|
+
const n = i.dirname(e);
|
|
538
|
+
const c = i.join(n, t);
|
|
539
|
+
try {
|
|
540
|
+
r = o.statSync(c, {
|
|
541
|
+
bigint: true
|
|
542
|
+
});
|
|
543
|
+
} catch {
|
|
544
|
+
r = o.statSync(t, {
|
|
545
|
+
bigint: true
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
let n;
|
|
550
|
+
try {
|
|
551
|
+
n = o.statSync(e, {
|
|
552
|
+
bigint: true
|
|
553
|
+
});
|
|
554
|
+
} catch (t) {
|
|
555
|
+
if ("ENOENT" !== t.code) throw t;
|
|
556
|
+
}
|
|
557
|
+
if (n && p(r, n)) return;
|
|
615
558
|
}
|
|
616
|
-
const c =
|
|
617
|
-
|
|
618
|
-
r =
|
|
619
|
-
const
|
|
620
|
-
const
|
|
621
|
-
if (
|
|
622
|
-
a
|
|
623
|
-
return o.symlinkSync(
|
|
624
|
-
}
|
|
625
|
-
|
|
559
|
+
const c = u(t, e);
|
|
560
|
+
t = c.toDst;
|
|
561
|
+
r = l(c.toCwd, r);
|
|
562
|
+
const a = i.dirname(e);
|
|
563
|
+
const f = o.existsSync(a);
|
|
564
|
+
if (f) return o.symlinkSync(t, e, r);
|
|
565
|
+
s(a);
|
|
566
|
+
return o.symlinkSync(t, e, r);
|
|
567
|
+
}
|
|
568
|
+
t.exports = {
|
|
626
569
|
createSymlink: n(createSymlink),
|
|
627
570
|
createSymlinkSync: createSymlinkSync
|
|
628
571
|
};
|
|
629
572
|
},
|
|
630
|
-
|
|
573
|
+
378: (t, e, r)=>{
|
|
631
574
|
"use strict";
|
|
632
|
-
const n = r(
|
|
633
|
-
const i = r(
|
|
575
|
+
const n = r(86).fromCallback;
|
|
576
|
+
const i = r(976);
|
|
634
577
|
const o = [
|
|
635
578
|
"access",
|
|
636
579
|
"appendFile",
|
|
@@ -638,6 +581,7 @@
|
|
|
638
581
|
"chown",
|
|
639
582
|
"close",
|
|
640
583
|
"copyFile",
|
|
584
|
+
"cp",
|
|
641
585
|
"fchmod",
|
|
642
586
|
"fchown",
|
|
643
587
|
"fdatasync",
|
|
@@ -645,8 +589,10 @@
|
|
|
645
589
|
"fsync",
|
|
646
590
|
"ftruncate",
|
|
647
591
|
"futimes",
|
|
592
|
+
"glob",
|
|
648
593
|
"lchmod",
|
|
649
594
|
"lchown",
|
|
595
|
+
"lutimes",
|
|
650
596
|
"link",
|
|
651
597
|
"lstat",
|
|
652
598
|
"mkdir",
|
|
@@ -661,123 +607,137 @@
|
|
|
661
607
|
"rm",
|
|
662
608
|
"rmdir",
|
|
663
609
|
"stat",
|
|
610
|
+
"statfs",
|
|
664
611
|
"symlink",
|
|
665
612
|
"truncate",
|
|
666
613
|
"unlink",
|
|
667
614
|
"utimes",
|
|
668
615
|
"writeFile"
|
|
669
|
-
].filter((
|
|
670
|
-
Object.assign(
|
|
671
|
-
o.forEach((
|
|
672
|
-
t
|
|
616
|
+
].filter((t)=>"function" == typeof i[t]);
|
|
617
|
+
Object.assign(e, i);
|
|
618
|
+
o.forEach((t)=>{
|
|
619
|
+
e[t] = n(i[t]);
|
|
673
620
|
});
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
return new Promise((t)=>i.exists(e, t));
|
|
621
|
+
e.exists = function(t, e) {
|
|
622
|
+
if ("function" == typeof e) return i.exists(t, e);
|
|
623
|
+
return new Promise((e)=>i.exists(t, e));
|
|
678
624
|
};
|
|
679
|
-
|
|
680
|
-
if ("function" == typeof c) return i.read(
|
|
625
|
+
e.read = function(t, e, r, n, o, c) {
|
|
626
|
+
if ("function" == typeof c) return i.read(t, e, r, n, o, c);
|
|
681
627
|
return new Promise((c, s)=>{
|
|
682
|
-
i.read(
|
|
683
|
-
if (
|
|
628
|
+
i.read(t, e, r, n, o, (t, e, r)=>{
|
|
629
|
+
if (t) return s(t);
|
|
684
630
|
c({
|
|
685
|
-
bytesRead:
|
|
631
|
+
bytesRead: e,
|
|
686
632
|
buffer: r
|
|
687
633
|
});
|
|
688
634
|
});
|
|
689
635
|
});
|
|
690
636
|
};
|
|
691
|
-
|
|
692
|
-
if ("function" == typeof r[r.length - 1]) return i.write(
|
|
637
|
+
e.write = function(t, e, ...r) {
|
|
638
|
+
if ("function" == typeof r[r.length - 1]) return i.write(t, e, ...r);
|
|
693
639
|
return new Promise((n, o)=>{
|
|
694
|
-
i.write(
|
|
695
|
-
if (
|
|
640
|
+
i.write(t, e, ...r, (t, e, r)=>{
|
|
641
|
+
if (t) return o(t);
|
|
696
642
|
n({
|
|
697
|
-
bytesWritten:
|
|
643
|
+
bytesWritten: e,
|
|
698
644
|
buffer: r
|
|
699
645
|
});
|
|
700
646
|
});
|
|
701
647
|
});
|
|
702
648
|
};
|
|
703
|
-
|
|
704
|
-
if ("function" == typeof r[r.length - 1]) return i.
|
|
649
|
+
e.readv = function(t, e, ...r) {
|
|
650
|
+
if ("function" == typeof r[r.length - 1]) return i.readv(t, e, ...r);
|
|
705
651
|
return new Promise((n, o)=>{
|
|
706
|
-
i.
|
|
707
|
-
if (
|
|
652
|
+
i.readv(t, e, ...r, (t, e, r)=>{
|
|
653
|
+
if (t) return o(t);
|
|
708
654
|
n({
|
|
709
|
-
|
|
655
|
+
bytesRead: e,
|
|
710
656
|
buffers: r
|
|
711
657
|
});
|
|
712
658
|
});
|
|
713
659
|
});
|
|
714
660
|
};
|
|
661
|
+
e.writev = function(t, e, ...r) {
|
|
662
|
+
if ("function" == typeof r[r.length - 1]) return i.writev(t, e, ...r);
|
|
663
|
+
return new Promise((n, o)=>{
|
|
664
|
+
i.writev(t, e, ...r, (t, e, r)=>{
|
|
665
|
+
if (t) return o(t);
|
|
666
|
+
n({
|
|
667
|
+
bytesWritten: e,
|
|
668
|
+
buffers: r
|
|
669
|
+
});
|
|
670
|
+
});
|
|
671
|
+
});
|
|
672
|
+
};
|
|
673
|
+
if ("function" == typeof i.realpath.native) e.realpath.native = n(i.realpath.native);
|
|
674
|
+
else process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?", "Warning", "fs-extra-WARN0003");
|
|
715
675
|
},
|
|
716
|
-
|
|
676
|
+
32: (t, e, r)=>{
|
|
717
677
|
"use strict";
|
|
718
|
-
|
|
719
|
-
...r(
|
|
720
|
-
...r(
|
|
721
|
-
...r(
|
|
722
|
-
...r(
|
|
723
|
-
...r(
|
|
724
|
-
...r(
|
|
725
|
-
...r(
|
|
726
|
-
...r(
|
|
727
|
-
...r(
|
|
728
|
-
...r(
|
|
678
|
+
t.exports = {
|
|
679
|
+
...r(378),
|
|
680
|
+
...r(996),
|
|
681
|
+
...r(426),
|
|
682
|
+
...r(987),
|
|
683
|
+
...r(404),
|
|
684
|
+
...r(649),
|
|
685
|
+
...r(628),
|
|
686
|
+
...r(221),
|
|
687
|
+
...r(521),
|
|
688
|
+
...r(413)
|
|
729
689
|
};
|
|
730
690
|
},
|
|
731
|
-
|
|
691
|
+
404: (t, e, r)=>{
|
|
732
692
|
"use strict";
|
|
733
|
-
const n = r(
|
|
734
|
-
const i = r(
|
|
735
|
-
i.outputJson = n(r(
|
|
736
|
-
i.outputJsonSync = r(
|
|
693
|
+
const n = r(86).fromPromise;
|
|
694
|
+
const i = r(255);
|
|
695
|
+
i.outputJson = n(r(705));
|
|
696
|
+
i.outputJsonSync = r(833);
|
|
737
697
|
i.outputJSON = i.outputJson;
|
|
738
698
|
i.outputJSONSync = i.outputJsonSync;
|
|
739
699
|
i.writeJSON = i.writeJson;
|
|
740
700
|
i.writeJSONSync = i.writeJsonSync;
|
|
741
701
|
i.readJSON = i.readJson;
|
|
742
702
|
i.readJSONSync = i.readJsonSync;
|
|
743
|
-
|
|
703
|
+
t.exports = i;
|
|
744
704
|
},
|
|
745
|
-
|
|
705
|
+
255: (t, e, r)=>{
|
|
746
706
|
"use strict";
|
|
747
|
-
const n = r(
|
|
748
|
-
|
|
707
|
+
const n = r(192);
|
|
708
|
+
t.exports = {
|
|
749
709
|
readJson: n.readFile,
|
|
750
710
|
readJsonSync: n.readFileSync,
|
|
751
711
|
writeJson: n.writeFile,
|
|
752
712
|
writeJsonSync: n.writeFileSync
|
|
753
713
|
};
|
|
754
714
|
},
|
|
755
|
-
|
|
715
|
+
833: (t, e, r)=>{
|
|
756
716
|
"use strict";
|
|
757
|
-
const { stringify: n } = r(
|
|
758
|
-
const { outputFileSync: i } = r(
|
|
759
|
-
function outputJsonSync(
|
|
760
|
-
const o = n(
|
|
761
|
-
i(
|
|
717
|
+
const { stringify: n } = r(825);
|
|
718
|
+
const { outputFileSync: i } = r(221);
|
|
719
|
+
function outputJsonSync(t, e, r) {
|
|
720
|
+
const o = n(e, r);
|
|
721
|
+
i(t, o, r);
|
|
762
722
|
}
|
|
763
|
-
|
|
723
|
+
t.exports = outputJsonSync;
|
|
764
724
|
},
|
|
765
|
-
|
|
725
|
+
705: (t, e, r)=>{
|
|
766
726
|
"use strict";
|
|
767
|
-
const { stringify: n } = r(
|
|
768
|
-
const { outputFile: i } = r(
|
|
769
|
-
async function outputJson(
|
|
770
|
-
const o = n(
|
|
771
|
-
await i(
|
|
727
|
+
const { stringify: n } = r(825);
|
|
728
|
+
const { outputFile: i } = r(221);
|
|
729
|
+
async function outputJson(t, e, r = {}) {
|
|
730
|
+
const o = n(e, r);
|
|
731
|
+
await i(t, o, r);
|
|
772
732
|
}
|
|
773
|
-
|
|
733
|
+
t.exports = outputJson;
|
|
774
734
|
},
|
|
775
|
-
|
|
735
|
+
649: (t, e, r)=>{
|
|
776
736
|
"use strict";
|
|
777
|
-
const n = r(
|
|
778
|
-
const { makeDir: i, makeDirSync: o } = r(
|
|
737
|
+
const n = r(86).fromPromise;
|
|
738
|
+
const { makeDir: i, makeDirSync: o } = r(665);
|
|
779
739
|
const c = n(i);
|
|
780
|
-
|
|
740
|
+
t.exports = {
|
|
781
741
|
mkdirs: c,
|
|
782
742
|
mkdirsSync: o,
|
|
783
743
|
mkdirp: c,
|
|
@@ -786,523 +746,324 @@
|
|
|
786
746
|
ensureDirSync: o
|
|
787
747
|
};
|
|
788
748
|
},
|
|
789
|
-
|
|
749
|
+
665: (t, e, r)=>{
|
|
790
750
|
"use strict";
|
|
791
|
-
const n = r(
|
|
792
|
-
const { checkPath: i } = r(
|
|
793
|
-
const getMode = (
|
|
794
|
-
const
|
|
751
|
+
const n = r(378);
|
|
752
|
+
const { checkPath: i } = r(596);
|
|
753
|
+
const getMode = (t)=>{
|
|
754
|
+
const e = {
|
|
795
755
|
mode: 511
|
|
796
756
|
};
|
|
797
|
-
if ("number" == typeof
|
|
757
|
+
if ("number" == typeof t) return t;
|
|
798
758
|
return ({
|
|
799
|
-
...
|
|
800
|
-
...
|
|
759
|
+
...e,
|
|
760
|
+
...t
|
|
801
761
|
}).mode;
|
|
802
762
|
};
|
|
803
|
-
|
|
804
|
-
i(
|
|
805
|
-
return n.mkdir(
|
|
806
|
-
mode: getMode(
|
|
763
|
+
t.exports.makeDir = async (t, e)=>{
|
|
764
|
+
i(t);
|
|
765
|
+
return n.mkdir(t, {
|
|
766
|
+
mode: getMode(e),
|
|
807
767
|
recursive: true
|
|
808
768
|
});
|
|
809
769
|
};
|
|
810
|
-
|
|
811
|
-
i(
|
|
812
|
-
return n.mkdirSync(
|
|
813
|
-
mode: getMode(
|
|
770
|
+
t.exports.makeDirSync = (t, e)=>{
|
|
771
|
+
i(t);
|
|
772
|
+
return n.mkdirSync(t, {
|
|
773
|
+
mode: getMode(e),
|
|
814
774
|
recursive: true
|
|
815
775
|
});
|
|
816
776
|
};
|
|
817
777
|
},
|
|
818
|
-
|
|
778
|
+
596: (t, e, r)=>{
|
|
819
779
|
"use strict";
|
|
820
|
-
const n = r(
|
|
821
|
-
|
|
780
|
+
const n = r(928);
|
|
781
|
+
t.exports.checkPath = function(t) {
|
|
822
782
|
if ("win32" === process.platform) {
|
|
823
|
-
const
|
|
824
|
-
if (
|
|
825
|
-
const
|
|
826
|
-
|
|
827
|
-
throw
|
|
783
|
+
const e = /[<>:"|?*]/.test(t.replace(n.parse(t).root, ""));
|
|
784
|
+
if (e) {
|
|
785
|
+
const e = new Error(`Path contains invalid characters: ${t}`);
|
|
786
|
+
e.code = "EINVAL";
|
|
787
|
+
throw e;
|
|
828
788
|
}
|
|
829
789
|
}
|
|
830
790
|
};
|
|
831
791
|
},
|
|
832
|
-
|
|
792
|
+
628: (t, e, r)=>{
|
|
833
793
|
"use strict";
|
|
834
|
-
const n = r(
|
|
835
|
-
|
|
836
|
-
move: n(r(
|
|
837
|
-
moveSync: r(
|
|
794
|
+
const n = r(86).fromPromise;
|
|
795
|
+
t.exports = {
|
|
796
|
+
move: n(r(263)),
|
|
797
|
+
moveSync: r(703)
|
|
838
798
|
};
|
|
839
799
|
},
|
|
840
|
-
|
|
800
|
+
703: (t, e, r)=>{
|
|
841
801
|
"use strict";
|
|
842
|
-
const n = r(
|
|
843
|
-
const i = r(
|
|
844
|
-
const o = r(
|
|
845
|
-
const c = r(
|
|
846
|
-
const s = r(
|
|
847
|
-
const a = r(
|
|
848
|
-
function moveSync(
|
|
802
|
+
const n = r(976);
|
|
803
|
+
const i = r(928);
|
|
804
|
+
const o = r(996).copySync;
|
|
805
|
+
const c = r(413).removeSync;
|
|
806
|
+
const s = r(649).mkdirpSync;
|
|
807
|
+
const a = r(399);
|
|
808
|
+
function moveSync(t, e, r) {
|
|
849
809
|
r = r || {};
|
|
850
810
|
const n = r.overwrite || r.clobber || false;
|
|
851
|
-
const { srcStat: o, isChangingCase: c = false } = a.checkPathsSync(
|
|
852
|
-
a.checkParentPathsSync(
|
|
853
|
-
if (!isParentRoot(
|
|
854
|
-
return doRename(
|
|
855
|
-
}
|
|
856
|
-
function isParentRoot(
|
|
857
|
-
const
|
|
858
|
-
const r = i.parse(
|
|
859
|
-
return r.root ===
|
|
860
|
-
}
|
|
861
|
-
function doRename(
|
|
862
|
-
if (i) return rename(
|
|
811
|
+
const { srcStat: o, isChangingCase: c = false } = a.checkPathsSync(t, e, "move", r);
|
|
812
|
+
a.checkParentPathsSync(t, o, e, "move");
|
|
813
|
+
if (!isParentRoot(e)) s(i.dirname(e));
|
|
814
|
+
return doRename(t, e, n, c);
|
|
815
|
+
}
|
|
816
|
+
function isParentRoot(t) {
|
|
817
|
+
const e = i.dirname(t);
|
|
818
|
+
const r = i.parse(e);
|
|
819
|
+
return r.root === e;
|
|
820
|
+
}
|
|
821
|
+
function doRename(t, e, r, i) {
|
|
822
|
+
if (i) return rename(t, e, r);
|
|
863
823
|
if (r) {
|
|
864
|
-
c(
|
|
865
|
-
return rename(
|
|
824
|
+
c(e);
|
|
825
|
+
return rename(t, e, r);
|
|
866
826
|
}
|
|
867
|
-
if (n.existsSync(
|
|
868
|
-
return rename(
|
|
827
|
+
if (n.existsSync(e)) throw new Error("dest already exists.");
|
|
828
|
+
return rename(t, e, r);
|
|
869
829
|
}
|
|
870
|
-
function rename(
|
|
830
|
+
function rename(t, e, r) {
|
|
871
831
|
try {
|
|
872
|
-
n.renameSync(
|
|
832
|
+
n.renameSync(t, e);
|
|
873
833
|
} catch (n) {
|
|
874
834
|
if ("EXDEV" !== n.code) throw n;
|
|
875
|
-
return moveAcrossDevice(
|
|
835
|
+
return moveAcrossDevice(t, e, r);
|
|
876
836
|
}
|
|
877
837
|
}
|
|
878
|
-
function moveAcrossDevice(
|
|
838
|
+
function moveAcrossDevice(t, e, r) {
|
|
879
839
|
const n = {
|
|
880
840
|
overwrite: r,
|
|
881
|
-
errorOnExist: true
|
|
841
|
+
errorOnExist: true,
|
|
842
|
+
preserveTimestamps: true
|
|
882
843
|
};
|
|
883
|
-
o(
|
|
884
|
-
return c(
|
|
844
|
+
o(t, e, n);
|
|
845
|
+
return c(t);
|
|
885
846
|
}
|
|
886
|
-
|
|
847
|
+
t.exports = moveSync;
|
|
887
848
|
},
|
|
888
|
-
|
|
849
|
+
263: (t, e, r)=>{
|
|
889
850
|
"use strict";
|
|
890
|
-
const n = r(
|
|
891
|
-
const i = r(
|
|
892
|
-
const o = r(
|
|
893
|
-
const c = r(
|
|
894
|
-
const s = r(
|
|
895
|
-
const a = r(
|
|
896
|
-
const u = r(
|
|
897
|
-
function move(
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
851
|
+
const n = r(378);
|
|
852
|
+
const i = r(928);
|
|
853
|
+
const { copy: o } = r(996);
|
|
854
|
+
const { remove: c } = r(413);
|
|
855
|
+
const { mkdirp: s } = r(649);
|
|
856
|
+
const { pathExists: a } = r(521);
|
|
857
|
+
const u = r(399);
|
|
858
|
+
async function move(t, e, r = {}) {
|
|
859
|
+
const n = r.overwrite || r.clobber || false;
|
|
860
|
+
const { srcStat: o, isChangingCase: c = false } = await u.checkPaths(t, e, "move", r);
|
|
861
|
+
await u.checkParentPaths(t, o, e, "move");
|
|
862
|
+
const a = i.dirname(e);
|
|
863
|
+
const f = i.parse(a);
|
|
864
|
+
if (f.root !== a) await s(a);
|
|
865
|
+
return doRename(t, e, n, c);
|
|
866
|
+
}
|
|
867
|
+
async function doRename(t, e, r, i) {
|
|
868
|
+
if (!i) {
|
|
869
|
+
if (r) await c(e);
|
|
870
|
+
else if (await a(e)) throw new Error("dest already exists.");
|
|
871
|
+
}
|
|
872
|
+
try {
|
|
873
|
+
await n.rename(t, e);
|
|
874
|
+
} catch (n) {
|
|
875
|
+
if ("EXDEV" !== n.code) throw n;
|
|
876
|
+
await moveAcrossDevice(t, e, r);
|
|
901
877
|
}
|
|
902
|
-
const o = r.overwrite || r.clobber || false;
|
|
903
|
-
u.checkPaths(e, t, "move", r, (r, c)=>{
|
|
904
|
-
if (r) return n(r);
|
|
905
|
-
const { srcStat: a, isChangingCase: f = false } = c;
|
|
906
|
-
u.checkParentPaths(e, a, t, "move", (r)=>{
|
|
907
|
-
if (r) return n(r);
|
|
908
|
-
if (isParentRoot(t)) return doRename(e, t, o, f, n);
|
|
909
|
-
s(i.dirname(t), (r)=>{
|
|
910
|
-
if (r) return n(r);
|
|
911
|
-
return doRename(e, t, o, f, n);
|
|
912
|
-
});
|
|
913
|
-
});
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
function isParentRoot(e) {
|
|
917
|
-
const t = i.dirname(e);
|
|
918
|
-
const r = i.parse(t);
|
|
919
|
-
return r.root === t;
|
|
920
|
-
}
|
|
921
|
-
function doRename(e, t, r, n, i) {
|
|
922
|
-
if (n) return rename(e, t, r, i);
|
|
923
|
-
if (r) return c(t, (n)=>{
|
|
924
|
-
if (n) return i(n);
|
|
925
|
-
return rename(e, t, r, i);
|
|
926
|
-
});
|
|
927
|
-
a(t, (n, o)=>{
|
|
928
|
-
if (n) return i(n);
|
|
929
|
-
if (o) return i(new Error("dest already exists."));
|
|
930
|
-
return rename(e, t, r, i);
|
|
931
|
-
});
|
|
932
|
-
}
|
|
933
|
-
function rename(e, t, r, i) {
|
|
934
|
-
n.rename(e, t, (n)=>{
|
|
935
|
-
if (!n) return i();
|
|
936
|
-
if ("EXDEV" !== n.code) return i(n);
|
|
937
|
-
return moveAcrossDevice(e, t, r, i);
|
|
938
|
-
});
|
|
939
878
|
}
|
|
940
|
-
function moveAcrossDevice(
|
|
941
|
-
const
|
|
879
|
+
async function moveAcrossDevice(t, e, r) {
|
|
880
|
+
const n = {
|
|
942
881
|
overwrite: r,
|
|
943
|
-
errorOnExist: true
|
|
882
|
+
errorOnExist: true,
|
|
883
|
+
preserveTimestamps: true
|
|
944
884
|
};
|
|
945
|
-
o(
|
|
946
|
-
|
|
947
|
-
return c(e, n);
|
|
948
|
-
});
|
|
885
|
+
await o(t, e, n);
|
|
886
|
+
return c(t);
|
|
949
887
|
}
|
|
950
|
-
|
|
888
|
+
t.exports = move;
|
|
951
889
|
},
|
|
952
|
-
|
|
890
|
+
221: (t, e, r)=>{
|
|
953
891
|
"use strict";
|
|
954
|
-
const n = r(
|
|
955
|
-
const i = r(
|
|
956
|
-
const o = r(
|
|
957
|
-
const c = r(
|
|
958
|
-
const s = r(
|
|
959
|
-
function outputFile(
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
i.writeFile(e, t, r, n);
|
|
971
|
-
});
|
|
972
|
-
});
|
|
973
|
-
}
|
|
974
|
-
function outputFileSync(e, ...t) {
|
|
975
|
-
const r = o.dirname(e);
|
|
976
|
-
if (i.existsSync(r)) return i.writeFileSync(e, ...t);
|
|
977
|
-
c.mkdirsSync(r);
|
|
978
|
-
i.writeFileSync(e, ...t);
|
|
979
|
-
}
|
|
980
|
-
e.exports = {
|
|
892
|
+
const n = r(86).fromPromise;
|
|
893
|
+
const i = r(378);
|
|
894
|
+
const o = r(928);
|
|
895
|
+
const c = r(649);
|
|
896
|
+
const s = r(521).pathExists;
|
|
897
|
+
async function outputFile(t, e, r = "utf-8") {
|
|
898
|
+
const n = o.dirname(t);
|
|
899
|
+
if (!await s(n)) await c.mkdirs(n);
|
|
900
|
+
return i.writeFile(t, e, r);
|
|
901
|
+
}
|
|
902
|
+
function outputFileSync(t, ...e) {
|
|
903
|
+
const r = o.dirname(t);
|
|
904
|
+
if (!i.existsSync(r)) c.mkdirsSync(r);
|
|
905
|
+
i.writeFileSync(t, ...e);
|
|
906
|
+
}
|
|
907
|
+
t.exports = {
|
|
981
908
|
outputFile: n(outputFile),
|
|
982
909
|
outputFileSync: outputFileSync
|
|
983
910
|
};
|
|
984
911
|
},
|
|
985
|
-
|
|
912
|
+
521: (t, e, r)=>{
|
|
986
913
|
"use strict";
|
|
987
|
-
const n = r(
|
|
988
|
-
const i = r(
|
|
989
|
-
function pathExists(
|
|
990
|
-
return i.access(
|
|
914
|
+
const n = r(86).fromPromise;
|
|
915
|
+
const i = r(378);
|
|
916
|
+
function pathExists(t) {
|
|
917
|
+
return i.access(t).then(()=>true).catch(()=>false);
|
|
991
918
|
}
|
|
992
|
-
|
|
919
|
+
t.exports = {
|
|
993
920
|
pathExists: n(pathExists),
|
|
994
921
|
pathExistsSync: i.existsSync
|
|
995
922
|
};
|
|
996
923
|
},
|
|
997
|
-
|
|
924
|
+
413: (t, e, r)=>{
|
|
998
925
|
"use strict";
|
|
999
|
-
const n = r(
|
|
1000
|
-
const i = r(
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
if (n.rm) return n.rm(e, {
|
|
926
|
+
const n = r(976);
|
|
927
|
+
const i = r(86).fromCallback;
|
|
928
|
+
function remove(t, e) {
|
|
929
|
+
n.rm(t, {
|
|
1004
930
|
recursive: true,
|
|
1005
931
|
force: true
|
|
1006
|
-
},
|
|
1007
|
-
o(e, t);
|
|
932
|
+
}, e);
|
|
1008
933
|
}
|
|
1009
|
-
function removeSync(
|
|
1010
|
-
|
|
934
|
+
function removeSync(t) {
|
|
935
|
+
n.rmSync(t, {
|
|
1011
936
|
recursive: true,
|
|
1012
937
|
force: true
|
|
1013
938
|
});
|
|
1014
|
-
o.sync(e);
|
|
1015
939
|
}
|
|
1016
|
-
|
|
940
|
+
t.exports = {
|
|
1017
941
|
remove: i(remove),
|
|
1018
942
|
removeSync: removeSync
|
|
1019
943
|
};
|
|
1020
944
|
},
|
|
1021
|
-
|
|
945
|
+
905: (t)=>{
|
|
1022
946
|
"use strict";
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
"rmdir",
|
|
1034
|
-
"readdir"
|
|
1035
|
-
];
|
|
1036
|
-
t.forEach((t)=>{
|
|
1037
|
-
e[t] = e[t] || n[t];
|
|
1038
|
-
t += "Sync";
|
|
1039
|
-
e[t] = e[t] || n[t];
|
|
1040
|
-
});
|
|
1041
|
-
e.maxBusyTries = e.maxBusyTries || 3;
|
|
1042
|
-
}
|
|
1043
|
-
function rimraf(e, t, r) {
|
|
1044
|
-
let n = 0;
|
|
1045
|
-
if ("function" == typeof t) {
|
|
1046
|
-
r = t;
|
|
1047
|
-
t = {};
|
|
1048
|
-
}
|
|
1049
|
-
o(e, "rimraf: missing path");
|
|
1050
|
-
o.strictEqual(typeof e, "string", "rimraf: path should be a string");
|
|
1051
|
-
o.strictEqual(typeof r, "function", "rimraf: callback function required");
|
|
1052
|
-
o(t, "rimraf: invalid options argument provided");
|
|
1053
|
-
o.strictEqual(typeof t, "object", "rimraf: options should be object");
|
|
1054
|
-
defaults(t);
|
|
1055
|
-
rimraf_(e, t, function CB(i) {
|
|
1056
|
-
if (i) {
|
|
1057
|
-
if (("EBUSY" === i.code || "ENOTEMPTY" === i.code || "EPERM" === i.code) && n < t.maxBusyTries) {
|
|
1058
|
-
n++;
|
|
1059
|
-
const r = 100 * n;
|
|
1060
|
-
return setTimeout(()=>rimraf_(e, t, CB), r);
|
|
1061
|
-
}
|
|
1062
|
-
if ("ENOENT" === i.code) i = null;
|
|
1063
|
-
}
|
|
1064
|
-
r(i);
|
|
1065
|
-
});
|
|
1066
|
-
}
|
|
1067
|
-
function rimraf_(e, t, r) {
|
|
1068
|
-
o(e);
|
|
1069
|
-
o(t);
|
|
1070
|
-
o("function" == typeof r);
|
|
1071
|
-
t.lstat(e, (n, i)=>{
|
|
1072
|
-
if (n && "ENOENT" === n.code) return r(null);
|
|
1073
|
-
if (n && "EPERM" === n.code && c) return fixWinEPERM(e, t, n, r);
|
|
1074
|
-
if (i && i.isDirectory()) return rmdir(e, t, n, r);
|
|
1075
|
-
t.unlink(e, (n)=>{
|
|
1076
|
-
if (n) {
|
|
1077
|
-
if ("ENOENT" === n.code) return r(null);
|
|
1078
|
-
if ("EPERM" === n.code) return c ? fixWinEPERM(e, t, n, r) : rmdir(e, t, n, r);
|
|
1079
|
-
if ("EISDIR" === n.code) return rmdir(e, t, n, r);
|
|
1080
|
-
}
|
|
1081
|
-
return r(n);
|
|
1082
|
-
});
|
|
1083
|
-
});
|
|
1084
|
-
}
|
|
1085
|
-
function fixWinEPERM(e, t, r, n) {
|
|
1086
|
-
o(e);
|
|
1087
|
-
o(t);
|
|
1088
|
-
o("function" == typeof n);
|
|
1089
|
-
t.chmod(e, 438, (i)=>{
|
|
1090
|
-
if (i) n("ENOENT" === i.code ? null : r);
|
|
1091
|
-
else t.stat(e, (i, o)=>{
|
|
1092
|
-
if (i) n("ENOENT" === i.code ? null : r);
|
|
1093
|
-
else if (o.isDirectory()) rmdir(e, t, r, n);
|
|
1094
|
-
else t.unlink(e, n);
|
|
1095
|
-
});
|
|
1096
|
-
});
|
|
1097
|
-
}
|
|
1098
|
-
function fixWinEPERMSync(e, t, r) {
|
|
1099
|
-
let n;
|
|
1100
|
-
o(e);
|
|
1101
|
-
o(t);
|
|
1102
|
-
try {
|
|
1103
|
-
t.chmodSync(e, 438);
|
|
1104
|
-
} catch (e) {
|
|
1105
|
-
if ("ENOENT" === e.code) return;
|
|
1106
|
-
throw r;
|
|
1107
|
-
}
|
|
1108
|
-
try {
|
|
1109
|
-
n = t.statSync(e);
|
|
1110
|
-
} catch (e) {
|
|
1111
|
-
if ("ENOENT" === e.code) return;
|
|
1112
|
-
throw r;
|
|
1113
|
-
}
|
|
1114
|
-
if (n.isDirectory()) rmdirSync(e, t, r);
|
|
1115
|
-
else t.unlinkSync(e);
|
|
1116
|
-
}
|
|
1117
|
-
function rmdir(e, t, r, n) {
|
|
1118
|
-
o(e);
|
|
1119
|
-
o(t);
|
|
1120
|
-
o("function" == typeof n);
|
|
1121
|
-
t.rmdir(e, (i)=>{
|
|
1122
|
-
if (i && ("ENOTEMPTY" === i.code || "EEXIST" === i.code || "EPERM" === i.code)) rmkids(e, t, n);
|
|
1123
|
-
else i && "ENOTDIR" === i.code ? n(r) : n(i);
|
|
1124
|
-
});
|
|
1125
|
-
}
|
|
1126
|
-
function rmkids(e, t, r) {
|
|
1127
|
-
o(e);
|
|
1128
|
-
o(t);
|
|
1129
|
-
o("function" == typeof r);
|
|
1130
|
-
t.readdir(e, (n, o)=>{
|
|
1131
|
-
if (n) return r(n);
|
|
1132
|
-
let c = o.length;
|
|
1133
|
-
let s;
|
|
1134
|
-
if (0 === c) return t.rmdir(e, r);
|
|
1135
|
-
o.forEach((n)=>{
|
|
1136
|
-
rimraf(i.join(e, n), t, (n)=>{
|
|
1137
|
-
if (s) return;
|
|
1138
|
-
if (n) return r(s = n);
|
|
1139
|
-
if (0 === --c) t.rmdir(e, r);
|
|
1140
|
-
});
|
|
1141
|
-
});
|
|
1142
|
-
});
|
|
1143
|
-
}
|
|
1144
|
-
function rimrafSync(e, t) {
|
|
1145
|
-
let r;
|
|
1146
|
-
t = t || {};
|
|
1147
|
-
defaults(t);
|
|
1148
|
-
o(e, "rimraf: missing path");
|
|
1149
|
-
o.strictEqual(typeof e, "string", "rimraf: path should be a string");
|
|
1150
|
-
o(t, "rimraf: missing options");
|
|
1151
|
-
o.strictEqual(typeof t, "object", "rimraf: options should be object");
|
|
1152
|
-
try {
|
|
1153
|
-
r = t.lstatSync(e);
|
|
1154
|
-
} catch (r) {
|
|
1155
|
-
if ("ENOENT" === r.code) return;
|
|
1156
|
-
if ("EPERM" === r.code && c) fixWinEPERMSync(e, t, r);
|
|
1157
|
-
}
|
|
1158
|
-
try {
|
|
1159
|
-
if (r && r.isDirectory()) rmdirSync(e, t, null);
|
|
1160
|
-
else t.unlinkSync(e);
|
|
1161
|
-
} catch (r) {
|
|
1162
|
-
if ("ENOENT" === r.code) return;
|
|
1163
|
-
if ("EPERM" === r.code) return c ? fixWinEPERMSync(e, t, r) : rmdirSync(e, t, r);
|
|
1164
|
-
if ("EISDIR" !== r.code) throw r;
|
|
1165
|
-
rmdirSync(e, t, r);
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
function rmdirSync(e, t, r) {
|
|
1169
|
-
o(e);
|
|
1170
|
-
o(t);
|
|
1171
|
-
try {
|
|
1172
|
-
t.rmdirSync(e);
|
|
1173
|
-
} catch (n) {
|
|
1174
|
-
if ("ENOTDIR" === n.code) throw r;
|
|
1175
|
-
if ("ENOTEMPTY" === n.code || "EEXIST" === n.code || "EPERM" === n.code) rmkidsSync(e, t);
|
|
1176
|
-
else if ("ENOENT" !== n.code) throw n;
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
function rmkidsSync(e, t) {
|
|
1180
|
-
o(e);
|
|
1181
|
-
o(t);
|
|
1182
|
-
t.readdirSync(e).forEach((r)=>rimrafSync(i.join(e, r), t));
|
|
1183
|
-
if (c) {
|
|
1184
|
-
const r = Date.now();
|
|
1185
|
-
do try {
|
|
1186
|
-
const r = t.rmdirSync(e, t);
|
|
1187
|
-
return r;
|
|
1188
|
-
} catch {}
|
|
1189
|
-
while (Date.now() - r < 500);
|
|
1190
|
-
} else {
|
|
1191
|
-
const r = t.rmdirSync(e, t);
|
|
1192
|
-
return r;
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
e.exports = rimraf;
|
|
1196
|
-
rimraf.sync = rimrafSync;
|
|
947
|
+
async function asyncIteratorConcurrentProcess(t, e) {
|
|
948
|
+
const r = [];
|
|
949
|
+
for await (const n of t)r.push(e(n).then(()=>null, (t)=>t ?? new Error("unknown error")));
|
|
950
|
+
await Promise.all(r.map((t)=>t.then((t)=>{
|
|
951
|
+
if (null !== t) throw t;
|
|
952
|
+
})));
|
|
953
|
+
}
|
|
954
|
+
t.exports = {
|
|
955
|
+
asyncIteratorConcurrentProcess: asyncIteratorConcurrentProcess
|
|
956
|
+
};
|
|
1197
957
|
},
|
|
1198
|
-
|
|
958
|
+
399: (t, e, r)=>{
|
|
1199
959
|
"use strict";
|
|
1200
|
-
const n = r(
|
|
1201
|
-
const i = r(
|
|
1202
|
-
const o = r(
|
|
1203
|
-
function getStats(
|
|
1204
|
-
const i = r.dereference ? (
|
|
960
|
+
const n = r(378);
|
|
961
|
+
const i = r(928);
|
|
962
|
+
const o = r(86).fromPromise;
|
|
963
|
+
function getStats(t, e, r) {
|
|
964
|
+
const i = r.dereference ? (t)=>n.stat(t, {
|
|
1205
965
|
bigint: true
|
|
1206
|
-
}) : (
|
|
966
|
+
}) : (t)=>n.lstat(t, {
|
|
1207
967
|
bigint: true
|
|
1208
968
|
});
|
|
1209
969
|
return Promise.all([
|
|
1210
|
-
i(
|
|
1211
|
-
i(
|
|
1212
|
-
if ("ENOENT" ===
|
|
1213
|
-
throw
|
|
970
|
+
i(t),
|
|
971
|
+
i(e).catch((t)=>{
|
|
972
|
+
if ("ENOENT" === t.code) return null;
|
|
973
|
+
throw t;
|
|
1214
974
|
})
|
|
1215
|
-
]).then(([
|
|
1216
|
-
srcStat:
|
|
1217
|
-
destStat:
|
|
975
|
+
]).then(([t, e])=>({
|
|
976
|
+
srcStat: t,
|
|
977
|
+
destStat: e
|
|
1218
978
|
}));
|
|
1219
979
|
}
|
|
1220
|
-
function getStatsSync(
|
|
980
|
+
function getStatsSync(t, e, r) {
|
|
1221
981
|
let i;
|
|
1222
|
-
const o = r.dereference ? (
|
|
982
|
+
const o = r.dereference ? (t)=>n.statSync(t, {
|
|
1223
983
|
bigint: true
|
|
1224
|
-
}) : (
|
|
984
|
+
}) : (t)=>n.lstatSync(t, {
|
|
1225
985
|
bigint: true
|
|
1226
986
|
});
|
|
1227
|
-
const c = o(
|
|
987
|
+
const c = o(t);
|
|
1228
988
|
try {
|
|
1229
|
-
i = o(
|
|
1230
|
-
} catch (
|
|
1231
|
-
if ("ENOENT" ===
|
|
989
|
+
i = o(e);
|
|
990
|
+
} catch (t) {
|
|
991
|
+
if ("ENOENT" === t.code) return {
|
|
1232
992
|
srcStat: c,
|
|
1233
993
|
destStat: null
|
|
1234
994
|
};
|
|
1235
|
-
throw
|
|
995
|
+
throw t;
|
|
1236
996
|
}
|
|
1237
997
|
return {
|
|
1238
998
|
srcStat: c,
|
|
1239
999
|
destStat: i
|
|
1240
1000
|
};
|
|
1241
1001
|
}
|
|
1242
|
-
function checkPaths(
|
|
1243
|
-
o
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
});
|
|
1255
|
-
return c(new Error("Source and destination must not be the same."));
|
|
1256
|
-
}
|
|
1257
|
-
if (s.isDirectory() && !a.isDirectory()) return c(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`));
|
|
1258
|
-
if (!s.isDirectory() && a.isDirectory()) return c(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`));
|
|
1002
|
+
async function checkPaths(t, e, r, n) {
|
|
1003
|
+
const { srcStat: o, destStat: c } = await getStats(t, e, n);
|
|
1004
|
+
if (c) {
|
|
1005
|
+
if (areIdentical(o, c)) {
|
|
1006
|
+
const n = i.basename(t);
|
|
1007
|
+
const s = i.basename(e);
|
|
1008
|
+
if ("move" === r && n !== s && isCosmeticRename(n, s)) return {
|
|
1009
|
+
srcStat: o,
|
|
1010
|
+
destStat: c,
|
|
1011
|
+
isChangingCase: true
|
|
1012
|
+
};
|
|
1013
|
+
throw new Error("Source and destination must not be the same.");
|
|
1259
1014
|
}
|
|
1260
|
-
if (
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1015
|
+
if (o.isDirectory() && !c.isDirectory()) throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);
|
|
1016
|
+
if (!o.isDirectory() && c.isDirectory()) throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`);
|
|
1017
|
+
}
|
|
1018
|
+
if (o.isDirectory() && isSrcSubdir(t, e)) throw new Error(errMsg(t, e, r));
|
|
1019
|
+
return {
|
|
1020
|
+
srcStat: o,
|
|
1021
|
+
destStat: c
|
|
1022
|
+
};
|
|
1266
1023
|
}
|
|
1267
|
-
function checkPathsSync(
|
|
1268
|
-
const { srcStat: o, destStat: c } = getStatsSync(
|
|
1024
|
+
function checkPathsSync(t, e, r, n) {
|
|
1025
|
+
const { srcStat: o, destStat: c } = getStatsSync(t, e, n);
|
|
1269
1026
|
if (c) {
|
|
1270
1027
|
if (areIdentical(o, c)) {
|
|
1271
|
-
const n = i.basename(
|
|
1272
|
-
const s = i.basename(
|
|
1273
|
-
if ("move" === r && n !== s && n
|
|
1028
|
+
const n = i.basename(t);
|
|
1029
|
+
const s = i.basename(e);
|
|
1030
|
+
if ("move" === r && n !== s && isCosmeticRename(n, s)) return {
|
|
1274
1031
|
srcStat: o,
|
|
1275
1032
|
destStat: c,
|
|
1276
1033
|
isChangingCase: true
|
|
1277
1034
|
};
|
|
1278
1035
|
throw new Error("Source and destination must not be the same.");
|
|
1279
1036
|
}
|
|
1280
|
-
if (o.isDirectory() && !c.isDirectory()) throw new Error(`Cannot overwrite non-directory '${
|
|
1281
|
-
if (!o.isDirectory() && c.isDirectory()) throw new Error(`Cannot overwrite directory '${
|
|
1037
|
+
if (o.isDirectory() && !c.isDirectory()) throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);
|
|
1038
|
+
if (!o.isDirectory() && c.isDirectory()) throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`);
|
|
1282
1039
|
}
|
|
1283
|
-
if (o.isDirectory() && isSrcSubdir(
|
|
1040
|
+
if (o.isDirectory() && isSrcSubdir(t, e)) throw new Error(errMsg(t, e, r));
|
|
1284
1041
|
return {
|
|
1285
1042
|
srcStat: o,
|
|
1286
1043
|
destStat: c
|
|
1287
1044
|
};
|
|
1288
1045
|
}
|
|
1289
|
-
function
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1046
|
+
function isCosmeticRename(t, e) {
|
|
1047
|
+
return t.toLowerCase().normalize("NFC") === e.toLowerCase().normalize("NFC");
|
|
1048
|
+
}
|
|
1049
|
+
async function checkParentPaths(t, e, r, o) {
|
|
1050
|
+
const c = i.resolve(i.dirname(t));
|
|
1051
|
+
const s = i.resolve(i.dirname(r));
|
|
1052
|
+
if (s === c || s === i.parse(s).root) return;
|
|
1053
|
+
let a;
|
|
1054
|
+
try {
|
|
1055
|
+
a = await n.stat(s, {
|
|
1056
|
+
bigint: true
|
|
1057
|
+
});
|
|
1058
|
+
} catch (r) {
|
|
1059
|
+
if ("ENOENT" === r.code) return checkParentPaths(t, e, s, o);
|
|
1060
|
+
throw r;
|
|
1061
|
+
}
|
|
1062
|
+
if (areIdentical(e, a)) throw new Error(errMsg(t, r, o));
|
|
1063
|
+
return checkParentPaths(t, e, s, o);
|
|
1303
1064
|
}
|
|
1304
|
-
function checkParentPathsSync(
|
|
1305
|
-
const c = i.resolve(i.dirname(
|
|
1065
|
+
function checkParentPathsSync(t, e, r, o) {
|
|
1066
|
+
const c = i.resolve(i.dirname(t));
|
|
1306
1067
|
const s = i.resolve(i.dirname(r));
|
|
1307
1068
|
if (s === c || s === i.parse(s).root) return;
|
|
1308
1069
|
let a;
|
|
@@ -1310,80 +1071,98 @@
|
|
|
1310
1071
|
a = n.statSync(s, {
|
|
1311
1072
|
bigint: true
|
|
1312
1073
|
});
|
|
1313
|
-
} catch (
|
|
1314
|
-
if ("ENOENT" ===
|
|
1315
|
-
throw
|
|
1074
|
+
} catch (r) {
|
|
1075
|
+
if ("ENOENT" === r.code) return checkParentPathsSync(t, e, s, o);
|
|
1076
|
+
throw r;
|
|
1316
1077
|
}
|
|
1317
|
-
if (areIdentical(
|
|
1318
|
-
return checkParentPathsSync(
|
|
1078
|
+
if (areIdentical(e, a)) throw new Error(errMsg(t, r, o));
|
|
1079
|
+
return checkParentPathsSync(t, e, s, o);
|
|
1319
1080
|
}
|
|
1320
|
-
function areIdentical(
|
|
1321
|
-
return
|
|
1081
|
+
function areIdentical(t, e) {
|
|
1082
|
+
return void 0 !== e.ino && void 0 !== e.dev && e.ino === t.ino && e.dev === t.dev;
|
|
1322
1083
|
}
|
|
1323
|
-
function isSrcSubdir(
|
|
1324
|
-
const r = i.resolve(
|
|
1325
|
-
const n = i.resolve(
|
|
1326
|
-
return r.
|
|
1084
|
+
function isSrcSubdir(t, e) {
|
|
1085
|
+
const r = i.resolve(t).split(i.sep).filter((t)=>t);
|
|
1086
|
+
const n = i.resolve(e).split(i.sep).filter((t)=>t);
|
|
1087
|
+
return r.every((t, e)=>n[e] === t);
|
|
1327
1088
|
}
|
|
1328
|
-
function errMsg(
|
|
1329
|
-
return `Cannot ${r} '${
|
|
1089
|
+
function errMsg(t, e, r) {
|
|
1090
|
+
return `Cannot ${r} '${t}' to a subdirectory of itself, '${e}'.`;
|
|
1330
1091
|
}
|
|
1331
|
-
|
|
1332
|
-
checkPaths: checkPaths,
|
|
1092
|
+
t.exports = {
|
|
1093
|
+
checkPaths: o(checkPaths),
|
|
1333
1094
|
checkPathsSync: checkPathsSync,
|
|
1334
|
-
checkParentPaths: checkParentPaths,
|
|
1095
|
+
checkParentPaths: o(checkParentPaths),
|
|
1335
1096
|
checkParentPathsSync: checkParentPathsSync,
|
|
1336
1097
|
isSrcSubdir: isSrcSubdir,
|
|
1337
1098
|
areIdentical: areIdentical
|
|
1338
1099
|
};
|
|
1339
1100
|
},
|
|
1340
|
-
|
|
1101
|
+
126: (t, e, r)=>{
|
|
1341
1102
|
"use strict";
|
|
1342
|
-
const n = r(
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
}
|
|
1103
|
+
const n = r(378);
|
|
1104
|
+
const i = r(86).fromPromise;
|
|
1105
|
+
async function utimesMillis(t, e, r) {
|
|
1106
|
+
const i = await n.open(t, "r+");
|
|
1107
|
+
let o = null;
|
|
1108
|
+
try {
|
|
1109
|
+
await n.futimes(i, e, r);
|
|
1110
|
+
} catch (t) {
|
|
1111
|
+
o = t;
|
|
1112
|
+
} finally{
|
|
1113
|
+
try {
|
|
1114
|
+
await n.close(i);
|
|
1115
|
+
} catch (t) {
|
|
1116
|
+
if (!o) o = t;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
if (o) throw o;
|
|
1352
1120
|
}
|
|
1353
|
-
function utimesMillisSync(
|
|
1354
|
-
const i = n.openSync(
|
|
1355
|
-
|
|
1356
|
-
|
|
1121
|
+
function utimesMillisSync(t, e, r) {
|
|
1122
|
+
const i = n.openSync(t, "r+");
|
|
1123
|
+
let o = null;
|
|
1124
|
+
try {
|
|
1125
|
+
n.futimesSync(i, e, r);
|
|
1126
|
+
} catch (t) {
|
|
1127
|
+
o = t;
|
|
1128
|
+
} finally{
|
|
1129
|
+
try {
|
|
1130
|
+
n.closeSync(i);
|
|
1131
|
+
} catch (t) {
|
|
1132
|
+
if (!o) o = t;
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
if (o) throw o;
|
|
1357
1136
|
}
|
|
1358
|
-
|
|
1359
|
-
utimesMillis: utimesMillis,
|
|
1137
|
+
t.exports = {
|
|
1138
|
+
utimesMillis: i(utimesMillis),
|
|
1360
1139
|
utimesMillisSync: utimesMillisSync
|
|
1361
1140
|
};
|
|
1362
1141
|
},
|
|
1363
|
-
|
|
1142
|
+
844: (t)=>{
|
|
1364
1143
|
"use strict";
|
|
1365
|
-
|
|
1366
|
-
var
|
|
1367
|
-
return
|
|
1144
|
+
t.exports = clone;
|
|
1145
|
+
var e = Object.getPrototypeOf || function(t) {
|
|
1146
|
+
return t.__proto__;
|
|
1368
1147
|
};
|
|
1369
|
-
function clone(
|
|
1370
|
-
if (null ===
|
|
1371
|
-
if (
|
|
1372
|
-
__proto__: t
|
|
1148
|
+
function clone(t) {
|
|
1149
|
+
if (null === t || "object" != typeof t) return t;
|
|
1150
|
+
if (t instanceof Object) var r = {
|
|
1151
|
+
__proto__: e(t)
|
|
1373
1152
|
};
|
|
1374
1153
|
else var r = Object.create(null);
|
|
1375
|
-
Object.getOwnPropertyNames(
|
|
1376
|
-
Object.defineProperty(r,
|
|
1154
|
+
Object.getOwnPropertyNames(t).forEach(function(e) {
|
|
1155
|
+
Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(t, e));
|
|
1377
1156
|
});
|
|
1378
1157
|
return r;
|
|
1379
1158
|
}
|
|
1380
1159
|
},
|
|
1381
|
-
|
|
1382
|
-
var n = r(
|
|
1383
|
-
var i = r(
|
|
1384
|
-
var o = r(
|
|
1385
|
-
var c = r(
|
|
1386
|
-
var s = r(
|
|
1160
|
+
976: (t, e, r)=>{
|
|
1161
|
+
var n = r(896);
|
|
1162
|
+
var i = r(269);
|
|
1163
|
+
var o = r(422);
|
|
1164
|
+
var c = r(844);
|
|
1165
|
+
var s = r(23);
|
|
1387
1166
|
var a;
|
|
1388
1167
|
var u;
|
|
1389
1168
|
if ("function" == typeof Symbol && "function" == typeof Symbol.for) {
|
|
@@ -1394,76 +1173,76 @@
|
|
|
1394
1173
|
u = "___graceful-fs.previous";
|
|
1395
1174
|
}
|
|
1396
1175
|
function noop() {}
|
|
1397
|
-
function publishQueue(
|
|
1398
|
-
Object.defineProperty(
|
|
1176
|
+
function publishQueue(t, e) {
|
|
1177
|
+
Object.defineProperty(t, a, {
|
|
1399
1178
|
get: function() {
|
|
1400
|
-
return
|
|
1179
|
+
return e;
|
|
1401
1180
|
}
|
|
1402
1181
|
});
|
|
1403
1182
|
}
|
|
1404
1183
|
var f = noop;
|
|
1405
1184
|
if (s.debuglog) f = s.debuglog("gfs4");
|
|
1406
1185
|
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) f = function() {
|
|
1407
|
-
var
|
|
1408
|
-
|
|
1409
|
-
console.error(
|
|
1186
|
+
var t = s.format.apply(s, arguments);
|
|
1187
|
+
t = "GFS4: " + t.split(/\n/).join("\nGFS4: ");
|
|
1188
|
+
console.error(t);
|
|
1410
1189
|
};
|
|
1411
1190
|
if (!n[a]) {
|
|
1412
1191
|
var l = global[a] || [];
|
|
1413
1192
|
publishQueue(n, l);
|
|
1414
|
-
n.close = function(
|
|
1415
|
-
function close(
|
|
1416
|
-
return
|
|
1417
|
-
if (!
|
|
1193
|
+
n.close = function(t) {
|
|
1194
|
+
function close(e, r) {
|
|
1195
|
+
return t.call(n, e, function(t) {
|
|
1196
|
+
if (!t) resetQueue();
|
|
1418
1197
|
if ("function" == typeof r) r.apply(this, arguments);
|
|
1419
1198
|
});
|
|
1420
1199
|
}
|
|
1421
1200
|
Object.defineProperty(close, u, {
|
|
1422
|
-
value:
|
|
1201
|
+
value: t
|
|
1423
1202
|
});
|
|
1424
1203
|
return close;
|
|
1425
1204
|
}(n.close);
|
|
1426
|
-
n.closeSync = function(
|
|
1427
|
-
function closeSync(
|
|
1428
|
-
|
|
1205
|
+
n.closeSync = function(t) {
|
|
1206
|
+
function closeSync(e) {
|
|
1207
|
+
t.apply(n, arguments);
|
|
1429
1208
|
resetQueue();
|
|
1430
1209
|
}
|
|
1431
1210
|
Object.defineProperty(closeSync, u, {
|
|
1432
|
-
value:
|
|
1211
|
+
value: t
|
|
1433
1212
|
});
|
|
1434
1213
|
return closeSync;
|
|
1435
1214
|
}(n.closeSync);
|
|
1436
1215
|
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
|
|
1437
1216
|
f(n[a]);
|
|
1438
|
-
r(
|
|
1217
|
+
r(613).equal(n[a].length, 0);
|
|
1439
1218
|
});
|
|
1440
1219
|
}
|
|
1441
1220
|
if (!global[a]) publishQueue(global, n[a]);
|
|
1442
|
-
|
|
1221
|
+
t.exports = patch(c(n));
|
|
1443
1222
|
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !n.__patched) {
|
|
1444
|
-
|
|
1223
|
+
t.exports = patch(n);
|
|
1445
1224
|
n.__patched = true;
|
|
1446
1225
|
}
|
|
1447
|
-
function patch(
|
|
1448
|
-
i(
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
var
|
|
1453
|
-
|
|
1454
|
-
function readFile(
|
|
1226
|
+
function patch(t) {
|
|
1227
|
+
i(t);
|
|
1228
|
+
t.gracefulify = patch;
|
|
1229
|
+
t.createReadStream = createReadStream;
|
|
1230
|
+
t.createWriteStream = createWriteStream;
|
|
1231
|
+
var e = t.readFile;
|
|
1232
|
+
t.readFile = readFile;
|
|
1233
|
+
function readFile(t, r, n) {
|
|
1455
1234
|
if ("function" == typeof r) n = r, r = null;
|
|
1456
|
-
return go$readFile(
|
|
1457
|
-
function go$readFile(
|
|
1458
|
-
return t
|
|
1459
|
-
if (
|
|
1235
|
+
return go$readFile(t, r, n);
|
|
1236
|
+
function go$readFile(t, r, n, i) {
|
|
1237
|
+
return e(t, r, function(e) {
|
|
1238
|
+
if (e && ("EMFILE" === e.code || "ENFILE" === e.code)) enqueue([
|
|
1460
1239
|
go$readFile,
|
|
1461
1240
|
[
|
|
1462
|
-
|
|
1241
|
+
t,
|
|
1463
1242
|
r,
|
|
1464
1243
|
n
|
|
1465
1244
|
],
|
|
1466
|
-
|
|
1245
|
+
e,
|
|
1467
1246
|
i || Date.now(),
|
|
1468
1247
|
Date.now()
|
|
1469
1248
|
]);
|
|
@@ -1471,18 +1250,18 @@
|
|
|
1471
1250
|
});
|
|
1472
1251
|
}
|
|
1473
1252
|
}
|
|
1474
|
-
var r =
|
|
1475
|
-
|
|
1476
|
-
function writeFile(
|
|
1253
|
+
var r = t.writeFile;
|
|
1254
|
+
t.writeFile = writeFile;
|
|
1255
|
+
function writeFile(t, e, n, i) {
|
|
1477
1256
|
if ("function" == typeof n) i = n, n = null;
|
|
1478
|
-
return go$writeFile(
|
|
1479
|
-
function go$writeFile(
|
|
1480
|
-
return r(
|
|
1257
|
+
return go$writeFile(t, e, n, i);
|
|
1258
|
+
function go$writeFile(t, e, n, i, o) {
|
|
1259
|
+
return r(t, e, n, function(r) {
|
|
1481
1260
|
if (r && ("EMFILE" === r.code || "ENFILE" === r.code)) enqueue([
|
|
1482
1261
|
go$writeFile,
|
|
1483
1262
|
[
|
|
1484
|
-
e,
|
|
1485
1263
|
t,
|
|
1264
|
+
e,
|
|
1486
1265
|
n,
|
|
1487
1266
|
i
|
|
1488
1267
|
],
|
|
@@ -1494,18 +1273,18 @@
|
|
|
1494
1273
|
});
|
|
1495
1274
|
}
|
|
1496
1275
|
}
|
|
1497
|
-
var n =
|
|
1498
|
-
if (n)
|
|
1499
|
-
function appendFile(
|
|
1276
|
+
var n = t.appendFile;
|
|
1277
|
+
if (n) t.appendFile = appendFile;
|
|
1278
|
+
function appendFile(t, e, r, i) {
|
|
1500
1279
|
if ("function" == typeof r) i = r, r = null;
|
|
1501
|
-
return go$appendFile(
|
|
1502
|
-
function go$appendFile(
|
|
1503
|
-
return n(
|
|
1280
|
+
return go$appendFile(t, e, r, i);
|
|
1281
|
+
function go$appendFile(t, e, r, i, o) {
|
|
1282
|
+
return n(t, e, r, function(n) {
|
|
1504
1283
|
if (n && ("EMFILE" === n.code || "ENFILE" === n.code)) enqueue([
|
|
1505
1284
|
go$appendFile,
|
|
1506
1285
|
[
|
|
1507
|
-
e,
|
|
1508
1286
|
t,
|
|
1287
|
+
e,
|
|
1509
1288
|
r,
|
|
1510
1289
|
i
|
|
1511
1290
|
],
|
|
@@ -1517,21 +1296,21 @@
|
|
|
1517
1296
|
});
|
|
1518
1297
|
}
|
|
1519
1298
|
}
|
|
1520
|
-
var c =
|
|
1521
|
-
if (c)
|
|
1522
|
-
function copyFile(
|
|
1299
|
+
var c = t.copyFile;
|
|
1300
|
+
if (c) t.copyFile = copyFile;
|
|
1301
|
+
function copyFile(t, e, r, n) {
|
|
1523
1302
|
if ("function" == typeof r) {
|
|
1524
1303
|
n = r;
|
|
1525
1304
|
r = 0;
|
|
1526
1305
|
}
|
|
1527
|
-
return go$copyFile(
|
|
1528
|
-
function go$copyFile(
|
|
1529
|
-
return c(
|
|
1306
|
+
return go$copyFile(t, e, r, n);
|
|
1307
|
+
function go$copyFile(t, e, r, n, i) {
|
|
1308
|
+
return c(t, e, r, function(o) {
|
|
1530
1309
|
if (o && ("EMFILE" === o.code || "ENFILE" === o.code)) enqueue([
|
|
1531
1310
|
go$copyFile,
|
|
1532
1311
|
[
|
|
1533
|
-
e,
|
|
1534
1312
|
t,
|
|
1313
|
+
e,
|
|
1535
1314
|
r,
|
|
1536
1315
|
n
|
|
1537
1316
|
],
|
|
@@ -1543,24 +1322,24 @@
|
|
|
1543
1322
|
});
|
|
1544
1323
|
}
|
|
1545
1324
|
}
|
|
1546
|
-
var s =
|
|
1547
|
-
|
|
1325
|
+
var s = t.readdir;
|
|
1326
|
+
t.readdir = readdir;
|
|
1548
1327
|
var a = /^v[0-5]\./;
|
|
1549
|
-
function readdir(
|
|
1550
|
-
if ("function" == typeof
|
|
1551
|
-
var n = a.test(process.version) ? function(
|
|
1552
|
-
return s(
|
|
1553
|
-
} : function(
|
|
1554
|
-
return s(
|
|
1328
|
+
function readdir(t, e, r) {
|
|
1329
|
+
if ("function" == typeof e) r = e, e = null;
|
|
1330
|
+
var n = a.test(process.version) ? function(t, e, r, n) {
|
|
1331
|
+
return s(t, fs$readdirCallback(t, e, r, n));
|
|
1332
|
+
} : function(t, e, r, n) {
|
|
1333
|
+
return s(t, e, fs$readdirCallback(t, e, r, n));
|
|
1555
1334
|
};
|
|
1556
|
-
return n(
|
|
1557
|
-
function fs$readdirCallback(
|
|
1335
|
+
return n(t, e, r);
|
|
1336
|
+
function fs$readdirCallback(t, e, r, i) {
|
|
1558
1337
|
return function(o, c) {
|
|
1559
1338
|
if (o && ("EMFILE" === o.code || "ENFILE" === o.code)) enqueue([
|
|
1560
1339
|
n,
|
|
1561
1340
|
[
|
|
1562
|
-
e,
|
|
1563
1341
|
t,
|
|
1342
|
+
e,
|
|
1564
1343
|
r
|
|
1565
1344
|
],
|
|
1566
1345
|
o,
|
|
@@ -1575,113 +1354,113 @@
|
|
|
1575
1354
|
}
|
|
1576
1355
|
}
|
|
1577
1356
|
if ("v0.8" === process.version.substr(0, 4)) {
|
|
1578
|
-
var u = o(
|
|
1357
|
+
var u = o(t);
|
|
1579
1358
|
ReadStream = u.ReadStream;
|
|
1580
1359
|
WriteStream = u.WriteStream;
|
|
1581
1360
|
}
|
|
1582
|
-
var f =
|
|
1361
|
+
var f = t.ReadStream;
|
|
1583
1362
|
if (f) {
|
|
1584
1363
|
ReadStream.prototype = Object.create(f.prototype);
|
|
1585
1364
|
ReadStream.prototype.open = ReadStream$open;
|
|
1586
1365
|
}
|
|
1587
|
-
var l =
|
|
1366
|
+
var l = t.WriteStream;
|
|
1588
1367
|
if (l) {
|
|
1589
1368
|
WriteStream.prototype = Object.create(l.prototype);
|
|
1590
1369
|
WriteStream.prototype.open = WriteStream$open;
|
|
1591
1370
|
}
|
|
1592
|
-
Object.defineProperty(
|
|
1371
|
+
Object.defineProperty(t, "ReadStream", {
|
|
1593
1372
|
get: function() {
|
|
1594
1373
|
return ReadStream;
|
|
1595
1374
|
},
|
|
1596
|
-
set: function(
|
|
1597
|
-
ReadStream =
|
|
1375
|
+
set: function(t) {
|
|
1376
|
+
ReadStream = t;
|
|
1598
1377
|
},
|
|
1599
1378
|
enumerable: true,
|
|
1600
1379
|
configurable: true
|
|
1601
1380
|
});
|
|
1602
|
-
Object.defineProperty(
|
|
1381
|
+
Object.defineProperty(t, "WriteStream", {
|
|
1603
1382
|
get: function() {
|
|
1604
1383
|
return WriteStream;
|
|
1605
1384
|
},
|
|
1606
|
-
set: function(
|
|
1607
|
-
WriteStream =
|
|
1385
|
+
set: function(t) {
|
|
1386
|
+
WriteStream = t;
|
|
1608
1387
|
},
|
|
1609
1388
|
enumerable: true,
|
|
1610
1389
|
configurable: true
|
|
1611
1390
|
});
|
|
1612
1391
|
var y = ReadStream;
|
|
1613
|
-
Object.defineProperty(
|
|
1392
|
+
Object.defineProperty(t, "FileReadStream", {
|
|
1614
1393
|
get: function() {
|
|
1615
1394
|
return y;
|
|
1616
1395
|
},
|
|
1617
|
-
set: function(
|
|
1618
|
-
y =
|
|
1396
|
+
set: function(t) {
|
|
1397
|
+
y = t;
|
|
1619
1398
|
},
|
|
1620
1399
|
enumerable: true,
|
|
1621
1400
|
configurable: true
|
|
1622
1401
|
});
|
|
1623
|
-
var
|
|
1624
|
-
Object.defineProperty(
|
|
1402
|
+
var p = WriteStream;
|
|
1403
|
+
Object.defineProperty(t, "FileWriteStream", {
|
|
1625
1404
|
get: function() {
|
|
1626
|
-
return
|
|
1405
|
+
return p;
|
|
1627
1406
|
},
|
|
1628
|
-
set: function(
|
|
1629
|
-
|
|
1407
|
+
set: function(t) {
|
|
1408
|
+
p = t;
|
|
1630
1409
|
},
|
|
1631
1410
|
enumerable: true,
|
|
1632
1411
|
configurable: true
|
|
1633
1412
|
});
|
|
1634
|
-
function ReadStream(
|
|
1413
|
+
function ReadStream(t, e) {
|
|
1635
1414
|
if (this instanceof ReadStream) return f.apply(this, arguments), this;
|
|
1636
|
-
return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
|
|
1415
|
+
else return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
|
|
1637
1416
|
}
|
|
1638
1417
|
function ReadStream$open() {
|
|
1639
|
-
var
|
|
1640
|
-
open(
|
|
1641
|
-
if (
|
|
1642
|
-
if (
|
|
1643
|
-
|
|
1418
|
+
var t = this;
|
|
1419
|
+
open(t.path, t.flags, t.mode, function(e, r) {
|
|
1420
|
+
if (e) {
|
|
1421
|
+
if (t.autoClose) t.destroy();
|
|
1422
|
+
t.emit("error", e);
|
|
1644
1423
|
} else {
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1424
|
+
t.fd = r;
|
|
1425
|
+
t.emit("open", r);
|
|
1426
|
+
t.read();
|
|
1648
1427
|
}
|
|
1649
1428
|
});
|
|
1650
1429
|
}
|
|
1651
|
-
function WriteStream(
|
|
1430
|
+
function WriteStream(t, e) {
|
|
1652
1431
|
if (this instanceof WriteStream) return l.apply(this, arguments), this;
|
|
1653
|
-
return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
|
|
1432
|
+
else return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
|
|
1654
1433
|
}
|
|
1655
1434
|
function WriteStream$open() {
|
|
1656
|
-
var
|
|
1657
|
-
open(
|
|
1658
|
-
if (
|
|
1659
|
-
|
|
1660
|
-
|
|
1435
|
+
var t = this;
|
|
1436
|
+
open(t.path, t.flags, t.mode, function(e, r) {
|
|
1437
|
+
if (e) {
|
|
1438
|
+
t.destroy();
|
|
1439
|
+
t.emit("error", e);
|
|
1661
1440
|
} else {
|
|
1662
|
-
|
|
1663
|
-
|
|
1441
|
+
t.fd = r;
|
|
1442
|
+
t.emit("open", r);
|
|
1664
1443
|
}
|
|
1665
1444
|
});
|
|
1666
1445
|
}
|
|
1667
|
-
function createReadStream(
|
|
1668
|
-
return new
|
|
1446
|
+
function createReadStream(e, r) {
|
|
1447
|
+
return new t.ReadStream(e, r);
|
|
1669
1448
|
}
|
|
1670
|
-
function createWriteStream(
|
|
1671
|
-
return new
|
|
1449
|
+
function createWriteStream(e, r) {
|
|
1450
|
+
return new t.WriteStream(e, r);
|
|
1672
1451
|
}
|
|
1673
|
-
var m =
|
|
1674
|
-
|
|
1675
|
-
function open(
|
|
1452
|
+
var m = t.open;
|
|
1453
|
+
t.open = open;
|
|
1454
|
+
function open(t, e, r, n) {
|
|
1676
1455
|
if ("function" == typeof r) n = r, r = null;
|
|
1677
|
-
return go$open(
|
|
1678
|
-
function go$open(
|
|
1679
|
-
return m(
|
|
1456
|
+
return go$open(t, e, r, n);
|
|
1457
|
+
function go$open(t, e, r, n, i) {
|
|
1458
|
+
return m(t, e, r, function(o, c) {
|
|
1680
1459
|
if (o && ("EMFILE" === o.code || "ENFILE" === o.code)) enqueue([
|
|
1681
1460
|
go$open,
|
|
1682
1461
|
[
|
|
1683
|
-
e,
|
|
1684
1462
|
t,
|
|
1463
|
+
e,
|
|
1685
1464
|
r,
|
|
1686
1465
|
n
|
|
1687
1466
|
],
|
|
@@ -1693,19 +1472,19 @@
|
|
|
1693
1472
|
});
|
|
1694
1473
|
}
|
|
1695
1474
|
}
|
|
1696
|
-
return
|
|
1475
|
+
return t;
|
|
1697
1476
|
}
|
|
1698
|
-
function enqueue(
|
|
1699
|
-
f("ENQUEUE",
|
|
1700
|
-
n[a].push(
|
|
1477
|
+
function enqueue(t) {
|
|
1478
|
+
f("ENQUEUE", t[0].name, t[1]);
|
|
1479
|
+
n[a].push(t);
|
|
1701
1480
|
retry();
|
|
1702
1481
|
}
|
|
1703
1482
|
var y;
|
|
1704
1483
|
function resetQueue() {
|
|
1705
|
-
var
|
|
1706
|
-
for(var
|
|
1707
|
-
n[a][
|
|
1708
|
-
n[a][
|
|
1484
|
+
var t = Date.now();
|
|
1485
|
+
for(var e = 0; e < n[a].length; ++e)if (n[a][e].length > 2) {
|
|
1486
|
+
n[a][e][3] = t;
|
|
1487
|
+
n[a][e][4] = t;
|
|
1709
1488
|
}
|
|
1710
1489
|
retry();
|
|
1711
1490
|
}
|
|
@@ -1713,46 +1492,46 @@
|
|
|
1713
1492
|
clearTimeout(y);
|
|
1714
1493
|
y = void 0;
|
|
1715
1494
|
if (0 === n[a].length) return;
|
|
1716
|
-
var
|
|
1717
|
-
var
|
|
1718
|
-
var r =
|
|
1719
|
-
var i =
|
|
1720
|
-
var o =
|
|
1721
|
-
var c =
|
|
1495
|
+
var t = n[a].shift();
|
|
1496
|
+
var e = t[0];
|
|
1497
|
+
var r = t[1];
|
|
1498
|
+
var i = t[2];
|
|
1499
|
+
var o = t[3];
|
|
1500
|
+
var c = t[4];
|
|
1722
1501
|
if (void 0 === o) {
|
|
1723
|
-
f("RETRY",
|
|
1724
|
-
|
|
1502
|
+
f("RETRY", e.name, r);
|
|
1503
|
+
e.apply(null, r);
|
|
1725
1504
|
} else if (Date.now() - o >= 6e4) {
|
|
1726
|
-
f("TIMEOUT",
|
|
1505
|
+
f("TIMEOUT", e.name, r);
|
|
1727
1506
|
var s = r.pop();
|
|
1728
1507
|
if ("function" == typeof s) s.call(null, i);
|
|
1729
1508
|
} else {
|
|
1730
1509
|
var u = Date.now() - c;
|
|
1731
1510
|
var l = Math.max(c - o, 1);
|
|
1732
|
-
var
|
|
1733
|
-
if (u >=
|
|
1734
|
-
f("RETRY",
|
|
1735
|
-
|
|
1511
|
+
var p = Math.min(1.2 * l, 100);
|
|
1512
|
+
if (u >= p) {
|
|
1513
|
+
f("RETRY", e.name, r);
|
|
1514
|
+
e.apply(null, r.concat([
|
|
1736
1515
|
o
|
|
1737
1516
|
]));
|
|
1738
|
-
} else n[a].push(
|
|
1517
|
+
} else n[a].push(t);
|
|
1739
1518
|
}
|
|
1740
1519
|
if (void 0 === y) y = setTimeout(retry, 0);
|
|
1741
1520
|
}
|
|
1742
1521
|
},
|
|
1743
|
-
|
|
1744
|
-
var n = r(
|
|
1745
|
-
|
|
1746
|
-
function legacy(
|
|
1522
|
+
422: (t, e, r)=>{
|
|
1523
|
+
var n = r(203).Stream;
|
|
1524
|
+
t.exports = legacy;
|
|
1525
|
+
function legacy(t) {
|
|
1747
1526
|
return {
|
|
1748
1527
|
ReadStream: ReadStream,
|
|
1749
1528
|
WriteStream: WriteStream
|
|
1750
1529
|
};
|
|
1751
|
-
function ReadStream(
|
|
1752
|
-
if (!(this instanceof ReadStream)) return new ReadStream(
|
|
1530
|
+
function ReadStream(e, r) {
|
|
1531
|
+
if (!(this instanceof ReadStream)) return new ReadStream(e, r);
|
|
1753
1532
|
n.call(this);
|
|
1754
1533
|
var i = this;
|
|
1755
|
-
this.path =
|
|
1534
|
+
this.path = e;
|
|
1756
1535
|
this.fd = null;
|
|
1757
1536
|
this.readable = true;
|
|
1758
1537
|
this.paused = false;
|
|
@@ -1776,21 +1555,21 @@
|
|
|
1776
1555
|
if (null !== this.fd) return void process.nextTick(function() {
|
|
1777
1556
|
i._read();
|
|
1778
1557
|
});
|
|
1779
|
-
|
|
1780
|
-
if (
|
|
1781
|
-
i.emit("error",
|
|
1558
|
+
t.open(this.path, this.flags, this.mode, function(t, e) {
|
|
1559
|
+
if (t) {
|
|
1560
|
+
i.emit("error", t);
|
|
1782
1561
|
i.readable = false;
|
|
1783
1562
|
return;
|
|
1784
1563
|
}
|
|
1785
|
-
i.fd =
|
|
1786
|
-
i.emit("open",
|
|
1564
|
+
i.fd = e;
|
|
1565
|
+
i.emit("open", e);
|
|
1787
1566
|
i._read();
|
|
1788
1567
|
});
|
|
1789
1568
|
}
|
|
1790
|
-
function WriteStream(
|
|
1791
|
-
if (!(this instanceof WriteStream)) return new WriteStream(
|
|
1569
|
+
function WriteStream(e, r) {
|
|
1570
|
+
if (!(this instanceof WriteStream)) return new WriteStream(e, r);
|
|
1792
1571
|
n.call(this);
|
|
1793
|
-
this.path =
|
|
1572
|
+
this.path = e;
|
|
1794
1573
|
this.fd = null;
|
|
1795
1574
|
this.writable = true;
|
|
1796
1575
|
this.flags = "w";
|
|
@@ -1811,7 +1590,7 @@
|
|
|
1811
1590
|
this.busy = false;
|
|
1812
1591
|
this._queue = [];
|
|
1813
1592
|
if (null === this.fd) {
|
|
1814
|
-
this._open =
|
|
1593
|
+
this._open = t.open;
|
|
1815
1594
|
this._queue.push([
|
|
1816
1595
|
this._open,
|
|
1817
1596
|
this.path,
|
|
@@ -1824,8 +1603,8 @@
|
|
|
1824
1603
|
}
|
|
1825
1604
|
}
|
|
1826
1605
|
},
|
|
1827
|
-
|
|
1828
|
-
var n = r(
|
|
1606
|
+
269: (t, e, r)=>{
|
|
1607
|
+
var n = r(140);
|
|
1829
1608
|
var i = process.cwd;
|
|
1830
1609
|
var o = null;
|
|
1831
1610
|
var c = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
@@ -1835,58 +1614,58 @@
|
|
|
1835
1614
|
};
|
|
1836
1615
|
try {
|
|
1837
1616
|
process.cwd();
|
|
1838
|
-
} catch (
|
|
1617
|
+
} catch (t) {}
|
|
1839
1618
|
if ("function" == typeof process.chdir) {
|
|
1840
1619
|
var s = process.chdir;
|
|
1841
|
-
process.chdir = function(
|
|
1620
|
+
process.chdir = function(t) {
|
|
1842
1621
|
o = null;
|
|
1843
|
-
s.call(process,
|
|
1622
|
+
s.call(process, t);
|
|
1844
1623
|
};
|
|
1845
1624
|
if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, s);
|
|
1846
1625
|
}
|
|
1847
|
-
|
|
1848
|
-
function patch(
|
|
1849
|
-
if (n.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(
|
|
1850
|
-
if (!
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
if (
|
|
1870
|
-
|
|
1626
|
+
t.exports = patch;
|
|
1627
|
+
function patch(t) {
|
|
1628
|
+
if (n.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(t);
|
|
1629
|
+
if (!t.lutimes) patchLutimes(t);
|
|
1630
|
+
t.chown = chownFix(t.chown);
|
|
1631
|
+
t.fchown = chownFix(t.fchown);
|
|
1632
|
+
t.lchown = chownFix(t.lchown);
|
|
1633
|
+
t.chmod = chmodFix(t.chmod);
|
|
1634
|
+
t.fchmod = chmodFix(t.fchmod);
|
|
1635
|
+
t.lchmod = chmodFix(t.lchmod);
|
|
1636
|
+
t.chownSync = chownFixSync(t.chownSync);
|
|
1637
|
+
t.fchownSync = chownFixSync(t.fchownSync);
|
|
1638
|
+
t.lchownSync = chownFixSync(t.lchownSync);
|
|
1639
|
+
t.chmodSync = chmodFixSync(t.chmodSync);
|
|
1640
|
+
t.fchmodSync = chmodFixSync(t.fchmodSync);
|
|
1641
|
+
t.lchmodSync = chmodFixSync(t.lchmodSync);
|
|
1642
|
+
t.stat = statFix(t.stat);
|
|
1643
|
+
t.fstat = statFix(t.fstat);
|
|
1644
|
+
t.lstat = statFix(t.lstat);
|
|
1645
|
+
t.statSync = statFixSync(t.statSync);
|
|
1646
|
+
t.fstatSync = statFixSync(t.fstatSync);
|
|
1647
|
+
t.lstatSync = statFixSync(t.lstatSync);
|
|
1648
|
+
if (t.chmod && !t.lchmod) {
|
|
1649
|
+
t.lchmod = function(t, e, r) {
|
|
1871
1650
|
if (r) process.nextTick(r);
|
|
1872
1651
|
};
|
|
1873
|
-
|
|
1652
|
+
t.lchmodSync = function() {};
|
|
1874
1653
|
}
|
|
1875
|
-
if (
|
|
1876
|
-
|
|
1654
|
+
if (t.chown && !t.lchown) {
|
|
1655
|
+
t.lchown = function(t, e, r, n) {
|
|
1877
1656
|
if (n) process.nextTick(n);
|
|
1878
1657
|
};
|
|
1879
|
-
|
|
1658
|
+
t.lchownSync = function() {};
|
|
1880
1659
|
}
|
|
1881
|
-
if ("win32" === c)
|
|
1660
|
+
if ("win32" === c) t.rename = "function" != typeof t.rename ? t.rename : function(e) {
|
|
1882
1661
|
function rename(r, n, i) {
|
|
1883
1662
|
var o = Date.now();
|
|
1884
1663
|
var c = 0;
|
|
1885
|
-
|
|
1886
|
-
if (s && ("EACCES" === s.code || "EPERM" === s.code) && Date.now() - o < 6e4) {
|
|
1664
|
+
e(r, n, function CB(s) {
|
|
1665
|
+
if (s && ("EACCES" === s.code || "EPERM" === s.code || "EBUSY" === s.code) && Date.now() - o < 6e4) {
|
|
1887
1666
|
setTimeout(function() {
|
|
1888
|
-
|
|
1889
|
-
if (
|
|
1667
|
+
t.stat(n, function(t, o) {
|
|
1668
|
+
if (t && "ENOENT" === t.code) e(r, n, CB);
|
|
1890
1669
|
else i(s);
|
|
1891
1670
|
});
|
|
1892
1671
|
}, c);
|
|
@@ -1896,10 +1675,10 @@
|
|
|
1896
1675
|
if (i) i(s);
|
|
1897
1676
|
});
|
|
1898
1677
|
}
|
|
1899
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(rename,
|
|
1678
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(rename, e);
|
|
1900
1679
|
return rename;
|
|
1901
|
-
}(
|
|
1902
|
-
|
|
1680
|
+
}(t.rename);
|
|
1681
|
+
t.read = "function" != typeof t.read ? t.read : function(e) {
|
|
1903
1682
|
function read(r, n, i, o, c, s) {
|
|
1904
1683
|
var a;
|
|
1905
1684
|
if (s && "function" == typeof s) {
|
|
@@ -1907,156 +1686,156 @@
|
|
|
1907
1686
|
a = function(f, l, y) {
|
|
1908
1687
|
if (f && "EAGAIN" === f.code && u < 10) {
|
|
1909
1688
|
u++;
|
|
1910
|
-
return
|
|
1689
|
+
return e.call(t, r, n, i, o, c, a);
|
|
1911
1690
|
}
|
|
1912
1691
|
s.apply(this, arguments);
|
|
1913
1692
|
};
|
|
1914
1693
|
}
|
|
1915
|
-
return
|
|
1694
|
+
return e.call(t, r, n, i, o, c, a);
|
|
1916
1695
|
}
|
|
1917
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(read,
|
|
1696
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(read, e);
|
|
1918
1697
|
return read;
|
|
1919
|
-
}(
|
|
1920
|
-
|
|
1698
|
+
}(t.read);
|
|
1699
|
+
t.readSync = "function" != typeof t.readSync ? t.readSync : function(e) {
|
|
1921
1700
|
return function(r, n, i, o, c) {
|
|
1922
1701
|
var s = 0;
|
|
1923
1702
|
while(true)try {
|
|
1924
|
-
return
|
|
1925
|
-
} catch (
|
|
1926
|
-
if ("EAGAIN" ===
|
|
1703
|
+
return e.call(t, r, n, i, o, c);
|
|
1704
|
+
} catch (t) {
|
|
1705
|
+
if ("EAGAIN" === t.code && s < 10) {
|
|
1927
1706
|
s++;
|
|
1928
1707
|
continue;
|
|
1929
1708
|
}
|
|
1930
|
-
throw
|
|
1709
|
+
throw t;
|
|
1931
1710
|
}
|
|
1932
1711
|
};
|
|
1933
|
-
}(
|
|
1934
|
-
function patchLchmod(
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
if (
|
|
1938
|
-
if (i) i(
|
|
1712
|
+
}(t.readSync);
|
|
1713
|
+
function patchLchmod(t) {
|
|
1714
|
+
t.lchmod = function(e, r, i) {
|
|
1715
|
+
t.open(e, n.O_WRONLY | n.O_SYMLINK, r, function(e, n) {
|
|
1716
|
+
if (e) {
|
|
1717
|
+
if (i) i(e);
|
|
1939
1718
|
return;
|
|
1940
1719
|
}
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
if (i) i(
|
|
1720
|
+
t.fchmod(n, r, function(e) {
|
|
1721
|
+
t.close(n, function(t) {
|
|
1722
|
+
if (i) i(e || t);
|
|
1944
1723
|
});
|
|
1945
1724
|
});
|
|
1946
1725
|
});
|
|
1947
1726
|
};
|
|
1948
|
-
|
|
1949
|
-
var i =
|
|
1727
|
+
t.lchmodSync = function(e, r) {
|
|
1728
|
+
var i = t.openSync(e, n.O_WRONLY | n.O_SYMLINK, r);
|
|
1950
1729
|
var o = true;
|
|
1951
1730
|
var c;
|
|
1952
1731
|
try {
|
|
1953
|
-
c =
|
|
1732
|
+
c = t.fchmodSync(i, r);
|
|
1954
1733
|
o = false;
|
|
1955
1734
|
} finally{
|
|
1956
1735
|
if (o) try {
|
|
1957
|
-
|
|
1958
|
-
} catch (
|
|
1959
|
-
else
|
|
1736
|
+
t.closeSync(i);
|
|
1737
|
+
} catch (t) {}
|
|
1738
|
+
else t.closeSync(i);
|
|
1960
1739
|
}
|
|
1961
1740
|
return c;
|
|
1962
1741
|
};
|
|
1963
1742
|
}
|
|
1964
|
-
function patchLutimes(
|
|
1965
|
-
if (n.hasOwnProperty("O_SYMLINK") &&
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
if (
|
|
1969
|
-
if (o) o(
|
|
1743
|
+
function patchLutimes(t) {
|
|
1744
|
+
if (n.hasOwnProperty("O_SYMLINK") && t.futimes) {
|
|
1745
|
+
t.lutimes = function(e, r, i, o) {
|
|
1746
|
+
t.open(e, n.O_SYMLINK, function(e, n) {
|
|
1747
|
+
if (e) {
|
|
1748
|
+
if (o) o(e);
|
|
1970
1749
|
return;
|
|
1971
1750
|
}
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
if (o) o(
|
|
1751
|
+
t.futimes(n, r, i, function(e) {
|
|
1752
|
+
t.close(n, function(t) {
|
|
1753
|
+
if (o) o(e || t);
|
|
1975
1754
|
});
|
|
1976
1755
|
});
|
|
1977
1756
|
});
|
|
1978
1757
|
};
|
|
1979
|
-
|
|
1980
|
-
var o =
|
|
1758
|
+
t.lutimesSync = function(e, r, i) {
|
|
1759
|
+
var o = t.openSync(e, n.O_SYMLINK);
|
|
1981
1760
|
var c;
|
|
1982
1761
|
var s = true;
|
|
1983
1762
|
try {
|
|
1984
|
-
c =
|
|
1763
|
+
c = t.futimesSync(o, r, i);
|
|
1985
1764
|
s = false;
|
|
1986
1765
|
} finally{
|
|
1987
1766
|
if (s) try {
|
|
1988
|
-
|
|
1989
|
-
} catch (
|
|
1990
|
-
else
|
|
1767
|
+
t.closeSync(o);
|
|
1768
|
+
} catch (t) {}
|
|
1769
|
+
else t.closeSync(o);
|
|
1991
1770
|
}
|
|
1992
1771
|
return c;
|
|
1993
1772
|
};
|
|
1994
|
-
} else if (
|
|
1995
|
-
|
|
1773
|
+
} else if (t.futimes) {
|
|
1774
|
+
t.lutimes = function(t, e, r, n) {
|
|
1996
1775
|
if (n) process.nextTick(n);
|
|
1997
1776
|
};
|
|
1998
|
-
|
|
1777
|
+
t.lutimesSync = function() {};
|
|
1999
1778
|
}
|
|
2000
1779
|
}
|
|
2001
|
-
function chmodFix(
|
|
2002
|
-
if (!
|
|
1780
|
+
function chmodFix(e) {
|
|
1781
|
+
if (!e) return e;
|
|
2003
1782
|
return function(r, n, i) {
|
|
2004
|
-
return
|
|
2005
|
-
if (chownErOk(
|
|
1783
|
+
return e.call(t, r, n, function(t) {
|
|
1784
|
+
if (chownErOk(t)) t = null;
|
|
2006
1785
|
if (i) i.apply(this, arguments);
|
|
2007
1786
|
});
|
|
2008
1787
|
};
|
|
2009
1788
|
}
|
|
2010
|
-
function chmodFixSync(
|
|
2011
|
-
if (!
|
|
1789
|
+
function chmodFixSync(e) {
|
|
1790
|
+
if (!e) return e;
|
|
2012
1791
|
return function(r, n) {
|
|
2013
1792
|
try {
|
|
2014
|
-
return
|
|
2015
|
-
} catch (
|
|
2016
|
-
if (!chownErOk(
|
|
1793
|
+
return e.call(t, r, n);
|
|
1794
|
+
} catch (t) {
|
|
1795
|
+
if (!chownErOk(t)) throw t;
|
|
2017
1796
|
}
|
|
2018
1797
|
};
|
|
2019
1798
|
}
|
|
2020
|
-
function chownFix(
|
|
2021
|
-
if (!
|
|
1799
|
+
function chownFix(e) {
|
|
1800
|
+
if (!e) return e;
|
|
2022
1801
|
return function(r, n, i, o) {
|
|
2023
|
-
return
|
|
2024
|
-
if (chownErOk(
|
|
1802
|
+
return e.call(t, r, n, i, function(t) {
|
|
1803
|
+
if (chownErOk(t)) t = null;
|
|
2025
1804
|
if (o) o.apply(this, arguments);
|
|
2026
1805
|
});
|
|
2027
1806
|
};
|
|
2028
1807
|
}
|
|
2029
|
-
function chownFixSync(
|
|
2030
|
-
if (!
|
|
1808
|
+
function chownFixSync(e) {
|
|
1809
|
+
if (!e) return e;
|
|
2031
1810
|
return function(r, n, i) {
|
|
2032
1811
|
try {
|
|
2033
|
-
return
|
|
2034
|
-
} catch (
|
|
2035
|
-
if (!chownErOk(
|
|
1812
|
+
return e.call(t, r, n, i);
|
|
1813
|
+
} catch (t) {
|
|
1814
|
+
if (!chownErOk(t)) throw t;
|
|
2036
1815
|
}
|
|
2037
1816
|
};
|
|
2038
1817
|
}
|
|
2039
|
-
function statFix(
|
|
2040
|
-
if (!
|
|
1818
|
+
function statFix(e) {
|
|
1819
|
+
if (!e) return e;
|
|
2041
1820
|
return function(r, n, i) {
|
|
2042
1821
|
if ("function" == typeof n) {
|
|
2043
1822
|
i = n;
|
|
2044
1823
|
n = null;
|
|
2045
1824
|
}
|
|
2046
|
-
function callback(
|
|
2047
|
-
if (
|
|
2048
|
-
if (
|
|
2049
|
-
if (
|
|
1825
|
+
function callback(t, e) {
|
|
1826
|
+
if (e) {
|
|
1827
|
+
if (e.uid < 0) e.uid += 4294967296;
|
|
1828
|
+
if (e.gid < 0) e.gid += 4294967296;
|
|
2050
1829
|
}
|
|
2051
1830
|
if (i) i.apply(this, arguments);
|
|
2052
1831
|
}
|
|
2053
|
-
return n ?
|
|
1832
|
+
return n ? e.call(t, r, n, callback) : e.call(t, r, callback);
|
|
2054
1833
|
};
|
|
2055
1834
|
}
|
|
2056
|
-
function statFixSync(
|
|
2057
|
-
if (!
|
|
1835
|
+
function statFixSync(e) {
|
|
1836
|
+
if (!e) return e;
|
|
2058
1837
|
return function(r, n) {
|
|
2059
|
-
var i = n ?
|
|
1838
|
+
var i = n ? e.call(t, r, n) : e.call(t, r);
|
|
2060
1839
|
if (i) {
|
|
2061
1840
|
if (i.uid < 0) i.uid += 4294967296;
|
|
2062
1841
|
if (i.gid < 0) i.gid += 4294967296;
|
|
@@ -2064,159 +1843,167 @@
|
|
|
2064
1843
|
return i;
|
|
2065
1844
|
};
|
|
2066
1845
|
}
|
|
2067
|
-
function chownErOk(
|
|
2068
|
-
if (!
|
|
2069
|
-
if ("ENOSYS" ===
|
|
2070
|
-
var
|
|
2071
|
-
if (
|
|
2072
|
-
if ("EINVAL" ===
|
|
1846
|
+
function chownErOk(t) {
|
|
1847
|
+
if (!t) return true;
|
|
1848
|
+
if ("ENOSYS" === t.code) return true;
|
|
1849
|
+
var e = !process.getuid || 0 !== process.getuid();
|
|
1850
|
+
if (e) {
|
|
1851
|
+
if ("EINVAL" === t.code || "EPERM" === t.code) return true;
|
|
2073
1852
|
}
|
|
2074
1853
|
return false;
|
|
2075
1854
|
}
|
|
2076
1855
|
}
|
|
2077
1856
|
},
|
|
2078
|
-
|
|
1857
|
+
192: (t, e, r)=>{
|
|
2079
1858
|
let n;
|
|
2080
1859
|
try {
|
|
2081
|
-
n = r(
|
|
2082
|
-
} catch (
|
|
2083
|
-
n = r(
|
|
2084
|
-
}
|
|
2085
|
-
const i = r(
|
|
2086
|
-
const { stringify: o, stripBom: c } = r(
|
|
2087
|
-
async function _readFile(
|
|
2088
|
-
if ("string" == typeof
|
|
2089
|
-
encoding:
|
|
1860
|
+
n = r(976);
|
|
1861
|
+
} catch (t) {
|
|
1862
|
+
n = r(896);
|
|
1863
|
+
}
|
|
1864
|
+
const i = r(86);
|
|
1865
|
+
const { stringify: o, stripBom: c } = r(825);
|
|
1866
|
+
async function _readFile(t, e = {}) {
|
|
1867
|
+
if ("string" == typeof e) e = {
|
|
1868
|
+
encoding: e
|
|
2090
1869
|
};
|
|
2091
|
-
const r =
|
|
2092
|
-
const o = "throws" in
|
|
2093
|
-
let s = await i.fromCallback(r.readFile)(
|
|
1870
|
+
const r = e.fs || n;
|
|
1871
|
+
const o = "throws" in e ? e.throws : true;
|
|
1872
|
+
let s = await i.fromCallback(r.readFile)(t, e);
|
|
2094
1873
|
s = c(s);
|
|
2095
1874
|
let a;
|
|
2096
1875
|
try {
|
|
2097
|
-
a = JSON.parse(s,
|
|
2098
|
-
} catch (
|
|
1876
|
+
a = JSON.parse(s, e ? e.reviver : null);
|
|
1877
|
+
} catch (e) {
|
|
2099
1878
|
if (!o) return null;
|
|
2100
|
-
|
|
2101
|
-
|
|
1879
|
+
else {
|
|
1880
|
+
e.message = `${t}: ${e.message}`;
|
|
1881
|
+
throw e;
|
|
1882
|
+
}
|
|
2102
1883
|
}
|
|
2103
1884
|
return a;
|
|
2104
1885
|
}
|
|
2105
1886
|
const s = i.fromPromise(_readFile);
|
|
2106
|
-
function readFileSync(
|
|
2107
|
-
if ("string" == typeof
|
|
2108
|
-
encoding:
|
|
1887
|
+
function readFileSync(t, e = {}) {
|
|
1888
|
+
if ("string" == typeof e) e = {
|
|
1889
|
+
encoding: e
|
|
2109
1890
|
};
|
|
2110
|
-
const r =
|
|
2111
|
-
const i = "throws" in
|
|
1891
|
+
const r = e.fs || n;
|
|
1892
|
+
const i = "throws" in e ? e.throws : true;
|
|
2112
1893
|
try {
|
|
2113
|
-
let n = r.readFileSync(
|
|
1894
|
+
let n = r.readFileSync(t, e);
|
|
2114
1895
|
n = c(n);
|
|
2115
|
-
return JSON.parse(n,
|
|
2116
|
-
} catch (
|
|
1896
|
+
return JSON.parse(n, e.reviver);
|
|
1897
|
+
} catch (e) {
|
|
2117
1898
|
if (!i) return null;
|
|
2118
|
-
|
|
2119
|
-
|
|
1899
|
+
else {
|
|
1900
|
+
e.message = `${t}: ${e.message}`;
|
|
1901
|
+
throw e;
|
|
1902
|
+
}
|
|
2120
1903
|
}
|
|
2121
1904
|
}
|
|
2122
|
-
async function _writeFile(
|
|
1905
|
+
async function _writeFile(t, e, r = {}) {
|
|
2123
1906
|
const c = r.fs || n;
|
|
2124
|
-
const s = o(
|
|
2125
|
-
await i.fromCallback(c.writeFile)(
|
|
1907
|
+
const s = o(e, r);
|
|
1908
|
+
await i.fromCallback(c.writeFile)(t, s, r);
|
|
2126
1909
|
}
|
|
2127
1910
|
const a = i.fromPromise(_writeFile);
|
|
2128
|
-
function writeFileSync(
|
|
1911
|
+
function writeFileSync(t, e, r = {}) {
|
|
2129
1912
|
const i = r.fs || n;
|
|
2130
|
-
const c = o(
|
|
2131
|
-
return i.writeFileSync(
|
|
1913
|
+
const c = o(e, r);
|
|
1914
|
+
return i.writeFileSync(t, c, r);
|
|
2132
1915
|
}
|
|
2133
|
-
|
|
1916
|
+
t.exports = {
|
|
2134
1917
|
readFile: s,
|
|
2135
1918
|
readFileSync: readFileSync,
|
|
2136
1919
|
writeFile: a,
|
|
2137
1920
|
writeFileSync: writeFileSync
|
|
2138
1921
|
};
|
|
2139
|
-
e.exports = u;
|
|
2140
1922
|
},
|
|
2141
|
-
|
|
2142
|
-
function stringify(
|
|
2143
|
-
const o = r ?
|
|
2144
|
-
const c = JSON.stringify(
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
1923
|
+
825: (t)=>{
|
|
1924
|
+
function stringify(t, { EOL: e = "\n", finalEOL: r = true, replacer: n = null, spaces: i } = {}) {
|
|
1925
|
+
const o = r ? e : "";
|
|
1926
|
+
const c = JSON.stringify(t, n, i);
|
|
1927
|
+
if (void 0 === c) throw new TypeError(`Converting ${typeof t} value to JSON is not supported`);
|
|
1928
|
+
return c.replace(/\n/g, e) + o;
|
|
1929
|
+
}
|
|
1930
|
+
function stripBom(t) {
|
|
1931
|
+
if (Buffer.isBuffer(t)) t = t.toString("utf8");
|
|
1932
|
+
return t.replace(/^\uFEFF/, "");
|
|
1933
|
+
}
|
|
1934
|
+
t.exports = {
|
|
2152
1935
|
stringify: stringify,
|
|
2153
1936
|
stripBom: stripBom
|
|
2154
1937
|
};
|
|
2155
1938
|
},
|
|
2156
|
-
|
|
1939
|
+
86: (t, e)=>{
|
|
2157
1940
|
"use strict";
|
|
2158
|
-
|
|
2159
|
-
return Object.defineProperty(function(...
|
|
2160
|
-
if ("function" != typeof
|
|
2161
|
-
e.
|
|
1941
|
+
e.fromCallback = function(t) {
|
|
1942
|
+
return Object.defineProperty(function(...e) {
|
|
1943
|
+
if ("function" != typeof e[e.length - 1]) return new Promise((r, n)=>{
|
|
1944
|
+
e.push((t, e)=>null != t ? n(t) : r(e));
|
|
1945
|
+
t.apply(this, e);
|
|
2162
1946
|
});
|
|
2163
|
-
|
|
1947
|
+
else t.apply(this, e);
|
|
2164
1948
|
}, "name", {
|
|
2165
|
-
value:
|
|
1949
|
+
value: t.name
|
|
2166
1950
|
});
|
|
2167
1951
|
};
|
|
2168
|
-
|
|
2169
|
-
return Object.defineProperty(function(...
|
|
2170
|
-
const r =
|
|
2171
|
-
if ("function" != typeof r) return
|
|
2172
|
-
|
|
1952
|
+
e.fromPromise = function(t) {
|
|
1953
|
+
return Object.defineProperty(function(...e) {
|
|
1954
|
+
const r = e[e.length - 1];
|
|
1955
|
+
if ("function" != typeof r) return t.apply(this, e);
|
|
1956
|
+
else {
|
|
1957
|
+
e.pop();
|
|
1958
|
+
t.apply(this, e).then((t)=>r(null, t), r);
|
|
1959
|
+
}
|
|
2173
1960
|
}, "name", {
|
|
2174
|
-
value:
|
|
1961
|
+
value: t.name
|
|
2175
1962
|
});
|
|
2176
1963
|
};
|
|
2177
1964
|
},
|
|
2178
|
-
|
|
1965
|
+
613: (t)=>{
|
|
2179
1966
|
"use strict";
|
|
2180
|
-
|
|
1967
|
+
t.exports = require("assert");
|
|
2181
1968
|
},
|
|
2182
|
-
|
|
1969
|
+
140: (t)=>{
|
|
2183
1970
|
"use strict";
|
|
2184
|
-
|
|
1971
|
+
t.exports = require("constants");
|
|
2185
1972
|
},
|
|
2186
|
-
|
|
1973
|
+
896: (t)=>{
|
|
2187
1974
|
"use strict";
|
|
2188
|
-
|
|
1975
|
+
t.exports = require("fs");
|
|
2189
1976
|
},
|
|
2190
|
-
|
|
1977
|
+
928: (t)=>{
|
|
2191
1978
|
"use strict";
|
|
2192
|
-
|
|
1979
|
+
t.exports = require("path");
|
|
2193
1980
|
},
|
|
2194
|
-
|
|
1981
|
+
203: (t)=>{
|
|
2195
1982
|
"use strict";
|
|
2196
|
-
|
|
1983
|
+
t.exports = require("stream");
|
|
2197
1984
|
},
|
|
2198
|
-
|
|
1985
|
+
23: (t)=>{
|
|
2199
1986
|
"use strict";
|
|
2200
|
-
|
|
1987
|
+
t.exports = require("util");
|
|
2201
1988
|
}
|
|
2202
1989
|
};
|
|
2203
|
-
var
|
|
1990
|
+
var e = {};
|
|
2204
1991
|
function __nccwpck_require__(r) {
|
|
2205
|
-
var n =
|
|
1992
|
+
var n = e[r];
|
|
2206
1993
|
if (void 0 !== n) return n.exports;
|
|
2207
|
-
var i =
|
|
1994
|
+
var i = e[r] = {
|
|
2208
1995
|
exports: {}
|
|
2209
1996
|
};
|
|
2210
1997
|
var o = true;
|
|
2211
1998
|
try {
|
|
2212
|
-
|
|
1999
|
+
t[r](i, i.exports, __nccwpck_require__);
|
|
2213
2000
|
o = false;
|
|
2214
2001
|
} finally{
|
|
2215
|
-
if (o) delete
|
|
2002
|
+
if (o) delete e[r];
|
|
2216
2003
|
}
|
|
2217
2004
|
return i.exports;
|
|
2218
2005
|
}
|
|
2219
2006
|
if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
|
|
2220
|
-
var r = __nccwpck_require__(
|
|
2007
|
+
var r = __nccwpck_require__(32);
|
|
2221
2008
|
module.exports = r;
|
|
2222
2009
|
})();
|