immosquare-cleaner 0.1.42 → 0.1.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/node_modules/.bin/ncu +1 -1
- data/node_modules/.bin/npm-check-updates +1 -1
- data/node_modules/.bin/rimraf +1 -1
- data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
- data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
- data/node_modules/@eslint/config-array/package.json +1 -1
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/ansi-regex/index.d.ts +13 -9
- data/node_modules/ansi-regex/index.js +5 -3
- data/node_modules/ansi-regex/license +1 -1
- data/node_modules/ansi-regex/package.json +6 -9
- data/node_modules/ansi-regex/readme.md +8 -2
- data/node_modules/brace-expansion/README.md +0 -6
- data/node_modules/brace-expansion/index.js +84 -86
- data/node_modules/brace-expansion/package.json +4 -3
- data/node_modules/chalk/license +1 -1
- data/node_modules/chalk/package.json +23 -38
- data/node_modules/chalk/readme.md +85 -69
- data/node_modules/chalk/source/index.js +84 -80
- data/node_modules/eslint/lib/cli.js +0 -20
- data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
- data/node_modules/eslint/lib/linter/linter.js +44 -20
- data/node_modules/eslint/lib/linter/report-translator.js +10 -10
- data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
- data/node_modules/eslint/lib/shared/flags.js +2 -2
- data/node_modules/eslint/package.json +5 -4
- data/node_modules/glob/LICENSE +7 -1
- data/node_modules/glob/README.md +284 -1120
- data/node_modules/glob/common.js +238 -0
- data/node_modules/glob/glob.js +790 -0
- data/node_modules/glob/package.json +34 -76
- data/node_modules/glob/sync.js +486 -0
- data/node_modules/lru-cache/LICENSE +1 -1
- data/node_modules/lru-cache/README.md +104 -1055
- data/node_modules/lru-cache/index.js +246 -1139
- data/node_modules/lru-cache/package.json +11 -75
- data/node_modules/minimatch/LICENSE +1 -1
- data/node_modules/minimatch/README.md +65 -289
- data/node_modules/minimatch/package.json +14 -67
- data/node_modules/npm-check-updates/README.md +9 -12
- data/node_modules/npm-check-updates/build/cli.js +21 -21
- data/node_modules/npm-check-updates/build/cli.js.map +1 -1
- data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
- data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
- data/node_modules/npm-check-updates/build/index.d.ts +1 -3
- data/node_modules/npm-check-updates/build/index.js +207 -223
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +101 -105
- data/node_modules/rimraf/LICENSE +1 -1
- data/node_modules/rimraf/README.md +70 -188
- data/node_modules/rimraf/bin.js +50 -0
- data/node_modules/rimraf/package.json +16 -74
- data/node_modules/rimraf/rimraf.js +364 -0
- data/node_modules/semver/README.md +27 -221
- data/node_modules/semver/bin/semver.js +84 -107
- data/node_modules/semver/package.json +14 -63
- data/node_modules/semver/semver.js +1643 -0
- data/node_modules/strip-ansi/index.d.ts +4 -2
- data/node_modules/strip-ansi/index.js +3 -13
- data/node_modules/strip-ansi/license +1 -1
- data/node_modules/strip-ansi/package.json +7 -10
- data/node_modules/strip-ansi/readme.md +7 -2
- data/node_modules/strip-json-comments/index.d.ts +13 -18
- data/node_modules/strip-json-comments/index.js +38 -68
- data/node_modules/strip-json-comments/package.json +5 -13
- data/node_modules/strip-json-comments/readme.md +18 -15
- data/node_modules/yallist/package.json +1 -1
- data/node_modules/yallist/yallist.js +3 -3
- data/package.json +3 -3
- metadata +14 -736
- data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
- data/node_modules/chalk/source/index.d.ts +0 -320
- data/node_modules/chalk/source/utilities.js +0 -33
- data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- data/node_modules/eslint/node_modules/chalk/license +0 -9
- data/node_modules/eslint/node_modules/chalk/package.json +0 -68
- data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
- data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
- data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
- data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
- data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
- data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
- data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
- data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
- data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
- data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
- data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
- data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/glob.js +0 -243
- data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
- data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/ignore.js +0 -108
- data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
- data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/index.js +0 -68
- data/node_modules/glob/dist/commonjs/index.js.map +0 -1
- data/node_modules/glob/dist/commonjs/package.json +0 -1
- data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
- data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/pattern.js +0 -219
- data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/processor.js +0 -302
- data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
- data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- data/node_modules/glob/dist/commonjs/walker.js +0 -358
- data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- data/node_modules/glob/dist/esm/bin.d.mts +0 -3
- data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- data/node_modules/glob/dist/esm/bin.mjs +0 -275
- data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- data/node_modules/glob/dist/esm/glob.d.ts +0 -344
- data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/glob.js +0 -239
- data/node_modules/glob/dist/esm/glob.js.map +0 -1
- data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/has-magic.js +0 -23
- data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
- data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/ignore.js +0 -104
- data/node_modules/glob/dist/esm/ignore.js.map +0 -1
- data/node_modules/glob/dist/esm/index.d.ts +0 -96
- data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/index.js +0 -56
- data/node_modules/glob/dist/esm/index.js.map +0 -1
- data/node_modules/glob/dist/esm/package.json +0 -1
- data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
- data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/pattern.js +0 -215
- data/node_modules/glob/dist/esm/pattern.js.map +0 -1
- data/node_modules/glob/dist/esm/processor.d.ts +0 -59
- data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/processor.js +0 -295
- data/node_modules/glob/dist/esm/processor.js.map +0 -1
- data/node_modules/glob/dist/esm/walker.d.ts +0 -96
- data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- data/node_modules/glob/dist/esm/walker.js +0 -352
- data/node_modules/glob/dist/esm/walker.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/glob/node_modules/minimatch/README.md +0 -454
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
- data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
- data/node_modules/glob/node_modules/minimatch/package.json +0 -86
- data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
- data/node_modules/glob/node_modules/minipass/README.md +0 -825
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
- data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
- data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
- data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
- data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
- data/node_modules/glob/node_modules/minipass/package.json +0 -82
- data/node_modules/lru-cache/index.d.ts +0 -869
- data/node_modules/lru-cache/index.mjs +0 -1227
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
- data/node_modules/npm-check-updates/build/package.json +0 -183
- data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
- data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
- data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/index.js +0 -316
- data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
- data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
- data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
- data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
- data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
- data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
- data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
- data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
- data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
- data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
- data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
- data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
- data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
- data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
- data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
- data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
- data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
- data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
- data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
- data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
- data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
- data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
- data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
- data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
- data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
- data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
- data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
- data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
- data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
- data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
- data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
- data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
- data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
- data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
- data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
- data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
- data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
- data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
- data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
- data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
- data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
- data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
- data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
- data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
- data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
- data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
- data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
- data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
- data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
- data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
- data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
- data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
- data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
- data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
- data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
- data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
- data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
- data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
- data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
- data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
- data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
- data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
- data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
- data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
- data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
- data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
- data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
- data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
- data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
- data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
- data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
- data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
- data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
- data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
- data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/index.js +0 -76
- data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
- data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
- data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/package.json +0 -1
- data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
- data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
- data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
- data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
- data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
- data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
- data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
- data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
- data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
- data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
- data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
- data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
- data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
- data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
- data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
- data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
- data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
- data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
- data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
- data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
- data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
- data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
- data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
- data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/fs.js +0 -31
- data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
- data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
- data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
- data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
- data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/index.js +0 -68
- data/node_modules/rimraf/dist/esm/index.js.map +0 -1
- data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
- data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
- data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
- data/node_modules/rimraf/dist/esm/package.json +0 -1
- data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
- data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
- data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/platform.js +0 -2
- data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
- data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
- data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
- data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
- data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
- data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
- data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
- data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
- data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
- data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
- data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
- data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
- data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
- data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
- data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
- data/node_modules/rimraf/dist/esm/use-native.js +0 -16
- data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
- data/node_modules/semver/classes/comparator.js +0 -141
- data/node_modules/semver/classes/index.js +0 -5
- data/node_modules/semver/classes/range.js +0 -539
- data/node_modules/semver/classes/semver.js +0 -302
- data/node_modules/semver/functions/clean.js +0 -6
- data/node_modules/semver/functions/cmp.js +0 -52
- data/node_modules/semver/functions/coerce.js +0 -52
- data/node_modules/semver/functions/compare-build.js +0 -7
- data/node_modules/semver/functions/compare-loose.js +0 -3
- data/node_modules/semver/functions/compare.js +0 -5
- data/node_modules/semver/functions/diff.js +0 -65
- data/node_modules/semver/functions/eq.js +0 -3
- data/node_modules/semver/functions/gt.js +0 -3
- data/node_modules/semver/functions/gte.js +0 -3
- data/node_modules/semver/functions/inc.js +0 -19
- data/node_modules/semver/functions/lt.js +0 -3
- data/node_modules/semver/functions/lte.js +0 -3
- data/node_modules/semver/functions/major.js +0 -3
- data/node_modules/semver/functions/minor.js +0 -3
- data/node_modules/semver/functions/neq.js +0 -3
- data/node_modules/semver/functions/parse.js +0 -16
- data/node_modules/semver/functions/patch.js +0 -3
- data/node_modules/semver/functions/prerelease.js +0 -6
- data/node_modules/semver/functions/rcompare.js +0 -3
- data/node_modules/semver/functions/rsort.js +0 -3
- data/node_modules/semver/functions/satisfies.js +0 -10
- data/node_modules/semver/functions/sort.js +0 -3
- data/node_modules/semver/functions/valid.js +0 -6
- data/node_modules/semver/index.js +0 -89
- data/node_modules/semver/internal/constants.js +0 -35
- data/node_modules/semver/internal/debug.js +0 -9
- data/node_modules/semver/internal/identifiers.js +0 -23
- data/node_modules/semver/internal/parse-options.js +0 -15
- data/node_modules/semver/internal/re.js +0 -212
- data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
- data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
- data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
- data/node_modules/semver/preload.js +0 -2
- data/node_modules/semver/ranges/gtr.js +0 -4
- data/node_modules/semver/ranges/intersects.js +0 -7
- data/node_modules/semver/ranges/ltr.js +0 -4
- data/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/node_modules/semver/ranges/min-version.js +0 -61
- data/node_modules/semver/ranges/outside.js +0 -80
- data/node_modules/semver/ranges/simplify.js +0 -47
- data/node_modules/semver/ranges/subset.js +0 -247
- data/node_modules/semver/ranges/to-comparators.js +0 -8
- data/node_modules/semver/ranges/valid.js +0 -11
- /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
- /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
- /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
- /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ignore-enoent.d.ts","sourceRoot":"","sources":["../../src/ignore-enoent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,MAAa,QAAQ,GAAG,CAAC,iBAK9C,CAAA;AAEJ,eAAO,MAAM,gBAAgB,OAAQ,MAAM,GAAG,QAQ7C,CAAA"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ignoreENOENTSync = exports.ignoreENOENT = void 0;
|
4
|
-
const ignoreENOENT = async (p) => p.catch(er => {
|
5
|
-
if (er.code !== 'ENOENT') {
|
6
|
-
throw er;
|
7
|
-
}
|
8
|
-
});
|
9
|
-
exports.ignoreENOENT = ignoreENOENT;
|
10
|
-
const ignoreENOENTSync = (fn) => {
|
11
|
-
try {
|
12
|
-
return fn();
|
13
|
-
}
|
14
|
-
catch (er) {
|
15
|
-
if (er?.code !== 'ENOENT') {
|
16
|
-
throw er;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
};
|
20
|
-
exports.ignoreENOENTSync = ignoreENOENTSync;
|
21
|
-
//# sourceMappingURL=ignore-enoent.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ignore-enoent.js","sourceRoot":"","sources":["../../src/ignore-enoent.ts"],"names":[],"mappings":";;;AAAO,MAAM,YAAY,GAAG,KAAK,EAAE,CAAe,EAAE,EAAE,CACpD,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE;IACX,IAAI,EAAE,CAAC,IAAI,KAAK,QAAQ,EAAE;QACxB,MAAM,EAAE,CAAA;KACT;AACH,CAAC,CAAC,CAAA;AALS,QAAA,YAAY,gBAKrB;AAEG,MAAM,gBAAgB,GAAG,CAAC,EAAa,EAAE,EAAE;IAChD,IAAI;QACF,OAAO,EAAE,EAAE,CAAA;KACZ;IAAC,OAAO,EAAE,EAAE;QACX,IAAK,EAA4B,EAAE,IAAI,KAAK,QAAQ,EAAE;YACpD,MAAM,EAAE,CAAA;SACT;KACF;AACH,CAAC,CAAA;AARY,QAAA,gBAAgB,oBAQ5B","sourcesContent":["export const ignoreENOENT = async (p: Promise<any>) =>\n p.catch(er => {\n if (er.code !== 'ENOENT') {\n throw er\n }\n })\n\nexport const ignoreENOENTSync = (fn: () => any) => {\n try {\n return fn()\n } catch (er) {\n if ((er as NodeJS.ErrnoException)?.code !== 'ENOENT') {\n throw er\n }\n }\n}\n"]}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { RimrafAsyncOptions, RimrafSyncOptions } from './opt-arg.js';
|
2
|
-
export { assertRimrafOptions, isRimrafOptions, RimrafAsyncOptions, RimrafOptions, RimrafSyncOptions, } from './opt-arg.js';
|
3
|
-
export declare const nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
4
|
-
export declare const native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
5
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
6
|
-
};
|
7
|
-
export declare const manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
8
|
-
export declare const manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
9
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
10
|
-
};
|
11
|
-
export declare const windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
12
|
-
export declare const windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
13
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
14
|
-
};
|
15
|
-
export declare const posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
16
|
-
export declare const posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
17
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
18
|
-
};
|
19
|
-
export declare const moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
20
|
-
export declare const moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
21
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
22
|
-
};
|
23
|
-
export declare const rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
24
|
-
export declare const sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
25
|
-
export declare const rimraf: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
26
|
-
rimraf: (path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>;
|
27
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
28
|
-
rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
29
|
-
manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
30
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
31
|
-
};
|
32
|
-
manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
33
|
-
native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
34
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
35
|
-
};
|
36
|
-
nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
37
|
-
posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
38
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
39
|
-
};
|
40
|
-
posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
41
|
-
windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
42
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
43
|
-
};
|
44
|
-
windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
45
|
-
moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
|
46
|
-
sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
47
|
-
};
|
48
|
-
moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
|
49
|
-
};
|
50
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AASrB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,iBAAiB,GAClB,MAAM,cAAc,CAAA;AAqCrB,eAAO,MAAM,UAAU,SAdd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAcF,CAAA;AACpD,eAAO,MAAM,MAAM,UAjCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;iBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;CAegB,CAAA;AAE7E,eAAO,MAAM,UAAU,SAjBd,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAiBF,CAAA;AACpD,eAAO,MAAM,MAAM,UApCT,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;iBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;CAkBgB,CAAA;AAE7E,eAAO,MAAM,WAAW,SApBf,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAoBA,CAAA;AACtD,eAAO,MAAM,OAAO,UAvCV,MAAM,GAAG,MAAM,EAAE,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AiB,KAAG,OAAO;;uBAApD,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;oBAlBnD,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;qBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;;uBAApD,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;mBAlBnD,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;qBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;;sBAApD,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;qBAlBnD,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;qBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;;wBAApD,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;wBAlBnD,MAAM,GAAG,MAAM,EAAE,QACjB,kBAAkB,KACvB,QAAQ,OAAO,CAAC;qBAgBZ,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;;2BAApD,MAAM,GAAG,MAAM,EAAE,QAAQ,iBAAiB,KAAG,OAAO;CAqD3D,CAAA"}
|
@@ -1,76 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.rimraf = exports.sync = exports.rimrafSync = exports.moveRemove = exports.moveRemoveSync = exports.posix = exports.posixSync = exports.windows = exports.windowsSync = exports.manual = exports.manualSync = exports.native = exports.nativeSync = exports.isRimrafOptions = exports.assertRimrafOptions = void 0;
|
7
|
-
const glob_1 = require("glob");
|
8
|
-
const opt_arg_js_1 = require("./opt-arg.js");
|
9
|
-
const path_arg_js_1 = __importDefault(require("./path-arg.js"));
|
10
|
-
const rimraf_manual_js_1 = require("./rimraf-manual.js");
|
11
|
-
const rimraf_move_remove_js_1 = require("./rimraf-move-remove.js");
|
12
|
-
const rimraf_native_js_1 = require("./rimraf-native.js");
|
13
|
-
const rimraf_posix_js_1 = require("./rimraf-posix.js");
|
14
|
-
const rimraf_windows_js_1 = require("./rimraf-windows.js");
|
15
|
-
const use_native_js_1 = require("./use-native.js");
|
16
|
-
var opt_arg_js_2 = require("./opt-arg.js");
|
17
|
-
Object.defineProperty(exports, "assertRimrafOptions", { enumerable: true, get: function () { return opt_arg_js_2.assertRimrafOptions; } });
|
18
|
-
Object.defineProperty(exports, "isRimrafOptions", { enumerable: true, get: function () { return opt_arg_js_2.isRimrafOptions; } });
|
19
|
-
const wrap = (fn) => async (path, opt) => {
|
20
|
-
const options = (0, opt_arg_js_1.optArg)(opt);
|
21
|
-
if (options.glob) {
|
22
|
-
path = await (0, glob_1.glob)(path, options.glob);
|
23
|
-
}
|
24
|
-
if (Array.isArray(path)) {
|
25
|
-
return !!(await Promise.all(path.map(p => fn((0, path_arg_js_1.default)(p, options), options)))).reduce((a, b) => a && b, true);
|
26
|
-
}
|
27
|
-
else {
|
28
|
-
return !!(await fn((0, path_arg_js_1.default)(path, options), options));
|
29
|
-
}
|
30
|
-
};
|
31
|
-
const wrapSync = (fn) => (path, opt) => {
|
32
|
-
const options = (0, opt_arg_js_1.optArgSync)(opt);
|
33
|
-
if (options.glob) {
|
34
|
-
path = (0, glob_1.globSync)(path, options.glob);
|
35
|
-
}
|
36
|
-
if (Array.isArray(path)) {
|
37
|
-
return !!path
|
38
|
-
.map(p => fn((0, path_arg_js_1.default)(p, options), options))
|
39
|
-
.reduce((a, b) => a && b, true);
|
40
|
-
}
|
41
|
-
else {
|
42
|
-
return !!fn((0, path_arg_js_1.default)(path, options), options);
|
43
|
-
}
|
44
|
-
};
|
45
|
-
exports.nativeSync = wrapSync(rimraf_native_js_1.rimrafNativeSync);
|
46
|
-
exports.native = Object.assign(wrap(rimraf_native_js_1.rimrafNative), { sync: exports.nativeSync });
|
47
|
-
exports.manualSync = wrapSync(rimraf_manual_js_1.rimrafManualSync);
|
48
|
-
exports.manual = Object.assign(wrap(rimraf_manual_js_1.rimrafManual), { sync: exports.manualSync });
|
49
|
-
exports.windowsSync = wrapSync(rimraf_windows_js_1.rimrafWindowsSync);
|
50
|
-
exports.windows = Object.assign(wrap(rimraf_windows_js_1.rimrafWindows), { sync: exports.windowsSync });
|
51
|
-
exports.posixSync = wrapSync(rimraf_posix_js_1.rimrafPosixSync);
|
52
|
-
exports.posix = Object.assign(wrap(rimraf_posix_js_1.rimrafPosix), { sync: exports.posixSync });
|
53
|
-
exports.moveRemoveSync = wrapSync(rimraf_move_remove_js_1.rimrafMoveRemoveSync);
|
54
|
-
exports.moveRemove = Object.assign(wrap(rimraf_move_remove_js_1.rimrafMoveRemove), {
|
55
|
-
sync: exports.moveRemoveSync,
|
56
|
-
});
|
57
|
-
exports.rimrafSync = wrapSync((path, opt) => (0, use_native_js_1.useNativeSync)(opt) ? (0, rimraf_native_js_1.rimrafNativeSync)(path, opt) : (0, rimraf_manual_js_1.rimrafManualSync)(path, opt));
|
58
|
-
exports.sync = exports.rimrafSync;
|
59
|
-
const rimraf_ = wrap((path, opt) => (0, use_native_js_1.useNative)(opt) ? (0, rimraf_native_js_1.rimrafNative)(path, opt) : (0, rimraf_manual_js_1.rimrafManual)(path, opt));
|
60
|
-
exports.rimraf = Object.assign(rimraf_, {
|
61
|
-
rimraf: rimraf_,
|
62
|
-
sync: exports.rimrafSync,
|
63
|
-
rimrafSync: exports.rimrafSync,
|
64
|
-
manual: exports.manual,
|
65
|
-
manualSync: exports.manualSync,
|
66
|
-
native: exports.native,
|
67
|
-
nativeSync: exports.nativeSync,
|
68
|
-
posix: exports.posix,
|
69
|
-
posixSync: exports.posixSync,
|
70
|
-
windows: exports.windows,
|
71
|
-
windowsSync: exports.windowsSync,
|
72
|
-
moveRemove: exports.moveRemove,
|
73
|
-
moveRemoveSync: exports.moveRemoveSync,
|
74
|
-
});
|
75
|
-
exports.rimraf.rimraf = exports.rimraf;
|
76
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,+BAAqC;AACrC,6CAKqB;AACrB,gEAAmC;AACnC,yDAAmE;AACnE,mEAAgF;AAChF,yDAAmE;AACnE,uDAAgE;AAChE,2DAAsE;AACtE,mDAA0D;AAE1D,2CAMqB;AALnB,iHAAA,mBAAmB,OAAA;AACnB,6GAAA,eAAe,OAAA;AAMjB,MAAM,IAAI,GACR,CAAC,EAA0D,EAAE,EAAE,CAC/D,KAAK,EACH,IAAuB,EACvB,GAAwB,EACN,EAAE;IACpB,MAAM,OAAO,GAAG,IAAA,mBAAM,EAAC,GAAG,CAAC,CAAA;IAC3B,IAAI,OAAO,CAAC,IAAI,EAAE;QAChB,IAAI,GAAG,MAAM,IAAA,WAAI,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;KACtC;IACD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACvB,OAAO,CAAC,CAAC,CACP,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAA,qBAAO,EAAC,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CACnE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAA;KACjC;SAAM;QACL,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAA,qBAAO,EAAC,IAAI,EAAE,OAAO,CAAC,EAAE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K;IACL,SAAS,EAAT,iBAAS;IACT,OAAO,EAAP,eAAO;IACP,WAAW,EAAX,mBAAW;IACX,UAAU,EAAV,kBAAU;IACV,cAAc,EAAd,sBAAc;CACf,CAAC,CAAA;AACF,cAAM,CAAC,MAAM,GAAG,cAAM,CAAA","sourcesContent":["import { glob, globSync } from 'glob'\nimport {\n optArg,\n optArgSync,\n RimrafAsyncOptions,\n RimrafSyncOptions,\n} from './opt-arg.js'\nimport pathArg from './path-arg.js'\nimport { rimrafManual, rimrafManualSync } from './rimraf-manual.js'\nimport { rimrafMoveRemove, rimrafMoveRemoveSync } from './rimraf-move-remove.js'\nimport { rimrafNative, rimrafNativeSync } from './rimraf-native.js'\nimport { rimrafPosix, rimrafPosixSync } from './rimraf-posix.js'\nimport { rimrafWindows, rimrafWindowsSync } from './rimraf-windows.js'\nimport { useNative, useNativeSync } from './use-native.js'\n\nexport {\n assertRimrafOptions,\n isRimrafOptions,\n RimrafAsyncOptions,\n RimrafOptions,\n RimrafSyncOptions,\n} from './opt-arg.js'\n\nconst wrap =\n (fn: (p: string, o: RimrafAsyncOptions) => Promise<boolean>) =>\n async (\n path: string | string[],\n opt?: RimrafAsyncOptions\n ): Promise<boolean> => {\n const options = optArg(opt)\n if (options.glob) {\n path = await glob(path, options.glob)\n }\n if (Array.isArray(path)) {\n return !!(\n await Promise.all(path.map(p => fn(pathArg(p, options), options)))\n ).reduce((a, b) => a && b, true)\n } else {\n return !!(await fn(pathArg(path, options), options))\n }\n }\n\nconst wrapSync =\n (fn: (p: string, o: RimrafSyncOptions) => boolean) =>\n (path: string | string[], opt?: RimrafSyncOptions): boolean => {\n const options = optArgSync(opt)\n if (options.glob) {\n path = globSync(path, options.glob)\n }\n if (Array.isArray(path)) {\n return !!path\n .map(p => fn(pathArg(p, options), options))\n .reduce((a, b) => a && b, true)\n } else {\n return !!fn(pathArg(path, options), options)\n }\n }\n\nexport const nativeSync = wrapSync(rimrafNativeSync)\nexport const native = Object.assign(wrap(rimrafNative), { sync: nativeSync })\n\nexport const manualSync = wrapSync(rimrafManualSync)\nexport const manual = Object.assign(wrap(rimrafManual), { sync: manualSync })\n\nexport const windowsSync = wrapSync(rimrafWindowsSync)\nexport const windows = Object.assign(wrap(rimrafWindows), { sync: windowsSync })\n\nexport const posixSync = wrapSync(rimrafPosixSync)\nexport const posix = Object.assign(wrap(rimrafPosix), { sync: posixSync })\n\nexport const moveRemoveSync = wrapSync(rimrafMoveRemoveSync)\nexport const moveRemove = Object.assign(wrap(rimrafMoveRemove), {\n sync: moveRemoveSync,\n})\n\nexport const rimrafSync = wrapSync((path, opt) =>\n useNativeSync(opt) ? rimrafNativeSync(path, opt) : rimrafManualSync(path, opt)\n)\nexport const sync = rimrafSync\n\nconst rimraf_ = wrap((path, opt) =>\n useNative(opt) ? rimrafNative(path, opt) : rimrafManual(path, opt)\n)\nexport const rimraf = Object.assign(rimraf_, {\n rimraf: rimraf_,\n sync: rimrafSync,\n rimrafSync: rimrafSync,\n manual,\n manualSync,\n native,\n nativeSync,\n posix,\n posixSync,\n windows,\n windowsSync,\n moveRemove,\n moveRemoveSync,\n})\nrimraf.rimraf = rimraf\n"]}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
import { Dirent, Stats } from 'fs';
|
3
|
-
import { GlobOptions } from 'glob';
|
4
|
-
export declare const isRimrafOptions: (o: any) => o is RimrafOptions;
|
5
|
-
export declare const assertRimrafOptions: (o: any) => void;
|
6
|
-
export interface RimrafAsyncOptions {
|
7
|
-
preserveRoot?: boolean;
|
8
|
-
tmp?: string;
|
9
|
-
maxRetries?: number;
|
10
|
-
retryDelay?: number;
|
11
|
-
backoff?: number;
|
12
|
-
maxBackoff?: number;
|
13
|
-
signal?: AbortSignal;
|
14
|
-
glob?: boolean | GlobOptions;
|
15
|
-
filter?: ((path: string, ent: Dirent | Stats) => boolean) | ((path: string, ent: Dirent | Stats) => Promise<boolean>);
|
16
|
-
}
|
17
|
-
export interface RimrafSyncOptions extends RimrafAsyncOptions {
|
18
|
-
filter?: (path: string, ent: Dirent | Stats) => boolean;
|
19
|
-
}
|
20
|
-
export type RimrafOptions = RimrafSyncOptions | RimrafAsyncOptions;
|
21
|
-
export declare const optArg: (opt?: RimrafAsyncOptions) => (RimrafAsyncOptions & {
|
22
|
-
glob: GlobOptions & {
|
23
|
-
withFileTypes: false;
|
24
|
-
};
|
25
|
-
}) | (RimrafAsyncOptions & {
|
26
|
-
glob: undefined;
|
27
|
-
});
|
28
|
-
export declare const optArgSync: (opt?: RimrafSyncOptions) => (RimrafSyncOptions & {
|
29
|
-
glob: GlobOptions & {
|
30
|
-
withFileTypes: false;
|
31
|
-
};
|
32
|
-
}) | (RimrafSyncOptions & {
|
33
|
-
glob: undefined;
|
34
|
-
});
|
35
|
-
//# sourceMappingURL=opt-arg.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"opt-arg.d.ts","sourceRoot":"","sources":["../../src/opt-arg.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAKlC,eAAO,MAAM,eAAe,MAAO,GAAG,uBAUH,CAAA;AAEnC,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAM7C,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,CAAA;IAC5B,MAAM,CAAC,EACH,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,GAChD,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9D;AAED,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK,OAAO,CAAA;CACxD;AAED,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AAqClE,eAAO,MAAM,MAAM,SAAS,kBAAkB;UA/BlC,WAAW,GAAG;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE;;UAEjC,SAAS;EA6B0C,CAAA;AACpE,eAAO,MAAM,UAAU,SAAS,iBAAiB;UAhCrC,WAAW,GAAG;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE;;UAEjC,SAAS;EA8B6C,CAAA"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.optArgSync = exports.optArg = exports.assertRimrafOptions = exports.isRimrafOptions = void 0;
|
4
|
-
const typeOrUndef = (val, t) => typeof val === 'undefined' || typeof val === t;
|
5
|
-
const isRimrafOptions = (o) => !!o &&
|
6
|
-
typeof o === 'object' &&
|
7
|
-
typeOrUndef(o.preserveRoot, 'boolean') &&
|
8
|
-
typeOrUndef(o.tmp, 'string') &&
|
9
|
-
typeOrUndef(o.maxRetries, 'number') &&
|
10
|
-
typeOrUndef(o.retryDelay, 'number') &&
|
11
|
-
typeOrUndef(o.backoff, 'number') &&
|
12
|
-
typeOrUndef(o.maxBackoff, 'number') &&
|
13
|
-
(typeOrUndef(o.glob, 'boolean') || (o.glob && typeof o.glob === 'object')) &&
|
14
|
-
typeOrUndef(o.filter, 'function');
|
15
|
-
exports.isRimrafOptions = isRimrafOptions;
|
16
|
-
const assertRimrafOptions = (o) => {
|
17
|
-
if (!(0, exports.isRimrafOptions)(o)) {
|
18
|
-
throw new Error('invalid rimraf options');
|
19
|
-
}
|
20
|
-
};
|
21
|
-
exports.assertRimrafOptions = assertRimrafOptions;
|
22
|
-
const optArgT = (opt) => {
|
23
|
-
(0, exports.assertRimrafOptions)(opt);
|
24
|
-
const { glob, ...options } = opt;
|
25
|
-
if (!glob) {
|
26
|
-
return options;
|
27
|
-
}
|
28
|
-
const globOpt = glob === true
|
29
|
-
? opt.signal
|
30
|
-
? { signal: opt.signal }
|
31
|
-
: {}
|
32
|
-
: opt.signal
|
33
|
-
? {
|
34
|
-
signal: opt.signal,
|
35
|
-
...glob,
|
36
|
-
}
|
37
|
-
: glob;
|
38
|
-
return {
|
39
|
-
...options,
|
40
|
-
glob: {
|
41
|
-
...globOpt,
|
42
|
-
// always get absolute paths from glob, to ensure
|
43
|
-
// that we are referencing the correct thing.
|
44
|
-
absolute: true,
|
45
|
-
withFileTypes: false,
|
46
|
-
},
|
47
|
-
};
|
48
|
-
};
|
49
|
-
const optArg = (opt = {}) => optArgT(opt);
|
50
|
-
exports.optArg = optArg;
|
51
|
-
const optArgSync = (opt = {}) => optArgT(opt);
|
52
|
-
exports.optArgSync = optArgSync;
|
53
|
-
//# sourceMappingURL=opt-arg.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"opt-arg.js","sourceRoot":"","sources":["../../src/opt-arg.ts"],"names":[],"mappings":";;;AAGA,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,CAAS,EAAE,EAAE,CAC1C,OAAO,GAAG,KAAK,WAAW,IAAI,OAAO,GAAG,KAAK,CAAC,CAAA;AAEzC,MAAM,eAAe,GAAG,CAAC,CAAM,EAAsB,EAAE,CAC5D,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,KAAK,QAAQ;IACrB,WAAW,CAAC,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC;IACt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AI,CAAA;IACV,OAAO;QACL,GAAG,OAAO;QACV,IAAI,EAAE;YACJ,GAAG,OAAO;YACV,iDAAiD;YACjD,6CAA6C;YAC7C,QAAQ,EAAE,IAAI;YACd,aAAa,EAAE,KAAK;SACrB;KACsD,CAAA;AAC3D,CAAC,CAAA;AAEM,MAAM,MAAM,GAAG,CAAC,MAA0B,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;AAAvD,QAAA,MAAM,UAAiD;AAC7D,MAAM,UAAU,GAAG,CAAC,MAAyB,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;AAA1D,QAAA,UAAU,cAAgD","sourcesContent":["import { Dirent, Stats } from 'fs'\nimport { GlobOptions } from 'glob'\n\nconst typeOrUndef = (val: any, t: string) =>\n typeof val === 'undefined' || typeof val === t\n\nexport const isRimrafOptions = (o: any): o is RimrafOptions =>\n !!o &&\n typeof o === 'object' &&\n typeOrUndef(o.preserveRoot, 'boolean') &&\n typeOrUndef(o.tmp, 'string') &&\n typeOrUndef(o.maxRetries, 'number') &&\n typeOrUndef(o.retryDelay, 'number') &&\n typeOrUndef(o.backoff, 'number') &&\n typeOrUndef(o.maxBackoff, 'number') &&\n (typeOrUndef(o.glob, 'boolean') || (o.glob && typeof o.glob === 'object')) &&\n typeOrUndef(o.filter, 'function')\n\nexport const assertRimrafOptions: (o: any) => void = (\n o: any\n): asserts o is RimrafOptions => {\n if (!isRimrafOptions(o)) {\n throw new Error('invalid rimraf options')\n }\n}\n\nexport interface RimrafAsyncOptions {\n preserveRoot?: boolean\n tmp?: string\n maxRetries?: number\n retryDelay?: number\n backoff?: number\n maxBackoff?: number\n signal?: AbortSignal\n glob?: boolean | GlobOptions\n filter?:\n | ((path: string, ent: Dirent | Stats) => boolean)\n | ((path: string, ent: Dirent | Stats) => Promise<boolean>)\n}\n\nexport interface RimrafSyncOptions extends RimrafAsyncOptions {\n filter?: (path: string, ent: Dirent | Stats) => boolean\n}\n\nexport type RimrafOptions = RimrafSyncOptions | RimrafAsyncOptions\n\nconst optArgT = <T extends RimrafOptions>(\n opt: T\n):\n | (T & {\n glob: GlobOptions & { withFileTypes: false }\n })\n | (T & { glob: undefined }) => {\n assertRimrafOptions(opt)\n const { glob, ...options } = opt\n if (!glob) {\n return options as T & { glob: undefined }\n }\n const globOpt =\n glob === true\n ? opt.signal\n ? { signal: opt.signal }\n : {}\n : opt.signal\n ? {\n signal: opt.signal,\n ...glob,\n }\n : glob\n return {\n ...options,\n glob: {\n ...globOpt,\n // always get absolute paths from glob, to ensure\n // that we are referencing the correct thing.\n absolute: true,\n withFileTypes: false,\n },\n } as T & { glob: GlobOptions & { withFileTypes: false } }\n}\n\nexport const optArg = (opt: RimrafAsyncOptions = {}) => optArgT(opt)\nexport const optArgSync = (opt: RimrafSyncOptions = {}) => optArgT(opt)\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"type":"commonjs"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"path-arg.d.ts","sourceRoot":"","sources":["../../src/path-arg.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAG/C,QAAA,MAAM,OAAO,SAAU,MAAM,QAAO,kBAAkB,WAkDrD,CAAA;AAED,eAAe,OAAO,CAAA"}
|
@@ -1,54 +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 path_1 = require("path");
|
7
|
-
const util_1 = require("util");
|
8
|
-
const platform_js_1 = __importDefault(require("./platform.js"));
|
9
|
-
const pathArg = (path, opt = {}) => {
|
10
|
-
const type = typeof path;
|
11
|
-
if (type !== 'string') {
|
12
|
-
const ctor = path && type === 'object' && path.constructor;
|
13
|
-
const received = ctor && ctor.name
|
14
|
-
? `an instance of ${ctor.name}`
|
15
|
-
: type === 'object'
|
16
|
-
? (0, util_1.inspect)(path)
|
17
|
-
: `type ${type} ${path}`;
|
18
|
-
const msg = 'The "path" argument must be of type string. ' + `Received ${received}`;
|
19
|
-
throw Object.assign(new TypeError(msg), {
|
20
|
-
path,
|
21
|
-
code: 'ERR_INVALID_ARG_TYPE',
|
22
|
-
});
|
23
|
-
}
|
24
|
-
if (/\0/.test(path)) {
|
25
|
-
// simulate same failure that node raises
|
26
|
-
const msg = 'path must be a string without null bytes';
|
27
|
-
throw Object.assign(new TypeError(msg), {
|
28
|
-
path,
|
29
|
-
code: 'ERR_INVALID_ARG_VALUE',
|
30
|
-
});
|
31
|
-
}
|
32
|
-
path = (0, path_1.resolve)(path);
|
33
|
-
const { root } = (0, path_1.parse)(path);
|
34
|
-
if (path === root && opt.preserveRoot !== false) {
|
35
|
-
const msg = 'refusing to remove root directory without preserveRoot:false';
|
36
|
-
throw Object.assign(new Error(msg), {
|
37
|
-
path,
|
38
|
-
code: 'ERR_PRESERVE_ROOT',
|
39
|
-
});
|
40
|
-
}
|
41
|
-
if (platform_js_1.default === 'win32') {
|
42
|
-
const badWinChars = /[*|"<>?:]/;
|
43
|
-
const { root } = (0, path_1.parse)(path);
|
44
|
-
if (badWinChars.test(path.substring(root.length))) {
|
45
|
-
throw Object.assign(new Error('Illegal characters in path.'), {
|
46
|
-
path,
|
47
|
-
code: 'EINVAL',
|
48
|
-
});
|
49
|
-
}
|
50
|
-
}
|
51
|
-
return path;
|
52
|
-
};
|
53
|
-
exports.default = pathArg;
|
54
|
-
//# sourceMappingURL=path-arg.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"path-arg.js","sourceRoot":"","sources":["../../src/path-arg.ts"],"names":[],"mappings":";;;;;AAAA,+BAAqC;AACrC,+BAA8B;AAE9B,gEAAoC;AAEpC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,MAA0B,EAAE,EAAE,EAAE;IAC7D,MAAM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Q,KAAK,OAAO,EAAE;QACxB,MAAM,WAAW,GAAG,WAAW,CAAA;QAC/B,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,YAAK,EAAC,IAAI,CAAC,CAAA;QAC5B,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE;YACjD,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,6BAA6B,CAAC,EAAE;gBAC5D,IAAI;gBACJ,IAAI,EAAE,QAAQ;aACf,CAAC,CAAA;SACH;KACF;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,kBAAe,OAAO,CAAA","sourcesContent":["import { parse, resolve } from 'path'\nimport { inspect } from 'util'\nimport { RimrafAsyncOptions } from './index.js'\nimport platform from './platform.js'\n\nconst pathArg = (path: string, opt: RimrafAsyncOptions = {}) => {\n const type = typeof path\n if (type !== 'string') {\n const ctor = path && type === 'object' && path.constructor\n const received =\n ctor && ctor.name\n ? `an instance of ${ctor.name}`\n : type === 'object'\n ? inspect(path)\n : `type ${type} ${path}`\n const msg =\n 'The \"path\" argument must be of type string. ' + `Received ${received}`\n throw Object.assign(new TypeError(msg), {\n path,\n code: 'ERR_INVALID_ARG_TYPE',\n })\n }\n\n if (/\\0/.test(path)) {\n // simulate same failure that node raises\n const msg = 'path must be a string without null bytes'\n throw Object.assign(new TypeError(msg), {\n path,\n code: 'ERR_INVALID_ARG_VALUE',\n })\n }\n\n path = resolve(path)\n const { root } = parse(path)\n\n if (path === root && opt.preserveRoot !== false) {\n const msg = 'refusing to remove root directory without preserveRoot:false'\n throw Object.assign(new Error(msg), {\n path,\n code: 'ERR_PRESERVE_ROOT',\n })\n }\n\n if (platform === 'win32') {\n const badWinChars = /[*|\"<>?:]/\n const { root } = parse(path)\n if (badWinChars.test(path.substring(root.length))) {\n throw Object.assign(new Error('Illegal characters in path.'), {\n path,\n code: 'EINVAL',\n })\n }\n }\n\n return path\n}\n\nexport default pathArg\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/platform.ts"],"names":[],"mappings":";AAAA,wBAA0E"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../src/platform.ts"],"names":[],"mappings":";;AAAA,kBAAe,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,OAAO,CAAC,QAAQ,CAAA","sourcesContent":["export default process.env.__TESTING_RIMRAF_PLATFORM__ || process.platform\n"]}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
/// <reference types="node" />
|
3
|
-
export declare const readdirOrError: (path: string) => Promise<import("fs").Dirent[] | NodeJS.ErrnoException>;
|
4
|
-
export declare const readdirOrErrorSync: (path: string) => import("fs").Dirent[] | NodeJS.ErrnoException;
|
5
|
-
//# sourceMappingURL=readdir-or-error.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"readdir-or-error.d.ts","sourceRoot":"","sources":["../../src/readdir-or-error.ts"],"names":[],"mappings":";;AAIA,eAAO,MAAM,cAAc,SAAU,MAAM,2DACa,CAAA;AACxD,eAAO,MAAM,kBAAkB,SAAU,MAAM,kDAM9C,CAAA"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.readdirOrErrorSync = exports.readdirOrError = void 0;
|
4
|
-
// returns an array of entries if readdir() works,
|
5
|
-
// or the error that readdir() raised if not.
|
6
|
-
const fs_js_1 = require("./fs.js");
|
7
|
-
const { readdir } = fs_js_1.promises;
|
8
|
-
const readdirOrError = (path) => readdir(path).catch(er => er);
|
9
|
-
exports.readdirOrError = readdirOrError;
|
10
|
-
const readdirOrErrorSync = (path) => {
|
11
|
-
try {
|
12
|
-
return (0, fs_js_1.readdirSync)(path);
|
13
|
-
}
|
14
|
-
catch (er) {
|
15
|
-
return er;
|
16
|
-
}
|
17
|
-
};
|
18
|
-
exports.readdirOrErrorSync = readdirOrErrorSync;
|
19
|
-
//# sourceMappingURL=readdir-or-error.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"readdir-or-error.js","sourceRoot":"","sources":["../../src/readdir-or-error.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,6CAA6C;AAC7C,mCAA+C;AAC/C,MAAM,EAAE,OAAO,EAAE,GAAG,gBAAQ,CAAA;AACrB,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE,CAC7C,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAA2B,CAAC,CAAA;AAD3C,QAAA,cAAc,kBAC6B;AACjD,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IACjD,IAAI;QACF,OAAO,IAAA,mBAAW,EAAC,IAAI,CAAC,CAAA;KACzB;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,EAA2B,CAAA;KACnC;AACH,CAAC,CAAA;AANY,QAAA,kBAAkB,sBAM9B","sourcesContent":["// returns an array of entries if readdir() works,\n// or the error that readdir() raised if not.\nimport { promises, readdirSync } from './fs.js'\nconst { readdir } = promises\nexport const readdirOrError = (path: string) =>\n readdir(path).catch(er => er as NodeJS.ErrnoException)\nexport const readdirOrErrorSync = (path: string) => {\n try {\n return readdirSync(path)\n } catch (er) {\n return er as NodeJS.ErrnoException\n }\n}\n"]}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { RimrafAsyncOptions, RimrafOptions } from './index.js';
|
2
|
-
export declare const MAXBACKOFF = 200;
|
3
|
-
export declare const RATE = 1.2;
|
4
|
-
export declare const MAXRETRIES = 10;
|
5
|
-
export declare const codes: Set<string>;
|
6
|
-
export declare const retryBusy: (fn: (path: string) => Promise<any>) => (path: string, opt: RimrafAsyncOptions, backoff?: number, total?: number) => Promise<any>;
|
7
|
-
export declare const retryBusySync: (fn: (path: string) => any) => (path: string, opt: RimrafOptions) => any;
|
8
|
-
//# sourceMappingURL=retry-busy.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"retry-busy.d.ts","sourceRoot":"","sources":["../../src/retry-busy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE9D,eAAO,MAAM,UAAU,MAAM,CAAA;AAC7B,eAAO,MAAM,IAAI,MAAM,CAAA;AACvB,eAAO,MAAM,UAAU,KAAK,CAAA;AAC5B,eAAO,MAAM,KAAK,aAAyC,CAAA;AAE3D,eAAO,MAAM,SAAS,cAAe,MAAM,KAAK,QAAQ,GAAG,CAAC,YAElD,MAAM,OACP,kBAAkB,mDAkC1B,CAAA;AAGD,eAAO,MAAM,aAAa,cAAe,MAAM,KAAK,GAAG,YAC/B,MAAM,OAAO,aAAa,QAsBjD,CAAA"}
|
@@ -1,68 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// note: max backoff is the maximum that any *single* backoff will do
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.retryBusySync = exports.retryBusy = exports.codes = exports.MAXRETRIES = exports.RATE = exports.MAXBACKOFF = void 0;
|
5
|
-
exports.MAXBACKOFF = 200;
|
6
|
-
exports.RATE = 1.2;
|
7
|
-
exports.MAXRETRIES = 10;
|
8
|
-
exports.codes = new Set(['EMFILE', 'ENFILE', 'EBUSY']);
|
9
|
-
const retryBusy = (fn) => {
|
10
|
-
const method = async (path, opt, backoff = 1, total = 0) => {
|
11
|
-
const mbo = opt.maxBackoff || exports.MAXBACKOFF;
|
12
|
-
const rate = opt.backoff || exports.RATE;
|
13
|
-
const max = opt.maxRetries || exports.MAXRETRIES;
|
14
|
-
let retries = 0;
|
15
|
-
while (true) {
|
16
|
-
try {
|
17
|
-
return await fn(path);
|
18
|
-
}
|
19
|
-
catch (er) {
|
20
|
-
const fer = er;
|
21
|
-
if (fer?.path === path && fer?.code && exports.codes.has(fer.code)) {
|
22
|
-
backoff = Math.ceil(backoff * rate);
|
23
|
-
total = backoff + total;
|
24
|
-
if (total < mbo) {
|
25
|
-
return new Promise((res, rej) => {
|
26
|
-
setTimeout(() => {
|
27
|
-
method(path, opt, backoff, total).then(res, rej);
|
28
|
-
}, backoff);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
if (retries < max) {
|
32
|
-
retries++;
|
33
|
-
continue;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
throw er;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
};
|
40
|
-
return method;
|
41
|
-
};
|
42
|
-
exports.retryBusy = retryBusy;
|
43
|
-
// just retries, no async so no backoff
|
44
|
-
const retryBusySync = (fn) => {
|
45
|
-
const method = (path, opt) => {
|
46
|
-
const max = opt.maxRetries || exports.MAXRETRIES;
|
47
|
-
let retries = 0;
|
48
|
-
while (true) {
|
49
|
-
try {
|
50
|
-
return fn(path);
|
51
|
-
}
|
52
|
-
catch (er) {
|
53
|
-
const fer = er;
|
54
|
-
if (fer?.path === path &&
|
55
|
-
fer?.code &&
|
56
|
-
exports.codes.has(fer.code) &&
|
57
|
-
retries < max) {
|
58
|
-
retries++;
|
59
|
-
continue;
|
60
|
-
}
|
61
|
-
throw er;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
};
|
65
|
-
return method;
|
66
|
-
};
|
67
|
-
exports.retryBusySync = retryBusySync;
|
68
|
-
//# sourceMappingURL=retry-busy.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"retry-busy.js","sourceRoot":"","sources":["../../src/retry-busy.ts"],"names":[],"mappings":";AAAA,qEAAqE;;;AAIxD,QAAA,UAAU,GAAG,GAAG,CAAA;AAChB,QAAA,IAAI,GAAG,GAAG,CAAA;AACV,QAAA,UAAU,GAAG,EAAE,CAAA;AACf,QAAA,KAAK,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ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AAA;aACT;SACF;IACH,CAAC,CAAA;IAED,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AArCY,QAAA,SAAS,aAqCrB;AAED,uCAAuC;AAChC,MAAM,aAAa,GAAG,CAAC,EAAyB,EAAE,EAAE;IACzD,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,GAAkB,EAAE,EAAE;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,UAAU,IAAI,kBAAU,CAAA;QACxC,IAAI,OAAO,GAAG,CAAC,CAAA;QACf,OAAO,IAAI,EAAE;YACX,IAAI;gBACF,OAAO,EAAE,CAAC,IAAI,CAAC,CAAA;aAChB;YAAC,OAAO,EAAE,EAAE;gBACX,MAAM,GAAG,GAAG,EAA2B,CAAA;gBACvC,IACE,GAAG,EAAE,IAAI,KAAK,IAAI;oBAClB,GAAG,EAAE,IAAI;oBACT,aAAK,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC;oBACnB,OAAO,GAAG,GAAG,EACb;oBACA,OAAO,EAAE,CAAA;oBACT,SAAQ;iBACT;gBACD,MAAM,EAAE,CAAA;aACT;SACF;IACH,CAAC,CAAA;IACD,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAvBY,QAAA,aAAa,iBAuBzB","sourcesContent":["// note: max backoff is the maximum that any *single* backoff will do\n\nimport { RimrafAsyncOptions, RimrafOptions } from './index.js'\n\nexport const MAXBACKOFF = 200\nexport const RATE = 1.2\nexport const MAXRETRIES = 10\nexport const codes = new Set(['EMFILE', 'ENFILE', 'EBUSY'])\n\nexport const retryBusy = (fn: (path: string) => Promise<any>) => {\n const method = async (\n path: string,\n opt: RimrafAsyncOptions,\n backoff = 1,\n total = 0\n ) => {\n const mbo = opt.maxBackoff || MAXBACKOFF\n const rate = opt.backoff || RATE\n const max = opt.maxRetries || MAXRETRIES\n let retries = 0\n while (true) {\n try {\n return await fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.path === path && fer?.code && codes.has(fer.code)) {\n backoff = Math.ceil(backoff * rate)\n total = backoff + total\n if (total < mbo) {\n return new Promise((res, rej) => {\n setTimeout(() => {\n method(path, opt, backoff, total).then(res, rej)\n }, backoff)\n })\n }\n if (retries < max) {\n retries++\n continue\n }\n }\n throw er\n }\n }\n }\n\n return method\n}\n\n// just retries, no async so no backoff\nexport const retryBusySync = (fn: (path: string) => any) => {\n const method = (path: string, opt: RimrafOptions) => {\n const max = opt.maxRetries || MAXRETRIES\n let retries = 0\n while (true) {\n try {\n return fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (\n fer?.path === path &&\n fer?.code &&\n codes.has(fer.code) &&\n retries < max\n ) {\n retries++\n continue\n }\n throw er\n }\n }\n }\n return method\n}\n"]}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export declare const rimrafManual: (path: string, opt: import("./opt-arg.js").RimrafAsyncOptions) => Promise<boolean>;
|
2
|
-
export declare const rimrafManualSync: (path: string, opt: import("./opt-arg.js").RimrafSyncOptions) => boolean;
|
3
|
-
//# sourceMappingURL=rimraf-manual.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rimraf-manual.d.ts","sourceRoot":"","sources":["../../src/rimraf-manual.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,oFAAqD,CAAA;AAC9E,eAAO,MAAM,gBAAgB,0EAC+B,CAAA"}
|
@@ -1,12 +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.rimrafManualSync = exports.rimrafManual = void 0;
|
7
|
-
const platform_js_1 = __importDefault(require("./platform.js"));
|
8
|
-
const rimraf_posix_js_1 = require("./rimraf-posix.js");
|
9
|
-
const rimraf_windows_js_1 = require("./rimraf-windows.js");
|
10
|
-
exports.rimrafManual = platform_js_1.default === 'win32' ? rimraf_windows_js_1.rimrafWindows : rimraf_posix_js_1.rimrafPosix;
|
11
|
-
exports.rimrafManualSync = platform_js_1.default === 'win32' ? rimraf_windows_js_1.rimrafWindowsSync : rimraf_posix_js_1.rimrafPosixSync;
|
12
|
-
//# sourceMappingURL=rimraf-manual.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rimraf-manual.js","sourceRoot":"","sources":["../../src/rimraf-manual.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAoC;AAEpC,uDAAgE;AAChE,2DAAsE;AAEzD,QAAA,YAAY,GAAG,qBAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,iCAAa,CAAC,CAAC,CAAC,6BAAW,CAAA;AACjE,QAAA,gBAAgB,GAC3B,qBAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,qCAAiB,CAAC,CAAC,CAAC,iCAAe,CAAA","sourcesContent":["import platform from './platform.js'\n\nimport { rimrafPosix, rimrafPosixSync } from './rimraf-posix.js'\nimport { rimrafWindows, rimrafWindowsSync } from './rimraf-windows.js'\n\nexport const rimrafManual = platform === 'win32' ? rimrafWindows : rimrafPosix\nexport const rimrafManualSync =\n platform === 'win32' ? rimrafWindowsSync : rimrafPosixSync\n"]}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { RimrafAsyncOptions, RimrafSyncOptions } from './index.js';
|
2
|
-
export declare const rimrafMoveRemove: (path: string, opt: RimrafAsyncOptions) => Promise<boolean>;
|
3
|
-
export declare const rimrafMoveRemoveSync: (path: string, opt: RimrafSyncOptions) => boolean;
|
4
|
-
//# sourceMappingURL=rimraf-move-remove.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"rimraf-move-remove.d.ts","sourceRoot":"","sources":["../../src/rimraf-move-remove.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AA4ClE,eAAO,MAAM,gBAAgB,SACrB,MAAM,OACP,kBAAkB,qBAWxB,CAAA;AA0ED,eAAO,MAAM,oBAAoB,SAAU,MAAM,OAAO,iBAAiB,YAUxE,CAAA"}
|