From 65942f69e1d5b0ffef13cc07ad956c8800de64ba Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 11 Nov 2023 07:52:25 +0000 Subject: [PATCH] fix(deps): update dependency axios to v1 [security] --- package-lock.json | 27 +++++++++++++++++++++------ package.json | 2 +- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 61372e61c..bd8e36629 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@stripe/react-stripe-js": "^1.10.0", "@stripe/stripe-js": "^1.36.0", - "axios": "^0.27.2", + "axios": "^1.0.0", "bootstrap": "4.6.1", "classnames": "^2.3.1", "core-js": "^3.23.5", @@ -2307,6 +2307,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/form-urlencoded": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/form-urlencoded/-/form-urlencoded-4.1.4.tgz", @@ -5869,12 +5878,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.6.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz", + "integrity": "sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==", "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": { @@ -16715,6 +16725,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 57dbd9b99..88ff5a2e3 100755 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@stripe/react-stripe-js": "^1.10.0", "@stripe/stripe-js": "^1.36.0", - "axios": "^0.27.2", + "axios": "^1.0.0", "bootstrap": "4.6.1", "classnames": "^2.3.1", "core-js": "^3.23.5",