util: assign missed deprecation number
Refs: https://github.com/nodejs/node/pull/18415 PR-URL: https://github.com/nodejs/node/pull/19149 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
b20af8088a
commit
ae3137049f
@ -932,8 +932,8 @@ Using the `noAssert` argument has no functionality anymore. All input is going
|
|||||||
to be verified, no matter if it is set to true or not. Skipping the verification
|
to be verified, no matter if it is set to true or not. Skipping the verification
|
||||||
could lead to hard to find errors and crashes.
|
could lead to hard to find errors and crashes.
|
||||||
|
|
||||||
<a id="DEP0XXX"></a>
|
<a id="DEP0103"></a>
|
||||||
### DEP0XXX: process.binding('util').is[...] typechecks
|
### DEP0103: process.binding('util').is[...] typechecks
|
||||||
|
|
||||||
Type: Documentation-only (supports [`--pending-deprecation`][])
|
Type: Documentation-only (supports [`--pending-deprecation`][])
|
||||||
|
|
||||||
|
2
lib/internal/bootstrap_node.js
vendored
2
lib/internal/bootstrap_node.js
vendored
@ -128,7 +128,7 @@
|
|||||||
'Accessing native typechecking bindings of Node ' +
|
'Accessing native typechecking bindings of Node ' +
|
||||||
'directly is deprecated. ' +
|
'directly is deprecated. ' +
|
||||||
`Please use \`util.types.${name}\` instead.`,
|
`Please use \`util.types.${name}\` instead.`,
|
||||||
'DEP0XXX') :
|
'DEP0103') :
|
||||||
types[name];
|
types[name];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user