From 61780ec9ade06517f93ba0eee79900a7d0419a83 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 9 Mar 2025 06:05:04 +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-9292519 --- 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..70a310d 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.8.2", "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.8.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz", + "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==", + "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..516a710 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.8.2", "cors": "^2.8.5", "date-fns": "^2.30.0", "dayjs": "^1.11.9",