better-assert
better-assert copied to clipboard
#12 replace use of callsite with standard Error object to fix issues …
…with babel
Bump. This would fix a major issue present for the last three years. Perhaps @adohe lacks write rights?
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).