Raise JavaScript version requirement
So that we can use await at module top level.
This commit is contained in:
parent
89e0591aab
commit
69750c74a6
|
@ -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
|
not available. However these are the minimum versions we are currently
|
||||||
aware of:
|
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
|
### Server Requirements
|
||||||
|
|
|
@ -5,11 +5,11 @@ export default [
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
ecmaVersion: 2020,
|
ecmaVersion: 2022,
|
||||||
sourceType: "module",
|
sourceType: "module",
|
||||||
globals: {
|
globals: {
|
||||||
...globals.browser,
|
...globals.browser,
|
||||||
...globals.es2020,
|
...globals.es2022,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ignores: ["**/xtscancodes.js"],
|
ignores: ["**/xtscancodes.js"],
|
||||||
|
|
Loading…
Reference in New Issue