Skip to content

Commit 58d0833

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 52877ee commit 58d0833

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
@@ -2395,6 +2395,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
23952395
<!-- YAML
23962396
added: v0.1.8
23972397
changes:
2398+
- version: v10.10.0
2399+
pr-url: https://github.com/nodejs/node/pull/22020
2400+
description: New option `withFileTypes` was added.
23982401
- version: v10.0.0
23992402
pr-url: https://github.com/nodejs/node/pull/12562
24002403
description: The `callback` parameter is no longer optional. Not passing
@@ -2436,6 +2439,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
24362439
<!-- YAML
24372440
added: v0.1.21
24382441
changes:
2442+
- version: v10.10.0
2443+
pr-url: https://github.com/nodejs/node/pull/22020
2444+
description: New option `withFileTypes` was added.
24392445
- version: v7.6.0
24402446
pr-url: https://github.com/nodejs/node/pull/10739
24412447
description: The `path` parameter can be a WHATWG `URL` object using `file:`

0 commit comments

Comments
 (0)