From ec676231aa61dc639cf0def713f876804745c210 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 7 Aug 2024 08:38:44 +0000 Subject: [PATCH] fix: upgrade mysql2 from 3.6.5 to 3.10.3 Snyk has created this PR to upgrade mysql2 from 3.6.5 to 3.10.3. See this package in npm: mysql2 See this project in Snyk: https://app.snyk.io/org/devexhub121/project/6d4e19f5-8e00-48db-b37a-bfa12d5410ef?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 19 +++++++++++++++---- package.json | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index cf19105..0a93b73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "express": "^4.18.2", "jsonwebtoken": "^9.0.0", "mongoose": "^6.11.2", - "mysql2": "^3.6.5", + "mysql2": "^3.10.3", "passport": "^0.7.0", "passport-jwt": "^4.0.1", "sequelize": "^6.35.1", @@ -1377,6 +1377,15 @@ "node": ">= 4.0.0" } }, + "node_modules/aws-ssl-profiles": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.1.tgz", + "integrity": "sha512-+H+kuK34PfMaI9PNU/NSjBKL5hh/KDM9J72kwYeYEm0A8B1AC4fuCy3qsjnA7lxklgyXsB68yn8Z2xoZEjgwCQ==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/axios": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", @@ -2738,10 +2747,12 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "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.3", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.10.3.tgz", + "integrity": "sha512-k43gmH9i79rZD4hGPdj7pDuT0UBiFjs4UzXEy1cJrV0QqcSABomoLwvejqdbcXN+Vd7gi999CVM6o9vCPKq29g==", + "license": "MIT", "dependencies": { + "aws-ssl-profiles": "^1.1.1", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.6.3", diff --git a/package.json b/package.json index 7ab9ab2..daa7eb8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "express": "^4.18.2", "jsonwebtoken": "^9.0.0", "mongoose": "^6.11.2", - "mysql2": "^3.6.5", + "mysql2": "^3.10.3", "passport": "^0.7.0", "passport-jwt": "^4.0.1", "sequelize": "^6.35.1",