Skip to content

Commit 6786730

Browse files
tiendqtargos
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 0015430 commit 6786730

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/fs.md

+6
Original file line numberDiff line numberDiff line change
@@ -2380,6 +2380,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
23802380
<!-- YAML
23812381
added: v0.1.8
23822382
changes:
2383+
- version: v10.10.0
2384+
pr-url: https://github.com/nodejs/node/pull/22020
2385+
description: New option `withFileTypes` was added.
23832386
- version: v10.0.0
23842387
pr-url: https://github.com/nodejs/node/pull/12562
23852388
description: The `callback` parameter is no longer optional. Not passing
@@ -2421,6 +2424,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
24212424
<!-- YAML
24222425
added: v0.1.21
24232426
changes:
2427+
- version: v10.10.0
2428+
pr-url: https://github.com/nodejs/node/pull/22020
2429+
description: New option `withFileTypes` was added.
24242430
- version: v7.6.0
24252431
pr-url: https://github.com/nodejs/node/pull/10739
24262432
description: The `path` parameter can be a WHATWG `URL` object using `file:`

0 commit comments

Comments
 (0)