diff --git a/package-lock.json b/package-lock.json index ad2665a..decb4c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "@openedx/frontend-build": "14.1.0", "@testing-library/jest-dom": "6.4.8", "@testing-library/react": "12.1.5", - "axios-mock-adapter": "1.22.0", + "axios-mock-adapter": "2.0.0", "babel-plugin-react-intl": "8.2.25", "glob": "10.4.5", "husky": "9.1.4", @@ -2206,6 +2206,19 @@ "react-dom": "^16.9.0 || ^17.0.0" } }, + "node_modules/@edx/frontend-component-header/node_modules/axios-mock-adapter": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", + "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "is-buffer": "^2.0.5" + }, + "peerDependencies": { + "axios": ">= 0.17.0" + } + }, "node_modules/@edx/frontend-platform": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-8.1.1.tgz", @@ -5734,9 +5747,11 @@ } }, "node_modules/axios-mock-adapter": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-1.22.0.tgz", - "integrity": "sha512-dmI0KbkyAhntUR05YY96qg2H6gg0XMl2+qTW0xmYg6Up+BFBAJYRLROMXRdDEL06/Wqwa0TJThAYvFtSFdRCZw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-2.0.0.tgz", + "integrity": "sha512-D/K0J5Zm6KvaMTnsWrBQZWLzKN9GxUFZEa0mx2qeEHXDeTugCoplWehy8y36dj5vuSjhe1u/Dol8cZ8lzzmDew==", + "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "is-buffer": "^2.0.5" diff --git a/package.json b/package.json index 024517c..a1d4dc3 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "@openedx/frontend-build": "14.1.0", "@testing-library/jest-dom": "6.4.8", "@testing-library/react": "12.1.5", - "axios-mock-adapter": "1.22.0", + "axios-mock-adapter": "2.0.0", "babel-plugin-react-intl": "8.2.25", "glob": "10.4.5", "husky": "9.1.4",