You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
babel/babel#15114 has now been merged, adding a allowNewTargetOutsideFunction option for parser. So can remove the errorRecovery workaround once new release of Babel drops.
new.target
is legal anywhere in CommonJS files (as they're in a function wrapper).Instrumentation throws when parsing such code:
Ditto in code in
eval()
which is nested in a function e.g.:Can only be fixed once babel/babel#15114 is merged.
The text was updated successfully, but these errors were encountered: