diff --git a/package-lock.json b/package-lock.json index f238aea27..b66761335 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "@edx/frontend-build": "^12.7.0", "@edx/stylelint-config-edx": "^2.3.0", "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0", - "axios": "0.27.2", + "axios": "1.5.1", "axios-mock-adapter": "1.21.5", "enzyme": "3.11.0", "enzyme-to-json": "3.6.2", @@ -1982,6 +1982,15 @@ "redux": "^4.0.4" } }, + "node_modules/@edx/frontend-platform/node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, "node_modules/@edx/new-relic-source-map-webpack-plugin": { "version": "1.0.2", "license": "AGPL-3.0", @@ -4650,11 +4659,14 @@ } }, "node_modules/axios": { - "version": "0.27.2", - "license": "MIT", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", + "dev": true, "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/axios-cache-interceptor": { @@ -14186,6 +14198,12 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/psl": { "version": "1.9.0", "license": "MIT" diff --git a/package.json b/package.json index 7161e647e..f74432575 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@edx/frontend-build": "^12.7.0", "@edx/stylelint-config-edx": "^2.3.0", "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0", - "axios": "0.27.2", + "axios": "1.5.1", "axios-mock-adapter": "1.21.5", "enzyme": "3.11.0", "enzyme-to-json": "3.6.2",