@@ -3589,6 +3589,10 @@ Synchronous rename(2). Returns `undefined`.
35893589<!-- YAML
35903590added: v0.0.2
35913591changes:
3592+ - version: REPLACEME
3593+ pr-url: https://github.com/nodejs/node/pull/29168
3594+ description: The `recursive` option is deprecated, using it triggers a
3595+ deprecation warning.
35923596 - version:
35933597 - v13.3.0
35943598 - v12.16.0
@@ -3625,7 +3629,7 @@ changes:
36253629 option is not ` true ` . ** Default:** ` 0 ` .
36263630 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
36273631 recursive mode, errors are not reported if ` path ` does not exist, and
3628- operations are retried on failure. ** Default:** ` false ` .
3632+ operations are retried on failure. ** Default:** ` false ` . ** Deprecated ** .
36293633 * ` retryDelay ` {integer} The amount of time in milliseconds to wait between
36303634 retries. This option is ignored if the ` recursive ` option is not ` true ` .
36313635 ** Default:** ` 100 ` .
@@ -3640,14 +3644,17 @@ Windows and an `ENOTDIR` error on POSIX.
36403644
36413645Setting ` recursive ` to ` true ` results in behavior similar to the Unix command
36423646` rm -rf ` : an error will not be raised for paths that do not exist, and paths
3643- that represent files will be deleted. The permissive behavior of the
3644- ` recursive ` option is deprecated, ` ENOTDIR ` and ` ENOENT ` will be thrown in
3645- the future.
3647+ that represent files will be deleted. The ` recursive ` option is deprecated,
3648+ ` ENOTDIR ` and ` ENOENT ` will be thrown in the future.
36463649
36473650## ` fs.rmdirSync(path[, options]) `
36483651<!-- YAML
36493652added: v0.1.21
36503653changes:
3654+ - version: REPLACEME
3655+ pr-url: https://github.com/nodejs/node/pull/29168
3656+ description: The `recursive` option is deprecated, using it triggers a
3657+ deprecation warning.
36513658 - version:
36523659 - v13.3.0
36533660 - v12.16.0
@@ -3676,7 +3683,7 @@ changes:
36763683 option is not ` true ` . ** Default:** ` 0 ` .
36773684 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
36783685 recursive mode, errors are not reported if ` path ` does not exist, and
3679- operations are retried on failure. ** Default:** ` false ` .
3686+ operations are retried on failure. ** Default:** ` false ` . ** Deprecated ** .
36803687 * ` retryDelay ` {integer} The amount of time in milliseconds to wait between
36813688 retries. This option is ignored if the ` recursive ` option is not ` true ` .
36823689 ** Default:** ` 100 ` .
@@ -3688,9 +3695,8 @@ on Windows and an `ENOTDIR` error on POSIX.
36883695
36893696Setting ` recursive ` to ` true ` results in behavior similar to the Unix command
36903697` rm -rf ` : an error will not be raised for paths that do not exist, and paths
3691- that represent files will be deleted. The permissive behavior of the
3692- ` recursive ` option is deprecated, ` ENOTDIR ` and ` ENOENT ` will be thrown in
3693- the future.
3698+ that represent files will be deleted. The ` recursive ` option is deprecated,
3699+ ` ENOTDIR ` and ` ENOENT ` will be thrown in the future.
36943700
36953701## ` fs.rm(path[, options], callback) `
36963702<!-- YAML
@@ -5677,6 +5683,10 @@ upon success.
56775683<!-- YAML
56785684added: v10.0.0
56795685changes:
5686+ - version: REPLACEME
5687+ pr-url: https://github.com/nodejs/node/pull/29168
5688+ description: The `recursive` option is deprecated, using it triggers a
5689+ deprecation warning.
56805690 - version:
56815691 - v13.3.0
56825692 - v12.16.0
@@ -5701,7 +5711,7 @@ changes:
57015711 option is not ` true ` . ** Default:** ` 0 ` .
57025712 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
57035713 recursive mode, errors are not reported if ` path ` does not exist, and
5704- operations are retried on failure. ** Default:** ` false ` .
5714+ operations are retried on failure. ** Default:** ` false ` . ** Deprecated ** .
57055715 * ` retryDelay ` {integer} The amount of time in milliseconds to wait between
57065716 retries. This option is ignored if the ` recursive ` option is not ` true ` .
57075717 ** Default:** ` 100 ` .
@@ -5716,9 +5726,8 @@ error on POSIX.
57165726
57175727Setting ` recursive ` to ` true ` results in behavior similar to the Unix command
57185728` rm -rf ` : an error will not be raised for paths that do not exist, and paths
5719- that represent files will be deleted. The permissive behavior of the
5720- ` recursive ` option is deprecated, ` ENOTDIR ` and ` ENOENT ` will be thrown in
5721- the future.
5729+ that represent files will be deleted. The ` recursive ` option is deprecated,
5730+ ` ENOTDIR ` and ` ENOENT ` will be thrown in the future.
57225731
57235732### ` fsPromises.rm(path[, options]) `
57245733<!-- YAML
0 commit comments