@modern-js/utils 2.12.1-alpha.2 → 2.12.1-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/compiled.js +3 -3
- package/dist/cjs/import.js +1 -1
- package/dist/esm/compiled.js +3 -3
- package/dist/esm/import.js +1 -1
- package/dist/esm-node/compiled.js +3 -3
- package/dist/esm-node/import.js +1 -1
- package/package.json +1 -1
- package/dist/esm/compiled/address/index.js +0 -1
- package/dist/esm/compiled/address/lib/address.d.ts +0 -28
- package/dist/esm/compiled/address/package.json +0 -1
- package/dist/esm/compiled/ajv/codegen.js +0 -1
- package/dist/esm/compiled/ajv/index.js +0 -9
- package/dist/esm/compiled/ajv/license +0 -22
- package/dist/esm/compiled/ajv/package.json +0 -1
- package/dist/esm/compiled/ajv/types/ajv.d.ts +0 -16
- package/dist/esm/compiled/ajv/types/compile/codegen/code.d.ts +0 -40
- package/dist/esm/compiled/ajv/types/compile/codegen/index.d.ts +0 -79
- package/dist/esm/compiled/ajv/types/compile/codegen/scope.d.ts +0 -79
- package/dist/esm/compiled/ajv/types/compile/errors.d.ts +0 -13
- package/dist/esm/compiled/ajv/types/compile/index.d.ts +0 -80
- package/dist/esm/compiled/ajv/types/compile/ref_error.d.ts +0 -6
- package/dist/esm/compiled/ajv/types/compile/resolve.d.ts +0 -12
- package/dist/esm/compiled/ajv/types/compile/rules.d.ts +0 -28
- package/dist/esm/compiled/ajv/types/compile/util.d.ts +0 -40
- package/dist/esm/compiled/ajv/types/compile/validate/index.d.ts +0 -42
- package/dist/esm/compiled/ajv/types/compile/validate/subschema.d.ts +0 -47
- package/dist/esm/compiled/ajv/types/core.d.ts +0 -173
- package/dist/esm/compiled/ajv/types/runtime/validation_error.d.ts +0 -7
- package/dist/esm/compiled/ajv/types/types/index.d.ts +0 -183
- package/dist/esm/compiled/ajv/types/types/json-schema.d.ts +0 -124
- package/dist/esm/compiled/ajv/types/types/jtd-schema.d.ts +0 -169
- package/dist/esm/compiled/ajv/types/vocabularies/errors.d.ts +0 -1
- package/dist/esm/compiled/ajv/uri-js.d.ts +0 -59
- package/dist/esm/compiled/ajv-keywords/index.d.ts +0 -1
- package/dist/esm/compiled/ajv-keywords/index.js +0 -1
- package/dist/esm/compiled/ajv-keywords/license +0 -21
- package/dist/esm/compiled/ajv-keywords/package.json +0 -1
- package/dist/esm/compiled/better-ajv-errors/index.d.ts +0 -1
- package/dist/esm/compiled/better-ajv-errors/index.js +0 -1
- package/dist/esm/compiled/better-ajv-errors/license +0 -13
- package/dist/esm/compiled/better-ajv-errors/package.json +0 -1
- package/dist/esm/compiled/browserslist/index.d.ts +0 -178
- package/dist/esm/compiled/browserslist/index.js +0 -1
- package/dist/esm/compiled/browserslist/license +0 -20
- package/dist/esm/compiled/browserslist/package.json +0 -1
- package/dist/esm/compiled/chalk/index.d.ts +0 -415
- package/dist/esm/compiled/chalk/index.js +0 -1
- package/dist/esm/compiled/chalk/license +0 -9
- package/dist/esm/compiled/chalk/package.json +0 -1
- package/dist/esm/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/esm/compiled/chokidar/fsevents.node +0 -0
- package/dist/esm/compiled/chokidar/index.js +0 -40
- package/dist/esm/compiled/chokidar/license +0 -21
- package/dist/esm/compiled/chokidar/package.json +0 -1
- package/dist/esm/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/esm/compiled/commander/index.js +0 -1
- package/dist/esm/compiled/commander/license +0 -22
- package/dist/esm/compiled/commander/package.json +0 -1
- package/dist/esm/compiled/commander/typings/index.d.ts +0 -890
- package/dist/esm/compiled/debug/index.d.ts +0 -54
- package/dist/esm/compiled/debug/index.js +0 -1
- package/dist/esm/compiled/debug/license +0 -20
- package/dist/esm/compiled/debug/ms/index.d.ts +0 -25
- package/dist/esm/compiled/debug/package.json +0 -1
- package/dist/esm/compiled/dotenv/index.js +0 -1
- package/dist/esm/compiled/dotenv/license +0 -23
- package/dist/esm/compiled/dotenv/package.json +0 -1
- package/dist/esm/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/esm/compiled/dotenv-expand/index.d.ts +0 -15
- package/dist/esm/compiled/dotenv-expand/index.js +0 -1
- package/dist/esm/compiled/dotenv-expand/license +0 -24
- package/dist/esm/compiled/dotenv-expand/package.json +0 -1
- package/dist/esm/compiled/execa/index.d.ts +0 -564
- package/dist/esm/compiled/execa/index.js +0 -1
- package/dist/esm/compiled/execa/license +0 -9
- package/dist/esm/compiled/execa/package.json +0 -1
- package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/esm/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/esm/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/esm/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/esm/compiled/fast-glob/index.js +0 -37
- package/dist/esm/compiled/fast-glob/license +0 -21
- package/dist/esm/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/esm/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/esm/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/esm/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/esm/compiled/fast-glob/package.json +0 -1
- package/dist/esm/compiled/filesize/filesize.d.ts +0 -131
- package/dist/esm/compiled/filesize/index.js +0 -9
- package/dist/esm/compiled/filesize/license +0 -28
- package/dist/esm/compiled/filesize/package.json +0 -1
- package/dist/esm/compiled/fs-extra/index.d.ts +0 -563
- package/dist/esm/compiled/fs-extra/index.js +0 -1
- package/dist/esm/compiled/fs-extra/license +0 -15
- package/dist/esm/compiled/fs-extra/package.json +0 -1
- package/dist/esm/compiled/glob/index.d.ts +0 -91
- package/dist/esm/compiled/glob/index.js +0 -1
- package/dist/esm/compiled/glob/license +0 -21
- package/dist/esm/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/esm/compiled/glob/package.json +0 -1
- package/dist/esm/compiled/globby/index.d.ts +0 -186
- package/dist/esm/compiled/globby/index.js +0 -1
- package/dist/esm/compiled/globby/license +0 -9
- package/dist/esm/compiled/globby/package.json +0 -1
- package/dist/esm/compiled/gzip-size/index.d.ts +0 -96
- package/dist/esm/compiled/gzip-size/index.js +0 -1
- package/dist/esm/compiled/gzip-size/license +0 -9
- package/dist/esm/compiled/gzip-size/package.json +0 -1
- package/dist/esm/compiled/import-lazy/index.d.ts +0 -26
- package/dist/esm/compiled/import-lazy/index.js +0 -1
- package/dist/esm/compiled/import-lazy/license +0 -9
- package/dist/esm/compiled/import-lazy/package.json +0 -1
- package/dist/esm/compiled/inquirer/index.d.ts +0 -997
- package/dist/esm/compiled/inquirer/index.js +0 -9
- package/dist/esm/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/esm/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/esm/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/esm/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/esm/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/esm/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/esm/compiled/inquirer/license +0 -22
- package/dist/esm/compiled/inquirer/package.json +0 -1
- package/dist/esm/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/esm/compiled/js-yaml/index.d.ts +0 -154
- package/dist/esm/compiled/js-yaml/index.js +0 -1
- package/dist/esm/compiled/js-yaml/license +0 -21
- package/dist/esm/compiled/js-yaml/package.json +0 -1
- package/dist/esm/compiled/json5/index.js +0 -1
- package/dist/esm/compiled/json5/lib/index.d.ts +0 -4
- package/dist/esm/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/esm/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/esm/compiled/json5/package.json +0 -1
- package/dist/esm/compiled/lodash/common/array.d.ts +0 -2126
- package/dist/esm/compiled/lodash/common/collection.d.ts +0 -1930
- package/dist/esm/compiled/lodash/common/common.d.ts +0 -280
- package/dist/esm/compiled/lodash/common/date.d.ts +0 -23
- package/dist/esm/compiled/lodash/common/function.d.ts +0 -1446
- package/dist/esm/compiled/lodash/common/lang.d.ts +0 -1693
- package/dist/esm/compiled/lodash/common/math.d.ts +0 -405
- package/dist/esm/compiled/lodash/common/number.d.ts +0 -131
- package/dist/esm/compiled/lodash/common/object.d.ts +0 -2519
- package/dist/esm/compiled/lodash/common/seq.d.ts +0 -210
- package/dist/esm/compiled/lodash/common/string.d.ts +0 -788
- package/dist/esm/compiled/lodash/common/util.d.ts +0 -1220
- package/dist/esm/compiled/lodash/index.d.ts +0 -46
- package/dist/esm/compiled/lodash/index.js +0 -5
- package/dist/esm/compiled/lodash/license +0 -47
- package/dist/esm/compiled/lodash/package.json +0 -1
- package/dist/esm/compiled/mime-types/index.d.ts +0 -14
- package/dist/esm/compiled/mime-types/index.js +0 -14
- package/dist/esm/compiled/mime-types/license +0 -23
- package/dist/esm/compiled/mime-types/package.json +0 -1
- package/dist/esm/compiled/minimist/index.d.ts +0 -95
- package/dist/esm/compiled/minimist/index.js +0 -1
- package/dist/esm/compiled/minimist/license +0 -18
- package/dist/esm/compiled/minimist/package.json +0 -1
- package/dist/esm/compiled/nanoid/index.d.ts +0 -91
- package/dist/esm/compiled/nanoid/index.js +0 -1
- package/dist/esm/compiled/nanoid/license +0 -20
- package/dist/esm/compiled/nanoid/package.json +0 -1
- package/dist/esm/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/esm/compiled/ora/index.d.ts +0 -277
- package/dist/esm/compiled/ora/index.js +0 -3
- package/dist/esm/compiled/ora/license +0 -9
- package/dist/esm/compiled/ora/package.json +0 -1
- package/dist/esm/compiled/pkg-up/index.d.ts +0 -48
- package/dist/esm/compiled/pkg-up/index.js +0 -1
- package/dist/esm/compiled/pkg-up/license +0 -9
- package/dist/esm/compiled/pkg-up/package.json +0 -1
- package/dist/esm/compiled/recursive-readdir/index.d.ts +0 -21
- package/dist/esm/compiled/recursive-readdir/index.js +0 -1
- package/dist/esm/compiled/recursive-readdir/license +0 -21
- package/dist/esm/compiled/recursive-readdir/package.json +0 -1
- package/dist/esm/compiled/schema-utils3/index.d.ts +0 -1
- package/dist/esm/compiled/schema-utils3/index.js +0 -3
- package/dist/esm/compiled/schema-utils3/license +0 -20
- package/dist/esm/compiled/schema-utils3/package.json +0 -1
- package/dist/esm/compiled/semver/classes/comparator.d.ts +0 -17
- package/dist/esm/compiled/semver/classes/range.d.ts +0 -21
- package/dist/esm/compiled/semver/classes/semver.d.ts +0 -62
- package/dist/esm/compiled/semver/functions/clean.d.ts +0 -8
- package/dist/esm/compiled/semver/functions/cmp.d.ts +0 -16
- package/dist/esm/compiled/semver/functions/coerce.d.ts +0 -12
- package/dist/esm/compiled/semver/functions/compare-build.d.ts +0 -16
- package/dist/esm/compiled/semver/functions/compare-loose.d.ts +0 -5
- package/dist/esm/compiled/semver/functions/compare.d.ts +0 -20
- package/dist/esm/compiled/semver/functions/diff.d.ts +0 -13
- package/dist/esm/compiled/semver/functions/eq.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/gt.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/gte.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/inc.d.ts +0 -15
- package/dist/esm/compiled/semver/functions/lt.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/lte.d.ts +0 -8
- package/dist/esm/compiled/semver/functions/major.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/minor.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/neq.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/parse.d.ts +0 -12
- package/dist/esm/compiled/semver/functions/patch.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/prerelease.d.ts +0 -12
- package/dist/esm/compiled/semver/functions/rcompare.d.ts +0 -15
- package/dist/esm/compiled/semver/functions/rsort.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/satisfies.d.ts +0 -14
- package/dist/esm/compiled/semver/functions/sort.d.ts +0 -9
- package/dist/esm/compiled/semver/functions/valid.d.ts +0 -11
- package/dist/esm/compiled/semver/index.d.ts +0 -133
- package/dist/esm/compiled/semver/index.js +0 -1
- package/dist/esm/compiled/semver/internals/identifiers.d.ts +0 -13
- package/dist/esm/compiled/semver/license +0 -15
- package/dist/esm/compiled/semver/package.json +0 -1
- package/dist/esm/compiled/semver/ranges/gtr.d.ts +0 -14
- package/dist/esm/compiled/semver/ranges/intersects.d.ts +0 -13
- package/dist/esm/compiled/semver/ranges/ltr.d.ts +0 -14
- package/dist/esm/compiled/semver/ranges/max-satisfying.d.ts +0 -14
- package/dist/esm/compiled/semver/ranges/min-satisfying.d.ts +0 -14
- package/dist/esm/compiled/semver/ranges/min-version.d.ts +0 -10
- package/dist/esm/compiled/semver/ranges/outside.d.ts +0 -15
- package/dist/esm/compiled/semver/ranges/simplify.d.ts +0 -14
- package/dist/esm/compiled/semver/ranges/subset.d.ts +0 -13
- package/dist/esm/compiled/semver/ranges/to-comparators.d.ts +0 -9
- package/dist/esm/compiled/semver/ranges/valid.d.ts +0 -12
- package/dist/esm/compiled/signale/index.d.ts +0 -162
- package/dist/esm/compiled/signale/index.js +0 -1
- package/dist/esm/compiled/signale/package.json +0 -1
- package/dist/esm/compiled/slash/index.d.ts +0 -25
- package/dist/esm/compiled/slash/index.js +0 -1
- package/dist/esm/compiled/slash/license +0 -9
- package/dist/esm/compiled/slash/package.json +0 -1
- package/dist/esm/compiled/strip-ansi/index.d.ts +0 -17
- package/dist/esm/compiled/strip-ansi/index.js +0 -1
- package/dist/esm/compiled/strip-ansi/license +0 -9
- package/dist/esm/compiled/strip-ansi/package.json +0 -1
- package/dist/esm/compiled/tsconfig-paths/index.js +0 -1
- package/dist/esm/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/esm/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/esm/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/esm/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/esm/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/esm/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/esm/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/esm/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/esm/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/esm/compiled/tsconfig-paths/license +0 -21
- package/dist/esm/compiled/tsconfig-paths/package.json +0 -1
- package/dist/esm/compiled/upath/index.js +0 -1
- package/dist/esm/compiled/upath/license +0 -22
- package/dist/esm/compiled/upath/package.json +0 -1
- package/dist/esm/compiled/upath/upath.d.ts +0 -241
- package/dist/esm/compiled/url-join/index.d.ts +0 -17
- package/dist/esm/compiled/url-join/index.js +0 -1
- package/dist/esm/compiled/url-join/license +0 -21
- package/dist/esm/compiled/url-join/package.json +0 -1
- package/dist/esm/compiled/webpack-chain/index.js +0 -1
- package/dist/esm/compiled/webpack-chain/license +0 -373
- package/dist/esm/compiled/webpack-chain/package.json +0 -1
- package/dist/esm/compiled/webpack-chain/types/index.d.ts +0 -388
- package/dist/esm/compiled/webpack-dev-middleware/index.js +0 -7
- package/dist/esm/compiled/webpack-dev-middleware/license +0 -20
- package/dist/esm/compiled/webpack-dev-middleware/package.json +0 -1
- package/dist/esm/compiled/webpack-dev-middleware/types/index.d.ts +0 -262
- package/dist/esm-node/compiled/address/index.js +0 -1
- package/dist/esm-node/compiled/address/lib/address.d.ts +0 -28
- package/dist/esm-node/compiled/address/package.json +0 -1
- package/dist/esm-node/compiled/ajv/codegen.js +0 -1
- package/dist/esm-node/compiled/ajv/index.js +0 -9
- package/dist/esm-node/compiled/ajv/license +0 -22
- package/dist/esm-node/compiled/ajv/package.json +0 -1
- package/dist/esm-node/compiled/ajv/types/ajv.d.ts +0 -16
- package/dist/esm-node/compiled/ajv/types/compile/codegen/code.d.ts +0 -40
- package/dist/esm-node/compiled/ajv/types/compile/codegen/index.d.ts +0 -79
- package/dist/esm-node/compiled/ajv/types/compile/codegen/scope.d.ts +0 -79
- package/dist/esm-node/compiled/ajv/types/compile/errors.d.ts +0 -13
- package/dist/esm-node/compiled/ajv/types/compile/index.d.ts +0 -80
- package/dist/esm-node/compiled/ajv/types/compile/ref_error.d.ts +0 -6
- package/dist/esm-node/compiled/ajv/types/compile/resolve.d.ts +0 -12
- package/dist/esm-node/compiled/ajv/types/compile/rules.d.ts +0 -28
- package/dist/esm-node/compiled/ajv/types/compile/util.d.ts +0 -40
- package/dist/esm-node/compiled/ajv/types/compile/validate/index.d.ts +0 -42
- package/dist/esm-node/compiled/ajv/types/compile/validate/subschema.d.ts +0 -47
- package/dist/esm-node/compiled/ajv/types/core.d.ts +0 -173
- package/dist/esm-node/compiled/ajv/types/runtime/validation_error.d.ts +0 -7
- package/dist/esm-node/compiled/ajv/types/types/index.d.ts +0 -183
- package/dist/esm-node/compiled/ajv/types/types/json-schema.d.ts +0 -124
- package/dist/esm-node/compiled/ajv/types/types/jtd-schema.d.ts +0 -169
- package/dist/esm-node/compiled/ajv/types/vocabularies/errors.d.ts +0 -1
- package/dist/esm-node/compiled/ajv/uri-js.d.ts +0 -59
- package/dist/esm-node/compiled/ajv-keywords/index.d.ts +0 -1
- package/dist/esm-node/compiled/ajv-keywords/index.js +0 -1
- package/dist/esm-node/compiled/ajv-keywords/license +0 -21
- package/dist/esm-node/compiled/ajv-keywords/package.json +0 -1
- package/dist/esm-node/compiled/better-ajv-errors/index.d.ts +0 -1
- package/dist/esm-node/compiled/better-ajv-errors/index.js +0 -1
- package/dist/esm-node/compiled/better-ajv-errors/license +0 -13
- package/dist/esm-node/compiled/better-ajv-errors/package.json +0 -1
- package/dist/esm-node/compiled/browserslist/index.d.ts +0 -178
- package/dist/esm-node/compiled/browserslist/index.js +0 -1
- package/dist/esm-node/compiled/browserslist/license +0 -20
- package/dist/esm-node/compiled/browserslist/package.json +0 -1
- package/dist/esm-node/compiled/chalk/index.d.ts +0 -415
- package/dist/esm-node/compiled/chalk/index.js +0 -1
- package/dist/esm-node/compiled/chalk/license +0 -9
- package/dist/esm-node/compiled/chalk/package.json +0 -1
- package/dist/esm-node/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/esm-node/compiled/chokidar/fsevents.node +0 -0
- package/dist/esm-node/compiled/chokidar/index.js +0 -40
- package/dist/esm-node/compiled/chokidar/license +0 -21
- package/dist/esm-node/compiled/chokidar/package.json +0 -1
- package/dist/esm-node/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/esm-node/compiled/commander/index.js +0 -1
- package/dist/esm-node/compiled/commander/license +0 -22
- package/dist/esm-node/compiled/commander/package.json +0 -1
- package/dist/esm-node/compiled/commander/typings/index.d.ts +0 -890
- package/dist/esm-node/compiled/debug/index.d.ts +0 -54
- package/dist/esm-node/compiled/debug/index.js +0 -1
- package/dist/esm-node/compiled/debug/license +0 -20
- package/dist/esm-node/compiled/debug/ms/index.d.ts +0 -25
- package/dist/esm-node/compiled/debug/package.json +0 -1
- package/dist/esm-node/compiled/dotenv/index.js +0 -1
- package/dist/esm-node/compiled/dotenv/license +0 -23
- package/dist/esm-node/compiled/dotenv/package.json +0 -1
- package/dist/esm-node/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/esm-node/compiled/dotenv-expand/index.d.ts +0 -15
- package/dist/esm-node/compiled/dotenv-expand/index.js +0 -1
- package/dist/esm-node/compiled/dotenv-expand/license +0 -24
- package/dist/esm-node/compiled/dotenv-expand/package.json +0 -1
- package/dist/esm-node/compiled/execa/index.d.ts +0 -564
- package/dist/esm-node/compiled/execa/index.js +0 -1
- package/dist/esm-node/compiled/execa/license +0 -9
- package/dist/esm-node/compiled/execa/package.json +0 -1
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/esm-node/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/esm-node/compiled/fast-glob/index.js +0 -37
- package/dist/esm-node/compiled/fast-glob/license +0 -21
- package/dist/esm-node/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/esm-node/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/esm-node/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/esm-node/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/esm-node/compiled/fast-glob/package.json +0 -1
- package/dist/esm-node/compiled/filesize/filesize.d.ts +0 -131
- package/dist/esm-node/compiled/filesize/index.js +0 -9
- package/dist/esm-node/compiled/filesize/license +0 -28
- package/dist/esm-node/compiled/filesize/package.json +0 -1
- package/dist/esm-node/compiled/fs-extra/index.d.ts +0 -563
- package/dist/esm-node/compiled/fs-extra/index.js +0 -1
- package/dist/esm-node/compiled/fs-extra/license +0 -15
- package/dist/esm-node/compiled/fs-extra/package.json +0 -1
- package/dist/esm-node/compiled/glob/index.d.ts +0 -91
- package/dist/esm-node/compiled/glob/index.js +0 -1
- package/dist/esm-node/compiled/glob/license +0 -21
- package/dist/esm-node/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/esm-node/compiled/glob/package.json +0 -1
- package/dist/esm-node/compiled/globby/index.d.ts +0 -186
- package/dist/esm-node/compiled/globby/index.js +0 -1
- package/dist/esm-node/compiled/globby/license +0 -9
- package/dist/esm-node/compiled/globby/package.json +0 -1
- package/dist/esm-node/compiled/gzip-size/index.d.ts +0 -96
- package/dist/esm-node/compiled/gzip-size/index.js +0 -1
- package/dist/esm-node/compiled/gzip-size/license +0 -9
- package/dist/esm-node/compiled/gzip-size/package.json +0 -1
- package/dist/esm-node/compiled/import-lazy/index.d.ts +0 -26
- package/dist/esm-node/compiled/import-lazy/index.js +0 -1
- package/dist/esm-node/compiled/import-lazy/license +0 -9
- package/dist/esm-node/compiled/import-lazy/package.json +0 -1
- package/dist/esm-node/compiled/inquirer/index.d.ts +0 -997
- package/dist/esm-node/compiled/inquirer/index.js +0 -9
- package/dist/esm-node/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/esm-node/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/esm-node/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/esm-node/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/esm-node/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/esm-node/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/esm-node/compiled/inquirer/license +0 -22
- package/dist/esm-node/compiled/inquirer/package.json +0 -1
- package/dist/esm-node/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/esm-node/compiled/js-yaml/index.d.ts +0 -154
- package/dist/esm-node/compiled/js-yaml/index.js +0 -1
- package/dist/esm-node/compiled/js-yaml/license +0 -21
- package/dist/esm-node/compiled/js-yaml/package.json +0 -1
- package/dist/esm-node/compiled/json5/index.js +0 -1
- package/dist/esm-node/compiled/json5/lib/index.d.ts +0 -4
- package/dist/esm-node/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/esm-node/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/esm-node/compiled/json5/package.json +0 -1
- package/dist/esm-node/compiled/lodash/common/array.d.ts +0 -2126
- package/dist/esm-node/compiled/lodash/common/collection.d.ts +0 -1930
- package/dist/esm-node/compiled/lodash/common/common.d.ts +0 -280
- package/dist/esm-node/compiled/lodash/common/date.d.ts +0 -23
- package/dist/esm-node/compiled/lodash/common/function.d.ts +0 -1446
- package/dist/esm-node/compiled/lodash/common/lang.d.ts +0 -1693
- package/dist/esm-node/compiled/lodash/common/math.d.ts +0 -405
- package/dist/esm-node/compiled/lodash/common/number.d.ts +0 -131
- package/dist/esm-node/compiled/lodash/common/object.d.ts +0 -2519
- package/dist/esm-node/compiled/lodash/common/seq.d.ts +0 -210
- package/dist/esm-node/compiled/lodash/common/string.d.ts +0 -788
- package/dist/esm-node/compiled/lodash/common/util.d.ts +0 -1220
- package/dist/esm-node/compiled/lodash/index.d.ts +0 -46
- package/dist/esm-node/compiled/lodash/index.js +0 -5
- package/dist/esm-node/compiled/lodash/license +0 -47
- package/dist/esm-node/compiled/lodash/package.json +0 -1
- package/dist/esm-node/compiled/mime-types/index.d.ts +0 -14
- package/dist/esm-node/compiled/mime-types/index.js +0 -14
- package/dist/esm-node/compiled/mime-types/license +0 -23
- package/dist/esm-node/compiled/mime-types/package.json +0 -1
- package/dist/esm-node/compiled/minimist/index.d.ts +0 -95
- package/dist/esm-node/compiled/minimist/index.js +0 -1
- package/dist/esm-node/compiled/minimist/license +0 -18
- package/dist/esm-node/compiled/minimist/package.json +0 -1
- package/dist/esm-node/compiled/nanoid/index.d.ts +0 -91
- package/dist/esm-node/compiled/nanoid/index.js +0 -1
- package/dist/esm-node/compiled/nanoid/license +0 -20
- package/dist/esm-node/compiled/nanoid/package.json +0 -1
- package/dist/esm-node/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/esm-node/compiled/ora/index.d.ts +0 -277
- package/dist/esm-node/compiled/ora/index.js +0 -3
- package/dist/esm-node/compiled/ora/license +0 -9
- package/dist/esm-node/compiled/ora/package.json +0 -1
- package/dist/esm-node/compiled/pkg-up/index.d.ts +0 -48
- package/dist/esm-node/compiled/pkg-up/index.js +0 -1
- package/dist/esm-node/compiled/pkg-up/license +0 -9
- package/dist/esm-node/compiled/pkg-up/package.json +0 -1
- package/dist/esm-node/compiled/recursive-readdir/index.d.ts +0 -21
- package/dist/esm-node/compiled/recursive-readdir/index.js +0 -1
- package/dist/esm-node/compiled/recursive-readdir/license +0 -21
- package/dist/esm-node/compiled/recursive-readdir/package.json +0 -1
- package/dist/esm-node/compiled/schema-utils3/index.d.ts +0 -1
- package/dist/esm-node/compiled/schema-utils3/index.js +0 -3
- package/dist/esm-node/compiled/schema-utils3/license +0 -20
- package/dist/esm-node/compiled/schema-utils3/package.json +0 -1
- package/dist/esm-node/compiled/semver/classes/comparator.d.ts +0 -17
- package/dist/esm-node/compiled/semver/classes/range.d.ts +0 -21
- package/dist/esm-node/compiled/semver/classes/semver.d.ts +0 -62
- package/dist/esm-node/compiled/semver/functions/clean.d.ts +0 -8
- package/dist/esm-node/compiled/semver/functions/cmp.d.ts +0 -16
- package/dist/esm-node/compiled/semver/functions/coerce.d.ts +0 -12
- package/dist/esm-node/compiled/semver/functions/compare-build.d.ts +0 -16
- package/dist/esm-node/compiled/semver/functions/compare-loose.d.ts +0 -5
- package/dist/esm-node/compiled/semver/functions/compare.d.ts +0 -20
- package/dist/esm-node/compiled/semver/functions/diff.d.ts +0 -13
- package/dist/esm-node/compiled/semver/functions/eq.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/gt.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/gte.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/inc.d.ts +0 -15
- package/dist/esm-node/compiled/semver/functions/lt.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/lte.d.ts +0 -8
- package/dist/esm-node/compiled/semver/functions/major.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/minor.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/neq.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/parse.d.ts +0 -12
- package/dist/esm-node/compiled/semver/functions/patch.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/prerelease.d.ts +0 -12
- package/dist/esm-node/compiled/semver/functions/rcompare.d.ts +0 -15
- package/dist/esm-node/compiled/semver/functions/rsort.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/satisfies.d.ts +0 -14
- package/dist/esm-node/compiled/semver/functions/sort.d.ts +0 -9
- package/dist/esm-node/compiled/semver/functions/valid.d.ts +0 -11
- package/dist/esm-node/compiled/semver/index.d.ts +0 -133
- package/dist/esm-node/compiled/semver/index.js +0 -1
- package/dist/esm-node/compiled/semver/internals/identifiers.d.ts +0 -13
- package/dist/esm-node/compiled/semver/license +0 -15
- package/dist/esm-node/compiled/semver/package.json +0 -1
- package/dist/esm-node/compiled/semver/ranges/gtr.d.ts +0 -14
- package/dist/esm-node/compiled/semver/ranges/intersects.d.ts +0 -13
- package/dist/esm-node/compiled/semver/ranges/ltr.d.ts +0 -14
- package/dist/esm-node/compiled/semver/ranges/max-satisfying.d.ts +0 -14
- package/dist/esm-node/compiled/semver/ranges/min-satisfying.d.ts +0 -14
- package/dist/esm-node/compiled/semver/ranges/min-version.d.ts +0 -10
- package/dist/esm-node/compiled/semver/ranges/outside.d.ts +0 -15
- package/dist/esm-node/compiled/semver/ranges/simplify.d.ts +0 -14
- package/dist/esm-node/compiled/semver/ranges/subset.d.ts +0 -13
- package/dist/esm-node/compiled/semver/ranges/to-comparators.d.ts +0 -9
- package/dist/esm-node/compiled/semver/ranges/valid.d.ts +0 -12
- package/dist/esm-node/compiled/signale/index.d.ts +0 -162
- package/dist/esm-node/compiled/signale/index.js +0 -1
- package/dist/esm-node/compiled/signale/package.json +0 -1
- package/dist/esm-node/compiled/slash/index.d.ts +0 -25
- package/dist/esm-node/compiled/slash/index.js +0 -1
- package/dist/esm-node/compiled/slash/license +0 -9
- package/dist/esm-node/compiled/slash/package.json +0 -1
- package/dist/esm-node/compiled/strip-ansi/index.d.ts +0 -17
- package/dist/esm-node/compiled/strip-ansi/index.js +0 -1
- package/dist/esm-node/compiled/strip-ansi/license +0 -9
- package/dist/esm-node/compiled/strip-ansi/package.json +0 -1
- package/dist/esm-node/compiled/tsconfig-paths/index.js +0 -1
- package/dist/esm-node/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/esm-node/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/esm-node/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/esm-node/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/esm-node/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/esm-node/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/esm-node/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/esm-node/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/esm-node/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/esm-node/compiled/tsconfig-paths/license +0 -21
- package/dist/esm-node/compiled/tsconfig-paths/package.json +0 -1
- package/dist/esm-node/compiled/upath/index.js +0 -1
- package/dist/esm-node/compiled/upath/license +0 -22
- package/dist/esm-node/compiled/upath/package.json +0 -1
- package/dist/esm-node/compiled/upath/upath.d.ts +0 -241
- package/dist/esm-node/compiled/url-join/index.d.ts +0 -17
- package/dist/esm-node/compiled/url-join/index.js +0 -1
- package/dist/esm-node/compiled/url-join/license +0 -21
- package/dist/esm-node/compiled/url-join/package.json +0 -1
- package/dist/esm-node/compiled/webpack-chain/index.js +0 -1
- package/dist/esm-node/compiled/webpack-chain/license +0 -373
- package/dist/esm-node/compiled/webpack-chain/package.json +0 -1
- package/dist/esm-node/compiled/webpack-chain/types/index.d.ts +0 -388
- package/dist/esm-node/compiled/webpack-dev-middleware/index.js +0 -7
- package/dist/esm-node/compiled/webpack-dev-middleware/license +0 -20
- package/dist/esm-node/compiled/webpack-dev-middleware/package.json +0 -1
- package/dist/esm-node/compiled/webpack-dev-middleware/types/index.d.ts +0 -262
- package/dist/types/compiled/address/index.js +0 -1
- package/dist/types/compiled/address/lib/address.d.ts +0 -28
- package/dist/types/compiled/address/package.json +0 -1
- package/dist/types/compiled/ajv/codegen.js +0 -1
- package/dist/types/compiled/ajv/index.js +0 -9
- package/dist/types/compiled/ajv/license +0 -22
- package/dist/types/compiled/ajv/package.json +0 -1
- package/dist/types/compiled/ajv/types/ajv.d.ts +0 -16
- package/dist/types/compiled/ajv/types/compile/codegen/code.d.ts +0 -40
- package/dist/types/compiled/ajv/types/compile/codegen/index.d.ts +0 -79
- package/dist/types/compiled/ajv/types/compile/codegen/scope.d.ts +0 -79
- package/dist/types/compiled/ajv/types/compile/errors.d.ts +0 -13
- package/dist/types/compiled/ajv/types/compile/index.d.ts +0 -80
- package/dist/types/compiled/ajv/types/compile/ref_error.d.ts +0 -6
- package/dist/types/compiled/ajv/types/compile/resolve.d.ts +0 -12
- package/dist/types/compiled/ajv/types/compile/rules.d.ts +0 -28
- package/dist/types/compiled/ajv/types/compile/util.d.ts +0 -40
- package/dist/types/compiled/ajv/types/compile/validate/index.d.ts +0 -42
- package/dist/types/compiled/ajv/types/compile/validate/subschema.d.ts +0 -47
- package/dist/types/compiled/ajv/types/core.d.ts +0 -173
- package/dist/types/compiled/ajv/types/runtime/validation_error.d.ts +0 -7
- package/dist/types/compiled/ajv/types/types/index.d.ts +0 -183
- package/dist/types/compiled/ajv/types/types/json-schema.d.ts +0 -124
- package/dist/types/compiled/ajv/types/types/jtd-schema.d.ts +0 -169
- package/dist/types/compiled/ajv/types/vocabularies/errors.d.ts +0 -1
- package/dist/types/compiled/ajv/uri-js.d.ts +0 -59
- package/dist/types/compiled/ajv-keywords/index.d.ts +0 -1
- package/dist/types/compiled/ajv-keywords/index.js +0 -1
- package/dist/types/compiled/ajv-keywords/license +0 -21
- package/dist/types/compiled/ajv-keywords/package.json +0 -1
- package/dist/types/compiled/better-ajv-errors/index.d.ts +0 -1
- package/dist/types/compiled/better-ajv-errors/index.js +0 -1
- package/dist/types/compiled/better-ajv-errors/license +0 -13
- package/dist/types/compiled/better-ajv-errors/package.json +0 -1
- package/dist/types/compiled/browserslist/index.d.ts +0 -178
- package/dist/types/compiled/browserslist/index.js +0 -1
- package/dist/types/compiled/browserslist/license +0 -20
- package/dist/types/compiled/browserslist/package.json +0 -1
- package/dist/types/compiled/chalk/index.d.ts +0 -415
- package/dist/types/compiled/chalk/index.js +0 -1
- package/dist/types/compiled/chalk/license +0 -9
- package/dist/types/compiled/chalk/package.json +0 -1
- package/dist/types/compiled/chokidar/anymatch/index.d.ts +0 -19
- package/dist/types/compiled/chokidar/fsevents.node +0 -0
- package/dist/types/compiled/chokidar/index.js +0 -40
- package/dist/types/compiled/chokidar/license +0 -21
- package/dist/types/compiled/chokidar/package.json +0 -1
- package/dist/types/compiled/chokidar/types/index.d.ts +0 -188
- package/dist/types/compiled/commander/index.js +0 -1
- package/dist/types/compiled/commander/license +0 -22
- package/dist/types/compiled/commander/package.json +0 -1
- package/dist/types/compiled/commander/typings/index.d.ts +0 -890
- package/dist/types/compiled/debug/index.d.ts +0 -54
- package/dist/types/compiled/debug/index.js +0 -1
- package/dist/types/compiled/debug/license +0 -20
- package/dist/types/compiled/debug/ms/index.d.ts +0 -25
- package/dist/types/compiled/debug/package.json +0 -1
- package/dist/types/compiled/dotenv/index.js +0 -1
- package/dist/types/compiled/dotenv/license +0 -23
- package/dist/types/compiled/dotenv/package.json +0 -1
- package/dist/types/compiled/dotenv/types/index.d.ts +0 -59
- package/dist/types/compiled/dotenv-expand/index.d.ts +0 -15
- package/dist/types/compiled/dotenv-expand/index.js +0 -1
- package/dist/types/compiled/dotenv-expand/license +0 -24
- package/dist/types/compiled/dotenv-expand/package.json +0 -1
- package/dist/types/compiled/execa/index.d.ts +0 -564
- package/dist/types/compiled/execa/index.js +0 -1
- package/dist/types/compiled/execa/license +0 -9
- package/dist/types/compiled/execa/package.json +0 -1
- package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/dist/types/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/dist/types/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/dist/types/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/dist/types/compiled/fast-glob/index.js +0 -37
- package/dist/types/compiled/fast-glob/license +0 -21
- package/dist/types/compiled/fast-glob/out/index.d.ts +0 -27
- package/dist/types/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
- package/dist/types/compiled/fast-glob/out/settings.d.ts +0 -164
- package/dist/types/compiled/fast-glob/out/types/index.d.ts +0 -31
- package/dist/types/compiled/fast-glob/package.json +0 -1
- package/dist/types/compiled/filesize/filesize.d.ts +0 -131
- package/dist/types/compiled/filesize/index.js +0 -9
- package/dist/types/compiled/filesize/license +0 -28
- package/dist/types/compiled/filesize/package.json +0 -1
- package/dist/types/compiled/fs-extra/index.d.ts +0 -563
- package/dist/types/compiled/fs-extra/index.js +0 -1
- package/dist/types/compiled/fs-extra/license +0 -15
- package/dist/types/compiled/fs-extra/package.json +0 -1
- package/dist/types/compiled/glob/index.d.ts +0 -91
- package/dist/types/compiled/glob/index.js +0 -1
- package/dist/types/compiled/glob/license +0 -21
- package/dist/types/compiled/glob/minimatch/index.d.ts +0 -204
- package/dist/types/compiled/glob/package.json +0 -1
- package/dist/types/compiled/globby/index.d.ts +0 -186
- package/dist/types/compiled/globby/index.js +0 -1
- package/dist/types/compiled/globby/license +0 -9
- package/dist/types/compiled/globby/package.json +0 -1
- package/dist/types/compiled/gzip-size/index.d.ts +0 -96
- package/dist/types/compiled/gzip-size/index.js +0 -1
- package/dist/types/compiled/gzip-size/license +0 -9
- package/dist/types/compiled/gzip-size/package.json +0 -1
- package/dist/types/compiled/import-lazy/index.d.ts +0 -26
- package/dist/types/compiled/import-lazy/index.js +0 -1
- package/dist/types/compiled/import-lazy/license +0 -9
- package/dist/types/compiled/import-lazy/package.json +0 -1
- package/dist/types/compiled/inquirer/index.d.ts +0 -997
- package/dist/types/compiled/inquirer/index.js +0 -9
- package/dist/types/compiled/inquirer/lib/objects/choice.d.ts +0 -65
- package/dist/types/compiled/inquirer/lib/objects/choices.d.ts +0 -206
- package/dist/types/compiled/inquirer/lib/objects/separator.d.ts +0 -37
- package/dist/types/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
- package/dist/types/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
- package/dist/types/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
- package/dist/types/compiled/inquirer/license +0 -22
- package/dist/types/compiled/inquirer/package.json +0 -1
- package/dist/types/compiled/inquirer/through/index.d.ts +0 -25
- package/dist/types/compiled/js-yaml/index.d.ts +0 -154
- package/dist/types/compiled/js-yaml/index.js +0 -1
- package/dist/types/compiled/js-yaml/license +0 -21
- package/dist/types/compiled/js-yaml/package.json +0 -1
- package/dist/types/compiled/json5/index.js +0 -1
- package/dist/types/compiled/json5/lib/index.d.ts +0 -4
- package/dist/types/compiled/json5/lib/parse.d.ts +0 -15
- package/dist/types/compiled/json5/lib/stringify.d.ts +0 -89
- package/dist/types/compiled/json5/package.json +0 -1
- package/dist/types/compiled/lodash/common/array.d.ts +0 -2126
- package/dist/types/compiled/lodash/common/collection.d.ts +0 -1930
- package/dist/types/compiled/lodash/common/common.d.ts +0 -280
- package/dist/types/compiled/lodash/common/date.d.ts +0 -23
- package/dist/types/compiled/lodash/common/function.d.ts +0 -1446
- package/dist/types/compiled/lodash/common/lang.d.ts +0 -1693
- package/dist/types/compiled/lodash/common/math.d.ts +0 -405
- package/dist/types/compiled/lodash/common/number.d.ts +0 -131
- package/dist/types/compiled/lodash/common/object.d.ts +0 -2519
- package/dist/types/compiled/lodash/common/seq.d.ts +0 -210
- package/dist/types/compiled/lodash/common/string.d.ts +0 -788
- package/dist/types/compiled/lodash/common/util.d.ts +0 -1220
- package/dist/types/compiled/lodash/index.d.ts +0 -46
- package/dist/types/compiled/lodash/index.js +0 -5
- package/dist/types/compiled/lodash/license +0 -47
- package/dist/types/compiled/lodash/package.json +0 -1
- package/dist/types/compiled/mime-types/index.d.ts +0 -14
- package/dist/types/compiled/mime-types/index.js +0 -14
- package/dist/types/compiled/mime-types/license +0 -23
- package/dist/types/compiled/mime-types/package.json +0 -1
- package/dist/types/compiled/minimist/index.d.ts +0 -95
- package/dist/types/compiled/minimist/index.js +0 -1
- package/dist/types/compiled/minimist/license +0 -18
- package/dist/types/compiled/minimist/package.json +0 -1
- package/dist/types/compiled/nanoid/index.d.ts +0 -91
- package/dist/types/compiled/nanoid/index.js +0 -1
- package/dist/types/compiled/nanoid/license +0 -20
- package/dist/types/compiled/nanoid/package.json +0 -1
- package/dist/types/compiled/ora/cli-spinners/index.d.ts +0 -125
- package/dist/types/compiled/ora/index.d.ts +0 -277
- package/dist/types/compiled/ora/index.js +0 -3
- package/dist/types/compiled/ora/license +0 -9
- package/dist/types/compiled/ora/package.json +0 -1
- package/dist/types/compiled/pkg-up/index.d.ts +0 -48
- package/dist/types/compiled/pkg-up/index.js +0 -1
- package/dist/types/compiled/pkg-up/license +0 -9
- package/dist/types/compiled/pkg-up/package.json +0 -1
- package/dist/types/compiled/recursive-readdir/index.d.ts +0 -21
- package/dist/types/compiled/recursive-readdir/index.js +0 -1
- package/dist/types/compiled/recursive-readdir/license +0 -21
- package/dist/types/compiled/recursive-readdir/package.json +0 -1
- package/dist/types/compiled/schema-utils3/index.d.ts +0 -1
- package/dist/types/compiled/schema-utils3/index.js +0 -3
- package/dist/types/compiled/schema-utils3/license +0 -20
- package/dist/types/compiled/schema-utils3/package.json +0 -1
- package/dist/types/compiled/semver/classes/comparator.d.ts +0 -17
- package/dist/types/compiled/semver/classes/range.d.ts +0 -21
- package/dist/types/compiled/semver/classes/semver.d.ts +0 -62
- package/dist/types/compiled/semver/functions/clean.d.ts +0 -8
- package/dist/types/compiled/semver/functions/cmp.d.ts +0 -16
- package/dist/types/compiled/semver/functions/coerce.d.ts +0 -12
- package/dist/types/compiled/semver/functions/compare-build.d.ts +0 -16
- package/dist/types/compiled/semver/functions/compare-loose.d.ts +0 -5
- package/dist/types/compiled/semver/functions/compare.d.ts +0 -20
- package/dist/types/compiled/semver/functions/diff.d.ts +0 -13
- package/dist/types/compiled/semver/functions/eq.d.ts +0 -9
- package/dist/types/compiled/semver/functions/gt.d.ts +0 -9
- package/dist/types/compiled/semver/functions/gte.d.ts +0 -9
- package/dist/types/compiled/semver/functions/inc.d.ts +0 -15
- package/dist/types/compiled/semver/functions/lt.d.ts +0 -9
- package/dist/types/compiled/semver/functions/lte.d.ts +0 -8
- package/dist/types/compiled/semver/functions/major.d.ts +0 -9
- package/dist/types/compiled/semver/functions/minor.d.ts +0 -9
- package/dist/types/compiled/semver/functions/neq.d.ts +0 -9
- package/dist/types/compiled/semver/functions/parse.d.ts +0 -12
- package/dist/types/compiled/semver/functions/patch.d.ts +0 -9
- package/dist/types/compiled/semver/functions/prerelease.d.ts +0 -12
- package/dist/types/compiled/semver/functions/rcompare.d.ts +0 -15
- package/dist/types/compiled/semver/functions/rsort.d.ts +0 -9
- package/dist/types/compiled/semver/functions/satisfies.d.ts +0 -14
- package/dist/types/compiled/semver/functions/sort.d.ts +0 -9
- package/dist/types/compiled/semver/functions/valid.d.ts +0 -11
- package/dist/types/compiled/semver/index.d.ts +0 -133
- package/dist/types/compiled/semver/index.js +0 -1
- package/dist/types/compiled/semver/internals/identifiers.d.ts +0 -13
- package/dist/types/compiled/semver/license +0 -15
- package/dist/types/compiled/semver/package.json +0 -1
- package/dist/types/compiled/semver/ranges/gtr.d.ts +0 -14
- package/dist/types/compiled/semver/ranges/intersects.d.ts +0 -13
- package/dist/types/compiled/semver/ranges/ltr.d.ts +0 -14
- package/dist/types/compiled/semver/ranges/max-satisfying.d.ts +0 -14
- package/dist/types/compiled/semver/ranges/min-satisfying.d.ts +0 -14
- package/dist/types/compiled/semver/ranges/min-version.d.ts +0 -10
- package/dist/types/compiled/semver/ranges/outside.d.ts +0 -15
- package/dist/types/compiled/semver/ranges/simplify.d.ts +0 -14
- package/dist/types/compiled/semver/ranges/subset.d.ts +0 -13
- package/dist/types/compiled/semver/ranges/to-comparators.d.ts +0 -9
- package/dist/types/compiled/semver/ranges/valid.d.ts +0 -12
- package/dist/types/compiled/signale/index.d.ts +0 -162
- package/dist/types/compiled/signale/index.js +0 -1
- package/dist/types/compiled/signale/package.json +0 -1
- package/dist/types/compiled/slash/index.d.ts +0 -25
- package/dist/types/compiled/slash/index.js +0 -1
- package/dist/types/compiled/slash/license +0 -9
- package/dist/types/compiled/slash/package.json +0 -1
- package/dist/types/compiled/strip-ansi/index.d.ts +0 -17
- package/dist/types/compiled/strip-ansi/index.js +0 -1
- package/dist/types/compiled/strip-ansi/license +0 -9
- package/dist/types/compiled/strip-ansi/package.json +0 -1
- package/dist/types/compiled/tsconfig-paths/index.js +0 -1
- package/dist/types/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
- package/dist/types/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
- package/dist/types/compiled/tsconfig-paths/lib/index.d.ts +0 -5
- package/dist/types/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
- package/dist/types/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
- package/dist/types/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
- package/dist/types/compiled/tsconfig-paths/lib/register.d.ts +0 -12
- package/dist/types/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
- package/dist/types/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
- package/dist/types/compiled/tsconfig-paths/license +0 -21
- package/dist/types/compiled/tsconfig-paths/package.json +0 -1
- package/dist/types/compiled/upath/index.js +0 -1
- package/dist/types/compiled/upath/license +0 -22
- package/dist/types/compiled/upath/package.json +0 -1
- package/dist/types/compiled/upath/upath.d.ts +0 -241
- package/dist/types/compiled/url-join/index.d.ts +0 -17
- package/dist/types/compiled/url-join/index.js +0 -1
- package/dist/types/compiled/url-join/license +0 -21
- package/dist/types/compiled/url-join/package.json +0 -1
- package/dist/types/compiled/webpack-chain/index.js +0 -1
- package/dist/types/compiled/webpack-chain/license +0 -373
- package/dist/types/compiled/webpack-chain/package.json +0 -1
- package/dist/types/compiled/webpack-chain/types/index.d.ts +0 -388
- package/dist/types/compiled/webpack-dev-middleware/index.js +0 -7
- package/dist/types/compiled/webpack-dev-middleware/license +0 -20
- package/dist/types/compiled/webpack-dev-middleware/package.json +0 -1
- package/dist/types/compiled/webpack-dev-middleware/types/index.d.ts +0 -262
- /package/dist/{cjs/compiled → compiled}/address/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/address/lib/address.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/address/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/codegen.js +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/license +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/ajv.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/codegen/code.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/codegen/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/codegen/scope.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/errors.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/ref_error.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/resolve.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/rules.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/util.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/validate/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/compile/validate/subschema.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/core.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/runtime/validation_error.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/types/json-schema.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/types/jtd-schema.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/types/vocabularies/errors.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv/uri-js.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv-keywords/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv-keywords/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv-keywords/license +0 -0
- /package/dist/{cjs/compiled → compiled}/ajv-keywords/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/better-ajv-errors/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/better-ajv-errors/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/better-ajv-errors/license +0 -0
- /package/dist/{cjs/compiled → compiled}/better-ajv-errors/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/browserslist/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/browserslist/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/browserslist/license +0 -0
- /package/dist/{cjs/compiled → compiled}/browserslist/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/chalk/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/chalk/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/chalk/license +0 -0
- /package/dist/{cjs/compiled → compiled}/chalk/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/anymatch/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/fsevents.node +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/license +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/chokidar/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/commander/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/commander/license +0 -0
- /package/dist/{cjs/compiled → compiled}/commander/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/commander/typings/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/debug/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/debug/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/debug/license +0 -0
- /package/dist/{cjs/compiled → compiled}/debug/ms/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/debug/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv/license +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv-expand/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv-expand/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv-expand/license +0 -0
- /package/dist/{cjs/compiled → compiled}/dotenv-expand/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/execa/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/execa/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/execa/license +0 -0
- /package/dist/{cjs/compiled → compiled}/execa/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/license +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/out/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/out/managers/tasks.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/out/settings.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/out/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fast-glob/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/filesize/filesize.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/filesize/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/filesize/license +0 -0
- /package/dist/{cjs/compiled → compiled}/filesize/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/fs-extra/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/fs-extra/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/fs-extra/license +0 -0
- /package/dist/{cjs/compiled → compiled}/fs-extra/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/glob/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/glob/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/glob/license +0 -0
- /package/dist/{cjs/compiled → compiled}/glob/minimatch/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/glob/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/globby/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/globby/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/globby/license +0 -0
- /package/dist/{cjs/compiled → compiled}/globby/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/gzip-size/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/gzip-size/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/gzip-size/license +0 -0
- /package/dist/{cjs/compiled → compiled}/gzip-size/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/import-lazy/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/import-lazy/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/import-lazy/license +0 -0
- /package/dist/{cjs/compiled → compiled}/import-lazy/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/objects/choice.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/objects/choices.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/objects/separator.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/ui/baseUI.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/ui/bottom-bar.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/lib/ui/prompt.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/license +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/inquirer/through/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/js-yaml/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/js-yaml/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/js-yaml/license +0 -0
- /package/dist/{cjs/compiled → compiled}/js-yaml/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/json5/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/json5/lib/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/json5/lib/parse.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/json5/lib/stringify.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/json5/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/array.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/collection.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/common.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/date.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/function.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/lang.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/math.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/number.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/object.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/seq.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/string.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/common/util.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/license +0 -0
- /package/dist/{cjs/compiled → compiled}/lodash/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/mime-types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/mime-types/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/mime-types/license +0 -0
- /package/dist/{cjs/compiled → compiled}/mime-types/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/minimist/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/minimist/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/minimist/license +0 -0
- /package/dist/{cjs/compiled → compiled}/minimist/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/nanoid/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/nanoid/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/nanoid/license +0 -0
- /package/dist/{cjs/compiled → compiled}/nanoid/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/ora/cli-spinners/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ora/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/ora/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/ora/license +0 -0
- /package/dist/{cjs/compiled → compiled}/ora/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/pkg-up/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/pkg-up/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/pkg-up/license +0 -0
- /package/dist/{cjs/compiled → compiled}/pkg-up/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/recursive-readdir/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/recursive-readdir/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/recursive-readdir/license +0 -0
- /package/dist/{cjs/compiled → compiled}/recursive-readdir/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/schema-utils3/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/schema-utils3/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/schema-utils3/license +0 -0
- /package/dist/{cjs/compiled → compiled}/schema-utils3/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/classes/comparator.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/classes/range.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/classes/semver.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/clean.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/cmp.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/coerce.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/compare-build.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/compare-loose.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/compare.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/diff.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/eq.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/gt.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/gte.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/inc.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/lt.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/lte.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/major.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/minor.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/neq.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/parse.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/patch.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/prerelease.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/rcompare.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/rsort.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/satisfies.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/sort.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/functions/valid.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/internals/identifiers.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/license +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/gtr.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/intersects.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/ltr.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/max-satisfying.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/min-satisfying.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/min-version.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/outside.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/simplify.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/subset.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/to-comparators.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/semver/ranges/valid.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/signale/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/signale/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/signale/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/slash/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/slash/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/slash/license +0 -0
- /package/dist/{cjs/compiled → compiled}/slash/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/strip-ansi/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/strip-ansi/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/strip-ansi/license +0 -0
- /package/dist/{cjs/compiled → compiled}/strip-ansi/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/config-loader.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/filesystem.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/mapping-entry.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/match-path-async.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/match-path-sync.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/register.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/try-path.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/license +0 -0
- /package/dist/{cjs/compiled → compiled}/tsconfig-paths/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/upath/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/upath/license +0 -0
- /package/dist/{cjs/compiled → compiled}/upath/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/upath/upath.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/url-join/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/url-join/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/url-join/license +0 -0
- /package/dist/{cjs/compiled → compiled}/url-join/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-chain/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-chain/license +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-chain/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-chain/types/index.d.ts +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-dev-middleware/index.js +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-dev-middleware/license +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-dev-middleware/package.json +0 -0
- /package/dist/{cjs/compiled → compiled}/webpack-dev-middleware/types/index.d.ts +0 -0
@@ -1,40 +0,0 @@
|
|
1
|
-
(()=>{var t={372:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});const r=s(376);const i=s(498);const n="!";const o={returnIndex:false};const arrify=t=>Array.isArray(t)?t:[t];const createPattern=(t,e)=>{if(typeof t==="function"){return t}if(typeof t==="string"){const s=r(t,e);return e=>t===e||s(e)}if(t instanceof RegExp){return e=>t.test(e)}return t=>false};const matchPatterns=(t,e,s,r)=>{const n=Array.isArray(s);const o=n?s[0]:s;if(!n&&typeof o!=="string"){throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o))}const a=i(o);for(let t=0;t<e.length;t++){const s=e[t];if(s(a)){return r?-1:false}}const u=n&&[a].concat(s.slice(1));for(let e=0;e<t.length;e++){const s=t[e];if(n?s(...u):s(a)){return r?e:true}}return r?-1:false};const anymatch=(t,e,s=o)=>{if(t==null){throw new TypeError("anymatch: specify first argument")}const i=typeof s==="boolean"?{returnIndex:s}:s;const a=i.returnIndex||false;const u=arrify(t);const l=u.filter((t=>typeof t==="string"&&t.charAt(0)===n)).map((t=>t.slice(1))).map((t=>r(t,i)));const c=u.filter((t=>typeof t!=="string"||typeof t==="string"&&t.charAt(0)!==n)).map((t=>createPattern(t,i)));if(e==null){return(t,e=false)=>{const s=typeof e==="boolean"?e:false;return matchPatterns(c,l,t,s)}}return matchPatterns(c,l,e,a)};anymatch.default=anymatch;t.exports=anymatch},828:(t,e,s)=>{t.exports=s(600)},570:(t,e,s)=>{"use strict";const r=s(625);const i=s(666);const n=s(183);const o=s(467);const braces=(t,e={})=>{let s=[];if(Array.isArray(t)){for(let r of t){let t=braces.create(r,e);if(Array.isArray(t)){s.push(...t)}else{s.push(t)}}}else{s=[].concat(braces.create(t,e))}if(e&&e.expand===true&&e.nodupes===true){s=[...new Set(s)]}return s};braces.parse=(t,e={})=>o(t,e);braces.stringify=(t,e={})=>{if(typeof t==="string"){return r(braces.parse(t,e),e)}return r(t,e)};braces.compile=(t,e={})=>{if(typeof t==="string"){t=braces.parse(t,e)}return i(t,e)};braces.expand=(t,e={})=>{if(typeof t==="string"){t=braces.parse(t,e)}let s=n(t,e);if(e.noempty===true){s=s.filter(Boolean)}if(e.nodupes===true){s=[...new Set(s)]}return s};braces.create=(t,e={})=>{if(t===""||t.length<3){return[t]}return e.expand!==true?braces.compile(t,e):braces.expand(t,e)};t.exports=braces},666:(t,e,s)=>{"use strict";const r=s(442);const i=s(456);const compile=(t,e={})=>{let walk=(t,s={})=>{let n=i.isInvalidBrace(s);let o=t.invalid===true&&e.escapeInvalid===true;let a=n===true||o===true;let u=e.escapeInvalid===true?"\\":"";let l="";if(t.isOpen===true){return u+t.value}if(t.isClose===true){return u+t.value}if(t.type==="open"){return a?u+t.value:"("}if(t.type==="close"){return a?u+t.value:")"}if(t.type==="comma"){return t.prev.type==="comma"?"":a?t.value:"|"}if(t.value){return t.value}if(t.nodes&&t.ranges>0){let s=i.reduce(t.nodes);let n=r(...s,{...e,wrap:false,toRegex:true});if(n.length!==0){return s.length>1&&n.length>1?`(${n})`:n}}if(t.nodes){for(let e of t.nodes){l+=walk(e,t)}}return l};return walk(t)};t.exports=compile},487:t=>{"use strict";t.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},183:(t,e,s)=>{"use strict";const r=s(442);const i=s(625);const n=s(456);const append=(t="",e="",s=false)=>{let r=[];t=[].concat(t);e=[].concat(e);if(!e.length)return t;if(!t.length){return s?n.flatten(e).map((t=>`{${t}}`)):e}for(let i of t){if(Array.isArray(i)){for(let t of i){r.push(append(t,e,s))}}else{for(let t of e){if(s===true&&typeof t==="string")t=`{${t}}`;r.push(Array.isArray(t)?append(i,t,s):i+t)}}}return n.flatten(r)};const expand=(t,e={})=>{let s=e.rangeLimit===void 0?1e3:e.rangeLimit;let walk=(t,o={})=>{t.queue=[];let a=o;let u=o.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;u=a.queue}if(t.invalid||t.dollar){u.push(append(u.pop(),i(t,e)));return}if(t.type==="brace"&&t.invalid!==true&&t.nodes.length===2){u.push(append(u.pop(),["{}"]));return}if(t.nodes&&t.ranges>0){let o=n.reduce(t.nodes);if(n.exceedsLimit(...o,e.step,s)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=r(...o,e);if(a.length===0){a=i(t,e)}u.push(append(u.pop(),a));t.nodes=[];return}let l=n.encloseBrace(t);let c=t.queue;let f=t;while(f.type!=="brace"&&f.type!=="root"&&f.parent){f=f.parent;c=f.queue}for(let e=0;e<t.nodes.length;e++){let s=t.nodes[e];if(s.type==="comma"&&t.type==="brace"){if(e===1)c.push("");c.push("");continue}if(s.type==="close"){u.push(append(u.pop(),c,l));continue}if(s.value&&s.type!=="open"){c.push(append(c.pop(),s.value));continue}if(s.nodes){walk(s,t)}}return c};return n.flatten(walk(t))};t.exports=expand},467:(t,e,s)=>{"use strict";const r=s(625);const{MAX_LENGTH:i,CHAR_BACKSLASH:n,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:c,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:_,CHAR_SINGLE_QUOTE:E,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:m}=s(487);const parse=(t,e={})=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}let s=e||{};let y=typeof s.maxLength==="number"?Math.min(i,s.maxLength):i;if(t.length>y){throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${y})`)}let R={type:"root",input:t,nodes:[]};let w=[R];let A=R;let b=R;let v=0;let S=t.length;let C=0;let x=0;let T;let H={};const advance=()=>t[C++];const push=t=>{if(t.type==="text"&&b.type==="dot"){b.type="text"}if(b&&b.type==="text"&&t.type==="text"){b.value+=t.value;return}A.nodes.push(t);t.parent=A;t.prev=b;b=t;return t};push({type:"bos"});while(C<S){A=w[w.length-1];T=advance();if(T===m||T===g){continue}if(T===n){push({type:"text",value:(e.keepEscaping?T:"")+advance()});continue}if(T===d){push({type:"text",value:"\\"+T});continue}if(T===p){v++;let t=true;let e;while(C<S&&(e=advance())){T+=e;if(e===p){v++;continue}if(e===n){T+=advance();continue}if(e===d){v--;if(v===0){break}}}push({type:"text",value:T});continue}if(T===l){A=push({type:"paren",nodes:[]});w.push(A);push({type:"text",value:T});continue}if(T===c){if(A.type!=="paren"){push({type:"text",value:T});continue}A=w.pop();push({type:"text",value:T});A=w[w.length-1];continue}if(T===_||T===E||T===o){let t=T;let s;if(e.keepQuotes!==true){T=""}while(C<S&&(s=advance())){if(s===n){T+=s+advance();continue}if(s===t){if(e.keepQuotes===true)T+=s;break}T+=s}push({type:"text",value:T});continue}if(T===f){x++;let t=b.value&&b.value.slice(-1)==="$"||A.dollar===true;let e={type:"brace",open:true,close:false,dollar:t,depth:x,commas:0,ranges:0,nodes:[]};A=push(e);w.push(A);push({type:"open",value:T});continue}if(T===h){if(A.type!=="brace"){push({type:"text",value:T});continue}let t="close";A=w.pop();A.close=true;push({type:t,value:T});x--;A=w[w.length-1];continue}if(T===a&&x>0){if(A.ranges>0){A.ranges=0;let t=A.nodes.shift();A.nodes=[t,{type:"text",value:r(A)}]}push({type:"comma",value:T});A.commas++;continue}if(T===u&&x>0&&A.commas===0){let t=A.nodes;if(x===0||t.length===0){push({type:"text",value:T});continue}if(b.type==="dot"){A.range=[];b.value+=T;b.type="range";if(A.nodes.length!==3&&A.nodes.length!==5){A.invalid=true;A.ranges=0;b.type="text";continue}A.ranges++;A.args=[];continue}if(b.type==="range"){t.pop();let e=t[t.length-1];e.value+=b.value+T;b=e;A.ranges--;continue}push({type:"dot",value:T});continue}push({type:"text",value:T})}do{A=w.pop();if(A.type!=="root"){A.nodes.forEach((t=>{if(!t.nodes){if(t.type==="open")t.isOpen=true;if(t.type==="close")t.isClose=true;if(!t.nodes)t.type="text";t.invalid=true}}));let t=w[w.length-1];let e=t.nodes.indexOf(A);t.nodes.splice(e,1,...A.nodes)}}while(w.length>0);push({type:"eos"});return R};t.exports=parse},625:(t,e,s)=>{"use strict";const r=s(456);t.exports=(t,e={})=>{let stringify=(t,s={})=>{let i=e.escapeInvalid&&r.isInvalidBrace(s);let n=t.invalid===true&&e.escapeInvalid===true;let o="";if(t.value){if((i||n)&&r.isOpenOrClose(t)){return"\\"+t.value}return t.value}if(t.value){return t.value}if(t.nodes){for(let e of t.nodes){o+=stringify(e)}}return o};return stringify(t)}},456:(t,e)=>{"use strict";e.isInteger=t=>{if(typeof t==="number"){return Number.isInteger(t)}if(typeof t==="string"&&t.trim()!==""){return Number.isInteger(Number(t))}return false};e.find=(t,e)=>t.nodes.find((t=>t.type===e));e.exceedsLimit=(t,s,r=1,i)=>{if(i===false)return false;if(!e.isInteger(t)||!e.isInteger(s))return false;return(Number(s)-Number(t))/Number(r)>=i};e.escapeNode=(t,e=0,s)=>{let r=t.nodes[e];if(!r)return;if(s&&r.type===s||r.type==="open"||r.type==="close"){if(r.escaped!==true){r.value="\\"+r.value;r.escaped=true}}};e.encloseBrace=t=>{if(t.type!=="brace")return false;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}return false};e.isInvalidBrace=t=>{if(t.type!=="brace")return false;if(t.invalid===true||t.dollar)return true;if(t.commas>>0+t.ranges>>0===0){t.invalid=true;return true}if(t.open!==true||t.close!==true){t.invalid=true;return true}return false};e.isOpenOrClose=t=>{if(t.type==="open"||t.type==="close"){return true}return t.open===true||t.close===true};e.reduce=t=>t.reduce(((t,e)=>{if(e.type==="text")t.push(e.value);if(e.type==="range")e.type="text";return t}),[]);e.flatten=(...t)=>{const e=[];const flat=t=>{for(let s=0;s<t.length;s++){let r=t[s];Array.isArray(r)?flat(r,e):r!==void 0&&e.push(r)}return e};flat(t);return e}},240:(t,e,s)=>{"use strict";const{sep:r}=s(17);const{platform:i}=process;const n=s(37);e.EV_ALL="all";e.EV_READY="ready";e.EV_ADD="add";e.EV_CHANGE="change";e.EV_ADD_DIR="addDir";e.EV_UNLINK="unlink";e.EV_UNLINK_DIR="unlinkDir";e.EV_RAW="raw";e.EV_ERROR="error";e.STR_DATA="data";e.STR_END="end";e.STR_CLOSE="close";e.FSEVENT_CREATED="created";e.FSEVENT_MODIFIED="modified";e.FSEVENT_DELETED="deleted";e.FSEVENT_MOVED="moved";e.FSEVENT_CLONED="cloned";e.FSEVENT_UNKNOWN="unknown";e.FSEVENT_TYPE_FILE="file";e.FSEVENT_TYPE_DIRECTORY="directory";e.FSEVENT_TYPE_SYMLINK="symlink";e.KEY_LISTENERS="listeners";e.KEY_ERR="errHandlers";e.KEY_RAW="rawEmitters";e.HANDLER_KEYS=[e.KEY_LISTENERS,e.KEY_ERR,e.KEY_RAW];e.DOT_SLASH=`.${r}`;e.BACK_SLASH_RE=/\\/g;e.DOUBLE_SLASH_RE=/\/\//;e.SLASH_OR_BACK_SLASH_RE=/[/\\]/;e.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;e.REPLACER_RE=/^\.[/\\]/;e.SLASH="/";e.SLASH_SLASH="//";e.BRACE_START="{";e.BANG="!";e.ONE_DOT=".";e.TWO_DOTS="..";e.STAR="*";e.GLOBSTAR="**";e.ROOT_GLOBSTAR="/**/*";e.SLASH_GLOBSTAR="/**";e.DIR_SUFFIX="Dir";e.ANYMATCH_OPTS={dot:true};e.STRING_TYPE="string";e.FUNCTION_TYPE="function";e.EMPTY_STR="";e.EMPTY_FN=()=>{};e.IDENTITY_FN=t=>t;e.isWindows=i==="win32";e.isMacos=i==="darwin";e.isLinux=i==="linux";e.isIBMi=n.type()==="OS400"},578:(t,e,s)=>{"use strict";const r=s(147);const i=s(17);const{promisify:n}=s(837);let o;try{o=s(249)}catch(t){if(process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR)console.error(t)}if(o){const t=process.version.match(/v(\d+)\.(\d+)/);if(t&&t[1]&&t[2]){const e=Number.parseInt(t[1],10);const s=Number.parseInt(t[2],10);if(e===8&&s<16){o=undefined}}}const{EV_ADD:a,EV_CHANGE:u,EV_ADD_DIR:l,EV_UNLINK:c,EV_ERROR:f,STR_DATA:h,STR_END:p,FSEVENT_CREATED:d,FSEVENT_MODIFIED:_,FSEVENT_DELETED:E,FSEVENT_MOVED:g,FSEVENT_UNKNOWN:m,FSEVENT_TYPE_FILE:y,FSEVENT_TYPE_DIRECTORY:R,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:A,DIR_SUFFIX:b,DOT_SLASH:v,FUNCTION_TYPE:S,EMPTY_FN:C,IDENTITY_FN:x}=s(240);const Depth=t=>isNaN(t)?{}:{depth:t};const T=n(r.stat);const H=n(r.lstat);const O=n(r.realpath);const P={stat:T,lstat:H};const I=new Map;const L=10;const N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]);const createFSEventsInstance=(t,e)=>{const s=o.watch(t,e);return{stop:s}};function setFSEventsListener(t,e,s,r){let n=i.extname(e)?i.dirname(e):e;const a=i.dirname(n);let u=I.get(n);if(couldConsolidate(a)){n=a}const l=i.resolve(t);const c=l!==e;const filteredListener=(t,r,n)=>{if(c)t=t.replace(e,l);if(t===l||!t.indexOf(l+i.sep))s(t,r,n)};let f=false;for(const t of I.keys()){if(e.indexOf(i.resolve(t)+i.sep)===0){n=t;u=I.get(n);f=true;break}}if(u||f){u.listeners.add(filteredListener)}else{u={listeners:new Set([filteredListener]),rawEmitter:r,watcher:createFSEventsInstance(n,((t,e)=>{if(!u.listeners.size)return;const s=o.getInfo(t,e);u.listeners.forEach((r=>{r(t,e,s)}));u.rawEmitter(s.event,t,s)}))};I.set(n,u)}return()=>{const t=u.listeners;t.delete(filteredListener);if(!t.size){I.delete(n);if(u.watcher)return u.watcher.stop().then((()=>{u.rawEmitter=u.watcher=undefined;Object.freeze(u)}))}}}const couldConsolidate=t=>{let e=0;for(const s of I.keys()){if(s.indexOf(t)===0){e++;if(e>=L){return true}}}return false};const canUse=()=>o&&I.size<128;const calcDepth=(t,e)=>{let s=0;while(!t.indexOf(e)&&(t=i.dirname(t))!==e)s++;return s};const sameTypes=(t,e)=>t.type===R&&e.isDirectory()||t.type===w&&e.isSymbolicLink()||t.type===y&&e.isFile();class FsEventsHandler{constructor(t){this.fsw=t}checkIgnored(t,e){const s=this.fsw._ignoredPaths;if(this.fsw._isIgnored(t,e)){s.add(t);if(e&&e.isDirectory()){s.add(t+A)}return true}s.delete(t);s.delete(t+A)}addOrChange(t,e,s,r,i,n,o,l){const c=i.has(n)?u:a;this.handleEvent(c,t,e,s,r,i,n,o,l)}async checkExists(t,e,s,r,i,n,o,a){try{const u=await T(t);if(this.fsw.closed)return;if(sameTypes(o,u)){this.addOrChange(t,e,s,r,i,n,o,a)}else{this.handleEvent(c,t,e,s,r,i,n,o,a)}}catch(u){if(u.code==="EACCES"){this.addOrChange(t,e,s,r,i,n,o,a)}else{this.handleEvent(c,t,e,s,r,i,n,o,a)}}}handleEvent(t,e,s,r,i,n,o,u,f){if(this.fsw.closed||this.checkIgnored(e))return;if(t===c){const t=u.type===R;if(t||n.has(o)){this.fsw._remove(i,o,t)}}else{if(t===a){if(u.type===R)this.fsw._getWatchedDir(e);if(u.type===w&&f.followSymlinks){const t=f.depth===undefined?undefined:calcDepth(s,r)+1;return this._addToFsEvents(e,false,true,t)}this.fsw._getWatchedDir(i).add(o)}const n=u.type===R?t+b:t;this.fsw._emit(n,e);if(n===l)this._addToFsEvents(e,false,true)}}_watchWithFsEvents(t,e,s,r){if(this.fsw.closed||this.fsw._isIgnored(t))return;const n=this.fsw.options;const watchCallback=async(o,a,u)=>{if(this.fsw.closed)return;if(n.depth!==undefined&&calcDepth(o,e)>n.depth)return;const l=s(i.join(t,i.relative(t,o)));if(r&&!r(l))return;const f=i.dirname(l);const h=i.basename(l);const p=this.fsw._getWatchedDir(u.type===R?l:f);if(N.has(a)||u.event===m){if(typeof n.ignored===S){let t;try{t=await T(l)}catch(t){}if(this.fsw.closed)return;if(this.checkIgnored(l,t))return;if(sameTypes(u,t)){this.addOrChange(l,o,e,f,p,h,u,n)}else{this.handleEvent(c,l,o,e,f,p,h,u,n)}}else{this.checkExists(l,o,e,f,p,h,u,n)}}else{switch(u.event){case d:case _:return this.addOrChange(l,o,e,f,p,h,u,n);case E:case g:return this.checkExists(l,o,e,f,p,h,u,n)}}};const o=setFSEventsListener(t,e,watchCallback,this.fsw._emitRaw);this.fsw._emitReady();return o}async _handleFsEventsSymlink(t,e,s,r){if(this.fsw.closed||this.fsw._symlinkPaths.has(e))return;this.fsw._symlinkPaths.set(e,true);this.fsw._incrReadyCount();try{const e=await O(t);if(this.fsw.closed)return;if(this.fsw._isIgnored(e)){return this.fsw._emitReady()}this.fsw._incrReadyCount();this._addToFsEvents(e||t,(r=>{let n=t;if(e&&e!==v){n=r.replace(e,t)}else if(r!==v){n=i.join(t,r)}return s(n)}),false,r)}catch(t){if(this.fsw._handleError(t)){return this.fsw._emitReady()}}}emitAdd(t,e,s,r,n){const o=s(t);const u=e.isDirectory();const c=this.fsw._getWatchedDir(i.dirname(o));const f=i.basename(o);if(u)this.fsw._getWatchedDir(o);if(c.has(f))return;c.add(f);if(!r.ignoreInitial||n===true){this.fsw._emit(u?l:a,o,e)}}initWatch(t,e,s,r){if(this.fsw.closed)return;const n=this._watchWithFsEvents(s.watchPath,i.resolve(t||s.watchPath),r,s.globFilter);this.fsw._addPathCloser(e,n)}async _addToFsEvents(t,e,s,r){if(this.fsw.closed){return}const n=this.fsw.options;const o=typeof e===S?e:x;const a=this.fsw._getWatchHelpers(t);try{const e=await P[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,e)){throw null}if(e.isDirectory()){if(!a.globFilter)this.emitAdd(o(t),e,o,n,s);if(r&&r>n.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:t=>a.filterPath(t),directoryFilter:t=>a.filterDir(t),...Depth(n.depth-(r||0))}).on(h,(t=>{if(this.fsw.closed){return}if(t.stats.isDirectory()&&!a.filterPath(t))return;const e=i.join(a.watchPath,t.path);const{fullPath:r}=t;if(a.followSymlinks&&t.stats.isSymbolicLink()){const t=n.depth===undefined?undefined:calcDepth(e,i.resolve(a.watchPath))+1;this._handleFsEventsSymlink(e,r,o,t)}else{this.emitAdd(e,t.stats,o,n,s)}})).on(f,C).on(p,(()=>{this.fsw._emitReady()}))}else{this.emitAdd(a.watchPath,e,o,n,s);this.fsw._emitReady()}}catch(t){if(!t||this.fsw._handleError(t)){this.fsw._emitReady();this.fsw._emitReady()}}if(n.persistent&&s!==true){if(typeof e===S){this.initWatch(undefined,t,a,o)}else{let e;try{e=await O(a.watchPath)}catch(t){}this.initWatch(e,t,a,o)}}}}t.exports=FsEventsHandler;t.exports.canUse=canUse},254:(t,e,s)=>{"use strict";const r=s(147);const i=s(17);const{promisify:n}=s(837);const o=s(41);const{isWindows:a,isLinux:u,EMPTY_FN:l,EMPTY_STR:c,KEY_LISTENERS:f,KEY_ERR:h,KEY_RAW:p,HANDLER_KEYS:d,EV_CHANGE:_,EV_ADD:E,EV_ADD_DIR:g,EV_ERROR:m,STR_DATA:y,STR_END:R,BRACE_START:w,STAR:A}=s(240);const b="watch";const v=n(r.open);const S=n(r.stat);const C=n(r.lstat);const x=n(r.close);const T=n(r.realpath);const H={lstat:C,stat:S};const foreach=(t,e)=>{if(t instanceof Set){t.forEach(e)}else{e(t)}};const addAndConvert=(t,e,s)=>{let r=t[e];if(!(r instanceof Set)){t[e]=r=new Set([r])}r.add(s)};const clearItem=t=>e=>{const s=t[e];if(s instanceof Set){s.clear()}else{delete t[e]}};const delFromSet=(t,e,s)=>{const r=t[e];if(r instanceof Set){r.delete(s)}else if(r===s){delete t[e]}};const isEmptySet=t=>t instanceof Set?t.size===0:!t;const O=new Map;function createFsWatchInstance(t,e,s,n,o){const handleEvent=(e,r)=>{s(t);o(e,r,{watchedPath:t});if(r&&t!==r){fsWatchBroadcast(i.resolve(t,r),f,i.join(t,r))}};try{return r.watch(t,e,handleEvent)}catch(t){n(t)}}const fsWatchBroadcast=(t,e,s,r,i)=>{const n=O.get(t);if(!n)return;foreach(n[e],(t=>{t(s,r,i)}))};const setFsWatchListener=(t,e,s,r)=>{const{listener:i,errHandler:n,rawEmitter:o}=r;let u=O.get(e);let l;if(!s.persistent){l=createFsWatchInstance(t,s,i,n,o);return l.close.bind(l)}if(u){addAndConvert(u,f,i);addAndConvert(u,h,n);addAndConvert(u,p,o)}else{l=createFsWatchInstance(t,s,fsWatchBroadcast.bind(null,e,f),n,fsWatchBroadcast.bind(null,e,p));if(!l)return;l.on(m,(async s=>{const r=fsWatchBroadcast.bind(null,e,h);u.watcherUnusable=true;if(a&&s.code==="EPERM"){try{const e=await v(t,"r");await x(e);r(s)}catch(t){}}else{r(s)}}));u={listeners:i,errHandlers:n,rawEmitters:o,watcher:l};O.set(e,u)}return()=>{delFromSet(u,f,i);delFromSet(u,h,n);delFromSet(u,p,o);if(isEmptySet(u.listeners)){u.watcher.close();O.delete(e);d.forEach(clearItem(u));u.watcher=undefined;Object.freeze(u)}}};const P=new Map;const setFsWatchFileListener=(t,e,s,i)=>{const{listener:n,rawEmitter:o}=i;let a=P.get(e);let u=new Set;let l=new Set;const c=a&&a.options;if(c&&(c.persistent<s.persistent||c.interval>s.interval)){u=a.listeners;l=a.rawEmitters;r.unwatchFile(e);a=undefined}if(a){addAndConvert(a,f,n);addAndConvert(a,p,o)}else{a={listeners:n,rawEmitters:o,options:s,watcher:r.watchFile(e,s,((s,r)=>{foreach(a.rawEmitters,(t=>{t(_,e,{curr:s,prev:r})}));const i=s.mtimeMs;if(s.size!==r.size||i>r.mtimeMs||i===0){foreach(a.listeners,(e=>e(t,s)))}}))};P.set(e,a)}return()=>{delFromSet(a,f,n);delFromSet(a,p,o);if(isEmptySet(a.listeners)){P.delete(e);r.unwatchFile(e);a.options=a.watcher=undefined;Object.freeze(a)}}};class NodeFsHandler{constructor(t){this.fsw=t;this._boundHandleError=e=>t._handleError(e)}_watchWithNodeFs(t,e){const s=this.fsw.options;const r=i.dirname(t);const n=i.basename(t);const a=this.fsw._getWatchedDir(r);a.add(n);const u=i.resolve(t);const c={persistent:s.persistent};if(!e)e=l;let f;if(s.usePolling){c.interval=s.enableBinaryInterval&&o(n)?s.binaryInterval:s.interval;f=setFsWatchFileListener(t,u,c,{listener:e,rawEmitter:this.fsw._emitRaw})}else{f=setFsWatchListener(t,u,c,{listener:e,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw})}return f}_handleFile(t,e,s){if(this.fsw.closed){return}const r=i.dirname(t);const n=i.basename(t);const o=this.fsw._getWatchedDir(r);let a=e;if(o.has(n))return;const listener=async(e,s)=>{if(!this.fsw._throttle(b,t,5))return;if(!s||s.mtimeMs===0){try{const s=await S(t);if(this.fsw.closed)return;const r=s.atimeMs;const i=s.mtimeMs;if(!r||r<=i||i!==a.mtimeMs){this.fsw._emit(_,t,s)}if(u&&a.ino!==s.ino){this.fsw._closeFile(e);a=s;this.fsw._addPathCloser(e,this._watchWithNodeFs(t,listener))}else{a=s}}catch(t){this.fsw._remove(r,n)}}else if(o.has(n)){const e=s.atimeMs;const r=s.mtimeMs;if(!e||e<=r||r!==a.mtimeMs){this.fsw._emit(_,t,s)}a=s}};const l=this._watchWithNodeFs(t,listener);if(!(s&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(t)){if(!this.fsw._throttle(E,t,0))return;this.fsw._emit(E,t,e)}return l}async _handleSymlink(t,e,s,r){if(this.fsw.closed){return}const i=t.fullPath;const n=this.fsw._getWatchedDir(e);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let e;try{e=await T(s)}catch(t){this.fsw._emitReady();return true}if(this.fsw.closed)return;if(n.has(r)){if(this.fsw._symlinkPaths.get(i)!==e){this.fsw._symlinkPaths.set(i,e);this.fsw._emit(_,s,t.stats)}}else{n.add(r);this.fsw._symlinkPaths.set(i,e);this.fsw._emit(E,s,t.stats)}this.fsw._emitReady();return true}if(this.fsw._symlinkPaths.has(i)){return true}this.fsw._symlinkPaths.set(i,true)}_handleRead(t,e,s,r,n,o,a){t=i.join(t,c);if(!s.hasGlob){a=this.fsw._throttle("readdir",t,1e3);if(!a)return}const u=this.fsw._getWatchedDir(s.path);const l=new Set;let f=this.fsw._readdirp(t,{fileFilter:t=>s.filterPath(t),directoryFilter:t=>s.filterDir(t),depth:0}).on(y,(async a=>{if(this.fsw.closed){f=undefined;return}const c=a.path;let h=i.join(t,c);l.add(c);if(a.stats.isSymbolicLink()&&await this._handleSymlink(a,t,h,c)){return}if(this.fsw.closed){f=undefined;return}if(c===r||!r&&!u.has(c)){this.fsw._incrReadyCount();h=i.join(n,i.relative(n,h));this._addToNodeFs(h,e,s,o+1)}})).on(m,this._boundHandleError);return new Promise((e=>f.once(R,(()=>{if(this.fsw.closed){f=undefined;return}const c=a?a.clear():false;e();u.getChildren().filter((e=>e!==t&&!l.has(e)&&(!s.hasGlob||s.filterPath({fullPath:i.resolve(t,e)})))).forEach((e=>{this.fsw._remove(t,e)}));f=undefined;if(c)this._handleRead(t,false,s,r,n,o,a)}))))}async _handleDir(t,e,s,r,n,o,a){const u=this.fsw._getWatchedDir(i.dirname(t));const l=u.has(i.basename(t));if(!(s&&this.fsw.options.ignoreInitial)&&!n&&!l){if(!o.hasGlob||o.globFilter(t))this.fsw._emit(g,t,e)}u.add(i.basename(t));this.fsw._getWatchedDir(t);let c;let f;const h=this.fsw.options.depth;if((h==null||r<=h)&&!this.fsw._symlinkPaths.has(a)){if(!n){await this._handleRead(t,s,o,n,t,r,c);if(this.fsw.closed)return}f=this._watchWithNodeFs(t,((e,s)=>{if(s&&s.mtimeMs===0)return;this._handleRead(e,false,o,n,t,r,c)}))}return f}async _addToNodeFs(t,e,s,r,n){const o=this.fsw._emitReady;if(this.fsw._isIgnored(t)||this.fsw.closed){o();return false}const a=this.fsw._getWatchHelpers(t,r);if(!a.hasGlob&&s){a.hasGlob=s.hasGlob;a.globFilter=s.globFilter;a.filterPath=t=>s.filterPath(t);a.filterDir=t=>s.filterDir(t)}try{const s=await H[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,s)){o();return false}const u=this.fsw.options.followSymlinks&&!t.includes(A)&&!t.includes(w);let l;if(s.isDirectory()){const o=i.resolve(t);const c=u?await T(t):t;if(this.fsw.closed)return;l=await this._handleDir(a.watchPath,s,e,r,n,a,c);if(this.fsw.closed)return;if(o!==c&&c!==undefined){this.fsw._symlinkPaths.set(o,c)}}else if(s.isSymbolicLink()){const n=u?await T(t):t;if(this.fsw.closed)return;const o=i.dirname(a.watchPath);this.fsw._getWatchedDir(o).add(a.watchPath);this.fsw._emit(E,a.watchPath,s);l=await this._handleDir(o,s,e,r,t,a,n);if(this.fsw.closed)return;if(n!==undefined){this.fsw._symlinkPaths.set(i.resolve(t),n)}}else{l=this._handleFile(a.watchPath,s,e)}o();this.fsw._addPathCloser(t,l);return false}catch(e){if(this.fsw._handleError(e)){o();return t}}}}t.exports=NodeFsHandler},442:(t,e,s)=>{"use strict";
|
2
|
-
/*!
|
3
|
-
* fill-range <https://github.com/jonschlinkert/fill-range>
|
4
|
-
*
|
5
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
6
|
-
* Licensed under the MIT License.
|
7
|
-
*/const r=s(837);const i=s(211);const isObject=t=>t!==null&&typeof t==="object"&&!Array.isArray(t);const transform=t=>e=>t===true?Number(e):String(e);const isValidValue=t=>typeof t==="number"||typeof t==="string"&&t!=="";const isNumber=t=>Number.isInteger(+t);const zeros=t=>{let e=`${t}`;let s=-1;if(e[0]==="-")e=e.slice(1);if(e==="0")return false;while(e[++s]==="0");return s>0};const stringify=(t,e,s)=>{if(typeof t==="string"||typeof e==="string"){return true}return s.stringify===true};const pad=(t,e,s)=>{if(e>0){let s=t[0]==="-"?"-":"";if(s)t=t.slice(1);t=s+t.padStart(s?e-1:e,"0")}if(s===false){return String(t)}return t};const toMaxLen=(t,e)=>{let s=t[0]==="-"?"-":"";if(s){t=t.slice(1);e--}while(t.length<e)t="0"+t;return s?"-"+t:t};const toSequence=(t,e)=>{t.negatives.sort(((t,e)=>t<e?-1:t>e?1:0));t.positives.sort(((t,e)=>t<e?-1:t>e?1:0));let s=e.capture?"":"?:";let r="";let i="";let n;if(t.positives.length){r=t.positives.join("|")}if(t.negatives.length){i=`-(${s}${t.negatives.join("|")})`}if(r&&i){n=`${r}|${i}`}else{n=r||i}if(e.wrap){return`(${s}${n})`}return n};const toRange=(t,e,s,r)=>{if(s){return i(t,e,{wrap:false,...r})}let n=String.fromCharCode(t);if(t===e)return n;let o=String.fromCharCode(e);return`[${n}-${o}]`};const toRegex=(t,e,s)=>{if(Array.isArray(t)){let e=s.wrap===true;let r=s.capture?"":"?:";return e?`(${r}${t.join("|")})`:t.join("|")}return i(t,e,s)};const rangeError=(...t)=>new RangeError("Invalid range arguments: "+r.inspect(...t));const invalidRange=(t,e,s)=>{if(s.strictRanges===true)throw rangeError([t,e]);return[]};const invalidStep=(t,e)=>{if(e.strictRanges===true){throw new TypeError(`Expected step "${t}" to be a number`)}return[]};const fillNumbers=(t,e,s=1,r={})=>{let i=Number(t);let n=Number(e);if(!Number.isInteger(i)||!Number.isInteger(n)){if(r.strictRanges===true)throw rangeError([t,e]);return[]}if(i===0)i=0;if(n===0)n=0;let o=i>n;let a=String(t);let u=String(e);let l=String(s);s=Math.max(Math.abs(s),1);let c=zeros(a)||zeros(u)||zeros(l);let f=c?Math.max(a.length,u.length,l.length):0;let h=c===false&&stringify(t,e,r)===false;let p=r.transform||transform(h);if(r.toRegex&&s===1){return toRange(toMaxLen(t,f),toMaxLen(e,f),true,r)}let d={negatives:[],positives:[]};let push=t=>d[t<0?"negatives":"positives"].push(Math.abs(t));let _=[];let E=0;while(o?i>=n:i<=n){if(r.toRegex===true&&s>1){push(i)}else{_.push(pad(p(i,E),f,h))}i=o?i-s:i+s;E++}if(r.toRegex===true){return s>1?toSequence(d,r):toRegex(_,null,{wrap:false,...r})}return _};const fillLetters=(t,e,s=1,r={})=>{if(!isNumber(t)&&t.length>1||!isNumber(e)&&e.length>1){return invalidRange(t,e,r)}let i=r.transform||(t=>String.fromCharCode(t));let n=`${t}`.charCodeAt(0);let o=`${e}`.charCodeAt(0);let a=n>o;let u=Math.min(n,o);let l=Math.max(n,o);if(r.toRegex&&s===1){return toRange(u,l,false,r)}let c=[];let f=0;while(a?n>=o:n<=o){c.push(i(n,f));n=a?n-s:n+s;f++}if(r.toRegex===true){return toRegex(c,null,{wrap:false,options:r})}return c};const fill=(t,e,s,r={})=>{if(e==null&&isValidValue(t)){return[t]}if(!isValidValue(t)||!isValidValue(e)){return invalidRange(t,e,r)}if(typeof s==="function"){return fill(t,e,1,{transform:s})}if(isObject(s)){return fill(t,e,0,s)}let i={...r};if(i.capture===true)i.wrap=true;s=s||i.step||1;if(!isNumber(s)){if(s!=null&&!isObject(s))return invalidStep(s,i);return fill(t,e,1,s)}if(isNumber(t)&&isNumber(e)){return fillNumbers(t,e,s,i)}return fillLetters(t,e,Math.max(Math.abs(s),1),i)};t.exports=fill},249:(t,e,s)=>{"use strict";if(process.platform!=="darwin"){throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`)}const r=s(653);const i=r.constants;function watch(t,e,s){if(typeof t!=="string"){throw new TypeError(`fsevents argument 1 must be a string and not a ${typeof t}`)}if("function"===typeof e&&"undefined"===typeof s){s=e;e=r.flags.SinceNow}if(typeof e!=="number"){throw new TypeError(`fsevents argument 2 must be a number and not a ${typeof e}`)}if(typeof s!=="function"){throw new TypeError(`fsevents argument 3 must be a function and not a ${typeof s}`)}let i=r.start(r.global,t,e,s);if(!i)throw new Error(`could not watch: ${t}`);return()=>{const t=i?Promise.resolve(i).then(r.stop):Promise.resolve(undefined);i=undefined;return t}}function getInfo(t,e){return{path:t,flags:e,event:getEventType(e),type:getFileType(e),changes:getFileChanges(e)}}function getFileType(t){if(i.ItemIsFile&t)return"file";if(i.ItemIsDir&t)return"directory";if(i.ItemIsSymlink&t)return"symlink"}function anyIsTrue(t){for(let e in t){if(t[e])return true}return false}function getEventType(t){if(i.ItemRemoved&t)return"deleted";if(i.ItemRenamed&t)return"moved";if(i.ItemCreated&t)return"created";if(i.ItemModified&t)return"modified";if(i.RootChanged&t)return"root-changed";if(i.ItemCloned&t)return"cloned";if(anyIsTrue(t))return"modified";return"unknown"}function getFileChanges(t){return{inode:!!(i.ItemInodeMetaMod&t),finder:!!(i.ItemFinderInfoMod&t),access:!!(i.ItemChangeOwner&t),xattrs:!!(i.ItemXattrMod&t)}}e.watch=watch;e.getInfo=getInfo;e.constants=i},976:(t,e,s)=>{"use strict";var r=s(654);var i=s(17).posix.dirname;var n=s(37).platform()==="win32";var o="/";var a=/\\/g;var u=/[\{\[].*[\}\]]$/;var l=/(^|[^\\])([\{\[]|\([^\)]+$)/;var c=/\\([\!\*\?\|\[\]\(\)\{\}])/g;t.exports=function globParent(t,e){var s=Object.assign({flipBackslashes:true},e);if(s.flipBackslashes&&n&&t.indexOf(o)<0){t=t.replace(a,o)}if(u.test(t)){t+=o}t+="a";do{t=i(t)}while(r(t)||l.test(t));return t.replace(c,"$1")}},41:(t,e,s)=>{"use strict";const r=s(17);const i=s(828);const n=new Set(i);t.exports=t=>n.has(r.extname(t).slice(1).toLowerCase())},71:t=>{
|
8
|
-
/*!
|
9
|
-
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
10
|
-
*
|
11
|
-
* Copyright (c) 2014-2016, Jon Schlinkert.
|
12
|
-
* Licensed under the MIT License.
|
13
|
-
*/
|
14
|
-
t.exports=function isExtglob(t){if(typeof t!=="string"||t===""){return false}var e;while(e=/(\\).|([@?!+*]\(.*\))/g.exec(t)){if(e[2])return true;t=t.slice(e.index+e[0].length)}return false}},654:(t,e,s)=>{
|
15
|
-
/*!
|
16
|
-
* is-glob <https://github.com/jonschlinkert/is-glob>
|
17
|
-
*
|
18
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
19
|
-
* Released under the MIT License.
|
20
|
-
*/
|
21
|
-
var r=s(71);var i={"{":"}","(":")","[":"]"};var strictCheck=function(t){if(t[0]==="!"){return true}var e=0;var s=-2;var r=-2;var n=-2;var o=-2;var a=-2;while(e<t.length){if(t[e]==="*"){return true}if(t[e+1]==="?"&&/[\].+)]/.test(t[e])){return true}if(r!==-1&&t[e]==="["&&t[e+1]!=="]"){if(r<e){r=t.indexOf("]",e)}if(r>e){if(a===-1||a>r){return true}a=t.indexOf("\\",e);if(a===-1||a>r){return true}}}if(n!==-1&&t[e]==="{"&&t[e+1]!=="}"){n=t.indexOf("}",e);if(n>e){a=t.indexOf("\\",e);if(a===-1||a>n){return true}}}if(o!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"){o=t.indexOf(")",e);if(o>e){a=t.indexOf("\\",e);if(a===-1||a>o){return true}}}if(s!==-1&&t[e]==="("&&t[e+1]!=="|"){if(s<e){s=t.indexOf("|",e)}if(s!==-1&&t[s+1]!==")"){o=t.indexOf(")",s);if(o>s){a=t.indexOf("\\",s);if(a===-1||a>o){return true}}}}if(t[e]==="\\"){var u=t[e+1];e+=2;var l=i[u];if(l){var c=t.indexOf(l,e);if(c!==-1){e=c+1}}if(t[e]==="!"){return true}}else{e++}}return false};var relaxedCheck=function(t){if(t[0]==="!"){return true}var e=0;while(e<t.length){if(/[*?{}()[\]]/.test(t[e])){return true}if(t[e]==="\\"){var s=t[e+1];e+=2;var r=i[s];if(r){var n=t.indexOf(r,e);if(n!==-1){e=n+1}}if(t[e]==="!"){return true}}else{e++}}return false};t.exports=function isGlob(t,e){if(typeof t!=="string"||t===""){return false}if(r(t)){return true}var s=strictCheck;if(e&&e.strict===false){s=relaxedCheck}return s(t)}},387:t=>{"use strict";
|
22
|
-
/*!
|
23
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
24
|
-
*
|
25
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
26
|
-
* Released under the MIT License.
|
27
|
-
*/t.exports=function(t){if(typeof t==="number"){return t-t===0}if(typeof t==="string"&&t.trim()!==""){return Number.isFinite?Number.isFinite(+t):isFinite(+t)}return false}},498:t=>{
|
28
|
-
/*!
|
29
|
-
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
30
|
-
*
|
31
|
-
* Copyright (c) 2014-2018, Jon Schlinkert.
|
32
|
-
* Released under the MIT License.
|
33
|
-
*/
|
34
|
-
t.exports=function(t,e){if(typeof t!=="string"){throw new TypeError("expected path to be a string")}if(t==="\\"||t==="/")return"/";var s=t.length;if(s<=1)return t;var r="";if(s>4&&t[3]==="\\"){var i=t[2];if((i==="?"||i===".")&&t.slice(0,2)==="\\\\"){t=t.slice(2);r="//"}}var n=t.split(/[/\\]+/);if(e!==false&&n[n.length-1]===""){n.pop()}return r+n.join("/")}},376:(t,e,s)=>{"use strict";t.exports=s(631)},820:(t,e,s)=>{"use strict";const r=s(17);const i="\\\\/";const n=`[^${i}]`;const o="\\.";const a="\\+";const u="\\?";const l="\\/";const c="(?=.)";const f="[^/]";const h=`(?:${l}|$)`;const p=`(?:^|${l})`;const d=`${o}{1,2}${h}`;const _=`(?!${o})`;const E=`(?!${p}${d})`;const g=`(?!${o}{0,1}${h})`;const m=`(?!${d})`;const y=`[^.${l}]`;const R=`${f}*?`;const w={DOT_LITERAL:o,PLUS_LITERAL:a,QMARK_LITERAL:u,SLASH_LITERAL:l,ONE_CHAR:c,QMARK:f,END_ANCHOR:h,DOTS_SLASH:d,NO_DOT:_,NO_DOTS:E,NO_DOT_SLASH:g,NO_DOTS_SLASH:m,QMARK_NO_DOT:y,STAR:R,START_ANCHOR:p};const A={...w,SLASH_LITERAL:`[${i}]`,QMARK:n,STAR:`${n}*?`,DOTS_SLASH:`${o}{1,2}(?:[${i}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${i}])${o}{1,2}(?:[${i}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${i}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${i}]|$))`,QMARK_NO_DOT:`[^.${i}]`,START_ANCHOR:`(?:^|[${i}])`,END_ANCHOR:`(?:[${i}]|$)`};const b={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:b,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===true?A:w}}},986:(t,e,s)=>{"use strict";const r=s(820);const i=s(658);const{MAX_LENGTH:n,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:l}=r;const expandRange=(t,e)=>{if(typeof e.expandRange==="function"){return e.expandRange(...t,e)}t.sort();const s=`[${t.join("-")}]`;try{new RegExp(s)}catch(e){return t.map((t=>i.escapeRegex(t))).join("..")}return s};const syntaxError=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`;const parse=(t,e)=>{if(typeof t!=="string"){throw new TypeError("Expected a string")}t=l[t]||t;const s={...e};const c=typeof s.maxLength==="number"?Math.min(n,s.maxLength):n;let f=t.length;if(f>c){throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${c}`)}const h={type:"bos",value:"",output:s.prepend||""};const p=[h];const d=s.capture?"":"?:";const _=i.isWindows(e);const E=r.globChars(_);const g=r.extglobChars(E);const{DOT_LITERAL:m,PLUS_LITERAL:y,SLASH_LITERAL:R,ONE_CHAR:w,DOTS_SLASH:A,NO_DOT:b,NO_DOT_SLASH:v,NO_DOTS_SLASH:S,QMARK:C,QMARK_NO_DOT:x,STAR:T,START_ANCHOR:H}=E;const globstar=t=>`(${d}(?:(?!${H}${t.dot?A:m}).)*?)`;const O=s.dot?"":b;const P=s.dot?C:x;let I=s.bash===true?globstar(s):T;if(s.capture){I=`(${I})`}if(typeof s.noext==="boolean"){s.noextglob=s.noext}const L={input:t,index:-1,start:0,dot:s.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:p};t=i.removePrefix(t,L);f=t.length;const N=[];const k=[];const $=[];let D=h;let F;const eos=()=>L.index===f-1;const M=L.peek=(e=1)=>t[L.index+e];const W=L.advance=()=>t[++L.index]||"";const remaining=()=>t.slice(L.index+1);const consume=(t="",e=0)=>{L.consumed+=t;L.index+=e};const append=t=>{L.output+=t.output!=null?t.output:t.value;consume(t.value)};const negate=()=>{let t=1;while(M()==="!"&&(M(2)!=="("||M(3)==="?")){W();L.start++;t++}if(t%2===0){return false}L.negated=true;L.start++;return true};const increment=t=>{L[t]++;$.push(t)};const decrement=t=>{L[t]--;$.pop()};const push=t=>{if(D.type==="globstar"){const e=L.braces>0&&(t.type==="comma"||t.type==="brace");const s=t.extglob===true||N.length&&(t.type==="pipe"||t.type==="paren");if(t.type!=="slash"&&t.type!=="paren"&&!e&&!s){L.output=L.output.slice(0,-D.output.length);D.type="star";D.value="*";D.output=I;L.output+=D.output}}if(N.length&&t.type!=="paren"){N[N.length-1].inner+=t.value}if(t.value||t.output)append(t);if(D&&D.type==="text"&&t.type==="text"){D.value+=t.value;D.output=(D.output||"")+t.value;return}t.prev=D;p.push(t);D=t};const extglobOpen=(t,e)=>{const r={...g[e],conditions:1,inner:""};r.prev=D;r.parens=L.parens;r.output=L.output;const i=(s.capture?"(":"")+r.open;increment("parens");push({type:t,value:e,output:L.output?"":w});push({type:"paren",extglob:true,value:W(),output:i});N.push(r)};const extglobClose=t=>{let r=t.close+(s.capture?")":"");let i;if(t.type==="negate"){let n=I;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){n=globstar(s)}if(n!==I||eos()||/^\)+$/.test(remaining())){r=t.close=`)$))${n}`}if(t.inner.includes("*")&&(i=remaining())&&/^\.[^\\/.]+$/.test(i)){const s=parse(i,{...e,fastpaths:false}).output;r=t.close=`)${s})${n})`}if(t.prev.type==="bos"){L.negatedExtglob=true}}push({type:"paren",extglob:true,value:F,output:r});decrement("parens")};if(s.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(t)){let r=false;let n=t.replace(u,((t,e,s,i,n,o)=>{if(i==="\\"){r=true;return t}if(i==="?"){if(e){return e+i+(n?C.repeat(n.length):"")}if(o===0){return P+(n?C.repeat(n.length):"")}return C.repeat(s.length)}if(i==="."){return m.repeat(s.length)}if(i==="*"){if(e){return e+i+(n?I:"")}return I}return e?t:`\\${t}`}));if(r===true){if(s.unescape===true){n=n.replace(/\\/g,"")}else{n=n.replace(/\\+/g,(t=>t.length%2===0?"\\\\":t?"\\":""))}}if(n===t&&s.contains===true){L.output=t;return L}L.output=i.wrapOutput(n,L,e);return L}while(!eos()){F=W();if(F==="\0"){continue}if(F==="\\"){const t=M();if(t==="/"&&s.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){F+="\\";push({type:"text",value:F});continue}const e=/^\\+/.exec(remaining());let r=0;if(e&&e[0].length>2){r=e[0].length;L.index+=r;if(r%2!==0){F+="\\"}}if(s.unescape===true){F=W()}else{F+=W()}if(L.brackets===0){push({type:"text",value:F});continue}}if(L.brackets>0&&(F!=="]"||D.value==="["||D.value==="[^")){if(s.posix!==false&&F===":"){const t=D.value.slice(1);if(t.includes("[")){D.posix=true;if(t.includes(":")){const t=D.value.lastIndexOf("[");const e=D.value.slice(0,t);const s=D.value.slice(t+2);const r=o[s];if(r){D.value=e+r;L.backtrack=true;W();if(!h.output&&p.indexOf(D)===1){h.output=w}continue}}}}if(F==="["&&M()!==":"||F==="-"&&M()==="]"){F=`\\${F}`}if(F==="]"&&(D.value==="["||D.value==="[^")){F=`\\${F}`}if(s.posix===true&&F==="!"&&D.value==="["){F="^"}D.value+=F;append({value:F});continue}if(L.quotes===1&&F!=='"'){F=i.escapeRegex(F);D.value+=F;append({value:F});continue}if(F==='"'){L.quotes=L.quotes===1?0:1;if(s.keepQuotes===true){push({type:"text",value:F})}continue}if(F==="("){increment("parens");push({type:"paren",value:F});continue}if(F===")"){if(L.parens===0&&s.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const t=N[N.length-1];if(t&&L.parens===t.parens+1){extglobClose(N.pop());continue}push({type:"paren",value:F,output:L.parens?")":"\\)"});decrement("parens");continue}if(F==="["){if(s.nobracket===true||!remaining().includes("]")){if(s.nobracket!==true&&s.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}F=`\\${F}`}else{increment("brackets")}push({type:"bracket",value:F});continue}if(F==="]"){if(s.nobracket===true||D&&D.type==="bracket"&&D.value.length===1){push({type:"text",value:F,output:`\\${F}`});continue}if(L.brackets===0){if(s.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:F,output:`\\${F}`});continue}decrement("brackets");const t=D.value.slice(1);if(D.posix!==true&&t[0]==="^"&&!t.includes("/")){F=`/${F}`}D.value+=F;append({value:F});if(s.literalBrackets===false||i.hasRegexChars(t)){continue}const e=i.escapeRegex(D.value);L.output=L.output.slice(0,-D.value.length);if(s.literalBrackets===true){L.output+=e;D.value=e;continue}D.value=`(${d}${e}|${D.value})`;L.output+=D.value;continue}if(F==="{"&&s.nobrace!==true){increment("braces");const t={type:"brace",value:F,output:"(",outputIndex:L.output.length,tokensIndex:L.tokens.length};k.push(t);push(t);continue}if(F==="}"){const t=k[k.length-1];if(s.nobrace===true||!t){push({type:"text",value:F,output:F});continue}let e=")";if(t.dots===true){const t=p.slice();const r=[];for(let e=t.length-1;e>=0;e--){p.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){r.unshift(t[e].value)}}e=expandRange(r,s);L.backtrack=true}if(t.comma!==true&&t.dots!==true){const s=L.output.slice(0,t.outputIndex);const r=L.tokens.slice(t.tokensIndex);t.value=t.output="\\{";F=e="\\}";L.output=s;for(const t of r){L.output+=t.output||t.value}}push({type:"brace",value:F,output:e});decrement("braces");k.pop();continue}if(F==="|"){if(N.length>0){N[N.length-1].conditions++}push({type:"text",value:F});continue}if(F===","){let t=F;const e=k[k.length-1];if(e&&$[$.length-1]==="braces"){e.comma=true;t="|"}push({type:"comma",value:F,output:t});continue}if(F==="/"){if(D.type==="dot"&&L.index===L.start+1){L.start=L.index+1;L.consumed="";L.output="";p.pop();D=h;continue}push({type:"slash",value:F,output:R});continue}if(F==="."){if(L.braces>0&&D.type==="dot"){if(D.value===".")D.output=m;const t=k[k.length-1];D.type="dots";D.output+=F;D.value+=F;t.dots=true;continue}if(L.braces+L.parens===0&&D.type!=="bos"&&D.type!=="slash"){push({type:"text",value:F,output:m});continue}push({type:"dot",value:F,output:m});continue}if(F==="?"){const t=D&&D.value==="(";if(!t&&s.noextglob!==true&&M()==="("&&M(2)!=="?"){extglobOpen("qmark",F);continue}if(D&&D.type==="paren"){const t=M();let e=F;if(t==="<"&&!i.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(D.value==="("&&!/[!=<:]/.test(t)||t==="<"&&!/<([!=]|\w+>)/.test(remaining())){e=`\\${F}`}push({type:"text",value:F,output:e});continue}if(s.dot!==true&&(D.type==="slash"||D.type==="bos")){push({type:"qmark",value:F,output:x});continue}push({type:"qmark",value:F,output:C});continue}if(F==="!"){if(s.noextglob!==true&&M()==="("){if(M(2)!=="?"||!/[!=<:]/.test(M(3))){extglobOpen("negate",F);continue}}if(s.nonegate!==true&&L.index===0){negate();continue}}if(F==="+"){if(s.noextglob!==true&&M()==="("&&M(2)!=="?"){extglobOpen("plus",F);continue}if(D&&D.value==="("||s.regex===false){push({type:"plus",value:F,output:y});continue}if(D&&(D.type==="bracket"||D.type==="paren"||D.type==="brace")||L.parens>0){push({type:"plus",value:F});continue}push({type:"plus",value:y});continue}if(F==="@"){if(s.noextglob!==true&&M()==="("&&M(2)!=="?"){push({type:"at",extglob:true,value:F,output:""});continue}push({type:"text",value:F});continue}if(F!=="*"){if(F==="$"||F==="^"){F=`\\${F}`}const t=a.exec(remaining());if(t){F+=t[0];L.index+=t[0].length}push({type:"text",value:F});continue}if(D&&(D.type==="globstar"||D.star===true)){D.type="star";D.star=true;D.value+=F;D.output=I;L.backtrack=true;L.globstar=true;consume(F);continue}let e=remaining();if(s.noextglob!==true&&/^\([^?]/.test(e)){extglobOpen("star",F);continue}if(D.type==="star"){if(s.noglobstar===true){consume(F);continue}const r=D.prev;const i=r.prev;const n=r.type==="slash"||r.type==="bos";const o=i&&(i.type==="star"||i.type==="globstar");if(s.bash===true&&(!n||e[0]&&e[0]!=="/")){push({type:"star",value:F,output:""});continue}const a=L.braces>0&&(r.type==="comma"||r.type==="brace");const u=N.length&&(r.type==="pipe"||r.type==="paren");if(!n&&r.type!=="paren"&&!a&&!u){push({type:"star",value:F,output:""});continue}while(e.slice(0,3)==="/**"){const s=t[L.index+4];if(s&&s!=="/"){break}e=e.slice(3);consume("/**",3)}if(r.type==="bos"&&eos()){D.type="globstar";D.value+=F;D.output=globstar(s);L.output=D.output;L.globstar=true;consume(F);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&!o&&eos()){L.output=L.output.slice(0,-(r.output+D.output).length);r.output=`(?:${r.output}`;D.type="globstar";D.output=globstar(s)+(s.strictSlashes?")":"|$)");D.value+=F;L.globstar=true;L.output+=r.output+D.output;consume(F);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&e[0]==="/"){const t=e[1]!==void 0?"|$":"";L.output=L.output.slice(0,-(r.output+D.output).length);r.output=`(?:${r.output}`;D.type="globstar";D.output=`${globstar(s)}${R}|${R}${t})`;D.value+=F;L.output+=r.output+D.output;L.globstar=true;consume(F+W());push({type:"slash",value:"/",output:""});continue}if(r.type==="bos"&&e[0]==="/"){D.type="globstar";D.value+=F;D.output=`(?:^|${R}|${globstar(s)}${R})`;L.output=D.output;L.globstar=true;consume(F+W());push({type:"slash",value:"/",output:""});continue}L.output=L.output.slice(0,-D.output.length);D.type="globstar";D.output=globstar(s);D.value+=F;L.output+=D.output;L.globstar=true;consume(F);continue}const r={type:"star",value:F,output:I};if(s.bash===true){r.output=".*?";if(D.type==="bos"||D.type==="slash"){r.output=O+r.output}push(r);continue}if(D&&(D.type==="bracket"||D.type==="paren")&&s.regex===true){r.output=F;push(r);continue}if(L.index===L.start||D.type==="slash"||D.type==="dot"){if(D.type==="dot"){L.output+=v;D.output+=v}else if(s.dot===true){L.output+=S;D.output+=S}else{L.output+=O;D.output+=O}if(M()!=="*"){L.output+=w;D.output+=w}}push(r)}while(L.brackets>0){if(s.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));L.output=i.escapeLast(L.output,"[");decrement("brackets")}while(L.parens>0){if(s.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));L.output=i.escapeLast(L.output,"(");decrement("parens")}while(L.braces>0){if(s.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));L.output=i.escapeLast(L.output,"{");decrement("braces")}if(s.strictSlashes!==true&&(D.type==="star"||D.type==="bracket")){push({type:"maybe_slash",value:"",output:`${R}?`})}if(L.backtrack===true){L.output="";for(const t of L.tokens){L.output+=t.output!=null?t.output:t.value;if(t.suffix){L.output+=t.suffix}}}return L};parse.fastpaths=(t,e)=>{const s={...e};const o=typeof s.maxLength==="number"?Math.min(n,s.maxLength):n;const a=t.length;if(a>o){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`)}t=l[t]||t;const u=i.isWindows(e);const{DOT_LITERAL:c,SLASH_LITERAL:f,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:_,NO_DOTS_SLASH:E,STAR:g,START_ANCHOR:m}=r.globChars(u);const y=s.dot?_:d;const R=s.dot?E:d;const w=s.capture?"":"?:";const A={negated:false,prefix:""};let b=s.bash===true?".*?":g;if(s.capture){b=`(${b})`}const globstar=t=>{if(t.noglobstar===true)return b;return`(${w}(?:(?!${m}${t.dot?p:c}).)*?)`};const create=t=>{switch(t){case"*":return`${y}${h}${b}`;case".*":return`${c}${h}${b}`;case"*.*":return`${y}${b}${c}${h}${b}`;case"*/*":return`${y}${b}${f}${h}${R}${b}`;case"**":return y+globstar(s);case"**/*":return`(?:${y}${globstar(s)}${f})?${R}${h}${b}`;case"**/*.*":return`(?:${y}${globstar(s)}${f})?${R}${b}${c}${h}${b}`;case"**/.*":return`(?:${y}${globstar(s)}${f})?${c}${h}${b}`;default:{const e=/^(.*?)\.(\w+)$/.exec(t);if(!e)return;const s=create(e[1]);if(!s)return;return s+c+e[2]}}};const v=i.removePrefix(t,A);let S=create(v);if(S&&s.strictSlashes!==true){S+=`${f}?`}return S};t.exports=parse},631:(t,e,s)=>{"use strict";const r=s(17);const i=s(640);const n=s(986);const o=s(658);const a=s(820);const isObject=t=>t&&typeof t==="object"&&!Array.isArray(t);const picomatch=(t,e,s=false)=>{if(Array.isArray(t)){const r=t.map((t=>picomatch(t,e,s)));const arrayMatcher=t=>{for(const e of r){const s=e(t);if(s)return s}return false};return arrayMatcher}const r=isObject(t)&&t.tokens&&t.input;if(t===""||typeof t!=="string"&&!r){throw new TypeError("Expected pattern to be a non-empty string")}const i=e||{};const n=o.isWindows(e);const a=r?picomatch.compileRe(t,e):picomatch.makeRe(t,e,false,true);const u=a.state;delete a.state;let isIgnored=()=>false;if(i.ignore){const t={...e,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch(i.ignore,t,s)}const matcher=(s,r=false)=>{const{isMatch:o,match:l,output:c}=picomatch.test(s,a,e,{glob:t,posix:n});const f={glob:t,state:u,regex:a,posix:n,input:s,output:c,match:l,isMatch:o};if(typeof i.onResult==="function"){i.onResult(f)}if(o===false){f.isMatch=false;return r?f:false}if(isIgnored(s)){if(typeof i.onIgnore==="function"){i.onIgnore(f)}f.isMatch=false;return r?f:false}if(typeof i.onMatch==="function"){i.onMatch(f)}return r?f:true};if(s){matcher.state=u}return matcher};picomatch.test=(t,e,s,{glob:r,posix:i}={})=>{if(typeof t!=="string"){throw new TypeError("Expected input to be a string")}if(t===""){return{isMatch:false,output:""}}const n=s||{};const a=n.format||(i?o.toPosixSlashes:null);let u=t===r;let l=u&&a?a(t):t;if(u===false){l=a?a(t):t;u=l===r}if(u===false||n.capture===true){if(n.matchBase===true||n.basename===true){u=picomatch.matchBase(t,e,s,i)}else{u=e.exec(l)}}return{isMatch:Boolean(u),match:u,output:l}};picomatch.matchBase=(t,e,s,i=o.isWindows(s))=>{const n=e instanceof RegExp?e:picomatch.makeRe(e,s);return n.test(r.basename(t))};picomatch.isMatch=(t,e,s)=>picomatch(e,s)(t);picomatch.parse=(t,e)=>{if(Array.isArray(t))return t.map((t=>picomatch.parse(t,e)));return n(t,{...e,fastpaths:false})};picomatch.scan=(t,e)=>i(t,e);picomatch.compileRe=(t,e,s=false,r=false)=>{if(s===true){return t.output}const i=e||{};const n=i.contains?"":"^";const o=i.contains?"":"$";let a=`${n}(?:${t.output})${o}`;if(t&&t.negated===true){a=`^(?!${a}).*$`}const u=picomatch.toRegex(a,e);if(r===true){u.state=t}return u};picomatch.makeRe=(t,e={},s=false,r=false)=>{if(!t||typeof t!=="string"){throw new TypeError("Expected a non-empty string")}let i={negated:false,fastpaths:true};if(e.fastpaths!==false&&(t[0]==="."||t[0]==="*")){i.output=n.fastpaths(t,e)}if(!i.output){i=n(t,e)}return picomatch.compileRe(i,e,s,r)};picomatch.toRegex=(t,e)=>{try{const s=e||{};return new RegExp(t,s.flags||(s.nocase?"i":""))}catch(t){if(e&&e.debug===true)throw t;return/$^/}};picomatch.constants=a;t.exports=picomatch},640:(t,e,s)=>{"use strict";const r=s(658);const{CHAR_ASTERISK:i,CHAR_AT:n,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_PLUS:d,CHAR_QUESTION_MARK:_,CHAR_RIGHT_CURLY_BRACE:E,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:m}=s(820);const isPathSeparator=t=>t===c||t===o;const depth=t=>{if(t.isPrefix!==true){t.depth=t.isGlobstar?Infinity:1}};const scan=(t,e)=>{const s=e||{};const y=t.length-1;const R=s.parts===true||s.scanToEnd===true;const w=[];const A=[];const b=[];let v=t;let S=-1;let C=0;let x=0;let T=false;let H=false;let O=false;let P=false;let I=false;let L=false;let N=false;let k=false;let $=false;let D=false;let F=0;let M;let W;let G={value:"",depth:0,isGlob:false};const eos=()=>S>=y;const peek=()=>v.charCodeAt(S+1);const advance=()=>{M=W;return v.charCodeAt(++S)};while(S<y){W=advance();let t;if(W===o){N=G.backslashes=true;W=advance();if(W===f){L=true}continue}if(L===true||W===f){F++;while(eos()!==true&&(W=advance())){if(W===o){N=G.backslashes=true;advance();continue}if(W===f){F++;continue}if(L!==true&&W===u&&(W=advance())===u){T=G.isBrace=true;O=G.isGlob=true;D=true;if(R===true){continue}break}if(L!==true&&W===a){T=G.isBrace=true;O=G.isGlob=true;D=true;if(R===true){continue}break}if(W===E){F--;if(F===0){L=false;T=G.isBrace=true;D=true;break}}}if(R===true){continue}break}if(W===c){w.push(S);A.push(G);G={value:"",depth:0,isGlob:false};if(D===true)continue;if(M===u&&S===C+1){C+=2;continue}x=S+1;continue}if(s.noext!==true){const t=W===d||W===n||W===i||W===_||W===l;if(t===true&&peek()===h){O=G.isGlob=true;P=G.isExtglob=true;D=true;if(W===l&&S===C){$=true}if(R===true){while(eos()!==true&&(W=advance())){if(W===o){N=G.backslashes=true;W=advance();continue}if(W===g){O=G.isGlob=true;D=true;break}}continue}break}}if(W===i){if(M===i)I=G.isGlobstar=true;O=G.isGlob=true;D=true;if(R===true){continue}break}if(W===_){O=G.isGlob=true;D=true;if(R===true){continue}break}if(W===p){while(eos()!==true&&(t=advance())){if(t===o){N=G.backslashes=true;advance();continue}if(t===m){H=G.isBracket=true;O=G.isGlob=true;D=true;break}}if(R===true){continue}break}if(s.nonegate!==true&&W===l&&S===C){k=G.negated=true;C++;continue}if(s.noparen!==true&&W===h){O=G.isGlob=true;if(R===true){while(eos()!==true&&(W=advance())){if(W===h){N=G.backslashes=true;W=advance();continue}if(W===g){D=true;break}}continue}break}if(O===true){D=true;if(R===true){continue}break}}if(s.noext===true){P=false;O=false}let B=v;let U="";let K="";if(C>0){U=v.slice(0,C);v=v.slice(C);x-=C}if(B&&O===true&&x>0){B=v.slice(0,x);K=v.slice(x)}else if(O===true){B="";K=v}else{B=v}if(B&&B!==""&&B!=="/"&&B!==v){if(isPathSeparator(B.charCodeAt(B.length-1))){B=B.slice(0,-1)}}if(s.unescape===true){if(K)K=r.removeBackslashes(K);if(B&&N===true){B=r.removeBackslashes(B)}}const V={prefix:U,input:t,start:C,base:B,glob:K,isBrace:T,isBracket:H,isGlob:O,isExtglob:P,isGlobstar:I,negated:k,negatedExtglob:$};if(s.tokens===true){V.maxDepth=0;if(!isPathSeparator(W)){A.push(G)}V.tokens=A}if(s.parts===true||s.tokens===true){let e;for(let r=0;r<w.length;r++){const i=e?e+1:C;const n=w[r];const o=t.slice(i,n);if(s.tokens){if(r===0&&C!==0){A[r].isPrefix=true;A[r].value=U}else{A[r].value=o}depth(A[r]);V.maxDepth+=A[r].depth}if(r!==0||o!==""){b.push(o)}e=n}if(e&&e+1<t.length){const r=t.slice(e+1);b.push(r);if(s.tokens){A[A.length-1].value=r;depth(A[A.length-1]);V.maxDepth+=A[A.length-1].depth}}V.slashes=w;V.parts=b}return V};t.exports=scan},658:(t,e,s)=>{"use strict";const r=s(17);const i=process.platform==="win32";const{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:u}=s(820);e.isObject=t=>t!==null&&typeof t==="object"&&!Array.isArray(t);e.hasRegexChars=t=>a.test(t);e.isRegexChar=t=>t.length===1&&e.hasRegexChars(t);e.escapeRegex=t=>t.replace(u,"\\$1");e.toPosixSlashes=t=>t.replace(n,"/");e.removeBackslashes=t=>t.replace(o,(t=>t==="\\"?"":t));e.supportsLookbehinds=()=>{const t=process.version.slice(1).split(".").map(Number);if(t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10){return true}return false};e.isWindows=t=>{if(t&&typeof t.windows==="boolean"){return t.windows}return i===true||r.sep==="\\"};e.escapeLast=(t,s,r)=>{const i=t.lastIndexOf(s,r);if(i===-1)return t;if(t[i-1]==="\\")return e.escapeLast(t,s,i-1);return`${t.slice(0,i)}\\${t.slice(i)}`};e.removePrefix=(t,e={})=>{let s=t;if(s.startsWith("./")){s=s.slice(2);e.prefix="./"}return s};e.wrapOutput=(t,e={},s={})=>{const r=s.contains?"":"^";const i=s.contains?"":"$";let n=`${r}(?:${t})${i}`;if(e.negated===true){n=`(?:^(?!${n}).*$)`}return n}},559:(t,e,s)=>{"use strict";const r=s(147);const{Readable:i}=s(781);const n=s(17);const{promisify:o}=s(837);const a=s(376);const u=o(r.readdir);const l=o(r.stat);const c=o(r.lstat);const f=o(r.realpath);const h="!";const p="READDIRP_RECURSIVE_ERROR";const d=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]);const _="files";const E="directories";const g="files_directories";const m="all";const y=[_,E,g,m];const isNormalFlowError=t=>d.has(t.code);const[R,w]=process.versions.node.split(".").slice(0,2).map((t=>Number.parseInt(t,10)));const A=process.platform==="win32"&&(R>10||R===10&&w>=5);const normalizeFilter=t=>{if(t===undefined)return;if(typeof t==="function")return t;if(typeof t==="string"){const e=a(t.trim());return t=>e(t.basename)}if(Array.isArray(t)){const e=[];const s=[];for(const r of t){const t=r.trim();if(t.charAt(0)===h){s.push(a(t.slice(1)))}else{e.push(a(t))}}if(s.length>0){if(e.length>0){return t=>e.some((e=>e(t.basename)))&&!s.some((e=>e(t.basename)))}return t=>!s.some((e=>e(t.basename)))}return t=>e.some((e=>e(t.basename)))}};class ReaddirpStream extends i{static get defaultOptions(){return{root:".",fileFilter:t=>true,directoryFilter:t=>true,type:_,lstat:false,depth:2147483648,alwaysStat:false}}constructor(t={}){super({objectMode:true,autoDestroy:true,highWaterMark:t.highWaterMark||4096});const e={...ReaddirpStream.defaultOptions,...t};const{root:s,type:i}=e;this._fileFilter=normalizeFilter(e.fileFilter);this._directoryFilter=normalizeFilter(e.directoryFilter);const o=e.lstat?c:l;if(A){this._stat=t=>o(t,{bigint:true})}else{this._stat=o}this._maxDepth=e.depth;this._wantsDir=[E,g,m].includes(i);this._wantsFile=[_,g,m].includes(i);this._wantsEverything=i===m;this._root=n.resolve(s);this._isDirent="Dirent"in r&&!e.alwaysStat;this._statsProp=this._isDirent?"dirent":"stats";this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent};this.parents=[this._exploreDir(s,1)];this.reading=false;this.parent=undefined}async _read(t){if(this.reading)return;this.reading=true;try{while(!this.destroyed&&t>0){const{path:e,depth:s,files:r=[]}=this.parent||{};if(r.length>0){const i=r.splice(0,t).map((t=>this._formatEntry(t,e)));for(const e of await Promise.all(i)){if(this.destroyed)return;const r=await this._getEntryType(e);if(r==="directory"&&this._directoryFilter(e)){if(s<=this._maxDepth){this.parents.push(this._exploreDir(e.fullPath,s+1))}if(this._wantsDir){this.push(e);t--}}else if((r==="file"||this._includeAsFile(e))&&this._fileFilter(e)){if(this._wantsFile){this.push(e);t--}}}}else{const t=this.parents.pop();if(!t){this.push(null);break}this.parent=await t;if(this.destroyed)return}}}catch(t){this.destroy(t)}finally{this.reading=false}}async _exploreDir(t,e){let s;try{s=await u(t,this._rdOptions)}catch(t){this._onError(t)}return{files:s,depth:e,path:t}}async _formatEntry(t,e){let s;try{const r=this._isDirent?t.name:t;const i=n.resolve(n.join(e,r));s={path:n.relative(this._root,i),fullPath:i,basename:r};s[this._statsProp]=this._isDirent?t:await this._stat(i)}catch(t){this._onError(t)}return s}_onError(t){if(isNormalFlowError(t)&&!this.destroyed){this.emit("warn",t)}else{this.destroy(t)}}async _getEntryType(t){const e=t&&t[this._statsProp];if(!e){return}if(e.isFile()){return"file"}if(e.isDirectory()){return"directory"}if(e&&e.isSymbolicLink()){const e=t.fullPath;try{const t=await f(e);const s=await c(t);if(s.isFile()){return"file"}if(s.isDirectory()){const s=t.length;if(e.startsWith(t)&&e.substr(s,1)===n.sep){const s=new Error(`Circular symlink detected: "${e}" points to "${t}"`);s.code=p;return this._onError(s)}return"directory"}}catch(t){this._onError(t)}}}_includeAsFile(t){const e=t&&t[this._statsProp];return e&&this._wantsEverything&&!e.isDirectory()}}const readdirp=(t,e={})=>{let s=e.entryType||e.type;if(s==="both")s=g;if(s)e.type=s;if(!t){throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)")}else if(typeof t!=="string"){throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)")}else if(s&&!y.includes(s)){throw new Error(`readdirp: Invalid type passed. Use one of ${y.join(", ")}`)}e.root=t;return new ReaddirpStream(e)};const readdirpPromise=(t,e={})=>new Promise(((s,r)=>{const i=[];readdirp(t,e).on("data",(t=>i.push(t))).on("end",(()=>s(i))).on("error",(t=>r(t)))}));readdirp.promise=readdirpPromise;readdirp.ReaddirpStream=ReaddirpStream;readdirp.default=readdirp;t.exports=readdirp},211:(t,e,s)=>{"use strict";
|
35
|
-
/*!
|
36
|
-
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
37
|
-
*
|
38
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
39
|
-
* Released under the MIT License.
|
40
|
-
*/const r=s(387);const toRegexRange=(t,e,s)=>{if(r(t)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(e===void 0||t===e){return String(t)}if(r(e)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let i={relaxZeros:true,...s};if(typeof i.strictZeros==="boolean"){i.relaxZeros=i.strictZeros===false}let n=String(i.relaxZeros);let o=String(i.shorthand);let a=String(i.capture);let u=String(i.wrap);let l=t+":"+e+"="+n+o+a+u;if(toRegexRange.cache.hasOwnProperty(l)){return toRegexRange.cache[l].result}let c=Math.min(t,e);let f=Math.max(t,e);if(Math.abs(c-f)===1){let s=t+"|"+e;if(i.capture){return`(${s})`}if(i.wrap===false){return s}return`(?:${s})`}let h=hasPadding(t)||hasPadding(e);let p={min:t,max:e,a:c,b:f};let d=[];let _=[];if(h){p.isPadded=h;p.maxLen=String(p.max).length}if(c<0){let t=f<0?Math.abs(f):1;_=splitToPatterns(t,Math.abs(c),p,i);c=p.a=0}if(f>=0){d=splitToPatterns(c,f,p,i)}p.negatives=_;p.positives=d;p.result=collatePatterns(_,d,i);if(i.capture===true){p.result=`(${p.result})`}else if(i.wrap!==false&&d.length+_.length>1){p.result=`(?:${p.result})`}toRegexRange.cache[l]=p;return p.result};function collatePatterns(t,e,s){let r=filterPatterns(t,e,"-",false,s)||[];let i=filterPatterns(e,t,"",false,s)||[];let n=filterPatterns(t,e,"-?",true,s)||[];let o=r.concat(n).concat(i);return o.join("|")}function splitToRanges(t,e){let s=1;let r=1;let i=countNines(t,s);let n=new Set([e]);while(t<=i&&i<=e){n.add(i);s+=1;i=countNines(t,s)}i=countZeros(e+1,r)-1;while(t<i&&i<=e){n.add(i);r+=1;i=countZeros(e+1,r)-1}n=[...n];n.sort(compare);return n}function rangeToPattern(t,e,s){if(t===e){return{pattern:t,count:[],digits:0}}let r=zip(t,e);let i=r.length;let n="";let o=0;for(let t=0;t<i;t++){let[e,i]=r[t];if(e===i){n+=e}else if(e!=="0"||i!=="9"){n+=toCharacterClass(e,i,s)}else{o++}}if(o){n+=s.shorthand===true?"\\d":"[0-9]"}return{pattern:n,count:[o],digits:i}}function splitToPatterns(t,e,s,r){let i=splitToRanges(t,e);let n=[];let o=t;let a;for(let t=0;t<i.length;t++){let e=i[t];let u=rangeToPattern(String(o),String(e),r);let l="";if(!s.isPadded&&a&&a.pattern===u.pattern){if(a.count.length>1){a.count.pop()}a.count.push(u.count[0]);a.string=a.pattern+toQuantifier(a.count);o=e+1;continue}if(s.isPadded){l=padZeros(e,s,r)}u.string=l+u.pattern+toQuantifier(u.count);n.push(u);o=e+1;a=u}return n}function filterPatterns(t,e,s,r,i){let n=[];for(let i of t){let{string:t}=i;if(!r&&!contains(e,"string",t)){n.push(s+t)}if(r&&contains(e,"string",t)){n.push(s+t)}}return n}function zip(t,e){let s=[];for(let r=0;r<t.length;r++)s.push([t[r],e[r]]);return s}function compare(t,e){return t>e?1:e>t?-1:0}function contains(t,e,s){return t.some((t=>t[e]===s))}function countNines(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function countZeros(t,e){return t-t%Math.pow(10,e)}function toQuantifier(t){let[e=0,s=""]=t;if(s||e>1){return`{${e+(s?","+s:"")}}`}return""}function toCharacterClass(t,e,s){return`[${t}${e-t===1?"":"-"}${e}]`}function hasPadding(t){return/^-?(0+)\d/.test(t)}function padZeros(t,e,s){if(!e.isPadded){return t}let r=Math.abs(e.maxLen-String(t).length);let i=s.relaxZeros!==false;switch(r){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:{return i?`0{0,${r}}`:`0{${r}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};t.exports=toRegexRange},653:(t,e,s)=>{t.exports=require(s.ab+"fsevents.node")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},37:t=>{"use strict";t.exports=require("os")},17:t=>{"use strict";t.exports=require("path")},781:t=>{"use strict";t.exports=require("stream")},837:t=>{"use strict";t.exports=require("util")},600:t=>{"use strict";t.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')}};var e={};function __nccwpck_require__(s){var r=e[s];if(r!==undefined){return r.exports}var i=e[s]={exports:{}};var n=true;try{t[s](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete e[s]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var s={};(()=>{"use strict";var t=s;const{EventEmitter:e}=__nccwpck_require__(361);const r=__nccwpck_require__(147);const i=__nccwpck_require__(17);const{promisify:n}=__nccwpck_require__(837);const o=__nccwpck_require__(559);const a=__nccwpck_require__(372)["default"];const u=__nccwpck_require__(976);const l=__nccwpck_require__(654);const c=__nccwpck_require__(570);const f=__nccwpck_require__(498);const h=__nccwpck_require__(254);const p=__nccwpck_require__(578);const{EV_ALL:d,EV_READY:_,EV_ADD:E,EV_CHANGE:g,EV_UNLINK:m,EV_ADD_DIR:y,EV_UNLINK_DIR:R,EV_RAW:w,EV_ERROR:A,STR_CLOSE:b,STR_END:v,BACK_SLASH_RE:S,DOUBLE_SLASH_RE:C,SLASH_OR_BACK_SLASH_RE:x,DOT_RE:T,REPLACER_RE:H,SLASH:O,SLASH_SLASH:P,BRACE_START:I,BANG:L,ONE_DOT:N,TWO_DOTS:k,GLOBSTAR:$,SLASH_GLOBSTAR:D,ANYMATCH_OPTS:F,STRING_TYPE:M,FUNCTION_TYPE:W,EMPTY_STR:G,EMPTY_FN:B,isWindows:U,isMacos:K,isIBMi:V}=__nccwpck_require__(240);const j=n(r.stat);const Y=n(r.readdir);const arrify=(t=[])=>Array.isArray(t)?t:[t];const flatten=(t,e=[])=>{t.forEach((t=>{if(Array.isArray(t)){flatten(t,e)}else{e.push(t)}}));return e};const unifyPaths=t=>{const e=flatten(arrify(t));if(!e.every((t=>typeof t===M))){throw new TypeError(`Non-string provided as watch path: ${e}`)}return e.map(normalizePathToUnix)};const toUnix=t=>{let e=t.replace(S,O);let s=false;if(e.startsWith(P)){s=true}while(e.match(C)){e=e.replace(C,O)}if(s){e=O+e}return e};const normalizePathToUnix=t=>toUnix(i.normalize(toUnix(t)));const normalizeIgnored=(t=G)=>e=>{if(typeof e!==M)return e;return normalizePathToUnix(i.isAbsolute(e)?e:i.join(t,e))};const getAbsolutePath=(t,e)=>{if(i.isAbsolute(t)){return t}if(t.startsWith(L)){return L+i.join(e,t.slice(1))}return i.join(e,t)};const undef=(t,e)=>t[e]===undefined;class DirEntry{constructor(t,e){this.path=t;this._removeWatcher=e;this.items=new Set}add(t){const{items:e}=this;if(!e)return;if(t!==N&&t!==k)e.add(t)}async remove(t){const{items:e}=this;if(!e)return;e.delete(t);if(e.size>0)return;const s=this.path;try{await Y(s)}catch(t){if(this._removeWatcher){this._removeWatcher(i.dirname(s),i.basename(s))}}}has(t){const{items:e}=this;if(!e)return;return e.has(t)}getChildren(){const{items:t}=this;if(!t)return;return[...t.values()]}dispose(){this.items.clear();delete this.path;delete this._removeWatcher;delete this.items;Object.freeze(this)}}const z="stat";const q="lstat";class WatchHelper{constructor(t,e,s,r){this.fsw=r;this.path=t=t.replace(H,G);this.watchPath=e;this.fullWatchPath=i.resolve(e);this.hasGlob=e!==t;if(t===G)this.hasGlob=false;this.globSymlink=this.hasGlob&&s?undefined:false;this.globFilter=this.hasGlob?a(t,undefined,F):false;this.dirParts=this.getDirParts(t);this.dirParts.forEach((t=>{if(t.length>1)t.pop()}));this.followSymlinks=s;this.statMethod=s?z:q}checkGlobSymlink(t){if(this.globSymlink===undefined){this.globSymlink=t.fullParentDir===this.fullWatchPath?false:{realPath:t.fullParentDir,linkPath:this.fullWatchPath}}if(this.globSymlink){return t.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath)}return t.fullPath}entryPath(t){return i.join(this.watchPath,i.relative(this.watchPath,this.checkGlobSymlink(t)))}filterPath(t){const{stats:e}=t;if(e&&e.isSymbolicLink())return this.filterDir(t);const s=this.entryPath(t);const r=this.hasGlob&&typeof this.globFilter===W?this.globFilter(s):true;return r&&this.fsw._isntIgnored(s,e)&&this.fsw._hasReadPermissions(e)}getDirParts(t){if(!this.hasGlob)return[];const e=[];const s=t.includes(I)?c.expand(t):[t];s.forEach((t=>{e.push(i.relative(this.watchPath,t).split(x))}));return e}filterDir(t){if(this.hasGlob){const e=this.getDirParts(this.checkGlobSymlink(t));let s=false;this.unmatchedGlob=!this.dirParts.some((t=>t.every(((t,r)=>{if(t===$)s=true;return s||!e[0][r]||a(t,e[0][r],F)}))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(t),t.stats)}}class FSWatcher extends e{constructor(t){super();const e={};if(t)Object.assign(e,t);this._watched=new Map;this._closers=new Map;this._ignoredPaths=new Set;this._throttled=new Map;this._symlinkPaths=new Map;this._streams=new Set;this.closed=false;if(undef(e,"persistent"))e.persistent=true;if(undef(e,"ignoreInitial"))e.ignoreInitial=false;if(undef(e,"ignorePermissionErrors"))e.ignorePermissionErrors=false;if(undef(e,"interval"))e.interval=100;if(undef(e,"binaryInterval"))e.binaryInterval=300;if(undef(e,"disableGlobbing"))e.disableGlobbing=false;e.enableBinaryInterval=e.binaryInterval!==e.interval;if(undef(e,"useFsEvents"))e.useFsEvents=!e.usePolling;const s=p.canUse();if(!s)e.useFsEvents=false;if(undef(e,"usePolling")&&!e.useFsEvents){e.usePolling=K}if(V){e.usePolling=true}const r=process.env.CHOKIDAR_USEPOLLING;if(r!==undefined){const t=r.toLowerCase();if(t==="false"||t==="0"){e.usePolling=false}else if(t==="true"||t==="1"){e.usePolling=true}else{e.usePolling=!!t}}const i=process.env.CHOKIDAR_INTERVAL;if(i){e.interval=Number.parseInt(i,10)}if(undef(e,"atomic"))e.atomic=!e.usePolling&&!e.useFsEvents;if(e.atomic)this._pendingUnlinks=new Map;if(undef(e,"followSymlinks"))e.followSymlinks=true;if(undef(e,"awaitWriteFinish"))e.awaitWriteFinish=false;if(e.awaitWriteFinish===true)e.awaitWriteFinish={};const n=e.awaitWriteFinish;if(n){if(!n.stabilityThreshold)n.stabilityThreshold=2e3;if(!n.pollInterval)n.pollInterval=100;this._pendingWrites=new Map}if(e.ignored)e.ignored=arrify(e.ignored);let o=0;this._emitReady=()=>{o++;if(o>=this._readyCount){this._emitReady=B;this._readyEmitted=true;process.nextTick((()=>this.emit(_)))}};this._emitRaw=(...t)=>this.emit(w,...t);this._readyEmitted=false;this.options=e;if(e.useFsEvents){this._fsEventsHandler=new p(this)}else{this._nodeFsHandler=new h(this)}Object.freeze(e)}add(t,e,s){const{cwd:r,disableGlobbing:n}=this.options;this.closed=false;let o=unifyPaths(t);if(r){o=o.map((t=>{const e=getAbsolutePath(t,r);if(n||!l(t)){return e}return f(e)}))}o=o.filter((t=>{if(t.startsWith(L)){this._ignoredPaths.add(t.slice(1));return false}this._ignoredPaths.delete(t);this._ignoredPaths.delete(t+D);this._userIgnored=undefined;return true}));if(this.options.useFsEvents&&this._fsEventsHandler){if(!this._readyCount)this._readyCount=o.length;if(this.options.persistent)this._readyCount*=2;o.forEach((t=>this._fsEventsHandler._addToFsEvents(t)))}else{if(!this._readyCount)this._readyCount=0;this._readyCount+=o.length;Promise.all(o.map((async t=>{const r=await this._nodeFsHandler._addToNodeFs(t,!s,0,0,e);if(r)this._emitReady();return r}))).then((t=>{if(this.closed)return;t.filter((t=>t)).forEach((t=>{this.add(i.dirname(t),i.basename(e||t))}))}))}return this}unwatch(t){if(this.closed)return this;const e=unifyPaths(t);const{cwd:s}=this.options;e.forEach((t=>{if(!i.isAbsolute(t)&&!this._closers.has(t)){if(s)t=i.join(s,t);t=i.resolve(t)}this._closePath(t);this._ignoredPaths.add(t);if(this._watched.has(t)){this._ignoredPaths.add(t+D)}this._userIgnored=undefined}));return this}close(){if(this.closed)return this._closePromise;this.closed=true;this.removeAllListeners();const t=[];this._closers.forEach((e=>e.forEach((e=>{const s=e();if(s instanceof Promise)t.push(s)}))));this._streams.forEach((t=>t.destroy()));this._userIgnored=undefined;this._readyCount=0;this._readyEmitted=false;this._watched.forEach((t=>t.dispose()));["closers","watched","streams","symlinkPaths","throttled"].forEach((t=>{this[`_${t}`].clear()}));this._closePromise=t.length?Promise.all(t).then((()=>undefined)):Promise.resolve();return this._closePromise}getWatched(){const t={};this._watched.forEach(((e,s)=>{const r=this.options.cwd?i.relative(this.options.cwd,s):s;t[r||N]=e.getChildren().sort()}));return t}emitWithAll(t,e){this.emit(...e);if(t!==A)this.emit(d,...e)}async _emit(t,e,s,r,n){if(this.closed)return;const o=this.options;if(U)e=i.normalize(e);if(o.cwd)e=i.relative(o.cwd,e);const a=[t,e];if(n!==undefined)a.push(s,r,n);else if(r!==undefined)a.push(s,r);else if(s!==undefined)a.push(s);const u=o.awaitWriteFinish;let l;if(u&&(l=this._pendingWrites.get(e))){l.lastChange=new Date;return this}if(o.atomic){if(t===m){this._pendingUnlinks.set(e,a);setTimeout((()=>{this._pendingUnlinks.forEach(((t,e)=>{this.emit(...t);this.emit(d,...t);this._pendingUnlinks.delete(e)}))}),typeof o.atomic==="number"?o.atomic:100);return this}if(t===E&&this._pendingUnlinks.has(e)){t=a[0]=g;this._pendingUnlinks.delete(e)}}if(u&&(t===E||t===g)&&this._readyEmitted){const awfEmit=(e,s)=>{if(e){t=a[0]=A;a[1]=e;this.emitWithAll(t,a)}else if(s){if(a.length>2){a[2]=s}else{a.push(s)}this.emitWithAll(t,a)}};this._awaitWriteFinish(e,u.stabilityThreshold,t,awfEmit);return this}if(t===g){const t=!this._throttle(g,e,50);if(t)return this}if(o.alwaysStat&&s===undefined&&(t===E||t===y||t===g)){const t=o.cwd?i.join(o.cwd,e):e;let s;try{s=await j(t)}catch(t){}if(!s||this.closed)return;a.push(s)}this.emitWithAll(t,a);return this}_handleError(t){const e=t&&t.code;if(t&&e!=="ENOENT"&&e!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||e!=="EPERM"&&e!=="EACCES")){this.emit(A,t)}return t||this.closed}_throttle(t,e,s){if(!this._throttled.has(t)){this._throttled.set(t,new Map)}const r=this._throttled.get(t);const i=r.get(e);if(i){i.count++;return false}let n;const clear=()=>{const t=r.get(e);const s=t?t.count:0;r.delete(e);clearTimeout(n);if(t)clearTimeout(t.timeoutObject);return s};n=setTimeout(clear,s);const o={timeoutObject:n,clear:clear,count:0};r.set(e,o);return o}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(t,e,s,n){let o;let a=t;if(this.options.cwd&&!i.isAbsolute(t)){a=i.join(this.options.cwd,t)}const u=new Date;const awaitWriteFinish=s=>{r.stat(a,((r,i)=>{if(r||!this._pendingWrites.has(t)){if(r&&r.code!=="ENOENT")n(r);return}const a=Number(new Date);if(s&&i.size!==s.size){this._pendingWrites.get(t).lastChange=a}const u=this._pendingWrites.get(t);const l=a-u.lastChange;if(l>=e){this._pendingWrites.delete(t);n(undefined,i)}else{o=setTimeout(awaitWriteFinish,this.options.awaitWriteFinish.pollInterval,i)}}))};if(!this._pendingWrites.has(t)){this._pendingWrites.set(t,{lastChange:u,cancelWait:()=>{this._pendingWrites.delete(t);clearTimeout(o);return s}});o=setTimeout(awaitWriteFinish,this.options.awaitWriteFinish.pollInterval)}}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(t,e){if(this.options.atomic&&T.test(t))return true;if(!this._userIgnored){const{cwd:t}=this.options;const e=this.options.ignored;const s=e&&e.map(normalizeIgnored(t));const r=arrify(s).filter((t=>typeof t===M&&!l(t))).map((t=>t+D));const i=this._getGlobIgnored().map(normalizeIgnored(t)).concat(s,r);this._userIgnored=a(i,undefined,F)}return this._userIgnored([t,e])}_isntIgnored(t,e){return!this._isIgnored(t,e)}_getWatchHelpers(t,e){const s=e||this.options.disableGlobbing||!l(t)?t:u(t);const r=this.options.followSymlinks;return new WatchHelper(t,s,r,this)}_getWatchedDir(t){if(!this._boundRemove)this._boundRemove=this._remove.bind(this);const e=i.resolve(t);if(!this._watched.has(e))this._watched.set(e,new DirEntry(e,this._boundRemove));return this._watched.get(e)}_hasReadPermissions(t){if(this.options.ignorePermissionErrors)return true;const e=t&&Number.parseInt(t.mode,10);const s=e&511;const r=Number.parseInt(s.toString(8)[0],10);return Boolean(4&r)}_remove(t,e,s){const r=i.join(t,e);const n=i.resolve(r);s=s!=null?s:this._watched.has(r)||this._watched.has(n);if(!this._throttle("remove",r,100))return;if(!s&&!this.options.useFsEvents&&this._watched.size===1){this.add(t,e,true)}const o=this._getWatchedDir(r);const a=o.getChildren();a.forEach((t=>this._remove(r,t)));const u=this._getWatchedDir(t);const l=u.has(e);u.remove(e);if(this._symlinkPaths.has(n)){this._symlinkPaths.delete(n)}let c=r;if(this.options.cwd)c=i.relative(this.options.cwd,r);if(this.options.awaitWriteFinish&&this._pendingWrites.has(c)){const t=this._pendingWrites.get(c).cancelWait();if(t===E)return}this._watched.delete(r);this._watched.delete(n);const f=s?R:m;if(l&&!this._isIgnored(r))this._emit(f,r);if(!this.options.useFsEvents){this._closePath(r)}}_closePath(t){this._closeFile(t);const e=i.dirname(t);this._getWatchedDir(e).remove(i.basename(t))}_closeFile(t){const e=this._closers.get(t);if(!e)return;e.forEach((t=>t()));this._closers.delete(t)}_addPathCloser(t,e){if(!e)return;let s=this._closers.get(t);if(!s){s=[];this._closers.set(t,s)}s.push(e)}_readdirp(t,e){if(this.closed)return;const s={type:d,alwaysStat:true,lstat:true,...e};let r=o(t,s);this._streams.add(r);r.once(b,(()=>{r=undefined}));r.once(v,(()=>{if(r){this._streams.delete(r);r=undefined}}));return r}}t.FSWatcher=FSWatcher;const watch=(t,e)=>{const s=new FSWatcher(e);s.add(t);return s};t.watch=watch})();module.exports=s})();
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the “Software”), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"chokidar","author":"Paul Miller (https://paulmillr.com)","version":"3.5.3","funding":[{"type":"individual","url":"https://paulmillr.com/funding/"}],"license":"MIT","types":"./types/index.d.ts"}
|
@@ -1,188 +0,0 @@
|
|
1
|
-
// TypeScript Version: 3.0
|
2
|
-
|
3
|
-
/// <reference types="node" />
|
4
|
-
|
5
|
-
import * as fs from 'fs';
|
6
|
-
import { EventEmitter } from 'events';
|
7
|
-
import { Matcher } from '../anymatch';
|
8
|
-
|
9
|
-
export class FSWatcher extends EventEmitter implements fs.FSWatcher {
|
10
|
-
options: WatchOptions;
|
11
|
-
|
12
|
-
/**
|
13
|
-
* Constructs a new FSWatcher instance with optional WatchOptions parameter.
|
14
|
-
*/
|
15
|
-
constructor(options?: WatchOptions);
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Add files, directories, or glob patterns for tracking. Takes an array of strings or just one
|
19
|
-
* string.
|
20
|
-
*/
|
21
|
-
add(paths: string | ReadonlyArray<string>): this;
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Stop watching files, directories, or glob patterns. Takes an array of strings or just one
|
25
|
-
* string.
|
26
|
-
*/
|
27
|
-
unwatch(paths: string | ReadonlyArray<string>): this;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Returns an object representing all the paths on the file system being watched by this
|
31
|
-
* `FSWatcher` instance. The object's keys are all the directories (using absolute paths unless
|
32
|
-
* the `cwd` option was used), and the values are arrays of the names of the items contained in
|
33
|
-
* each directory.
|
34
|
-
*/
|
35
|
-
getWatched(): {
|
36
|
-
[directory: string]: string[];
|
37
|
-
};
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Removes all listeners from watched files.
|
41
|
-
*/
|
42
|
-
close(): Promise<void>;
|
43
|
-
|
44
|
-
on(event: 'add'|'addDir'|'change', listener: (path: string, stats?: fs.Stats) => void): this;
|
45
|
-
|
46
|
-
on(event: 'all', listener: (eventName: 'add'|'addDir'|'change'|'unlink'|'unlinkDir', path: string, stats?: fs.Stats) => void): this;
|
47
|
-
|
48
|
-
/**
|
49
|
-
* Error occurred
|
50
|
-
*/
|
51
|
-
on(event: 'error', listener: (error: Error) => void): this;
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Exposes the native Node `fs.FSWatcher events`
|
55
|
-
*/
|
56
|
-
on(event: 'raw', listener: (eventName: string, path: string, details: any) => void): this;
|
57
|
-
|
58
|
-
/**
|
59
|
-
* Fires when the initial scan is complete
|
60
|
-
*/
|
61
|
-
on(event: 'ready', listener: () => void): this;
|
62
|
-
|
63
|
-
on(event: 'unlink'|'unlinkDir', listener: (path: string) => void): this;
|
64
|
-
|
65
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
66
|
-
}
|
67
|
-
|
68
|
-
export interface WatchOptions {
|
69
|
-
/**
|
70
|
-
* Indicates whether the process should continue to run as long as files are being watched. If
|
71
|
-
* set to `false` when using `fsevents` to watch, no more events will be emitted after `ready`,
|
72
|
-
* even if the process continues to run.
|
73
|
-
*/
|
74
|
-
persistent?: boolean;
|
75
|
-
|
76
|
-
/**
|
77
|
-
* ([anymatch](https://github.com/micromatch/anymatch)-compatible definition) Defines files/paths to
|
78
|
-
* be ignored. The whole relative or absolute path is tested, not just filename. If a function
|
79
|
-
* with two arguments is provided, it gets called twice per path - once with a single argument
|
80
|
-
* (the path), second time with two arguments (the path and the
|
81
|
-
* [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object of that path).
|
82
|
-
*/
|
83
|
-
ignored?: Matcher;
|
84
|
-
|
85
|
-
/**
|
86
|
-
* If set to `false` then `add`/`addDir` events are also emitted for matching paths while
|
87
|
-
* instantiating the watching as chokidar discovers these file paths (before the `ready` event).
|
88
|
-
*/
|
89
|
-
ignoreInitial?: boolean;
|
90
|
-
|
91
|
-
/**
|
92
|
-
* When `false`, only the symlinks themselves will be watched for changes instead of following
|
93
|
-
* the link references and bubbling events through the link's path.
|
94
|
-
*/
|
95
|
-
followSymlinks?: boolean;
|
96
|
-
|
97
|
-
/**
|
98
|
-
* The base directory from which watch `paths` are to be derived. Paths emitted with events will
|
99
|
-
* be relative to this.
|
100
|
-
*/
|
101
|
-
cwd?: string;
|
102
|
-
|
103
|
-
/**
|
104
|
-
* If set to true then the strings passed to .watch() and .add() are treated as literal path
|
105
|
-
* names, even if they look like globs. Default: false.
|
106
|
-
*/
|
107
|
-
disableGlobbing?: boolean;
|
108
|
-
|
109
|
-
/**
|
110
|
-
* Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU
|
111
|
-
* utilization, consider setting this to `false`. It is typically necessary to **set this to
|
112
|
-
* `true` to successfully watch files over a network**, and it may be necessary to successfully
|
113
|
-
* watch files in other non-standard situations. Setting to `true` explicitly on OS X overrides
|
114
|
-
* the `useFsEvents` default.
|
115
|
-
*/
|
116
|
-
usePolling?: boolean;
|
117
|
-
|
118
|
-
/**
|
119
|
-
* Whether to use the `fsevents` watching interface if available. When set to `true` explicitly
|
120
|
-
* and `fsevents` is available this supercedes the `usePolling` setting. When set to `false` on
|
121
|
-
* OS X, `usePolling: true` becomes the default.
|
122
|
-
*/
|
123
|
-
useFsEvents?: boolean;
|
124
|
-
|
125
|
-
/**
|
126
|
-
* If relying upon the [`fs.Stats`](https://nodejs.org/api/fs.html#fs_class_fs_stats) object that
|
127
|
-
* may get passed with `add`, `addDir`, and `change` events, set this to `true` to ensure it is
|
128
|
-
* provided even in cases where it wasn't already available from the underlying watch events.
|
129
|
-
*/
|
130
|
-
alwaysStat?: boolean;
|
131
|
-
|
132
|
-
/**
|
133
|
-
* If set, limits how many levels of subdirectories will be traversed.
|
134
|
-
*/
|
135
|
-
depth?: number;
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Interval of file system polling.
|
139
|
-
*/
|
140
|
-
interval?: number;
|
141
|
-
|
142
|
-
/**
|
143
|
-
* Interval of file system polling for binary files. ([see list of binary extensions](https://gi
|
144
|
-
* thub.com/sindresorhus/binary-extensions/blob/master/binary-extensions.json))
|
145
|
-
*/
|
146
|
-
binaryInterval?: number;
|
147
|
-
|
148
|
-
/**
|
149
|
-
* Indicates whether to watch files that don't have read permissions if possible. If watching
|
150
|
-
* fails due to `EPERM` or `EACCES` with this set to `true`, the errors will be suppressed
|
151
|
-
* silently.
|
152
|
-
*/
|
153
|
-
ignorePermissionErrors?: boolean;
|
154
|
-
|
155
|
-
/**
|
156
|
-
* `true` if `useFsEvents` and `usePolling` are `false`). Automatically filters out artifacts
|
157
|
-
* that occur when using editors that use "atomic writes" instead of writing directly to the
|
158
|
-
* source file. If a file is re-added within 100 ms of being deleted, Chokidar emits a `change`
|
159
|
-
* event rather than `unlink` then `add`. If the default of 100 ms does not work well for you,
|
160
|
-
* you can override it by setting `atomic` to a custom value, in milliseconds.
|
161
|
-
*/
|
162
|
-
atomic?: boolean | number;
|
163
|
-
|
164
|
-
/**
|
165
|
-
* can be set to an object in order to adjust timing params:
|
166
|
-
*/
|
167
|
-
awaitWriteFinish?: AwaitWriteFinishOptions | boolean;
|
168
|
-
}
|
169
|
-
|
170
|
-
export interface AwaitWriteFinishOptions {
|
171
|
-
/**
|
172
|
-
* Amount of time in milliseconds for a file size to remain constant before emitting its event.
|
173
|
-
*/
|
174
|
-
stabilityThreshold?: number;
|
175
|
-
|
176
|
-
/**
|
177
|
-
* File size polling interval.
|
178
|
-
*/
|
179
|
-
pollInterval?: number;
|
180
|
-
}
|
181
|
-
|
182
|
-
/**
|
183
|
-
* produces an instance of `FSWatcher`.
|
184
|
-
*/
|
185
|
-
export function watch(
|
186
|
-
paths: string | ReadonlyArray<string>,
|
187
|
-
options?: WatchOptions
|
188
|
-
): FSWatcher;
|
@@ -1 +0,0 @@
|
|
1
|
-
(()=>{var t={81:t=>{"use strict";t.exports=require("child_process")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},282:t=>{"use strict";t.exports=require("process")},632:(t,e,i)=>{const{Argument:n}=i(535);const{Command:s}=i(302);const{CommanderError:r,InvalidArgumentError:o}=i(796);const{Help:a}=i(519);const{Option:l}=i(437);e=t.exports=new s;e.program=e;e.Argument=n;e.Command=s;e.CommanderError=r;e.Help=a;e.InvalidArgumentError=o;e.InvalidOptionArgumentError=o;e.Option=l},535:(t,e,i)=>{const{InvalidArgumentError:n}=i(796);class Argument{constructor(t,e){this.description=e||"";this.variadic=false;this.parseArg=undefined;this.defaultValue=undefined;this.defaultValueDescription=undefined;this.argChoices=undefined;switch(t[0]){case"<":this.required=true;this._name=t.slice(1,-1);break;case"[":this.required=false;this._name=t.slice(1,-1);break;default:this.required=true;this._name=t;break}if(this._name.length>3&&this._name.slice(-3)==="..."){this.variadic=true;this._name=this._name.slice(0,-3)}}name(){return this._name}_concatValue(t,e){if(e===this.defaultValue||!Array.isArray(e)){return[t]}return e.concat(t)}default(t,e){this.defaultValue=t;this.defaultValueDescription=e;return this}argParser(t){this.parseArg=t;return this}choices(t){this.argChoices=t.slice();this.parseArg=(t,e)=>{if(!this.argChoices.includes(t)){throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`)}if(this.variadic){return this._concatValue(t,e)}return t};return this}argRequired(){this.required=true;return this}argOptional(){this.required=false;return this}}function humanReadableArgName(t){const e=t.name()+(t.variadic===true?"...":"");return t.required?"<"+e+">":"["+e+"]"}e.Argument=Argument;e.humanReadableArgName=humanReadableArgName},302:(t,e,i)=>{const n=i(361).EventEmitter;const s=i(81);const r=i(17);const o=i(147);const a=i(282);const{Argument:l,humanReadableArgName:h}=i(535);const{CommanderError:u}=i(796);const{Help:c}=i(519);const{Option:p,splitOptionFlags:m,DualOptions:d}=i(437);const{suggestSimilar:f}=i(860);class Command extends n{constructor(t){super();this.commands=[];this.options=[];this.parent=null;this._allowUnknownOption=false;this._allowExcessArguments=true;this._args=[];this.args=[];this.rawArgs=[];this.processedArgs=[];this._scriptPath=null;this._name=t||"";this._optionValues={};this._optionValueSources={};this._storeOptionsAsProperties=false;this._actionHandler=null;this._executableHandler=false;this._executableFile=null;this._executableDir=null;this._defaultCommandName=null;this._exitCallback=null;this._aliases=[];this._combineFlagAndOptionalValue=true;this._description="";this._summary="";this._argsDescription=undefined;this._enablePositionalOptions=false;this._passThroughOptions=false;this._lifeCycleHooks={};this._showHelpAfterError=false;this._showSuggestionAfterError=true;this._outputConfiguration={writeOut:t=>a.stdout.write(t),writeErr:t=>a.stderr.write(t),getOutHelpWidth:()=>a.stdout.isTTY?a.stdout.columns:undefined,getErrHelpWidth:()=>a.stderr.isTTY?a.stderr.columns:undefined,outputError:(t,e)=>e(t)};this._hidden=false;this._hasHelpOption=true;this._helpFlags="-h, --help";this._helpDescription="display help for command";this._helpShortFlag="-h";this._helpLongFlag="--help";this._addImplicitHelpCommand=undefined;this._helpCommandName="help";this._helpCommandnameAndArgs="help [command]";this._helpCommandDescription="display help for command";this._helpConfiguration={}}copyInheritedSettings(t){this._outputConfiguration=t._outputConfiguration;this._hasHelpOption=t._hasHelpOption;this._helpFlags=t._helpFlags;this._helpDescription=t._helpDescription;this._helpShortFlag=t._helpShortFlag;this._helpLongFlag=t._helpLongFlag;this._helpCommandName=t._helpCommandName;this._helpCommandnameAndArgs=t._helpCommandnameAndArgs;this._helpCommandDescription=t._helpCommandDescription;this._helpConfiguration=t._helpConfiguration;this._exitCallback=t._exitCallback;this._storeOptionsAsProperties=t._storeOptionsAsProperties;this._combineFlagAndOptionalValue=t._combineFlagAndOptionalValue;this._allowExcessArguments=t._allowExcessArguments;this._enablePositionalOptions=t._enablePositionalOptions;this._showHelpAfterError=t._showHelpAfterError;this._showSuggestionAfterError=t._showSuggestionAfterError;return this}command(t,e,i){let n=e;let s=i;if(typeof n==="object"&&n!==null){s=n;n=null}s=s||{};const[,r,o]=t.match(/([^ ]+) *(.*)/);const a=this.createCommand(r);if(n){a.description(n);a._executableHandler=true}if(s.isDefault)this._defaultCommandName=a._name;a._hidden=!!(s.noHelp||s.hidden);a._executableFile=s.executableFile||null;if(o)a.arguments(o);this.commands.push(a);a.parent=this;a.copyInheritedSettings(this);if(n)return this;return a}createCommand(t){return new Command(t)}createHelp(){return Object.assign(new c,this.configureHelp())}configureHelp(t){if(t===undefined)return this._helpConfiguration;this._helpConfiguration=t;return this}configureOutput(t){if(t===undefined)return this._outputConfiguration;Object.assign(this._outputConfiguration,t);return this}showHelpAfterError(t=true){if(typeof t!=="string")t=!!t;this._showHelpAfterError=t;return this}showSuggestionAfterError(t=true){this._showSuggestionAfterError=!!t;return this}addCommand(t,e){if(!t._name){throw new Error(`Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()`)}e=e||{};if(e.isDefault)this._defaultCommandName=t._name;if(e.noHelp||e.hidden)t._hidden=true;this.commands.push(t);t.parent=this;return this}createArgument(t,e){return new l(t,e)}argument(t,e,i,n){const s=this.createArgument(t,e);if(typeof i==="function"){s.default(n).argParser(i)}else{s.default(i)}this.addArgument(s);return this}arguments(t){t.split(/ +/).forEach((t=>{this.argument(t)}));return this}addArgument(t){const e=this._args.slice(-1)[0];if(e&&e.variadic){throw new Error(`only the last argument can be variadic '${e.name()}'`)}if(t.required&&t.defaultValue!==undefined&&t.parseArg===undefined){throw new Error(`a default value for a required argument is never used: '${t.name()}'`)}this._args.push(t);return this}addHelpCommand(t,e){if(t===false){this._addImplicitHelpCommand=false}else{this._addImplicitHelpCommand=true;if(typeof t==="string"){this._helpCommandName=t.split(" ")[0];this._helpCommandnameAndArgs=t}this._helpCommandDescription=e||this._helpCommandDescription}return this}_hasImplicitHelpCommand(){if(this._addImplicitHelpCommand===undefined){return this.commands.length&&!this._actionHandler&&!this._findCommand("help")}return this._addImplicitHelpCommand}hook(t,e){const i=["preSubcommand","preAction","postAction"];if(!i.includes(t)){throw new Error(`Unexpected value for event passed to hook : '${t}'.\nExpecting one of '${i.join("', '")}'`)}if(this._lifeCycleHooks[t]){this._lifeCycleHooks[t].push(e)}else{this._lifeCycleHooks[t]=[e]}return this}exitOverride(t){if(t){this._exitCallback=t}else{this._exitCallback=t=>{if(t.code!=="commander.executeSubCommandAsync"){throw t}else{}}}return this}_exit(t,e,i){if(this._exitCallback){this._exitCallback(new u(t,e,i))}a.exit(t)}action(t){const listener=e=>{const i=this._args.length;const n=e.slice(0,i);if(this._storeOptionsAsProperties){n[i]=this}else{n[i]=this.opts()}n.push(this);return t.apply(this,n)};this._actionHandler=listener;return this}createOption(t,e){return new p(t,e)}addOption(t){const e=t.name();const i=t.attributeName();if(t.negate){const e=t.long.replace(/^--no-/,"--");if(!this._findOption(e)){this.setOptionValueWithSource(i,t.defaultValue===undefined?true:t.defaultValue,"default")}}else if(t.defaultValue!==undefined){this.setOptionValueWithSource(i,t.defaultValue,"default")}this.options.push(t);const handleOptionValue=(e,n,s)=>{if(e==null&&t.presetArg!==undefined){e=t.presetArg}const r=this.getOptionValue(i);if(e!==null&&t.parseArg){try{e=t.parseArg(e,r)}catch(t){if(t.code==="commander.invalidArgument"){const e=`${n} ${t.message}`;this.error(e,{exitCode:t.exitCode,code:t.code})}throw t}}else if(e!==null&&t.variadic){e=t._concatValue(e,r)}if(e==null){if(t.negate){e=false}else if(t.isBoolean()||t.optional){e=true}else{e=""}}this.setOptionValueWithSource(i,e,s)};this.on("option:"+e,(e=>{const i=`error: option '${t.flags}' argument '${e}' is invalid.`;handleOptionValue(e,i,"cli")}));if(t.envVar){this.on("optionEnv:"+e,(e=>{const i=`error: option '${t.flags}' value '${e}' from env '${t.envVar}' is invalid.`;handleOptionValue(e,i,"env")}))}return this}_optionEx(t,e,i,n,s){if(typeof e==="object"&&e instanceof p){throw new Error("To add an Option object use addOption() instead of option() or requiredOption()")}const r=this.createOption(e,i);r.makeOptionMandatory(!!t.mandatory);if(typeof n==="function"){r.default(s).argParser(n)}else if(n instanceof RegExp){const t=n;n=(e,i)=>{const n=t.exec(e);return n?n[0]:i};r.default(s).argParser(n)}else{r.default(n)}return this.addOption(r)}option(t,e,i,n){return this._optionEx({},t,e,i,n)}requiredOption(t,e,i,n){return this._optionEx({mandatory:true},t,e,i,n)}combineFlagAndOptionalValue(t=true){this._combineFlagAndOptionalValue=!!t;return this}allowUnknownOption(t=true){this._allowUnknownOption=!!t;return this}allowExcessArguments(t=true){this._allowExcessArguments=!!t;return this}enablePositionalOptions(t=true){this._enablePositionalOptions=!!t;return this}passThroughOptions(t=true){this._passThroughOptions=!!t;if(!!this.parent&&t&&!this.parent._enablePositionalOptions){throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)")}return this}storeOptionsAsProperties(t=true){this._storeOptionsAsProperties=!!t;if(this.options.length){throw new Error("call .storeOptionsAsProperties() before adding options")}return this}getOptionValue(t){if(this._storeOptionsAsProperties){return this[t]}return this._optionValues[t]}setOptionValue(t,e){return this.setOptionValueWithSource(t,e,undefined)}setOptionValueWithSource(t,e,i){if(this._storeOptionsAsProperties){this[t]=e}else{this._optionValues[t]=e}this._optionValueSources[t]=i;return this}getOptionValueSource(t){return this._optionValueSources[t]}getOptionValueSourceWithGlobals(t){let e;getCommandAndParents(this).forEach((i=>{if(i.getOptionValueSource(t)!==undefined){e=i.getOptionValueSource(t)}}));return e}_prepareUserArgs(t,e){if(t!==undefined&&!Array.isArray(t)){throw new Error("first parameter to parse must be array or undefined")}e=e||{};if(t===undefined){t=a.argv;if(a.versions&&a.versions.electron){e.from="electron"}}this.rawArgs=t.slice();let i;switch(e.from){case undefined:case"node":this._scriptPath=t[1];i=t.slice(2);break;case"electron":if(a.defaultApp){this._scriptPath=t[1];i=t.slice(2)}else{i=t.slice(1)}break;case"user":i=t.slice(0);break;default:throw new Error(`unexpected parse option { from: '${e.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);this._name=this._name||"program";return i}parse(t,e){const i=this._prepareUserArgs(t,e);this._parseCommand([],i);return this}async parseAsync(t,e){const i=this._prepareUserArgs(t,e);await this._parseCommand([],i);return this}_executeSubCommand(t,e){e=e.slice();let i=false;const n=[".js",".ts",".tsx",".mjs",".cjs"];function findFile(t,e){const i=r.resolve(t,e);if(o.existsSync(i))return i;if(n.includes(r.extname(e)))return undefined;const s=n.find((t=>o.existsSync(`${i}${t}`)));if(s)return`${i}${s}`;return undefined}this._checkForMissingMandatoryOptions();this._checkForConflictingOptions();let l=t._executableFile||`${this._name}-${t._name}`;let h=this._executableDir||"";if(this._scriptPath){let t;try{t=o.realpathSync(this._scriptPath)}catch(e){t=this._scriptPath}h=r.resolve(r.dirname(t),h)}if(h){let e=findFile(h,l);if(!e&&!t._executableFile&&this._scriptPath){const i=r.basename(this._scriptPath,r.extname(this._scriptPath));if(i!==this._name){e=findFile(h,`${i}-${t._name}`)}}l=e||l}i=n.includes(r.extname(l));let c;if(a.platform!=="win32"){if(i){e.unshift(l);e=incrementNodeInspectorPort(a.execArgv).concat(e);c=s.spawn(a.argv[0],e,{stdio:"inherit"})}else{c=s.spawn(l,e,{stdio:"inherit"})}}else{e.unshift(l);e=incrementNodeInspectorPort(a.execArgv).concat(e);c=s.spawn(a.execPath,e,{stdio:"inherit"})}if(!c.killed){const t=["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"];t.forEach((t=>{a.on(t,(()=>{if(c.killed===false&&c.exitCode===null){c.kill(t)}}))}))}const p=this._exitCallback;if(!p){c.on("close",a.exit.bind(a))}else{c.on("close",(()=>{p(new u(a.exitCode||0,"commander.executeSubCommandAsync","(close)"))}))}c.on("error",(e=>{if(e.code==="ENOENT"){const e=h?`searched for local subcommand relative to directory '${h}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory";const i=`'${l}' does not exist\n - if '${t._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${e}`;throw new Error(i)}else if(e.code==="EACCES"){throw new Error(`'${l}' not executable`)}if(!p){a.exit(1)}else{const t=new u(1,"commander.executeSubCommandAsync","(error)");t.nestedError=e;p(t)}}));this.runningCommand=c}_dispatchSubcommand(t,e,i){const n=this._findCommand(t);if(!n)this.help({error:true});let s;s=this._chainOrCallSubCommandHook(s,n,"preSubcommand");s=this._chainOrCall(s,(()=>{if(n._executableHandler){this._executeSubCommand(n,e.concat(i))}else{return n._parseCommand(e,i)}}));return s}_checkNumberOfArguments(){this._args.forEach(((t,e)=>{if(t.required&&this.args[e]==null){this.missingArgument(t.name())}}));if(this._args.length>0&&this._args[this._args.length-1].variadic){return}if(this.args.length>this._args.length){this._excessArguments(this.args)}}_processArguments(){const myParseArg=(t,e,i)=>{let n=e;if(e!==null&&t.parseArg){try{n=t.parseArg(e,i)}catch(i){if(i.code==="commander.invalidArgument"){const n=`error: command-argument value '${e}' is invalid for argument '${t.name()}'. ${i.message}`;this.error(n,{exitCode:i.exitCode,code:i.code})}throw i}}return n};this._checkNumberOfArguments();const t=[];this._args.forEach(((e,i)=>{let n=e.defaultValue;if(e.variadic){if(i<this.args.length){n=this.args.slice(i);if(e.parseArg){n=n.reduce(((t,i)=>myParseArg(e,i,t)),e.defaultValue)}}else if(n===undefined){n=[]}}else if(i<this.args.length){n=this.args[i];if(e.parseArg){n=myParseArg(e,n,e.defaultValue)}}t[i]=n}));this.processedArgs=t}_chainOrCall(t,e){if(t&&t.then&&typeof t.then==="function"){return t.then((()=>e()))}return e()}_chainOrCallHooks(t,e){let i=t;const n=[];getCommandAndParents(this).reverse().filter((t=>t._lifeCycleHooks[e]!==undefined)).forEach((t=>{t._lifeCycleHooks[e].forEach((e=>{n.push({hookedCommand:t,callback:e})}))}));if(e==="postAction"){n.reverse()}n.forEach((t=>{i=this._chainOrCall(i,(()=>t.callback(t.hookedCommand,this)))}));return i}_chainOrCallSubCommandHook(t,e,i){let n=t;if(this._lifeCycleHooks[i]!==undefined){this._lifeCycleHooks[i].forEach((t=>{n=this._chainOrCall(n,(()=>t(this,e)))}))}return n}_parseCommand(t,e){const i=this.parseOptions(e);this._parseOptionsEnv();this._parseOptionsImplied();t=t.concat(i.operands);e=i.unknown;this.args=t.concat(e);if(t&&this._findCommand(t[0])){return this._dispatchSubcommand(t[0],t.slice(1),e)}if(this._hasImplicitHelpCommand()&&t[0]===this._helpCommandName){if(t.length===1){this.help()}return this._dispatchSubcommand(t[1],[],[this._helpLongFlag])}if(this._defaultCommandName){outputHelpIfRequested(this,e);return this._dispatchSubcommand(this._defaultCommandName,t,e)}if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName){this.help({error:true})}outputHelpIfRequested(this,i.unknown);this._checkForMissingMandatoryOptions();this._checkForConflictingOptions();const checkForUnknownOptions=()=>{if(i.unknown.length>0){this.unknownOption(i.unknown[0])}};const n=`command:${this.name()}`;if(this._actionHandler){checkForUnknownOptions();this._processArguments();let i;i=this._chainOrCallHooks(i,"preAction");i=this._chainOrCall(i,(()=>this._actionHandler(this.processedArgs)));if(this.parent){i=this._chainOrCall(i,(()=>{this.parent.emit(n,t,e)}))}i=this._chainOrCallHooks(i,"postAction");return i}if(this.parent&&this.parent.listenerCount(n)){checkForUnknownOptions();this._processArguments();this.parent.emit(n,t,e)}else if(t.length){if(this._findCommand("*")){return this._dispatchSubcommand("*",t,e)}if(this.listenerCount("command:*")){this.emit("command:*",t,e)}else if(this.commands.length){this.unknownCommand()}else{checkForUnknownOptions();this._processArguments()}}else if(this.commands.length){checkForUnknownOptions();this.help({error:true})}else{checkForUnknownOptions();this._processArguments()}}_findCommand(t){if(!t)return undefined;return this.commands.find((e=>e._name===t||e._aliases.includes(t)))}_findOption(t){return this.options.find((e=>e.is(t)))}_checkForMissingMandatoryOptions(){for(let t=this;t;t=t.parent){t.options.forEach((e=>{if(e.mandatory&&t.getOptionValue(e.attributeName())===undefined){t.missingMandatoryOptionValue(e)}}))}}_checkForConflictingLocalOptions(){const t=this.options.filter((t=>{const e=t.attributeName();if(this.getOptionValue(e)===undefined){return false}return this.getOptionValueSource(e)!=="default"}));const e=t.filter((t=>t.conflictsWith.length>0));e.forEach((e=>{const i=t.find((t=>e.conflictsWith.includes(t.attributeName())));if(i){this._conflictingOption(e,i)}}))}_checkForConflictingOptions(){for(let t=this;t;t=t.parent){t._checkForConflictingLocalOptions()}}parseOptions(t){const e=[];const i=[];let n=e;const s=t.slice();function maybeOption(t){return t.length>1&&t[0]==="-"}let r=null;while(s.length){const t=s.shift();if(t==="--"){if(n===i)n.push(t);n.push(...s);break}if(r&&!maybeOption(t)){this.emit(`option:${r.name()}`,t);continue}r=null;if(maybeOption(t)){const e=this._findOption(t);if(e){if(e.required){const t=s.shift();if(t===undefined)this.optionMissingArgument(e);this.emit(`option:${e.name()}`,t)}else if(e.optional){let t=null;if(s.length>0&&!maybeOption(s[0])){t=s.shift()}this.emit(`option:${e.name()}`,t)}else{this.emit(`option:${e.name()}`)}r=e.variadic?e:null;continue}}if(t.length>2&&t[0]==="-"&&t[1]!=="-"){const e=this._findOption(`-${t[1]}`);if(e){if(e.required||e.optional&&this._combineFlagAndOptionalValue){this.emit(`option:${e.name()}`,t.slice(2))}else{this.emit(`option:${e.name()}`);s.unshift(`-${t.slice(2)}`)}continue}}if(/^--[^=]+=/.test(t)){const e=t.indexOf("=");const i=this._findOption(t.slice(0,e));if(i&&(i.required||i.optional)){this.emit(`option:${i.name()}`,t.slice(e+1));continue}}if(maybeOption(t)){n=i}if((this._enablePositionalOptions||this._passThroughOptions)&&e.length===0&&i.length===0){if(this._findCommand(t)){e.push(t);if(s.length>0)i.push(...s);break}else if(t===this._helpCommandName&&this._hasImplicitHelpCommand()){e.push(t);if(s.length>0)e.push(...s);break}else if(this._defaultCommandName){i.push(t);if(s.length>0)i.push(...s);break}}if(this._passThroughOptions){n.push(t);if(s.length>0)n.push(...s);break}n.push(t)}return{operands:e,unknown:i}}opts(){if(this._storeOptionsAsProperties){const t={};const e=this.options.length;for(let i=0;i<e;i++){const e=this.options[i].attributeName();t[e]=e===this._versionOptionName?this._version:this[e]}return t}return this._optionValues}optsWithGlobals(){return getCommandAndParents(this).reduce(((t,e)=>Object.assign(t,e.opts())),{})}error(t,e){this._outputConfiguration.outputError(`${t}\n`,this._outputConfiguration.writeErr);if(typeof this._showHelpAfterError==="string"){this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`)}else if(this._showHelpAfterError){this._outputConfiguration.writeErr("\n");this.outputHelp({error:true})}const i=e||{};const n=i.exitCode||1;const s=i.code||"commander.error";this._exit(n,s,t)}_parseOptionsEnv(){this.options.forEach((t=>{if(t.envVar&&t.envVar in a.env){const e=t.attributeName();if(this.getOptionValue(e)===undefined||["default","config","env"].includes(this.getOptionValueSource(e))){if(t.required||t.optional){this.emit(`optionEnv:${t.name()}`,a.env[t.envVar])}else{this.emit(`optionEnv:${t.name()}`)}}}}))}_parseOptionsImplied(){const t=new d(this.options);const hasCustomOptionValue=t=>this.getOptionValue(t)!==undefined&&!["default","implied"].includes(this.getOptionValueSource(t));this.options.filter((e=>e.implied!==undefined&&hasCustomOptionValue(e.attributeName())&&t.valueFromOption(this.getOptionValue(e.attributeName()),e))).forEach((t=>{Object.keys(t.implied).filter((t=>!hasCustomOptionValue(t))).forEach((e=>{this.setOptionValueWithSource(e,t.implied[e],"implied")}))}))}missingArgument(t){const e=`error: missing required argument '${t}'`;this.error(e,{code:"commander.missingArgument"})}optionMissingArgument(t){const e=`error: option '${t.flags}' argument missing`;this.error(e,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(t){const e=`error: required option '${t.flags}' not specified`;this.error(e,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(t,e){const findBestOptionFromValue=t=>{const e=t.attributeName();const i=this.getOptionValue(e);const n=this.options.find((t=>t.negate&&e===t.attributeName()));const s=this.options.find((t=>!t.negate&&e===t.attributeName()));if(n&&(n.presetArg===undefined&&i===false||n.presetArg!==undefined&&i===n.presetArg)){return n}return s||t};const getErrorMessage=t=>{const e=findBestOptionFromValue(t);const i=e.attributeName();const n=this.getOptionValueSource(i);if(n==="env"){return`environment variable '${e.envVar}'`}return`option '${e.flags}'`};const i=`error: ${getErrorMessage(t)} cannot be used with ${getErrorMessage(e)}`;this.error(i,{code:"commander.conflictingOption"})}unknownOption(t){if(this._allowUnknownOption)return;let e="";if(t.startsWith("--")&&this._showSuggestionAfterError){let i=[];let n=this;do{const t=n.createHelp().visibleOptions(n).filter((t=>t.long)).map((t=>t.long));i=i.concat(t);n=n.parent}while(n&&!n._enablePositionalOptions);e=f(t,i)}const i=`error: unknown option '${t}'${e}`;this.error(i,{code:"commander.unknownOption"})}_excessArguments(t){if(this._allowExcessArguments)return;const e=this._args.length;const i=e===1?"":"s";const n=this.parent?` for '${this.name()}'`:"";const s=`error: too many arguments${n}. Expected ${e} argument${i} but got ${t.length}.`;this.error(s,{code:"commander.excessArguments"})}unknownCommand(){const t=this.args[0];let e="";if(this._showSuggestionAfterError){const i=[];this.createHelp().visibleCommands(this).forEach((t=>{i.push(t.name());if(t.alias())i.push(t.alias())}));e=f(t,i)}const i=`error: unknown command '${t}'${e}`;this.error(i,{code:"commander.unknownCommand"})}version(t,e,i){if(t===undefined)return this._version;this._version=t;e=e||"-V, --version";i=i||"output the version number";const n=this.createOption(e,i);this._versionOptionName=n.attributeName();this.options.push(n);this.on("option:"+n.name(),(()=>{this._outputConfiguration.writeOut(`${t}\n`);this._exit(0,"commander.version",t)}));return this}description(t,e){if(t===undefined&&e===undefined)return this._description;this._description=t;if(e){this._argsDescription=e}return this}summary(t){if(t===undefined)return this._summary;this._summary=t;return this}alias(t){if(t===undefined)return this._aliases[0];let e=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler){e=this.commands[this.commands.length-1]}if(t===e._name)throw new Error("Command alias can't be the same as its name");e._aliases.push(t);return this}aliases(t){if(t===undefined)return this._aliases;t.forEach((t=>this.alias(t)));return this}usage(t){if(t===undefined){if(this._usage)return this._usage;const t=this._args.map((t=>h(t)));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this._args.length?t:[]).join(" ")}this._usage=t;return this}name(t){if(t===undefined)return this._name;this._name=t;return this}nameFromFilename(t){this._name=r.basename(t,r.extname(t));return this}executableDir(t){if(t===undefined)return this._executableDir;this._executableDir=t;return this}helpInformation(t){const e=this.createHelp();if(e.helpWidth===undefined){e.helpWidth=t&&t.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()}return e.formatHelp(this,e)}_getHelpContext(t){t=t||{};const e={error:!!t.error};let i;if(e.error){i=t=>this._outputConfiguration.writeErr(t)}else{i=t=>this._outputConfiguration.writeOut(t)}e.write=t.write||i;e.command=this;return e}outputHelp(t){let e;if(typeof t==="function"){e=t;t=undefined}const i=this._getHelpContext(t);getCommandAndParents(this).reverse().forEach((t=>t.emit("beforeAllHelp",i)));this.emit("beforeHelp",i);let n=this.helpInformation(i);if(e){n=e(n);if(typeof n!=="string"&&!Buffer.isBuffer(n)){throw new Error("outputHelp callback must return a string or a Buffer")}}i.write(n);this.emit(this._helpLongFlag);this.emit("afterHelp",i);getCommandAndParents(this).forEach((t=>t.emit("afterAllHelp",i)))}helpOption(t,e){if(typeof t==="boolean"){this._hasHelpOption=t;return this}this._helpFlags=t||this._helpFlags;this._helpDescription=e||this._helpDescription;const i=m(this._helpFlags);this._helpShortFlag=i.shortFlag;this._helpLongFlag=i.longFlag;return this}help(t){this.outputHelp(t);let e=a.exitCode||0;if(e===0&&t&&typeof t!=="function"&&t.error){e=1}this._exit(e,"commander.help","(outputHelp)")}addHelpText(t,e){const i=["beforeAll","before","after","afterAll"];if(!i.includes(t)){throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${i.join("', '")}'`)}const n=`${t}Help`;this.on(n,(t=>{let i;if(typeof e==="function"){i=e({error:t.error,command:t.command})}else{i=e}if(i){t.write(`${i}\n`)}}));return this}}function outputHelpIfRequested(t,e){const i=t._hasHelpOption&&e.find((e=>e===t._helpLongFlag||e===t._helpShortFlag));if(i){t.outputHelp();t._exit(0,"commander.helpDisplayed","(outputHelp)")}}function incrementNodeInspectorPort(t){return t.map((t=>{if(!t.startsWith("--inspect")){return t}let e;let i="127.0.0.1";let n="9229";let s;if((s=t.match(/^(--inspect(-brk)?)$/))!==null){e=s[1]}else if((s=t.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null){e=s[1];if(/^\d+$/.test(s[3])){n=s[3]}else{i=s[3]}}else if((s=t.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null){e=s[1];i=s[3];n=s[4]}if(e&&n!=="0"){return`${e}=${i}:${parseInt(n)+1}`}return t}))}function getCommandAndParents(t){const e=[];for(let i=t;i;i=i.parent){e.push(i)}return e}e.Command=Command},796:(t,e)=>{class CommanderError extends Error{constructor(t,e,i){super(i);Error.captureStackTrace(this,this.constructor);this.name=this.constructor.name;this.code=e;this.exitCode=t;this.nestedError=undefined}}class InvalidArgumentError extends CommanderError{constructor(t){super(1,"commander.invalidArgument",t);Error.captureStackTrace(this,this.constructor);this.name=this.constructor.name}}e.CommanderError=CommanderError;e.InvalidArgumentError=InvalidArgumentError},519:(t,e,i)=>{const{humanReadableArgName:n}=i(535);class Help{constructor(){this.helpWidth=undefined;this.sortSubcommands=false;this.sortOptions=false;this.showGlobalOptions=false}visibleCommands(t){const e=t.commands.filter((t=>!t._hidden));if(t._hasImplicitHelpCommand()){const[,i,n]=t._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/);const s=t.createCommand(i).helpOption(false);s.description(t._helpCommandDescription);if(n)s.arguments(n);e.push(s)}if(this.sortSubcommands){e.sort(((t,e)=>t.name().localeCompare(e.name())))}return e}compareOptions(t,e){const getSortKey=t=>t.short?t.short.replace(/^-/,""):t.long.replace(/^--/,"");return getSortKey(t).localeCompare(getSortKey(e))}visibleOptions(t){const e=t.options.filter((t=>!t.hidden));const i=t._hasHelpOption&&t._helpShortFlag&&!t._findOption(t._helpShortFlag);const n=t._hasHelpOption&&!t._findOption(t._helpLongFlag);if(i||n){let s;if(!i){s=t.createOption(t._helpLongFlag,t._helpDescription)}else if(!n){s=t.createOption(t._helpShortFlag,t._helpDescription)}else{s=t.createOption(t._helpFlags,t._helpDescription)}e.push(s)}if(this.sortOptions){e.sort(this.compareOptions)}return e}visibleGlobalOptions(t){if(!this.showGlobalOptions)return[];const e=[];for(let i=t.parent;i;i=i.parent){const t=i.options.filter((t=>!t.hidden));e.push(...t)}if(this.sortOptions){e.sort(this.compareOptions)}return e}visibleArguments(t){if(t._argsDescription){t._args.forEach((e=>{e.description=e.description||t._argsDescription[e.name()]||""}))}if(t._args.find((t=>t.description))){return t._args}return[]}subcommandTerm(t){const e=t._args.map((t=>n(t))).join(" ");return t._name+(t._aliases[0]?"|"+t._aliases[0]:"")+(t.options.length?" [options]":"")+(e?" "+e:"")}optionTerm(t){return t.flags}argumentTerm(t){return t.name()}longestSubcommandTermLength(t,e){return e.visibleCommands(t).reduce(((t,i)=>Math.max(t,e.subcommandTerm(i).length)),0)}longestOptionTermLength(t,e){return e.visibleOptions(t).reduce(((t,i)=>Math.max(t,e.optionTerm(i).length)),0)}longestGlobalOptionTermLength(t,e){return e.visibleGlobalOptions(t).reduce(((t,i)=>Math.max(t,e.optionTerm(i).length)),0)}longestArgumentTermLength(t,e){return e.visibleArguments(t).reduce(((t,i)=>Math.max(t,e.argumentTerm(i).length)),0)}commandUsage(t){let e=t._name;if(t._aliases[0]){e=e+"|"+t._aliases[0]}let i="";for(let e=t.parent;e;e=e.parent){i=e.name()+" "+i}return i+e+" "+t.usage()}commandDescription(t){return t.description()}subcommandDescription(t){return t.summary()||t.description()}optionDescription(t){const e=[];if(t.argChoices){e.push(`choices: ${t.argChoices.map((t=>JSON.stringify(t))).join(", ")}`)}if(t.defaultValue!==undefined){const i=t.required||t.optional||t.isBoolean()&&typeof t.defaultValue==="boolean";if(i){e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`)}}if(t.presetArg!==undefined&&t.optional){e.push(`preset: ${JSON.stringify(t.presetArg)}`)}if(t.envVar!==undefined){e.push(`env: ${t.envVar}`)}if(e.length>0){return`${t.description} (${e.join(", ")})`}return t.description}argumentDescription(t){const e=[];if(t.argChoices){e.push(`choices: ${t.argChoices.map((t=>JSON.stringify(t))).join(", ")}`)}if(t.defaultValue!==undefined){e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`)}if(e.length>0){const i=`(${e.join(", ")})`;if(t.description){return`${t.description} ${i}`}return i}return t.description}formatHelp(t,e){const i=e.padWidth(t,e);const n=e.helpWidth||80;const s=2;const r=2;function formatItem(t,o){if(o){const a=`${t.padEnd(i+r)}${o}`;return e.wrap(a,n-s,i+r)}return t}function formatList(t){return t.join("\n").replace(/^/gm," ".repeat(s))}let o=[`Usage: ${e.commandUsage(t)}`,""];const a=e.commandDescription(t);if(a.length>0){o=o.concat([e.wrap(a,n,0),""])}const l=e.visibleArguments(t).map((t=>formatItem(e.argumentTerm(t),e.argumentDescription(t))));if(l.length>0){o=o.concat(["Arguments:",formatList(l),""])}const h=e.visibleOptions(t).map((t=>formatItem(e.optionTerm(t),e.optionDescription(t))));if(h.length>0){o=o.concat(["Options:",formatList(h),""])}if(this.showGlobalOptions){const i=e.visibleGlobalOptions(t).map((t=>formatItem(e.optionTerm(t),e.optionDescription(t))));if(i.length>0){o=o.concat(["Global Options:",formatList(i),""])}}const u=e.visibleCommands(t).map((t=>formatItem(e.subcommandTerm(t),e.subcommandDescription(t))));if(u.length>0){o=o.concat(["Commands:",formatList(u),""])}return o.join("\n")}padWidth(t,e){return Math.max(e.longestOptionTermLength(t,e),e.longestGlobalOptionTermLength(t,e),e.longestSubcommandTermLength(t,e),e.longestArgumentTermLength(t,e))}wrap(t,e,i,n=40){const s=" \\f\\t\\v - \ufeff";const r=new RegExp(`[\\n][${s}]+`);if(t.match(r))return t;const o=e-i;if(o<n)return t;const a=t.slice(0,i);const l=t.slice(i).replace("\r\n","\n");const h=" ".repeat(i);const u="";const c=`\\s${u}`;const p=new RegExp(`\n|.{1,${o-1}}([${c}]|$)|[^${c}]+?([${c}]|$)`,"g");const m=l.match(p)||[];return a+m.map(((t,e)=>{if(t==="\n")return"";return(e>0?h:"")+t.trimEnd()})).join("\n")}}e.Help=Help},437:(t,e,i)=>{const{InvalidArgumentError:n}=i(796);class Option{constructor(t,e){this.flags=t;this.description=e||"";this.required=t.includes("<");this.optional=t.includes("[");this.variadic=/\w\.\.\.[>\]]$/.test(t);this.mandatory=false;const i=splitOptionFlags(t);this.short=i.shortFlag;this.long=i.longFlag;this.negate=false;if(this.long){this.negate=this.long.startsWith("--no-")}this.defaultValue=undefined;this.defaultValueDescription=undefined;this.presetArg=undefined;this.envVar=undefined;this.parseArg=undefined;this.hidden=false;this.argChoices=undefined;this.conflictsWith=[];this.implied=undefined}default(t,e){this.defaultValue=t;this.defaultValueDescription=e;return this}preset(t){this.presetArg=t;return this}conflicts(t){this.conflictsWith=this.conflictsWith.concat(t);return this}implies(t){this.implied=Object.assign(this.implied||{},t);return this}env(t){this.envVar=t;return this}argParser(t){this.parseArg=t;return this}makeOptionMandatory(t=true){this.mandatory=!!t;return this}hideHelp(t=true){this.hidden=!!t;return this}_concatValue(t,e){if(e===this.defaultValue||!Array.isArray(e)){return[t]}return e.concat(t)}choices(t){this.argChoices=t.slice();this.parseArg=(t,e)=>{if(!this.argChoices.includes(t)){throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`)}if(this.variadic){return this._concatValue(t,e)}return t};return this}name(){if(this.long){return this.long.replace(/^--/,"")}return this.short.replace(/^-/,"")}attributeName(){return camelcase(this.name().replace(/^no-/,""))}is(t){return this.short===t||this.long===t}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class DualOptions{constructor(t){this.positiveOptions=new Map;this.negativeOptions=new Map;this.dualOptions=new Set;t.forEach((t=>{if(t.negate){this.negativeOptions.set(t.attributeName(),t)}else{this.positiveOptions.set(t.attributeName(),t)}}));this.negativeOptions.forEach(((t,e)=>{if(this.positiveOptions.has(e)){this.dualOptions.add(e)}}))}valueFromOption(t,e){const i=e.attributeName();if(!this.dualOptions.has(i))return true;const n=this.negativeOptions.get(i).presetArg;const s=n!==undefined?n:false;return e.negate===(s===t)}}function camelcase(t){return t.split("-").reduce(((t,e)=>t+e[0].toUpperCase()+e.slice(1)))}function splitOptionFlags(t){let e;let i;const n=t.split(/[ |,]+/);if(n.length>1&&!/^[[<]/.test(n[1]))e=n.shift();i=n.shift();if(!e&&/^-[^-]$/.test(i)){e=i;i=undefined}return{shortFlag:e,longFlag:i}}e.Option=Option;e.splitOptionFlags=splitOptionFlags;e.DualOptions=DualOptions},860:(t,e)=>{const i=3;function editDistance(t,e){if(Math.abs(t.length-e.length)>i)return Math.max(t.length,e.length);const n=[];for(let e=0;e<=t.length;e++){n[e]=[e]}for(let t=0;t<=e.length;t++){n[0][t]=t}for(let i=1;i<=e.length;i++){for(let s=1;s<=t.length;s++){let r=1;if(t[s-1]===e[i-1]){r=0}else{r=1}n[s][i]=Math.min(n[s-1][i]+1,n[s][i-1]+1,n[s-1][i-1]+r);if(s>1&&i>1&&t[s-1]===e[i-2]&&t[s-2]===e[i-1]){n[s][i]=Math.min(n[s][i],n[s-2][i-2]+1)}}}return n[t.length][e.length]}function suggestSimilar(t,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));const n=t.startsWith("--");if(n){t=t.slice(2);e=e.map((t=>t.slice(2)))}let s=[];let r=i;const o=.4;e.forEach((e=>{if(e.length<=1)return;const i=editDistance(t,e);const n=Math.max(t.length,e.length);const a=(n-i)/n;if(a>o){if(i<r){r=i;s=[e]}else if(i===r){s.push(e)}}}));s.sort(((t,e)=>t.localeCompare(e)));if(n){s=s.map((t=>`--${t}`))}if(s.length>1){return`\n(Did you mean one of ${s.join(", ")}?)`}if(s.length===1){return`\n(Did you mean ${s[0]}?)`}return""}e.suggestSimilar=suggestSimilar}};var e={};function __nccwpck_require__(i){var n=e[i];if(n!==undefined){return n.exports}var s=e[i]={exports:{}};var r=true;try{t[i](s,s.exports,__nccwpck_require__);r=false}finally{if(r)delete e[i]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i=__nccwpck_require__(632);module.exports=i})();
|
@@ -1,22 +0,0 @@
|
|
1
|
-
(The MIT License)
|
2
|
-
|
3
|
-
Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
'Software'), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
20
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
21
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"commander","author":"TJ Holowaychuk <tj@vision-media.ca>","version":"10.0.0","license":"MIT","types":"typings/index.d.ts"}
|