Skip to content

Commit 3b92be2

Browse files
committed
lib: remove util.getCallSite
This API has been replaced by util.getCallSites(). It was previously experimental with a warning about its usage and its removal in a semver-minor PR. Here it is. PR-URL: #59980 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a533e5b commit 3b92be2

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

lib/util.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,6 @@ module.exports = {
473473
format,
474474
styleText,
475475
formatWithOptions,
476-
// Deprecated getCallSite.
477-
// This API can be removed in next semver-minor release.
478-
getCallSite: deprecate(getCallSites,
479-
'The `util.getCallSite` API has been renamed to `util.getCallSites()`.',
480-
'ExperimentalWarning'),
481476
getCallSites,
482477
getSystemErrorMap,
483478
getSystemErrorName,

test/parallel/test-util-getcallsite.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)