doc: fixup process.binding deprecation code
PR-URL: https://github.com/nodejs/node/pull/22062 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me>
This commit is contained in:
parent
55623b5ba0
commit
dcfbedb365
@ -930,7 +930,7 @@ Using `process.binding()` in general should be avoided. The type checking
|
|||||||
methods in particular can be replaced by using [`util.types`][].
|
methods in particular can be replaced by using [`util.types`][].
|
||||||
|
|
||||||
This deprecation has been superseded by the deprecation of the
|
This deprecation has been superseded by the deprecation of the
|
||||||
`process.binding()` API ([DEP00XX](#DEP00XX)).
|
`process.binding()` API ([DEP0111](#DEP0111)).
|
||||||
|
|
||||||
<a id="DEP0104"></a>
|
<a id="DEP0104"></a>
|
||||||
### DEP0104: process.env string coercion
|
### DEP0104: process.env string coercion
|
||||||
@ -1002,8 +1002,8 @@ Type: Documentation-only
|
|||||||
The option `produceCachedData` has been deprecated. Use
|
The option `produceCachedData` has been deprecated. Use
|
||||||
[`script.createCachedData()`][] instead.
|
[`script.createCachedData()`][] instead.
|
||||||
|
|
||||||
<a id="DEP00XX"></a>
|
<a id="DEP0111"></a>
|
||||||
### DEP00XX: process.binding()
|
### DEP0111: process.binding()
|
||||||
|
|
||||||
Type: Documentation-only
|
Type: Documentation-only
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user