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,795 +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.cliOptionsMap = exports.renderExtendedHelp = void 0;
|
7
|
-
const sortBy_1 = __importDefault(require("lodash/sortBy"));
|
8
|
-
const path_1 = __importDefault(require("path"));
|
9
|
-
const cache_1 = require("./lib/cache");
|
10
|
-
const chalk_1 = __importDefault(require("./lib/chalk"));
|
11
|
-
const table_1 = __importDefault(require("./lib/table"));
|
12
|
-
/** Valid strings for the --target option. Indicates the desired version to upgrade to. */
|
13
|
-
const supportedVersionTargets = ['latest', 'newest', 'greatest', 'minor', 'patch', 'semver'];
|
14
|
-
/** Pads the left side of each line in a string. */
|
15
|
-
const padLeft = (s, n) => s
|
16
|
-
.split('\n')
|
17
|
-
.map(line => `${''.padStart(n, ' ')}${line}`)
|
18
|
-
.join('\n');
|
19
|
-
/** Formats a code block for CLI or markdown. */
|
20
|
-
const codeBlock = (code, { markdown } = {}) => `${markdown ? '```js\n' : ''}${padLeft(code, markdown ? 0 : 4)}${markdown ? '\n```' : ''}`;
|
21
|
-
/** Removes inline code ticks. */
|
22
|
-
const uncode = (s) => s.replace(/`/g, '');
|
23
|
-
/** Renders the extended help for an option with usage information. */
|
24
|
-
const renderExtendedHelp = (option, { markdown } = {}) => {
|
25
|
-
let output = '';
|
26
|
-
if (option.cli !== false) {
|
27
|
-
output = `Usage:
|
28
|
-
|
29
|
-
ncu --${option.long}${option.arg ? ` [${option.arg}]` : ''}\n`;
|
30
|
-
}
|
31
|
-
if (option.type === 'boolean') {
|
32
|
-
output += ` ncu --no-${option.long}\n`;
|
33
|
-
}
|
34
|
-
if (option.short) {
|
35
|
-
output += ` ncu -${option.short}${option.arg ? ` [${option.arg}]` : ''}\n`;
|
36
|
-
}
|
37
|
-
if (option.default !== undefined && !(Array.isArray(option.default) && option.default.length === 0)) {
|
38
|
-
output += `\nDefault: ${option.default}\n`;
|
39
|
-
}
|
40
|
-
if (option.help) {
|
41
|
-
const helpText = typeof option.help === 'function'
|
42
|
-
? markdown
|
43
|
-
? option.help({ markdown })
|
44
|
-
: uncode(option.help({ markdown }))
|
45
|
-
: option.help;
|
46
|
-
output += `\n${helpText.trim()}\n\n`;
|
47
|
-
}
|
48
|
-
else if (option.description) {
|
49
|
-
const description = markdown ? option.description : uncode(option.description);
|
50
|
-
output += `\n${description.replace(/`/g, '')}\n`;
|
51
|
-
}
|
52
|
-
return output.trim();
|
53
|
-
};
|
54
|
-
exports.renderExtendedHelp = renderExtendedHelp;
|
55
|
-
/** Extended help for the --doctor option. */
|
56
|
-
const extendedHelpDoctor = ({ markdown, }) => `Iteratively installs upgrades and runs tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.
|
57
|
-
|
58
|
-
${chalk_1.default.yellow('Add `-u` to execute')} (modifies your package file, lock file, and node_modules)
|
59
|
-
|
60
|
-
To be more precise:
|
61
|
-
|
62
|
-
1. Runs \`npm install\` and \`npm test\` to ensure tests are currently passing.
|
63
|
-
2. Runs \`ncu -u\` to optimistically upgrade all dependencies.
|
64
|
-
3. If tests pass, hurray!
|
65
|
-
4. If tests fail, restores package file and lock file.
|
66
|
-
5. For each dependency, install upgrade and run tests.
|
67
|
-
6. Prints broken upgrades with test error.
|
68
|
-
7. Saves working upgrades to package.json.
|
69
|
-
|
70
|
-
Additional options:
|
71
|
-
|
72
|
-
${(0, table_1.default)({
|
73
|
-
markdown,
|
74
|
-
rows: [
|
75
|
-
[chalk_1.default.cyan('--doctorInstall'), 'specify a custom install script (default: `npm install` or `yarn`)'],
|
76
|
-
[chalk_1.default.cyan('--doctorTest'), 'specify a custom test script (default: `npm test`)'],
|
77
|
-
],
|
78
|
-
})}
|
79
|
-
|
80
|
-
Example:
|
81
|
-
|
82
|
-
$ ncu --doctor -u
|
83
|
-
Running tests before upgrading
|
84
|
-
npm install
|
85
|
-
npm run test
|
86
|
-
Upgrading all dependencies and re-running tests
|
87
|
-
ncu -u
|
88
|
-
npm install
|
89
|
-
npm run test
|
90
|
-
Tests failed
|
91
|
-
Identifying broken dependencies
|
92
|
-
npm install
|
93
|
-
npm install --no-save react@16.0.0
|
94
|
-
npm run test
|
95
|
-
✓ react 15.0.0 → 16.0.0
|
96
|
-
npm install --no-save react-redux@7.0.0
|
97
|
-
npm run test
|
98
|
-
✗ react-redux 6.0.0 → 7.0.0
|
99
|
-
|
100
|
-
/projects/myproject/test.js:13
|
101
|
-
throw new Error('Test failed!')
|
102
|
-
^
|
103
|
-
|
104
|
-
npm install --no-save react-dnd@11.1.3
|
105
|
-
npm run test
|
106
|
-
✓ react-dnd 10.0.0 → 11.1.3
|
107
|
-
Saving partially upgraded package.json
|
108
|
-
`;
|
109
|
-
/** Extended help for the filterResults option. */
|
110
|
-
const extendedHelpFilterResults = ({ markdown }) => {
|
111
|
-
/** If markdown, surround inline code with backticks. */
|
112
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
113
|
-
return `Filters out upgrades based on a user provided function.
|
114
|
-
|
115
|
-
${codeInline('filterResults')} runs _after_ new versions are fetched, in contrast to ${codeInline('filter')}, ${codeInline('reject')}, ${codeInline('filterVersion')}, and ${codeInline('rejectVersion')}, which run _before_. This allows you to filter out upgrades with ${codeInline('filterResults')} based on how the version has changed (e.g. a major version change).
|
116
|
-
|
117
|
-
Only available in .ncurc.js or when importing npm-check-updates as a module.
|
118
|
-
|
119
|
-
${codeBlock(`${chalk_1.default.gray(`/** Filter out non-major version updates.
|
120
|
-
@param {string} packageName The name of the dependency.
|
121
|
-
@param {string} current Current version declaration (may be a range).
|
122
|
-
@param {SemVer[]} currentSemver Current version declaration in semantic versioning format (may be a range).
|
123
|
-
@param {string} upgraded Upgraded version.
|
124
|
-
@param {SemVer} upgradedSemver Upgraded version in semantic versioning format.
|
125
|
-
@returns {boolean} Return true if the upgrade should be kept, otherwise it will be ignored.
|
126
|
-
*/`)}
|
127
|
-
${chalk_1.default.green('filterResults')}: (packageName, { current, currentSemver, upgraded, upgradedSemver }) ${chalk_1.default.cyan('=>')} {
|
128
|
-
${chalk_1.default.cyan('const')} currentMajor ${chalk_1.default.red('=')} parseInt(currentSemver[${chalk_1.default.cyan('0')}]?.major, ${chalk_1.default.cyan('10')})
|
129
|
-
${chalk_1.default.cyan('const')} upgradedMajor ${chalk_1.default.red('=')} parseInt(upgradedSemver?.major, ${chalk_1.default.cyan('10')})
|
130
|
-
${chalk_1.default.red('if')} (currentMajor ${chalk_1.default.red('&&')} upgradedMajor) {
|
131
|
-
${chalk_1.default.red('return')} currentMajor ${chalk_1.default.red('<')} upgradedMajor
|
132
|
-
}
|
133
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('true')}
|
134
|
-
}`, { markdown })}
|
135
|
-
|
136
|
-
For the SemVer type definition, see: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring
|
137
|
-
|
138
|
-
`;
|
139
|
-
};
|
140
|
-
/** Extended help for the --format option. */
|
141
|
-
const extendedHelpFormat = ({ markdown }) => {
|
142
|
-
const header = 'Modify the output formatting or show additional information. Specify one or more comma-delimited values.';
|
143
|
-
const tableString = (0, table_1.default)({
|
144
|
-
colAligns: ['right', 'left'],
|
145
|
-
markdown,
|
146
|
-
rows: [
|
147
|
-
['group', `Groups packages by major, minor, patch, and major version zero updates.`],
|
148
|
-
['ownerChanged', `Shows if the package owner has changed.`],
|
149
|
-
['repo', `Infers and displays links to the package's source code repository. Requires packages to be installed.`],
|
150
|
-
['time', 'Shows the publish time of each upgrade.'],
|
151
|
-
['lines', 'Prints name@version on separate lines. Useful for piping to npm install.'],
|
152
|
-
],
|
153
|
-
});
|
154
|
-
return `${header}\n\n${padLeft(tableString, markdown ? 0 : 4)}
|
155
|
-
`;
|
156
|
-
};
|
157
|
-
/** Extended help for the --install option. */
|
158
|
-
const extendedHelpInstall = ({ markdown }) => {
|
159
|
-
const header = 'Control the auto-install behavior.';
|
160
|
-
const tableString = (0, table_1.default)({
|
161
|
-
colAligns: ['right', 'left'],
|
162
|
-
markdown,
|
163
|
-
rows: [
|
164
|
-
['always', `Runs your package manager's install command automatically after upgrading.`],
|
165
|
-
['never', `Does not install and does not prompt.`],
|
166
|
-
[
|
167
|
-
'prompt',
|
168
|
-
`Shows a message after upgrading that recommends an install, but does not install. In interactive mode, prompts for install. (default)`,
|
169
|
-
],
|
170
|
-
],
|
171
|
-
});
|
172
|
-
return `${header}\n\n${padLeft(tableString, markdown ? 0 : 4)}
|
173
|
-
`;
|
174
|
-
};
|
175
|
-
/** Extended help for the --filter option. */
|
176
|
-
const extendedHelpFilterFunction = ({ markdown }) => {
|
177
|
-
/** If markdown, surround inline code with backticks. */
|
178
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
179
|
-
return `Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. Only included packages will be checked with ${codeInline('--peer')}.
|
180
|
-
|
181
|
-
${codeInline('--filter')} runs _before_ new versions are fetched, in contrast to ${codeInline('--filterResults')} which runs _after_.
|
182
|
-
|
183
|
-
The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line.
|
184
|
-
|
185
|
-
${codeBlock(`${chalk_1.default.gray(`/**
|
186
|
-
@param name The name of the dependency.
|
187
|
-
@param semver A parsed Semver array of the upgraded version.
|
188
|
-
(See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
|
189
|
-
@returns True if the package should be included, false if it should be excluded.
|
190
|
-
*/`)}
|
191
|
-
${chalk_1.default.green('filterFunction')}: (name, semver) ${chalk_1.default.cyan('=>')} {
|
192
|
-
${chalk_1.default.red('if')} (name.startsWith(${chalk_1.default.yellow(`'@myorg/'`)})) {
|
193
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('false')}
|
194
|
-
}
|
195
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('true')}
|
196
|
-
}`, { markdown })}
|
197
|
-
|
198
|
-
`;
|
199
|
-
};
|
200
|
-
/** Extended help for the --filterVersion option. */
|
201
|
-
const extendedHelpFilterVersionFunction = ({ markdown }) => {
|
202
|
-
return `Include only versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.
|
203
|
-
|
204
|
-
The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. This function is an alias for the filter option function.
|
205
|
-
|
206
|
-
${codeBlock(`${chalk_1.default.gray(`/**
|
207
|
-
@param name The name of the dependency.
|
208
|
-
@param semver A parsed Semver array of the upgraded version.
|
209
|
-
(See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
|
210
|
-
@returns True if the package should be included, false if it should be excluded.
|
211
|
-
*/`)}
|
212
|
-
${chalk_1.default.green('filterVersionFunction')}: (name, semver) ${chalk_1.default.cyan('=>')} {
|
213
|
-
${chalk_1.default.red('if')} (name.startsWith(${chalk_1.default.yellow(`'@myorg/'`)}) ${chalk_1.default.red('&&')} parseInt(semver[0]?.major) ${chalk_1.default.cyan('>')} ${chalk_1.default.cyan(`5`)}) {
|
214
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('false')}
|
215
|
-
}
|
216
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('true')}
|
217
|
-
}`, { markdown })}
|
218
|
-
|
219
|
-
`;
|
220
|
-
};
|
221
|
-
/** Extended help for the --reject option. */
|
222
|
-
const extendedHelpRejectFunction = ({ markdown }) => {
|
223
|
-
/** If markdown, surround inline code with backticks. */
|
224
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
225
|
-
return `The inverse of ${codeInline('--filter')}. Exclude package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function. This will also exclude them from the ${codeInline('--peer')} check.
|
226
|
-
|
227
|
-
${codeInline('--reject')} runs _before_ new versions are fetched, in contrast to ${codeInline('--filterResults')} which runs _after_.
|
228
|
-
|
229
|
-
The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line.
|
230
|
-
|
231
|
-
${codeBlock(`${chalk_1.default.gray(`/**
|
232
|
-
@param name The name of the dependency.
|
233
|
-
@param semver A parsed Semver array of the upgraded version.
|
234
|
-
(See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
|
235
|
-
@returns True if the package should be excluded, false if it should be included.
|
236
|
-
*/`)}
|
237
|
-
${chalk_1.default.green('rejectFunction')}: (name, semver) ${chalk_1.default.cyan('=>')} {
|
238
|
-
${chalk_1.default.red('if')} (name.startsWith(${chalk_1.default.yellow(`'@myorg/'`)})) {
|
239
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('true')}
|
240
|
-
}
|
241
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('false')}
|
242
|
-
}`, { markdown })}
|
243
|
-
|
244
|
-
`;
|
245
|
-
};
|
246
|
-
/** Extended help for the --rejectVersion option. */
|
247
|
-
const extendedHelpRejectVersionFunction = ({ markdown }) => {
|
248
|
-
/** If markdown, surround inline code with backticks. */
|
249
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
250
|
-
return `The inverse of ${codeInline('--filterVersion')}. Exclude versions matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.
|
251
|
-
|
252
|
-
The predicate function is only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line. This function is an alias for the reject option function.
|
253
|
-
|
254
|
-
${codeBlock(`${chalk_1.default.gray(`/**
|
255
|
-
@param name The name of the dependency.
|
256
|
-
@param semver A parsed Semver array of the upgraded version.
|
257
|
-
(See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
|
258
|
-
@returns True if the package should be excluded, false if it should be included.
|
259
|
-
*/`)}
|
260
|
-
${chalk_1.default.green('rejectVersionFunction')}: (name, semver) ${chalk_1.default.cyan('=>')} {
|
261
|
-
${chalk_1.default.red('if')} (name.startsWith(${chalk_1.default.yellow(`'@myorg/'`)}) ${chalk_1.default.red('&&')} parseInt(semver[0]?.major) ${chalk_1.default.cyan('>')} ${chalk_1.default.cyan(`5`)}) {
|
262
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('true')}
|
263
|
-
}
|
264
|
-
${chalk_1.default.red('return')} ${chalk_1.default.cyan('false')}
|
265
|
-
}`, { markdown })}
|
266
|
-
|
267
|
-
`;
|
268
|
-
};
|
269
|
-
/** Extended help for the --group option. */
|
270
|
-
const extendedHelpGroupFunction = ({ markdown }) => {
|
271
|
-
return `Customize how packages are divided into groups when using \`--format group\`.
|
272
|
-
|
273
|
-
Only available in .ncurc.js or when importing npm-check-updates as a module, not on the command line.
|
274
|
-
|
275
|
-
${codeBlock(`${chalk_1.default.gray(`/**
|
276
|
-
@param name The name of the dependency.
|
277
|
-
@param defaultGroup The predefined group name which will be used by default.
|
278
|
-
@param currentSpec The current version range in your package.json.
|
279
|
-
@param upgradedSpec The upgraded version range that will be written to your package.json.
|
280
|
-
@param upgradedVersion The upgraded version number returned by the registry.
|
281
|
-
@returns A predefined group name ('major' | 'minor' | 'patch' | 'majorVersionZero' | 'none') or a custom string to create your own group.
|
282
|
-
*/`)}
|
283
|
-
${chalk_1.default.green('groupFunction')}: (name, defaultGroup, currentSpec, upgradedSpec, upgradedVersion) ${chalk_1.default.cyan('=>')} {
|
284
|
-
${chalk_1.default.red('if')} (name ${chalk_1.default.red('===')} ${chalk_1.default.yellow(`'typescript'`)} ${chalk_1.default.red('&&')} defaultGroup ${chalk_1.default.red('===')} ${chalk_1.default.yellow(`'minor'`)}) {
|
285
|
-
${chalk_1.default.red('return')} ${chalk_1.default.yellow(`'major'`)}
|
286
|
-
}
|
287
|
-
${chalk_1.default.red('if')} (name.startsWith(${chalk_1.default.yellow(`'@myorg/'`)})) {
|
288
|
-
${chalk_1.default.red('return')} ${chalk_1.default.yellow(`'My Org'`)}
|
289
|
-
}
|
290
|
-
${chalk_1.default.red('return')} defaultGroup
|
291
|
-
}`, { markdown })}
|
292
|
-
|
293
|
-
`;
|
294
|
-
};
|
295
|
-
/** Extended help for the --target option. */
|
296
|
-
const extendedHelpTarget = ({ markdown }) => {
|
297
|
-
const header = 'Determines the version to upgrade to. (default: "latest")';
|
298
|
-
const tableString = (0, table_1.default)({
|
299
|
-
colAligns: ['right', 'left'],
|
300
|
-
markdown,
|
301
|
-
rows: [
|
302
|
-
[
|
303
|
-
'greatest',
|
304
|
-
`Upgrade to the highest version number published, regardless of release date or tag. Includes prereleases.`,
|
305
|
-
],
|
306
|
-
[
|
307
|
-
'latest',
|
308
|
-
`Upgrade to whatever the package's "latest" git tag points to. Excludes prereleases unless --pre is specified.`,
|
309
|
-
],
|
310
|
-
['minor', 'Upgrade to the highest minor version without bumping the major version.'],
|
311
|
-
[
|
312
|
-
'newest',
|
313
|
-
`Upgrade to the version with the most recent publish date, even if there are other version numbers that are higher. Includes prereleases.`,
|
314
|
-
],
|
315
|
-
['patch', `Upgrade to the highest patch version without bumping the minor or major versions.`],
|
316
|
-
['semver', `Upgrade to the highest version within the semver range specified in your package.json.`],
|
317
|
-
['@[tag]', `Upgrade to the version published to a specific tag, e.g. 'next' or 'beta'.`],
|
318
|
-
],
|
319
|
-
});
|
320
|
-
return `${header}
|
321
|
-
|
322
|
-
${padLeft(tableString, markdown ? 0 : 4)}
|
323
|
-
|
324
|
-
You can also specify a custom function in your .ncurc.js file, or when importing npm-check-updates as a module:
|
325
|
-
|
326
|
-
${codeBlock(`${chalk_1.default.gray(`/** Upgrade major version zero to the next minor version, and everything else to latest.
|
327
|
-
@param name The name of the dependency.
|
328
|
-
@param semver A parsed Semver object of the upgraded version.
|
329
|
-
(See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
|
330
|
-
@returns One of the valid target values (specified in the table above).
|
331
|
-
*/`)}
|
332
|
-
${chalk_1.default.green('target')}: (name, semver) ${chalk_1.default.cyan('=>')} {
|
333
|
-
${chalk_1.default.red('if')} (parseInt(semver[0]?.major) ${chalk_1.default.red('===')} ${chalk_1.default.yellow("'0'")}) ${chalk_1.default.red('return')} ${chalk_1.default.yellow("'minor'")}
|
334
|
-
${chalk_1.default.red('return')} ${chalk_1.default.yellow("'latest'")}
|
335
|
-
}`, { markdown })}
|
336
|
-
`;
|
337
|
-
};
|
338
|
-
/** Extended help for the --packageManager option. */
|
339
|
-
const extendedHelpPackageManager = ({ markdown }) => {
|
340
|
-
const header = 'Specifies the package manager to use when looking up versions.';
|
341
|
-
const tableString = (0, table_1.default)({
|
342
|
-
colAligns: ['right', 'left'],
|
343
|
-
markdown,
|
344
|
-
rows: [
|
345
|
-
['npm', `System-installed npm. Default.`],
|
346
|
-
['yarn', `System-installed yarn. Automatically used if yarn.lock is present.`],
|
347
|
-
['pnpm', `System-installed pnpm. Automatically used if pnpm-lock.yaml is present.`],
|
348
|
-
['bun', `System-installed bun. Automatically used if bun.lockb is present.`],
|
349
|
-
['staticRegistry', `Deprecated. Use --registryType json.`],
|
350
|
-
],
|
351
|
-
});
|
352
|
-
return `${header}\n\n${padLeft(tableString, markdown ? 0 : 4)}
|
353
|
-
`;
|
354
|
-
};
|
355
|
-
/** Extended help for the --registryType option. */
|
356
|
-
const extendedHelpRegistryType = ({ markdown }) => {
|
357
|
-
/** If markdown, surround inline code with backticks. */
|
358
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
359
|
-
const header = `Specify whether ${codeInline('--registry')} refers to a full npm registry or a simple JSON file.`;
|
360
|
-
const tableString = (0, table_1.default)({
|
361
|
-
colAligns: ['right', 'left'],
|
362
|
-
markdown,
|
363
|
-
rows: [
|
364
|
-
['npm', `Default npm registry`],
|
365
|
-
[
|
366
|
-
'json',
|
367
|
-
`Checks versions from a file or url to a simple JSON registry. Must include the ${chalk_1.default.cyan('`--registry`')} option.
|
368
|
-
|
369
|
-
Example:
|
370
|
-
|
371
|
-
${chalk_1.default.gray('// local file')}
|
372
|
-
${chalk_1.default.cyan('$')} ncu --registryType json --registry ./registry.json
|
373
|
-
|
374
|
-
${chalk_1.default.gray('// url')}
|
375
|
-
${chalk_1.default.cyan('$')} ncu --registryType json --registry https://api.mydomain/registry.json
|
376
|
-
|
377
|
-
${chalk_1.default.gray('// you can omit --registryType when the registry ends in .json')}
|
378
|
-
${chalk_1.default.cyan('$')} ncu --registry ./registry.json
|
379
|
-
${chalk_1.default.cyan('$')} ncu --registry https://api.mydomain/registry.json
|
380
|
-
|
381
|
-
registry.json:
|
382
|
-
|
383
|
-
{
|
384
|
-
"prettier": "2.7.1",
|
385
|
-
"typescript": "4.7.4"
|
386
|
-
}
|
387
|
-
|
388
|
-
`,
|
389
|
-
],
|
390
|
-
],
|
391
|
-
});
|
392
|
-
return `${header}\n\n${padLeft(tableString, markdown ? 0 : 4)}
|
393
|
-
`;
|
394
|
-
};
|
395
|
-
/** Extended help for the --peer option. */
|
396
|
-
const extendedHelpPeer = ({ markdown }) => {
|
397
|
-
/** If markdown, surround inline code with backticks. */
|
398
|
-
const codeInline = (code) => (markdown ? `\`${code}\`` : code);
|
399
|
-
return `Check peer dependencies of installed packages and filter updates to compatible versions.
|
400
|
-
|
401
|
-
${chalk_1.default.bold('Example')}:
|
402
|
-
|
403
|
-
The following example demonstrates how \`--peer\` works, and how it uses peer dependencies from upgraded modules.
|
404
|
-
|
405
|
-
The package ${chalk_1.default.bold('ncu-test-peer-update')} has two versions published:
|
406
|
-
|
407
|
-
- 1.0.0 has peer dependency ${codeInline('"ncu-test-return-version": "1.0.x"')}
|
408
|
-
- 1.1.0 has peer dependency ${codeInline('"ncu-test-return-version": "1.1.x"')}
|
409
|
-
|
410
|
-
Our test app has the following dependencies:
|
411
|
-
|
412
|
-
"ncu-test-peer-update": "1.0.0",
|
413
|
-
"ncu-test-return-version": "1.0.0"
|
414
|
-
|
415
|
-
The latest versions of these packages are:
|
416
|
-
|
417
|
-
"ncu-test-peer-update": "1.1.0",
|
418
|
-
"ncu-test-return-version": "2.0.0"
|
419
|
-
|
420
|
-
${chalk_1.default.bold('With `--peer`')}:
|
421
|
-
|
422
|
-
ncu upgrades packages to the highest version that still adheres to the peer dependency constraints:
|
423
|
-
|
424
|
-
ncu-test-peer-update 1.0.0 → 1.${chalk_1.default.cyan('1.0')}
|
425
|
-
ncu-test-return-version 1.0.0 → 1.${chalk_1.default.cyan('1.0')}
|
426
|
-
|
427
|
-
${chalk_1.default.bold('Without `--peer`')}:
|
428
|
-
|
429
|
-
As a comparison: without using the \`--peer\` option, ncu will suggest the latest versions, ignoring peer dependencies:
|
430
|
-
|
431
|
-
ncu-test-peer-update 1.0.0 → 1.${chalk_1.default.cyan('1.0')}
|
432
|
-
ncu-test-return-version 1.0.0 → ${chalk_1.default.red('2.0.0')}
|
433
|
-
`;
|
434
|
-
};
|
435
|
-
// store CLI options separately from bin file so that they can be used to build type definitions
|
436
|
-
const cliOptions = [
|
437
|
-
{
|
438
|
-
long: 'cache',
|
439
|
-
description: `Cache versions to a local cache file. Default \`--cacheFile\` is ${cache_1.defaultCacheFile} and default \`--cacheExpiration\` is 10 minutes.`,
|
440
|
-
type: 'boolean',
|
441
|
-
},
|
442
|
-
{
|
443
|
-
long: 'cacheClear',
|
444
|
-
description: 'Clear the default cache, or the cache file specified by `--cacheFile`.',
|
445
|
-
type: 'boolean',
|
446
|
-
},
|
447
|
-
{
|
448
|
-
long: 'cacheExpiration',
|
449
|
-
arg: 'min',
|
450
|
-
description: 'Cache expiration in minutes. Only works with `--cache`.',
|
451
|
-
parse: s => parseInt(s, 10),
|
452
|
-
default: 10,
|
453
|
-
type: 'number',
|
454
|
-
},
|
455
|
-
{
|
456
|
-
long: 'cacheFile',
|
457
|
-
arg: 'path',
|
458
|
-
description: 'Filepath for the cache file. Only works with `--cache`.',
|
459
|
-
parse: s => (path_1.default.isAbsolute(s) ? s : path_1.default.join(process.cwd(), s)),
|
460
|
-
default: cache_1.defaultCacheFile,
|
461
|
-
type: 'string',
|
462
|
-
},
|
463
|
-
{
|
464
|
-
long: 'color',
|
465
|
-
description: 'Force color in terminal.',
|
466
|
-
type: 'boolean',
|
467
|
-
},
|
468
|
-
{
|
469
|
-
long: 'concurrency',
|
470
|
-
arg: 'n',
|
471
|
-
description: 'Max number of concurrent HTTP requests to registry.',
|
472
|
-
parse: s => parseInt(s, 10),
|
473
|
-
default: 8,
|
474
|
-
type: 'number',
|
475
|
-
},
|
476
|
-
{
|
477
|
-
long: 'configFileName',
|
478
|
-
arg: 's',
|
479
|
-
description: 'Config file name. (default: .ncurc.{json,yml,js,cjs})',
|
480
|
-
type: 'string',
|
481
|
-
},
|
482
|
-
{
|
483
|
-
long: 'configFilePath',
|
484
|
-
arg: 'path',
|
485
|
-
description: 'Directory of .ncurc config file. (default: directory of `packageFile`)',
|
486
|
-
type: 'string',
|
487
|
-
},
|
488
|
-
{
|
489
|
-
long: 'cwd',
|
490
|
-
arg: 'path',
|
491
|
-
description: 'Working directory in which npm will be executed.',
|
492
|
-
type: 'string',
|
493
|
-
},
|
494
|
-
{
|
495
|
-
long: 'deep',
|
496
|
-
description: `Run recursively in current working directory. Alias of (\`--packageFile '**/package.json'\`).`,
|
497
|
-
type: 'boolean',
|
498
|
-
},
|
499
|
-
{
|
500
|
-
long: 'dep',
|
501
|
-
arg: 'value',
|
502
|
-
description: 'Check one or more sections of dependencies only: dev, optional, peer, prod, or packageManager (comma-delimited).',
|
503
|
-
default: ['prod', 'dev', 'optional'],
|
504
|
-
parse: value => (value && typeof value === 'string' ? value.split(',') : value),
|
505
|
-
type: 'string | string[]',
|
506
|
-
},
|
507
|
-
{
|
508
|
-
long: 'deprecated',
|
509
|
-
description: 'Include deprecated packages.',
|
510
|
-
type: 'boolean',
|
511
|
-
},
|
512
|
-
{
|
513
|
-
long: 'doctor',
|
514
|
-
short: 'd',
|
515
|
-
description: 'Iteratively installs upgrades and runs tests to identify breaking upgrades. Requires `-u` to execute.',
|
516
|
-
type: 'boolean',
|
517
|
-
help: extendedHelpDoctor,
|
518
|
-
},
|
519
|
-
{
|
520
|
-
long: 'doctorInstall',
|
521
|
-
arg: 'command',
|
522
|
-
description: 'Specifies the install script to use in doctor mode. (default: `npm install` or the equivalent for your package manager)',
|
523
|
-
type: 'string',
|
524
|
-
},
|
525
|
-
{
|
526
|
-
long: 'doctorTest',
|
527
|
-
arg: 'command',
|
528
|
-
description: 'Specifies the test script to use in doctor mode. (default: `npm test`)',
|
529
|
-
type: 'string',
|
530
|
-
},
|
531
|
-
{
|
532
|
-
long: 'enginesNode',
|
533
|
-
description: 'Include only packages that satisfy engines.node as specified in the package file.',
|
534
|
-
type: 'boolean',
|
535
|
-
},
|
536
|
-
{
|
537
|
-
long: 'errorLevel',
|
538
|
-
short: 'e',
|
539
|
-
arg: 'n',
|
540
|
-
description: 'Set the error level. 1: exits with error code 0 if no errors occur. 2: exits with error code 0 if no packages need updating (useful for continuous integration).',
|
541
|
-
parse: s => parseInt(s, 10),
|
542
|
-
default: 1,
|
543
|
-
type: 'number',
|
544
|
-
},
|
545
|
-
{
|
546
|
-
long: 'filter',
|
547
|
-
short: 'f',
|
548
|
-
arg: 'p',
|
549
|
-
description: 'Include only package names matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.',
|
550
|
-
type: 'string | RegExp | (string | RegExp)[] | FilterFunction',
|
551
|
-
parse: (value, accum) => [...(accum || []), value],
|
552
|
-
help: extendedHelpFilterFunction,
|
553
|
-
},
|
554
|
-
{
|
555
|
-
long: 'filterResults',
|
556
|
-
arg: 'fn',
|
557
|
-
cli: false,
|
558
|
-
description: `Filters out upgrades based on a user provided function.`,
|
559
|
-
type: 'FilterResultsFunction',
|
560
|
-
help: extendedHelpFilterResults,
|
561
|
-
},
|
562
|
-
{
|
563
|
-
long: 'filterVersion',
|
564
|
-
arg: 'p',
|
565
|
-
description: 'Filter on package version using comma-or-space-delimited list, /regex/, or predicate function.',
|
566
|
-
type: 'string | RegExp | (string | RegExp)[] | FilterFunction',
|
567
|
-
parse: (value, accum) => [...(accum || []), value],
|
568
|
-
help: extendedHelpFilterVersionFunction,
|
569
|
-
},
|
570
|
-
{
|
571
|
-
long: 'format',
|
572
|
-
arg: 'value',
|
573
|
-
description: 'Modify the output formatting or show additional information. Specify one or more comma-delimited values: group, ownerChanged, repo, time, lines.',
|
574
|
-
parse: value => (typeof value === 'string' ? value.split(',') : value),
|
575
|
-
default: [],
|
576
|
-
type: 'string[]',
|
577
|
-
choices: ['group', 'ownerChanged', 'repo', 'time', 'lines'],
|
578
|
-
help: extendedHelpFormat,
|
579
|
-
},
|
580
|
-
{
|
581
|
-
long: 'global',
|
582
|
-
short: 'g',
|
583
|
-
description: 'Check global packages instead of in the current project.',
|
584
|
-
type: 'boolean',
|
585
|
-
},
|
586
|
-
{
|
587
|
-
long: 'groupFunction',
|
588
|
-
arg: 'fn',
|
589
|
-
cli: false,
|
590
|
-
description: `Customize how packages are divided into groups when using \`--format group\`.`,
|
591
|
-
type: 'GroupFunction',
|
592
|
-
help: extendedHelpGroupFunction,
|
593
|
-
},
|
594
|
-
{
|
595
|
-
long: 'install',
|
596
|
-
arg: 'value',
|
597
|
-
description: 'Control the auto-install behavior: always, never, prompt.',
|
598
|
-
help: extendedHelpInstall,
|
599
|
-
default: 'prompt',
|
600
|
-
choices: ['always', 'never', 'prompt'],
|
601
|
-
type: `'always' | 'never' | 'prompt'`,
|
602
|
-
},
|
603
|
-
{
|
604
|
-
long: 'interactive',
|
605
|
-
short: 'i',
|
606
|
-
description: 'Enable interactive prompts for each dependency; implies `-u` unless one of the json options are set.',
|
607
|
-
type: 'boolean',
|
608
|
-
},
|
609
|
-
{
|
610
|
-
// program.json is set to true in programInit if any options that begin with 'json' are true
|
611
|
-
long: 'jsonAll',
|
612
|
-
short: 'j',
|
613
|
-
description: 'Output new package file instead of human-readable message.',
|
614
|
-
type: 'boolean',
|
615
|
-
},
|
616
|
-
{
|
617
|
-
long: 'jsonDeps',
|
618
|
-
description: 'Like `jsonAll` but only lists `dependencies`, `devDependencies`, `optionalDependencies`, etc of the new package data.',
|
619
|
-
type: 'boolean',
|
620
|
-
},
|
621
|
-
{
|
622
|
-
long: 'jsonUpgraded',
|
623
|
-
description: 'Output upgraded dependencies in json.',
|
624
|
-
type: 'boolean',
|
625
|
-
},
|
626
|
-
{
|
627
|
-
long: 'loglevel',
|
628
|
-
short: 'l',
|
629
|
-
arg: 'n',
|
630
|
-
description: 'Amount to log: silent, error, minimal, warn, info, verbose, silly.',
|
631
|
-
default: 'warn',
|
632
|
-
type: 'string',
|
633
|
-
},
|
634
|
-
{
|
635
|
-
long: 'mergeConfig',
|
636
|
-
description: `Merges nested configs with the root config file for \`--deep\` or \`--packageFile\` options. (default: false)`,
|
637
|
-
type: 'boolean',
|
638
|
-
},
|
639
|
-
{
|
640
|
-
long: 'minimal',
|
641
|
-
short: 'm',
|
642
|
-
description: 'Do not upgrade newer versions that are already satisfied by the version range according to semver.',
|
643
|
-
type: 'boolean',
|
644
|
-
},
|
645
|
-
{
|
646
|
-
long: 'packageData',
|
647
|
-
arg: 'value',
|
648
|
-
description: 'Package file data (you can also use stdin).',
|
649
|
-
type: 'string | PackageFile',
|
650
|
-
},
|
651
|
-
{
|
652
|
-
long: 'packageFile',
|
653
|
-
arg: 'path|glob',
|
654
|
-
description: 'Package file(s) location. (default: ./package.json)',
|
655
|
-
type: 'string',
|
656
|
-
},
|
657
|
-
{
|
658
|
-
long: 'packageManager',
|
659
|
-
short: 'p',
|
660
|
-
arg: 's',
|
661
|
-
description: 'npm, yarn, pnpm, deno, bun, staticRegistry (default: npm).',
|
662
|
-
help: extendedHelpPackageManager,
|
663
|
-
type: `'npm' | 'yarn' | 'pnpm' | 'deno' | 'bun' | 'staticRegistry'`,
|
664
|
-
},
|
665
|
-
{
|
666
|
-
long: 'peer',
|
667
|
-
description: 'Check peer dependencies of installed packages and filter updates to compatible versions.',
|
668
|
-
type: 'boolean',
|
669
|
-
help: extendedHelpPeer,
|
670
|
-
},
|
671
|
-
{
|
672
|
-
long: 'pre',
|
673
|
-
arg: 'n',
|
674
|
-
description: 'Include prerelease versions, e.g. -alpha.0, -beta.5, -rc.2. Automatically set to 1 when `--target` is newest or greatest, or when the current version is a prerelease. (default: 0)',
|
675
|
-
parse: s => !!parseInt(s, 10),
|
676
|
-
type: 'number',
|
677
|
-
},
|
678
|
-
{
|
679
|
-
long: 'prefix',
|
680
|
-
arg: 'path',
|
681
|
-
description: 'Current working directory of npm.',
|
682
|
-
type: 'string',
|
683
|
-
},
|
684
|
-
{
|
685
|
-
long: 'registry',
|
686
|
-
short: 'r',
|
687
|
-
arg: 'uri',
|
688
|
-
description: 'Specify the registry to use when looking up package versions.',
|
689
|
-
type: 'string',
|
690
|
-
},
|
691
|
-
{
|
692
|
-
long: 'registryType',
|
693
|
-
arg: 'type',
|
694
|
-
description: 'Specify whether --registry refers to a full npm registry or a simple JSON file or url: npm, json. (default: npm)',
|
695
|
-
help: extendedHelpRegistryType,
|
696
|
-
type: `'npm' | 'json'`,
|
697
|
-
},
|
698
|
-
{
|
699
|
-
long: 'reject',
|
700
|
-
short: 'x',
|
701
|
-
arg: 'p',
|
702
|
-
description: 'Exclude packages matching the given string, wildcard, glob, comma-or-space-delimited list, /regex/, or predicate function.',
|
703
|
-
type: 'string | RegExp | (string | RegExp)[] | FilterFunction',
|
704
|
-
parse: (value, accum) => [...(accum || []), value],
|
705
|
-
help: extendedHelpRejectFunction,
|
706
|
-
},
|
707
|
-
{
|
708
|
-
long: 'rejectVersion',
|
709
|
-
arg: 'p',
|
710
|
-
description: 'Exclude package.json versions using comma-or-space-delimited list, /regex/, or predicate function.',
|
711
|
-
type: 'string | RegExp | (string | RegExp)[] | FilterFunction',
|
712
|
-
parse: (value, accum) => [...(accum || []), value],
|
713
|
-
help: extendedHelpRejectVersionFunction,
|
714
|
-
},
|
715
|
-
{
|
716
|
-
long: 'removeRange',
|
717
|
-
description: 'Remove version ranges from the final package version.',
|
718
|
-
type: 'boolean',
|
719
|
-
},
|
720
|
-
{
|
721
|
-
long: 'root',
|
722
|
-
description: 'Runs updates on the root project in addition to specified workspaces. Only allowed with `--workspace` or `--workspaces`. (default: false)',
|
723
|
-
type: 'boolean',
|
724
|
-
},
|
725
|
-
{
|
726
|
-
long: 'retry',
|
727
|
-
arg: 'n',
|
728
|
-
description: 'Number of times to retry failed requests for package info.',
|
729
|
-
parse: s => parseInt(s, 10),
|
730
|
-
default: 3,
|
731
|
-
type: 'number',
|
732
|
-
},
|
733
|
-
{
|
734
|
-
long: 'silent',
|
735
|
-
short: 's',
|
736
|
-
description: "Don't output anything. Alias for `--loglevel` silent.",
|
737
|
-
type: 'boolean',
|
738
|
-
},
|
739
|
-
{
|
740
|
-
long: 'stdin',
|
741
|
-
description: 'Read package.json from stdin.',
|
742
|
-
type: 'string',
|
743
|
-
},
|
744
|
-
{
|
745
|
-
long: 'target',
|
746
|
-
short: 't',
|
747
|
-
arg: 'value',
|
748
|
-
description: `Determines the version to upgrade to: latest, newest, greatest, minor, patch, semver, @[tag], or [function]. (default: latest)`,
|
749
|
-
help: extendedHelpTarget,
|
750
|
-
// eslint-disable-next-line no-template-curly-in-string
|
751
|
-
type: `${supportedVersionTargets.map(s => `'${s}'`).join(' | ')} | ${'`@${string}`'} | TargetFunction`,
|
752
|
-
},
|
753
|
-
{
|
754
|
-
long: 'timeout',
|
755
|
-
arg: 'ms',
|
756
|
-
description: 'Global timeout in milliseconds. (default: no global timeout and 30 seconds per npm-registry-fetch)',
|
757
|
-
parse: s => parseInt(s, 10),
|
758
|
-
type: 'number',
|
759
|
-
},
|
760
|
-
{
|
761
|
-
long: 'upgrade',
|
762
|
-
short: 'u',
|
763
|
-
description: 'Overwrite package file with upgraded versions instead of just outputting to console.',
|
764
|
-
type: 'boolean',
|
765
|
-
},
|
766
|
-
{
|
767
|
-
long: 'verbose',
|
768
|
-
description: 'Log additional information for debugging. Alias for `--loglevel` verbose.',
|
769
|
-
type: 'boolean',
|
770
|
-
},
|
771
|
-
{
|
772
|
-
long: 'workspace',
|
773
|
-
short: 'w',
|
774
|
-
arg: 's',
|
775
|
-
parse: (value, accum) => [...accum, value],
|
776
|
-
default: [],
|
777
|
-
description: 'Run on one or more specified workspaces. Add `--root` to also upgrade the root project.',
|
778
|
-
type: 'string[]',
|
779
|
-
},
|
780
|
-
{
|
781
|
-
long: 'workspaces',
|
782
|
-
short: 'ws',
|
783
|
-
description: 'Run on all workspaces. Add `--root` to also upgrade the root project.',
|
784
|
-
type: 'boolean',
|
785
|
-
},
|
786
|
-
];
|
787
|
-
// put cliOptions into an object for O(1) lookups
|
788
|
-
exports.cliOptionsMap = cliOptions.reduce((accum, option) => ({
|
789
|
-
...accum,
|
790
|
-
...(option.short ? { [option.short]: option } : null),
|
791
|
-
...(option.long ? { [option.long]: option } : null),
|
792
|
-
}), {});
|
793
|
-
const cliOptionsSorted = (0, sortBy_1.default)(cliOptions, 'long');
|
794
|
-
exports.default = cliOptionsSorted;
|
795
|
-
//# sourceMappingURL=cli-options.js.map
|