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

[10.x] vm: add dynamic import support #25421

Closed

Conversation

joyeecheung
Copy link
Member

PR-URL: #22381
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Guy Bedford guybedford@gmail.com
Reviewed-By: Tiancheng "Timothy" Gu timothygu99@gmail.com

PR-URL: nodejs#22381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. v10.x labels Jan 9, 2019
@joyeecheung
Copy link
Member Author

cc @devsnek

@joyeecheung
Copy link
Member Author

@joyeecheung
Copy link
Member Author

cc @targos I believe this is semver-minor?

@guybedford
Copy link
Contributor

I would suggest holding off on this while #25424 remains a concern.

@joyeecheung
Copy link
Member Author

@guybedford I am fine with that, but be aware this unblocks clean cherry-pick of other refactoring patches to the bootstrap process

@guybedford
Copy link
Contributor

@joyeecheung I understand. As it is an experimental API we could go ahead with the merge despite the bug if it would help follow-on PR work, we just need to continue to note that the importModuleDynamically API on vm.Script should be considered experimental, with known bugs, and that it may well change.

@guybedford
Copy link
Contributor

Personally I think we should change the API to tie the dynamic import callback to the context.

@guybedford
Copy link
Contributor

@joyeecheung assuming #21573 lands now, we should probably stick with backporting this to continue to enable backports despite the experimental woes mentioned.

@BethGriggs
Copy link
Member

BethGriggs commented Feb 5, 2019

Landed on v10.x-staging in 134d1e9

@BethGriggs BethGriggs closed this Feb 5, 2019
BethGriggs pushed a commit that referenced this pull request Feb 5, 2019
Backport-PR-URL: #25421
PR-URL: #22381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
rvagg pushed a commit that referenced this pull request Feb 28, 2019
Backport-PR-URL: #25421
PR-URL: #22381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants