immosquare-cleaner 0.1.42 → 0.1.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/node_modules/.bin/ncu +1 -1
- data/node_modules/.bin/npm-check-updates +1 -1
- data/node_modules/.bin/rimraf +1 -1
- data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
- data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
- data/node_modules/@eslint/config-array/package.json +1 -1
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/ansi-regex/index.d.ts +13 -9
- data/node_modules/ansi-regex/index.js +5 -3
- data/node_modules/ansi-regex/license +1 -1
- data/node_modules/ansi-regex/package.json +6 -9
- data/node_modules/ansi-regex/readme.md +8 -2
- data/node_modules/brace-expansion/README.md +0 -6
- data/node_modules/brace-expansion/index.js +84 -86
- data/node_modules/brace-expansion/package.json +4 -3
- data/node_modules/chalk/license +1 -1
- data/node_modules/chalk/package.json +23 -38
- data/node_modules/chalk/readme.md +85 -69
- data/node_modules/chalk/source/index.js +84 -80
- data/node_modules/eslint/lib/cli.js +0 -20
- data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
- data/node_modules/eslint/lib/linter/linter.js +44 -20
- data/node_modules/eslint/lib/linter/report-translator.js +10 -10
- data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
- data/node_modules/eslint/lib/shared/flags.js +2 -2
- data/node_modules/eslint/package.json +5 -4
- data/node_modules/glob/LICENSE +7 -1
- data/node_modules/glob/README.md +284 -1120
- data/node_modules/glob/common.js +238 -0
- data/node_modules/glob/glob.js +790 -0
- data/node_modules/glob/package.json +34 -76
- data/node_modules/glob/sync.js +486 -0
- data/node_modules/lru-cache/LICENSE +1 -1
- data/node_modules/lru-cache/README.md +104 -1055
- data/node_modules/lru-cache/index.js +246 -1139
- data/node_modules/lru-cache/package.json +11 -75
- data/node_modules/minimatch/LICENSE +1 -1
- data/node_modules/minimatch/README.md +65 -289
- data/node_modules/minimatch/package.json +14 -67
- data/node_modules/npm-check-updates/README.md +9 -12
- data/node_modules/npm-check-updates/build/cli.js +21 -21
- data/node_modules/npm-check-updates/build/cli.js.map +1 -1
- data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
- data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
- data/node_modules/npm-check-updates/build/index.d.ts +1 -3
- data/node_modules/npm-check-updates/build/index.js +207 -223
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +101 -105
- data/node_modules/rimraf/LICENSE +1 -1
- data/node_modules/rimraf/README.md +70 -188
- data/node_modules/rimraf/bin.js +50 -0
- data/node_modules/rimraf/package.json +16 -74
- data/node_modules/rimraf/rimraf.js +364 -0
- data/node_modules/semver/README.md +27 -221
- data/node_modules/semver/bin/semver.js +84 -107
- data/node_modules/semver/package.json +14 -63
- data/node_modules/semver/semver.js +1643 -0
- data/node_modules/strip-ansi/index.d.ts +4 -2
- data/node_modules/strip-ansi/index.js +3 -13
- data/node_modules/strip-ansi/license +1 -1
- data/node_modules/strip-ansi/package.json +7 -10
- data/node_modules/strip-ansi/readme.md +7 -2
- data/node_modules/strip-json-comments/index.d.ts +13 -18
- data/node_modules/strip-json-comments/index.js +38 -68
- data/node_modules/strip-json-comments/package.json +5 -13
- data/node_modules/strip-json-comments/readme.md +18 -15
- data/node_modules/yallist/package.json +1 -1
- data/node_modules/yallist/yallist.js +3 -3
- data/package.json +3 -3
- metadata +14 -736
- data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
- data/node_modules/chalk/source/index.d.ts +0 -320
- data/node_modules/chalk/source/utilities.js +0 -33
- data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- data/node_modules/eslint/node_modules/chalk/license +0 -9
- data/node_modules/eslint/node_modules/chalk/package.json +0 -68
- data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
- data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
- data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
- data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
- data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
- data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
- data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
- data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
- data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
- data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
- data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/glob.js +0 -243
- data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
- data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/ignore.js +0 -108
- data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
- data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/index.js +0 -68
- data/node_modules/glob/dist/commonjs/index.js.map +0 -1
- data/node_modules/glob/dist/commonjs/package.json +0 -1
- data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
- data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/pattern.js +0 -219
- data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/processor.js +0 -302
- data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
- data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/walker.js +0 -358
- data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- data/node_modules/glob/dist/esm/bin.d.mts +0 -3
- data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- data/node_modules/glob/dist/esm/bin.mjs +0 -275
- data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- data/node_modules/glob/dist/esm/glob.d.ts +0 -344
- data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/glob.js +0 -239
- data/node_modules/glob/dist/esm/glob.js.map +0 -1
- data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/has-magic.js +0 -23
- data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
- data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/ignore.js +0 -104
- data/node_modules/glob/dist/esm/ignore.js.map +0 -1
- data/node_modules/glob/dist/esm/index.d.ts +0 -96
- data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/index.js +0 -56
- data/node_modules/glob/dist/esm/index.js.map +0 -1
- data/node_modules/glob/dist/esm/package.json +0 -1
- data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
- data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/pattern.js +0 -215
- data/node_modules/glob/dist/esm/pattern.js.map +0 -1
- data/node_modules/glob/dist/esm/processor.d.ts +0 -59
- data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/processor.js +0 -295
- data/node_modules/glob/dist/esm/processor.js.map +0 -1
- data/node_modules/glob/dist/esm/walker.d.ts +0 -96
- data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/walker.js +0 -352
- data/node_modules/glob/dist/esm/walker.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/glob/node_modules/minimatch/README.md +0 -454
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
- data/node_modules/glob/node_modules/minimatch/package.json +0 -86
- data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
- data/node_modules/glob/node_modules/minipass/README.md +0 -825
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
- data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
- data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
- data/node_modules/glob/node_modules/minipass/package.json +0 -82
- data/node_modules/lru-cache/index.d.ts +0 -869
- data/node_modules/lru-cache/index.mjs +0 -1227
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
- data/node_modules/npm-check-updates/build/package.json +0 -183
- data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
- data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
- data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/index.js +0 -316
- data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
- data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
- data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
- data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
- data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
- data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
- data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
- data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
- data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
- data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
- data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
- data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
- data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
- data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
- data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
- data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
- data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
- data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
- data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
- data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
- data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
- data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
- data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
- data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
- data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
- data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
- data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
- data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
- data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
- data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
- data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
- data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
- data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
- data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
- data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
- data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
- data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
- data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
- data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
- data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
- data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
- data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/index.js +0 -76
- data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
- data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
- data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/package.json +0 -1
- data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
- data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
- data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
- data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
- data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
- data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
- data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
- data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
- data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
- data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
- data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
- data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
- data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
- data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
- data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
- data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
- data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/fs.js +0 -31
- data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
- data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
- data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
- data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
- data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/index.js +0 -68
- data/node_modules/rimraf/dist/esm/index.js.map +0 -1
- data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
- data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
- data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
- data/node_modules/rimraf/dist/esm/package.json +0 -1
- data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
- data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
- data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/platform.js +0 -2
- data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
- data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
- data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
- data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
- data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
- data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
- data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
- data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
- data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
- data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
- data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
- data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/use-native.js +0 -16
- data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
- data/node_modules/semver/classes/comparator.js +0 -141
- data/node_modules/semver/classes/index.js +0 -5
- data/node_modules/semver/classes/range.js +0 -539
- data/node_modules/semver/classes/semver.js +0 -302
- data/node_modules/semver/functions/clean.js +0 -6
- data/node_modules/semver/functions/cmp.js +0 -52
- data/node_modules/semver/functions/coerce.js +0 -52
- data/node_modules/semver/functions/compare-build.js +0 -7
- data/node_modules/semver/functions/compare-loose.js +0 -3
- data/node_modules/semver/functions/compare.js +0 -5
- data/node_modules/semver/functions/diff.js +0 -65
- data/node_modules/semver/functions/eq.js +0 -3
- data/node_modules/semver/functions/gt.js +0 -3
- data/node_modules/semver/functions/gte.js +0 -3
- data/node_modules/semver/functions/inc.js +0 -19
- data/node_modules/semver/functions/lt.js +0 -3
- data/node_modules/semver/functions/lte.js +0 -3
- data/node_modules/semver/functions/major.js +0 -3
- data/node_modules/semver/functions/minor.js +0 -3
- data/node_modules/semver/functions/neq.js +0 -3
- data/node_modules/semver/functions/parse.js +0 -16
- data/node_modules/semver/functions/patch.js +0 -3
- data/node_modules/semver/functions/prerelease.js +0 -6
- data/node_modules/semver/functions/rcompare.js +0 -3
- data/node_modules/semver/functions/rsort.js +0 -3
- data/node_modules/semver/functions/satisfies.js +0 -10
- data/node_modules/semver/functions/sort.js +0 -3
- data/node_modules/semver/functions/valid.js +0 -6
- data/node_modules/semver/index.js +0 -89
- data/node_modules/semver/internal/constants.js +0 -35
- data/node_modules/semver/internal/debug.js +0 -9
- data/node_modules/semver/internal/identifiers.js +0 -23
- data/node_modules/semver/internal/parse-options.js +0 -15
- data/node_modules/semver/internal/re.js +0 -212
- data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
- data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
- data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
- data/node_modules/semver/preload.js +0 -2
- data/node_modules/semver/ranges/gtr.js +0 -4
- data/node_modules/semver/ranges/intersects.js +0 -7
- data/node_modules/semver/ranges/ltr.js +0 -4
- data/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/node_modules/semver/ranges/min-version.js +0 -61
- data/node_modules/semver/ranges/outside.js +0 -80
- data/node_modules/semver/ranges/simplify.js +0 -47
- data/node_modules/semver/ranges/subset.js +0 -247
- data/node_modules/semver/ranges/to-comparators.js +0 -8
- data/node_modules/semver/ranges/valid.js +0 -11
- /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
- /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
- /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
- /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1,1011 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0;
|
7
|
-
const brace_expansion_1 = __importDefault(require("brace-expansion"));
|
8
|
-
const assert_valid_pattern_js_1 = require("./assert-valid-pattern.js");
|
9
|
-
const ast_js_1 = require("./ast.js");
|
10
|
-
const escape_js_1 = require("./escape.js");
|
11
|
-
const unescape_js_1 = require("./unescape.js");
|
12
|
-
const minimatch = (p, pattern, options = {}) => {
|
13
|
-
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
|
14
|
-
// shortcut: comments match nothing.
|
15
|
-
if (!options.nocomment && pattern.charAt(0) === '#') {
|
16
|
-
return false;
|
17
|
-
}
|
18
|
-
return new Minimatch(pattern, options).match(p);
|
19
|
-
};
|
20
|
-
exports.minimatch = minimatch;
|
21
|
-
// Optimized checking for the most common glob patterns.
|
22
|
-
const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
23
|
-
const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext);
|
24
|
-
const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
|
25
|
-
const starDotExtTestNocase = (ext) => {
|
26
|
-
ext = ext.toLowerCase();
|
27
|
-
return (f) => !f.startsWith('.') && f.toLowerCase().endsWith(ext);
|
28
|
-
};
|
29
|
-
const starDotExtTestNocaseDot = (ext) => {
|
30
|
-
ext = ext.toLowerCase();
|
31
|
-
return (f) => f.toLowerCase().endsWith(ext);
|
32
|
-
};
|
33
|
-
const starDotStarRE = /^\*+\.\*+$/;
|
34
|
-
const starDotStarTest = (f) => !f.startsWith('.') && f.includes('.');
|
35
|
-
const starDotStarTestDot = (f) => f !== '.' && f !== '..' && f.includes('.');
|
36
|
-
const dotStarRE = /^\.\*+$/;
|
37
|
-
const dotStarTest = (f) => f !== '.' && f !== '..' && f.startsWith('.');
|
38
|
-
const starRE = /^\*+$/;
|
39
|
-
const starTest = (f) => f.length !== 0 && !f.startsWith('.');
|
40
|
-
const starTestDot = (f) => f.length !== 0 && f !== '.' && f !== '..';
|
41
|
-
const qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
|
42
|
-
const qmarksTestNocase = ([$0, ext = '']) => {
|
43
|
-
const noext = qmarksTestNoExt([$0]);
|
44
|
-
if (!ext)
|
45
|
-
return noext;
|
46
|
-
ext = ext.toLowerCase();
|
47
|
-
return (f) => noext(f) && f.toLowerCase().endsWith(ext);
|
48
|
-
};
|
49
|
-
const qmarksTestNocaseDot = ([$0, ext = '']) => {
|
50
|
-
const noext = qmarksTestNoExtDot([$0]);
|
51
|
-
if (!ext)
|
52
|
-
return noext;
|
53
|
-
ext = ext.toLowerCase();
|
54
|
-
return (f) => noext(f) && f.toLowerCase().endsWith(ext);
|
55
|
-
};
|
56
|
-
const qmarksTestDot = ([$0, ext = '']) => {
|
57
|
-
const noext = qmarksTestNoExtDot([$0]);
|
58
|
-
return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
|
59
|
-
};
|
60
|
-
const qmarksTest = ([$0, ext = '']) => {
|
61
|
-
const noext = qmarksTestNoExt([$0]);
|
62
|
-
return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
|
63
|
-
};
|
64
|
-
const qmarksTestNoExt = ([$0]) => {
|
65
|
-
const len = $0.length;
|
66
|
-
return (f) => f.length === len && !f.startsWith('.');
|
67
|
-
};
|
68
|
-
const qmarksTestNoExtDot = ([$0]) => {
|
69
|
-
const len = $0.length;
|
70
|
-
return (f) => f.length === len && f !== '.' && f !== '..';
|
71
|
-
};
|
72
|
-
/* c8 ignore start */
|
73
|
-
const defaultPlatform = (typeof process === 'object' && process
|
74
|
-
? (typeof process.env === 'object' &&
|
75
|
-
process.env &&
|
76
|
-
process.env.__MINIMATCH_TESTING_PLATFORM__) ||
|
77
|
-
process.platform
|
78
|
-
: 'posix');
|
79
|
-
const path = {
|
80
|
-
win32: { sep: '\\' },
|
81
|
-
posix: { sep: '/' },
|
82
|
-
};
|
83
|
-
/* c8 ignore stop */
|
84
|
-
exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep;
|
85
|
-
exports.minimatch.sep = exports.sep;
|
86
|
-
exports.GLOBSTAR = Symbol('globstar **');
|
87
|
-
exports.minimatch.GLOBSTAR = exports.GLOBSTAR;
|
88
|
-
// any single thing other than /
|
89
|
-
// don't need to escape / when using new RegExp()
|
90
|
-
const qmark = '[^/]';
|
91
|
-
// * => any number of characters
|
92
|
-
const star = qmark + '*?';
|
93
|
-
// ** when dots are allowed. Anything goes, except .. and .
|
94
|
-
// not (^ or / followed by one or two dots followed by $ or /),
|
95
|
-
// followed by anything, any number of times.
|
96
|
-
const twoStarDot = '(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?';
|
97
|
-
// not a ^ or / followed by a dot,
|
98
|
-
// followed by anything, any number of times.
|
99
|
-
const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?';
|
100
|
-
const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options);
|
101
|
-
exports.filter = filter;
|
102
|
-
exports.minimatch.filter = exports.filter;
|
103
|
-
const ext = (a, b = {}) => Object.assign({}, a, b);
|
104
|
-
const defaults = (def) => {
|
105
|
-
if (!def || typeof def !== 'object' || !Object.keys(def).length) {
|
106
|
-
return exports.minimatch;
|
107
|
-
}
|
108
|
-
const orig = exports.minimatch;
|
109
|
-
const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
|
110
|
-
return Object.assign(m, {
|
111
|
-
Minimatch: class Minimatch extends orig.Minimatch {
|
112
|
-
constructor(pattern, options = {}) {
|
113
|
-
super(pattern, ext(def, options));
|
114
|
-
}
|
115
|
-
static defaults(options) {
|
116
|
-
return orig.defaults(ext(def, options)).Minimatch;
|
117
|
-
}
|
118
|
-
},
|
119
|
-
AST: class AST extends orig.AST {
|
120
|
-
/* c8 ignore start */
|
121
|
-
constructor(type, parent, options = {}) {
|
122
|
-
super(type, parent, ext(def, options));
|
123
|
-
}
|
124
|
-
/* c8 ignore stop */
|
125
|
-
static fromGlob(pattern, options = {}) {
|
126
|
-
return orig.AST.fromGlob(pattern, ext(def, options));
|
127
|
-
}
|
128
|
-
},
|
129
|
-
unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
|
130
|
-
escape: (s, options = {}) => orig.escape(s, ext(def, options)),
|
131
|
-
filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
|
132
|
-
defaults: (options) => orig.defaults(ext(def, options)),
|
133
|
-
makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
|
134
|
-
braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
|
135
|
-
match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
|
136
|
-
sep: orig.sep,
|
137
|
-
GLOBSTAR: exports.GLOBSTAR,
|
138
|
-
});
|
139
|
-
};
|
140
|
-
exports.defaults = defaults;
|
141
|
-
exports.minimatch.defaults = exports.defaults;
|
142
|
-
// Brace expansion:
|
143
|
-
// a{b,c}d -> abd acd
|
144
|
-
// a{b,}c -> abc ac
|
145
|
-
// a{0..3}d -> a0d a1d a2d a3d
|
146
|
-
// a{b,c{d,e}f}g -> abg acdfg acefg
|
147
|
-
// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
|
148
|
-
//
|
149
|
-
// Invalid sets are not expanded.
|
150
|
-
// a{2..}b -> a{2..}b
|
151
|
-
// a{b}c -> a{b}c
|
152
|
-
const braceExpand = (pattern, options = {}) => {
|
153
|
-
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
|
154
|
-
// Thanks to Yeting Li <https://github.com/yetingli> for
|
155
|
-
// improving this regexp to avoid a ReDOS vulnerability.
|
156
|
-
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
157
|
-
// shortcut. no need to expand.
|
158
|
-
return [pattern];
|
159
|
-
}
|
160
|
-
return (0, brace_expansion_1.default)(pattern);
|
161
|
-
};
|
162
|
-
exports.braceExpand = braceExpand;
|
163
|
-
exports.minimatch.braceExpand = exports.braceExpand;
|
164
|
-
// parse a component of the expanded set.
|
165
|
-
// At this point, no pattern may contain "/" in it
|
166
|
-
// so we're going to return a 2d array, where each entry is the full
|
167
|
-
// pattern, split on '/', and then turned into a regular expression.
|
168
|
-
// A regexp is made at the end which joins each array with an
|
169
|
-
// escaped /, and another full one which joins each regexp with |.
|
170
|
-
//
|
171
|
-
// Following the lead of Bash 4.1, note that "**" only has special meaning
|
172
|
-
// when it is the *only* thing in a path portion. Otherwise, any series
|
173
|
-
// of * is equivalent to a single *. Globstar behavior is enabled by
|
174
|
-
// default, and can be disabled by setting options.noglobstar.
|
175
|
-
const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
176
|
-
exports.makeRe = makeRe;
|
177
|
-
exports.minimatch.makeRe = exports.makeRe;
|
178
|
-
const match = (list, pattern, options = {}) => {
|
179
|
-
const mm = new Minimatch(pattern, options);
|
180
|
-
list = list.filter(f => mm.match(f));
|
181
|
-
if (mm.options.nonull && !list.length) {
|
182
|
-
list.push(pattern);
|
183
|
-
}
|
184
|
-
return list;
|
185
|
-
};
|
186
|
-
exports.match = match;
|
187
|
-
exports.minimatch.match = exports.match;
|
188
|
-
// replace stuff like \* with *
|
189
|
-
const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
190
|
-
const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
191
|
-
class Minimatch {
|
192
|
-
options;
|
193
|
-
set;
|
194
|
-
pattern;
|
195
|
-
windowsPathsNoEscape;
|
196
|
-
nonegate;
|
197
|
-
negate;
|
198
|
-
comment;
|
199
|
-
empty;
|
200
|
-
preserveMultipleSlashes;
|
201
|
-
partial;
|
202
|
-
globSet;
|
203
|
-
globParts;
|
204
|
-
nocase;
|
205
|
-
isWindows;
|
206
|
-
platform;
|
207
|
-
windowsNoMagicRoot;
|
208
|
-
regexp;
|
209
|
-
constructor(pattern, options = {}) {
|
210
|
-
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
|
211
|
-
options = options || {};
|
212
|
-
this.options = options;
|
213
|
-
this.pattern = pattern;
|
214
|
-
this.platform = options.platform || defaultPlatform;
|
215
|
-
this.isWindows = this.platform === 'win32';
|
216
|
-
this.windowsPathsNoEscape =
|
217
|
-
!!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
|
218
|
-
if (this.windowsPathsNoEscape) {
|
219
|
-
this.pattern = this.pattern.replace(/\\/g, '/');
|
220
|
-
}
|
221
|
-
this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
|
222
|
-
this.regexp = null;
|
223
|
-
this.negate = false;
|
224
|
-
this.nonegate = !!options.nonegate;
|
225
|
-
this.comment = false;
|
226
|
-
this.empty = false;
|
227
|
-
this.partial = !!options.partial;
|
228
|
-
this.nocase = !!this.options.nocase;
|
229
|
-
this.windowsNoMagicRoot =
|
230
|
-
options.windowsNoMagicRoot !== undefined
|
231
|
-
? options.windowsNoMagicRoot
|
232
|
-
: !!(this.isWindows && this.nocase);
|
233
|
-
this.globSet = [];
|
234
|
-
this.globParts = [];
|
235
|
-
this.set = [];
|
236
|
-
// make the set of regexps etc.
|
237
|
-
this.make();
|
238
|
-
}
|
239
|
-
hasMagic() {
|
240
|
-
if (this.options.magicalBraces && this.set.length > 1) {
|
241
|
-
return true;
|
242
|
-
}
|
243
|
-
for (const pattern of this.set) {
|
244
|
-
for (const part of pattern) {
|
245
|
-
if (typeof part !== 'string')
|
246
|
-
return true;
|
247
|
-
}
|
248
|
-
}
|
249
|
-
return false;
|
250
|
-
}
|
251
|
-
debug(..._) { }
|
252
|
-
make() {
|
253
|
-
const pattern = this.pattern;
|
254
|
-
const options = this.options;
|
255
|
-
// empty patterns and comments match nothing.
|
256
|
-
if (!options.nocomment && pattern.charAt(0) === '#') {
|
257
|
-
this.comment = true;
|
258
|
-
return;
|
259
|
-
}
|
260
|
-
if (!pattern) {
|
261
|
-
this.empty = true;
|
262
|
-
return;
|
263
|
-
}
|
264
|
-
// step 1: figure out negation, etc.
|
265
|
-
this.parseNegate();
|
266
|
-
// step 2: expand braces
|
267
|
-
this.globSet = [...new Set(this.braceExpand())];
|
268
|
-
if (options.debug) {
|
269
|
-
this.debug = (...args) => console.error(...args);
|
270
|
-
}
|
271
|
-
this.debug(this.pattern, this.globSet);
|
272
|
-
// step 3: now we have a set, so turn each one into a series of
|
273
|
-
// path-portion matching patterns.
|
274
|
-
// These will be regexps, except in the case of "**", which is
|
275
|
-
// set to the GLOBSTAR object for globstar behavior,
|
276
|
-
// and will not contain any / characters
|
277
|
-
//
|
278
|
-
// First, we preprocess to make the glob pattern sets a bit simpler
|
279
|
-
// and deduped. There are some perf-killing patterns that can cause
|
280
|
-
// problems with a glob walk, but we can simplify them down a bit.
|
281
|
-
const rawGlobParts = this.globSet.map(s => this.slashSplit(s));
|
282
|
-
this.globParts = this.preprocess(rawGlobParts);
|
283
|
-
this.debug(this.pattern, this.globParts);
|
284
|
-
// glob --> regexps
|
285
|
-
let set = this.globParts.map((s, _, __) => {
|
286
|
-
if (this.isWindows && this.windowsNoMagicRoot) {
|
287
|
-
// check if it's a drive or unc path.
|
288
|
-
const isUNC = s[0] === '' &&
|
289
|
-
s[1] === '' &&
|
290
|
-
(s[2] === '?' || !globMagic.test(s[2])) &&
|
291
|
-
!globMagic.test(s[3]);
|
292
|
-
const isDrive = /^[a-z]:/i.test(s[0]);
|
293
|
-
if (isUNC) {
|
294
|
-
return [...s.slice(0, 4), ...s.slice(4).map(ss => this.parse(ss))];
|
295
|
-
}
|
296
|
-
else if (isDrive) {
|
297
|
-
return [s[0], ...s.slice(1).map(ss => this.parse(ss))];
|
298
|
-
}
|
299
|
-
}
|
300
|
-
return s.map(ss => this.parse(ss));
|
301
|
-
});
|
302
|
-
this.debug(this.pattern, set);
|
303
|
-
// filter out everything that didn't compile properly.
|
304
|
-
this.set = set.filter(s => s.indexOf(false) === -1);
|
305
|
-
// do not treat the ? in UNC paths as magic
|
306
|
-
if (this.isWindows) {
|
307
|
-
for (let i = 0; i < this.set.length; i++) {
|
308
|
-
const p = this.set[i];
|
309
|
-
if (p[0] === '' &&
|
310
|
-
p[1] === '' &&
|
311
|
-
this.globParts[i][2] === '?' &&
|
312
|
-
typeof p[3] === 'string' &&
|
313
|
-
/^[a-z]:$/i.test(p[3])) {
|
314
|
-
p[2] = '?';
|
315
|
-
}
|
316
|
-
}
|
317
|
-
}
|
318
|
-
this.debug(this.pattern, this.set);
|
319
|
-
}
|
320
|
-
// various transforms to equivalent pattern sets that are
|
321
|
-
// faster to process in a filesystem walk. The goal is to
|
322
|
-
// eliminate what we can, and push all ** patterns as far
|
323
|
-
// to the right as possible, even if it increases the number
|
324
|
-
// of patterns that we have to process.
|
325
|
-
preprocess(globParts) {
|
326
|
-
// if we're not in globstar mode, then turn all ** into *
|
327
|
-
if (this.options.noglobstar) {
|
328
|
-
for (let i = 0; i < globParts.length; i++) {
|
329
|
-
for (let j = 0; j < globParts[i].length; j++) {
|
330
|
-
if (globParts[i][j] === '**') {
|
331
|
-
globParts[i][j] = '*';
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
335
|
-
}
|
336
|
-
const { optimizationLevel = 1 } = this.options;
|
337
|
-
if (optimizationLevel >= 2) {
|
338
|
-
// aggressive optimization for the purpose of fs walking
|
339
|
-
globParts = this.firstPhasePreProcess(globParts);
|
340
|
-
globParts = this.secondPhasePreProcess(globParts);
|
341
|
-
}
|
342
|
-
else if (optimizationLevel >= 1) {
|
343
|
-
// just basic optimizations to remove some .. parts
|
344
|
-
globParts = this.levelOneOptimize(globParts);
|
345
|
-
}
|
346
|
-
else {
|
347
|
-
globParts = this.adjascentGlobstarOptimize(globParts);
|
348
|
-
}
|
349
|
-
return globParts;
|
350
|
-
}
|
351
|
-
// just get rid of adjascent ** portions
|
352
|
-
adjascentGlobstarOptimize(globParts) {
|
353
|
-
return globParts.map(parts => {
|
354
|
-
let gs = -1;
|
355
|
-
while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
|
356
|
-
let i = gs;
|
357
|
-
while (parts[i + 1] === '**') {
|
358
|
-
i++;
|
359
|
-
}
|
360
|
-
if (i !== gs) {
|
361
|
-
parts.splice(gs, i - gs);
|
362
|
-
}
|
363
|
-
}
|
364
|
-
return parts;
|
365
|
-
});
|
366
|
-
}
|
367
|
-
// get rid of adjascent ** and resolve .. portions
|
368
|
-
levelOneOptimize(globParts) {
|
369
|
-
return globParts.map(parts => {
|
370
|
-
parts = parts.reduce((set, part) => {
|
371
|
-
const prev = set[set.length - 1];
|
372
|
-
if (part === '**' && prev === '**') {
|
373
|
-
return set;
|
374
|
-
}
|
375
|
-
if (part === '..') {
|
376
|
-
if (prev && prev !== '..' && prev !== '.' && prev !== '**') {
|
377
|
-
set.pop();
|
378
|
-
return set;
|
379
|
-
}
|
380
|
-
}
|
381
|
-
set.push(part);
|
382
|
-
return set;
|
383
|
-
}, []);
|
384
|
-
return parts.length === 0 ? [''] : parts;
|
385
|
-
});
|
386
|
-
}
|
387
|
-
levelTwoFileOptimize(parts) {
|
388
|
-
if (!Array.isArray(parts)) {
|
389
|
-
parts = this.slashSplit(parts);
|
390
|
-
}
|
391
|
-
let didSomething = false;
|
392
|
-
do {
|
393
|
-
didSomething = false;
|
394
|
-
// <pre>/<e>/<rest> -> <pre>/<rest>
|
395
|
-
if (!this.preserveMultipleSlashes) {
|
396
|
-
for (let i = 1; i < parts.length - 1; i++) {
|
397
|
-
const p = parts[i];
|
398
|
-
// don't squeeze out UNC patterns
|
399
|
-
if (i === 1 && p === '' && parts[0] === '')
|
400
|
-
continue;
|
401
|
-
if (p === '.' || p === '') {
|
402
|
-
didSomething = true;
|
403
|
-
parts.splice(i, 1);
|
404
|
-
i--;
|
405
|
-
}
|
406
|
-
}
|
407
|
-
if (parts[0] === '.' &&
|
408
|
-
parts.length === 2 &&
|
409
|
-
(parts[1] === '.' || parts[1] === '')) {
|
410
|
-
didSomething = true;
|
411
|
-
parts.pop();
|
412
|
-
}
|
413
|
-
}
|
414
|
-
// <pre>/<p>/../<rest> -> <pre>/<rest>
|
415
|
-
let dd = 0;
|
416
|
-
while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
|
417
|
-
const p = parts[dd - 1];
|
418
|
-
if (p && p !== '.' && p !== '..' && p !== '**') {
|
419
|
-
didSomething = true;
|
420
|
-
parts.splice(dd - 1, 2);
|
421
|
-
dd -= 2;
|
422
|
-
}
|
423
|
-
}
|
424
|
-
} while (didSomething);
|
425
|
-
return parts.length === 0 ? [''] : parts;
|
426
|
-
}
|
427
|
-
// First phase: single-pattern processing
|
428
|
-
// <pre> is 1 or more portions
|
429
|
-
// <rest> is 1 or more portions
|
430
|
-
// <p> is any portion other than ., .., '', or **
|
431
|
-
// <e> is . or ''
|
432
|
-
//
|
433
|
-
// **/.. is *brutal* for filesystem walking performance, because
|
434
|
-
// it effectively resets the recursive walk each time it occurs,
|
435
|
-
// and ** cannot be reduced out by a .. pattern part like a regexp
|
436
|
-
// or most strings (other than .., ., and '') can be.
|
437
|
-
//
|
438
|
-
// <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
|
439
|
-
// <pre>/<e>/<rest> -> <pre>/<rest>
|
440
|
-
// <pre>/<p>/../<rest> -> <pre>/<rest>
|
441
|
-
// **/**/<rest> -> **/<rest>
|
442
|
-
//
|
443
|
-
// **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
|
444
|
-
// this WOULD be allowed if ** did follow symlinks, or * didn't
|
445
|
-
firstPhasePreProcess(globParts) {
|
446
|
-
let didSomething = false;
|
447
|
-
do {
|
448
|
-
didSomething = false;
|
449
|
-
// <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
|
450
|
-
for (let parts of globParts) {
|
451
|
-
let gs = -1;
|
452
|
-
while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
|
453
|
-
let gss = gs;
|
454
|
-
while (parts[gss + 1] === '**') {
|
455
|
-
// <pre>/**/**/<rest> -> <pre>/**/<rest>
|
456
|
-
gss++;
|
457
|
-
}
|
458
|
-
// eg, if gs is 2 and gss is 4, that means we have 3 **
|
459
|
-
// parts, and can remove 2 of them.
|
460
|
-
if (gss > gs) {
|
461
|
-
parts.splice(gs + 1, gss - gs);
|
462
|
-
}
|
463
|
-
let next = parts[gs + 1];
|
464
|
-
const p = parts[gs + 2];
|
465
|
-
const p2 = parts[gs + 3];
|
466
|
-
if (next !== '..')
|
467
|
-
continue;
|
468
|
-
if (!p ||
|
469
|
-
p === '.' ||
|
470
|
-
p === '..' ||
|
471
|
-
!p2 ||
|
472
|
-
p2 === '.' ||
|
473
|
-
p2 === '..') {
|
474
|
-
continue;
|
475
|
-
}
|
476
|
-
didSomething = true;
|
477
|
-
// edit parts in place, and push the new one
|
478
|
-
parts.splice(gs, 1);
|
479
|
-
const other = parts.slice(0);
|
480
|
-
other[gs] = '**';
|
481
|
-
globParts.push(other);
|
482
|
-
gs--;
|
483
|
-
}
|
484
|
-
// <pre>/<e>/<rest> -> <pre>/<rest>
|
485
|
-
if (!this.preserveMultipleSlashes) {
|
486
|
-
for (let i = 1; i < parts.length - 1; i++) {
|
487
|
-
const p = parts[i];
|
488
|
-
// don't squeeze out UNC patterns
|
489
|
-
if (i === 1 && p === '' && parts[0] === '')
|
490
|
-
continue;
|
491
|
-
if (p === '.' || p === '') {
|
492
|
-
didSomething = true;
|
493
|
-
parts.splice(i, 1);
|
494
|
-
i--;
|
495
|
-
}
|
496
|
-
}
|
497
|
-
if (parts[0] === '.' &&
|
498
|
-
parts.length === 2 &&
|
499
|
-
(parts[1] === '.' || parts[1] === '')) {
|
500
|
-
didSomething = true;
|
501
|
-
parts.pop();
|
502
|
-
}
|
503
|
-
}
|
504
|
-
// <pre>/<p>/../<rest> -> <pre>/<rest>
|
505
|
-
let dd = 0;
|
506
|
-
while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
|
507
|
-
const p = parts[dd - 1];
|
508
|
-
if (p && p !== '.' && p !== '..' && p !== '**') {
|
509
|
-
didSomething = true;
|
510
|
-
const needDot = dd === 1 && parts[dd + 1] === '**';
|
511
|
-
const splin = needDot ? ['.'] : [];
|
512
|
-
parts.splice(dd - 1, 2, ...splin);
|
513
|
-
if (parts.length === 0)
|
514
|
-
parts.push('');
|
515
|
-
dd -= 2;
|
516
|
-
}
|
517
|
-
}
|
518
|
-
}
|
519
|
-
} while (didSomething);
|
520
|
-
return globParts;
|
521
|
-
}
|
522
|
-
// second phase: multi-pattern dedupes
|
523
|
-
// {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
|
524
|
-
// {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
|
525
|
-
// {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
|
526
|
-
//
|
527
|
-
// {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
|
528
|
-
// ^-- not valid because ** doens't follow symlinks
|
529
|
-
secondPhasePreProcess(globParts) {
|
530
|
-
for (let i = 0; i < globParts.length - 1; i++) {
|
531
|
-
for (let j = i + 1; j < globParts.length; j++) {
|
532
|
-
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
|
533
|
-
if (!matched)
|
534
|
-
continue;
|
535
|
-
globParts[i] = matched;
|
536
|
-
globParts[j] = [];
|
537
|
-
}
|
538
|
-
}
|
539
|
-
return globParts.filter(gs => gs.length);
|
540
|
-
}
|
541
|
-
partsMatch(a, b, emptyGSMatch = false) {
|
542
|
-
let ai = 0;
|
543
|
-
let bi = 0;
|
544
|
-
let result = [];
|
545
|
-
let which = '';
|
546
|
-
while (ai < a.length && bi < b.length) {
|
547
|
-
if (a[ai] === b[bi]) {
|
548
|
-
result.push(which === 'b' ? b[bi] : a[ai]);
|
549
|
-
ai++;
|
550
|
-
bi++;
|
551
|
-
}
|
552
|
-
else if (emptyGSMatch && a[ai] === '**' && b[bi] === a[ai + 1]) {
|
553
|
-
result.push(a[ai]);
|
554
|
-
ai++;
|
555
|
-
}
|
556
|
-
else if (emptyGSMatch && b[bi] === '**' && a[ai] === b[bi + 1]) {
|
557
|
-
result.push(b[bi]);
|
558
|
-
bi++;
|
559
|
-
}
|
560
|
-
else if (a[ai] === '*' &&
|
561
|
-
b[bi] &&
|
562
|
-
(this.options.dot || !b[bi].startsWith('.')) &&
|
563
|
-
b[bi] !== '**') {
|
564
|
-
if (which === 'b')
|
565
|
-
return false;
|
566
|
-
which = 'a';
|
567
|
-
result.push(a[ai]);
|
568
|
-
ai++;
|
569
|
-
bi++;
|
570
|
-
}
|
571
|
-
else if (b[bi] === '*' &&
|
572
|
-
a[ai] &&
|
573
|
-
(this.options.dot || !a[ai].startsWith('.')) &&
|
574
|
-
a[ai] !== '**') {
|
575
|
-
if (which === 'a')
|
576
|
-
return false;
|
577
|
-
which = 'b';
|
578
|
-
result.push(b[bi]);
|
579
|
-
ai++;
|
580
|
-
bi++;
|
581
|
-
}
|
582
|
-
else {
|
583
|
-
return false;
|
584
|
-
}
|
585
|
-
}
|
586
|
-
// if we fall out of the loop, it means they two are identical
|
587
|
-
// as long as their lengths match
|
588
|
-
return a.length === b.length && result;
|
589
|
-
}
|
590
|
-
parseNegate() {
|
591
|
-
if (this.nonegate)
|
592
|
-
return;
|
593
|
-
const pattern = this.pattern;
|
594
|
-
let negate = false;
|
595
|
-
let negateOffset = 0;
|
596
|
-
for (let i = 0; i < pattern.length && pattern.charAt(i) === '!'; i++) {
|
597
|
-
negate = !negate;
|
598
|
-
negateOffset++;
|
599
|
-
}
|
600
|
-
if (negateOffset)
|
601
|
-
this.pattern = pattern.slice(negateOffset);
|
602
|
-
this.negate = negate;
|
603
|
-
}
|
604
|
-
// set partial to true to test if, for example,
|
605
|
-
// "/a/b" matches the start of "/*/b/*/d"
|
606
|
-
// Partial means, if you run out of file before you run
|
607
|
-
// out of pattern, then that's fine, as long as all
|
608
|
-
// the parts match.
|
609
|
-
matchOne(file, pattern, partial = false) {
|
610
|
-
const options = this.options;
|
611
|
-
// UNC paths like //?/X:/... can match X:/... and vice versa
|
612
|
-
// Drive letters in absolute drive or unc paths are always compared
|
613
|
-
// case-insensitively.
|
614
|
-
if (this.isWindows) {
|
615
|
-
const fileDrive = typeof file[0] === 'string' && /^[a-z]:$/i.test(file[0]);
|
616
|
-
const fileUNC = !fileDrive &&
|
617
|
-
file[0] === '' &&
|
618
|
-
file[1] === '' &&
|
619
|
-
file[2] === '?' &&
|
620
|
-
/^[a-z]:$/i.test(file[3]);
|
621
|
-
const patternDrive = typeof pattern[0] === 'string' && /^[a-z]:$/i.test(pattern[0]);
|
622
|
-
const patternUNC = !patternDrive &&
|
623
|
-
pattern[0] === '' &&
|
624
|
-
pattern[1] === '' &&
|
625
|
-
pattern[2] === '?' &&
|
626
|
-
typeof pattern[3] === 'string' &&
|
627
|
-
/^[a-z]:$/i.test(pattern[3]);
|
628
|
-
const fdi = fileUNC ? 3 : fileDrive ? 0 : undefined;
|
629
|
-
const pdi = patternUNC ? 3 : patternDrive ? 0 : undefined;
|
630
|
-
if (typeof fdi === 'number' && typeof pdi === 'number') {
|
631
|
-
const [fd, pd] = [file[fdi], pattern[pdi]];
|
632
|
-
if (fd.toLowerCase() === pd.toLowerCase()) {
|
633
|
-
pattern[pdi] = fd;
|
634
|
-
if (pdi > fdi) {
|
635
|
-
pattern = pattern.slice(pdi);
|
636
|
-
}
|
637
|
-
else if (fdi > pdi) {
|
638
|
-
file = file.slice(fdi);
|
639
|
-
}
|
640
|
-
}
|
641
|
-
}
|
642
|
-
}
|
643
|
-
// resolve and reduce . and .. portions in the file as well.
|
644
|
-
// dont' need to do the second phase, because it's only one string[]
|
645
|
-
const { optimizationLevel = 1 } = this.options;
|
646
|
-
if (optimizationLevel >= 2) {
|
647
|
-
file = this.levelTwoFileOptimize(file);
|
648
|
-
}
|
649
|
-
this.debug('matchOne', this, { file, pattern });
|
650
|
-
this.debug('matchOne', file.length, pattern.length);
|
651
|
-
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
652
|
-
this.debug('matchOne loop');
|
653
|
-
var p = pattern[pi];
|
654
|
-
var f = file[fi];
|
655
|
-
this.debug(pattern, p, f);
|
656
|
-
// should be impossible.
|
657
|
-
// some invalid regexp stuff in the set.
|
658
|
-
/* c8 ignore start */
|
659
|
-
if (p === false) {
|
660
|
-
return false;
|
661
|
-
}
|
662
|
-
/* c8 ignore stop */
|
663
|
-
if (p === exports.GLOBSTAR) {
|
664
|
-
this.debug('GLOBSTAR', [pattern, p, f]);
|
665
|
-
// "**"
|
666
|
-
// a/**/b/**/c would match the following:
|
667
|
-
// a/b/x/y/z/c
|
668
|
-
// a/x/y/z/b/c
|
669
|
-
// a/b/x/b/x/c
|
670
|
-
// a/b/c
|
671
|
-
// To do this, take the rest of the pattern after
|
672
|
-
// the **, and see if it would match the file remainder.
|
673
|
-
// If so, return success.
|
674
|
-
// If not, the ** "swallows" a segment, and try again.
|
675
|
-
// This is recursively awful.
|
676
|
-
//
|
677
|
-
// a/**/b/**/c matching a/b/x/y/z/c
|
678
|
-
// - a matches a
|
679
|
-
// - doublestar
|
680
|
-
// - matchOne(b/x/y/z/c, b/**/c)
|
681
|
-
// - b matches b
|
682
|
-
// - doublestar
|
683
|
-
// - matchOne(x/y/z/c, c) -> no
|
684
|
-
// - matchOne(y/z/c, c) -> no
|
685
|
-
// - matchOne(z/c, c) -> no
|
686
|
-
// - matchOne(c, c) yes, hit
|
687
|
-
var fr = fi;
|
688
|
-
var pr = pi + 1;
|
689
|
-
if (pr === pl) {
|
690
|
-
this.debug('** at the end');
|
691
|
-
// a ** at the end will just swallow the rest.
|
692
|
-
// We have found a match.
|
693
|
-
// however, it will not swallow /.x, unless
|
694
|
-
// options.dot is set.
|
695
|
-
// . and .. are *never* matched by **, for explosively
|
696
|
-
// exponential reasons.
|
697
|
-
for (; fi < fl; fi++) {
|
698
|
-
if (file[fi] === '.' ||
|
699
|
-
file[fi] === '..' ||
|
700
|
-
(!options.dot && file[fi].charAt(0) === '.'))
|
701
|
-
return false;
|
702
|
-
}
|
703
|
-
return true;
|
704
|
-
}
|
705
|
-
// ok, let's see if we can swallow whatever we can.
|
706
|
-
while (fr < fl) {
|
707
|
-
var swallowee = file[fr];
|
708
|
-
this.debug('\nglobstar while', file, fr, pattern, pr, swallowee);
|
709
|
-
// XXX remove this slice. Just pass the start index.
|
710
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
711
|
-
this.debug('globstar found match!', fr, fl, swallowee);
|
712
|
-
// found a match.
|
713
|
-
return true;
|
714
|
-
}
|
715
|
-
else {
|
716
|
-
// can't swallow "." or ".." ever.
|
717
|
-
// can only swallow ".foo" when explicitly asked.
|
718
|
-
if (swallowee === '.' ||
|
719
|
-
swallowee === '..' ||
|
720
|
-
(!options.dot && swallowee.charAt(0) === '.')) {
|
721
|
-
this.debug('dot detected!', file, fr, pattern, pr);
|
722
|
-
break;
|
723
|
-
}
|
724
|
-
// ** swallows a segment, and continue.
|
725
|
-
this.debug('globstar swallow a segment, and continue');
|
726
|
-
fr++;
|
727
|
-
}
|
728
|
-
}
|
729
|
-
// no match was found.
|
730
|
-
// However, in partial mode, we can't say this is necessarily over.
|
731
|
-
/* c8 ignore start */
|
732
|
-
if (partial) {
|
733
|
-
// ran out of file
|
734
|
-
this.debug('\n>>> no match, partial?', file, fr, pattern, pr);
|
735
|
-
if (fr === fl) {
|
736
|
-
return true;
|
737
|
-
}
|
738
|
-
}
|
739
|
-
/* c8 ignore stop */
|
740
|
-
return false;
|
741
|
-
}
|
742
|
-
// something other than **
|
743
|
-
// non-magic patterns just have to match exactly
|
744
|
-
// patterns with magic have been turned into regexps.
|
745
|
-
let hit;
|
746
|
-
if (typeof p === 'string') {
|
747
|
-
hit = f === p;
|
748
|
-
this.debug('string match', p, f, hit);
|
749
|
-
}
|
750
|
-
else {
|
751
|
-
hit = p.test(f);
|
752
|
-
this.debug('pattern match', p, f, hit);
|
753
|
-
}
|
754
|
-
if (!hit)
|
755
|
-
return false;
|
756
|
-
}
|
757
|
-
// Note: ending in / means that we'll get a final ""
|
758
|
-
// at the end of the pattern. This can only match a
|
759
|
-
// corresponding "" at the end of the file.
|
760
|
-
// If the file ends in /, then it can only match a
|
761
|
-
// a pattern that ends in /, unless the pattern just
|
762
|
-
// doesn't have any more for it. But, a/b/ should *not*
|
763
|
-
// match "a/b/*", even though "" matches against the
|
764
|
-
// [^/]*? pattern, except in partial mode, where it might
|
765
|
-
// simply not be reached yet.
|
766
|
-
// However, a/b/ should still satisfy a/*
|
767
|
-
// now either we fell off the end of the pattern, or we're done.
|
768
|
-
if (fi === fl && pi === pl) {
|
769
|
-
// ran out of pattern and filename at the same time.
|
770
|
-
// an exact hit!
|
771
|
-
return true;
|
772
|
-
}
|
773
|
-
else if (fi === fl) {
|
774
|
-
// ran out of file, but still had pattern left.
|
775
|
-
// this is ok if we're doing the match as part of
|
776
|
-
// a glob fs traversal.
|
777
|
-
return partial;
|
778
|
-
}
|
779
|
-
else if (pi === pl) {
|
780
|
-
// ran out of pattern, still have file left.
|
781
|
-
// this is only acceptable if we're on the very last
|
782
|
-
// empty segment of a file with a trailing slash.
|
783
|
-
// a/* should match a/b/
|
784
|
-
return fi === fl - 1 && file[fi] === '';
|
785
|
-
/* c8 ignore start */
|
786
|
-
}
|
787
|
-
else {
|
788
|
-
// should be unreachable.
|
789
|
-
throw new Error('wtf?');
|
790
|
-
}
|
791
|
-
/* c8 ignore stop */
|
792
|
-
}
|
793
|
-
braceExpand() {
|
794
|
-
return (0, exports.braceExpand)(this.pattern, this.options);
|
795
|
-
}
|
796
|
-
parse(pattern) {
|
797
|
-
(0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
|
798
|
-
const options = this.options;
|
799
|
-
// shortcuts
|
800
|
-
if (pattern === '**')
|
801
|
-
return exports.GLOBSTAR;
|
802
|
-
if (pattern === '')
|
803
|
-
return '';
|
804
|
-
// far and away, the most common glob pattern parts are
|
805
|
-
// *, *.*, and *.<ext> Add a fast check method for those.
|
806
|
-
let m;
|
807
|
-
let fastTest = null;
|
808
|
-
if ((m = pattern.match(starRE))) {
|
809
|
-
fastTest = options.dot ? starTestDot : starTest;
|
810
|
-
}
|
811
|
-
else if ((m = pattern.match(starDotExtRE))) {
|
812
|
-
fastTest = (options.nocase
|
813
|
-
? options.dot
|
814
|
-
? starDotExtTestNocaseDot
|
815
|
-
: starDotExtTestNocase
|
816
|
-
: options.dot
|
817
|
-
? starDotExtTestDot
|
818
|
-
: starDotExtTest)(m[1]);
|
819
|
-
}
|
820
|
-
else if ((m = pattern.match(qmarksRE))) {
|
821
|
-
fastTest = (options.nocase
|
822
|
-
? options.dot
|
823
|
-
? qmarksTestNocaseDot
|
824
|
-
: qmarksTestNocase
|
825
|
-
: options.dot
|
826
|
-
? qmarksTestDot
|
827
|
-
: qmarksTest)(m);
|
828
|
-
}
|
829
|
-
else if ((m = pattern.match(starDotStarRE))) {
|
830
|
-
fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
|
831
|
-
}
|
832
|
-
else if ((m = pattern.match(dotStarRE))) {
|
833
|
-
fastTest = dotStarTest;
|
834
|
-
}
|
835
|
-
const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
|
836
|
-
return fastTest ? Object.assign(re, { test: fastTest }) : re;
|
837
|
-
}
|
838
|
-
makeRe() {
|
839
|
-
if (this.regexp || this.regexp === false)
|
840
|
-
return this.regexp;
|
841
|
-
// at this point, this.set is a 2d array of partial
|
842
|
-
// pattern strings, or "**".
|
843
|
-
//
|
844
|
-
// It's better to use .match(). This function shouldn't
|
845
|
-
// be used, really, but it's pretty convenient sometimes,
|
846
|
-
// when you just want to work with a regex.
|
847
|
-
const set = this.set;
|
848
|
-
if (!set.length) {
|
849
|
-
this.regexp = false;
|
850
|
-
return this.regexp;
|
851
|
-
}
|
852
|
-
const options = this.options;
|
853
|
-
const twoStar = options.noglobstar
|
854
|
-
? star
|
855
|
-
: options.dot
|
856
|
-
? twoStarDot
|
857
|
-
: twoStarNoDot;
|
858
|
-
const flags = new Set(options.nocase ? ['i'] : []);
|
859
|
-
// regexpify non-globstar patterns
|
860
|
-
// if ** is only item, then we just do one twoStar
|
861
|
-
// if ** is first, and there are more, prepend (\/|twoStar\/)? to next
|
862
|
-
// if ** is last, append (\/twoStar|) to previous
|
863
|
-
// if ** is in the middle, append (\/|\/twoStar\/) to previous
|
864
|
-
// then filter out GLOBSTAR symbols
|
865
|
-
let re = set
|
866
|
-
.map(pattern => {
|
867
|
-
const pp = pattern.map(p => {
|
868
|
-
if (p instanceof RegExp) {
|
869
|
-
for (const f of p.flags.split(''))
|
870
|
-
flags.add(f);
|
871
|
-
}
|
872
|
-
return typeof p === 'string'
|
873
|
-
? regExpEscape(p)
|
874
|
-
: p === exports.GLOBSTAR
|
875
|
-
? exports.GLOBSTAR
|
876
|
-
: p._src;
|
877
|
-
});
|
878
|
-
pp.forEach((p, i) => {
|
879
|
-
const next = pp[i + 1];
|
880
|
-
const prev = pp[i - 1];
|
881
|
-
if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) {
|
882
|
-
return;
|
883
|
-
}
|
884
|
-
if (prev === undefined) {
|
885
|
-
if (next !== undefined && next !== exports.GLOBSTAR) {
|
886
|
-
pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next;
|
887
|
-
}
|
888
|
-
else {
|
889
|
-
pp[i] = twoStar;
|
890
|
-
}
|
891
|
-
}
|
892
|
-
else if (next === undefined) {
|
893
|
-
pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?';
|
894
|
-
}
|
895
|
-
else if (next !== exports.GLOBSTAR) {
|
896
|
-
pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next;
|
897
|
-
pp[i + 1] = exports.GLOBSTAR;
|
898
|
-
}
|
899
|
-
});
|
900
|
-
return pp.filter(p => p !== exports.GLOBSTAR).join('/');
|
901
|
-
})
|
902
|
-
.join('|');
|
903
|
-
// need to wrap in parens if we had more than one thing with |,
|
904
|
-
// otherwise only the first will be anchored to ^ and the last to $
|
905
|
-
const [open, close] = set.length > 1 ? ['(?:', ')'] : ['', ''];
|
906
|
-
// must match entire pattern
|
907
|
-
// ending in a * or ** will make it less strict.
|
908
|
-
re = '^' + open + re + close + '$';
|
909
|
-
// can match anything, as long as it's not this.
|
910
|
-
if (this.negate)
|
911
|
-
re = '^(?!' + re + ').+$';
|
912
|
-
try {
|
913
|
-
this.regexp = new RegExp(re, [...flags].join(''));
|
914
|
-
/* c8 ignore start */
|
915
|
-
}
|
916
|
-
catch (ex) {
|
917
|
-
// should be impossible
|
918
|
-
this.regexp = false;
|
919
|
-
}
|
920
|
-
/* c8 ignore stop */
|
921
|
-
return this.regexp;
|
922
|
-
}
|
923
|
-
slashSplit(p) {
|
924
|
-
// if p starts with // on windows, we preserve that
|
925
|
-
// so that UNC paths aren't broken. Otherwise, any number of
|
926
|
-
// / characters are coalesced into one, unless
|
927
|
-
// preserveMultipleSlashes is set to true.
|
928
|
-
if (this.preserveMultipleSlashes) {
|
929
|
-
return p.split('/');
|
930
|
-
}
|
931
|
-
else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
|
932
|
-
// add an extra '' for the one we lose
|
933
|
-
return ['', ...p.split(/\/+/)];
|
934
|
-
}
|
935
|
-
else {
|
936
|
-
return p.split(/\/+/);
|
937
|
-
}
|
938
|
-
}
|
939
|
-
match(f, partial = this.partial) {
|
940
|
-
this.debug('match', f, this.pattern);
|
941
|
-
// short-circuit in the case of busted things.
|
942
|
-
// comments, etc.
|
943
|
-
if (this.comment) {
|
944
|
-
return false;
|
945
|
-
}
|
946
|
-
if (this.empty) {
|
947
|
-
return f === '';
|
948
|
-
}
|
949
|
-
if (f === '/' && partial) {
|
950
|
-
return true;
|
951
|
-
}
|
952
|
-
const options = this.options;
|
953
|
-
// windows: need to use /, not \
|
954
|
-
if (this.isWindows) {
|
955
|
-
f = f.split('\\').join('/');
|
956
|
-
}
|
957
|
-
// treat the test path as a set of pathparts.
|
958
|
-
const ff = this.slashSplit(f);
|
959
|
-
this.debug(this.pattern, 'split', ff);
|
960
|
-
// just ONE of the pattern sets in this.set needs to match
|
961
|
-
// in order for it to be valid. If negating, then just one
|
962
|
-
// match means that we have failed.
|
963
|
-
// Either way, return on the first hit.
|
964
|
-
const set = this.set;
|
965
|
-
this.debug(this.pattern, 'set', set);
|
966
|
-
// Find the basename of the path by looking for the last non-empty segment
|
967
|
-
let filename = ff[ff.length - 1];
|
968
|
-
if (!filename) {
|
969
|
-
for (let i = ff.length - 2; !filename && i >= 0; i--) {
|
970
|
-
filename = ff[i];
|
971
|
-
}
|
972
|
-
}
|
973
|
-
for (let i = 0; i < set.length; i++) {
|
974
|
-
const pattern = set[i];
|
975
|
-
let file = ff;
|
976
|
-
if (options.matchBase && pattern.length === 1) {
|
977
|
-
file = [filename];
|
978
|
-
}
|
979
|
-
const hit = this.matchOne(file, pattern, partial);
|
980
|
-
if (hit) {
|
981
|
-
if (options.flipNegate) {
|
982
|
-
return true;
|
983
|
-
}
|
984
|
-
return !this.negate;
|
985
|
-
}
|
986
|
-
}
|
987
|
-
// didn't get any hits. this is success if it's a negative
|
988
|
-
// pattern, failure otherwise.
|
989
|
-
if (options.flipNegate) {
|
990
|
-
return false;
|
991
|
-
}
|
992
|
-
return this.negate;
|
993
|
-
}
|
994
|
-
static defaults(def) {
|
995
|
-
return exports.minimatch.defaults(def).Minimatch;
|
996
|
-
}
|
997
|
-
}
|
998
|
-
exports.Minimatch = Minimatch;
|
999
|
-
/* c8 ignore start */
|
1000
|
-
var ast_js_2 = require("./ast.js");
|
1001
|
-
Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } });
|
1002
|
-
var escape_js_2 = require("./escape.js");
|
1003
|
-
Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } });
|
1004
|
-
var unescape_js_2 = require("./unescape.js");
|
1005
|
-
Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } });
|
1006
|
-
/* c8 ignore stop */
|
1007
|
-
exports.minimatch.AST = ast_js_1.AST;
|
1008
|
-
exports.minimatch.Minimatch = Minimatch;
|
1009
|
-
exports.minimatch.escape = escape_js_1.escape;
|
1010
|
-
exports.minimatch.unescape = unescape_js_1.unescape;
|
1011
|
-
//# sourceMappingURL=index.js.map
|