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.
Files changed (807) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/node_modules/.bin/ncu +1 -1
  4. data/node_modules/.bin/npm-check-updates +1 -1
  5. data/node_modules/.bin/rimraf +1 -1
  6. data/node_modules/@eslint/config-array/dist/cjs/index.cjs +5 -0
  7. data/node_modules/@eslint/config-array/dist/esm/index.js +5 -0
  8. data/node_modules/@eslint/config-array/package.json +1 -1
  9. data/node_modules/@eslint/js/package.json +1 -1
  10. data/node_modules/ansi-regex/index.d.ts +13 -9
  11. data/node_modules/ansi-regex/index.js +5 -3
  12. data/node_modules/ansi-regex/license +1 -1
  13. data/node_modules/ansi-regex/package.json +6 -9
  14. data/node_modules/ansi-regex/readme.md +8 -2
  15. data/node_modules/brace-expansion/README.md +0 -6
  16. data/node_modules/brace-expansion/index.js +84 -86
  17. data/node_modules/brace-expansion/package.json +4 -3
  18. data/node_modules/chalk/license +1 -1
  19. data/node_modules/chalk/package.json +23 -38
  20. data/node_modules/chalk/readme.md +85 -69
  21. data/node_modules/chalk/source/index.js +84 -80
  22. data/node_modules/eslint/lib/cli.js +0 -20
  23. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +19 -0
  24. data/node_modules/eslint/lib/linter/apply-disable-directives.js +24 -12
  25. data/node_modules/eslint/lib/linter/linter.js +44 -20
  26. data/node_modules/eslint/lib/linter/report-translator.js +10 -10
  27. data/node_modules/eslint/lib/linter/rule-fixer.js +38 -15
  28. data/node_modules/eslint/lib/shared/flags.js +2 -2
  29. data/node_modules/eslint/package.json +5 -4
  30. data/node_modules/glob/LICENSE +7 -1
  31. data/node_modules/glob/README.md +284 -1120
  32. data/node_modules/glob/common.js +238 -0
  33. data/node_modules/glob/glob.js +790 -0
  34. data/node_modules/glob/package.json +34 -76
  35. data/node_modules/glob/sync.js +486 -0
  36. data/node_modules/lru-cache/LICENSE +1 -1
  37. data/node_modules/lru-cache/README.md +104 -1055
  38. data/node_modules/lru-cache/index.js +246 -1139
  39. data/node_modules/lru-cache/package.json +11 -75
  40. data/node_modules/minimatch/LICENSE +1 -1
  41. data/node_modules/minimatch/README.md +65 -289
  42. data/node_modules/minimatch/package.json +14 -67
  43. data/node_modules/npm-check-updates/README.md +9 -12
  44. data/node_modules/npm-check-updates/build/cli.js +21 -21
  45. data/node_modules/npm-check-updates/build/cli.js.map +1 -1
  46. data/node_modules/npm-check-updates/build/index-CWktU8PK.js +58 -0
  47. data/node_modules/npm-check-updates/build/index-CWktU8PK.js.map +1 -0
  48. data/node_modules/npm-check-updates/build/index.d.ts +1 -3
  49. data/node_modules/npm-check-updates/build/index.js +207 -223
  50. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  51. data/node_modules/npm-check-updates/package.json +101 -105
  52. data/node_modules/rimraf/LICENSE +1 -1
  53. data/node_modules/rimraf/README.md +70 -188
  54. data/node_modules/rimraf/bin.js +50 -0
  55. data/node_modules/rimraf/package.json +16 -74
  56. data/node_modules/rimraf/rimraf.js +364 -0
  57. data/node_modules/semver/README.md +27 -221
  58. data/node_modules/semver/bin/semver.js +84 -107
  59. data/node_modules/semver/package.json +14 -63
  60. data/node_modules/semver/semver.js +1643 -0
  61. data/node_modules/strip-ansi/index.d.ts +4 -2
  62. data/node_modules/strip-ansi/index.js +3 -13
  63. data/node_modules/strip-ansi/license +1 -1
  64. data/node_modules/strip-ansi/package.json +7 -10
  65. data/node_modules/strip-ansi/readme.md +7 -2
  66. data/node_modules/strip-json-comments/index.d.ts +13 -18
  67. data/node_modules/strip-json-comments/index.js +38 -68
  68. data/node_modules/strip-json-comments/package.json +5 -13
  69. data/node_modules/strip-json-comments/readme.md +18 -15
  70. data/node_modules/yallist/package.json +1 -1
  71. data/node_modules/yallist/yallist.js +3 -3
  72. data/package.json +3 -3
  73. metadata +14 -736
  74. data/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +0 -15
  75. data/node_modules/@eslint/config-array/node_modules/minimatch/README.md +0 -230
  76. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  77. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  78. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  79. data/node_modules/@eslint/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  80. data/node_modules/@eslint/config-array/node_modules/minimatch/package.json +0 -33
  81. data/node_modules/chalk/source/index.d.ts +0 -320
  82. data/node_modules/chalk/source/utilities.js +0 -33
  83. data/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  84. data/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  85. data/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  86. data/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  87. data/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  88. data/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  89. data/node_modules/eslint/node_modules/chalk/license +0 -9
  90. data/node_modules/eslint/node_modules/chalk/package.json +0 -68
  91. data/node_modules/eslint/node_modules/chalk/readme.md +0 -341
  92. data/node_modules/eslint/node_modules/chalk/source/index.js +0 -229
  93. data/node_modules/eslint/node_modules/minimatch/LICENSE +0 -15
  94. data/node_modules/eslint/node_modules/minimatch/README.md +0 -230
  95. data/node_modules/eslint/node_modules/minimatch/minimatch.js +0 -947
  96. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  97. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
  98. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
  99. data/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
  100. data/node_modules/eslint/node_modules/minimatch/package.json +0 -33
  101. data/node_modules/eslint/node_modules/strip-ansi/index.d.ts +0 -17
  102. data/node_modules/eslint/node_modules/strip-ansi/index.js +0 -4
  103. data/node_modules/eslint/node_modules/strip-ansi/license +0 -9
  104. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  105. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -10
  106. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  107. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -55
  108. data/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -78
  109. data/node_modules/eslint/node_modules/strip-ansi/package.json +0 -54
  110. data/node_modules/eslint/node_modules/strip-ansi/readme.md +0 -46
  111. data/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
  112. data/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  113. data/node_modules/glob/dist/commonjs/glob.js +0 -243
  114. data/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  115. data/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  116. data/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  117. data/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  118. data/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  119. data/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
  120. data/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  121. data/node_modules/glob/dist/commonjs/ignore.js +0 -108
  122. data/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  123. data/node_modules/glob/dist/commonjs/index.d.ts +0 -96
  124. data/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  125. data/node_modules/glob/dist/commonjs/index.js +0 -68
  126. data/node_modules/glob/dist/commonjs/index.js.map +0 -1
  127. data/node_modules/glob/dist/commonjs/package.json +0 -1
  128. data/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
  129. data/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  130. data/node_modules/glob/dist/commonjs/pattern.js +0 -219
  131. data/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  132. data/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  133. data/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  134. data/node_modules/glob/dist/commonjs/processor.js +0 -302
  135. data/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  136. data/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
  137. data/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  138. data/node_modules/glob/dist/commonjs/walker.js +0 -358
  139. data/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  140. data/node_modules/glob/dist/esm/bin.d.mts +0 -3
  141. data/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
  142. data/node_modules/glob/dist/esm/bin.mjs +0 -275
  143. data/node_modules/glob/dist/esm/bin.mjs.map +0 -1
  144. data/node_modules/glob/dist/esm/glob.d.ts +0 -344
  145. data/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  146. data/node_modules/glob/dist/esm/glob.js +0 -239
  147. data/node_modules/glob/dist/esm/glob.js.map +0 -1
  148. data/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  149. data/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  150. data/node_modules/glob/dist/esm/has-magic.js +0 -23
  151. data/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  152. data/node_modules/glob/dist/esm/ignore.d.ts +0 -20
  153. data/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  154. data/node_modules/glob/dist/esm/ignore.js +0 -104
  155. data/node_modules/glob/dist/esm/ignore.js.map +0 -1
  156. data/node_modules/glob/dist/esm/index.d.ts +0 -96
  157. data/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  158. data/node_modules/glob/dist/esm/index.js +0 -56
  159. data/node_modules/glob/dist/esm/index.js.map +0 -1
  160. data/node_modules/glob/dist/esm/package.json +0 -1
  161. data/node_modules/glob/dist/esm/pattern.d.ts +0 -77
  162. data/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  163. data/node_modules/glob/dist/esm/pattern.js +0 -215
  164. data/node_modules/glob/dist/esm/pattern.js.map +0 -1
  165. data/node_modules/glob/dist/esm/processor.d.ts +0 -59
  166. data/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  167. data/node_modules/glob/dist/esm/processor.js +0 -295
  168. data/node_modules/glob/dist/esm/processor.js.map +0 -1
  169. data/node_modules/glob/dist/esm/walker.d.ts +0 -96
  170. data/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  171. data/node_modules/glob/dist/esm/walker.js +0 -352
  172. data/node_modules/glob/dist/esm/walker.js.map +0 -1
  173. data/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
  174. data/node_modules/glob/node_modules/minimatch/README.md +0 -454
  175. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  176. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  177. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  178. data/node_modules/glob/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  179. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  180. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  181. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js +0 -589
  182. data/node_modules/glob/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  183. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  184. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  185. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  186. data/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  187. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  188. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  189. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +0 -22
  190. data/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  191. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  192. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  193. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +0 -1011
  194. data/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  195. data/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +0 -3
  196. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  197. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  198. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  199. data/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  200. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  201. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  202. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  203. data/node_modules/glob/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  204. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  205. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  206. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js +0 -585
  207. data/node_modules/glob/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  208. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  209. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  210. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  211. data/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  212. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  213. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  214. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +0 -18
  215. data/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  216. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  217. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  218. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +0 -995
  219. data/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  220. data/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +0 -3
  221. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  222. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  223. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  224. data/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  225. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  226. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  227. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  228. data/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  229. data/node_modules/glob/node_modules/minimatch/package.json +0 -86
  230. data/node_modules/glob/node_modules/minipass/LICENSE +0 -15
  231. data/node_modules/glob/node_modules/minipass/README.md +0 -825
  232. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
  233. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  234. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js +0 -1028
  235. data/node_modules/glob/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  236. data/node_modules/glob/node_modules/minipass/dist/commonjs/package.json +0 -1
  237. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts +0 -549
  238. data/node_modules/glob/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  239. data/node_modules/glob/node_modules/minipass/dist/esm/index.js +0 -1018
  240. data/node_modules/glob/node_modules/minipass/dist/esm/index.js.map +0 -1
  241. data/node_modules/glob/node_modules/minipass/dist/esm/package.json +0 -1
  242. data/node_modules/glob/node_modules/minipass/package.json +0 -82
  243. data/node_modules/lru-cache/index.d.ts +0 -869
  244. data/node_modules/lru-cache/index.mjs +0 -1227
  245. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  246. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  247. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  248. data/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  249. data/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  250. data/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  251. data/node_modules/minimatch/dist/cjs/ast.js +0 -589
  252. data/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  253. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  254. data/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  255. data/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  256. data/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  257. data/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  258. data/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  259. data/node_modules/minimatch/dist/cjs/escape.js +0 -22
  260. data/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  261. data/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  262. data/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  263. data/node_modules/minimatch/dist/cjs/index.js +0 -1011
  264. data/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  265. data/node_modules/minimatch/dist/cjs/package.json +0 -3
  266. data/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  267. data/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  268. data/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  269. data/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  270. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  271. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  272. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  273. data/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  274. data/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  275. data/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  276. data/node_modules/minimatch/dist/mjs/ast.js +0 -585
  277. data/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  278. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  279. data/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  280. data/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  281. data/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  282. data/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  283. data/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  284. data/node_modules/minimatch/dist/mjs/escape.js +0 -18
  285. data/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  286. data/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  287. data/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  288. data/node_modules/minimatch/dist/mjs/index.js +0 -995
  289. data/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  290. data/node_modules/minimatch/dist/mjs/package.json +0 -3
  291. data/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  292. data/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  293. data/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  294. data/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  295. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +0 -66
  296. data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +0 -1
  297. data/node_modules/npm-check-updates/build/package.json +0 -183
  298. data/node_modules/npm-check-updates/build/src/bin/cli.d.ts +0 -2
  299. data/node_modules/npm-check-updates/build/src/bin/cli.js +0 -182
  300. data/node_modules/npm-check-updates/build/src/bin/cli.js.map +0 -1
  301. data/node_modules/npm-check-updates/build/src/cli-options.d.ts +0 -9
  302. data/node_modules/npm-check-updates/build/src/cli-options.js +0 -795
  303. data/node_modules/npm-check-updates/build/src/cli-options.js.map +0 -1
  304. data/node_modules/npm-check-updates/build/src/index.d.ts +0 -17
  305. data/node_modules/npm-check-updates/build/src/index.js +0 -316
  306. data/node_modules/npm-check-updates/build/src/index.js.map +0 -1
  307. data/node_modules/npm-check-updates/build/src/lib/cache.d.ts +0 -17
  308. data/node_modules/npm-check-updates/build/src/lib/cache.js +0 -105
  309. data/node_modules/npm-check-updates/build/src/lib/cache.js.map +0 -1
  310. data/node_modules/npm-check-updates/build/src/lib/chalk.d.ts +0 -7
  311. data/node_modules/npm-check-updates/build/src/lib/chalk.js +0 -66
  312. data/node_modules/npm-check-updates/build/src/lib/chalk.js.map +0 -1
  313. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.d.ts +0 -8
  314. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js +0 -32
  315. data/node_modules/npm-check-updates/build/src/lib/determinePackageManager.js.map +0 -1
  316. data/node_modules/npm-check-updates/build/src/lib/doctor.d.ts +0 -8
  317. data/node_modules/npm-check-updates/build/src/lib/doctor.js +0 -290
  318. data/node_modules/npm-check-updates/build/src/lib/doctor.js.map +0 -1
  319. data/node_modules/npm-check-updates/build/src/lib/exists.d.ts +0 -3
  320. data/node_modules/npm-check-updates/build/src/lib/exists.js +0 -10
  321. data/node_modules/npm-check-updates/build/src/lib/exists.js.map +0 -1
  322. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.d.ts +0 -2
  323. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js +0 -112
  324. data/node_modules/npm-check-updates/build/src/lib/figgy-pudding/index.js.map +0 -1
  325. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.d.ts +0 -12
  326. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js +0 -80
  327. data/node_modules/npm-check-updates/build/src/lib/filterAndReject.js.map +0 -1
  328. data/node_modules/npm-check-updates/build/src/lib/filterObject.d.ts +0 -4
  329. data/node_modules/npm-check-updates/build/src/lib/filterObject.js +0 -10
  330. data/node_modules/npm-check-updates/build/src/lib/filterObject.js.map +0 -1
  331. data/node_modules/npm-check-updates/build/src/lib/findLockfile.d.ts +0 -12
  332. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js +0 -54
  333. data/node_modules/npm-check-updates/build/src/lib/findLockfile.js.map +0 -1
  334. data/node_modules/npm-check-updates/build/src/lib/findPackage.d.ts +0 -16
  335. data/node_modules/npm-check-updates/build/src/lib/findPackage.js +0 -78
  336. data/node_modules/npm-check-updates/build/src/lib/findPackage.js.map +0 -1
  337. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.d.ts +0 -10
  338. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js +0 -126
  339. data/node_modules/npm-check-updates/build/src/lib/getAllPackages.js.map +0 -1
  340. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.d.ts +0 -15
  341. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js +0 -76
  342. data/node_modules/npm-check-updates/build/src/lib/getCurrentDependencies.js.map +0 -1
  343. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.d.ts +0 -8
  344. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js +0 -37
  345. data/node_modules/npm-check-updates/build/src/lib/getIgnoredUpgrades.js.map +0 -1
  346. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.d.ts +0 -12
  347. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js +0 -35
  348. data/node_modules/npm-check-updates/build/src/lib/getInstalledPackages.js.map +0 -1
  349. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.d.ts +0 -22
  350. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js +0 -60
  351. data/node_modules/npm-check-updates/build/src/lib/getNcuRc.js.map +0 -1
  352. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.d.ts +0 -13
  353. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js +0 -30
  354. data/node_modules/npm-check-updates/build/src/lib/getPackageManager.js.map +0 -1
  355. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.d.ts +0 -6
  356. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js +0 -31
  357. data/node_modules/npm-check-updates/build/src/lib/getPeerDependencies.js.map +0 -1
  358. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.d.ts +0 -12
  359. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js +0 -35
  360. data/node_modules/npm-check-updates/build/src/lib/getPeerDependenciesFromRegistry.js.map +0 -1
  361. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.d.ts +0 -10
  362. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js +0 -30
  363. data/node_modules/npm-check-updates/build/src/lib/getPreferredWildcard.js.map +0 -1
  364. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.d.ts +0 -11
  365. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js +0 -81
  366. data/node_modules/npm-check-updates/build/src/lib/getRepoUrl.js.map +0 -1
  367. data/node_modules/npm-check-updates/build/src/lib/initOptions.d.ts +0 -7
  368. data/node_modules/npm-check-updates/build/src/lib/initOptions.js +0 -207
  369. data/node_modules/npm-check-updates/build/src/lib/initOptions.js.map +0 -1
  370. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.d.ts +0 -14
  371. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js +0 -68
  372. data/node_modules/npm-check-updates/build/src/lib/isUpgradeable.js.map +0 -1
  373. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.d.ts +0 -6
  374. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js +0 -23
  375. data/node_modules/npm-check-updates/build/src/lib/keyValueBy.js.map +0 -1
  376. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.d.ts +0 -3
  377. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +0 -108
  378. data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +0 -1
  379. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.d.ts +0 -5
  380. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js +0 -27
  381. data/node_modules/npm-check-updates/build/src/lib/loadPackageInfoFromFile.js.map +0 -1
  382. data/node_modules/npm-check-updates/build/src/lib/logging.d.ts +0 -77
  383. data/node_modules/npm-check-updates/build/src/lib/logging.js +0 -287
  384. data/node_modules/npm-check-updates/build/src/lib/logging.js.map +0 -1
  385. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.d.ts +0 -69
  386. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js +0 -23
  387. data/node_modules/npm-check-updates/build/src/lib/mergeOptions.js.map +0 -1
  388. data/node_modules/npm-check-updates/build/src/lib/programError.d.ts +0 -6
  389. data/node_modules/npm-check-updates/build/src/lib/programError.js +0 -19
  390. data/node_modules/npm-check-updates/build/src/lib/programError.js.map +0 -1
  391. data/node_modules/npm-check-updates/build/src/lib/queryVersions.d.ts +0 -13
  392. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js +0 -118
  393. data/node_modules/npm-check-updates/build/src/lib/queryVersions.js.map +0 -1
  394. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.d.ts +0 -4
  395. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js +0 -20
  396. data/node_modules/npm-check-updates/build/src/lib/resolveDepSections.js.map +0 -1
  397. data/node_modules/npm-check-updates/build/src/lib/runGlobal.d.ts +0 -5
  398. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +0 -76
  399. data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +0 -1
  400. data/node_modules/npm-check-updates/build/src/lib/runLocal.d.ts +0 -18
  401. data/node_modules/npm-check-updates/build/src/lib/runLocal.js +0 -239
  402. data/node_modules/npm-check-updates/build/src/lib/runLocal.js.map +0 -1
  403. data/node_modules/npm-check-updates/build/src/lib/table.d.ts +0 -7
  404. data/node_modules/npm-check-updates/build/src/lib/table.js +0 -27
  405. data/node_modules/npm-check-updates/build/src/lib/table.js.map +0 -1
  406. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.d.ts +0 -14
  407. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js +0 -103
  408. data/node_modules/npm-check-updates/build/src/lib/upgradeDependencies.js.map +0 -1
  409. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.d.ts +0 -14
  410. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js +0 -50
  411. data/node_modules/npm-check-updates/build/src/lib/upgradePackageData.js.map +0 -1
  412. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.d.ts +0 -13
  413. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js +0 -58
  414. data/node_modules/npm-check-updates/build/src/lib/upgradePackageDefinitions.js.map +0 -1
  415. data/node_modules/npm-check-updates/build/src/lib/version-util.d.ts +0 -180
  416. data/node_modules/npm-check-updates/build/src/lib/version-util.js +0 -518
  417. data/node_modules/npm-check-updates/build/src/lib/version-util.js.map +0 -1
  418. data/node_modules/npm-check-updates/build/src/lib/wrap.d.ts +0 -3
  419. data/node_modules/npm-check-updates/build/src/lib/wrap.js +0 -45
  420. data/node_modules/npm-check-updates/build/src/lib/wrap.js.map +0 -1
  421. data/node_modules/npm-check-updates/build/src/package-managers/bun.d.ts +0 -18
  422. data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -89
  423. data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +0 -1
  424. data/node_modules/npm-check-updates/build/src/package-managers/filters.d.ts +0 -35
  425. data/node_modules/npm-check-updates/build/src/package-managers/filters.js +0 -96
  426. data/node_modules/npm-check-updates/build/src/package-managers/filters.js.map +0 -1
  427. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.d.ts +0 -16
  428. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js +0 -112
  429. data/node_modules/npm-check-updates/build/src/package-managers/gitTags.js.map +0 -1
  430. data/node_modules/npm-check-updates/build/src/package-managers/index.d.ts +0 -4
  431. data/node_modules/npm-check-updates/build/src/package-managers/index.js +0 -40
  432. data/node_modules/npm-check-updates/build/src/package-managers/index.js.map +0 -1
  433. data/node_modules/npm-check-updates/build/src/package-managers/npm.d.ts +0 -147
  434. data/node_modules/npm-check-updates/build/src/package-managers/npm.js +0 -688
  435. data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +0 -1
  436. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.d.ts +0 -25
  437. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +0 -103
  438. data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +0 -1
  439. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.d.ts +0 -10
  440. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js +0 -52
  441. data/node_modules/npm-check-updates/build/src/package-managers/staticRegistry.js.map +0 -1
  442. data/node_modules/npm-check-updates/build/src/package-managers/yarn.d.ts +0 -60
  443. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +0 -248
  444. data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +0 -1
  445. data/node_modules/npm-check-updates/build/src/scripts/build-options.d.ts +0 -1
  446. data/node_modules/npm-check-updates/build/src/scripts/build-options.js +0 -121
  447. data/node_modules/npm-check-updates/build/src/scripts/build-options.js.map +0 -1
  448. data/node_modules/npm-check-updates/build/src/types/CLIOption.d.ts +0 -16
  449. data/node_modules/npm-check-updates/build/src/types/CLIOption.js +0 -3
  450. data/node_modules/npm-check-updates/build/src/types/CLIOption.js.map +0 -1
  451. data/node_modules/npm-check-updates/build/src/types/Cacher.d.ts +0 -10
  452. data/node_modules/npm-check-updates/build/src/types/Cacher.js +0 -3
  453. data/node_modules/npm-check-updates/build/src/types/Cacher.js.map +0 -1
  454. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.d.ts +0 -5
  455. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js +0 -3
  456. data/node_modules/npm-check-updates/build/src/types/ExtendedHelp.js.map +0 -1
  457. data/node_modules/npm-check-updates/build/src/types/FilterFunction.d.ts +0 -3
  458. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js +0 -3
  459. data/node_modules/npm-check-updates/build/src/types/FilterFunction.js.map +0 -1
  460. data/node_modules/npm-check-updates/build/src/types/FilterPattern.d.ts +0 -3
  461. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js +0 -3
  462. data/node_modules/npm-check-updates/build/src/types/FilterPattern.js.map +0 -1
  463. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.d.ts +0 -9
  464. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js +0 -3
  465. data/node_modules/npm-check-updates/build/src/types/FilterResultsFunction.js.map +0 -1
  466. data/node_modules/npm-check-updates/build/src/types/GetVersion.d.ts +0 -6
  467. data/node_modules/npm-check-updates/build/src/types/GetVersion.js +0 -3
  468. data/node_modules/npm-check-updates/build/src/types/GetVersion.js.map +0 -1
  469. data/node_modules/npm-check-updates/build/src/types/GroupFunction.d.ts +0 -4
  470. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js +0 -3
  471. data/node_modules/npm-check-updates/build/src/types/GroupFunction.js.map +0 -1
  472. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.d.ts +0 -8
  473. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js +0 -3
  474. data/node_modules/npm-check-updates/build/src/types/IgnoredUpgrade.js.map +0 -1
  475. data/node_modules/npm-check-updates/build/src/types/IndexType.d.ts +0 -4
  476. data/node_modules/npm-check-updates/build/src/types/IndexType.js +0 -4
  477. data/node_modules/npm-check-updates/build/src/types/IndexType.js.map +0 -1
  478. data/node_modules/npm-check-updates/build/src/types/Maybe.d.ts +0 -2
  479. data/node_modules/npm-check-updates/build/src/types/Maybe.js +0 -3
  480. data/node_modules/npm-check-updates/build/src/types/Maybe.js.map +0 -1
  481. data/node_modules/npm-check-updates/build/src/types/MockedVersions.d.ts +0 -5
  482. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js +0 -3
  483. data/node_modules/npm-check-updates/build/src/types/MockedVersions.js.map +0 -1
  484. data/node_modules/npm-check-updates/build/src/types/NpmConfig.d.ts +0 -4
  485. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js +0 -3
  486. data/node_modules/npm-check-updates/build/src/types/NpmConfig.js.map +0 -1
  487. data/node_modules/npm-check-updates/build/src/types/NpmOptions.d.ts +0 -6
  488. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js +0 -3
  489. data/node_modules/npm-check-updates/build/src/types/NpmOptions.js.map +0 -1
  490. data/node_modules/npm-check-updates/build/src/types/Options.d.ts +0 -17
  491. data/node_modules/npm-check-updates/build/src/types/Options.js +0 -3
  492. data/node_modules/npm-check-updates/build/src/types/Options.js.map +0 -1
  493. data/node_modules/npm-check-updates/build/src/types/PackageFile.d.ts +0 -24
  494. data/node_modules/npm-check-updates/build/src/types/PackageFile.js +0 -3
  495. data/node_modules/npm-check-updates/build/src/types/PackageFile.js.map +0 -1
  496. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.d.ts +0 -5
  497. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js +0 -3
  498. data/node_modules/npm-check-updates/build/src/types/PackageFileRepository.js.map +0 -1
  499. data/node_modules/npm-check-updates/build/src/types/PackageInfo.d.ts +0 -8
  500. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js +0 -3
  501. data/node_modules/npm-check-updates/build/src/types/PackageInfo.js.map +0 -1
  502. data/node_modules/npm-check-updates/build/src/types/PackageManager.d.ts +0 -18
  503. data/node_modules/npm-check-updates/build/src/types/PackageManager.js +0 -3
  504. data/node_modules/npm-check-updates/build/src/types/PackageManager.js.map +0 -1
  505. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.d.ts +0 -2
  506. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js +0 -3
  507. data/node_modules/npm-check-updates/build/src/types/PackageManagerName.js.map +0 -1
  508. data/node_modules/npm-check-updates/build/src/types/Packument.d.ts +0 -13
  509. data/node_modules/npm-check-updates/build/src/types/Packument.js +0 -3
  510. data/node_modules/npm-check-updates/build/src/types/Packument.js.map +0 -1
  511. data/node_modules/npm-check-updates/build/src/types/RunOptions.d.ts +0 -137
  512. data/node_modules/npm-check-updates/build/src/types/RunOptions.js +0 -3
  513. data/node_modules/npm-check-updates/build/src/types/RunOptions.js.map +0 -1
  514. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.d.ts +0 -6
  515. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js +0 -3
  516. data/node_modules/npm-check-updates/build/src/types/SpawnOptions.js.map +0 -1
  517. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.d.ts +0 -4
  518. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js +0 -3
  519. data/node_modules/npm-check-updates/build/src/types/StaticRegistry.js.map +0 -1
  520. data/node_modules/npm-check-updates/build/src/types/Target.d.ts +0 -9
  521. data/node_modules/npm-check-updates/build/src/types/Target.js +0 -6
  522. data/node_modules/npm-check-updates/build/src/types/Target.js.map +0 -1
  523. data/node_modules/npm-check-updates/build/src/types/TargetFunction.d.ts +0 -3
  524. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js +0 -3
  525. data/node_modules/npm-check-updates/build/src/types/TargetFunction.js.map +0 -1
  526. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.d.ts +0 -1
  527. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js +0 -3
  528. data/node_modules/npm-check-updates/build/src/types/UpgradeGroup.js.map +0 -1
  529. data/node_modules/npm-check-updates/build/src/types/Version.d.ts +0 -2
  530. data/node_modules/npm-check-updates/build/src/types/Version.js +0 -3
  531. data/node_modules/npm-check-updates/build/src/types/Version.js.map +0 -1
  532. data/node_modules/npm-check-updates/build/src/types/VersionLevel.d.ts +0 -2
  533. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js +0 -3
  534. data/node_modules/npm-check-updates/build/src/types/VersionLevel.js.map +0 -1
  535. data/node_modules/npm-check-updates/build/src/types/VersionResult.d.ts +0 -7
  536. data/node_modules/npm-check-updates/build/src/types/VersionResult.js +0 -3
  537. data/node_modules/npm-check-updates/build/src/types/VersionResult.js.map +0 -1
  538. data/node_modules/npm-check-updates/build/src/types/VersionSpec.d.ts +0 -2
  539. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js +0 -3
  540. data/node_modules/npm-check-updates/build/src/types/VersionSpec.js.map +0 -1
  541. data/node_modules/npm-check-updates/node_modules/chalk/license +0 -9
  542. data/node_modules/npm-check-updates/node_modules/chalk/package.json +0 -83
  543. data/node_modules/npm-check-updates/node_modules/chalk/readme.md +0 -325
  544. data/node_modules/npm-check-updates/node_modules/chalk/source/index.d.ts +0 -320
  545. data/node_modules/npm-check-updates/node_modules/chalk/source/index.js +0 -225
  546. data/node_modules/npm-check-updates/node_modules/chalk/source/utilities.js +0 -33
  547. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  548. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  549. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  550. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  551. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  552. data/node_modules/npm-check-updates/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  553. data/node_modules/npm-check-updates/node_modules/minimatch/LICENSE +0 -15
  554. data/node_modules/npm-check-updates/node_modules/minimatch/README.md +0 -454
  555. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
  556. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
  557. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
  558. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  559. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
  560. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
  561. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js +0 -589
  562. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  563. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
  564. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
  565. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
  566. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  567. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
  568. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  569. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js +0 -22
  570. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
  571. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
  572. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  573. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js +0 -1011
  574. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  575. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/package.json +0 -3
  576. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
  577. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
  578. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js +0 -24
  579. data/node_modules/npm-check-updates/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
  580. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
  581. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
  582. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
  583. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  584. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
  585. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
  586. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js +0 -585
  587. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  588. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
  589. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
  590. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
  591. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  592. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
  593. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  594. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js +0 -18
  595. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
  596. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
  597. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  598. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js +0 -995
  599. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  600. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/package.json +0 -3
  601. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
  602. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
  603. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js +0 -20
  604. data/node_modules/npm-check-updates/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
  605. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
  606. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -135
  607. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -203
  608. data/node_modules/npm-check-updates/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -46
  609. data/node_modules/npm-check-updates/node_modules/minimatch/package.json +0 -86
  610. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.d.ts +0 -15
  611. data/node_modules/npm-check-updates/node_modules/strip-ansi/index.js +0 -14
  612. data/node_modules/npm-check-updates/node_modules/strip-ansi/license +0 -9
  613. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +0 -33
  614. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/index.js +0 -8
  615. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
  616. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/package.json +0 -58
  617. data/node_modules/npm-check-updates/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +0 -72
  618. data/node_modules/npm-check-updates/node_modules/strip-ansi/package.json +0 -57
  619. data/node_modules/npm-check-updates/node_modules/strip-ansi/readme.md +0 -41
  620. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
  621. data/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
  622. data/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
  623. data/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
  624. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
  625. data/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
  626. data/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
  627. data/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
  628. data/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
  629. data/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
  630. data/node_modules/rimraf/dist/commonjs/fs.js +0 -46
  631. data/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
  632. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
  633. data/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
  634. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
  635. data/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
  636. data/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
  637. data/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
  638. data/node_modules/rimraf/dist/commonjs/index.js +0 -76
  639. data/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
  640. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -35
  641. data/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
  642. data/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
  643. data/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
  644. data/node_modules/rimraf/dist/commonjs/package.json +0 -1
  645. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
  646. data/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
  647. data/node_modules/rimraf/dist/commonjs/path-arg.js +0 -54
  648. data/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
  649. data/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
  650. data/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
  651. data/node_modules/rimraf/dist/commonjs/platform.js +0 -4
  652. data/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
  653. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -5
  654. data/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
  655. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
  656. data/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
  657. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
  658. data/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
  659. data/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
  660. data/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
  661. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
  662. data/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
  663. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
  664. data/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
  665. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
  666. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
  667. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
  668. data/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
  669. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
  670. data/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
  671. data/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
  672. data/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
  673. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
  674. data/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
  675. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
  676. data/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
  677. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
  678. data/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
  679. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
  680. data/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
  681. data/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
  682. data/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
  683. data/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
  684. data/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
  685. data/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
  686. data/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
  687. data/node_modules/rimraf/dist/esm/bin.mjs +0 -256
  688. data/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
  689. data/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
  690. data/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
  691. data/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
  692. data/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
  693. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
  694. data/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
  695. data/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
  696. data/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
  697. data/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
  698. data/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
  699. data/node_modules/rimraf/dist/esm/fs.js +0 -31
  700. data/node_modules/rimraf/dist/esm/fs.js.map +0 -1
  701. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
  702. data/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
  703. data/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
  704. data/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
  705. data/node_modules/rimraf/dist/esm/index.d.ts +0 -50
  706. data/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
  707. data/node_modules/rimraf/dist/esm/index.js +0 -68
  708. data/node_modules/rimraf/dist/esm/index.js.map +0 -1
  709. data/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -35
  710. data/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
  711. data/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
  712. data/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
  713. data/node_modules/rimraf/dist/esm/package.json +0 -1
  714. data/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
  715. data/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
  716. data/node_modules/rimraf/dist/esm/path-arg.js +0 -49
  717. data/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
  718. data/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
  719. data/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
  720. data/node_modules/rimraf/dist/esm/platform.js +0 -2
  721. data/node_modules/rimraf/dist/esm/platform.js.map +0 -1
  722. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -5
  723. data/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
  724. data/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
  725. data/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
  726. data/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
  727. data/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
  728. data/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
  729. data/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
  730. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
  731. data/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
  732. data/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
  733. data/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
  734. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
  735. data/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
  736. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
  737. data/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
  738. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
  739. data/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
  740. data/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
  741. data/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
  742. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
  743. data/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
  744. data/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
  745. data/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
  746. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
  747. data/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
  748. data/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
  749. data/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
  750. data/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
  751. data/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
  752. data/node_modules/rimraf/dist/esm/use-native.js +0 -16
  753. data/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
  754. data/node_modules/semver/classes/comparator.js +0 -141
  755. data/node_modules/semver/classes/index.js +0 -5
  756. data/node_modules/semver/classes/range.js +0 -539
  757. data/node_modules/semver/classes/semver.js +0 -302
  758. data/node_modules/semver/functions/clean.js +0 -6
  759. data/node_modules/semver/functions/cmp.js +0 -52
  760. data/node_modules/semver/functions/coerce.js +0 -52
  761. data/node_modules/semver/functions/compare-build.js +0 -7
  762. data/node_modules/semver/functions/compare-loose.js +0 -3
  763. data/node_modules/semver/functions/compare.js +0 -5
  764. data/node_modules/semver/functions/diff.js +0 -65
  765. data/node_modules/semver/functions/eq.js +0 -3
  766. data/node_modules/semver/functions/gt.js +0 -3
  767. data/node_modules/semver/functions/gte.js +0 -3
  768. data/node_modules/semver/functions/inc.js +0 -19
  769. data/node_modules/semver/functions/lt.js +0 -3
  770. data/node_modules/semver/functions/lte.js +0 -3
  771. data/node_modules/semver/functions/major.js +0 -3
  772. data/node_modules/semver/functions/minor.js +0 -3
  773. data/node_modules/semver/functions/neq.js +0 -3
  774. data/node_modules/semver/functions/parse.js +0 -16
  775. data/node_modules/semver/functions/patch.js +0 -3
  776. data/node_modules/semver/functions/prerelease.js +0 -6
  777. data/node_modules/semver/functions/rcompare.js +0 -3
  778. data/node_modules/semver/functions/rsort.js +0 -3
  779. data/node_modules/semver/functions/satisfies.js +0 -10
  780. data/node_modules/semver/functions/sort.js +0 -3
  781. data/node_modules/semver/functions/valid.js +0 -6
  782. data/node_modules/semver/index.js +0 -89
  783. data/node_modules/semver/internal/constants.js +0 -35
  784. data/node_modules/semver/internal/debug.js +0 -9
  785. data/node_modules/semver/internal/identifiers.js +0 -23
  786. data/node_modules/semver/internal/parse-options.js +0 -15
  787. data/node_modules/semver/internal/re.js +0 -212
  788. data/node_modules/semver/node_modules/lru-cache/LICENSE +0 -15
  789. data/node_modules/semver/node_modules/lru-cache/README.md +0 -166
  790. data/node_modules/semver/node_modules/lru-cache/index.js +0 -334
  791. data/node_modules/semver/node_modules/lru-cache/package.json +0 -34
  792. data/node_modules/semver/preload.js +0 -2
  793. data/node_modules/semver/ranges/gtr.js +0 -4
  794. data/node_modules/semver/ranges/intersects.js +0 -7
  795. data/node_modules/semver/ranges/ltr.js +0 -4
  796. data/node_modules/semver/ranges/max-satisfying.js +0 -25
  797. data/node_modules/semver/ranges/min-satisfying.js +0 -24
  798. data/node_modules/semver/ranges/min-version.js +0 -61
  799. data/node_modules/semver/ranges/outside.js +0 -80
  800. data/node_modules/semver/ranges/simplify.js +0 -47
  801. data/node_modules/semver/ranges/subset.js +0 -247
  802. data/node_modules/semver/ranges/to-comparators.js +0 -8
  803. data/node_modules/semver/ranges/valid.js +0 -11
  804. /data/node_modules/{eslint/node_modules/chalk → chalk}/index.d.ts +0 -0
  805. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/templates.js +0 -0
  806. /data/node_modules/{eslint/node_modules/chalk → chalk}/source/util.js +0 -0
  807. /data/node_modules/{@eslint/config-array/node_modules/minimatch → minimatch}/minimatch.js +0 -0
