Skip to content

Commit 2c43da8

Browse files
tiendqvsemozhetbyt
authored andcommitted
doc: add history for withFileTypes in fs.readdir[Sync]()
PR-URL: #22794 Fixes: #22777 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 9392535 commit 2c43da8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/fs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,6 +2400,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
24002400
<!-- YAML
24012401
added: v0.1.8
24022402
changes:
2403+
- version: v10.10.0
2404+
pr-url: https://github.com/nodejs/node/pull/22020
2405+
description: New option `withFileTypes` was added.
24032406
- version: v10.0.0
24042407
pr-url: https://github.com/nodejs/node/pull/12562
24052408
description: The `callback` parameter is no longer optional. Not passing
@@ -2441,6 +2444,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
24412444
<!-- YAML
24422445
added: v0.1.21
24432446
changes:
2447+
- version: v10.10.0
2448+
pr-url: https://github.com/nodejs/node/pull/22020
2449+
description: New option `withFileTypes` was added.
24442450
- version: v7.6.0
24452451
pr-url: https://github.com/nodejs/node/pull/10739
24462452
description: The `path` parameter can be a WHATWG `URL` object using `file:`

0 commit comments

Comments
 (0)