From 389d03e6997f91d816e2fe81061caf42a9706e02 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 8 Apr 2024 18:47:50 +0200 Subject: [PATCH] Downgrade TypeScript version to fix compability issue with react-vnc --- virtweb_frontend/package-lock.json | 24 +++++++++++++++++++----- virtweb_frontend/package.json | 2 +- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/virtweb_frontend/package-lock.json b/virtweb_frontend/package-lock.json index eab9f50..c47bc37 100644 --- a/virtweb_frontend/package-lock.json +++ b/virtweb_frontend/package-lock.json @@ -35,7 +35,7 @@ "react-router-dom": "^6.15.0", "react-syntax-highlighter": "^15.5.0", "react-vnc": "^1.0.0", - "typescript": "^5.4.4", + "typescript": "^4.1.6", "uuid": "^9.0.1", "vite": "^5.0.8", "vite-tsconfig-paths": "^4.2.2", @@ -21890,15 +21890,15 @@ } }, "node_modules/typescript": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz", - "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=14.17" + "node": ">=4.2.0" } }, "node_modules/unbox-primitive": { @@ -22231,6 +22231,20 @@ } } }, + "node_modules/vite-tsconfig-paths/node_modules/typescript": { + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz", + "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==", + "optional": true, + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", diff --git a/virtweb_frontend/package.json b/virtweb_frontend/package.json index c6f7dac..f72b9fd 100644 --- a/virtweb_frontend/package.json +++ b/virtweb_frontend/package.json @@ -31,7 +31,7 @@ "react-router-dom": "^6.15.0", "react-syntax-highlighter": "^15.5.0", "react-vnc": "^1.0.0", - "typescript": "^5.4.4", + "typescript": "^4.1.6", "uuid": "^9.0.1", "vite": "^5.0.8", "vite-tsconfig-paths": "^4.2.2",