yaml-language-server
yaml-language-server copied to clipboard
Update TypeScript target from es5 to es2020
What does this PR do?
es2020 is compatible with Node.js 14 and all modern browsers. Notably this no longer transpiles async/await syntax.
What issues does this PR fix or reference?
N/A
Is it tested? How?
npm test
Oh, tests run against Node 12. It’s no longer supported, but if yaml-language-server needs to support it, the appropriate target would be es2019.
I do not see any issue with moving to a newer nodejs version. 12 is EOL anyway.
@remcohaszing I think this will pass now if you rebase
Thanks! Rebased