From eb45308b89128de99aa279d2ee0986d4b0ce2925 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 24 May 2024 19:40:51 +0000 Subject: [PATCH] fix: upgrade mysql2 from 3.2.3 to 3.9.7 Snyk has created this PR to upgrade mysql2 from 3.2.3 to 3.9.7. See this package in npm: mysql2 See this project in Snyk: https://app.snyk.io/org/linjiayi11/project/1294af8b-dab1-4afd-ab65-68f36032eea2?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 15 ++++++++------- package.json | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 04b2478..c809fda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "express-async-errors": "^3.1.1", "moment": "^2.29.4", "mysql": "^2.18.1", - "mysql2": "^3.2.3", + "mysql2": "^3.9.7", "node-cron": "^3.0.2", "nodemailer": "^6.9.2" }, @@ -1490,9 +1490,10 @@ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/mysql2": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.2.3.tgz", - "integrity": "sha512-aethLO9cSAGba9gOXzNayuyq2GAVTKc3vwr+uETOX1yjUuH6MS6D5ewhUqkaukmtjzrb5C9ML7YmmmRBjQ3r3Q==", + "version": "3.9.7", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.9.7.tgz", + "integrity": "sha512-KnJT8vYRcNAZv73uf9zpXqNbvBG7DJrs+1nACsjZP1HMJ1TgXEy8wnNilXAn/5i57JizXKtrUtwDB7HxT9DDpw==", + "license": "MIT", "dependencies": { "denque": "^2.1.0", "generate-function": "^2.3.1", @@ -3467,9 +3468,9 @@ } }, "mysql2": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.2.3.tgz", - "integrity": "sha512-aethLO9cSAGba9gOXzNayuyq2GAVTKc3vwr+uETOX1yjUuH6MS6D5ewhUqkaukmtjzrb5C9ML7YmmmRBjQ3r3Q==", + "version": "3.9.7", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.9.7.tgz", + "integrity": "sha512-KnJT8vYRcNAZv73uf9zpXqNbvBG7DJrs+1nACsjZP1HMJ1TgXEy8wnNilXAn/5i57JizXKtrUtwDB7HxT9DDpw==", "requires": { "denque": "^2.1.0", "generate-function": "^2.3.1", diff --git a/package.json b/package.json index 168bf73..d5b3fa4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "express-async-errors": "^3.1.1", "moment": "^2.29.4", "mysql": "^2.18.1", - "mysql2": "^3.2.3", + "mysql2": "^3.9.7", "node-cron": "^3.0.2", "nodemailer": "^6.9.2" },