diff --git a/package-lock.json b/package-lock.json index f985d5030b..f252fb23b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -92,7 +92,7 @@ "@testing-library/user-event": "^13.2.1", "@types/lodash": "^4.17.7", "axios": "^0.28.0", - "axios-mock-adapter": "1.22.0", + "axios-mock-adapter": "2.0.0", "eslint-import-resolver-webpack": "^0.13.8", "fetch-mock-jest": "^1.5.1", "glob": "7.2.3", @@ -2250,6 +2250,19 @@ "node": ">=6" } }, + "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-component-header/node_modules/react-responsive": { "version": "8.2.0", "license": "MIT", @@ -6036,7 +6049,10 @@ } }, "node_modules/axios-mock-adapter": { - "version": "1.22.0", + "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", diff --git a/package.json b/package.json index 7c59b263c6..cbc79981fc 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "@testing-library/user-event": "^13.2.1", "@types/lodash": "^4.17.7", "axios": "^0.28.0", - "axios-mock-adapter": "1.22.0", + "axios-mock-adapter": "2.0.0", "eslint-import-resolver-webpack": "^0.13.8", "fetch-mock-jest": "^1.5.1", "glob": "7.2.3",