From cbcee40f2ac64760d4361c69c69a52b19816f683 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:38:32 -0600 Subject: [PATCH] Bump typescript from 5.2.2 to 5.3.2 (#6987) * Bump typescript from 5.2.2 to 5.3.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * ignoring redux-related ts errors in tests --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Graham Langford --- package-lock.json | 8 ++++---- package.json | 2 +- src/components/logViewer/LogCard.test.tsx | 1 + src/pageEditor/tabs/editTab/useReportTraceError.test.tsx | 2 ++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 14e399461c..8c67be9156 100644 --- a/package-lock.json +++ b/package-lock.json @@ -255,7 +255,7 @@ "terser-webpack-plugin": "^5.3.9", "ts-loader": "^9.5.1", "type-fest": "^4.8.2", - "typescript": "^5.2.2", + "typescript": "^5.3.2", "typescript-plugin-css-modules": "^5.0.2", "webpack": "^5.89.0", "webpack-build-notifier": "^2.3.0", @@ -26067,9 +26067,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 871e42fc2b..e282d37a06 100644 --- a/package.json +++ b/package.json @@ -277,7 +277,7 @@ "terser-webpack-plugin": "^5.3.9", "ts-loader": "^9.5.1", "type-fest": "^4.8.2", - "typescript": "^5.2.2", + "typescript": "^5.3.2", "typescript-plugin-css-modules": "^5.0.2", "webpack": "^5.89.0", "webpack-build-notifier": "^2.3.0", diff --git a/src/components/logViewer/LogCard.test.tsx b/src/components/logViewer/LogCard.test.tsx index 114e746e0e..65bad8b51f 100644 --- a/src/components/logViewer/LogCard.test.tsx +++ b/src/components/logViewer/LogCard.test.tsx @@ -29,6 +29,7 @@ function renderLogCard(state?: LogState) { reducer: { logs: logSlice.reducer, }, + // @ts-expect-error -- ignoring preloadedState type error for testing preloadedState: state == null ? undefined diff --git a/src/pageEditor/tabs/editTab/useReportTraceError.test.tsx b/src/pageEditor/tabs/editTab/useReportTraceError.test.tsx index e1e92df59d..6f2fad34dd 100644 --- a/src/pageEditor/tabs/editTab/useReportTraceError.test.tsx +++ b/src/pageEditor/tabs/editTab/useReportTraceError.test.tsx @@ -41,6 +41,7 @@ jest.mock("@/telemetry/reportEvent"); const renderUseReportTraceError = (traces: TraceRecord[] = []) => { const activeElementId = uuidv4(); + // @ts-expect-error -- ignoring excessively deep warning for test const store: Store = configureStore({ reducer: { session: sessionSlice.reducer, @@ -53,6 +54,7 @@ const renderUseReportTraceError = (traces: TraceRecord[] = []) => { activeElementId, }, runtime: { + // @ts-expect-error -- TS is detecting the wrong type; ignoring since this is only for testing extensionTraces: { [activeElementId]: traces, },