From 2ba21c1ad45bcdf7cdc1a69f932c4e3c633e38be Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 9 Jul 2024 05:17:31 +0000 Subject: [PATCH] fix: upgrade mysql2 from 3.6.5 to 3.10.1 Snyk has created this PR to upgrade mysql2 from 3.6.5 to 3.10.1. See this package in npm: mysql2 See this project in Snyk: https://app.snyk.io/org/ryanleezx/project/a66bdb8e-5826-46a4-b2d6-ccc21c8b6334?utm_source=github&utm_medium=referral&page=upgrade-pr --- Frontend/package-lock.json | 34 ++++++++++++++++++++++++++-------- Frontend/package.json | 2 +- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/Frontend/package-lock.json b/Frontend/package-lock.json index 81255a32..b8f918f2 100644 --- a/Frontend/package-lock.json +++ b/Frontend/package-lock.json @@ -1,5 +1,5 @@ { - "name": "Frontend", + "name": "relock-npm-lock-v2-XvPtD7", "lockfileVersion": 2, "requires": true, "packages": { @@ -20,7 +20,7 @@ "moment-timezone": "^0.5.45", "morgan": "^1.10.0", "multer": "^1.4.5-lts.1", - "mysql2": "^3.6.5", + "mysql2": "^3.10.1", "node-cron": "^3.0.3", "object-sizeof": "^2.6.4", "otplib": "^12.0.1", @@ -81,6 +81,17 @@ "@otplib/plugin-thirty-two": "^12.0.1" } }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "peer": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@webcomponents/webcomponentsjs": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.8.0.tgz", @@ -1400,9 +1411,10 @@ } }, "node_modules/mysql2": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.5.tgz", - "integrity": "sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.10.1.tgz", + "integrity": "sha512-6zo1T3GILsXMCex3YEu7hCz2OXLUarxFsxvFcUHWMpkPtmZLeTTWgRdc1gWyNJiYt6AxITmIf9bZDRy/jAfWew==", + "license": "MIT", "dependencies": { "denque": "^2.1.0", "generate-function": "^2.3.1", @@ -2271,6 +2283,12 @@ "@otplib/plugin-thirty-two": "^12.0.1" } }, + "@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "peer": true + }, "@webcomponents/webcomponentsjs": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/@webcomponents/webcomponentsjs/-/webcomponentsjs-2.8.0.tgz", @@ -3282,9 +3300,9 @@ } }, "mysql2": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.5.tgz", - "integrity": "sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.10.1.tgz", + "integrity": "sha512-6zo1T3GILsXMCex3YEu7hCz2OXLUarxFsxvFcUHWMpkPtmZLeTTWgRdc1gWyNJiYt6AxITmIf9bZDRy/jAfWew==", "requires": { "denque": "^2.1.0", "generate-function": "^2.3.1", diff --git a/Frontend/package.json b/Frontend/package.json index 86518909..743b61ea 100644 --- a/Frontend/package.json +++ b/Frontend/package.json @@ -16,7 +16,7 @@ "moment-timezone": "^0.5.45", "morgan": "^1.10.0", "multer": "^1.4.5-lts.1", - "mysql2": "^3.6.5", + "mysql2": "^3.10.1", "node-cron": "^3.0.3", "object-sizeof": "^2.6.4", "otplib": "^12.0.1",