dwyl / dwyl/learn-node-js-by-example
(node:27854) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
Open
- Dominant language
- HTML
- Stars
- 48
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
While attempting to use [`function.caller`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller) in a logging function ...
we are seeing the following error message:
```sh
(node:27854) [DEP0097] DeprecationWarning:
Using a domain property in MakeCallback is deprecated.
Use the async_context variant of MakeCallback or the AsyncResource class instead.
```
This is _cryptic_ because the error message does not give any indication as to _where_ the "Deprecated" code is ... 🙄
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.