diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index fde2cd267bb56e..7ef2ccd5ab2aaf 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -814,8 +814,8 @@ because it also made sense to interpret the value as the number of bytes read by the engine, but is inconsistent with other streams in Node.js that expose values under these names. - -### 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 f89f98d2db8a74..03e06d5b23d937 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -131,7 +131,7 @@ 'Accessing native typechecking bindings of Node ' + 'directly is deprecated. ' + `Please use \`util.types.${name}\` instead.`, - 'DEP0XXX') : + 'DEP0103') : types[name]; } }