From ae3137049f619b0de01b063075ece994ff2dc741 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 5 Mar 2018 18:02:26 +0000 Subject: [PATCH] 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 --- doc/api/deprecations.md | 4 ++-- lib/internal/bootstrap_node.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b1cad2d701f..4eb90c4c38c 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 2444c117816..97b6db03ce1 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]; } }