@@ -3222,7 +3222,8 @@ added: v0.0.2 |
3222 | 3222 | changes: |
3223 | 3223 | - version: REPLACEME |
3224 | 3224 | pr-url: https://github.com/nodejs/node/pull/30644 |
3225 | | - description: The `maxBusyTries` option is renamed to `maxRetries`. |
| 3225 | + description: The `maxBusyTries` option is renamed to `maxRetries`, and its |
| 3226 | + default is 0. |
3226 | 3227 | - version: v12.10.0 |
3227 | 3228 | pr-url: https://github.com/nodejs/node/pull/29168 |
3228 | 3229 | description: The `recursive`, `maxBusyTries`, and `emfileWait` options are |
@@ -3252,7 +3253,7 @@ changes: |
3252 | 3253 | * `maxRetries` {integer} If an `EBUSY`, `ENOTEMPTY`, or `EPERM` error is |
3253 | 3254 | encountered, Node.js will retry the operation with a linear backoff wait of |
3254 | 3255 | 100ms longer on each try. This option represents the number of retries. This |
3255 | | - option is ignored if the `recursive` option is not `true`. **Default:** `3`. |
| 3256 | + option is ignored if the `recursive` option is not `true`. **Default:** `0`. |
3256 | 3257 | * `recursive` {boolean} If `true`, perform a recursive directory removal. In |
3257 | 3258 | recursive mode, errors are not reported if `path` does not exist, and |
3258 | 3259 | operations are retried on failure. **Default:** `false`. |
@@ -3271,7 +3272,8 @@ added: v0.1.21 |
3271 | 3272 | changes: |
3272 | 3273 | - version: REPLACEME |
3273 | 3274 | pr-url: https://github.com/nodejs/node/pull/30644 |
3274 | | - description: The `maxBusyTries` option is renamed to `maxRetries`. |
| 3275 | + description: The `maxBusyTries` option is renamed to `maxRetries`, and its |
| 3276 | + default is 0. |
3275 | 3277 | - version: v12.10.0 |
3276 | 3278 | pr-url: https://github.com/nodejs/node/pull/29168 |
3277 | 3279 | description: The `recursive`, `maxBusyTries`, and `emfileWait` options are |
@@ -3286,6 +3288,10 @@ changes: |
3286 | 3288 |
|
3287 | 3289 | * `path` {string|Buffer|URL} |
3288 | 3290 | * `options` {Object} |
| 3291 | + * `maxRetries` {integer} If an `EBUSY`, `ENOTEMPTY`, or `EPERM` error is |
| 3292 | + encountered, Node.js will retry the operation. This option represents the |
| 3293 | + number of retries. This option is ignored if the `recursive` option is not |
| 3294 | + `true`. **Default:** `0`. |
3289 | 3295 | * `recursive` {boolean} If `true`, perform a recursive directory removal. In |
3290 | 3296 | recursive mode, errors are not reported if `path` does not exist, and |
3291 | 3297 | operations are retried on failure. **Default:** `false`. |
@@ -4998,7 +5004,8 @@ added: v10.0.0 |
4998 | 5004 | changes: |
4999 | 5005 | - version: REPLACEME |
5000 | 5006 | pr-url: https://github.com/nodejs/node/pull/30644 |
5001 | | - description: The `maxBusyTries` option is renamed to `maxRetries`. |
| 5007 | + description: The `maxBusyTries` option is renamed to `maxRetries`, and its |
| 5008 | + default is 0. |
5002 | 5009 | - version: v12.10.0 |
5003 | 5010 | pr-url: https://github.com/nodejs/node/pull/29168 |
5004 | 5011 | description: The `recursive`, `maxBusyTries`, and `emfileWait` options are |
@@ -5016,7 +5023,7 @@ changes: |
5016 | 5023 | * `maxRetries` {integer} If an `EBUSY`, `ENOTEMPTY`, or `EPERM` error is |
5017 | 5024 | encountered, Node.js will retry the operation with a linear backoff wait of |
5018 | 5025 | 100ms longer on each try. This option represents the number of retries. This |
5019 | | - option is ignored if the `recursive` option is not `true`. **Default:** `3`. |
| 5026 | + option is ignored if the `recursive` option is not `true`. **Default:** `0`. |
5020 | 5027 | * `recursive` {boolean} If `true`, perform a recursive directory removal. In |
5021 | 5028 | recursive mode, errors are not reported if `path` does not exist, and |
5022 | 5029 | operations are retried on failure. **Default:** `false`. |
|