rimraf 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +57 -22
  2. package/dist/cjs/package.json +2 -2
  3. package/dist/cjs/src/bin.d.ts.map +1 -1
  4. package/dist/cjs/src/bin.js +119 -17
  5. package/dist/cjs/src/bin.js.map +1 -1
  6. package/dist/cjs/src/index-cjs.d.ts +40 -40
  7. package/dist/cjs/src/index.d.ts +43 -38
  8. package/dist/cjs/src/index.d.ts.map +1 -1
  9. package/dist/cjs/src/index.js +19 -10
  10. package/dist/cjs/src/index.js.map +1 -1
  11. package/dist/cjs/src/opt-arg.d.ts +14 -6
  12. package/dist/cjs/src/opt-arg.d.ts.map +1 -1
  13. package/dist/cjs/src/opt-arg.js +8 -2
  14. package/dist/cjs/src/opt-arg.js.map +1 -1
  15. package/dist/cjs/src/path-arg.d.ts +2 -2
  16. package/dist/cjs/src/path-arg.d.ts.map +1 -1
  17. package/dist/cjs/src/path-arg.js +1 -1
  18. package/dist/cjs/src/path-arg.js.map +1 -1
  19. package/dist/cjs/src/retry-busy.d.ts +2 -2
  20. package/dist/cjs/src/retry-busy.d.ts.map +1 -1
  21. package/dist/cjs/src/retry-busy.js.map +1 -1
  22. package/dist/cjs/src/rimraf-manual.d.ts +2 -2
  23. package/dist/cjs/src/rimraf-manual.d.ts.map +1 -1
  24. package/dist/cjs/src/rimraf-move-remove.d.ts +3 -3
  25. package/dist/cjs/src/rimraf-move-remove.d.ts.map +1 -1
  26. package/dist/cjs/src/rimraf-move-remove.js +33 -10
  27. package/dist/cjs/src/rimraf-move-remove.js.map +1 -1
  28. package/dist/cjs/src/rimraf-native.d.ts +3 -3
  29. package/dist/cjs/src/rimraf-native.d.ts.map +1 -1
  30. package/dist/cjs/src/rimraf-native.js +16 -10
  31. package/dist/cjs/src/rimraf-native.js.map +1 -1
  32. package/dist/cjs/src/rimraf-posix.d.ts +3 -3
  33. package/dist/cjs/src/rimraf-posix.d.ts.map +1 -1
  34. package/dist/cjs/src/rimraf-posix.js +33 -10
  35. package/dist/cjs/src/rimraf-posix.js.map +1 -1
  36. package/dist/cjs/src/rimraf-windows.d.ts +3 -3
  37. package/dist/cjs/src/rimraf-windows.d.ts.map +1 -1
  38. package/dist/cjs/src/rimraf-windows.js +44 -15
  39. package/dist/cjs/src/rimraf-windows.js.map +1 -1
  40. package/dist/cjs/src/use-native.d.ts +2 -2
  41. package/dist/cjs/src/use-native.d.ts.map +1 -1
  42. package/dist/cjs/src/use-native.js +6 -2
  43. package/dist/cjs/src/use-native.js.map +1 -1
  44. package/dist/mjs/index.d.ts +43 -38
  45. package/dist/mjs/index.d.ts.map +1 -1
  46. package/dist/mjs/index.js +18 -9
  47. package/dist/mjs/index.js.map +1 -1
  48. package/dist/mjs/opt-arg.d.ts +14 -6
  49. package/dist/mjs/opt-arg.d.ts.map +1 -1
  50. package/dist/mjs/opt-arg.js +6 -3
  51. package/dist/mjs/opt-arg.js.map +1 -1
  52. package/dist/mjs/package.json +1 -1
  53. package/dist/mjs/path-arg.d.ts +2 -2
  54. package/dist/mjs/path-arg.d.ts.map +1 -1
  55. package/dist/mjs/path-arg.js +2 -2
  56. package/dist/mjs/path-arg.js.map +1 -1
  57. package/dist/mjs/retry-busy.d.ts +2 -2
  58. package/dist/mjs/retry-busy.d.ts.map +1 -1
  59. package/dist/mjs/retry-busy.js.map +1 -1
  60. package/dist/mjs/rimraf-manual.d.ts +2 -2
  61. package/dist/mjs/rimraf-manual.d.ts.map +1 -1
  62. package/dist/mjs/rimraf-move-remove.d.ts +3 -3
  63. package/dist/mjs/rimraf-move-remove.d.ts.map +1 -1
  64. package/dist/mjs/rimraf-move-remove.js +33 -10
  65. package/dist/mjs/rimraf-move-remove.js.map +1 -1
  66. package/dist/mjs/rimraf-native.d.ts +3 -3
  67. package/dist/mjs/rimraf-native.d.ts.map +1 -1
  68. package/dist/mjs/rimraf-native.js +16 -10
  69. package/dist/mjs/rimraf-native.js.map +1 -1
  70. package/dist/mjs/rimraf-posix.d.ts +3 -3
  71. package/dist/mjs/rimraf-posix.d.ts.map +1 -1
  72. package/dist/mjs/rimraf-posix.js +33 -10
  73. package/dist/mjs/rimraf-posix.js.map +1 -1
  74. package/dist/mjs/rimraf-windows.d.ts +3 -3
  75. package/dist/mjs/rimraf-windows.d.ts.map +1 -1
  76. package/dist/mjs/rimraf-windows.js +44 -15
  77. package/dist/mjs/rimraf-windows.js.map +1 -1
  78. package/dist/mjs/use-native.d.ts +2 -2
  79. package/dist/mjs/use-native.d.ts.map +1 -1
  80. package/dist/mjs/use-native.js +6 -2
  81. package/dist/mjs/use-native.js.map +1 -1
  82. package/package.json +2 -2
