Skip to content

Commit 52eba5b

Browse files
codebytereaddaleax
authored andcommitted
doc: add missing copyFile change history
PR-URL: #35056 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 799fad7 commit 52eba5b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/fs.md

+15
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,11 @@ operations. The specific constants currently defined are described in
15791579
## `fs.copyFile(src, dest[, flags], callback)`
15801580
<!-- YAML
15811581
added: v8.5.0
1582+
changes:
1583+
- version: v14.0.0
1584+
pr-url: https://github.com/nodejs/node/pull/27044
1585+
description: Changed 'flags' argument to 'mode' and imposed
1586+
stricter type validation.
15821587
-->
15831588

15841589
* `src` {string|Buffer|URL} source filename to copy
@@ -1629,6 +1634,11 @@ fs.copyFile('source.txt', 'destination.txt', COPYFILE_EXCL, callback);
16291634
## `fs.copyFileSync(src, dest[, flags])`
16301635
<!-- YAML
16311636
added: v8.5.0
1637+
changes:
1638+
- version: v14.0.0
1639+
pr-url: https://github.com/nodejs/node/pull/27044
1640+
description: Changed 'flags' argument to 'mode' and imposed
1641+
stricter type validation.
16321642
-->
16331643

16341644
* `src` {string|Buffer|URL} source filename to copy
@@ -4848,6 +4858,11 @@ upon success.
48484858
### `fsPromises.copyFile(src, dest[, flags])`
48494859
<!-- YAML
48504860
added: v10.0.0
4861+
changes:
4862+
- version: v14.0.0
4863+
pr-url: https://github.com/nodejs/node/pull/27044
4864+
description: Changed 'flags' argument to 'mode' and imposed
4865+
stricter type validation.
48514866
-->
48524867

48534868
* `src` {string|Buffer|URL} source filename to copy

0 commit comments

Comments
 (0)