Skip to content

Commit

Permalink
doc: remove "strongly recommended" hedging in deprecations.md
Browse files Browse the repository at this point in the history
PR-URL: #28031
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
Trott authored and BridgeAR committed Jun 17, 2019
1 parent d81c67b commit 79d4f28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 79d4f28

Please sign in to comment.