package/README.md CHANGED
@@ -5,7 +5,8 @@ Install with `npm install rimraf`.
5
5
  ## Major Changes from v3 to v4
6
6
 
7
7
  - The function returns a `Promise` instead of taking a callback.
8
- - Built-in glob support removed.
8
+ - Globbing requires the `--glob` option to be set. (Removed in
9
+ 4.0 and 4.1, opt-in support added in 4.2.)
9
10
  - Functions take arrays of paths, as well as a single path.
10
11
  - Native implementation used by default when available, except on
11
12
  Windows, where this implementation is faster and more reliable.
@@ -14,6 +15,7 @@ Install with `npm install rimraf`.
14
15
  resolve the situation.
15
16
  - Simplified implementation on Posix, since the Windows
16
17
  affordances are not necessary there.
18
+ - As of 4.3, return/resolve value is boolean instead of undefined
17
19
 
18
20
  ## API
19
21
 
@@ -31,6 +33,12 @@ import { rimraf, rimrafSync, native, nativeSync } from 'rimraf'
31
33
  const { rimraf, rimrafSync, native, nativeSync } = require('rimraf')
32
34
  ```
33
35
 
36
+ All removal functions return a boolean indicating that all
37
+ entries were successfully removed.
38
+
39
+ The only case in which this will not return `true` is if
40
+ something was omitted from the removal via a `filter` option.
41
+
34
42
  ### `rimraf(f, [opts]) -> Promise`
35
43
 
36
44
  This first parameter is a path or array of paths. The second
@@ -63,9 +71,28 @@ Options:
63
71
  linear backoff. Default `100`.
64
72
  - `signal` Pass in an AbortSignal to cancel the directory
65
73
  removal. This is useful when removing large folder structures,
66
- if you'd like to limit the amount of time spent. Using a
67
- `signal` option prevents the use of Node's built-in `fs.rm`
68
- because that implementation does not support abort signals.
74
+ if you'd like to limit the amount of time spent.
75
+
76
+ Using a `signal` option prevents the use of Node's built-in
77
+ `fs.rm` because that implementation does not support abort
78
+ signals.
79
+
80
+ - `filter` Method that receives a path string as an argument, and
81
+ returns a boolean indicating whether that path should be
82
+ deleted. With async rimraf methods, this may return a Promise
83
+ that resolves to a boolean. (Since Promises are truthy,
84
+ returning a Promise from a sync filter is the same as just not
85
+ filtering anything.)
86
+
87
+ If a filter method is provided, it will _only_ remove entries
88
+ if the filter returns (or resolves to) a truthy value. Omitting
89
+ a directory will still allow its children to be removed, unless
90
+ they are also filtered out, but any parents of a filtered entry
91
+ will not be removed, since the directory would not be empty in
92
+ that case.
93
+
94
+ Using a filter method prevents the use of Node's built-in
95
+ `fs.rm` because that implementation does not support filtering.
69
96
 
70
97
  Any other options are provided to the native Node.js `fs.rm` implementation
71
98
  when that is used.
@@ -141,31 +168,39 @@ Synchronous form of `rimraf.moveRemove()`
141
168
  ### Command Line Interface
142
169
 
143
170
  ```
