Skip to content

Commit

Permalink
doc: runtime deprecate util.isUndefined
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Oct 31, 2023
1 parent e58c7ac commit e362ca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,9 @@ The [`util.isSymbol()`][] API is deprecated.

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
- v6.12.0
- v4.8.6
Expand All @@ -1300,7 +1303,7 @@ changes:
description: Documentation-only deprecation.
-->

Type: Documentation-only
Type: Runtime

The [`util.isUndefined()`][] API is deprecated.

Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ module.exports = {
isNumber: deprecate(isNumber, 'The `util.isNumber API is deprecated.', 'DEP0052'),
isString: deprecate(isString, 'The `util.isString API is deprecated.', 'DEP0056'),
isSymbol: deprecate(isSymbol, 'The `util.isSymbol API is deprecated.', 'DEP0057'),
isUndefined,
isUndefined: deprecate(isUndefined, 'The `util.isUndefined API is deprecated.', 'DEP0058'),
isRegExp: deprecate(types.isRegExp, 'The `util.isRegExp API is deprecated.', 'DEP0055'),
isObject: deprecate(isObject, 'The `util.isObject API is deprecated.', 'DEP0053'),
isDate: deprecate(types.isDate, 'The `util.isDate API is deprecated.', 'DEP0047'),
Expand Down

0 comments on commit e362ca1

Please sign in to comment.