doc: update process.binding deprecation text

As part of the recent security release, 4aa0eff7 updated the
documentation but bd7443ad did not.

PR-URL: https://github.com/nodejs/node/pull/49086
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
Tobias Nießen 2023-08-11 21:13:59 +02:00 committed by GitHub
parent c00dfc8e33
commit e117f16e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2216,7 +2216,7 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
`process.binding()` is for use by Node.js internal code only.
While `process.binding()` has not reached End-of-Life status in general, it is
unavailable when [policies][] are enabled.
unavailable when [policies][] or the [permission model][] are enabled.
### DEP0112: `dgram` private APIs
@ -3535,6 +3535,7 @@ Consider using alternatives such as the [`mock`][] helper function.
[from_string_encoding]: buffer.md#static-method-bufferfromstring-encoding
[legacy URL API]: url.md#legacy-url-api
[legacy `urlObject`]: url.md#legacy-urlobject
[permission model]: permissions.md#permission-model
[policies]: permissions.md#policies
[static methods of `crypto.Certificate()`]: crypto.md#class-certificate
[subpath exports]: packages.md#subpath-exports