@@ -4132,6 +4132,10 @@ the end of the file.
4132
4132
<!-- YAML
4133
4133
added: v0.11.5
4134
4134
changes:
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.
4135
4139
- version: v14.12.0
4136
4140
pr-url: https://github.com/nodejs/node/pull/34993
4137
4141
description: The ` string` parameter will stringify an object with an
@@ -4196,6 +4200,11 @@ details.
4196
4200
<!-- YAML
4197
4201
added: v0.1.29
4198
4202
changes:
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 ` .
4199
4208
- version: v16.0.0
4200
4209
pr-url: https://github.com/nodejs/node/pull/37460
4201
4210
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.
4254
4263
The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
4255
4264
for more details.
4256
4265
4257
- If ` data` is a plain object, it must have an own (not inherited) ` toString`
4258
- function property.
4259
-
4260
4266
` ` ` mjs
4261
4267
import { writeFile } from ' fs' ;
4262
4268
import { Buffer } from ' buffer' ;
@@ -5414,6 +5420,10 @@ this API: [`fs.utimes()`][].
5414
5420
<!-- YAML
5415
5421
added: v0.1.29
5416
5422
changes:
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.
5417
5427
- version: v14.12.0
5418
5428
pr-url: https://github.com/nodejs/node/pull/34993
5419
5429
description: The ` data` parameter will stringify an object with an
@@ -5443,9 +5453,6 @@ changes:
5443
5453
5444
5454
Returns ` undefined ` .
5445
5455
5446
- If ` data` is a plain object, it must have an own (not inherited) ` toString`
5447
- function property.
5448
-
5449
5456
The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
5450
5457
for more details.
5451
5458
0 commit comments