144
- rimraf version 4.2.0
171
+ rimraf version 4.3.0
145
172
 
146
173
  Usage: rimraf <path> [<path> ...]
147
174
  Deletes all files and folders at "path", recursively.
148
175
 
149
176
  Options:
150
- -- Treat all subsequent arguments as paths
151
- -h --help Display this usage info
152
- --preserve-root Do not remove '/' recursively (default)
153
- --no-preserve-root Do not treat '/' specially
154
- -G --no-glob Treat arguments as literal paths, not globs (default)
155
- -g --glob Treat arguments as glob patterns
156
-
157
- --impl=<type> Specify the implementation to use.
158
- rimraf: choose the best option
159
- native: the built-in implementation in Node.js
160
- manual: the platform-specific JS implementation
161
- posix: the Posix JS implementation
162
- windows: the Windows JS implementation
163
- move-remove: a slower Windows JS fallback implementation
177
+ -- Treat all subsequent arguments as paths
178
+ -h --help Display this usage info
179
+ --preserve-root Do not remove '/' recursively (default)
180
+ --no-preserve-root Do not treat '/' specially
181
+ -G --no-glob Treat arguments as literal paths, not globs (default)
182
+ -g --glob Treat arguments as glob patterns
183
+ -v --verbose Be verbose when deleting files, showing them as
184
+ they are removed. Not compatible with --impl=native
185
+ -V --no-verbose Be silent when deleting files, showing nothing as
186
+ they are removed (default)
187
+ -i --interactive Ask for confirmation before deleting anything
188
+ Not compatible with --impl=native
189
+ -I --no-interactive Do not ask for confirmation before deleting
190
+
191
+ --impl=<type> Specify the implementation to use:
192
+ rimraf: choose the best option (default)
193
+ native: the built-in implementation in Node.js
194
+ manual: the platform-specific JS implementation
195
+ posix: the Posix JS implementation
196
+ windows: the Windows JS implementation (falls back to
197
+ move-remove on ENOTEMPTY)
198
+ move-remove: a slow reliable Windows fallback
164
199
 
165
200
  Implementation-specific options:
166
- --tmp=<path> Folder to hold temp files for 'move-remove' implementation
167
- --max-retries=<n> maxRetries for the 'native' and 'windows' implementations
168
- --retry-delay=<n> retryDelay for the 'native' implementation, default 100
201
+ --tmp=<path> Temp file folder for 'move-remove' implementation
202
+ --max-retries=<n> maxRetries for 'native' and 'windows' implementations
203
+ --retry-delay=<n> retryDelay for 'native' implementation, default 100
169
204
  --backoff=<n> Exponential backoff factor for retries (default: 1.2)
