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 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mergeOptions.js","sourceRoot":"","sources":["../../../src/lib/mergeOptions.ts"],"names":[],"mappings":";;AAIA,uDAAuD;AACvD,SAAS,WAAW,CAAC,IAAW,EAAE,IAAW;IAC3C,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;AAChE,CAAC;AAED;;;GAGG;AACH,SAAS,YAAY,CAAC,WAA2B,EAAE,WAA2B;IAC5E,MAAM,QAAQ,GAAY,WAAW,IAAI,EAAE,CAAA;IAC3C,MAAM,QAAQ,GAAY,WAAW,IAAI,EAAE,CAAA;IAC3C,MAAM,MAAM,GAAG,EAAE,GAAG,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAC1C;IAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAClD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE;YAChE,MAAM,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAU,EAAE,QAAQ,CAAC,GAAG,CAAU,CAAQ,CAAA;SACjF;IACH,CAAC,CAAC,CAAA;IACF,OAAO,MAAM,CAAA;AACf,CAAC;AAED,kBAAe,YAAY,CAAA"}
|
@@ -1,19 +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
|
-
const logging_1 = require("../lib/logging");
|
7
|
-
const chalk_1 = __importDefault(require("./chalk"));
|
8
|
-
/** Print an error. Exit the process if in CLI mode. */
|
9
|
-
function programError(options, message, { color = true, } = {}) {
|
10
|
-
if (options.cli) {
|
11
|
-
(0, logging_1.print)(options, color ? chalk_1.default.red(message) : message, null, 'error');
|
12
|
-
process.exit(1);
|
13
|
-
}
|
14
|
-
else {
|
15
|
-
throw new Error(message);
|
16
|
-
}
|
17
|
-
}
|
18
|
-
exports.default = programError;
|
19
|
-
//# sourceMappingURL=programError.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"programError.js","sourceRoot":"","sources":["../../../src/lib/programError.ts"],"names":[],"mappings":";;;;;AAAA,4CAAsC;AAEtC,oDAA2B;AAE3B,uDAAuD;AACvD,SAAS,YAAY,CACnB,OAAgB,EAChB,OAAe,EACf,EACE,KAAK,GAAG,IAAI,MAKV,EAAE;IAEN,IAAI,OAAO,CAAC,GAAG,EAAE;QACf,IAAA,eAAK,EAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,eAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACnE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;KAChB;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAA;KACzB;AACH,CAAC;AAED,kBAAe,YAAY,CAAA"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Index } from '../types/IndexType';
|
2
|
-
import { Options } from '../types/Options';
|
3
|
-
import { VersionResult } from '../types/VersionResult';
|
4
|
-
import { VersionSpec } from '../types/VersionSpec';
|
5
|
-
/**
|
6
|
-
* Get the latest or greatest versions from the NPM repository based on the version target.
|
7
|
-
*
|
8
|
-
* @param packageMap An object whose keys are package name and values are current versions. May include npm aliases, i.e. { "package": "npm:other-package@1.0.0" }
|
9
|
-
* @param [options={}] Options. Default: { target: 'latest' }.
|
10
|
-
* @returns Promised {packageName: version} collection
|
11
|
-
*/
|
12
|
-
declare function queryVersions(packageMap: Index<VersionSpec>, options?: Options): Promise<Index<VersionResult>>;
|
13
|
-
export default queryVersions;
|
@@ -1,118 +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
|
-
const p_map_1 = __importDefault(require("p-map"));
|
7
|
-
const progress_1 = __importDefault(require("progress"));
|
8
|
-
const semver_utils_1 = require("semver-utils");
|
9
|
-
const package_managers_1 = __importDefault(require("../package-managers"));
|
10
|
-
const Target_1 = require("../types/Target");
|
11
|
-
const getPackageManager_1 = __importDefault(require("./getPackageManager"));
|
12
|
-
const keyValueBy_1 = __importDefault(require("./keyValueBy"));
|
13
|
-
const programError_1 = __importDefault(require("./programError"));
|
14
|
-
const version_util_1 = require("./version-util");
|
15
|
-
/**
|
16
|
-
* Get the latest or greatest versions from the NPM repository based on the version target.
|
17
|
-
*
|
18
|
-
* @param packageMap An object whose keys are package name and values are current versions. May include npm aliases, i.e. { "package": "npm:other-package@1.0.0" }
|
19
|
-
* @param [options={}] Options. Default: { target: 'latest' }.
|
20
|
-
* @returns Promised {packageName: version} collection
|
21
|
-
*/
|
22
|
-
async function queryVersions(packageMap, options = {}) {
|
23
|
-
var _a, _b;
|
24
|
-
const { default: chalkDefault, Chalk } = await import('chalk');
|
25
|
-
const chalk = options.color ? new Chalk({ level: 1 }) : chalkDefault;
|
26
|
-
const packageList = Object.keys(packageMap);
|
27
|
-
const globalPackageManager = (0, getPackageManager_1.default)(options, options.packageManager);
|
28
|
-
let bar;
|
29
|
-
if (!options.json && options.loglevel !== 'silent' && options.loglevel !== 'verbose' && packageList.length > 0) {
|
30
|
-
bar = new progress_1.default('[:bar] :current/:total :percent', { total: packageList.length, width: 20 });
|
31
|
-
bar.render();
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Ignore 404 errors from getPackageVersion by having them return `null`
|
35
|
-
* instead of rejecting.
|
36
|
-
*
|
37
|
-
* @param dep
|
38
|
-
* @returns
|
39
|
-
*/
|
40
|
-
async function getPackageVersionProtected(dep) {
|
41
|
-
var _a, _b, _c, _d;
|
42
|
-
const npmAlias = (0, version_util_1.parseNpmAlias)(packageMap[dep]);
|
43
|
-
const [name, version] = npmAlias || [dep, packageMap[dep]];
|
44
|
-
const targetOption = options.target || 'latest';
|
45
|
-
const targetString = typeof targetOption === 'string' ? targetOption : targetOption(name, (0, semver_utils_1.parseRange)(version));
|
46
|
-
const [target, distTag] = targetString.startsWith('@')
|
47
|
-
? ['distTag', targetString.slice(1)]
|
48
|
-
: [targetString, 'latest'];
|
49
|
-
const cached = (_a = options.cacher) === null || _a === void 0 ? void 0 : _a.get(name, target);
|
50
|
-
if (cached) {
|
51
|
-
bar === null || bar === void 0 ? void 0 : bar.tick();
|
52
|
-
return {
|
53
|
-
version: cached,
|
54
|
-
};
|
55
|
-
}
|
56
|
-
let versionResult;
|
57
|
-
const isGithubDependency = (0, version_util_1.isGithubUrl)(packageMap[dep]);
|
58
|
-
// use gitTags package manager for git urls (for this dependency only)
|
59
|
-
const packageManager = isGithubDependency ? package_managers_1.default.gitTags : globalPackageManager;
|
60
|
-
const packageManagerName = isGithubDependency ? 'github urls' : options.packageManager || 'npm';
|
61
|
-
const getPackageVersion = packageManager[target];
|
62
|
-
if (!getPackageVersion) {
|
63
|
-
const packageManagerSupportedVersionTargets = Target_1.supportedVersionTargets.filter(t => t in packageManager);
|
64
|
-
(0, programError_1.default)(options, chalk.red(`\nUnsupported target "${target}" using ${packageManagerName}`) +
|
65
|
-
`\nSupported version targets are: ` +
|
66
|
-
packageManagerSupportedVersionTargets.join(', ') +
|
67
|
-
(!isGithubDependency ? ', and tags (e.g. @next)' : ''), { color: false });
|
68
|
-
}
|
69
|
-
try {
|
70
|
-
versionResult = await getPackageVersion(name, version, {
|
71
|
-
...options,
|
72
|
-
distTag,
|
73
|
-
// upgrade prereleases to newer prereleases by default
|
74
|
-
// allow downgrading when explicit tag is used
|
75
|
-
pre: options.pre != null ? options.pre : targetString.startsWith('@') || (0, version_util_1.isPre)(version),
|
76
|
-
retry: (_b = options.retry) !== null && _b !== void 0 ? _b : 2,
|
77
|
-
});
|
78
|
-
versionResult.version =
|
79
|
-
!isGithubDependency && npmAlias && (versionResult === null || versionResult === void 0 ? void 0 : versionResult.version)
|
80
|
-
? (0, version_util_1.createNpmAlias)(name, versionResult.version)
|
81
|
-
: (_c = versionResult === null || versionResult === void 0 ? void 0 : versionResult.version) !== null && _c !== void 0 ? _c : null;
|
82
|
-
}
|
83
|
-
catch (err) {
|
84
|
-
const errorMessage = err ? (err.message || err).toString() : '';
|
85
|
-
if (errorMessage.match(/E404|ENOTFOUND|404 Not Found/i)) {
|
86
|
-
return {
|
87
|
-
error: `${errorMessage.replace(/ - Not found$/i, '')}. All ${options.retry} retry attempts failed. Either your internet connection is down, the registry is inaccessible, the authentication credentials are invalid, or the package does not exist.`,
|
88
|
-
};
|
89
|
-
}
|
90
|
-
else {
|
91
|
-
// print a hint about the --timeout option for network timeout errors
|
92
|
-
if (!process.env.NCU_TESTS && /(Response|network) timeout/i.test(errorMessage)) {
|
93
|
-
console.error('\n\n' +
|
94
|
-
chalk.red('FetchError: Request Timeout. npm-registry-fetch defaults to 30000 (30 seconds). Try setting the --timeout option (in milliseconds) to override this.') +
|
95
|
-
'\n');
|
96
|
-
}
|
97
|
-
throw err;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
bar === null || bar === void 0 ? void 0 : bar.tick();
|
101
|
-
if (versionResult.version) {
|
102
|
-
(_d = options.cacher) === null || _d === void 0 ? void 0 : _d.set(name, target, versionResult.version);
|
103
|
-
}
|
104
|
-
return versionResult;
|
105
|
-
}
|
106
|
-
const versionResultList = await (0, p_map_1.default)(packageList, getPackageVersionProtected, { concurrency: options.concurrency });
|
107
|
-
// save cacher only after pMap handles cacher.set
|
108
|
-
await ((_a = options.cacher) === null || _a === void 0 ? void 0 : _a.save());
|
109
|
-
(_b = options.cacher) === null || _b === void 0 ? void 0 : _b.log();
|
110
|
-
const versionResultObject = (0, keyValueBy_1.default)(versionResultList, (versionResult, i) => versionResult.version || versionResult.error
|
111
|
-
? {
|
112
|
-
[packageList[i]]: versionResult,
|
113
|
-
}
|
114
|
-
: null);
|
115
|
-
return versionResultObject;
|
116
|
-
}
|
117
|
-
exports.default = queryVersions;
|
118
|
-
//# sourceMappingURL=queryVersions.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"queryVersions.js","sourceRoot":"","sources":["../../../src/lib/queryVersions.ts"],"names":[],"mappings":";;;;;AAAA,kDAAwB;AACxB,wDAAkC;AAClC,+CAAyC;AACzC,2EAAiD;AAIjD,4CAAyD;AAGzD,4EAAmD;AACnD,8DAAqC;AACrC,kEAAyC;AACzC,iDAAkF;AAElF;;;;;;GAMG;AACH,KAAK,UAAU,aAAa,CAAC,UAA8B,EAAE,UAAmB,EAAE;;IAChF,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,CAAA;IAC9D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,YAAY,CAAA;IACpE,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC3C,MAAM,oBAAoB,GAAG,IAAA,2BAAiB,EAAC,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IAE/E,IAAI,GAA4B,CAAA;IAChC,IAAI,CAAC,OAAO,CAA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AAE,OAAO,CAAC,WAAW,EAAE,CAAC,CAAA;IAEnH,iDAAiD;IACjD,MAAM,CAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,IAAI,EAAE,CAAA,CAAA;IAC5B,MAAA,OAAO,CAAC,MAAM,0CAAE,GAAG,EAAE,CAAA;IAErB,MAAM,mBAAmB,GAAG,IAAA,oBAAU,EAAC,iBAAiB,EAAE,CAAC,aAAa,EAAE,CAAC,EAAE,EAAE,CAC7E,aAAa,CAAC,OAAO,IAAI,aAAa,CAAC,KAAK;QAC1C,CAAC,CAAC;YACE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,aAAa;SAChC;QACH,CAAC,CAAC,IAAI,CACT,CAAA;IAED,OAAO,mBAAmB,CAAA;AAC5B,CAAC;AAED,kBAAe,aAAa,CAAA"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const cli_options_1 = require("../cli-options");
|
4
|
-
// dependency section aliases that will be resolved to the full name
|
5
|
-
const depAliases = {
|
6
|
-
dev: 'devDependencies',
|
7
|
-
peer: 'peerDependencies',
|
8
|
-
prod: 'dependencies',
|
9
|
-
optional: 'optionalDependencies',
|
10
|
-
};
|
11
|
-
/** Gets a list of dependency sections based on options.dep. */
|
12
|
-
const resolveDepSections = (dep) => {
|
13
|
-
// parse dep string and set default
|
14
|
-
const depOptions = dep ? (typeof dep === 'string' ? dep.split(',') : dep) : cli_options_1.cliOptionsMap.dep.default;
|
15
|
-
// map the dependency section option to a full dependency section name
|
16
|
-
const depSections = depOptions.map(name => depAliases[name] || name);
|
17
|
-
return depSections;
|
18
|
-
};
|
19
|
-
exports.default = resolveDepSections;
|
20
|
-
//# sourceMappingURL=resolveDepSections.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resolveDepSections.js","sourceRoot":"","sources":["../../../src/lib/resolveDepSections.ts"],"names":[],"mappings":";;AAAA,gDAA8C;AAI9C,oEAAoE;AACpE,MAAM,UAAU,GAA6B;IAC3C,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,cAAc;IACpB,QAAQ,EAAE,sBAAsB;CACjC,CAAA;AAED,+DAA+D;AAC/D,MAAM,kBAAkB,GAAG,CAAC,GAAuB,EAAyB,EAAE;IAC5E,mCAAmC;IACnC,MAAM,UAAU,GAAa,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,2BAAa,CAAC,GAAG,CAAC,OAAO,CAAA;IAE/G,sEAAsE;IACtE,MAAM,WAAW,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAA;IAEpE,OAAO,WAAW,CAAA;AACpB,CAAC,CAAA;AAED,kBAAe,kBAAkB,CAAA"}
|
@@ -1,76 +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
|
-
const pick_1 = __importDefault(require("lodash/pick"));
|
7
|
-
const logging_1 = require("../lib/logging");
|
8
|
-
const chalk_1 = __importDefault(require("./chalk"));
|
9
|
-
const getInstalledPackages_1 = __importDefault(require("./getInstalledPackages"));
|
10
|
-
const keyValueBy_1 = require("./keyValueBy");
|
11
|
-
const programError_1 = __importDefault(require("./programError"));
|
12
|
-
const upgradePackageDefinitions_1 = __importDefault(require("./upgradePackageDefinitions"));
|
13
|
-
/** Checks global dependencies for upgrades. */
|
14
|
-
async function runGlobal(options) {
|
15
|
-
(0, logging_1.print)(options, '\nOptions:', 'verbose');
|
16
|
-
(0, logging_1.printSorted)(options, options, 'verbose');
|
17
|
-
(0, logging_1.print)(options, '\nGetting installed packages', 'verbose');
|
18
|
-
let globalPackages = {};
|
19
|
-
try {
|
20
|
-
globalPackages = await (0, getInstalledPackages_1.default)((0, pick_1.default)(options, [
|
21
|
-
'cli',
|
22
|
-
'cwd',
|
23
|
-
'filter',
|
24
|
-
'filterVersion',
|
25
|
-
'global',
|
26
|
-
'packageManager',
|
27
|
-
'prefix',
|
28
|
-
'reject',
|
29
|
-
'rejectVersion',
|
30
|
-
]));
|
31
|
-
}
|
32
|
-
catch (e) {
|
33
|
-
(0, programError_1.default)(options, e.message);
|
34
|
-
}
|
35
|
-
(0, logging_1.print)(options, 'globalPackages:', 'verbose');
|
36
|
-
(0, logging_1.print)(options, globalPackages, 'verbose');
|
37
|
-
(0, logging_1.print)(options, '', 'verbose');
|
38
|
-
(0, logging_1.print)(options, `Fetching ${options.target} versions`, 'verbose');
|
39
|
-
const [upgraded, latest] = await (0, upgradePackageDefinitions_1.default)(globalPackages, options);
|
40
|
-
(0, logging_1.print)(options, latest, 'verbose');
|
41
|
-
const time = (0, keyValueBy_1.keyValueBy)(latest, (key, result) => (result.time ? { [key]: result.time } : null));
|
42
|
-
const upgradedPackageNames = Object.keys(upgraded);
|
43
|
-
await (0, logging_1.printUpgrades)(options, {
|
44
|
-
current: globalPackages,
|
45
|
-
upgraded,
|
46
|
-
latest,
|
47
|
-
total: upgradedPackageNames.length,
|
48
|
-
time,
|
49
|
-
});
|
50
|
-
const instruction = upgraded ? upgradedPackageNames.map(pkg => pkg + '@' + upgraded[pkg]).join(' ') : '[package]';
|
51
|
-
if (options.json) {
|
52
|
-
// since global packages do not have a package.json, return the upgraded deps directly (no version range replacements)
|
53
|
-
(0, logging_1.printJson)(options, upgraded);
|
54
|
-
}
|
55
|
-
else if (instruction.length) {
|
56
|
-
const upgradeCmd = options.packageManager === 'yarn'
|
57
|
-
? 'yarn global upgrade'
|
58
|
-
: options.packageManager === 'pnpm'
|
59
|
-
? 'pnpm -g add'
|
60
|
-
: options.packageManager === 'bun'
|
61
|
-
? 'bun add -g'
|
62
|
-
: 'npm -g install';
|
63
|
-
(0, logging_1.print)(options, '\n' +
|
64
|
-
chalk_1.default.cyan('ncu') +
|
65
|
-
' itself cannot upgrade global packages. Run the following to upgrade all global packages: \n\n' +
|
66
|
-
chalk_1.default.cyan(`${upgradeCmd} ` + instruction) +
|
67
|
-
'\n');
|
68
|
-
}
|
69
|
-
// if errorLevel is 2, exit with non-zero error code
|
70
|
-
if (options.cli && options.errorLevel === 2 && upgradedPackageNames.length > 0) {
|
71
|
-
process.exit(1);
|
72
|
-
}
|
73
|
-
return upgraded;
|
74
|
-
}
|
75
|
-
exports.default = runGlobal;
|
76
|
-
//# sourceMappingURL=runGlobal.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"runGlobal.js","sourceRoot":"","sources":["../../../src/lib/runGlobal.ts"],"names":[],"mappings":";;;;;AAAA,uDAA8B;AAC9B,4CAA6E;AAG7E,oDAA2B;AAC3B,kFAAyD;AACzD,6CAAyC;AACzC,kEAAyC;AACzC,4FAAmE;AAEnE,+CAA+C;AAC/C,KAAK,UAAU,SAAS,CAAC,OAAgB;IACvC,IAAA,eAAK,EAAC,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,CAAA;IACvC,IAAA,qBAAW,EAAC,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAA;IAExC,IAAA,eAAK,EAAC,OAAO,EAAE,8BAA8B,EAAE,SAAS,CAAC,CAAA;IACzD,IAAI,cAAc,GAAkB,EAAE,CAAA;IACtC,IAAI;QACF,cAAc,GAAG,MAAM,IAAA,8BAAoB,EACzC,IAAA,cAAI,EAAC,OAAO,EAAE;YACZ,KAAK;YACL,KAAK;YACL,QAAQ;YACR,eAAe;YACf,QAAQ;YACR,gBAAgB;YAChB,QAAQ;YACR,QAAQ;YACR,eAAe;SAChB,CAAC,CACH,CAAA;KACF;IAAC,OAAO,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IAEjH,IAAI,OAAO,CAAC,IAAI,EAAE;QAChB,sHAAsH;QACtH,IAAA,mBAAS,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;KAC7B;SAAM,IAAI,WAAW,CAAC,MAAM,EAAE;QAC7B,MAAM,UAAU,GACd,OAAO,CAAC,cAAc,KAAK,MAAM;YAC/B,CAAC,CAAC,qBAAqB;YACvB,CAAC,CAAC,OAAO,CAAC,cAAc,KAAK,MAAM;gBACnC,CAAC,CAAC,aAAa;gBACf,CAAC,CAAC,OAAO,CAAC,cAAc,KAAK,KAAK;oBAClC,CAAC,CAAC,YAAY;oBACd,CAAC,CAAC,gBAAgB,CAAA;QAEtB,IAAA,eAAK,EACH,OAAO,EACP,IAAI;YACF,eAAK,CAAC,IAAI,CAAC,KAAK,CAAC;YACjB,gGAAgG;YAChG,eAAK,CAAC,IAAI,CAAC,GAAG,UAAU,GAAG,GAAG,WAAW,CAAC;YAC1C,IAAI,CACP,CAAA;KACF;IAED,oDAAoD;IACpD,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,UAAU,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,EAAE;QAC9E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;KAChB;IACD,OAAO,QAAQ,CAAA;AACjB,CAAC;AAED,kBAAe,SAAS,CAAA"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Index } from '../types/IndexType';
|
2
|
-
import { Maybe } from '../types/Maybe';
|
3
|
-
import { Options } from '../types/Options';
|
4
|
-
import { PackageFile } from '../types/PackageFile';
|
5
|
-
import { Version } from '../types/Version';
|
6
|
-
import { VersionSpec } from '../types/VersionSpec';
|
7
|
-
/**
|
8
|
-
* Return a promise which resolves to object storing package owner changed status for each dependency.
|
9
|
-
*
|
10
|
-
* @param fromVersion current packages version.
|
11
|
-
* @param toVersion target packages version.
|
12
|
-
* @param options
|
13
|
-
* @returns
|
14
|
-
*/
|
15
|
-
export declare function getOwnerPerDependency(fromVersion: Index<Version>, toVersion: Index<Version>, options: Options): Promise<Index<boolean>>;
|
16
|
-
/** Checks local project dependencies for upgrades. */
|
17
|
-
declare function runLocal(options: Options, pkgData?: Maybe<string>, pkgFile?: Maybe<string>): Promise<PackageFile | Index<VersionSpec>>;
|
18
|
-
export default runLocal;
|
@@ -1,239 +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.getOwnerPerDependency = void 0;
|
7
|
-
const promises_1 = __importDefault(require("fs/promises"));
|
8
|
-
const json_parse_helpfulerror_1 = __importDefault(require("json-parse-helpfulerror"));
|
9
|
-
const get_1 = __importDefault(require("lodash/get"));
|
10
|
-
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
11
|
-
const pick_1 = __importDefault(require("lodash/pick"));
|
12
|
-
const prompts_ncu_1 = __importDefault(require("prompts-ncu"));
|
13
|
-
const semver_1 = require("semver");
|
14
|
-
const chalk_1 = __importDefault(require("./chalk"));
|
15
|
-
const getCurrentDependencies_1 = __importDefault(require("./getCurrentDependencies"));
|
16
|
-
const getIgnoredUpgrades_1 = __importDefault(require("./getIgnoredUpgrades"));
|
17
|
-
const getPackageManager_1 = __importDefault(require("./getPackageManager"));
|
18
|
-
const getPeerDependencies_1 = __importDefault(require("./getPeerDependencies"));
|
19
|
-
const keyValueBy_1 = __importDefault(require("./keyValueBy"));
|
20
|
-
const logging_1 = require("./logging");
|
21
|
-
const programError_1 = __importDefault(require("./programError"));
|
22
|
-
const resolveDepSections_1 = __importDefault(require("./resolveDepSections"));
|
23
|
-
const upgradePackageData_1 = __importDefault(require("./upgradePackageData"));
|
24
|
-
const upgradePackageDefinitions_1 = __importDefault(require("./upgradePackageDefinitions"));
|
25
|
-
const version_util_1 = require("./version-util");
|
26
|
-
const INTERACTIVE_HINT = `
|
27
|
-
↑/↓: Select a package
|
28
|
-
Space: Toggle selection
|
29
|
-
a: Toggle all
|
30
|
-
Enter: Upgrade`;
|
31
|
-
/**
|
32
|
-
* Return a promise which resolves to object storing package owner changed status for each dependency.
|
33
|
-
*
|
34
|
-
* @param fromVersion current packages version.
|
35
|
-
* @param toVersion target packages version.
|
36
|
-
* @param options
|
37
|
-
* @returns
|
38
|
-
*/
|
39
|
-
async function getOwnerPerDependency(fromVersion, toVersion, options) {
|
40
|
-
const packageManager = (0, getPackageManager_1.default)(options, options.packageManager);
|
41
|
-
return await Object.keys(toVersion).reduce(async (accum, dep) => {
|
42
|
-
const from = fromVersion[dep] || null;
|
43
|
-
const to = toVersion[dep] || null;
|
44
|
-
const ownerChanged = await packageManager.packageAuthorChanged(dep, from, to, options);
|
45
|
-
return {
|
46
|
-
...(await accum),
|
47
|
-
[dep]: ownerChanged,
|
48
|
-
};
|
49
|
-
}, {});
|
50
|
-
}
|
51
|
-
exports.getOwnerPerDependency = getOwnerPerDependency;
|
52
|
-
/** Prompts the user to choose which upgrades to upgrade. */
|
53
|
-
const chooseUpgrades = async (oldDependencies, newDependencies, pkgFile, options) => {
|
54
|
-
var _a;
|
55
|
-
let chosenDeps = [];
|
56
|
-
// use toDependencyTable to create choices that are properly padded to align vertically
|
57
|
-
const table = await (0, logging_1.toDependencyTable)({
|
58
|
-
from: oldDependencies,
|
59
|
-
to: newDependencies,
|
60
|
-
format: options.format,
|
61
|
-
pkgFile: pkgFile || undefined,
|
62
|
-
});
|
63
|
-
const formattedLines = (0, keyValueBy_1.default)(table.toString().split('\n'), line => {
|
64
|
-
const dep = line.trim().split(' ')[0];
|
65
|
-
return {
|
66
|
-
[dep]: line.trim(),
|
67
|
-
};
|
68
|
-
});
|
69
|
-
// do not prompt if there are no dependencies
|
70
|
-
// prompts will crash if passed an empty list of choices
|
71
|
-
if (Object.keys(newDependencies).length > 0) {
|
72
|
-
(0, logging_1.print)(options, '');
|
73
|
-
if ((_a = options.format) === null || _a === void 0 ? void 0 : _a.includes('group')) {
|
74
|
-
const groups = (0, version_util_1.getDependencyGroups)(newDependencies, oldDependencies, options);
|
75
|
-
const choices = groups.flatMap(({ heading, groupName, packages }) => {
|
76
|
-
return [
|
77
|
-
{ title: '\n' + heading, heading: true },
|
78
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
79
|
-
...Object.keys(packages)
|
80
|
-
.sort()
|
81
|
-
.map(dep => ({
|
82
|
-
title: formattedLines[dep],
|
83
|
-
value: dep,
|
84
|
-
selected: ['patch', 'minor'].includes(groupName),
|
85
|
-
})),
|
86
|
-
];
|
87
|
-
});
|
88
|
-
const response = await (0, prompts_ncu_1.default)({
|
89
|
-
choices: [...choices, { title: ' ', heading: true }],
|
90
|
-
hint: INTERACTIVE_HINT,
|
91
|
-
instructions: false,
|
92
|
-
message: 'Choose which packages to update',
|
93
|
-
name: 'value',
|
94
|
-
optionsPerPage: 50,
|
95
|
-
type: 'multiselect',
|
96
|
-
onState: (state) => {
|
97
|
-
if (state.aborted) {
|
98
|
-
process.nextTick(() => process.exit(1));
|
99
|
-
}
|
100
|
-
},
|
101
|
-
});
|
102
|
-
chosenDeps = response.value;
|
103
|
-
}
|
104
|
-
else {
|
105
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
106
|
-
const choices = Object.keys(newDependencies)
|
107
|
-
.sort()
|
108
|
-
.map(dep => ({
|
109
|
-
title: formattedLines[dep],
|
110
|
-
value: dep,
|
111
|
-
selected: true,
|
112
|
-
}));
|
113
|
-
const response = await (0, prompts_ncu_1.default)({
|
114
|
-
choices: [...choices, { title: ' ', heading: true }],
|
115
|
-
hint: INTERACTIVE_HINT + '\n',
|
116
|
-
instructions: false,
|
117
|
-
message: 'Choose which packages to update',
|
118
|
-
name: 'value',
|
119
|
-
optionsPerPage: 50,
|
120
|
-
type: 'multiselect',
|
121
|
-
onState: (state) => {
|
122
|
-
if (state.aborted) {
|
123
|
-
process.nextTick(() => process.exit(1));
|
124
|
-
}
|
125
|
-
},
|
126
|
-
});
|
127
|
-
chosenDeps = response.value;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
return (0, keyValueBy_1.default)(chosenDeps, dep => ({ [dep]: newDependencies[dep] }));
|
131
|
-
};
|
132
|
-
/** Checks local project dependencies for upgrades. */
|
133
|
-
async function runLocal(options, pkgData, pkgFile) {
|
134
|
-
(0, logging_1.print)(options, '\nOptions:', 'verbose');
|
135
|
-
(0, logging_1.printSorted)(options, options, 'verbose');
|
136
|
-
let pkg;
|
137
|
-
try {
|
138
|
-
if (!pkgData) {
|
139
|
-
(0, programError_1.default)(options, 'Missing package data');
|
140
|
-
}
|
141
|
-
else {
|
142
|
-
// strip comments from jsonc files
|
143
|
-
const pkgDataStripped = (pkgFile === null || pkgFile === void 0 ? void 0 : pkgFile.endsWith('.jsonc')) && pkgData ? (await import('strip-json-comments')).default(pkgData) : pkgData;
|
144
|
-
pkg = json_parse_helpfulerror_1.default.parse(pkgDataStripped);
|
145
|
-
}
|
146
|
-
}
|
147
|
-
catch (e) {
|
148
|
-
(0, programError_1.default)(options, `Invalid package file${pkgFile ? `: ${pkgFile}` : ' from stdin'}. Error details:\n${e.message}`);
|
149
|
-
}
|
150
|
-
const current = (0, getCurrentDependencies_1.default)(pkg, options);
|
151
|
-
(0, logging_1.print)(options, '\nCurrent versions:', 'verbose');
|
152
|
-
(0, logging_1.print)(options, current, 'verbose');
|
153
|
-
if (options.enginesNode) {
|
154
|
-
options.nodeEngineVersion = (0, get_1.default)(pkg, 'engines.node');
|
155
|
-
}
|
156
|
-
if (options.peer) {
|
157
|
-
options.peerDependencies = await (0, getPeerDependencies_1.default)(current, options);
|
158
|
-
}
|
159
|
-
const [upgraded, latestResults, upgradedPeerDependencies] = await (0, upgradePackageDefinitions_1.default)(current, options);
|
160
|
-
const latest = (0, keyValueBy_1.default)(latestResults, (key, result) => (result.version ? { [key]: result.version } : null));
|
161
|
-
const errors = (0, keyValueBy_1.default)(latestResults, (key, result) => (result.error ? { [key]: result.error } : null));
|
162
|
-
const time = (0, keyValueBy_1.default)(latestResults, (key, result) => (result.time ? { [key]: result.time } : null));
|
163
|
-
if (options.peer) {
|
164
|
-
(0, logging_1.print)(options, '\nupgradedPeerDependencies:', 'verbose');
|
165
|
-
(0, logging_1.print)(options, upgradedPeerDependencies, 'verbose');
|
166
|
-
}
|
167
|
-
(0, logging_1.print)(options, `\n${typeof options.target === 'string' ? `${options.target[0].toUpperCase()}${options.target.slice(1)}` : 'Fetched'} versions:`, 'verbose');
|
168
|
-
(0, logging_1.print)(options, latest, 'verbose');
|
169
|
-
(0, logging_1.print)(options, '\nUpgraded versions:', 'verbose');
|
170
|
-
(0, logging_1.print)(options, upgraded, 'verbose');
|
171
|
-
// filter out satisfied deps when using --minimal
|
172
|
-
const filteredUpgraded = options.minimal
|
173
|
-
? (0, keyValueBy_1.default)(upgraded, (dep, version) => (!(0, semver_1.satisfies)(latest[dep], current[dep]) ? { [dep]: version } : null))
|
174
|
-
: upgraded;
|
175
|
-
const ownersChangedDeps = (options.format || []).includes('ownerChanged')
|
176
|
-
? await getOwnerPerDependency(current, filteredUpgraded, options)
|
177
|
-
: undefined;
|
178
|
-
const chosenUpgraded = options.interactive
|
179
|
-
? await chooseUpgrades(current, filteredUpgraded, pkgFile, options)
|
180
|
-
: filteredUpgraded;
|
181
|
-
if (!options.json || options.deep) {
|
182
|
-
await (0, logging_1.printUpgrades)(
|
183
|
-
// in interactive mode, do not group upgrades afterwards since the prompts are grouped
|
184
|
-
options.interactive
|
185
|
-
? { ...options, format: (options.format || []).filter(formatType => formatType !== 'group') }
|
186
|
-
: options, {
|
187
|
-
current,
|
188
|
-
upgraded: chosenUpgraded,
|
189
|
-
total: Object.keys(upgraded).length,
|
190
|
-
latest: latestResults,
|
191
|
-
ownersChangedDeps,
|
192
|
-
pkgFile: pkgFile || undefined,
|
193
|
-
errors,
|
194
|
-
time,
|
195
|
-
});
|
196
|
-
if (options.peer) {
|
197
|
-
const ignoredUpdates = await (0, getIgnoredUpgrades_1.default)(current, upgraded, upgradedPeerDependencies, options);
|
198
|
-
if (!(0, isEmpty_1.default)(ignoredUpdates)) {
|
199
|
-
(0, logging_1.printIgnoredUpdates)(options, ignoredUpdates);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
const newPkgData = await (0, upgradePackageData_1.default)(pkgData, current, chosenUpgraded, options);
|
204
|
-
const output = options.jsonAll
|
205
|
-
? json_parse_helpfulerror_1.default.parse(newPkgData)
|
206
|
-
: options.jsonDeps
|
207
|
-
? (0, pick_1.default)(json_parse_helpfulerror_1.default.parse(newPkgData), (0, resolveDepSections_1.default)(options.dep))
|
208
|
-
: chosenUpgraded;
|
209
|
-
// will be overwritten with the result of fs.writeFile so that the return promise waits for the package file to be written
|
210
|
-
let writePromise = Promise.resolve();
|
211
|
-
if (options.json && !options.deep) {
|
212
|
-
(0, logging_1.printJson)(options, output);
|
213
|
-
}
|
214
|
-
if (Object.keys(filteredUpgraded).length > 0) {
|
215
|
-
// if there is a package file, write the new package data
|
216
|
-
// otherwise, suggest ncu -u
|
217
|
-
if (pkgFile) {
|
218
|
-
if (options.upgrade) {
|
219
|
-
// do not await until the end
|
220
|
-
writePromise = promises_1.default.writeFile(pkgFile, newPkgData);
|
221
|
-
}
|
222
|
-
else {
|
223
|
-
const ncuCmd = process.env.npm_lifecycle_event === 'npx' ? 'npx npm-check-updates' : 'ncu';
|
224
|
-
// quote arguments with spaces
|
225
|
-
const argv = process.argv
|
226
|
-
.slice(2)
|
227
|
-
.map(arg => (arg.includes(' ') ? `"${arg}"` : arg))
|
228
|
-
.join(' ');
|
229
|
-
const ncuOptions = argv ? ' ' + argv : argv;
|
230
|
-
const upgradeHint = `\nRun ${chalk_1.default.cyan(`${ncuCmd}${ncuOptions} -u`)} to upgrade ${options.packageFile || 'package.json'}`;
|
231
|
-
(0, logging_1.print)(options, upgradeHint);
|
232
|
-
}
|
233
|
-
}
|
234
|
-
}
|
235
|
-
await writePromise;
|
236
|
-
return output;
|
237
|
-
}
|
238
|
-
exports.default = runLocal;
|
239
|
-
//# sourceMappingURL=runLocal.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"runLocal.js","sourceRoot":"","sources":["../../../src/lib/runLocal.ts"],"names":[],"mappings":";;;;;;AAAA,2DAA4B;AAC5B,sFAAyC;AACzC,qDAA4B;AAC5B,6DAAoC;AACpC,uDAA8B;AAC9B,8DAAiC;AACjC,mCAAkC;AAOlC,oDAA2B;AAC3B,sFAA6D;AAC7D,8EAAqD;AACrD,4EAAmD;AACnD,gFAAuD;AACvD,8DAAqC;AACrC,uCAAgH;AAChH,kEAAyC;AACzC,8EAAqD;AACrD,8EAAqD;AACrD,4FAAmE;AACnE,iDAAoD;AAEpD,MAAM,gBAAgB,GAAG;;;;iBAIR,CAAA;AAEjB;;;;;;;GAOG;AACI,KAAK,UAAU,qBAAqB,CAAC,WAA2B,EAAE,SAAyB,EAAE,OAAgB;IAClH,MAAM,cAAc,GAAG,IAAA,2BAAiB,EAAC,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IACzE,OAAO,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;QAC9D,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,IAAI,CAAA;QACrC,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,IAAI,CAAA;QACjC,MAAM,YAAY,GAAG,MAAM,cAAc,CAAC,oBAAqB,CAAC,GAAG,EAAE,IAAK,EAAE,EAAG,EAAE,OAAO,CAAC,CAAA;QACzF,OAAO;YACL,GAAG,CAAC,MAAM,KAAK,CAAC;YAChB,CAAC,GAAG,CAAC,EAAE,YAAY;SACpB,CAAA;IACH,CAAC,EAAE,EAA6B,CAAC,CAAA;AACnC,CAAC;AAXD,sDAWC;AAED,4DAA4D;AAC5D,MAAM,cAAc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AQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;qBAClD,IAAI,CAAC,GAAG,CAAC,CAAA;gBACZ,MAAM,UAAU,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;gBAC3C,MAAM,WAAW,GAAG,SAAS,eAAK,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,UAAU,KAAK,CAAC,eAClE,OAAO,CAAC,WAAW,IAAI,cACzB,EAAE,CAAA;gBACF,IAAA,eAAK,EAAC,OAAO,EAAE,WAAW,CAAC,CAAA;aAC5B;SACF;KACF;IAED,MAAM,YAAY,CAAA;IAElB,OAAO,MAAM,CAAA;AACf,CAAC;AAED,kBAAe,QAAQ,CAAA"}
|
@@ -1,27 +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
|
-
const cli_table3_1 = __importDefault(require("cli-table3"));
|
7
|
-
const wrap_1 = __importDefault(require("./wrap"));
|
8
|
-
/** Wraps the second column in a list of 2-column cli-table rows. */
|
9
|
-
const wrapRows = (rows) => rows.map(([col1, col2]) => [col1, (0, wrap_1.default)(col2)]);
|
10
|
-
/** Renders an HTML row. */
|
11
|
-
const row = (cells) => '\n <tr>' + cells.map(cell => `<td>${cell}</td>`).join('') + '</tr>';
|
12
|
-
/** Renders a table for the CLI or markdown. */
|
13
|
-
const table = ({ colAligns, markdown, rows, }) => {
|
14
|
-
// return HTML table for Github-flavored markdown
|
15
|
-
if (markdown) {
|
16
|
-
return `<table>${rows.map(row).join('')}\n</table>`;
|
17
|
-
}
|
18
|
-
// otherwise use cli-table3
|
19
|
-
else {
|
20
|
-
const t = new cli_table3_1.default({ ...(colAligns ? { colAligns } : null) });
|
21
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
22
|
-
t.push(...(markdown ? rows : wrapRows(rows)));
|
23
|
-
return t.toString();
|
24
|
-
}
|
25
|
-
};
|
26
|
-
exports.default = table;
|
27
|
-
//# sourceMappingURL=table.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/lib/table.ts"],"names":[],"mappings":";;;;;AAAA,4DAA8B;AAC9B,kDAAyB;AAEzB,oEAAoE;AACpE,MAAM,QAAQ,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AAErF,2BAA2B;AAC3B,MAAM,GAAG,GAAG,CAAC,KAAe,EAAE,EAAE,CAAC,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAA;AAEtG,+CAA+C;AAC/C,MAAM,KAAK,GAAG,CAAC,EACb,SAAS,EACT,QAAQ,EACR,IAAI,GAKL,EAAU,EAAE;IACX,iDAAiD;IACjD,IAAI,QAAQ,EAAE;QACZ,OAAO,UAAU,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAA;KACpD;IACD,2BAA2B;SACtB;QACH,MAAM,CAAC,GAAG,IAAI,oBAAK,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;QAC9D,kDAAkD;QAClD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QAC7C,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAA;KACpB;AACH,CAAC,CAAA;AAED,kBAAe,KAAK,CAAA"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Index } from '../types/IndexType';
|
2
|
-
import { Options } from '../types/Options';
|
3
|
-
import { Version } from '../types/Version';
|
4
|
-
import { VersionSpec } from '../types/VersionSpec';
|
5
|
-
/**
|
6
|
-
* Upgrade a dependencies collection based on latest available versions. Supports npm aliases.
|
7
|
-
*
|
8
|
-
* @param currentDependencies current dependencies collection object
|
9
|
-
* @param latestVersions latest available versions collection object
|
10
|
-
* @param [options={}]
|
11
|
-
* @returns upgraded dependency collection object
|
12
|
-
*/
|
13
|
-
declare function upgradeDependencies(currentDependencies: Index<VersionSpec | null>, latestVersions: Index<Version>, options?: Options): Index<VersionSpec>;
|
14
|
-
export default upgradeDependencies;
|