Skip to content

Commit a382932

Browse files
TrottMylesBorins
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 6ba4ac0 commit a382932

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
@@ -2062,8 +2062,7 @@ changes:
20622062
20632063
Type: Documentation-only
20642064
2065-
The `process.binding()` API is intended for use by Node.js internal code
2066-
only. Use of `process.binding()` by userland code is unsupported.
2065+
`process.binding()` is for use by Node.js internal code only.
20672066
20682067
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
20692068
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size

0 commit comments

Comments
 (0)