File tree 1 file changed +14
-1
lines changed
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.
167
167
#### ` filehandle.appendFile(data[, options]) `
168
168
<!-- YAML
169
169
added: 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.
170
182
-->
171
183
172
- * ` data ` {string|Buffer|TypedArray|DataView}
184
+ * ` data ` {string|Buffer|TypedArray|DataView|Object|AsyncIterable|Iterable
185
+ |Stream}
173
186
* ` options ` {Object|string}
174
187
* ` encoding ` {string|null} ** Default:** ` 'utf8' `
175
188
* Returns: {Promise} Fulfills with ` undefined ` upon success.
You can’t perform that action at this time.
0 commit comments