@@ -4132,6 +4132,10 @@ the end of the file.
41324132<!-- YAML
41334133added: v0.11.5
41344134changes:
4135+ - version: v17.8.0
4136+ pr-url: https://github.com/nodejs/node/pull/42149
4137+ description: Passing to the ` string` parameter an object with an own
4138+ ` toString` function is deprecated.
41354139 - version: v14.12.0
41364140 pr-url: https://github.com/nodejs/node/pull/34993
41374141 description: The ` string` parameter will stringify an object with an
@@ -4196,6 +4200,11 @@ details.
41964200<!-- YAML
41974201added: v0.1.29
41984202changes:
4203+ - version: REPLACEME
4204+ pr-url: https://github.com/nodejs/node/pull/41678
4205+ description: Passing an invalid callback to the ` callback` argument
4206+ now throws ` ERR_INVALID_ARG_TYPE ` instead of
4207+ ` ERR_INVALID_CALLBACK ` .
41994208 - version: v16.0.0
42004209 pr-url: https://github.com/nodejs/node/pull/37460
42014210 description: The error returned may be an ` AggregateError ` if more than one
@@ -4254,9 +4263,6 @@ The `encoding` option is ignored if `data` is a buffer.
42544263The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
42554264for more details.
42564265
4257- If ` data` is a plain object, it must have an own (not inherited) ` toString`
4258- function property.
4259-
42604266` ` ` mjs
42614267import { writeFile } from ' fs' ;
42624268import { Buffer } from ' buffer' ;
@@ -5414,6 +5420,10 @@ this API: [`fs.utimes()`][].
54145420<!-- YAML
54155421added: v0.1.29
54165422changes:
5423+ - version: v17.8.0
5424+ pr-url: https://github.com/nodejs/node/pull/42149
5425+ description: Passing to the ` data` parameter an object with an own
5426+ ` toString` function is deprecated.
54175427 - version: v14.12.0
54185428 pr-url: https://github.com/nodejs/node/pull/34993
54195429 description: The ` data` parameter will stringify an object with an
@@ -5443,9 +5453,6 @@ changes:
54435453
54445454Returns ` undefined ` .
54455455
5446- If ` data` is a plain object, it must have an own (not inherited) ` toString`
5447- function property.
5448-
54495456The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
54505457for more details.
54515458
0 commit comments