From 6fd370bcd657943e2d3ecfb9b47c9498ef1dbd9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Jul 2025 09:40:00 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump typescript from 5.4.5 to 5.8.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.4.5 to 5.8.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.4.5...v5.8.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5ba899e4..6b8cfbad 100644 --- a/package.json +++ b/package.json @@ -323,7 +323,7 @@ "nyc": "^17.1.0", "prettier": "^3.5.3", "ts-loader": "^9.5.1", - "typescript": "^5.4.5", + "typescript": "^5.8.3", "utf-8-validate": "^6.0.5", "vitest": "^0.34.6", "vscode-test": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index 24b2fcc0..5b0be921 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7687,10 +7687,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^5.4.5: - version "5.4.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" - integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== +typescript@^5.8.3: + version "5.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e" + integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ== ua-parser-js@1.0.40: version "1.0.40" From e406176155ef7900dd296b50023bda36d2c64bd7 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 24 Jul 2025 13:35:52 -0800 Subject: [PATCH 2/2] Fix axios error --- tsconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 18150165..0974a4d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,14 @@ "strict": true, "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "paths": { + // axios contains both an index.d.ts and index.d.cts which apparently have + // conflicting types. For some reason TypeScript is reading both and + // throwing errors about AxiosInstance not being compatible with + // AxiosInstance. This ensures we use only index.d.ts. + "axios": ["./node_modules/axios/index.d.ts"] + } }, "exclude": ["node_modules"], "include": ["src/**/*"]