Skip to content

Commit

Permalink
doc: simplify process.binding() deprecation message
Browse files Browse the repository at this point in the history
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: #25654
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and addaleax committed Jan 28, 2019
1 parent 9f1b5c6 commit c93e5e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2114,8 +2114,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
Expand Down

0 comments on commit c93e5e1

Please sign in to comment.