170
205
  ```
171
206
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimraf",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "main": "./dist/cjs/src/index-cjs.js",
5
5
  "module": "./dist/mjs/index.js",
6
6
  "types": "./dist/mjs/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "eslint-config-prettier": "^8.6.0",
58
58
  "mkdirp": "1",
59
59
  "prettier": "^2.8.2",
60
- "tap": "^16.3.3",
60
+ "tap": "^16.3.4",
61
61
  "ts-node": "^10.9.1",
62
62
  "typedoc": "^0.23.21",
63
63
  "typescript": "^4.9.3"
@@ -1 +1 @@
1
- {"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../../src/bin.ts"],"names":[],"mappings":";AAQA,eAAO,MAAM,IAAI,QA0BhB,CAAA;AAID,QAAA,MAAM,IAAI;cAAmB,MAAM,EAAE;;CAoGpC,CAAA;AAGD,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../../src/bin.ts"],"names":[],"mappings":";AAQA,eAAO,MAAM,IAAI,QAkChB,CAAA;AA2ED,QAAA,MAAM,IAAI;cAAmB,MAAM,EAAE;;CAoIpC,CAAA;AAGD,eAAe,IAAI,CAAA"}
@@ -14,29 +14,104 @@ Usage: rimraf <path> [<path> ...]
14
14
  Deletes all files and folders at "path", recursively.
15
15
 
16
16
  Options:
17
- -- Treat all subsequent arguments as paths
18
- -h --help Display this usage info
19
- --preserve-root Do not remove '/' recursively (default)
20
- --no-preserve-root Do not treat '/' specially
21
- -G --no-glob Treat arguments as literal paths, not globs (default)
22
- -g --glob Treat arguments as glob patterns
17
+ -- Treat all subsequent arguments as paths
18
+ -h --help Display this usage info
19
+ --preserve-root Do not remove '/' recursively (default)
20
+ --no-preserve-root Do not treat '/' specially
21
+ -G --no-glob Treat arguments as literal paths, not globs (default)
22
+ -g --glob Treat arguments as glob patterns
23
+ -v --verbose Be verbose when deleting files, showing them as
24
+ they are removed. Not compatible with --impl=native
25
+ -V --no-verbose Be silent when deleting files, showing nothing as
26
+ they are removed (default)
27
+ -i --interactive Ask for confirmation before deleting anything
28
+ Not compatible with --impl=native
29
+ -I --no-interactive Do not ask for confirmation before deleting
23
30
 
24
- --impl=<type> Specify the implementation to use.
25
- rimraf: choose the best option
26
- native: the built-in implementation in Node.js
27
- manual: the platform-specific JS implementation
28
- posix: the Posix JS implementation
29
- windows: the Windows JS implementation
30
- move-remove: a slower Windows JS fallback implementation
31
+ --impl=<type> Specify the implementation to use:
32
+ rimraf: choose the best option (default)
33
+ native: the built-in implementation in Node.js
34
+ manual: the platform-specific JS implementation
35
+ posix: the Posix JS implementation
36
+ windows: the Windows JS implementation (falls back to
37
+ move-remove on ENOTEMPTY)
38
+ move-remove: a slow reliable Windows fallback
31
39
 
32
40
  Implementation-specific options:
33
- --tmp=<path> Folder to hold temp files for 'move-remove' implementation
34
- --max-retries=<n> maxRetries for the 'native' and 'windows' implementations
35
- --retry-delay=<n> retryDelay for the 'native' implementation, default 100
41
+ --tmp=<path> Temp file folder for 'move-remove' implementation
42
+ --max-retries=<n> maxRetries for 'native' and 'windows' implementations
43
+ --retry-delay=<n> retryDelay for 'native' implementation, default 100
36
44
  --backoff=<n> Exponential backoff factor for retries (default: 1.2)
37
45
  `;
