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 <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Rich Trott 2019-01-22 17:23:35 -08:00
parent 641de82404
commit 7d27f0e9d0

View File

@ -2135,8 +2135,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.
<a id="DEP0112"></a>
### DEP0112: dgram private APIs