-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
module: fix initial ModuleWrap with non-string source #33443
Conversation
acbe4ff
to
793b36f
Compare
note that expected behavior should throw a JS error |
I'll fix my PR today
…On Sun, May 17, 2020, 7:58 AM Colin Ihrig ***@***.***> wrote:
***@***.**** approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33443 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABZJI5QJVWPOLRWXBS7X5TRR7NN7ANCNFSM4NDG4E2A>
.
|
I've rebased my PR, @himself65 would it be ok to merge my PR, it has slightly different semantics since it won't stringify every kind of object that makes it to ModuleWrap. That behavior is slightly different from this PR and I'm curious if you had a use case for values that are not Buffers or TypedArrays being passed as source text before I move forward with my PR. |
I would prefer if we can land @bmeck's PR as well since it reserves API space while handling and documenting edge cases. |
#32202 fixed this, closing |
Fixes #33441
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes