diff options
author | Rich Trott <rtrott@gmail.com> | 2019-06-02 17:32:04 +0200 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-06-05 23:06:27 +0800 |
commit | 703348f2b2d1250cab89e71700bae1f1bf9a3755 (patch) | |
tree | 843eed78368b4a3075a313a551d19b0d6f2f7b88 /doc | |
parent | 2c76874e4c7831d306335d75eca80c69e73c5603 (diff) | |
download | android-node-v8-703348f2b2d1250cab89e71700bae1f1bf9a3755.tar.gz android-node-v8-703348f2b2d1250cab89e71700bae1f1bf9a3755.tar.bz2 android-node-v8-703348f2b2d1250cab89e71700bae1f1bf9a3755.zip |
doc: remove "strongly recommended" hedging in deprecations.md
PR-URL: https://github.com/nodejs/node/pull/28031
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 284df5a288..3b5216b997 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -134,10 +134,10 @@ changes: Type: Runtime (supports [`--pending-deprecation`][]) The `Buffer()` function and `new Buffer()` constructor are deprecated due to -API usability issues that can potentially lead to accidental security issues. +API usability issues that can lead to accidental security issues. -As an alternative, use of the following methods of constructing `Buffer` objects -is strongly recommended: +As an alternative, use one of the following methods of constructing `Buffer` +objects: * [`Buffer.alloc(size[, fill[, encoding]])`][alloc] - Create a `Buffer` with *initialized* memory. |