caller
caller copied to clipboard
A node module for enabling a module to determine its caller.
Any suggestions? Node: ^12.2.0
Bug Detail: https://github.com/babel/babel/issues/14254 and Babel team said: "I suggest opening an issue in that package's repository asking to support polyfilled error constructors."
Node 8 has a breaking change in the way the error stack works. This change addresses that. Caveat: drops support for `depth`. Note: this is a breaking change!
I am always getting "internal/module.js" as the caller. Why? I am using the module just like in the "Initialization Time Caller" example in the readme.