@@ -4395,6 +4395,10 @@ the end of the file.
4395
4395
<!-- YAML
4396
4396
added: v0.11.5
4397
4397
changes:
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.
4398
4402
- version: v14.12.0
4399
4403
pr-url: https://github.com/nodejs/node/pull/34993
4400
4404
description: The ` string` parameter will stringify an object with an
@@ -4464,6 +4468,10 @@ changes:
4464
4468
description: Passing an invalid callback to the ` callback` argument
4465
4469
now throws ` ERR_INVALID_ARG_TYPE ` instead of
4466
4470
` 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.
4467
4475
- version: v16.0.0
4468
4476
pr-url: https://github.com/nodejs/node/pull/37460
4469
4477
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.
4524
4532
The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
4525
4533
for more details.
4526
4534
4527
- If ` data` is a plain object, it must have an own (not inherited) ` toString`
4528
- function property.
4529
-
4530
4535
` ` ` mjs
4531
4536
import { writeFile } from ' fs' ;
4532
4537
import { Buffer } from ' buffer' ;
@@ -5694,6 +5699,10 @@ this API: [`fs.utimes()`][].
5694
5699
<!-- YAML
5695
5700
added: v0.1.29
5696
5701
changes:
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.
5697
5706
- version: v14.12.0
5698
5707
pr-url: https://github.com/nodejs/node/pull/34993
5699
5708
description: The ` data` parameter will stringify an object with an
@@ -5723,9 +5732,6 @@ changes:
5723
5732
5724
5733
Returns ` undefined ` .
5725
5734
5726
- If ` data` is a plain object, it must have an own (not inherited) ` toString`
5727
- function property.
5728
-
5729
5735
The ` mode` option only affects the newly created file. See [` fs .open ()` ][]
5730
5736
for more details.
5731
5737
0 commit comments