From 344a8c0db87780d6fddc6bf7c7477a6fcd81b988 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 06:37:36 +0000 Subject: [PATCH] chore(deps): update dependency axios-mock-adapter to v2 --- package-lock.json | 20 ++++++++++++++++++-- package.json | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40bb2186ec..ec4a0a7df9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -89,7 +89,7 @@ "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^13.2.1", "@types/lodash": "^4.17.7", - "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", "husky": "7.0.4", @@ -2198,6 +2198,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-component-header/node_modules/react-responsive": { "version": "8.2.0", "license": "MIT", @@ -6028,7 +6041,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 1b62ce3159..738038123c 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^13.2.1", "@types/lodash": "^4.17.7", - "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", "husky": "7.0.4",