Skip to content

Commit e362ca1

Browse files
doc: runtime deprecate util.isUndefined
1 parent e58c7ac commit e362ca1

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/api/deprecations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,9 @@ The [`util.isSymbol()`][] API is deprecated.
12881288

12891289
<!-- YAML
12901290
changes:
1291+
- version: REPLACEME
1292+
pr-url: https://github.com/nodejs/node/pull/50488
1293+
description: Runtime deprecation.
12911294
- version:
12921295
- v6.12.0
12931296
- v4.8.6
@@ -1300,7 +1303,7 @@ changes:
13001303
description: Documentation-only deprecation.
13011304
-->
13021305

1303-
Type: Documentation-only
1306+
Type: Runtime
13041307

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

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ module.exports = {
385385
isNumber: deprecate(isNumber, 'The `util.isNumber API is deprecated.', 'DEP0052'),
386386
isString: deprecate(isString, 'The `util.isString API is deprecated.', 'DEP0056'),
387387
isSymbol: deprecate(isSymbol, 'The `util.isSymbol API is deprecated.', 'DEP0057'),
388-
isUndefined,
388+
isUndefined: deprecate(isUndefined, 'The `util.isUndefined API is deprecated.', 'DEP0058'),
389389
isRegExp: deprecate(types.isRegExp, 'The `util.isRegExp API is deprecated.', 'DEP0055'),
390390
isObject: deprecate(isObject, 'The `util.isObject API is deprecated.', 'DEP0053'),
391391
isDate: deprecate(types.isDate, 'The `util.isDate API is deprecated.', 'DEP0047'),

0 commit comments

Comments
 (0)