From 0f9f72e1a5b65800566dd48d087a241f050a162a Mon Sep 17 00:00:00 2001 From: Earnest Angel <57413115+earnestangel@users.noreply.github.com> Date: Tue, 3 Sep 2024 06:36:20 +0800 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities (#395) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-7361793 Co-authored-by: snyk-bot --- package-lock.json | 9 +++++---- package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3c708074..0b707015 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.6.3", + "axios": "^1.7.4", "better-sqlite3": "^9.4.3", "body-parser": "^1.20.2", "canvas": "^2.11.2", @@ -3525,9 +3525,10 @@ } }, "node_modules/axios": { - "version": "1.6.8", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", - "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", diff --git a/package.json b/package.json index 9b8d1e40..14d1ce8a 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.6.3", + "axios": "^1.7.4", "better-sqlite3": "^9.4.3", "body-parser": "^1.20.2", "canvas": "^2.11.2",