@@ -1048,6 +1048,10 @@ Renames `oldPath` to `newPath`.
10481048<!-- YAML
10491049added: v10.0.0
10501050changes:
1051+ - version: REPLACEME
1052+ pr-url: https://github.com/nodejs/node/pull/37302
1053+ description: The `recursive` option is deprecated, using it triggers a
1054+ deprecation warning.
10511055 - version:
10521056 - v13.3.0
10531057 - v12.16.0
@@ -1072,7 +1076,7 @@ changes:
10721076 option is not `true`. **Default:** `0`.
10731077 * `recursive` {boolean} If `true`, perform a recursive directory removal. In
10741078 recursive mode, errors are not reported if `path` does not exist, and
1075- operations are retried on failure. **Default:** `false`.
1079+ operations are retried on failure. **Default:** `false`. **Deprecated**.
10761080 * `retryDelay` {integer} The amount of time in milliseconds to wait between
10771081 retries. This option is ignored if the `recursive` option is not `true`.
10781082 **Default:** `100`.
@@ -1086,9 +1090,8 @@ error on POSIX.
10861090
10871091Setting `recursive` to `true` results in behavior similar to the Unix command
10881092`rm -rf`: an error will not be raised for paths that do not exist, and paths
1089- that represent files will be deleted. The permissive behavior of the
1090- `recursive` option is deprecated, `ENOTDIR` and `ENOENT` will be thrown in
1091- the future.
1093+ that represent files will be deleted. The `recursive` option is deprecated,
1094+ `ENOTDIR` and `ENOENT` will be thrown in the future.
10921095
10931096### `fsPromises.rm(path[, options])`
10941097<!-- YAML
@@ -3135,6 +3138,10 @@ rename('oldFile.txt', 'newFile.txt', (err) => {
31353138<!-- YAML
31363139added: v0.0 .2
31373140changes:
3141+ - version: REPLACEME
3142+ pr- url: https: // github.com/nodejs/node/pull/37302
3143+ description: The ` recursive` option is deprecated, using it triggers a
3144+ deprecation warning.
31383145 - version:
31393146 - v13.3 .0
31403147 - v12.16 .0
@@ -3171,7 +3178,7 @@ changes:
31713178 option is not ` true` . ** Default: ** ` 0` .
31723179 * ` recursive` {boolean} If ` true` , perform a recursive directory removal . In
31733180 recursive mode, errors are not reported if ` path` does not exist, and
3174- operations are retried on failure. ** Default: ** ` false` .
3181+ operations are retried on failure. ** Default: ** ` false` . ** Deprecated ** .
31753182 * ` retryDelay` {integer} The amount of time in milliseconds to wait between
31763183 retries . This option is ignored if the ` recursive` option is not ` true` .
31773184 ** Default: ** ` 100` .
@@ -3186,9 +3193,8 @@ Windows and an `ENOTDIR` error on POSIX.
31863193
31873194Setting ` recursive` to ` true` results in behavior similar to the Unix command
31883195` rm -rf` : an error will not be raised for paths that do not exist, and paths
3189- that represent files will be deleted . The permissive behavior of the
3190- ` recursive` option is deprecated, ` ENOTDIR` and ` ENOENT` will be thrown in
3191- the future.
3196+ that represent files will be deleted . The ` recursive` option is deprecated,
3197+ ` ENOTDIR` and ` ENOENT` will be thrown in the future.
31923198
31933199### ` fs.rm(path[, options], callback)`
31943200<!-- YAML
@@ -4755,6 +4761,10 @@ See the POSIX rename(2) documentation for more details.
47554761<!-- YAML
47564762added: v0.1.21
47574763changes:
4764+ - version: REPLACEME
4765+ pr-url: https://github.com/nodejs/node/pull/37302
4766+ description: The ` recursive` option is deprecated, using it triggers a
4767+ deprecation warning.
47584768 - version:
47594769 - v13.3.0
47604770 - v12.16.0
@@ -4783,7 +4793,7 @@ changes:
47834793 option is not ` true ` . **Default:** ` 0 ` .
47844794 * ` recursive` {boolean} If ` true ` , perform a recursive directory removal. In
47854795 recursive mode, errors are not reported if ` path` does not exist, and
4786- operations are retried on failure. **Default:** ` false ` .
4796+ operations are retried on failure. **Default:** ` false ` . **Deprecated**.
47874797 * ` retryDelay` {integer} The amount of time in milliseconds to wait between
47884798 retries. This option is ignored if the ` recursive` option is not ` true ` .
47894799 **Default:** ` 100 ` .
@@ -4795,9 +4805,8 @@ on Windows and an `ENOTDIR` error on POSIX.
47954805
47964806Setting ` recursive` to ` true ` results in behavior similar to the Unix command
47974807` rm - rf` : an error will not be raised for paths that do not exist, and paths
4798- that represent files will be deleted. The permissive behavior of the
4799- ` recursive` option is deprecated, ` ENOTDIR ` and ` ENOENT ` will be thrown in
4800- the future.
4808+ that represent files will be deleted. The ` recursive` option is deprecated,
4809+ ` ENOTDIR ` and ` ENOENT ` will be thrown in the future.
48014810
48024811### ` fs .rmSync (path[, options])`
48034812<!-- YAML
0 commit comments