diff --git a/assets/package-lock.json b/assets/package-lock.json index 4e1ac0dd6..d32c2a6a9 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -69,7 +69,7 @@ "terser-webpack-plugin": "^4.2.3", "ts-jest": "^29.1.2", "ts-loader": "^8.3.0", - "typescript": "^4.3.5", + "typescript": "^5.6.3", "typescript-eslint": "^7.8.0", "webpack": "^4.46.0", "webpack-cli": "^4.7.2", @@ -15793,7 +15793,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "4.9.5", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -15801,7 +15803,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/typescript-eslint": { diff --git a/assets/package.json b/assets/package.json index 58a5f1834..3466b5222 100644 --- a/assets/package.json +++ b/assets/package.json @@ -81,7 +81,7 @@ "terser-webpack-plugin": "^4.2.3", "ts-jest": "^29.1.2", "ts-loader": "^8.3.0", - "typescript": "^4.3.5", + "typescript": "^5.6.3", "typescript-eslint": "^7.8.0", "webpack": "^4.46.0", "webpack-cli": "^4.7.2", diff --git a/assets/tsconfig.json b/assets/tsconfig.json index 8b6156bd5..2ebed1dd0 100644 --- a/assets/tsconfig.json +++ b/assets/tsconfig.json @@ -3,7 +3,7 @@ "exclude": ["node_modules"], "compilerOptions": { /* Basic Options */ - "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, + "target": "ES2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, "module": "es2015" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, "lib": [ "dom",