diff --git a/package-lock.json b/package-lock.json index 59afb978e3e..29cf21875ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -225,7 +225,7 @@ "tsconfig-paths-webpack-plugin": "^3.2.0", "tsx": "^3.13.0", "typemoq": "^2.1.0", - "typescript": "^5.3.3", + "typescript": "^5.4.5", "unicode-properties": "^1.3.1", "utf-8-validate": "^5.0.8", "util": "^0.12.4", @@ -21632,9 +21632,9 @@ } }, "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -39189,9 +39189,9 @@ } }, "typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true }, "uint64be": { diff --git a/package.json b/package.json index d163e45fd49..0425e27243c 100644 --- a/package.json +++ b/package.json @@ -2353,7 +2353,7 @@ "tsconfig-paths-webpack-plugin": "^3.2.0", "tsx": "^3.13.0", "typemoq": "^2.1.0", - "typescript": "^5.3.3", + "typescript": "^5.4.5", "unicode-properties": "^1.3.1", "utf-8-validate": "^5.0.8", "util": "^0.12.4", diff --git a/src/test/datascience/reactHelpers.ts b/src/test/datascience/reactHelpers.ts index 59fe2550951..ceef3dff500 100644 --- a/src/test/datascience/reactHelpers.ts +++ b/src/test/datascience/reactHelpers.ts @@ -56,6 +56,11 @@ import { DOMWindow, JSDOM } from 'jsdom'; import { noop } from '../../platform/common/utils/misc'; class MockCanvas implements CanvasRenderingContext2D { + fontStretch: CanvasFontStretch; + fontVariantCaps: CanvasFontVariantCaps; + letterSpacing: string; + textRendering: CanvasTextRendering; + wordSpacing: string; roundRect( _x: number, _y: number,