Skip to content

Commit 79d4f28

Browse files
TrottBridgeAR
authored andcommitted
doc: remove "strongly recommended" hedging in deprecations.md
PR-URL: #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>
1 parent d81c67b commit 79d4f28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/deprecations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ changes:
134134
Type: Runtime (supports [`--pending-deprecation`][])
135135

136136
The `Buffer()` function and `new Buffer()` constructor are deprecated due to
137-
API usability issues that can potentially lead to accidental security issues.
137+
API usability issues that can lead to accidental security issues.
138138

139-
As an alternative, use of the following methods of constructing `Buffer` objects
140-
is strongly recommended:
139+
As an alternative, use one of the following methods of constructing `Buffer`
140+
objects:
141141

142142
* [`Buffer.alloc(size[, fill[, encoding]])`][alloc] - Create a `Buffer` with
143143
*initialized* memory.

0 commit comments

Comments
 (0)