FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

module: fix dynamic import from eval by coreyfarrell · Pull Request #30624 · nodejs/node · GitHub

/ node Public

module: fix dynamic import from eval - #30624

Closed
coreyfarrell wants to merge 2 commits into
nodejs:masterfrom
coreyfarrell:eval-dynamic-import
Closed

module: fix dynamic import from eval#30624
coreyfarrell wants to merge 2 commits into
nodejs:masterfrom
coreyfarrell:eval-dynamic-import

Conversation

Copy link
Copy Markdown
Member

This allows dynamic import to work from CLI --eval with or without
--input-type=module.

Fixes: #30591

Checklist

nodejs-github-bot added the process Issues and PRs related to the process subsystem. label Nov 24, 2019
guybedford requested a review from devsnek November 25, 2019 00:43
Comment thread lib/internal/modules/esm/loader.js Outdated

yorkie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

MylesBorins added the esm Issues and PRs related to the ECMAScript Modules implementation. label Nov 27, 2019

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member Author

I'm not sure what to do here, it doesn't look like the crash is caused by my change?

This comment has been minimized.

This comment has been minimized.

Comment thread lib/internal/process/execution.js Outdated
Comment thread lib/internal/process/execution.js Outdated
Comment thread lib/internal/process/execution.js Outdated
guybedford requested a review from bcoe December 5, 2019 05:08

bcoe commented Dec 5, 2019

Copy link
Copy Markdown
Contributor

@coreyfarrell @guybedford this looks quite reasonable to me; @coreyfarrell when you have a moment, want to work on debugging the Travis tests? at which point I can kick off ci/cd?

Copy link
Copy Markdown
Member Author

@bcoe the travis errors were unrelated and should be fixed by 781e41d, I've rebased to the current master.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

coreyfarrell and others added 2 commits December 5, 2019 19:39
This allows dynamic import to work from CLI `--eval` with or without
`--input-type=module`.

Fixes: nodejs#30591

This comment has been minimized.

Copy link
Copy Markdown
Collaborator

bcoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It looks like the most recent test run was successful, I am going to go ahead and land this.

bcoe pushed a commit that referenced this pull request Dec 7, 2019
This allows dynamic import to work from CLI `--eval` with or without
`--input-type=module`.

Fixes: #30591

PR-URL: #30624
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>

bcoe commented Dec 7, 2019

Copy link
Copy Markdown
Contributor

Landed in 4ec02d5

bcoe closed this Dec 7, 2019
targos pushed a commit that referenced this pull request Dec 9, 2019
This allows dynamic import to work from CLI `--eval` with or without
`--input-type=module`.

Fixes: #30591

PR-URL: #30624
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
MylesBorins mentioned this pull request Dec 13, 2019
MylesBorins pushed a commit that referenced this pull request Jan 12, 2020
This allows dynamic import to work from CLI `--eval` with or without
`--input-type=module`.

Fixes: #30591

PR-URL: #30624
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
This allows dynamic import to work from CLI `--eval` with or without
`--input-type=module`.

Fixes: #30591

PR-URL: #30624
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
MylesBorins mentioned this pull request Feb 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

esm Issues and PRs related to the ECMAScript Modules implementation. process Issues and PRs related to the process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic import not working on eval/print

7 participants


Back | FazBrowse Home | New Git URL