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,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.keyValueBy = void 0;
|
4
|
-
/** Generates an object from an array or object. Simpler than reduce or _.transform. The KeyValueGenerator passes (key, value) if the input is an object, and (value, i) if it is an array. The return object from each iteration is merged into the accumulated object. Return null to skip an item. */
|
5
|
-
function keyValueBy(input,
|
6
|
-
// if no keyValue is given, sets all values to true
|
7
|
-
keyValue, accum = {}) {
|
8
|
-
const isArray = Array.isArray(input);
|
9
|
-
keyValue = keyValue || ((key) => ({ [key]: true }));
|
10
|
-
// considerably faster than Array.prototype.reduce
|
11
|
-
Object.entries(input || {}).forEach(([key, value], i) => {
|
12
|
-
const o = isArray
|
13
|
-
? keyValue(value, i, accum)
|
14
|
-
: keyValue(key, value, accum);
|
15
|
-
Object.entries(o || {}).forEach(entry => {
|
16
|
-
accum[entry[0]] = entry[1];
|
17
|
-
});
|
18
|
-
});
|
19
|
-
return accum;
|
20
|
-
}
|
21
|
-
exports.keyValueBy = keyValueBy;
|
22
|
-
exports.default = keyValueBy;
|
23
|
-
//# sourceMappingURL=keyValueBy.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"keyValueBy.js","sourceRoot":"","sources":["../../../src/lib/keyValueBy.ts"],"names":[],"mappings":";;;AAcA,wSAAwS;AACxS,SAAgB,UAAU,CACxB,KAAqB;AACrB,mDAAmD;AACnD,QAAuE,EACvE,QAAkB,EAAE;IAEpB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,QAAQ,GAAG,QAAQ,IAAI,CAAC,CAAC,GAAM,EAAY,EAAE,CAAC,CAAC,EAAE,CAAC,GAAwB,CAAC,EAAE,IAAoB,EAAE,CAAC,CAAC,CAAA;IACrG,kDAAkD;IAClD,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE;QACtD,MAAM,CAAC,GAAG,OAAO;YACf,CAAC,CAAE,QAAyC,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC;YAC7D,CAAC,CAAE,QAA0C,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClE,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACtC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QAC5B,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,OAAO,KAAK,CAAA;AACd,CAAC;AAnBD,gCAmBC;AAED,kBAAe,UAAU,CAAA"}
|
@@ -1,108 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
|
4
|
-
This is a copy of the deprecated libnpmconfig library. It has been brought into the codebase to avoid deprecation warnings.
|
5
|
-
|
6
|
-
https://github.com/npm/libnpmconfig
|
7
|
-
|
8
|
-
*/
|
9
|
-
const fs = require('fs');
|
10
|
-
const figgyPudding = require('../figgy-pudding');
|
11
|
-
const findUp = require('find-up');
|
12
|
-
const ini = require('ini');
|
13
|
-
const os = require('os');
|
14
|
-
const path = require('path');
|
15
|
-
const NpmConfig = figgyPudding({}, {
|
16
|
-
// Open up the pudding object.
|
17
|
-
other() {
|
18
|
-
return true;
|
19
|
-
},
|
20
|
-
});
|
21
|
-
const ConfigOpts = figgyPudding({
|
22
|
-
cache: { default: path.join(process.env.HOME || os.homedir(), '.npm') },
|
23
|
-
configNames: { default: ['npmrc', '.npmrc'] },
|
24
|
-
envPrefix: { default: /^npm_config_/i },
|
25
|
-
cwd: { default: () => process.cwd() },
|
26
|
-
globalconfig: {
|
27
|
-
default: () => path.join(getGlobalPrefix(), 'etc', 'npmrc'),
|
28
|
-
},
|
29
|
-
userconfig: { default: path.join(process.env.HOME || os.homedir(), '.npmrc') },
|
30
|
-
});
|
31
|
-
module.exports.read = getNpmConfig;
|
32
|
-
/** Gets the npm config. */
|
33
|
-
function getNpmConfig(_opts, _builtin) {
|
34
|
-
const builtin = ConfigOpts(_builtin);
|
35
|
-
const env = {};
|
36
|
-
Object.keys(process.env).forEach(key => {
|
37
|
-
if (!key.match(builtin.envPrefix))
|
38
|
-
return;
|
39
|
-
const newKey = key
|
40
|
-
.toLowerCase()
|
41
|
-
.replace(builtin.envPrefix, '')
|
42
|
-
.replace(/(?!^)_/g, '-');
|
43
|
-
env[newKey] = process.env[key];
|
44
|
-
});
|
45
|
-
const cli = NpmConfig(_opts);
|
46
|
-
const userConfPath = builtin.userconfig || cli.userconfig || env.userconfig;
|
47
|
-
const user = userConfPath && maybeReadIni(userConfPath);
|
48
|
-
const globalConfPath = builtin.globalconfig || cli.globalconfig || env.globalconfig;
|
49
|
-
const global = globalConfPath && maybeReadIni(globalConfPath);
|
50
|
-
const projConfPath = findUp.sync(builtin.configNames, { cwd: builtin.cwd });
|
51
|
-
let proj = {};
|
52
|
-
if (projConfPath && projConfPath !== userConfPath) {
|
53
|
-
proj = maybeReadIni(projConfPath);
|
54
|
-
}
|
55
|
-
const newOpts = NpmConfig(builtin, global, user, proj, env, cli);
|
56
|
-
if (newOpts.cache) {
|
57
|
-
return newOpts.concat({
|
58
|
-
cache: path.resolve(cli.cache || env.cache
|
59
|
-
? builtin.cwd
|
60
|
-
: proj.cache
|
61
|
-
? path.dirname(projConfPath)
|
62
|
-
: user.cache
|
63
|
-
? path.dirname(userConfPath)
|
64
|
-
: global.cache
|
65
|
-
? path.dirname(globalConfPath)
|
66
|
-
: path.dirname(userConfPath), newOpts.cache),
|
67
|
-
});
|
68
|
-
}
|
69
|
-
else {
|
70
|
-
return newOpts;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
/** Try to read the given ini file. */
|
74
|
-
function maybeReadIni(f) {
|
75
|
-
let txt;
|
76
|
-
try {
|
77
|
-
txt = fs.readFileSync(f, 'utf8');
|
78
|
-
}
|
79
|
-
catch (err) {
|
80
|
-
if (err.code === 'ENOENT') {
|
81
|
-
return '';
|
82
|
-
}
|
83
|
-
else {
|
84
|
-
throw err;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
return ini.parse(txt);
|
88
|
-
}
|
89
|
-
/** Get the global node PREFIX. */
|
90
|
-
function getGlobalPrefix() {
|
91
|
-
if (process.env.PREFIX) {
|
92
|
-
return process.env.PREFIX;
|
93
|
-
}
|
94
|
-
else if (process.platform === 'win32') {
|
95
|
-
// c:\node\node.exe --> prefix=c:\node\
|
96
|
-
return path.dirname(process.execPath);
|
97
|
-
}
|
98
|
-
else {
|
99
|
-
// /usr/local/bin/node --> prefix=/usr/local
|
100
|
-
let pref = path.dirname(path.dirname(process.execPath));
|
101
|
-
// destdir only is respected on Unix
|
102
|
-
if (process.env.DESTDIR) {
|
103
|
-
pref = path.join(process.env.DESTDIR, pref);
|
104
|
-
}
|
105
|
-
return pref;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/libnpmconfig/index.js"],"names":[],"mappings":";AAAA;;;;;;EAME;AAEF,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACxB,MAAM,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;AAChD,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AACjC,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;AAC1B,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACx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AI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;SAC5C;QACD,OAAO,IAAI,CAAA;KACZ;AACH,CAAC"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { Options } from '../types/Options';
|
2
|
-
import { PackageInfo } from '../types/PackageInfo';
|
3
|
-
/** Load and parse a package file. */
|
4
|
-
declare const loadPackageInfoFromFile: (options: Options, filepath: string) => Promise<PackageInfo>;
|
5
|
-
export default loadPackageInfoFromFile;
|
@@ -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 promises_1 = __importDefault(require("fs/promises"));
|
7
|
-
const programError_1 = __importDefault(require("./programError"));
|
8
|
-
/** Load and parse a package file. */
|
9
|
-
const loadPackageInfoFromFile = async (options, filepath) => {
|
10
|
-
let pkg, pkgFile;
|
11
|
-
// assert package.json
|
12
|
-
try {
|
13
|
-
pkgFile = await promises_1.default.readFile(filepath, 'utf-8');
|
14
|
-
pkg = JSON.parse(pkgFile);
|
15
|
-
}
|
16
|
-
catch (e) {
|
17
|
-
(0, programError_1.default)(options, `Missing or invalid ${filepath}`);
|
18
|
-
}
|
19
|
-
return {
|
20
|
-
name: undefined,
|
21
|
-
pkg,
|
22
|
-
pkgFile,
|
23
|
-
filepath,
|
24
|
-
};
|
25
|
-
};
|
26
|
-
exports.default = loadPackageInfoFromFile;
|
27
|
-
//# sourceMappingURL=loadPackageInfoFromFile.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"loadPackageInfoFromFile.js","sourceRoot":"","sources":["../../../src/lib/loadPackageInfoFromFile.ts"],"names":[],"mappings":";;;;;AAAA,2DAA4B;AAI5B,kEAAyC;AAEzC,qCAAqC;AACrC,MAAM,uBAAuB,GAAG,KAAK,EAAE,OAAgB,EAAE,QAAgB,EAAwB,EAAE;IACjG,IAAI,GAAgB,EAAE,OAAe,CAAA;IAErC,sBAAsB;IACtB,IAAI;QACF,OAAO,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;QAC9C,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;KAC1B;IAAC,OAAO,CAAC,EAAE;QACV,IAAA,sBAAY,EAAC,OAAO,EAAE,sBAAsB,QAAQ,EAAE,CAAC,CAAA;KACxD;IAED,OAAO;QACL,IAAI,EAAE,SAAS;QACf,GAAG;QACH,OAAO;QACP,QAAQ;KACT,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,uBAAuB,CAAA"}
|
@@ -1,77 +0,0 @@
|
|
1
|
-
import { IgnoredUpgrade } from '../types/IgnoredUpgrade';
|
2
|
-
import { Index } from '../types/IndexType';
|
3
|
-
import { Options } from '../types/Options';
|
4
|
-
import { VersionResult } from '../types/VersionResult';
|
5
|
-
import { VersionSpec } from '../types/VersionSpec';
|
6
|
-
type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'verbose' | 'silly' | null;
|
7
|
-
/**
|
8
|
-
* Prints a message if it is included within options.loglevel.
|
9
|
-
*
|
10
|
-
* @param options Command line options. These will be compared to the loglevel parameter to determine if the message gets printed.
|
11
|
-
* @param message The message to print
|
12
|
-
* @param loglevel silent|error|warn|info|verbose|silly
|
13
|
-
* @param method The console method to call. Default: 'log'.
|
14
|
-
*/
|
15
|
-
export declare function print(options: Options, message: any, loglevel?: LogLevel, method?: 'log' | 'warn' | 'info' | 'error'): void;
|
16
|
-
/** Pretty print a JSON object. */
|
17
|
-
export declare function printJson(options: Options, object: any): void;
|
18
|
-
/** Print JSON object keys as string joined by character. */
|
19
|
-
export declare function printSimpleJoinedString(object: any, join: string): void;
|
20
|
-
/** Prints an object sorted by key. */
|
21
|
-
export declare function printSorted<T extends {
|
22
|
-
[key: string]: any;
|
23
|
-
}>(options: Options, obj: T, loglevel: LogLevel): void;
|
24
|
-
/**
|
25
|
-
* Renders a color-coded table of upgrades.
|
26
|
-
*
|
27
|
-
* @param args
|
28
|
-
* @param args.from
|
29
|
-
* @param args.to
|
30
|
-
* @param args.ownersChangedDeps
|
31
|
-
* @param args.format
|
32
|
-
*/
|
33
|
-
export declare function toDependencyTable({ from: fromDeps, to: toDeps, format, ownersChangedDeps, pkgFile, time, }: {
|
34
|
-
from: Index<VersionSpec>;
|
35
|
-
to: Index<VersionSpec>;
|
36
|
-
format?: string[];
|
37
|
-
ownersChangedDeps?: Index<boolean>;
|
38
|
-
/** See: logging/getPackageRepo pkgFile param. */
|
39
|
-
pkgFile?: string;
|
40
|
-
time?: Index<string>;
|
41
|
-
}): Promise<string>;
|
42
|
-
/**
|
43
|
-
* Renders one or more color-coded tables with all upgrades. Supports different formats from the --format option.
|
44
|
-
*
|
45
|
-
* @param args
|
46
|
-
* @param args.current
|
47
|
-
* @param args.upgraded
|
48
|
-
* @param args.ownersChangedDeps
|
49
|
-
* @param options
|
50
|
-
*/
|
51
|
-
export declare function printUpgradesTable({ current, upgraded, ownersChangedDeps, pkgFile, time, }: {
|
52
|
-
current: Index<VersionSpec>;
|
53
|
-
upgraded: Index<VersionSpec>;
|
54
|
-
ownersChangedDeps?: Index<boolean>;
|
55
|
-
pkgFile?: string;
|
56
|
-
time?: Index<string>;
|
57
|
-
}, options: Options): Promise<void>;
|
58
|
-
/**
|
59
|
-
* @param args.current -
|
60
|
-
* @param args.latest -
|
61
|
-
* @param args.upgraded -
|
62
|
-
* @param args.total -
|
63
|
-
* @param args.ownersChangedDeps -
|
64
|
-
*/
|
65
|
-
export declare function printUpgrades(options: Options, { current, latest, upgraded, total, ownersChangedDeps, pkgFile, time, errors, }: {
|
66
|
-
current: Index<VersionSpec>;
|
67
|
-
latest?: Index<VersionResult>;
|
68
|
-
upgraded: Index<VersionSpec>;
|
69
|
-
total: number;
|
70
|
-
ownersChangedDeps?: Index<boolean>;
|
71
|
-
pkgFile?: string;
|
72
|
-
time?: Index<string>;
|
73
|
-
errors?: Index<string>;
|
74
|
-
}): Promise<void>;
|
75
|
-
/** Print updates that were ignored due to incompatible peer dependencies. */
|
76
|
-
export declare function printIgnoredUpdates(options: Options, ignoredUpdates: Index<IgnoredUpgrade>): void;
|
77
|
-
export {};
|
@@ -1,287 +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.printIgnoredUpdates = exports.printUpgrades = exports.printUpgradesTable = exports.toDependencyTable = exports.printSorted = exports.printSimpleJoinedString = exports.printJson = exports.print = void 0;
|
7
|
-
/**
|
8
|
-
* Loggin functions.
|
9
|
-
*/
|
10
|
-
const cli_table3_1 = __importDefault(require("cli-table3"));
|
11
|
-
const transform_1 = __importDefault(require("lodash/transform"));
|
12
|
-
const chalk_1 = __importDefault(require("./chalk"));
|
13
|
-
const filterObject_1 = __importDefault(require("./filterObject"));
|
14
|
-
const getRepoUrl_1 = __importDefault(require("./getRepoUrl"));
|
15
|
-
const version_util_1 = require("./version-util");
|
16
|
-
// maps string levels to numeric levels
|
17
|
-
const logLevels = {
|
18
|
-
silent: 0,
|
19
|
-
error: 1,
|
20
|
-
minimal: 2,
|
21
|
-
warn: 3,
|
22
|
-
info: 4,
|
23
|
-
verbose: 5,
|
24
|
-
silly: 6,
|
25
|
-
};
|
26
|
-
/** Returns true if the dependency spec is not fetchable from the registry and is ignored. */
|
27
|
-
const isFetchable = (spec) => !spec.startsWith('file:') &&
|
28
|
-
!spec.startsWith('link:') &&
|
29
|
-
!spec.startsWith('workspace:') &&
|
30
|
-
// short github urls that are ignored, e.g. raineorshine/foo
|
31
|
-
!/^[^/:@]+\/\w+/.test(spec);
|
32
|
-
/**
|
33
|
-
* Prints a message if it is included within options.loglevel.
|
34
|
-
*
|
35
|
-
* @param options Command line options. These will be compared to the loglevel parameter to determine if the message gets printed.
|
36
|
-
* @param message The message to print
|
37
|
-
* @param loglevel silent|error|warn|info|verbose|silly
|
38
|
-
* @param method The console method to call. Default: 'log'.
|
39
|
-
*/
|
40
|
-
function print(options, message, loglevel = null, method = 'log') {
|
41
|
-
var _a;
|
42
|
-
// not in json mode
|
43
|
-
// not silent
|
44
|
-
// not at a loglevel under minimum specified
|
45
|
-
if (!options.json &&
|
46
|
-
options.loglevel !== 'silent' &&
|
47
|
-
(loglevel == null ||
|
48
|
-
logLevels[((_a = options.loglevel) !== null && _a !== void 0 ? _a : 'warn')] >= logLevels[loglevel])) {
|
49
|
-
console[method](message);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
exports.print = print;
|
53
|
-
/** Pretty print a JSON object. */
|
54
|
-
function printJson(options, object) {
|
55
|
-
if (options.loglevel !== 'silent') {
|
56
|
-
console.log(JSON.stringify(object, null, 2));
|
57
|
-
}
|
58
|
-
}
|
59
|
-
exports.printJson = printJson;
|
60
|
-
/** Print JSON object keys as string joined by character. */
|
61
|
-
function printSimpleJoinedString(object, join) {
|
62
|
-
console.log(Object.keys(object)
|
63
|
-
.map(pkg => pkg + '@' + object[pkg])
|
64
|
-
.join(join));
|
65
|
-
}
|
66
|
-
exports.printSimpleJoinedString = printSimpleJoinedString;
|
67
|
-
/** Prints an object sorted by key. */
|
68
|
-
function printSorted(options, obj, loglevel) {
|
69
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
70
|
-
const sortedKeys = Object.keys(obj).sort();
|
71
|
-
const objSorted = (0, transform_1.default)(sortedKeys, (accum, key) => {
|
72
|
-
accum[key] = obj[key];
|
73
|
-
}, {});
|
74
|
-
print(options, objSorted, loglevel);
|
75
|
-
}
|
76
|
-
exports.printSorted = printSorted;
|
77
|
-
/** Create a table with the appropriate columns and alignment to render dependency upgrades. */
|
78
|
-
function renderDependencyTable(rows) {
|
79
|
-
const table = new cli_table3_1.default({
|
80
|
-
colAligns: ['left', 'right', 'right', 'right', 'left', 'left'],
|
81
|
-
chars: {
|
82
|
-
top: '',
|
83
|
-
'top-mid': '',
|
84
|
-
'top-left': '',
|
85
|
-
'top-right': '',
|
86
|
-
bottom: '',
|
87
|
-
'bottom-mid': '',
|
88
|
-
'bottom-left': '',
|
89
|
-
'bottom-right': '',
|
90
|
-
left: '',
|
91
|
-
'left-mid': '',
|
92
|
-
mid: '',
|
93
|
-
'mid-mid': '',
|
94
|
-
right: '',
|
95
|
-
'right-mid': '',
|
96
|
-
middle: '',
|
97
|
-
},
|
98
|
-
});
|
99
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
100
|
-
table.push(...rows);
|
101
|
-
// when border is removed, whitespace remains
|
102
|
-
// trim the end of each line to remove whitespace
|
103
|
-
// this makes no difference visually, but the whitespace interacts poorly with .editorconfig in tests
|
104
|
-
return table
|
105
|
-
.toString()
|
106
|
-
.split('\n')
|
107
|
-
.map(line => line.trimEnd())
|
108
|
-
.join('\n');
|
109
|
-
}
|
110
|
-
/**
|
111
|
-
* Extract just the version number from a package.json dep
|
112
|
-
*
|
113
|
-
* @param dep Raw dependency, could be version / npm: string / Git url
|
114
|
-
*/
|
115
|
-
function getVersion(dep) {
|
116
|
-
return (0, version_util_1.isGithubUrl)(dep) ? (0, version_util_1.getGithubUrlTag)(dep) : (0, version_util_1.isNpmAlias)(dep) ? (0, version_util_1.parseNpmAlias)(dep)[1] : dep;
|
117
|
-
}
|
118
|
-
/**
|
119
|
-
* Renders a color-coded table of upgrades.
|
120
|
-
*
|
121
|
-
* @param args
|
122
|
-
* @param args.from
|
123
|
-
* @param args.to
|
124
|
-
* @param args.ownersChangedDeps
|
125
|
-
* @param args.format
|
126
|
-
*/
|
127
|
-
async function toDependencyTable({ from: fromDeps, to: toDeps, format, ownersChangedDeps, pkgFile, time, }) {
|
128
|
-
const table = renderDependencyTable(await Promise.all(
|
129
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
130
|
-
Object.keys(toDeps)
|
131
|
-
.sort()
|
132
|
-
.map(async (dep) => {
|
133
|
-
const from = fromDeps[dep] || '';
|
134
|
-
const toRaw = toDeps[dep] || '';
|
135
|
-
const to = getVersion(toRaw);
|
136
|
-
const ownerChanged = ownersChangedDeps
|
137
|
-
? dep in ownersChangedDeps
|
138
|
-
? ownersChangedDeps[dep]
|
139
|
-
? '*owner changed*'
|
140
|
-
: ''
|
141
|
-
: '*unknown*'
|
142
|
-
: '';
|
143
|
-
const toColorized = (0, version_util_1.colorizeDiff)(getVersion(from), to);
|
144
|
-
const repoUrl = (format === null || format === void 0 ? void 0 : format.includes('repo')) ? (await (0, getRepoUrl_1.default)(dep, undefined, { pkgFile })) || '' : '';
|
145
|
-
const publishTime = (format === null || format === void 0 ? void 0 : format.includes('time')) && (time === null || time === void 0 ? void 0 : time[dep]) ? time[dep] : '';
|
146
|
-
return [dep, from, '→', toColorized, ownerChanged, ...[repoUrl, publishTime].filter(x => x)];
|
147
|
-
})));
|
148
|
-
return table;
|
149
|
-
}
|
150
|
-
exports.toDependencyTable = toDependencyTable;
|
151
|
-
/**
|
152
|
-
* Renders one or more color-coded tables with all upgrades. Supports different formats from the --format option.
|
153
|
-
*
|
154
|
-
* @param args
|
155
|
-
* @param args.current
|
156
|
-
* @param args.upgraded
|
157
|
-
* @param args.ownersChangedDeps
|
158
|
-
* @param options
|
159
|
-
*/
|
160
|
-
async function printUpgradesTable({ current, upgraded, ownersChangedDeps, pkgFile, time, }, options) {
|
161
|
-
var _a, _b;
|
162
|
-
// group
|
163
|
-
if ((_a = options.format) === null || _a === void 0 ? void 0 : _a.includes('group')) {
|
164
|
-
const groups = (0, version_util_1.getDependencyGroups)(upgraded, current, options);
|
165
|
-
// eslint-disable-next-line fp/no-loops -- We must await in each iteration of the loop
|
166
|
-
for (const { heading, packages } of groups) {
|
167
|
-
print(options, '\n' + heading);
|
168
|
-
print(options, await toDependencyTable({
|
169
|
-
from: current,
|
170
|
-
to: packages,
|
171
|
-
format: options.format,
|
172
|
-
ownersChangedDeps,
|
173
|
-
pkgFile,
|
174
|
-
time,
|
175
|
-
}));
|
176
|
-
}
|
177
|
-
}
|
178
|
-
else {
|
179
|
-
if ((_b = options.format) === null || _b === void 0 ? void 0 : _b.includes('lines')) {
|
180
|
-
printSimpleJoinedString(upgraded, '\n');
|
181
|
-
}
|
182
|
-
else {
|
183
|
-
print(options, await toDependencyTable({
|
184
|
-
from: current,
|
185
|
-
to: upgraded,
|
186
|
-
format: options.format,
|
187
|
-
ownersChangedDeps,
|
188
|
-
pkgFile,
|
189
|
-
time,
|
190
|
-
}));
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
exports.printUpgradesTable = printUpgradesTable;
|
195
|
-
/** Prints errors. */
|
196
|
-
function printErrors(options, errors) {
|
197
|
-
if (!errors)
|
198
|
-
return;
|
199
|
-
if (Object.keys(errors).length > 0) {
|
200
|
-
const errorTable = new cli_table3_1.default({
|
201
|
-
colAligns: ['left', 'right', 'right', 'right', 'left', 'left'],
|
202
|
-
chars: {
|
203
|
-
top: '',
|
204
|
-
'top-mid': '',
|
205
|
-
'top-left': '',
|
206
|
-
'top-right': '',
|
207
|
-
bottom: '',
|
208
|
-
'bottom-mid': '',
|
209
|
-
'bottom-left': '',
|
210
|
-
'bottom-right': '',
|
211
|
-
left: '',
|
212
|
-
'left-mid': '',
|
213
|
-
mid: '',
|
214
|
-
'mid-mid': '',
|
215
|
-
right: '',
|
216
|
-
'right-mid': '',
|
217
|
-
middle: '',
|
218
|
-
},
|
219
|
-
});
|
220
|
-
// eslint-disable-next-line fp/no-mutating-methods
|
221
|
-
errorTable.push(...Object.entries(errors).map(([dep, error]) => [dep, chalk_1.default.yellow(error)]));
|
222
|
-
print(options, '\n' + errorTable.toString());
|
223
|
-
}
|
224
|
-
}
|
225
|
-
/**
|
226
|
-
* @param args.current -
|
227
|
-
* @param args.latest -
|
228
|
-
* @param args.upgraded -
|
229
|
-
* @param args.total -
|
230
|
-
* @param args.ownersChangedDeps -
|
231
|
-
*/
|
232
|
-
async function printUpgrades(options, { current, latest, upgraded, total, ownersChangedDeps, pkgFile, time, errors, }) {
|
233
|
-
var _a;
|
234
|
-
if (!((_a = options.format) === null || _a === void 0 ? void 0 : _a.includes('group'))) {
|
235
|
-
print(options, '');
|
236
|
-
}
|
237
|
-
const smiley = chalk_1.default.green.bold(':)');
|
238
|
-
const numErrors = Object.keys(errors || {}).length;
|
239
|
-
const target = typeof options.target === 'string' ? options.target : 'target';
|
240
|
-
const numUpgraded = Object.keys(upgraded).length;
|
241
|
-
if (numUpgraded === 0 && total === 0 && numErrors === 0) {
|
242
|
-
if (Object.keys(current).length === 0) {
|
243
|
-
print(options, 'No dependencies.');
|
244
|
-
}
|
245
|
-
else if (latest &&
|
246
|
-
Object.keys(latest).length === 0 &&
|
247
|
-
// some specs are ignored by ncu, like the file: protocol, so they should be ignored when detecting fetch issues
|
248
|
-
Object.values((0, filterObject_1.default)(current, (name, spec) => isFetchable(spec))).length > 0) {
|
249
|
-
print(options, `No package versions were returned. This may be a problem with your installed ${options.packageManager}, the npm registry, or your Internet connection. Make sure ${chalk_1.default.cyan('npx pacote packument ncu-test-v2')} is working before reporting an issue.`);
|
250
|
-
}
|
251
|
-
else if (options.global) {
|
252
|
-
print(options, `All global packages are up-to-date ${smiley}`);
|
253
|
-
}
|
254
|
-
else {
|
255
|
-
print(options, `All dependencies match the ${target} package versions ${smiley}`);
|
256
|
-
}
|
257
|
-
}
|
258
|
-
else if (numUpgraded === 0 && total > 0) {
|
259
|
-
print(options, `No dependencies upgraded ${smiley}`);
|
260
|
-
}
|
261
|
-
// print table
|
262
|
-
else if (numUpgraded > 0) {
|
263
|
-
await printUpgradesTable({
|
264
|
-
current,
|
265
|
-
upgraded,
|
266
|
-
ownersChangedDeps,
|
267
|
-
pkgFile,
|
268
|
-
time,
|
269
|
-
}, options);
|
270
|
-
}
|
271
|
-
printErrors(options, errors);
|
272
|
-
}
|
273
|
-
exports.printUpgrades = printUpgrades;
|
274
|
-
/** Print updates that were ignored due to incompatible peer dependencies. */
|
275
|
-
function printIgnoredUpdates(options, ignoredUpdates) {
|
276
|
-
print(options, `\nIgnored incompatible updates (peer dependencies):\n`);
|
277
|
-
const table = renderDependencyTable(Object.entries(ignoredUpdates).map(([pkgName, { from, to, reason }]) => {
|
278
|
-
const strReason = 'reason: ' +
|
279
|
-
Object.entries(reason)
|
280
|
-
.map(([pkgReason, requirement]) => pkgReason + ' requires ' + requirement)
|
281
|
-
.join(', ');
|
282
|
-
return [pkgName, from, '→', (0, version_util_1.colorizeDiff)(from, to), strReason];
|
283
|
-
}));
|
284
|
-
print(options, table);
|
285
|
-
}
|
286
|
-
exports.printIgnoredUpdates = printIgnoredUpdates;
|
287
|
-
//# sourceMappingURL=logging.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"logging.js","sourceRoot":"","sources":["../../../src/lib/logging.ts"],"names":[],"mappings":";;;;;;AAAA;;GAEG;AACH,4DAA8B;AAC9B,iEAAwC;AAMxC,oDAA2B;AAC3B,kEAAyC;AACzC,8DAAqC;AACrC,iDAOuB;AAIvB,uCAAuC;AACvC,MAAM,SAAS,GAAG;IAChB,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,CAAC;IACV,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACT,CAAA;AAED,6FAA6F;AAC7F,MAAM,WAAW,GAAG,CAAC,IAAiB,EAAE,EAAE,CACxC,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IACzB,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IACzB,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAC9B,4DAA4D;IAC5D,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAE7B;;;;;;;GAOG;A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AAI,EAAE,GAAG,EAAE,IAAA,2BAAY,EAAC,IAAI,EAAE,EAAE,CAAC,EAAE,SAAS,CAAC,CAAA;IAChE,CAAC,CAAC,CACH,CAAA;IACD,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;AACvB,CAAC;AAbD,kDAaC"}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import { Options } from '../types/Options';
|
2
|
-
/**
|
3
|
-
* Shallow merge (specific or all) properties.
|
4
|
-
* If some properties both are arrays, then merge them also.
|
5
|
-
*/
|
6
|
-
declare function mergeOptions(rawOptions1: Options | null, rawOptions2: Options | null): {
|
7
|
-
cache?: boolean | undefined;
|
8
|
-
cacheClear?: boolean | undefined;
|
9
|
-
cacheExpiration?: number | undefined;
|
10
|
-
cacheFile?: string | undefined;
|
11
|
-
color?: boolean | undefined;
|
12
|
-
concurrency?: number | undefined;
|
13
|
-
configFileName?: string | undefined;
|
14
|
-
configFilePath?: string | undefined;
|
15
|
-
cwd?: string | undefined;
|
16
|
-
deep?: boolean | undefined;
|
17
|
-
dep?: string | string[] | undefined;
|
18
|
-
deprecated?: boolean | undefined;
|
19
|
-
doctor?: boolean | undefined;
|
20
|
-
doctorInstall?: string | undefined;
|
21
|
-
doctorTest?: string | undefined;
|
22
|
-
enginesNode?: boolean | undefined;
|
23
|
-
errorLevel?: number | undefined;
|
24
|
-
filter?: string | RegExp | import("../types/FilterFunction").FilterFunction | (string | RegExp)[] | undefined;
|
25
|
-
filterResults?: import("../types/FilterResultsFunction").FilterResultsFunction | undefined;
|
26
|
-
filterVersion?: string | RegExp | import("../types/FilterFunction").FilterFunction | (string | RegExp)[] | undefined;
|
27
|
-
format?: string[] | undefined;
|
28
|
-
global?: boolean | undefined;
|
29
|
-
groupFunction?: import("../types/GroupFunction").GroupFunction | undefined;
|
30
|
-
install?: "always" | "never" | "prompt" | undefined;
|
31
|
-
interactive?: boolean | undefined;
|
32
|
-
jsonAll?: boolean | undefined;
|
33
|
-
jsonDeps?: boolean | undefined;
|
34
|
-
jsonUpgraded?: boolean | undefined;
|
35
|
-
loglevel?: string | undefined;
|
36
|
-
mergeConfig?: boolean | undefined;
|
37
|
-
minimal?: boolean | undefined;
|
38
|
-
packageData?: string | (import("../types/PackageFile").PackageFile & string) | undefined;
|
39
|
-
packageFile?: string | undefined;
|
40
|
-
packageManager?: "npm" | "yarn" | "pnpm" | "deno" | "bun" | "staticRegistry" | undefined;
|
41
|
-
peer?: boolean | undefined;
|
42
|
-
pre?: boolean | undefined;
|
43
|
-
prefix?: string | undefined;
|
44
|
-
registry?: string | undefined;
|
45
|
-
registryType?: "npm" | "json" | undefined;
|
46
|
-
reject?: string | RegExp | import("../types/FilterFunction").FilterFunction | (string | RegExp)[] | undefined;
|
47
|
-
rejectVersion?: string | RegExp | import("../types/FilterFunction").FilterFunction | (string | RegExp)[] | undefined;
|
48
|
-
removeRange?: boolean | undefined;
|
49
|
-
retry?: number | undefined;
|
50
|
-
root?: boolean | undefined;
|
51
|
-
silent?: boolean | undefined;
|
52
|
-
stdin?: string | undefined;
|
53
|
-
target?: "minor" | "patch" | `@${string}` | import("../types/TargetFunction").TargetFunction | "latest" | "newest" | "greatest" | "semver" | undefined;
|
54
|
-
timeout?: number | undefined;
|
55
|
-
upgrade?: boolean | undefined;
|
56
|
-
verbose?: boolean | undefined;
|
57
|
-
workspace?: string[] | undefined;
|
58
|
-
workspaces?: boolean | undefined;
|
59
|
-
args?: any[] | undefined;
|
60
|
-
cacher?: import("../types/Cacher").Cacher | undefined;
|
61
|
-
cli?: boolean | undefined;
|
62
|
-
distTag?: string | undefined;
|
63
|
-
json?: boolean | undefined;
|
64
|
-
nodeEngineVersion?: string | undefined;
|
65
|
-
peerDependencies?: import("../types/IndexType").Index<any> | undefined;
|
66
|
-
rcConfigPath?: string | undefined;
|
67
|
-
workspacePackages?: string[] | undefined;
|
68
|
-
};
|
69
|
-
export default mergeOptions;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
/** Merges two arrays into one, removing duplicates. */
|
4
|
-
function mergeArrays(arr1, arr2) {
|
5
|
-
return Array.from(new Set([...(arr1 || []), ...(arr2 || [])]));
|
6
|
-
}
|
7
|
-
/**
|
8
|
-
* Shallow merge (specific or all) properties.
|
9
|
-
* If some properties both are arrays, then merge them also.
|
10
|
-
*/
|
11
|
-
function mergeOptions(rawOptions1, rawOptions2) {
|
12
|
-
const options1 = rawOptions1 || {};
|
13
|
-
const options2 = rawOptions2 || {};
|
14
|
-
const result = { ...options1, ...options2 };
|
15
|
-
Object.keys(result).forEach(key => {
|
16
|
-
if (Array.isArray(options1[key]) && Array.isArray(options2[key])) {
|
17
|
-
result[key] = mergeArrays(options1[key], options2[key]);
|
18
|
-
}
|
19
|
-
});
|
20
|
-
return result;
|
21
|
-
}
|
22
|
-
exports.default = mergeOptions;
|
23
|
-
//# sourceMappingURL=mergeOptions.js.map
|