From a3829320977ea2e33b9c3422dc5e47afc6c830ef Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 22 Jan 2019 17:23:35 -0800 Subject: [PATCH] doc: simplify process.binding() deprecation message Keep the process.binding() deprecation message short and direct. In addition to the usual benefits of doing that, it also means the message is less likely to line-wrap once we move to a runtime deprecation. PR-URL: https://github.com/nodejs/node/pull/25654 Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- doc/api/deprecations.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 4374d4dd3c7afa..90c2ad5d4f2197 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2062,8 +2062,7 @@ changes: Type: Documentation-only -The `process.binding()` API is intended for use by Node.js internal code -only. Use of `process.binding()` by userland code is unsupported. +`process.binding()` is for use by Node.js internal code only. [`--pending-deprecation`]: cli.html#cli_pending_deprecation [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size