From 928a7df0132c97014d408950b849fdc39216d485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 9 Aug 2023 21:00:53 +0200 Subject: [PATCH] doc: update process.binding deprecation text As part of the recent security release, 4aa0eff7 updated the documentation but bd7443ad did not. --- 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