Skip to content
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

vm: add import assertion support #37176

Merged
merged 1 commit into from
Mar 23, 2021
Merged

Conversation

devsnek
Copy link
Member

@devsnek devsnek commented Feb 1, 2021

Just a draft until our V8 is new enough to support this.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. vm Issues and PRs related to the vm subsystem. labels Feb 1, 2021
@devsnek devsnek marked this pull request as draft February 1, 2021 22:22
@devsnek devsnek added the esm Issues and PRs related to the ECMAScript Modules implementation. label Feb 1, 2021
doc/api/vm.md Outdated Show resolved Hide resolved
@devsnek devsnek force-pushed the vm-import-assertion branch from 91e224b to a290d09 Compare February 1, 2021 22:29
Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (with a comment to avoid crashing in cases of prototype pollution addressed)

src/module_wrap.cc Show resolved Hide resolved
@devsnek devsnek force-pushed the vm-import-assertion branch from a290d09 to 4c489f2 Compare February 5, 2021 06:36
@devsnek devsnek force-pushed the vm-import-assertion branch from 4c489f2 to d6b0b14 Compare March 23, 2021 00:16
@devsnek devsnek marked this pull request as ready for review March 23, 2021 00:21
@devsnek devsnek force-pushed the vm-import-assertion branch from d6b0b14 to 84cdb17 Compare March 23, 2021 00:22
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

PR-URL: nodejs#37176
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@devsnek devsnek force-pushed the vm-import-assertion branch from 84cdb17 to 26eed3e Compare March 23, 2021 16:04
@devsnek devsnek merged commit 26eed3e into nodejs:master Mar 23, 2021
@devsnek devsnek deleted the vm-import-assertion branch March 23, 2021 16:04
ruyadorno pushed a commit that referenced this pull request Mar 24, 2021
PR-URL: #37176
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@ruyadorno
Copy link
Member

hi @devsnek this commit is breaking make cctest in v15.x-staging - should it be backported to v15.x?

@devsnek
Copy link
Member Author

devsnek commented Mar 30, 2021

@ruyadorno nope! its stuck to the v8 version in master 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. esm Issues and PRs related to the ECMAScript Modules implementation. vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants