File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,22 @@ close {FileHandle}s. Node.js may change this behavior in the future.
167167#### ` filehandle.appendFile(data[, options]) `
168168<!-- YAML
169169added: v10.0.0
170+ changes:
171+ - version: v14.18.0
172+ pr-url: https://github.com/nodejs/node/pull/37490
173+ description: The `data` argument supports `AsyncIterable`, `Iterable` and `Stream`.
174+ - version: v14.12.0
175+ pr-url: https://github.com/nodejs/node/pull/34993
176+ description: The `data` parameter will stringify an object with an
177+ explicit `toString` function.
178+ - version: v14.0.0
179+ pr-url: https://github.com/nodejs/node/pull/31030
180+ description: The `data` parameter won't coerce unsupported input to
181+ strings anymore.
170182-->
171183
172- * ` data ` {string|Buffer|TypedArray|DataView}
184+ * ` data ` {string|Buffer|TypedArray|DataView|Object|AsyncIterable|Iterable
185+ |Stream}
173186* ` options ` {Object|string}
174187 * ` encoding ` {string|null} ** Default:** ` 'utf8' `
175188* Returns: {Promise} Fulfills with ` undefined ` upon success.
You can’t perform that action at this time.
0 commit comments