From 34a1db39672bde80338ce931b1156f83bb0bb5fe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Dec 2024 03:38:42 +0000 Subject: [PATCH] fix: client/tproject/package.json & client/tproject/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6671926 --- client/tproject/package-lock.json | 18 ++++++++++-------- client/tproject/package.json | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/client/tproject/package-lock.json b/client/tproject/package-lock.json index 4ca643d..03dfc41 100644 --- a/client/tproject/package-lock.json +++ b/client/tproject/package-lock.json @@ -27,7 +27,7 @@ "@types/react": "^18.2.14", "@uiw/react-md-editor": "^3.23.3", "@vitejs/plugin-react-swc": "^3.3.0", - "axios": "^1.4.0", + "axios": "^1.7.8", "cors": "^2.8.5", "date-fns": "^2.30.0", "dayjs": "^1.11.9", @@ -1983,11 +1983,12 @@ } }, "node_modules/axios": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", + "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", + "license": "MIT", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -2822,15 +2823,16 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, diff --git a/client/tproject/package.json b/client/tproject/package.json index 85e9847..e39b7b7 100644 --- a/client/tproject/package.json +++ b/client/tproject/package.json @@ -22,7 +22,7 @@ "@types/react": "^18.2.14", "@uiw/react-md-editor": "^3.23.3", "@vitejs/plugin-react-swc": "^3.3.0", - "axios": "^1.4.0", + "axios": "^1.7.8", "cors": "^2.8.5", "date-fns": "^2.30.0", "dayjs": "^1.11.9",