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,869 +0,0 @@
|
|
1
|
-
// Project: https://github.com/isaacs/node-lru-cache
|
2
|
-
// Based initially on @types/lru-cache
|
3
|
-
// https://github.com/DefinitelyTyped/DefinitelyTyped
|
4
|
-
// used under the terms of the MIT License, shown below.
|
5
|
-
//
|
6
|
-
// DefinitelyTyped license:
|
7
|
-
// ------
|
8
|
-
// MIT License
|
9
|
-
//
|
10
|
-
// Copyright (c) Microsoft Corporation.
|
11
|
-
//
|
12
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
13
|
-
// copy of this software and associated documentation files (the "Software"),
|
14
|
-
// to deal in the Software without restriction, including without limitation
|
15
|
-
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
16
|
-
// and/or sell copies of the Software, and to permit persons to whom the
|
17
|
-
// Software is furnished to do so, subject to the following conditions:
|
18
|
-
//
|
19
|
-
// The above copyright notice and this permission notice shall be included
|
20
|
-
// in all copies or substantial portions of the Software.
|
21
|
-
//
|
22
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
23
|
-
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
24
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
25
|
-
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
26
|
-
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
27
|
-
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
28
|
-
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
|
29
|
-
// ------
|
30
|
-
//
|
31
|
-
// Changes by Isaac Z. Schlueter released under the terms found in the
|
32
|
-
// LICENSE file within this project.
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Integer greater than 0, representing some number of milliseconds, or the
|
36
|
-
* time at which a TTL started counting from.
|
37
|
-
*/
|
38
|
-
declare type LRUMilliseconds = number
|
39
|
-
|
40
|
-
/**
|
41
|
-
* An integer greater than 0, reflecting the calculated size of items
|
42
|
-
*/
|
43
|
-
declare type LRUSize = number
|
44
|
-
|
45
|
-
/**
|
46
|
-
* An integer greater than 0, reflecting a number of items
|
47
|
-
*/
|
48
|
-
declare type LRUCount = number
|
49
|
-
|
50
|
-
declare class LRUCache<K, V> implements Iterable<[K, V]> {
|
51
|
-
constructor(options: LRUCache.Options<K, V>)
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Number of items in the cache.
|
55
|
-
* Alias for {@link size}
|
56
|
-
*
|
57
|
-
* @deprecated since 7.0 use {@link size} instead
|
58
|
-
*/
|
59
|
-
public readonly length: LRUCount
|
60
|
-
|
61
|
-
public readonly max: LRUCount
|
62
|
-
public readonly maxSize: LRUSize
|
63
|
-
public readonly maxEntrySize: LRUSize
|
64
|
-
public readonly sizeCalculation:
|
65
|
-
| LRUCache.SizeCalculator<K, V>
|
66
|
-
| undefined
|
67
|
-
public readonly dispose: LRUCache.Disposer<K, V>
|
68
|
-
/**
|
69
|
-
* @since 7.4.0
|
70
|
-
*/
|
71
|
-
public readonly disposeAfter: LRUCache.Disposer<K, V> | null
|
72
|
-
public readonly noDisposeOnSet: boolean
|
73
|
-
public readonly ttl: LRUMilliseconds
|
74
|
-
public readonly ttlResolution: LRUMilliseconds
|
75
|
-
public readonly ttlAutopurge: boolean
|
76
|
-
public readonly allowStale: boolean
|
77
|
-
public readonly updateAgeOnGet: boolean
|
78
|
-
/**
|
79
|
-
* @since 7.11.0
|
80
|
-
*/
|
81
|
-
public readonly noDeleteOnStaleGet: boolean
|
82
|
-
/**
|
83
|
-
* @since 7.6.0
|
84
|
-
*/
|
85
|
-
public readonly fetchMethod: LRUCache.Fetcher<K, V> | null
|
86
|
-
|
87
|
-
/**
|
88
|
-
* The total number of items held in the cache at the current moment.
|
89
|
-
*/
|
90
|
-
public readonly size: LRUCount
|
91
|
-
|
92
|
-
/**
|
93
|
-
* The total size of items in cache when using size tracking.
|
94
|
-
*/
|
95
|
-
public readonly calculatedSize: LRUSize
|
96
|
-
|
97
|
-
/**
|
98
|
-
* Add a value to the cache.
|
99
|
-
*/
|
100
|
-
public set(
|
101
|
-
key: K,
|
102
|
-
value: V,
|
103
|
-
options?: LRUCache.SetOptions<K, V>
|
104
|
-
): this
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Return a value from the cache. Will update the recency of the cache entry
|
108
|
-
* found.
|
109
|
-
*
|
110
|
-
* If the key is not found, {@link get} will return `undefined`. This can be
|
111
|
-
* confusing when setting values specifically to `undefined`, as in
|
112
|
-
* `cache.set(key, undefined)`. Use {@link has} to determine whether a key is
|
113
|
-
* present in the cache at all.
|
114
|
-
*/
|
115
|
-
public get(key: K, options?: LRUCache.GetOptions<V>): V | undefined
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Like {@link get} but doesn't update recency or delete stale items.
|
119
|
-
* Returns `undefined` if the item is stale, unless {@link allowStale} is set
|
120
|
-
* either on the cache or in the options object.
|
121
|
-
*/
|
122
|
-
public peek(key: K, options?: LRUCache.PeekOptions): V | undefined
|
123
|
-
|
124
|
-
/**
|
125
|
-
* Check if a key is in the cache, without updating the recency of use.
|
126
|
-
* Will return false if the item is stale, even though it is technically
|
127
|
-
* in the cache.
|
128
|
-
*
|
129
|
-
* Will not update item age unless {@link updateAgeOnHas} is set in the
|
130
|
-
* options or constructor.
|
131
|
-
*/
|
132
|
-
public has(key: K, options?: LRUCache.HasOptions<V>): boolean
|
133
|
-
|
134
|
-
/**
|
135
|
-
* Deletes a key out of the cache.
|
136
|
-
* Returns true if the key was deleted, false otherwise.
|
137
|
-
*/
|
138
|
-
public delete(key: K): boolean
|
139
|
-
|
140
|
-
/**
|
141
|
-
* Clear the cache entirely, throwing away all values.
|
142
|
-
*/
|
143
|
-
public clear(): void
|
144
|
-
|
145
|
-
/**
|
146
|
-
* Delete any stale entries. Returns true if anything was removed, false
|
147
|
-
* otherwise.
|
148
|
-
*/
|
149
|
-
public purgeStale(): boolean
|
150
|
-
|
151
|
-
/**
|
152
|
-
* Find a value for which the supplied fn method returns a truthy value,
|
153
|
-
* similar to Array.find(). fn is called as fn(value, key, cache).
|
154
|
-
*/
|
155
|
-
public find(
|
156
|
-
callbackFn: (
|
157
|
-
value: V,
|
158
|
-
key: K,
|
159
|
-
cache: this
|
160
|
-
) => boolean | undefined | void,
|
161
|
-
options?: LRUCache.GetOptions<V>
|
162
|
-
): V | undefined
|
163
|
-
|
164
|
-
/**
|
165
|
-
* Call the supplied function on each item in the cache, in order from
|
166
|
-
* most recently used to least recently used. fn is called as
|
167
|
-
* fn(value, key, cache). Does not update age or recenty of use.
|
168
|
-
*/
|
169
|
-
public forEach<T = this>(
|
170
|
-
callbackFn: (this: T, value: V, key: K, cache: this) => void,
|
171
|
-
thisArg?: T
|
172
|
-
): void
|
173
|
-
|
174
|
-
/**
|
175
|
-
* The same as {@link forEach} but items are iterated over in reverse
|
176
|
-
* order. (ie, less recently used items are iterated over first.)
|
177
|
-
*/
|
178
|
-
public rforEach<T = this>(
|
179
|
-
callbackFn: (this: T, value: V, key: K, cache: this) => void,
|
180
|
-
thisArg?: T
|
181
|
-
): void
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Return a generator yielding the keys in the cache,
|
185
|
-
* in order from most recently used to least recently used.
|
186
|
-
*/
|
187
|
-
public keys(): Generator<K, void, void>
|
188
|
-
|
189
|
-
/**
|
190
|
-
* Inverse order version of {@link keys}
|
191
|
-
*
|
192
|
-
* Return a generator yielding the keys in the cache,
|
193
|
-
* in order from least recently used to most recently used.
|
194
|
-
*/
|
195
|
-
public rkeys(): Generator<K, void, void>
|
196
|
-
|
197
|
-
/**
|
198
|
-
* Return a generator yielding the values in the cache,
|
199
|
-
* in order from most recently used to least recently used.
|
200
|
-
*/
|
201
|
-
public values(): Generator<V, void, void>
|
202
|
-
|
203
|
-
/**
|
204
|
-
* Inverse order version of {@link values}
|
205
|
-
*
|
206
|
-
* Return a generator yielding the values in the cache,
|
207
|
-
* in order from least recently used to most recently used.
|
208
|
-
*/
|
209
|
-
public rvalues(): Generator<V, void, void>
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Return a generator yielding `[key, value]` pairs,
|
213
|
-
* in order from most recently used to least recently used.
|
214
|
-
*/
|
215
|
-
public entries(): Generator<[K, V], void, void>
|
216
|
-
|
217
|
-
/**
|
218
|
-
* Inverse order version of {@link entries}
|
219
|
-
*
|
220
|
-
* Return a generator yielding `[key, value]` pairs,
|
221
|
-
* in order from least recently used to most recently used.
|
222
|
-
*/
|
223
|
-
public rentries(): Generator<[K, V], void, void>
|
224
|
-
|
225
|
-
/**
|
226
|
-
* Iterating over the cache itself yields the same results as
|
227
|
-
* {@link entries}
|
228
|
-
*/
|
229
|
-
public [Symbol.iterator](): Generator<[K, V], void, void>
|
230
|
-
|
231
|
-
/**
|
232
|
-
* Return an array of [key, entry] objects which can be passed to
|
233
|
-
* cache.load()
|
234
|
-
*/
|
235
|
-
public dump(): Array<[K, LRUCache.Entry<V>]>
|
236
|
-
|
237
|
-
/**
|
238
|
-
* Reset the cache and load in the items in entries in the order listed.
|
239
|
-
* Note that the shape of the resulting cache may be different if the
|
240
|
-
* same options are not used in both caches.
|
241
|
-
*/
|
242
|
-
public load(
|
243
|
-
cacheEntries: ReadonlyArray<[K, LRUCache.Entry<V>]>
|
244
|
-
): void
|
245
|
-
|
246
|
-
/**
|
247
|
-
* Evict the least recently used item, returning its value or `undefined`
|
248
|
-
* if cache is empty.
|
249
|
-
*/
|
250
|
-
public pop(): V | undefined
|
251
|
-
|
252
|
-
/**
|
253
|
-
* Deletes a key out of the cache.
|
254
|
-
*
|
255
|
-
* @deprecated since 7.0 use delete() instead
|
256
|
-
*/
|
257
|
-
public del(key: K): boolean
|
258
|
-
|
259
|
-
/**
|
260
|
-
* Clear the cache entirely, throwing away all values.
|
261
|
-
*
|
262
|
-
* @deprecated since 7.0 use clear() instead
|
263
|
-
*/
|
264
|
-
public reset(): void
|
265
|
-
|
266
|
-
/**
|
267
|
-
* Manually iterates over the entire cache proactively pruning old entries.
|
268
|
-
*
|
269
|
-
* @deprecated since 7.0 use purgeStale() instead
|
270
|
-
*/
|
271
|
-
public prune(): boolean
|
272
|
-
|
273
|
-
/**
|
274
|
-
* Make an asynchronous cached fetch using the {@link fetchMethod} function.
|
275
|
-
*
|
276
|
-
* If multiple fetches for the same key are issued, then they will all be
|
277
|
-
* coalesced into a single call to fetchMethod.
|
278
|
-
*
|
279
|
-
* Note that this means that handling options such as
|
280
|
-
* {@link allowStaleOnFetchAbort}, {@link signal}, and
|
281
|
-
* {@link allowStaleOnFetchRejection} will be determined by the FIRST fetch()
|
282
|
-
* call for a given key.
|
283
|
-
*
|
284
|
-
* This is a known (fixable) shortcoming which will be addresed on when
|
285
|
-
* someone complains about it, as the fix would involve added complexity and
|
286
|
-
* may not be worth the costs for this edge case.
|
287
|
-
*
|
288
|
-
* since: 7.6.0
|
289
|
-
*/
|
290
|
-
public fetch(
|
291
|
-
key: K,
|
292
|
-
options?: LRUCache.FetchOptions<K, V>
|
293
|
-
): Promise<V>
|
294
|
-
|
295
|
-
/**
|
296
|
-
* since: 7.6.0
|
297
|
-
*/
|
298
|
-
public getRemainingTTL(key: K): LRUMilliseconds
|
299
|
-
}
|
300
|
-
|
301
|
-
declare namespace LRUCache {
|
302
|
-
type DisposeReason = 'evict' | 'set' | 'delete'
|
303
|
-
|
304
|
-
type SizeCalculator<K, V> = (value: V, key: K) => LRUSize
|
305
|
-
type Disposer<K, V> = (
|
306
|
-
value: V,
|
307
|
-
key: K,
|
308
|
-
reason: DisposeReason
|
309
|
-
) => void
|
310
|
-
type Fetcher<K, V> = (
|
311
|
-
key: K,
|
312
|
-
staleValue: V | undefined,
|
313
|
-
options: FetcherOptions<K, V>
|
314
|
-
) => Promise<V | void | undefined> | V | void | undefined
|
315
|
-
|
316
|
-
interface DeprecatedOptions<K, V> {
|
317
|
-
/**
|
318
|
-
* alias for ttl
|
319
|
-
*
|
320
|
-
* @deprecated since 7.0 use options.ttl instead
|
321
|
-
*/
|
322
|
-
maxAge?: LRUMilliseconds
|
323
|
-
|
324
|
-
/**
|
325
|
-
* alias for {@link sizeCalculation}
|
326
|
-
*
|
327
|
-
* @deprecated since 7.0 use {@link sizeCalculation} instead
|
328
|
-
*/
|
329
|
-
length?: SizeCalculator<K, V>
|
330
|
-
|
331
|
-
/**
|
332
|
-
* alias for allowStale
|
333
|
-
*
|
334
|
-
* @deprecated since 7.0 use options.allowStale instead
|
335
|
-
*/
|
336
|
-
stale?: boolean
|
337
|
-
}
|
338
|
-
|
339
|
-
interface LimitedByCount {
|
340
|
-
/**
|
341
|
-
* The number of most recently used items to keep.
|
342
|
-
* Note that we may store fewer items than this if maxSize is hit.
|
343
|
-
*/
|
344
|
-
max: LRUCount
|
345
|
-
}
|
346
|
-
|
347
|
-
type MaybeMaxEntrySizeLimit<K, V> =
|
348
|
-
| {
|
349
|
-
/**
|
350
|
-
* The maximum allowed size for any single item in the cache.
|
351
|
-
*
|
352
|
-
* If a larger item is passed to {@link set} or returned by a
|
353
|
-
* {@link fetchMethod}, then it will not be stored in the cache.
|
354
|
-
*/
|
355
|
-
maxEntrySize: LRUSize
|
356
|
-
sizeCalculation?: SizeCalculator<K, V>
|
357
|
-
}
|
358
|
-
| {}
|
359
|
-
|
360
|
-
interface LimitedBySize<K, V> {
|
361
|
-
/**
|
362
|
-
* If you wish to track item size, you must provide a maxSize
|
363
|
-
* note that we still will only keep up to max *actual items*,
|
364
|
-
* if max is set, so size tracking may cause fewer than max items
|
365
|
-
* to be stored. At the extreme, a single item of maxSize size
|
366
|
-
* will cause everything else in the cache to be dropped when it
|
367
|
-
* is added. Use with caution!
|
368
|
-
*
|
369
|
-
* Note also that size tracking can negatively impact performance,
|
370
|
-
* though for most cases, only minimally.
|
371
|
-
*/
|
372
|
-
maxSize: LRUSize
|
373
|
-
|
374
|
-
/**
|
375
|
-
* Function to calculate size of items. Useful if storing strings or
|
376
|
-
* buffers or other items where memory size depends on the object itself.
|
377
|
-
*
|
378
|
-
* Items larger than {@link maxEntrySize} will not be stored in the cache.
|
379
|
-
*
|
380
|
-
* Note that when {@link maxSize} or {@link maxEntrySize} are set, every
|
381
|
-
* item added MUST have a size specified, either via a `sizeCalculation` in
|
382
|
-
* the constructor, or `sizeCalculation` or {@link size} options to
|
383
|
-
* {@link set}.
|
384
|
-
*/
|
385
|
-
sizeCalculation?: SizeCalculator<K, V>
|
386
|
-
}
|
387
|
-
|
388
|
-
interface LimitedByTTL {
|
389
|
-
/**
|
390
|
-
* Max time in milliseconds for items to live in cache before they are
|
391
|
-
* considered stale. Note that stale items are NOT preemptively removed
|
392
|
-
* by default, and MAY live in the cache, contributing to its LRU max,
|
393
|
-
* long after they have expired.
|
394
|
-
*
|
395
|
-
* Also, as this cache is optimized for LRU/MRU operations, some of
|
396
|
-
* the staleness/TTL checks will reduce performance, as they will incur
|
397
|
-
* overhead by deleting items.
|
398
|
-
*
|
399
|
-
* Must be an integer number of ms, defaults to 0, which means "no TTL"
|
400
|
-
*/
|
401
|
-
ttl: LRUMilliseconds
|
402
|
-
|
403
|
-
/**
|
404
|
-
* Boolean flag to tell the cache to not update the TTL when
|
405
|
-
* setting a new value for an existing key (ie, when updating a value
|
406
|
-
* rather than inserting a new value). Note that the TTL value is
|
407
|
-
* _always_ set (if provided) when adding a new entry into the cache.
|
408
|
-
*
|
409
|
-
* @default false
|
410
|
-
* @since 7.4.0
|
411
|
-
*/
|
412
|
-
noUpdateTTL?: boolean
|
413
|
-
|
414
|
-
/**
|
415
|
-
* Minimum amount of time in ms in which to check for staleness.
|
416
|
-
* Defaults to 1, which means that the current time is checked
|
417
|
-
* at most once per millisecond.
|
418
|
-
*
|
419
|
-
* Set to 0 to check the current time every time staleness is tested.
|
420
|
-
* (This reduces performance, and is theoretically unnecessary.)
|
421
|
-
*
|
422
|
-
* Setting this to a higher value will improve performance somewhat
|
423
|
-
* while using ttl tracking, albeit at the expense of keeping stale
|
424
|
-
* items around a bit longer than their TTLs would indicate.
|
425
|
-
*
|
426
|
-
* @default 1
|
427
|
-
* @since 7.1.0
|
428
|
-
*/
|
429
|
-
ttlResolution?: LRUMilliseconds
|
430
|
-
|
431
|
-
/**
|
432
|
-
* Preemptively remove stale items from the cache.
|
433
|
-
* Note that this may significantly degrade performance,
|
434
|
-
* especially if the cache is storing a large number of items.
|
435
|
-
* It is almost always best to just leave the stale items in
|
436
|
-
* the cache, and let them fall out as new items are added.
|
437
|
-
*
|
438
|
-
* Note that this means that {@link allowStale} is a bit pointless,
|
439
|
-
* as stale items will be deleted almost as soon as they expire.
|
440
|
-
*
|
441
|
-
* Use with caution!
|
442
|
-
*
|
443
|
-
* @default false
|
444
|
-
* @since 7.1.0
|
445
|
-
*/
|
446
|
-
ttlAutopurge?: boolean
|
447
|
-
|
448
|
-
/**
|
449
|
-
* Return stale items from {@link get} before disposing of them.
|
450
|
-
* Return stale values from {@link fetch} while performing a call
|
451
|
-
* to the {@link fetchMethod} in the background.
|
452
|
-
*
|
453
|
-
* @default false
|
454
|
-
*/
|
455
|
-
allowStale?: boolean
|
456
|
-
|
457
|
-
/**
|
458
|
-
* Update the age of items on {@link get}, renewing their TTL
|
459
|
-
*
|
460
|
-
* @default false
|
461
|
-
*/
|
462
|
-
updateAgeOnGet?: boolean
|
463
|
-
|
464
|
-
/**
|
465
|
-
* Do not delete stale items when they are retrieved with {@link get}.
|
466
|
-
* Note that the {@link get} return value will still be `undefined` unless
|
467
|
-
* allowStale is true.
|
468
|
-
*
|
469
|
-
* @default false
|
470
|
-
* @since 7.11.0
|
471
|
-
*/
|
472
|
-
noDeleteOnStaleGet?: boolean
|
473
|
-
|
474
|
-
/**
|
475
|
-
* Update the age of items on {@link has}, renewing their TTL
|
476
|
-
*
|
477
|
-
* @default false
|
478
|
-
*/
|
479
|
-
updateAgeOnHas?: boolean
|
480
|
-
}
|
481
|
-
|
482
|
-
type SafetyBounds<K, V> =
|
483
|
-
| LimitedByCount
|
484
|
-
| LimitedBySize<K, V>
|
485
|
-
| LimitedByTTL
|
486
|
-
|
487
|
-
// options shared by all three of the limiting scenarios
|
488
|
-
interface SharedOptions<K, V> {
|
489
|
-
/**
|
490
|
-
* Function that is called on items when they are dropped from the cache.
|
491
|
-
* This can be handy if you want to close file descriptors or do other
|
492
|
-
* cleanup tasks when items are no longer accessible. Called with `key,
|
493
|
-
* value`. It's called before actually removing the item from the
|
494
|
-
* internal cache, so it is *NOT* safe to re-add them.
|
495
|
-
* Use {@link disposeAfter} if you wish to dispose items after they have
|
496
|
-
* been full removed, when it is safe to add them back to the cache.
|
497
|
-
*/
|
498
|
-
dispose?: Disposer<K, V>
|
499
|
-
|
500
|
-
/**
|
501
|
-
* The same as dispose, but called *after* the entry is completely
|
502
|
-
* removed and the cache is once again in a clean state. It is safe to
|
503
|
-
* add an item right back into the cache at this point.
|
504
|
-
* However, note that it is *very* easy to inadvertently create infinite
|
505
|
-
* recursion this way.
|
506
|
-
*
|
507
|
-
* @since 7.3.0
|
508
|
-
*/
|
509
|
-
disposeAfter?: Disposer<K, V>
|
510
|
-
|
511
|
-
/**
|
512
|
-
* Set to true to suppress calling the dispose() function if the entry
|
513
|
-
* key is still accessible within the cache.
|
514
|
-
* This may be overridden by passing an options object to {@link set}.
|
515
|
-
*
|
516
|
-
* @default false
|
517
|
-
*/
|
518
|
-
noDisposeOnSet?: boolean
|
519
|
-
|
520
|
-
/**
|
521
|
-
* Function that is used to make background asynchronous fetches. Called
|
522
|
-
* with `fetchMethod(key, staleValue, { signal, options, context })`.
|
523
|
-
*
|
524
|
-
* If `fetchMethod` is not provided, then {@link fetch} is
|
525
|
-
* equivalent to `Promise.resolve(cache.get(key))`.
|
526
|
-
*
|
527
|
-
* The `fetchMethod` should ONLY return `undefined` in cases where the
|
528
|
-
* abort controller has sent an abort signal.
|
529
|
-
*
|
530
|
-
* @since 7.6.0
|
531
|
-
*/
|
532
|
-
fetchMethod?: LRUCache.Fetcher<K, V>
|
533
|
-
|
534
|
-
/**
|
535
|
-
* Set to true to suppress the deletion of stale data when a
|
536
|
-
* {@link fetchMethod} throws an error or returns a rejected promise
|
537
|
-
*
|
538
|
-
* This may be overridden in the {@link fetchMethod}.
|
539
|
-
*
|
540
|
-
* @default false
|
541
|
-
* @since 7.10.0
|
542
|
-
*/
|
543
|
-
noDeleteOnFetchRejection?: boolean
|
544
|
-
|
545
|
-
/**
|
546
|
-
* Set to true to allow returning stale data when a {@link fetchMethod}
|
547
|
-
* throws an error or returns a rejected promise. Note that this
|
548
|
-
* differs from using {@link allowStale} in that stale data will
|
549
|
-
* ONLY be returned in the case that the fetch fails, not any other
|
550
|
-
* times.
|
551
|
-
*
|
552
|
-
* This may be overridden in the {@link fetchMethod}.
|
553
|
-
*
|
554
|
-
* @default false
|
555
|
-
* @since 7.16.0
|
556
|
-
*/
|
557
|
-
allowStaleOnFetchRejection?: boolean
|
558
|
-
|
559
|
-
/**
|
560
|
-
*
|
561
|
-
* Set to true to ignore the `abort` event emitted by the `AbortSignal`
|
562
|
-
* object passed to {@link fetchMethod}, and still cache the
|
563
|
-
* resulting resolution value, as long as it is not `undefined`.
|
564
|
-
*
|
565
|
-
* When used on its own, this means aborted {@link fetch} calls are not
|
566
|
-
* immediately resolved or rejected when they are aborted, and instead take
|
567
|
-
* the full time to await.
|
568
|
-
*
|
569
|
-
* When used with {@link allowStaleOnFetchAbort}, aborted {@link fetch}
|
570
|
-
* calls will resolve immediately to their stale cached value or
|
571
|
-
* `undefined`, and will continue to process and eventually update the
|
572
|
-
* cache when they resolve, as long as the resulting value is not
|
573
|
-
* `undefined`, thus supporting a "return stale on timeout while
|
574
|
-
* refreshing" mechanism by passing `AbortSignal.timeout(n)` as the signal.
|
575
|
-
*
|
576
|
-
* **Note**: regardless of this setting, an `abort` event _is still emitted
|
577
|
-
* on the `AbortSignal` object_, so may result in invalid results when
|
578
|
-
* passed to other underlying APIs that use AbortSignals.
|
579
|
-
*
|
580
|
-
* This may be overridden in the {@link fetchMethod} or the call to
|
581
|
-
* {@link fetch}.
|
582
|
-
*
|
583
|
-
* @default false
|
584
|
-
* @since 7.17.0
|
585
|
-
*/
|
586
|
-
ignoreFetchAbort?: boolean
|
587
|
-
|
588
|
-
/**
|
589
|
-
* Set to true to return a stale value from the cache when the
|
590
|
-
* `AbortSignal` passed to the {@link fetchMethod} dispatches an `'abort'`
|
591
|
-
* event, whether user-triggered, or due to internal cache behavior.
|
592
|
-
*
|
593
|
-
* Unless {@link ignoreFetchAbort} is also set, the underlying
|
594
|
-
* {@link fetchMethod} will still be considered canceled, and its return
|
595
|
-
* value will be ignored and not cached.
|
596
|
-
*
|
597
|
-
* This may be overridden in the {@link fetchMethod} or the call to
|
598
|
-
* {@link fetch}.
|
599
|
-
*
|
600
|
-
* @default false
|
601
|
-
* @since 7.17.0
|
602
|
-
*/
|
603
|
-
allowStaleOnFetchAbort?: boolean
|
604
|
-
|
605
|
-
/**
|
606
|
-
* Set to any value in the constructor or {@link fetch} options to
|
607
|
-
* pass arbitrary data to the {@link fetchMethod} in the {@link context}
|
608
|
-
* options field.
|
609
|
-
*
|
610
|
-
* @since 7.12.0
|
611
|
-
*/
|
612
|
-
fetchContext?: any
|
613
|
-
}
|
614
|
-
|
615
|
-
type Options<K, V> = SharedOptions<K, V> &
|
616
|
-
DeprecatedOptions<K, V> &
|
617
|
-
SafetyBounds<K, V> &
|
618
|
-
MaybeMaxEntrySizeLimit<K, V>
|
619
|
-
|
620
|
-
/**
|
621
|
-
* options which override the options set in the LRUCache constructor
|
622
|
-
* when making calling {@link set}.
|
623
|
-
*/
|
624
|
-
interface SetOptions<K, V> {
|
625
|
-
/**
|
626
|
-
* A value for the size of the entry, prevents calls to
|
627
|
-
* {@link sizeCalculation}.
|
628
|
-
*
|
629
|
-
* Items larger than {@link maxEntrySize} will not be stored in the cache.
|
630
|
-
*
|
631
|
-
* Note that when {@link maxSize} or {@link maxEntrySize} are set, every
|
632
|
-
* item added MUST have a size specified, either via a `sizeCalculation` in
|
633
|
-
* the constructor, or {@link sizeCalculation} or `size` options to
|
634
|
-
* {@link set}.
|
635
|
-
*/
|
636
|
-
size?: LRUSize
|
637
|
-
/**
|
638
|
-
* Overrides the {@link sizeCalculation} method set in the constructor.
|
639
|
-
*
|
640
|
-
* Items larger than {@link maxEntrySize} will not be stored in the cache.
|
641
|
-
*
|
642
|
-
* Note that when {@link maxSize} or {@link maxEntrySize} are set, every
|
643
|
-
* item added MUST have a size specified, either via a `sizeCalculation` in
|
644
|
-
* the constructor, or `sizeCalculation` or {@link size} options to
|
645
|
-
* {@link set}.
|
646
|
-
*/
|
647
|
-
sizeCalculation?: SizeCalculator<K, V>
|
648
|
-
ttl?: LRUMilliseconds
|
649
|
-
start?: LRUMilliseconds
|
650
|
-
noDisposeOnSet?: boolean
|
651
|
-
noUpdateTTL?: boolean
|
652
|
-
status?: Status<V>
|
653
|
-
}
|
654
|
-
|
655
|
-
/**
|
656
|
-
* options which override the options set in the LRUCAche constructor
|
657
|
-
* when calling {@link has}.
|
658
|
-
*/
|
659
|
-
interface HasOptions<V> {
|
660
|
-
updateAgeOnHas?: boolean
|
661
|
-
status: Status<V>
|
662
|
-
}
|
663
|
-
|
664
|
-
/**
|
665
|
-
* options which override the options set in the LRUCache constructor
|
666
|
-
* when calling {@link get}.
|
667
|
-
*/
|
668
|
-
interface GetOptions<V> {
|
669
|
-
allowStale?: boolean
|
670
|
-
updateAgeOnGet?: boolean
|
671
|
-
noDeleteOnStaleGet?: boolean
|
672
|
-
status?: Status<V>
|
673
|
-
}
|
674
|
-
|
675
|
-
/**
|
676
|
-
* options which override the options set in the LRUCache constructor
|
677
|
-
* when calling {@link peek}.
|
678
|
-
*/
|
679
|
-
interface PeekOptions {
|
680
|
-
allowStale?: boolean
|
681
|
-
}
|
682
|
-
|
683
|
-
/**
|
684
|
-
* Options object passed to the {@link fetchMethod}
|
685
|
-
*
|
686
|
-
* May be mutated by the {@link fetchMethod} to affect the behavior of the
|
687
|
-
* resulting {@link set} operation on resolution, or in the case of
|
688
|
-
* {@link noDeleteOnFetchRejection}, {@link ignoreFetchAbort}, and
|
689
|
-
* {@link allowStaleOnFetchRejection}, the handling of failure.
|
690
|
-
*/
|
691
|
-
interface FetcherFetchOptions<K, V> {
|
692
|
-
allowStale?: boolean
|
693
|
-
updateAgeOnGet?: boolean
|
694
|
-
noDeleteOnStaleGet?: boolean
|
695
|
-
size?: LRUSize
|
696
|
-
sizeCalculation?: SizeCalculator<K, V>
|
697
|
-
ttl?: LRUMilliseconds
|
698
|
-
noDisposeOnSet?: boolean
|
699
|
-
noUpdateTTL?: boolean
|
700
|
-
noDeleteOnFetchRejection?: boolean
|
701
|
-
allowStaleOnFetchRejection?: boolean
|
702
|
-
ignoreFetchAbort?: boolean
|
703
|
-
allowStaleOnFetchAbort?: boolean
|
704
|
-
status?: Status<V>
|
705
|
-
}
|
706
|
-
|
707
|
-
/**
|
708
|
-
* Status object that may be passed to {@link fetch}, {@link get},
|
709
|
-
* {@link set}, and {@link has}.
|
710
|
-
*/
|
711
|
-
interface Status<V> {
|
712
|
-
/**
|
713
|
-
* The status of a set() operation.
|
714
|
-
*
|
715
|
-
* - add: the item was not found in the cache, and was added
|
716
|
-
* - update: the item was in the cache, with the same value provided
|
717
|
-
* - replace: the item was in the cache, and replaced
|
718
|
-
* - miss: the item was not added to the cache for some reason
|
719
|
-
*/
|
720
|
-
set?: 'add' | 'update' | 'replace' | 'miss'
|
721
|
-
|
722
|
-
/**
|
723
|
-
* the ttl stored for the item, or undefined if ttls are not used.
|
724
|
-
*/
|
725
|
-
ttl?: LRUMilliseconds
|
726
|
-
|
727
|
-
/**
|
728
|
-
* the start time for the item, or undefined if ttls are not used.
|
729
|
-
*/
|
730
|
-
start?: LRUMilliseconds
|
731
|
-
|
732
|
-
/**
|
733
|
-
* The timestamp used for TTL calculation
|
734
|
-
*/
|
735
|
-
now?: LRUMilliseconds
|
736
|
-
|
737
|
-
/**
|
738
|
-
* the remaining ttl for the item, or undefined if ttls are not used.
|
739
|
-
*/
|
740
|
-
remainingTTL?: LRUMilliseconds
|
741
|
-
|
742
|
-
/**
|
743
|
-
* The calculated size for the item, if sizes are used.
|
744
|
-
*/
|
745
|
-
size?: LRUSize
|
746
|
-
|
747
|
-
/**
|
748
|
-
* A flag indicating that the item was not stored, due to exceeding the
|
749
|
-
* {@link maxEntrySize}
|
750
|
-
*/
|
751
|
-
maxEntrySizeExceeded?: true
|
752
|
-
|
753
|
-
/**
|
754
|
-
* The old value, specified in the case of `set:'update'` or
|
755
|
-
* `set:'replace'`
|
756
|
-
*/
|
757
|
-
oldValue?: V
|
758
|
-
|
759
|
-
/**
|
760
|
-
* The results of a {@link has} operation
|
761
|
-
*
|
762
|
-
* - hit: the item was found in the cache
|
763
|
-
* - stale: the item was found in the cache, but is stale
|
764
|
-
* - miss: the item was not found in the cache
|
765
|
-
*/
|
766
|
-
has?: 'hit' | 'stale' | 'miss'
|
767
|
-
|
768
|
-
/**
|
769
|
-
* The status of a {@link fetch} operation.
|
770
|
-
* Note that this can change as the underlying fetch() moves through
|
771
|
-
* various states.
|
772
|
-
*
|
773
|
-
* - inflight: there is another fetch() for this key which is in process
|
774
|
-
* - get: there is no fetchMethod, so {@link get} was called.
|
775
|
-
* - miss: the item is not in cache, and will be fetched.
|
776
|
-
* - hit: the item is in the cache, and was resolved immediately.
|
777
|
-
* - stale: the item is in the cache, but stale.
|
778
|
-
* - refresh: the item is in the cache, and not stale, but
|
779
|
-
* {@link forceRefresh} was specified.
|
780
|
-
*/
|
781
|
-
fetch?: 'get' | 'inflight' | 'miss' | 'hit' | 'stale' | 'refresh'
|
782
|
-
|
783
|
-
/**
|
784
|
-
* The {@link fetchMethod} was called
|
785
|
-
*/
|
786
|
-
fetchDispatched?: true
|
787
|
-
|
788
|
-
/**
|
789
|
-
* The cached value was updated after a successful call to fetchMethod
|
790
|
-
*/
|
791
|
-
fetchUpdated?: true
|
792
|
-
|
793
|
-
/**
|
794
|
-
* The reason for a fetch() rejection. Either the error raised by the
|
795
|
-
* {@link fetchMethod}, or the reason for an AbortSignal.
|
796
|
-
*/
|
797
|
-
fetchError?: Error
|
798
|
-
|
799
|
-
/**
|
800
|
-
* The fetch received an abort signal
|
801
|
-
*/
|
802
|
-
fetchAborted?: true
|
803
|
-
|
804
|
-
/**
|
805
|
-
* The abort signal received was ignored, and the fetch was allowed to
|
806
|
-
* continue.
|
807
|
-
*/
|
808
|
-
fetchAbortIgnored?: true
|
809
|
-
|
810
|
-
/**
|
811
|
-
* The fetchMethod promise resolved successfully
|
812
|
-
*/
|
813
|
-
fetchResolved?: true
|
814
|
-
|
815
|
-
/**
|
816
|
-
* The fetchMethod promise was rejected
|
817
|
-
*/
|
818
|
-
fetchRejected?: true
|
819
|
-
|
820
|
-
/**
|
821
|
-
* The status of a {@link get} operation.
|
822
|
-
*
|
823
|
-
* - fetching: The item is currently being fetched. If a previous value is
|
824
|
-
* present and allowed, that will be returned.
|
825
|
-
* - stale: The item is in the cache, and is stale.
|
826
|
-
* - hit: the item is in the cache
|
827
|
-
* - miss: the item is not in the cache
|
828
|
-
*/
|
829
|
-
get?: 'stale' | 'hit' | 'miss'
|
830
|
-
|
831
|
-
/**
|
832
|
-
* A fetch or get operation returned a stale value.
|
833
|
-
*/
|
834
|
-
returnedStale?: true
|
835
|
-
}
|
836
|
-
|
837
|
-
/**
|
838
|
-
* options which override the options set in the LRUCache constructor
|
839
|
-
* when calling {@link fetch}.
|
840
|
-
*
|
841
|
-
* This is the union of GetOptions and SetOptions, plus
|
842
|
-
* {@link noDeleteOnFetchRejection}, {@link allowStaleOnFetchRejection},
|
843
|
-
* {@link forceRefresh}, and {@link fetchContext}
|
844
|
-
*/
|
845
|
-
interface FetchOptions<K, V> extends FetcherFetchOptions<K, V> {
|
846
|
-
forceRefresh?: boolean
|
847
|
-
fetchContext?: any
|
848
|
-
signal?: AbortSignal
|
849
|
-
status?: Status<V>
|
850
|
-
}
|
851
|
-
|
852
|
-
interface FetcherOptions<K, V> {
|
853
|
-
signal: AbortSignal
|
854
|
-
options: FetcherFetchOptions<K, V>
|
855
|
-
/**
|
856
|
-
* Object provided in the {@link fetchContext} option
|
857
|
-
*/
|
858
|
-
context: any
|
859
|
-
}
|
860
|
-
|
861
|
-
interface Entry<V> {
|
862
|
-
value: V
|
863
|
-
ttl?: LRUMilliseconds
|
864
|
-
size?: LRUSize
|
865
|
-
start?: LRUMilliseconds
|
866
|
-
}
|
867
|
-
}
|
868
|
-
|
869
|
-
export = LRUCache
|