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:
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
|
||||
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
|
||||
|
@ -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"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user