doc: add deprecation notice

PR-URL: https://github.com/nodejs/node/pull/18395
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Ruben Bridgewater committed 2018-03-02 19:47:19 +00:00
1 parent 81aaab75ca
commit c111e133ae
1 file changed
+9
+9
View File
@@ -923,6 +923,15 @@ Type: End-of-Life
The `--with-lttng` compile time option is removed.
<a id="DEP0102"></a>
### DEP0102: Using `noAssert` in Buffer#(read|write) operations.
Type: End-of-Life
Using the `noAssert` argument has no functionality anymore. All input is going
to be verified, no matter if it is set to true or not. Skipping the verification
could lead to hard to find errors and crashes.
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array