-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
esm: --experimental-default-type
flag to flip module defaults
#49869
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
Merged
nodejs-github-bot
merged 24 commits into
nodejs:main
from
GeoffreyBooth:flip-defaults-to-esm
Sep 29, 2023
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
c7b6685
esm: --experimental-default-type flag to flip module defaults
GeoffreyBooth e2bfe8a
add flag, tests
GeoffreyBooth d51cabc
Rename files
GeoffreyBooth e253231
Modernize, add to tests
GeoffreyBooth 7feafa5
Get flag working for extensionless entry points and imports
GeoffreyBooth ebc5795
Move Wasm tests
GeoffreyBooth f4d9367
Write tests for all intended functionality of the new flag
GeoffreyBooth 74fed34
Fix --check
GeoffreyBooth 2a96125
Fix --eval, STDIN
GeoffreyBooth 73ff39a
Support extensionless Wasm in explicit or default-via-flag "module" s…
GeoffreyBooth 70366fb
Fix package scopes
GeoffreyBooth 9b3b7c4
Move test
GeoffreyBooth 7075fcd
Simplify tests
GeoffreyBooth b1c3ac2
Lint
GeoffreyBooth d0939f0
Review notes
GeoffreyBooth 6497dbe
Apply suggestions from code review
GeoffreyBooth 6b1a515
Allow --input-type to be used with --experimental-type
GeoffreyBooth d682003
Add TODO
GeoffreyBooth 4c5238d
Lint
GeoffreyBooth 3874795
Ensure that JS that imports Wasm runs
GeoffreyBooth f79c9e1
Limit node_modules exception to files
GeoffreyBooth 8e354e0
More efficient
GeoffreyBooth 3da7932
Rename from --experimental-type to --experimental-default-type
GeoffreyBooth 1f93d5e
Clarify
GeoffreyBooth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
GeoffreyBooth marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.