summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTien Do <tiendq@gmail.com>2018-09-10 21:20:42 +0700
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-09-12 22:14:49 +0300
commit2c43da8347132e0850ce0514b5c3e5373664999a (patch)
tree6229af0788cb94e633e96769fa656cb4953b5aca /doc
parent93925353f8af7f6d5c99537a71f9a3fe9cf5f795 (diff)
downloadandroid-node-v8-2c43da8347132e0850ce0514b5c3e5373664999a.tar.gz
android-node-v8-2c43da8347132e0850ce0514b5c3e5373664999a.tar.bz2
android-node-v8-2c43da8347132e0850ce0514b5c3e5373664999a.zip
doc: add history for withFileTypes in fs.readdir[Sync]()
PR-URL: https://github.com/nodejs/node/pull/22794 Fixes: https://github.com/nodejs/node/issues/22777 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/fs.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 94c8a2135e..bade7dc750 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -2400,6 +2400,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
@@ -2441,6 +2444,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:`