From e117f16e09fa6b668c6ff3987725448ff26bee31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Fri, 11 Aug 2023 21:13:59 +0200 Subject: [PATCH] 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 Reviewed-By: Chemi Atlow Reviewed-By: Luigi Pinca Reviewed-By: Moshe Atlow --- doc/api/deprecations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b0530ecbc5099a..9837d402036e28 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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