Skip to content

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

Merged
stevenjoezhang merged 2 commits intohexojs:v7.0.0from
Pcrab:async-func
Jun 16, 2023
Merged

feat: allow top-level await in plugins or scripts#5228
stevenjoezhang merged 2 commits intohexojs:v7.0.0from
Pcrab:async-func

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
@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.

4 participants