diff --git a/package-lock.json b/package-lock.json index 6aff1be9..048a1565 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@reduxjs/toolkit": "^1.6.1", "@testing-library/user-event": "^14.0.0", "@zip.js/zip.js": "^2.4.6", - "axios": "^0.27.0", + "axios": "^1.0.0", "classnames": "^2.3.1", "core-js": "3.32.1", "dompurify": "^2.3.1", @@ -3235,6 +3235,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/frontend-platform/node_modules/history": { "version": "4.10.1", "resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz", @@ -7012,12 +7021,13 @@ } }, "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==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", "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": { @@ -21651,6 +21661,11 @@ "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==" + }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/package.json b/package.json index 04785d27..4d1f39f9 100755 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@reduxjs/toolkit": "^1.6.1", "@testing-library/user-event": "^14.0.0", "@zip.js/zip.js": "^2.4.6", - "axios": "^0.27.0", + "axios": "^1.0.0", "classnames": "^2.3.1", "core-js": "3.32.1", "dompurify": "^2.3.1",