38
46
  const path_1 = require("path");
47
+ const cwd = process.cwd();
48
+ const readline_1 = require("readline");
49
+ const prompt = async (rl, q) => new Promise(res => rl.question(q, res));
50
+ const interactiveRimraf = async (impl, paths, opt) => {
51
+ const existingFilter = opt.filter || (() => true);
52
+ let allRemaining = false;
53
+ let noneRemaining = false;
54
+ const queue = [];
55
+ let processing = false;
56
+ const processQueue = async () => {
57
+ if (processing)
58
+ return;
59
+ processing = true;
60
+ let next;
61
+ while ((next = queue.shift())) {
62
+ await next();
63
+ }
64
+ processing = false;
65
+ };
66
+ const oneAtATime = (fn) => async (s) => {
67
+ const p = new Promise(res => {
68
+ queue.push(async () => {
69
+ const result = await fn(s);
70
+ res(result);
71
+ return result;
72
+ });
73
+ });
74
+ processQueue();
75
+ return p;
76
+ };
77
+ const rl = (0, readline_1.createInterface)({
78
+ input: process.stdin,
79
+ output: process.stdout,
80
+ });
81
+ opt.filter = oneAtATime(async (path) => {
82
+ if (noneRemaining) {
83
+ return false;
84
+ }
85
+ while (!allRemaining) {
86
+ const a = (await prompt(rl, `rm? ${(0, path_1.relative)(cwd, path)}\n[(Yes)/No/All/Quit] > `)).trim();
87
+ if (/^n/i.test(a)) {
88
+ return false;
89
+ }
90
+ else if (/^a/i.test(a)) {
91
+ allRemaining = true;
92
+ break;
93
+ }
94
+ else if (/^q/i.test(a)) {
95
+ noneRemaining = true;
96
+ return false;
97
+ }
98
+ else if (a === '' || /^y/i.test(a)) {
99
+ break;
100
+ }
101
+ else {
102
+ continue;
103
+ }
104
+ }
105
+ return existingFilter(path);
106
+ });
107
+ await impl(paths, opt);
108
+ rl.close();
109
+ };
39
110
  const main = async (...args) => {
111
+ const verboseFilter = (s) => {
112
+ console.log((0, path_1.relative)(cwd, s));
113
+ return true;
114
+ };
40
115
  if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {
41
116
  throw new Error('simulated rimraf failure');
42
117
  }
@@ -44,6 +119,7 @@ const main = async (...args) => {
44
119
  const paths = [];
45
120
  let dashdash = false;
46
121
  let impl = index_cjs_js_1.default;
122
+ let interactive = false;
47
123
  for (const arg of args) {
48
124
  if (dashdash) {
49
125
  paths.push(arg);
@@ -61,6 +137,22 @@ const main = async (...args) => {
61
137
  console.log(exports.help);
62
138
  return 0;
63
139
  }
140
+ else if (arg === '--interactive' || arg === '-i') {
141
+ interactive = true;
142
+ continue;
143
+ }
144
+ else if (arg === '--no-interactive' || arg === '-I') {
145
+ interactive = false;
146
+ continue;
147
+ }
148
+ else if (arg === '--verbose' || arg === '-v') {
149
+ opt.filter = verboseFilter;
150
+ continue;
151
+ }
152
+ else if (arg === '--no-verbose' || arg === '-V') {
153
+ opt.filter = undefined;
154
+ continue;
155
+ }
64
156
  else if (arg === '-g' || arg === '--glob') {
65
157
  opt.glob = true;
66
158
  continue;
@@ -141,7 +233,17 @@ const main = async (...args) => {
141
233
  runHelpForUsage();
142
234
  return 1;
143
235
  }
144
- await impl(paths, opt);
236
+ if (impl === index_cjs_js_1.default.native && (interactive || opt.filter)) {
237
+ console.error('native implementation does not support -v or -i');
238
+ runHelpForUsage();
239
+ return 1;
240
+ }
241
+ if (interactive) {
242
+ await interactiveRimraf(impl, paths, opt);
243
+ }
244
+ else {
245
+ await impl(paths, opt);
246
+ }
145
247
  return 0;
146
248
  };
147
249
  main.help = exports.help;
@@ -1 +1 @@
1
- {"version":3,"file":"bin.js","sourceRoot":"","sources":["../../../src/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ACT;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,YAAI,CAAA;AAEhB,kBAAe,IAAI,CAAA;AAEnB,IACE,OAAO,OAAO,KAAK,UAAU;IAC7B,OAAO,MAAM,KAAK,QAAQ;IAC1B,OAAO,CAAC,IAAI,KAAK,MAAM,EACvB;IACA,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"}
@@ -1,56 +1,56 @@
1
- declare const _default: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
2
- rimraf: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
3
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
1
+ declare const _default: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
2
+ rimraf: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
3
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
4
4
  };
5
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
6
- rimrafSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
7
- manual: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
8
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
5
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
6
+ rimrafSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
7
+ manual: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
8
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
9
9
  };
10
- manualSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
11
- native: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
12
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
10
+ manualSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
11
+ native: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
12
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
13
13
  };
14
- nativeSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
15
- posix: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
16
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
14
+ nativeSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
15
+ posix: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
16
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
17
17
  };
18
- posixSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
19
- windows: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
20
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
18
+ posixSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
19
+ windows: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
20
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
21
21
  };
