diff --git a/package-lock.json b/package-lock.json index cb89485e3..7c5f6e18e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,6 @@ "@types/http-errors": "^2.0.4", "@types/react-datepicker": "^4.19.5", "axios": "^1.7.7", - "axios-better-stacktrace": "^2.1.7", "classnames": "^2.5.1", "date-fns": "^2.29.3", "less": "^4.2.0", @@ -4189,14 +4188,6 @@ "proxy-from-env": "^1.1.0" } }, - "node_modules/axios-better-stacktrace": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/axios-better-stacktrace/-/axios-better-stacktrace-2.1.7.tgz", - "integrity": "sha512-m16wNbfb7crBpENBukoBdN1G9NwqSCkuIeKjSEP2iUoFvgNUnSW1/1Ov79EkTu29xmg+TsngJcy2lfwqBzVT7g==", - "peerDependencies": { - "axios": "*" - } - }, "node_modules/axios/node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", diff --git a/package.json b/package.json index 95a194be8..e1b9a94b0 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "@types/http-errors": "^2.0.4", "@types/react-datepicker": "^4.19.5", "axios": "^1.7.7", - "axios-better-stacktrace": "^2.1.7", "classnames": "^2.5.1", "date-fns": "^2.29.3", "less": "^4.2.0", diff --git a/src/api/axios/axios.ts b/src/api/axios/axios.ts index 687892173..b838da9c1 100644 --- a/src/api/axios/axios.ts +++ b/src/api/axios/axios.ts @@ -3,9 +3,6 @@ import { loginUser } from "../../utils/urlUtils"; import { displayTestScenarioSelector } from "../../environments/publicEnv"; import { v4 as uuidv4 } from "uuid"; import { logError, RequestOrigin } from "../../utils/logUtils"; -import axiosBetterStacktrace from "axios-better-stacktrace"; - -axiosBetterStacktrace(axios); interface AxiosOptions { accessToken?: string;