1
0
mirror of https://github.com/novnc/noVNC.git synced 2025-04-18 23:44:01 +03:00

Raise JavaScript version requirement

So that we can use await at module top level.
This commit is contained in:
Pierre Ossman 2024-11-21 13:30:57 +01:00
parent 89e0591aab
commit 69750c74a6
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ noVNC uses many modern web technologies so a formal requirement list is
not available. However these are the minimum versions we are currently
aware of:
* Chrome 64, Firefox 79, Safari 13.4, Opera 51, Edge 79
* Chrome 89, Firefox 89, Safari 15, Opera 75, Edge 89
### Server Requirements

View File

@ -5,11 +5,11 @@ export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2020,
ecmaVersion: 2022,
sourceType: "module",
globals: {
...globals.browser,
...globals.es2020,
...globals.es2022,
}
},
ignores: ["**/xtscancodes.js"],