22
- windowsSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
23
- moveRemove: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
24
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
22
+ windowsSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
23
+ moveRemove: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
24
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
25
25
  };
26
- moveRemoveSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
26
+ moveRemoveSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
27
27
  } & {
28
- default: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
29
- rimraf: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
30
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
28
+ default: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
29
+ rimraf: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
30
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
31
31
  };
32
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
33
- rimrafSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
34
- manual: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
35
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
32
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
33
+ rimrafSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
34
+ manual: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
35
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
36
36
  };
37
- manualSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
38
- native: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
39
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
37
+ manualSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
38
+ native: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
39
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
40
40
  };
41
- nativeSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
42
- posix: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
43
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
41
+ nativeSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
42
+ posix: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
43
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
44
44
  };
45
- posixSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
46
- windows: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
47
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
45
+ posixSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
46
+ windows: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
47
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
48
48
  };
49
- windowsSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
50
- moveRemove: ((path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => Promise<void>) & {
51
- sync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
49
+ windowsSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
50
+ moveRemove: ((path: string | string[], opt?: import("./index.js").RimrafAsyncOptions | undefined) => Promise<boolean>) & {
51
+ sync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
52
52
  };
53
- moveRemoveSync: (path: string | string[], opt?: import("./index.js").RimrafOptions | undefined) => void;
53
+ moveRemoveSync: (path: string | string[], opt?: import("./index.js").RimrafSyncOptions | undefined) => boolean;
54
54
  };
55
55
  };
56
56
  export = _default;
@@ -1,5 +1,5 @@
1
1
  import { GlobOptions } from 'glob';
2
- export interface RimrafOptions {
2
+ export interface RimrafAsyncOptions {
3
3
  preserveRoot?: boolean;
4
4
  tmp?: string;
5
5
  maxRetries?: number;
@@ -8,57 +8,62 @@ export interface RimrafOptions {
8
8
  maxBackoff?: number;
9
9
  signal?: AbortSignal;
10
10
  glob?: boolean | GlobOptions;
11
+ filter?: ((path: string) => boolean) | ((path: string) => Promise<boolean>);
11
12
  }
13
+ export interface RimrafSyncOptions extends RimrafAsyncOptions {
14
+ filter?: (path: string) => boolean;
15
+ }
16
+ export type RimrafOptions = RimrafSyncOptions | RimrafAsyncOptions;
12
17
  export declare const isRimrafOptions: (o: any) => o is RimrafOptions;
13
18
  export declare const assertRimrafOptions: (o: any) => void;
14
- export declare const nativeSync: (path: string | string[], opt?: RimrafOptions) => void;
15
- export declare const native: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
16
- sync: (path: string | string[], opt?: RimrafOptions) => void;
19
+ export declare const nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
20
+ export declare const native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
21
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
17
22
  };
18
- export declare const manualSync: (path: string | string[], opt?: RimrafOptions) => void;
19
- export declare const manual: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
20
- sync: (path: string | string[], opt?: RimrafOptions) => void;
23
+ export declare const manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
24
+ export declare const manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
25
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
21
26
  };
22
- export declare const windowsSync: (path: string | string[], opt?: RimrafOptions) => void;
23
- export declare const windows: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
24
- sync: (path: string | string[], opt?: RimrafOptions) => void;
27
+ export declare const windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
28
+ export declare const windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
29
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
25
30
  };
26
- export declare const posixSync: (path: string | string[], opt?: RimrafOptions) => void;
27
- export declare const posix: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
28
- sync: (path: string | string[], opt?: RimrafOptions) => void;
31
+ export declare const posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
32
+ export declare const posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
33
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
29
34
  };
30
- export declare const moveRemoveSync: (path: string | string[], opt?: RimrafOptions) => void;
31
- export declare const moveRemove: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
32
- sync: (path: string | string[], opt?: RimrafOptions) => void;
35
+ export declare const moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
36
+ export declare const moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
37
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
33
38
  };
34
- export declare const rimrafSync: (path: string | string[], opt?: RimrafOptions) => void;
35
- export declare const sync: (path: string | string[], opt?: RimrafOptions) => void;
36
- export declare const rimraf: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
37
- rimraf: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
38
- sync: (path: string | string[], opt?: RimrafOptions) => void;
39
+ export declare const rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
40
+ export declare const sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
41
+ export declare const rimraf: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
42
+ rimraf: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
43
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
39
44
  };
40
- sync: (path: string | string[], opt?: RimrafOptions) => void;
41
- rimrafSync: (path: string | string[], opt?: RimrafOptions) => void;
42
- manual: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
43
- sync: (path: string | string[], opt?: RimrafOptions) => void;
45
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
46
+ rimrafSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
47
+ manual: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
48
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
44
49
  };
45
- manualSync: (path: string | string[], opt?: RimrafOptions) => void;
46
- native: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
47
- sync: (path: string | string[], opt?: RimrafOptions) => void;
50
+ manualSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
51
+ native: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
52
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
48
53
  };
49
- nativeSync: (path: string | string[], opt?: RimrafOptions) => void;
50
- posix: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
51
- sync: (path: string | string[], opt?: RimrafOptions) => void;
54
+ nativeSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
55
+ posix: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
56
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
52
57
  };
53
- posixSync: (path: string | string[], opt?: RimrafOptions) => void;
54
- windows: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
55
- sync: (path: string | string[], opt?: RimrafOptions) => void;
58
+ posixSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
59
+ windows: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
60
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
56
61
  };
57
- windowsSync: (path: string | string[], opt?: RimrafOptions) => void;
58
- moveRemove: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
59
- sync: (path: string | string[], opt?: RimrafOptions) => void;
62
+ windowsSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
63
+ moveRemove: ((path: string | string[], opt?: RimrafAsyncOptions) => Promise<boolean>) & {
64
+ sync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
60
65
  };
61
- moveRemoveSync: (path: string | string[], opt?: RimrafOptions) => void;
66
+ moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
62
67
  };
63
68
  export default rimraf;
64
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,WAAW,EAAY,MAAM,MAAM,CAAA;AAElD,MAAM,WAAW,aAAa;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UA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