3 const callsites = () => {
4 const _prepareStackTrace = Error.prepareStackTrace;
5 Error.prepareStackTrace = (_, stack) => stack;
6 const stack = new Error().stack.slice(1);
7 Error.prepareStackTrace = _prepareStackTrace;
11 module.exports = callsites;
12 // TODO: Remove this for the next major release
13 module.exports.default = callsites;