Skip to content

Commit 6384766

Browse files
RafaelGSSjuanarbol
authored andcommitted
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 eb03a82 commit 6384766

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

lib/util.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -620,11 +620,6 @@ module.exports = {
620620
format,
621621
styleText,
622622
formatWithOptions,
623-
// Deprecated getCallSite.
624-
// This API can be removed in next semver-minor release.
625-
getCallSite: deprecate(getCallSites,
626-
'The `util.getCallSite` API has been renamed to `util.getCallSites()`.',
627-
'ExperimentalWarning'),
628623
getCallSites,
629624
getSystemErrorMap,
630625
getSystemErrorName,

test/parallel/test-util-getcallsite.js

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

0 commit comments

Comments
 (0)