From 6a9f875cbd588a43864a7772c3ac5ed8596c5404 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Mon, 5 Jun 2023 09:32:30 +0800 Subject: [PATCH] Downgrade Axios to fix a settings saving issue. --- frontend/package-lock.json | 18 ++++++------------ frontend/package.json | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e722ba67a..f4fd62275 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -15,7 +15,7 @@ "@mantine/hooks": "^6.0.0", "@mantine/modals": "^6.0.0", "@mantine/notifications": "^6.0.0", - "axios": "^1.3.0", + "axios": "^0.27.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-query": "^3.39.2", @@ -4293,13 +4293,12 @@ } }, "node_modules/axios": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.6.tgz", - "integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==", + "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.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" } }, "node_modules/axobject-query": { @@ -8398,11 +8397,6 @@ "react-is": "^16.13.1" } }, - "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/frontend/package.json b/frontend/package.json index 2ef06b97d..8b0c7c6df 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,7 +19,7 @@ "@mantine/hooks": "^6.0.0", "@mantine/modals": "^6.0.0", "@mantine/notifications": "^6.0.0", - "axios": "^1.3.0", + "axios": "^0.27.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-query": "^3.39.2",