-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Drop Node.js 10 support & Require Node.js >= 12 #4378
Comments
So, we will drop node 12 with hexo 6? |
@tomap Yeah, wait for Hexo 6. |
Node.js 10 will reach EOL on April 30, 2021 https://github.com/nodejs/Release See also hexojs/hexo-generator-index#51 hexojs/hexo-generator-index#59
|
Node.js 12 supports esm Automated ESM conversion tools: https://github.com/lebab/lebab https://github.com/wessberg/cjstoesm |
Closed by #4750 |
Continuing #3508 & #3698.
With Node.js 12 we will be able to use:
Object.fromEntries
Array#values
String#matchAll
Array#flat
,Array#flatMap
Also,
worker_threads
requires Node.js 12+ as well, which is important for multi-core usage proposal (#4355).On the other hand,
async/await
is significantly faster than native Promise and its performance is now comparable to that of Bluebird:Eventually we will drop Node.js 10. The question is whether we should bump minimum required Node.js version to 12 before we publish Hexo 5.0.0.
cc @hexojs/core @curbengh @segayuu @seaoak @tomap @stevenjoezhang
The text was updated successfully, but these errors were encountered: