Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 79d4f28

Browse filesBrowse 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
Copy full SHA for 79d4f28

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.