@@ -1,22 +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.useNativeSync = exports.useNative = void 0;
7
- const platform_js_1 = __importDefault(require("./platform.js"));
8
- const version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version;
9
- const versArr = version.replace(/^v/, '').split('.');
10
- /* c8 ignore start */
11
- const [major = 0, minor = 0] = versArr.map(v => parseInt(v, 10));
12
- /* c8 ignore stop */
13
- const hasNative = major > 14 || (major === 14 && minor >= 14);
14
- // we do NOT use native by default on Windows, because Node's native
15
- // rm implementation is less advanced. Change this code if that changes.
16
- exports.useNative = !hasNative || platform_js_1.default === 'win32'
17
- ? () => false
18
- : opt => !opt?.signal && !opt?.filter;
19
- exports.useNativeSync = !hasNative || platform_js_1.default === 'win32'
20
- ? () => false
21
- : opt => !opt?.signal && !opt?.filter;
22
- //# sourceMappingURL=use-native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-native.js","sourceRoot":"","sources":["../../src/use-native.ts"],"names":[],"mappings":";;;;;;AACA,gEAAoC;AAEpC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAA;AAC9E,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;AAEpD,qBAAqB;AACrB,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAChE,oBAAoB;AACpB,MAAM,SAAS,GAAG,KAAK,GAAG,EAAE,IAAI,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,IAAI,EAAE,CAAC,CAAA;AAE7D,oEAAoE;AACpE,yEAAyE;AAC5D,QAAA,SAAS,GACpB,CAAC,SAAS,IAAI,qBAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA;AAC5B,QAAA,aAAa,GACxB,CAAC,SAAS,IAAI,qBAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA","sourcesContent":["import { RimrafAsyncOptions, RimrafOptions } from './index.js'\nimport platform from './platform.js'\n\nconst version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version\nconst versArr = version.replace(/^v/, '').split('.')\n\n/* c8 ignore start */\nconst [major = 0, minor = 0] = versArr.map(v => parseInt(v, 10))\n/* c8 ignore stop */\nconst hasNative = major > 14 || (major === 14 && minor >= 14)\n\n// we do NOT use native by default on Windows, because Node's native\n// rm implementation is less advanced. Change this code if that changes.\nexport const useNative: (opt?: RimrafAsyncOptions) => boolean =\n !hasNative || platform === 'win32'\n ? () => false\n : opt => !opt?.signal && !opt?.filter\nexport const useNativeSync: (opt?: RimrafOptions) => boolean =\n !hasNative || platform === 'win32'\n ? () => false\n : opt => !opt?.signal && !opt?.filter\n"]}
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
- export declare const help: string;
3
- declare const main: {
4
- (...args: string[]): Promise<1 | 0>;
5
- help: string;
6
- };
7
- export default main;
8
- //# sourceMappingURL=bin.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bin.d.mts","sourceRoot":"","sources":["../../src/bin.mts"],"names":[],"mappings":";AAcA,eAAO,MAAM,IAAI,QAkChB,CAAA;AA8ED,QAAA,MAAM,IAAI;cAAmB,MAAM,EAAE;;CAoIpC,CAAA;AAGD,eAAe,IAAI,CAAA"}
@@ -1,256 +0,0 @@
1
- #!/usr/bin/env node
2
- import { readFile } from 'fs/promises';
3
- import { rimraf } from './index.js';
4
- const pj = fileURLToPath(new URL('../package.json', import.meta.url));
5
- const pjDist = fileURLToPath(new URL('../../package.json', import.meta.url));
6
- const { version } = JSON.parse(await readFile(pjDist, 'utf8').catch(() => readFile(pj, 'utf8')));
7
- const runHelpForUsage = () => console.error('run `rimraf --help` for usage information');
8
- export const help = `rimraf version ${version}
9
-
10
- Usage: rimraf <path> [<path> ...]
11
- Deletes all files and folders at "path", recursively.
12
-
13
- Options:
14
- -- Treat all subsequent arguments as paths
15
- -h --help Display this usage info
16
- --preserve-root Do not remove '/' recursively (default)
17
- --no-preserve-root Do not treat '/' specially
18
- -G --no-glob Treat arguments as literal paths, not globs (default)
19
- -g --glob Treat arguments as glob patterns
20
- -v --verbose Be verbose when deleting files, showing them as
21
- they are removed. Not compatible with --impl=native
22
- -V --no-verbose Be silent when deleting files, showing nothing as
23
- they are removed (default)
24
- -i --interactive Ask for confirmation before deleting anything
25
- Not compatible with --impl=native
26
- -I --no-interactive Do not ask for confirmation before deleting
27
-
28
- --impl=<type> Specify the implementation to use:
29
- rimraf: choose the best option (default)
30
- native: the built-in implementation in Node.js
31
- manual: the platform-specific JS implementation
32
- posix: the Posix JS implementation
33
- windows: the Windows JS implementation (falls back to
34
- move-remove on ENOTEMPTY)
35
- move-remove: a slow reliable Windows fallback
36
-
37
- Implementation-specific options:
38
- --tmp=<path> Temp file folder for 'move-remove' implementation
39
- --max-retries=<n> maxRetries for 'native' and 'windows' implementations
40
- --retry-delay=<n> retryDelay for 'native' implementation, default 100
41
- --backoff=<n> Exponential backoff factor for retries (default: 1.2)
42
- `;
43
- import { parse, relative, resolve } from 'path';
44
- const cwd = process.cwd();
45
- import { createInterface } from 'readline';
46
- import { fileURLToPath } from 'url';
47
- const prompt = async (rl, q) => new Promise(res => rl.question(q, res));
48
- const interactiveRimraf = async (impl, paths, opt) => {
49
- const existingFilter = opt.filter || (() => true);
50
- let allRemaining = false;
51
- let noneRemaining = false;
52
- const queue = [];
53
- let processing = false;
54
- const processQueue = async () => {
55
- if (processing)
56
- return;
57
- processing = true;
58
- let next;
59
- while ((next = queue.shift())) {
60
- await next();
61
- }
62
- processing = false;
63
- };
64
- const oneAtATime = (fn) => async (s, e) => {
65
- const p = new Promise(res => {
66
- queue.push(async () => {
67
- const result = await fn(s, e);
68
- res(result);
69
- return result;
70
- });
71
- });
72
- processQueue();
73
- return p;
74
- };
75
- const rl = createInterface({
76
- input: process.stdin,
77
- output: process.stdout,
78
- });
79
- opt.filter = oneAtATime(async (path, ent) => {
80
- if (noneRemaining) {
81
- return false;
82
- }
83
- while (!allRemaining) {
84
- const a = (await prompt(rl, `rm? ${relative(cwd, path)}\n[(Yes)/No/All/Quit] > `)).trim();
85
- if (/^n/i.test(a)) {
86
- return false;
87
- }
88
- else if (/^a/i.test(a)) {
89
- allRemaining = true;
90
- break;
91
- }
92
- else if (/^q/i.test(a)) {
93
- noneRemaining = true;
94
- return false;
95
- }
96
- else if (a === '' || /^y/i.test(a)) {
97
- break;
98
- }
99
- else {
100
- continue;
101
- }
102
- }
103
- return existingFilter(path, ent);
104
- });
105
- await impl(paths, opt);
106
- rl.close();
107
- };
108
- const main = async (...args) => {
109
- const verboseFilter = (s) => {
110
- console.log(relative(cwd, s));
111
- return true;
112
- };
113
- if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {
114
- throw new Error('simulated rimraf failure');
115
- }
116
- const opt = {};
117
- const paths = [];
118
- let dashdash = false;
119
- let impl = rimraf;
120
- let interactive = false;
121
- for (const arg of args) {
122
- if (dashdash) {
123
- paths.push(arg);
124
- continue;
125
- }
126
- if (arg === '--') {
127
- dashdash = true;
128
- continue;
129
- }
130
- else if (arg === '-rf' || arg === '-fr') {
131
- // this never did anything, but people put it there I guess
132
- continue;
133
- }
134
- else if (arg === '-h' || arg === '--help') {
135
- console.log(help);
136
- return 0;
137
- }
138
- else if (arg === '--interactive' || arg === '-i') {
139
- interactive = true;
140
- continue;
141
- }
142
- else if (arg === '--no-interactive' || arg === '-I') {
143
- interactive = false;
144
- continue;
145
- }
146
- else if (arg === '--verbose' || arg === '-v') {
147
- opt.filter = verboseFilter;
148
- continue;
149
- }
150
- else if (arg === '--no-verbose' || arg === '-V') {
151
- opt.filter = undefined;
152
- continue;
153
- }
154
- else if (arg === '-g' || arg === '--glob') {
155
- opt.glob = true;
156
- continue;
157
- }
158
- else if (arg === '-G' || arg === '--no-glob') {
159
- opt.glob = false;
160
- continue;
161
- }
162
- else if (arg === '--preserve-root') {
163
- opt.preserveRoot = true;
164
- continue;
165
- }
166
- else if (arg === '--no-preserve-root') {
167
- opt.preserveRoot = false;
168
- continue;
169
- }
170
- else if (/^--tmp=/.test(arg)) {
171
- const val = arg.substring('--tmp='.length);
172
- opt.tmp = val;
173
- continue;
174
- }
175
- else if (/^--max-retries=/.test(arg)) {
176
- const val = +arg.substring('--max-retries='.length);
177
- opt.maxRetries = val;
178
- continue;
179
- }
180
- else if (/^--retry-delay=/.test(arg)) {
181
- const val = +arg.substring('--retry-delay='.length);
182
- opt.retryDelay = val;
183
- continue;
184
- }
185
- else if (/^--backoff=/.test(arg)) {
186
- const val = +arg.substring('--backoff='.length);
187
- opt.backoff = val;
188
- continue;
189
- }
190
- else if (/^--impl=/.test(arg)) {
191
- const val = arg.substring('--impl='.length);
192
- switch (val) {
193
- case 'rimraf':
194
- impl = rimraf;
195
- continue;
196
- case 'native':
197
- case 'manual':
198
- case 'posix':
199
- case 'windows':
200
- impl = rimraf[val];
201
- continue;
202
- case 'move-remove':
203
- impl = rimraf.moveRemove;
204
- continue;
205
- default:
206
- console.error(`unknown implementation: ${val}`);
207
- runHelpForUsage();
208
- return 1;
209
- }
210
- }
211
- else if (/^-/.test(arg)) {
212
- console.error(`unknown option: ${arg}`);
213
- runHelpForUsage();
214
- return 1;
215
- }
216
- else {
217
- paths.push(arg);
218
- }
219
- }
220
- if (opt.preserveRoot !== false) {
221
- for (const path of paths.map(p => resolve(p))) {
222
- if (path === parse(path).root) {
223
- console.error(`rimraf: it is dangerous to operate recursively on '/'`);
224
- console.error('use --no-preserve-root to override this failsafe');
225
- return 1;
226
- }
227
- }
228
- }
229
- if (!paths.length) {
230
- console.error('rimraf: must provide a path to remove');
231
- runHelpForUsage();
232
- return 1;
233
- }
234
- if (impl === rimraf.native && (interactive || opt.filter)) {
235
- console.error('native implementation does not support -v or -i');
236
- runHelpForUsage();
237
- return 1;
238
- }
239
- if (interactive) {
240
- await interactiveRimraf(impl, paths, opt);
241
- }
242
- else {
243
- await impl(paths, opt);
244
- }
245
- return 0;
246
- };
247
- main.help = help;
248
- export default main;
249
- if (process.env.__TESTING_RIMRAF_BIN__ !== '1') {
250
- const args = process.argv.slice(2);
251
- main(...args).then(code => process.exit(code), er => {
252
- console.error(er);
253
- process.exit(1);
254
- });
255
- }
256
- //# sourceMappingURL=bin.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bin.mjs","sourceRoot":"","sources":["../../src/bin.mts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAEnC,MAAM,EAAE,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AACrE,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AAC5E,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAC5B,MAAM,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAC1C,CAAA;AAExB,MAAM,eAAe,GAAG,GAAG,EAAE,CAC3B,OAAO,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC5C,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,CAAA;AAGzB,OAAO,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tE,OAAO,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAA;gBACjE,OAAO,CAAC,CAAA;aACT;SACF;KACF;IAED,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;QACjB,OAAO,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAA;QACtD,eAAe,EAAE,CAAA;QACjB,OAAO,CAAC,CAAA;KACT;IAED,IAAI,IAAI,KAAK,MAAM,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC,MAAM,CAAC,EAAE;QACzD,OAAO,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAA;QAChE,eAAe,EAAE,CAAA;QACjB,OAAO,CAAC,CAAA;KACT;IAED,IAAI,WAAW,EAAE;QACf,MAAM,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;KAC1C;SAAM;QACL,MAAM,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;KACvB;IAED,OAAO,CAAC,CAAA;AACV,CAAC,CAAA;AACD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;AAEhB,eAAe,IAAI,CAAA;AAEnB,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,KAAK,GAAG,EAAE;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IAClC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAChB,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B,EAAE,CAAC,EAAE;QACH,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC,CACF,CAAA;CACF","sourcesContent":["#!/usr/bin/env node\nimport { readFile } from 'fs/promises'\nimport type { RimrafAsyncOptions } from './index.js'\nimport { rimraf } from './index.js'\n\nconst pj = fileURLToPath(new URL('../package.json', import.meta.url))\nconst pjDist = fileURLToPath(new URL('../../package.json', import.meta.url))\nconst { version } = JSON.parse(\n await readFile(pjDist, 'utf8').catch(() => readFile(pj, 'utf8'))\n) as { version: string }\n\nconst runHelpForUsage = () =>\n console.error('run `rimraf --help` for usage information')\n\nexport const help = `rimraf version ${version}\n\nUsage: rimraf <path> [<path> ...]\nDeletes all files and folders at \"path\", recursively.\n\nOptions:\n -- Treat all subsequent arguments as paths\n -h --help Display this usage info\n --preserve-root Do not remove '/' recursively (default)\n --no-preserve-root Do not treat '/' specially\n -G --no-glob Treat arguments as literal paths, not globs (default)\n -g --glob Treat arguments as glob patterns\n -v --verbose Be verbose when deleting files, showing them as\n they are removed. Not compatible with --impl=native\n -V --no-verbose Be silent when deleting files, showing nothing as\n they are removed (default)\n -i --interactive Ask for confirmation before deleting anything\n Not compatible with --impl=native\n -I --no-interactive Do not ask for confirmation before deleting\n\n --impl=<type> Specify the implementation to use:\n rimraf: choose the best option (default)\n native: the built-in implementation in Node.js\n manual: the platform-specific JS implementation\n posix: the Posix JS implementation\n windows: the Windows JS implementation (falls back to\n move-remove on ENOTEMPTY)\n move-remove: a slow reliable Windows fallback\n\nImplementation-specific options:\n --tmp=<path> Temp file folder for 'move-remove' implementation\n --max-retries=<n> maxRetries for 'native' and 'windows' implementations\n --retry-delay=<n> retryDelay for 'native' implementation, default 100\n --backoff=<n> Exponential backoff factor for retries (default: 1.2)\n`\n\nimport { parse, relative, resolve } from 'path'\nconst cwd = process.cwd()\n\nimport { Dirent, Stats } from 'fs'\nimport { createInterface, Interface } from 'readline'\nimport { fileURLToPath } from 'url'\n\nconst prompt = async (rl: Interface, q: string) =>\n new Promise<string>(res => rl.question(q, res))\n\nconst interactiveRimraf = async (\n impl: (path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>,\n paths: string[],\n opt: RimrafAsyncOptions\n) => {\n const existingFilter = opt.filter || (() => true)\n let allRemaining = false\n let noneRemaining = false\n const queue: (() => Promise<boolean>)[] = []\n let processing = false\n const processQueue = async () => {\n if (processing) return\n processing = true\n let next: (() => Promise<boolean>) | undefined\n while ((next = queue.shift())) {\n await next()\n }\n processing = false\n }\n const oneAtATime =\n (fn: (s: string, e: Dirent | Stats) => Promise<boolean>) =>\n async (s: string, e: Dirent | Stats): Promise<boolean> => {\n const p = new Promise<boolean>(res => {\n queue.push(async () => {\n const result = await fn(s, e)\n res(result)\n return result\n })\n })\n processQueue()\n return p\n }\n const rl = createInterface({\n input: process.stdin,\n output: process.stdout,\n })\n opt.filter = oneAtATime(\n async (path: string, ent: Dirent | Stats): Promise<boolean> => {\n if (noneRemaining) {\n return false\n }\n while (!allRemaining) {\n const a = (\n await prompt(rl, `rm? ${relative(cwd, path)}\\n[(Yes)/No/All/Quit] > `)\n ).trim()\n if (/^n/i.test(a)) {\n return false\n } else if (/^a/i.test(a)) {\n allRemaining = true\n break\n } else if (/^q/i.test(a)) {\n noneRemaining = true\n return false\n } else if (a === '' || /^y/i.test(a)) {\n break\n } else {\n continue\n }\n }\n return existingFilter(path, ent)\n }\n )\n await impl(paths, opt)\n rl.close()\n}\n\nconst main = async (...args: string[]) => {\n const verboseFilter = (s: string) => {\n console.log(relative(cwd, s))\n return true\n }\n\n if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {\n throw new Error('simulated rimraf failure')\n }\n\n const opt: RimrafAsyncOptions = {}\n const paths: string[] = []\n let dashdash = false\n let impl: (\n path: string | string[],\n opt?: RimrafAsyncOptions\n ) => Promise<boolean> = rimraf\n\n let interactive = false\n\n for (const arg of args) {\n if (dashdash) {\n paths.push(arg)\n continue\n }\n if (arg === '--') {\n dashdash = true\n continue\n } else if (arg === '-rf' || arg === '-fr') {\n // this never did anything, but people put it there I guess\n continue\n } else if (arg === '-h' || arg === '--help') {\n console.log(help)\n return 0\n } else if (arg === '--interactive' || arg === '-i') {\n interactive = true\n continue\n } else if (arg === '--no-interactive' || arg === '-I') {\n interactive = false\n continue\n } else if (arg === '--verbose' || arg === '-v') {\n opt.filter = verboseFilter\n continue\n } else if (arg === '--no-verbose' || arg === '-V') {\n opt.filter = undefined\n continue\n } else if (arg === '-g' || arg === '--glob') {\n opt.glob = true\n continue\n } else if (arg === '-G' || arg === '--no-glob') {\n opt.glob = false\n continue\n } else if (arg === '--preserve-root') {\n opt.preserveRoot = true\n continue\n } else if (arg === '--no-preserve-root') {\n opt.preserveRoot = false\n continue\n } else if (/^--tmp=/.test(arg)) {\n const val = arg.substring('--tmp='.length)\n opt.tmp = val\n continue\n } else if (/^--max-retries=/.test(arg)) {\n const val = +arg.substring('--max-retries='.length)\n opt.maxRetries = val\n continue\n } else if (/^--retry-delay=/.test(arg)) {\n const val = +arg.substring('--retry-delay='.length)\n opt.retryDelay = val\n continue\n } else if (/^--backoff=/.test(arg)) {\n const val = +arg.substring('--backoff='.length)\n opt.backoff = val\n continue\n } else if (/^--impl=/.test(arg)) {\n const val = arg.substring('--impl='.length)\n switch (val) {\n case 'rimraf':\n impl = rimraf\n continue\n case 'native':\n case 'manual':\n case 'posix':\n case 'windows':\n impl = rimraf[val]\n continue\n case 'move-remove':\n impl = rimraf.moveRemove\n continue\n default:\n console.error(`unknown implementation: ${val}`)\n runHelpForUsage()\n return 1\n }\n } else if (/^-/.test(arg)) {\n console.error(`unknown option: ${arg}`)\n runHelpForUsage()\n return 1\n } else {\n paths.push(arg)\n }\n }\n\n if (opt.preserveRoot !== false) {\n for (const path of paths.map(p => resolve(p))) {\n if (path === parse(path).root) {\n console.error(`rimraf: it is dangerous to operate recursively on '/'`)\n console.error('use --no-preserve-root to override this failsafe')\n return 1\n }\n }\n }\n\n if (!paths.length) {\n console.error('rimraf: must provide a path to remove')\n runHelpForUsage()\n return 1\n }\n\n if (impl === rimraf.native && (interactive || opt.filter)) {\n console.error('native implementation does not support -v or -i')\n runHelpForUsage()\n return 1\n }\n\n if (interactive) {\n await interactiveRimraf(impl, paths, opt)\n } else {\n await impl(paths, opt)\n }\n\n return 0\n}\nmain.help = help\n\nexport default main\n\nif (process.env.__TESTING_RIMRAF_BIN__ !== '1') {\n const args = process.argv.slice(2)\n main(...args).then(\n code => process.exit(code),\n er => {\n console.error(er)\n process.exit(1)\n }\n )\n}\n"]}
@@ -1,3 +0,0 @@
1
- export declare const defaultTmp: (path: string) => Promise<string>;
2
- export declare const defaultTmpSync: (path: string) => string;
3
- //# sourceMappingURL=default-tmp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-tmp.d.ts","sourceRoot":"","sources":["../../src/default-tmp.ts"],"names":[],"mappings":"AAiEA,eAAO,MAAM,UAAU,SAnCc,MAAM,oBAoCe,CAAA;AAC1D,eAAO,MAAM,cAAc,SArBQ,MAAM,WAsByB,CAAA"}
@@ -1,55 +0,0 @@
1
- // The default temporary folder location for use in the windows algorithm.
2
- // It's TEMPting to use dirname(path), since that's guaranteed to be on the
3
- // same device. However, this means that:
4
- // rimraf(path).then(() => rimraf(dirname(path)))
5
- // will often fail with EBUSY, because the parent dir contains
6
- // marked-for-deletion directory entries (which do not show up in readdir).
7
- // The approach here is to use os.tmpdir() if it's on the same drive letter,
8
- // or resolve(path, '\\temp') if it exists, or the root of the drive if not.
9
- // On Posix (not that you'd be likely to use the windows algorithm there),
10
- // it uses os.tmpdir() always.
11
- import { tmpdir } from 'os';
12
- import { parse, resolve } from 'path';
13
- import { promises, statSync } from './fs.js';
14
- import platform from './platform.js';
15
- const { stat } = promises;
16
- const isDirSync = (path) => {
17
- try {
18
- return statSync(path).isDirectory();
19
- }
20
- catch (er) {
21
- return false;
22
- }
23
- };
24
- const isDir = (path) => stat(path).then(st => st.isDirectory(), () => false);
25
- const win32DefaultTmp = async (path) => {
26
- const { root } = parse(path);
27
- const tmp = tmpdir();
28
- const { root: tmpRoot } = parse(tmp);
29
- if (root.toLowerCase() === tmpRoot.toLowerCase()) {
30
- return tmp;
31
- }
32
- const driveTmp = resolve(root, '/temp');
33
- if (await isDir(driveTmp)) {
34
- return driveTmp;
35
- }
36
- return root;
37
- };
38
- const win32DefaultTmpSync = (path) => {
39
- const { root } = parse(path);
40
- const tmp = tmpdir();
41
- const { root: tmpRoot } = parse(tmp);
42
- if (root.toLowerCase() === tmpRoot.toLowerCase()) {
43
- return tmp;
44
- }
45
- const driveTmp = resolve(root, '/temp');
46
- if (isDirSync(driveTmp)) {
47
- return driveTmp;
48
- }
49
- return root;
50
- };
51
- const posixDefaultTmp = async () => tmpdir();
52
- const posixDefaultTmpSync = () => tmpdir();
53
- export const defaultTmp = platform === 'win32' ? win32DefaultTmp : posixDefaultTmp;
54
- export const defaultTmpSync = platform === 'win32' ? win32DefaultTmpSync : posixDefaultTmpSync;
55
- //# sourceMappingURL=default-tmp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-tmp.js","sourceRoot":"","sources":["../../src/default-tmp.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,2EAA2E;AAC3E,0CAA0C;AAC1C,iDAAiD;AACjD,8DAA8D;AAC9D,2EAA2E;AAC3E,4EAA4E;AAC5E,4EAA4E;AAC5E,0EAA0E;AAC1E,8BAA8B;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,QAAQ,MAAM,eAAe,CAAA;AACpC,MAAM,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAA;AAEzB,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE;IACjC,IAAI;QACF,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAA;KACpC;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,KAAK,CAAA;KACb;AACH,CAAC,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,EAAE,CAC7B,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CACb,EAAE,CAAC,EAAE,CAAC,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,EAAE,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GACrB,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAA;AAC1D,MAAM,CAAC,MAAM,cAAc,GACzB,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAA","sourcesContent":["// The default temporary folder location for use in the windows algorithm.\n// It's TEMPting to use dirname(path), since that's guaranteed to be on the\n// same device. However, this means that:\n// rimraf(path).then(() => rimraf(dirname(path)))\n// will often fail with EBUSY, because the parent dir contains\n// marked-for-deletion directory entries (which do not show up in readdir).\n// The approach here is to use os.tmpdir() if it's on the same drive letter,\n// or resolve(path, '\\\\temp') if it exists, or the root of the drive if not.\n// On Posix (not that you'd be likely to use the windows algorithm there),\n// it uses os.tmpdir() always.\nimport { tmpdir } from 'os'\nimport { parse, resolve } from 'path'\nimport { promises, statSync } from './fs.js'\nimport platform from './platform.js'\nconst { stat } = promises\n\nconst isDirSync = (path: string) => {\n try {\n return statSync(path).isDirectory()\n } catch (er) {\n return false\n }\n}\n\nconst isDir = (path: string) =>\n stat(path).then(\n st => st.isDirectory(),\n () => false\n )\n\nconst win32DefaultTmp = async (path: string) => {\n const { root } = parse(path)\n const tmp = tmpdir()\n const { root: tmpRoot } = parse(tmp)\n if (root.toLowerCase() === tmpRoot.toLowerCase()) {\n return tmp\n }\n\n const driveTmp = resolve(root, '/temp')\n if (await isDir(driveTmp)) {\n return driveTmp\n }\n\n return root\n}\n\nconst win32DefaultTmpSync = (path: string) => {\n const { root } = parse(path)\n const tmp = tmpdir()\n const { root: tmpRoot } = parse(tmp)\n if (root.toLowerCase() === tmpRoot.toLowerCase()) {\n return tmp\n }\n\n const driveTmp = resolve(root, '/temp')\n if (isDirSync(driveTmp)) {\n return driveTmp\n }\n\n return root\n}\n\nconst posixDefaultTmp = async () => tmpdir()\nconst posixDefaultTmpSync = () => tmpdir()\n\nexport const defaultTmp =\n platform === 'win32' ? win32DefaultTmp : posixDefaultTmp\nexport const defaultTmpSync =\n platform === 'win32' ? win32DefaultTmpSync : posixDefaultTmpSync\n"]}
@@ -1,3 +0,0 @@
1
- export declare const fixEPERM: (fn: (path: string) => Promise<any>) => (path: string) => Promise<any>;
2
- export declare const fixEPERMSync: (fn: (path: string) => any) => (path: string) => any;
3
- //# sourceMappingURL=fix-eperm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fix-eperm.d.ts","sourceRoot":"","sources":["../../src/fix-eperm.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,cACP,MAAM,KAAK,QAAQ,GAAG,CAAC,YAAkB,MAAM,iBAsB1D,CAAA;AAEH,eAAO,MAAM,YAAY,cAAe,MAAM,KAAK,GAAG,YAAY,MAAM,QAsBvE,CAAA"}
@@ -1,53 +0,0 @@
1
- import { chmodSync, promises } from './fs.js';
2
- const { chmod } = promises;
3
- export const fixEPERM = (fn) => async (path) => {
4
- try {
5
- return await fn(path);
6
- }
7
- catch (er) {
8
- const fer = er;
9
- if (fer?.code === 'ENOENT') {
10
- return;
11
- }
12
- if (fer?.code === 'EPERM') {
13
- try {
14
- await chmod(path, 0o666);
15
- }
16
- catch (er2) {
17
- const fer2 = er2;
18
- if (fer2?.code === 'ENOENT') {
19
- return;
20
- }
21
- throw er;
22
- }
23
- return await fn(path);
24
- }
25
- throw er;
26
- }
27
- };
28
- export const fixEPERMSync = (fn) => (path) => {
29
- try {
30
- return fn(path);
31
- }
32
- catch (er) {
33
- const fer = er;
34
- if (fer?.code === 'ENOENT') {
35
- return;
36
- }
37
- if (fer?.code === 'EPERM') {
38
- try {
39
- chmodSync(path, 0o666);
40
- }
41
- catch (er2) {
42
- const fer2 = er2;
43
- if (fer2?.code === 'ENOENT') {
44
- return;
45
- }
46
- throw er;
47
- }
48
- return fn(path);
49
- }
50
- throw er;
51
- }
52
- };
53
- //# sourceMappingURL=fix-eperm.js.map
@@ -1 +0,0 @@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,CAAC,CAAA;aACvB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,GAAG,GAA4B,CAAA;gBACzC,IAAI,IAAI,EAAE,IAAI,KAAK,QAAQ,EAAE;oBAC3B,OAAM;iBACP;gBACD,MAAM,EAAE,CAAA;aACT;YACD,OAAO,EAAE,CAAC,IAAI,CAAC,CAAA;SAChB;QACD,MAAM,EAAE,CAAA;KACT;AACH,CAAC,CAAA","sourcesContent":["import { chmodSync, promises } from './fs.js'\nconst { chmod } = promises\n\nexport const fixEPERM =\n (fn: (path: string) => Promise<any>) => async (path: string) => {\n try {\n return await fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.code === 'ENOENT') {\n return\n }\n if (fer?.code === 'EPERM') {\n try {\n await chmod(path, 0o666)\n } catch (er2) {\n const fer2 = er2 as NodeJS.ErrnoException\n if (fer2?.code === 'ENOENT') {\n return\n }\n throw er\n }\n return await fn(path)\n }\n throw er\n }\n }\n\nexport const fixEPERMSync = (fn: (path: string) => any) => (path: string) => {\n try {\n return fn(path)\n } catch (er) {\n const fer = er as NodeJS.ErrnoException\n if (fer?.code === 'ENOENT') {\n return\n }\n if (fer?.code === 'EPERM') {\n try {\n chmodSync(path, 0o666)\n } catch (er2) {\n const fer2 = er2 as NodeJS.ErrnoException\n if (fer2?.code === 'ENOENT') {\n return\n }\n throw er\n }\n return fn(path)\n }\n throw er\n }\n}\n"]}
@@ -1,17 +0,0 @@
1
- import fs, { Dirent } from 'fs';
2
- export { chmodSync, mkdirSync, renameSync, rmdirSync, rmSync, statSync, lstatSync, unlinkSync, } from 'fs';
3
- export declare const readdirSync: (path: fs.PathLike) => Dirent[];
4
- export declare const promises: {
5
- chmod: (path: fs.PathLike, mode: fs.Mode) => Promise<void>;
6
- mkdir: (path: fs.PathLike, options?: fs.Mode | (fs.MakeDirectoryOptions & {
7
- recursive?: boolean | null;
8
- }) | undefined | null) => Promise<string | undefined>;
9
- readdir: (path: fs.PathLike) => Promise<Dirent[]>;
10
- rename: (oldPath: fs.PathLike, newPath: fs.PathLike) => Promise<void>;
11
- rm: (path: fs.PathLike, options: fs.RmOptions) => Promise<void>;
12
- rmdir: (path: fs.PathLike) => Promise<void>;
13
- stat: (path: fs.PathLike) => Promise<fs.Stats>;
14
- lstat: (path: fs.PathLike) => Promise<fs.Stats>;
15
- unlink: (path: fs.PathLike) => Promise<void>;
16
- };
17
- //# sourceMappingURL=fs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/fs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,CAAA;AAG/B,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAA;AAGX,eAAO,MAAM,WAAW,SAAU,GAAG,QAAQ,KAAG,MAAM,EACf,CAAA;AA6DvC,eAAO,MAAM,QAAQ;kBAtDA,GAAG,QAAQ,QAAQ,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;kBAMvD,GAAG,QAAQ,YAEb,GAAG,IAAI,GACP,CAAC,GAAG,oBAAoB,GAAG;QAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;KAAE,CAAC,GAC1D,SAAS,GACT,IAAI,KACP,QAAQ,MAAM,GAAG,SAAS,CAAC;oBAKP,GAAG,QAAQ,KAAG,QAAQ,MAAM,EAAE,CAAC;sBAO7B,GAAG,QAAQ,WAAW,GAAG,QAAQ,KAAG,QAAQ,IAAI,CAAC;eAKxD,GAAG,QAAQ,WAAW,GAAG,SAAS,KAAG,QAAQ,IAAI,CAAC;kBAK/C,GAAG,QAAQ,KAAG,QAAQ,IAAI,CAAC;iBAK5B,GAAG,QAAQ,KAAG,QAAQ,GAAG,KAAK,CAAC;kBAK9B,GAAG,QAAQ,KAAG,QAAQ,GAAG,KAAK,CAAC;mBAK9B,GAAG,QAAQ,KAAG,QAAQ,IAAI,CAAC;CAehD,CAAA"}
@@ -1,31 +0,0 @@
1
- // promisify ourselves, because older nodes don't have fs.promises
2
- import fs from 'fs';
3
- // sync ones just take the sync version from node
4
- export { chmodSync, mkdirSync, renameSync, rmdirSync, rmSync, statSync, lstatSync, unlinkSync, } from 'fs';
5
- import { readdirSync as rdSync } from 'fs';
6
- export const readdirSync = (path) => rdSync(path, { withFileTypes: true });
7
- // unrolled for better inlining, this seems to get better performance
8
- // than something like:
9
- // const makeCb = (res, rej) => (er, ...d) => er ? rej(er) : res(...d)
10
- // which would be a bit cleaner.
11
- const chmod = (path, mode) => new Promise((res, rej) => fs.chmod(path, mode, (er, ...d) => (er ? rej(er) : res(...d))));
12
- const mkdir = (path, options) => new Promise((res, rej) => fs.mkdir(path, options, (er, made) => (er ? rej(er) : res(made))));
13
- const readdir = (path) => new Promise((res, rej) => fs.readdir(path, { withFileTypes: true }, (er, data) => er ? rej(er) : res(data)));
14
- const rename = (oldPath, newPath) => new Promise((res, rej) => fs.rename(oldPath, newPath, (er, ...d) => (er ? rej(er) : res(...d))));
15
- const rm = (path, options) => new Promise((res, rej) => fs.rm(path, options, (er, ...d) => (er ? rej(er) : res(...d))));
16
- const rmdir = (path) => new Promise((res, rej) => fs.rmdir(path, (er, ...d) => (er ? rej(er) : res(...d))));
17
- const stat = (path) => new Promise((res, rej) => fs.stat(path, (er, data) => (er ? rej(er) : res(data))));
18
- const lstat = (path) => new Promise((res, rej) => fs.lstat(path, (er, data) => (er ? rej(er) : res(data))));
19
- const unlink = (path) => new Promise((res, rej) => fs.unlink(path, (er, ...d) => (er ? rej(er) : res(...d))));
20
- export const promises = {
21
- chmod,
22
- mkdir,
23
- readdir,
24
- rename,
25
- rm,
26
- rmdir,
27
- stat,
28
- lstat,
29
- unlink,
30
- };
31
- //# sourceMappingURL=fs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/fs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'fs'\n\n// sync ones just take the sync version from node\nexport {\n chmodSync,\n mkdirSync,\n renameSync,\n rmdirSync,\n rmSync,\n statSync,\n lstatSync,\n unlinkSync,\n} from 'fs'\n\nimport { readdirSync as rdSync } from 'fs'\nexport const readdirSync = (path: fs.PathLike): Dirent[] =>\n rdSync(path, { withFileTypes: true })\n\n// unrolled for better inlining, this seems to get better performance\n// than something like:\n// const makeCb = (res, rej) => (er, ...d) => er ? rej(er) : res(...d)\n// which would be a bit cleaner.\n\nconst chmod = (path: fs.PathLike, mode: fs.Mode): Promise<void> =>\n new Promise((res, rej) =>\n fs.chmod(path, mode, (er, ...d: any[]) => (er ? rej(er) : res(...d)))\n )\n\nconst mkdir = (\n path: fs.PathLike,\n options?:\n | fs.Mode\n | (fs.MakeDirectoryOptions & { recursive?: boolean | null })\n | undefined\n | null\n): Promise<string | undefined> =>\n new Promise((res, rej) =>\n fs.mkdir(path, options, (er, made) => (er ? rej(er) : res(made)))\n )\n\nconst readdir = (path: fs.PathLike): Promise<Dirent[]> =>\n new Promise<Dirent[]>((res, rej) =>\n fs.readdir(path, { withFileTypes: true }, (er, data) =>\n er ? rej(er) : res(data)\n )\n )\n\nconst rename = (oldPath: fs.PathLike, newPath: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.rename(oldPath, newPath, (er, ...d: any[]) => (er ? rej(er) : res(...d)))\n )\n\nconst rm = (path: fs.PathLike, options: fs.RmOptions): Promise<void> =>\n new Promise((res, rej) =>\n fs.rm(path, options, (er, ...d: any[]) => (er ? rej(er) : res(...d)))\n )\n\nconst rmdir = (path: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.rmdir(path, (er, ...d: any[]) => (er ? rej(er) : res(...d)))\n )\n\nconst stat = (path: fs.PathLike): Promise<fs.Stats> =>\n new Promise((res, rej) =>\n fs.stat(path, (er, data) => (er ? rej(er) : res(data)))\n )\n\nconst lstat = (path: fs.PathLike): Promise<fs.Stats> =>\n new Promise((res, rej) =>\n fs.lstat(path, (er, data) => (er ? rej(er) : res(data)))\n )\n\nconst unlink = (path: fs.PathLike): Promise<void> =>\n new Promise((res, rej) =>\n fs.unlink(path, (er, ...d: any[]) => (er ? rej(er) : res(...d)))\n )\n\nexport const promises = {\n chmod,\n mkdir,\n readdir,\n rename,\n rm,\n rmdir,\n stat,\n lstat,\n unlink,\n}\n"]}
@@ -1,3 +0,0 @@
1
- export declare const ignoreENOENT: (p: Promise<any>) => Promise<any>;
2
- export declare const ignoreENOENTSync: (fn: () => any) => any;
3
- //# sourceMappingURL=ignore-enoent.d.ts.map
@@ -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,16 +0,0 @@
1
- export const ignoreENOENT = async (p) => p.catch(er => {
2
- if (er.code !== 'ENOENT') {
3
- throw er;
4
- }
5
- });
6
- export const ignoreENOENTSync = (fn) => {
7
- try {
8
- return fn();
9
- }
10
- catch (er) {
11
- if (er?.code !== 'ENOENT') {
12
- throw er;
13
- }
14
- }
15
- };
16
- //# sourceMappingURL=ignore-enoent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ignore-enoent.js","sourceRoot":"","sources":["../../src/ignore-enoent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,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;AAEJ,MAAM,CAAC,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","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,iB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