diff --git a/package-lock.json b/package-lock.json index 808bfc59e..ffd9f6051 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "react-window": "^1.8.9", "redux": "^4.2.1", "standardized-audio-context": "^25.3.55", - "typescript": "^4.9.5", + "typescript": "^5.1.6", "uuid": "^9.0.0", "webvtt-parser": "^2.2.0" }, @@ -18801,14 +18801,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/ua-parser-js": { diff --git a/package.json b/package.json index 48a283e27..e0cb9a321 100644 --- a/package.json +++ b/package.json @@ -47,10 +47,15 @@ "react-window": "^1.8.9", "redux": "^4.2.1", "standardized-audio-context": "^25.3.55", - "typescript": "^4.9.5", + "typescript": "^5.1.6", "uuid": "^9.0.0", "webvtt-parser": "^2.2.0" }, + "overrides": { + "react-scripts": { + "typescript": "^5" + } + }, "scripts": { "start": "REACT_APP_GIT_SHA=`git rev-parse HEAD` REACT_APP_BUILD_DATE=\"`date`\" react-app-rewired start", "build": "REACT_APP_GIT_SHA=`git rev-parse HEAD` REACT_APP_BUILD_DATE=\"`date`\" react-app-rewired build",