Skip to content

Commit

Permalink
doc: add history for withFileTypes in fs.readdir[Sync]()
Browse files Browse the repository at this point in the history
PR-URL: #22794
Fixes: #22777
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
tiendq authored and targos committed Sep 20, 2018
1 parent 0015430 commit 6786730
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
<!-- YAML
added: v0.1.8
changes:
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22020
description: New option `withFileTypes` was added.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/12562
description: The `callback` parameter is no longer optional. Not passing
Expand Down Expand Up @@ -2421,6 +2424,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
<!-- YAML
added: v0.1.21
changes:
- version: v10.10.0
pr-url: https://github.com/nodejs/node/pull/22020
description: New option `withFileTypes` was added.
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `path` parameter can be a WHATWG `URL` object using `file:`
Expand Down

0 comments on commit 6786730

Please sign in to comment.