mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
util: do not mark experimental feature as deprecated
PR-URL: https://github.com/nodejs/node/pull/55740 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
1 parent
f11d93d8ef
commit
fce8c32c19
5 files changed
+12
-18
No files matched your search
@@ -4,6 +4,6 @@ require('../common');
|
||||
const { getCallSite } = require('node:util');
|
||||
const { expectWarning } = require('../common');
|
||||
|
||||
const warning = 'The `util.getCallSite` API is deprecated. Please use `util.getCallSites()` instead.';
|
||||
expectWarning('DeprecationWarning', warning, 'DEP0186');
|
||||
const warning = 'The `util.getCallSite` API has been renamed to `util.getCallSites()`.';
|
||||
expectWarning('ExperimentalWarning', warning);
|
||||
getCallSite();
|
||||
Reference in new issue
Block a user