better-assert icon indicating copy to clipboard operation
better-assert copied to clipboard

#12 replace use of callsite with standard Error object to fix issues …

Open erossignon opened this issue 7 years ago • 2 comments

…with babel

erossignon avatar Feb 05 '17 09:02 erossignon

Bump. This would fix a major issue present for the last three years. Perhaps @adohe lacks write rights?

fatso83 avatar Apr 23 '18 10:04 fatso83

I was looking into this, when I wondered: why didn't you simply supply a fix to the callsite library? I mean, it is supposed to abstract away some details of the Stack Trace API, so might as well put the fix there.

Or doesn't the prepareStackTrace/captureStackTrace support source maps? It is a bit strange, since using the Error object is using the Stack Trace API (just implicitly).

fatso83 avatar Apr 23 '18 15:04 fatso83