@@ -4395,6 +4395,10 @@ the end of the file.
43954395<!-- YAML
43964396added: v0.11.5
43974397changes:
4398+ - version: v17.8.0
4399+ pr-url: https://github.com/nodejs/node/pull/42149
4400+ description: Passing to the ` string` parameter an object with an own
4401+ ` toString` function is deprecated.
43984402 - version: v14.12.0
43994403 pr-url: https://github.com/nodejs/node/pull/34993
44004404 description: The ` string` parameter will stringify an object with an
@@ -4464,6 +4468,10 @@ changes:
44644468 description: Passing an invalid callback to the ` callback` argument
44654469 now throws ` ERR_INVALID_ARG_TYPE ` instead of
44664470 ` ERR_INVALID_CALLBACK ` .
4471+ - version: v17.8.0
4472+ pr-url: https://github.com/nodejs/node/pull/42149
4473+ description: Passing to the ` string` parameter an object with an own
4474+ ` toString` function is deprecated.
44674475 - version: v16.0.0
44684476 pr-url: https://github.com/nodejs/node/pull/37460
44694477 description: The error returned may be an ` AggregateError ` if more than one
@@ -4524,9 +4532,6 @@ The `encoding` option is ignored if `data` is a buffer.
45244532The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
45254533for more details.
45264534
4527- If ` data` is a plain object, it must have an own (not inherited) ` toString`
4528- function property.
4529-
45304535` ` ` mjs
45314536import { writeFile } from ' fs' ;
45324537import { Buffer } from ' buffer' ;
@@ -5694,6 +5699,10 @@ this API: [`fs.utimes()`][].
56945699<!-- YAML
56955700added: v0.1.29
56965701changes:
5702+ - version: v17.8.0
5703+ pr-url: https://github.com/nodejs/node/pull/42149
5704+ description: Passing to the ` data` parameter an object with an own
5705+ ` toString` function is deprecated.
56975706 - version: v14.12.0
56985707 pr-url: https://github.com/nodejs/node/pull/34993
56995708 description: The ` data` parameter will stringify an object with an
@@ -5723,9 +5732,6 @@ changes:
57235732
57245733Returns ` undefined ` .
57255734
5726- If ` data` is a plain object, it must have an own (not inherited) ` toString`
5727- function property.
5728-
57295735The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
57305736for more details.
57315737
0 commit comments