change polyfill to monkey patch in browser comment
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// this is gross but it polyfills in behaviour required by `depd` used by
|
||||
// this is gross but it monkey patches in behaviour required by `depd` used by
|
||||
// `ast-types`
|
||||
Error.captureStackTrace = Error.captureStackTrace || function (obj) {
|
||||
if (Error.prepareStackTrace) {
|
||||
|
||||
Reference in New Issue
Block a user