From d82ecea171bc3db7758d75446ccc5b29532ac243 Mon Sep 17 00:00:00 2001 From: Ferran Basora Date: Thu, 12 Dec 2024 18:29:53 +0100 Subject: [PATCH] Fix issue with Typescript compatibility We had to bump the typescript version to avoid this error: ``` node_modules/@types/har-format/index.d.ts:258:6 - error TS1023: An index signature parameter type must be either 'string' or 'number'. ``` --- package-lock.json | 9 +++++---- package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4da193b..25da6b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "glob": "^7.1.7", "mocha": "^10.1.0", "prettier": "2.3.2", - "typescript": "^4.3.2", + "typescript": "^4.4.0", "vsce": "^2.15.0", "vscode-test": "^1.5.2" }, @@ -3902,10 +3902,11 @@ } }, "node_modules/typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index e26d599..64fb0d4 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "glob": "^7.1.7", "mocha": "^10.1.0", "prettier": "2.3.2", - "typescript": "^4.3.2", + "typescript": "^4.4.0", "vsce": "^2.15.0", "vscode-test": "^1.5.2" },