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

chore: force import assertion support #23855

Merged
merged 2 commits into from
May 21, 2024

Conversation

bartlomieju
Copy link
Member

#23838 might accidentally disable
import assertions support because of V8 12.6 unshipping it, but we want
import assertions to be supported until Deno 2.

@bartlomieju
Copy link
Member Author

CC @petamoriken

@@ -405,7 +405,10 @@ fn resolve_flags_and_init(
// TODO(petamoriken): Need to check TypeScript `assert` keywords in deno_ast
vec!["--no-harmony-import-assertions".to_string()]
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems that this flag is no longer needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's leave it for now as the TODOs here seem important. We might need to support import assertions in deno_ast for some more time.

@bartlomieju bartlomieju enabled auto-merge (squash) May 20, 2024 23:42
@bartlomieju bartlomieju merged commit c703ddd into denoland:main May 21, 2024
17 checks passed
@bartlomieju bartlomieju deleted the import_assertions branch May 21, 2024 11:32
bartlomieju added a commit that referenced this pull request May 21, 2024
#23838 might accidentally disable
import assertions support because of V8 12.6 unshipping it, but we want
import assertions to be supported until Deno 2.
bartlomieju added a commit that referenced this pull request May 21, 2024
#23838 might accidentally disable
import assertions support because of V8 12.6 unshipping it, but we want
import assertions to be supported until Deno 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants