We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81c67b commit 79d4f28Copy full SHA for 79d4f28
doc/api/deprecations.md
@@ -134,10 +134,10 @@ changes:
134
Type: Runtime (supports [`--pending-deprecation`][])
135
136
The `Buffer()` function and `new Buffer()` constructor are deprecated due to
137
-API usability issues that can potentially lead to accidental security issues.
+API usability issues that can lead to accidental security issues.
138
139
-As an alternative, use of the following methods of constructing `Buffer` objects
140
-is strongly recommended:
+As an alternative, use one of the following methods of constructing `Buffer`
+objects:
141
142
* [`Buffer.alloc(size[, fill[, encoding]])`][alloc] - Create a `Buffer` with
143
*initialized* memory.
0 commit comments