We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to this: tc39/ecma262#3057 (comment) we are, or very soon will be, at stage 4 with dynamic import attributes.
Dynamic import attributes are still in pending status due to stage 3 (#1111).
Can we now include this feature in Acorn as well?
Motivation The Node REPL does not support direct dynamic import with await.
> await import('/tmp/data.json', { with: { type: 'json' } }); Uncaught SyntaxError: await import('/tmp/data.json', { with: { type: 'json' } }) ^ Unexpected token ','
This unwanted behavior is caused by Acorn's lack of support for dynamic import attributes (nodejs/node#47463).
The text was updated successfully, but these errors were encountered:
You can prepare a pull request, but we don't merge features until they hit stage 4.
Sorry, something went wrong.
I believe Acorn already supports dynamic import attributes.
acorn/test/tests-import-attributes.js
Line 373 in 3c6a5a9
Oh, indeed, they are actually already in acorn 8.14.0
No branches or pull requests
According to this: tc39/ecma262#3057 (comment) we are, or very soon will be, at stage 4 with dynamic import attributes.
Dynamic import attributes are still in pending status due to stage 3 (#1111).
Can we now include this feature in Acorn as well?
Motivation
The Node REPL does not support direct dynamic import with await.
This unwanted behavior is caused by Acorn's lack of support for dynamic import attributes (nodejs/node#47463).
The text was updated successfully, but these errors were encountered: