Skip to content

Commit c93e5e1

Browse files
Trottaddaleax
authored andcommitted
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: #25654 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 9f1b5c6 commit c93e5e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/deprecations.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2114,8 +2114,7 @@ changes:
21142114
21152115
Type: Documentation-only
21162116
2117-
The `process.binding()` API is intended for use by Node.js internal code
2118-
only. Use of `process.binding()` by userland code is unsupported.
2117+
`process.binding()` is for use by Node.js internal code only.
21192118
21202119
<a id="DEP0112"></a>
21212120
### DEP0112: dgram private APIs

0 commit comments

Comments
 (0)