summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorLivia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>2022-04-08 18:16:08 +0800
committerGitHub <noreply@github.com>2022-04-08 11:16:08 +0100
commit0bac5478eb9d242719f7e19f44db03d36c3647d8 (patch)
tree8240da4008c1aadec639c4d5999886a56844d3ba /doc/api
parentc08a361f706e60db9a2718282ea12abc1b04b882 (diff)
downloadnode-new-0bac5478eb9d242719f7e19f44db03d36c3647d8.tar.gz
fs: runtime deprecate string coercion in `fs.write`, `fs.writeFileSync`
This also affects `fs.writeFile`, `fs.appendFile`, and `fs.appendFileSync` PR-URL: https://github.com/nodejs/node/pull/42607 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/deprecations.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 32b25ee9b8..b154c96c9e 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -3114,12 +3114,15 @@ resources and not the actual references.
<!-- YAML
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/42607
+ description: Runtime deprecation.
- version: v17.8.0
pr-url: https://github.com/nodejs/node/pull/42149
description: Documentation-only deprecation.
-->
-Type: Documentation-only
+Type: Runtime
Implicit coercion of objects with own `toString` property, passed as second
parameter in [`fs.write()`][], [`fs.writeFile()`][], [`fs.appendFile()`][],