From 9449ad21c0fc26812ff32786152e1ff9e70c1ce4 Mon Sep 17 00:00:00 2001 From: Earnest Angel <57413115+earnestangel@users.noreply.github.com> Date: Tue, 26 Mar 2024 06:10:13 +0800 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities (#302) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6124857 Co-authored-by: snyk-bot --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47d7c144..03b749ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@distube/ytdl-core": "^4.11.7", "@vitalets/google-translate-api": "^9.2.0", "anime-wallpaper": "^1.1.1", - "axios": "^1.4.0", + "axios": "^1.6.3", "better-sqlite3": "^8.4.0", "body-parser": "^1.20.2", "canvas": "^2.11.2", @@ -3491,9 +3491,9 @@ } }, "node_modules/axios": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", - "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.3.tgz", + "integrity": "sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index fe83b031..6ca6d3bb 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@distube/ytdl-core": "^4.11.7", "@vitalets/google-translate-api": "^9.2.0", "anime-wallpaper": "^1.1.1", - "axios": "^1.4.0", + "axios": "^1.6.3", "better-sqlite3": "^8.4.0", "body-parser": "^1.20.2", "canvas": "^2.11.2",