-
Notifications
You must be signed in to change notification settings - Fork 30k
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
lib: add warning on dynamic import es modules #30720
Conversation
Ref: #30601 |
Can you add a test please. |
Sure, should I use a child process and test std err, or is there another way? |
We have |
As long as const [ message, code ] = expected.shift();
^
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) |
@guybedford Done! Thanks for reviewing! Tell me if something else is not correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
PR-URL: #30720 Reviewed-By: Guy Bedford <guybedford@gmail.com>
Landed in 6669cd1. |
PR-URL: #30720 Reviewed-By: Guy Bedford <guybedford@gmail.com>
Depends on #29866 to land on v12.x-staging |
PR-URL: nodejs#30720 Reviewed-By: Guy Bedford <guybedford@gmail.com>
PR-URL: nodejs#30720 Reviewed-By: Guy Bedford <guybedford@gmail.com>
Fixes #30601.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes