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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow top-level await support #212

Merged
merged 2 commits into from Jan 31, 2022
Merged

fix: allow top-level await support #212

merged 2 commits into from Jan 31, 2022

Conversation

voxpelli
Copy link
Member

@voxpelli voxpelli commented Jan 31, 2022

Turns out we should have set the parserOptionsto 2022 rather than 2021.

This PR fixes that + adds a test for it 馃憤

Fixes standard/standard#1548

Divlo
Divlo approved these changes Jan 31, 2022
Copy link
Member

@Divlo Divlo left a comment

Good catch! 馃憤

It is what I thought here: #193 (comment)
But somehow 2022 didn't exist yet.

@Divlo Divlo changed the title Fix top level await support in 17.0.0pre-release fix: allow top-level await support Jan 31, 2022
@Divlo Divlo merged commit f364e98 into master Jan 31, 2022
1 check passed
@Divlo Divlo deleted the fix-top-level-await-support branch Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants