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

feat: allow top-level await in plugins or scripts #5228

Merged
merged 2 commits into from Jun 16, 2023

Conversation

Pcrab
Copy link
Contributor

@Pcrab Pcrab commented Jun 14, 2023

What does it do?

Allow writing plugins or scripts with top-level await expressions.

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@github-actions
Copy link

How to test

git clone -b async-func https://github.com/Pcrab/hexo.git
cd hexo
npm install
npm test

@coveralls
Copy link

Coverage Status

coverage: 99.135%. remained the same when pulling 8f0f694 on Pcrab:async-func into c9ad8c6 on hexojs:v7.0.0.

@stevenjoezhang stevenjoezhang merged commit 7157e85 into hexojs:v7.0.0 Jun 16, 2023
12 of 13 checks passed
@Pcrab Pcrab deleted the async-func branch June 16, 2023 07:13
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

4 participants