rimraf 4.1.4 → 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 +59 -17
  2. package/dist/cjs/package.json +5 -2
  3. package/dist/cjs/src/bin.d.ts.map +1 -1
  4. package/dist/cjs/src/bin.js +127 -15
  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 +46 -38
  8. package/dist/cjs/src/index.d.ts.map +1 -1
  9. package/dist/cjs/src/index.js +29 -12
  10. package/dist/cjs/src/index.js.map +1 -1
  11. package/dist/cjs/src/opt-arg.d.ts +16 -3
  12. package/dist/cjs/src/opt-arg.d.ts.map +1 -1
  13. package/dist/cjs/src/opt-arg.js +30 -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 +39 -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 +39 -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 +55 -15
  39. package/dist/cjs/src/rimraf-windows.js.map +1 -1
  40. package/dist/cjs/src/use-native.d.ts +3 -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 +46 -38
  45. package/dist/mjs/index.d.ts.map +1 -1
  46. package/dist/mjs/index.js +28 -11
  47. package/dist/mjs/index.js.map +1 -1
  48. package/dist/mjs/opt-arg.d.ts +16 -3
  49. package/dist/mjs/opt-arg.d.ts.map +1 -1
  50. package/dist/mjs/opt-arg.js +28 -3
  51. package/dist/mjs/opt-arg.js.map +1 -1
  52. package/dist/mjs/package.json +1 -0
  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 +39 -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 +39 -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 +55 -15
  77. package/dist/mjs/rimraf-windows.js.map +1 -1
  78. package/dist/mjs/use-native.d.ts +3 -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 +5 -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
@@ -61,6 +69,30 @@ Options:
61
69
  delayed 33ms.
62
70
  - `retryDelay`: Native only. Time to wait between retries, using
63
71
  linear backoff. Default `100`.
72
+ - `signal` Pass in an AbortSignal to cancel the directory
73
+ removal. This is useful when removing large folder structures,
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.
64
96
 
65
97
  Any other options are provided to the native Node.js `fs.rm` implementation
66
98
  when that is used.
@@ -136,29 +168,39 @@ Synchronous form of `rimraf.moveRemove()`
136
168
  ### Command Line Interface
137
169
 
138
170
  ```
139
- rimraf version 4.0.4
171
+ rimraf version 4.3.0
140
172
 
141
173
  Usage: rimraf <path> [<path> ...]
142
174
  Deletes all files and folders at "path", recursively.
143
175
 
144
176
  Options:
145
- -- Treat all subsequent arguments as paths
146
- -h --help Display this usage info
147
- --preserve-root Do not remove '/' recursively (default)
148
- --no-preserve-root Do not treat '/' specially
149
-
150
- --impl=<type> Specify the implementationt to use.
151
- rimraf: choose the best option
152
- native: the built-in implementation in Node.js
153
- manual: the platform-specific JS implementation
154
- posix: the Posix JS implementation
155
- windows: the Windows JS implementation
156
- 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
157
199
 
158
200
  Implementation-specific options:
159
- --tmp=<path> Folder to hold temp files for 'move-remove' implementation
160
- --max-retries=<n> maxRetries for the 'native' and 'windows' implementations
161
- --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
162
204
  --backoff=<n> Exponential backoff factor for retries (default: 1.2)
163
205
  ```
164
206
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimraf",
3
- "version": "4.1.4",
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"
@@ -77,5 +77,8 @@
77
77
  },
78
78
  "engines": {
79
79
  "node": ">=14"
80
+ },
81
+ "dependencies": {
82
+ "glob": "^9.2.0"
80
83
  }
81
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../../src/bin.ts"],"names":[],"mappings":";AAQA,eAAO,MAAM,IAAI,QAwBhB,CAAA;AAID,QAAA,MAAM,IAAI;cAAmB,MAAM,EAAE;;CA8FpC,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,27 +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
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
21
30
 
22
- --impl=<type> Specify the implementationt to use.
23
- rimraf: choose the best option
24
- native: the built-in implementation in Node.js
25
- manual: the platform-specific JS implementation
26
- posix: the Posix JS implementation
27
- windows: the Windows JS implementation
28
- 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
29
39
 
30
40
  Implementation-specific options:
31
- --tmp=<path> Folder to hold temp files for 'move-remove' implementation
32
- --max-retries=<n> maxRetries for the 'native' and 'windows' implementations
33
- --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
34
44
  --backoff=<n> Exponential backoff factor for retries (default: 1.2)
35
45
  `;
36
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
+ };
37
110
  const main = async (...args) => {
111
+ const verboseFilter = (s) => {
112
+ console.log((0, path_1.relative)(cwd, s));
113
+ return true;
114
+ };
38
115
  if (process.env.__RIMRAF_TESTING_BIN_FAIL__ === '1') {
39
116
  throw new Error('simulated rimraf failure');
40
117
  }
@@ -42,6 +119,7 @@ const main = async (...args) => {
42
119
  const paths = [];
43
120
  let dashdash = false;
44
121
  let impl = index_cjs_js_1.default;
122
+ let interactive = false;
45
123
  for (const arg of args) {
46
124
  if (dashdash) {
47
125
  paths.push(arg);
@@ -59,6 +137,30 @@ const main = async (...args) => {
59
137
  console.log(exports.help);
60
138
  return 0;
61
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
+ }
156
+ else if (arg === '-g' || arg === '--glob') {
157
+ opt.glob = true;
158
+ continue;
159
+ }
160
+ else if (arg === '-G' || arg === '--no-glob') {
161
+ opt.glob = false;
162
+ continue;
163
+ }
62
164
  else if (arg === '--preserve-root') {
63
165
  opt.preserveRoot = true;
64
166
  continue;
@@ -131,7 +233,17 @@ const main = async (...args) => {
131
233
  runHelpForUsage();
132
234
  return 1;
133
235
  }
134
- 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
+ }
135
247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,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,61 +1,69 @@
1
- export interface RimrafOptions {
1
+ import { GlobOptions } from 'glob';
2
+ export interface RimrafAsyncOptions {
2
3
  preserveRoot?: boolean;
3
4
  tmp?: string;
4
5
  maxRetries?: number;
5
6
  retryDelay?: number;
6
7
  backoff?: number;
7
8
  maxBackoff?: number;
9
+ signal?: AbortSignal;
10
+ glob?: boolean | GlobOptions;
11
+ filter?: ((path: string) => boolean) | ((path: string) => Promise<boolean>);
8
12
  }
13
+ export interface RimrafSyncOptions extends RimrafAsyncOptions {
14
+ filter?: (path: string) => boolean;
15
+ }
16
+ export type RimrafOptions = RimrafSyncOptions | RimrafAsyncOptions;
9
17
  export declare const isRimrafOptions: (o: any) => o is RimrafOptions;
10
18
  export declare const assertRimrafOptions: (o: any) => void;
11
- export declare const nativeSync: (path: string | string[], opt?: RimrafOptions) => void;
12
- export declare const native: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
13
- 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;
14
22
  };
15
- export declare const manualSync: (path: string | string[], opt?: RimrafOptions) => void;
16
- export declare const manual: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
17
- 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;
18
26
  };
19
- export declare const windowsSync: (path: string | string[], opt?: RimrafOptions) => void;
20
- export declare const windows: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
21
- 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;
22
30
  };
23
- export declare const posixSync: (path: string | string[], opt?: RimrafOptions) => void;
24
- export declare const posix: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
25
- 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;
26
34
  };
27
- export declare const moveRemoveSync: (path: string | string[], opt?: RimrafOptions) => void;
28
- export declare const moveRemove: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
29
- 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;
30
38
  };
31
- export declare const rimrafSync: (path: string | string[], opt?: RimrafOptions) => void;
32
- export declare const sync: (path: string | string[], opt?: RimrafOptions) => void;
33
- export declare const rimraf: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
34
- rimraf: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
35
- 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;
36
44
  };
37
- sync: (path: string | string[], opt?: RimrafOptions) => void;
38
- rimrafSync: (path: string | string[], opt?: RimrafOptions) => void;
39
- manual: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
40
- 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;
41
49
  };
42
- manualSync: (path: string | string[], opt?: RimrafOptions) => void;
43
- native: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
44
- 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;
45
53
  };
46
- nativeSync: (path: string | string[], opt?: RimrafOptions) => void;
47
- posix: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
48
- 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;
49
57
  };
50
- posixSync: (path: string | string[], opt?: RimrafOptions) => void;
51
- windows: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
52
- 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;
53
61
  };
54
- windowsSync: (path: string | string[], opt?: RimrafOptions) => void;
55
- moveRemove: ((path: string | string[], opt?: RimrafOptions) => Promise<void>) & {
56
- 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;
57
65
  };
58
- moveRemoveSync: (path: string | string[], opt?: RimrafOptions) => void;
66
+ moveRemoveSync: (path: string | string[], opt?: RimrafSyncOptions) => boolean;
59
67
  };
60
68
  export default rimraf;
61
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAKD,eAAO,MAAM,eAAe,MAAO,GAAG,uBAQD,CAAA;AAErC,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,EAAE,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