-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.7.3 breaks imports #505
Comments
/cc @davidbonnet The above error is I think hiding what’s actually going on. If I do: import astring from 'astring' Node will crash: ~/xdm/node_modules/astring/src/astring.js:57
export const NEEDS_PARENTHESES = 17
^^^^^^
SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:355:18)
... |
appsemble-bot
pushed a commit
to appsemble/appsemble
that referenced
this issue
Apr 7, 2021
Thanks a lot @remcohaszing for reporting this embarrassing 😳 issue, and @wooorm for providing insights. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
The following script worked using
astring@1.7.2
, but is broken usingastring@1.7.3
:Expected behavior
Nothing happens
Actual behavior
Node crashes
The text was updated successfully, but these errors were encountered: