diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b1cad2d701fbde..4eb90c4c38c2d8 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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 could lead to hard to find errors and crashes. - -### DEP0XXX: process.binding('util').is[...] typechecks + +### DEP0103: process.binding('util').is[...] typechecks Type: Documentation-only (supports [`--pending-deprecation`][]) diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js index 2444c117816ed4..97b6db03ce107d 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -128,7 +128,7 @@ 'Accessing native typechecking bindings of Node ' + 'directly is deprecated. ' + `Please use \`util.types.${name}\` instead.`, - 'DEP0XXX') : + 'DEP0103') : types[name]; } }