Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3b92be2

Browse filesBrowse 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
Copy full SHA for 3b92be2

File tree

Expand file treeCollapse file tree

2 files changed

+0
-14
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-14
lines changed
Open diff view settings
Collapse file

‎lib/util.js‎

Copy file name to clipboardExpand all lines: lib/util.js
-5Lines 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,
Collapse file

‎test/parallel/test-util-getcallsite.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-util-getcallsite.js
-9Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.