From c111e133ae58f0d3a6a0e464abc047879edd66bf Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Thu, 15 Feb 2018 14:22:57 +0100 Subject: [PATCH] doc: add deprecation notice PR-URL: https://github.com/nodejs/node/pull/18395 Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Anatoli Papirovski Reviewed-By: Ben Noordhuis --- doc/api/deprecations.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b2eaa54254d64e..8b501854f110e2 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -923,6 +923,15 @@ Type: End-of-Life The `--with-lttng` compile time option is removed. + +### 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