Skip to content

Commit

Permalink
doc: runtime deprecate util.log
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Oct 31, 2023
1 parent df300f2 commit add0754
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 @@ -1311,6 +1311,9 @@ The [`util.isUndefined()`][] API is deprecated.

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/50487
description: Runtime deprecation.
- version: v6.12.0
pr-url: https://github.com/nodejs/node/pull/10116
description: A deprecation code has been assigned.
Expand All @@ -1319,7 +1322,7 @@ changes:
description: Documentation-only deprecation.
-->

Type: Documentation-only
Type: Runtime

The [`util.log()`][] 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 @@ -397,7 +397,7 @@ module.exports = {
isError: deprecate(isError, 'The `util.isError API is deprecated.', 'DEP0048'),
isFunction: deprecate(isFunction, 'The `util.isFunction API is deprecated.', 'DEP0049'),
isPrimitive: deprecate(isPrimitive, 'The `util.isPrimitive API is deprecated.', 'DEP0054'),
log,
log: deprecate(log, 'The `util.log API is deprecated.', 'DEP0059'),
promisify,
stripVTControlCharacters,
toUSVString,
Expand Down

0 comments on commit add0754

Please sign in to comment.