Skip to content

Commit

Permalink
util: assign missed deprecation number
Browse files Browse the repository at this point in the history
Refs: nodejs#18415
PR-URL: nodejs#19149
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
addaleax authored and BridgeAR committed May 1, 2018
1 parent ef7de43 commit 148210f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<a id="DEP0XXX"></a>
### DEP0XXX: process.binding('util').is[...] typechecks
<a id="DEP0103"></a>
### DEP0103: process.binding('util').is[...] typechecks
Type: Documentation-only (supports [`--pending-deprecation`][])
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
'Accessing native typechecking bindings of Node ' +
'directly is deprecated. ' +
`Please use \`util.types.${name}\` instead.`,
'DEP0XXX') :
'DEP0103') :
types[name];
}
}
Expand Down

0 comments on commit 148210f

Please sign in to comment.