From a285f7e2e532f90c6862f3778be36523d67b997a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 5 Oct 2024 12:03:04 +0000 Subject: [PATCH] fix: upgrade mysql2 from 3.11.1 to 3.11.2 Snyk has created this PR to upgrade mysql2 from 3.11.1 to 3.11.2. See this package in npm: mysql2 See this project in Snyk: https://app.snyk.io/org/evert-PxyLsFDw9sJdrCc4hKCL6k/project/7a7ea6d0-d1e1-4424-930d-216b61d9e5b9?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 28 +++++++++++++++++----------- package.json | 2 +- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7b32f11..9dcf7496 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "handlebars": "^4.7.7", "jose": "^5.1.0", "knex": "^3.0.1", - "mysql2": "^3.11.1", + "mysql2": "^3.11.2", "nodemailer": "^6.5.0", "otplib": "^12.0.1", "pg": "^8.7.1", @@ -4173,13 +4173,19 @@ "get-func-name": "^2.0.1" } }, - "node_modules/lru-cache": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", - "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", - "license": "ISC", + "node_modules/lru.min": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.1.tgz", + "integrity": "sha512-FbAj6lXil6t8z4z3j0E5mfRlPzxkySotzUHwRXjlpRh10vc6AI6WN62ehZj82VG7M20rqogJ0GLwar2Xa05a8Q==", + "license": "MIT", "engines": { - "node": ">=16.14" + "bun": ">=1.0.0", + "deno": ">=1.30.0", + "node": ">=8.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wellwelwel" } }, "node_modules/make-dir": { @@ -4582,9 +4588,9 @@ } }, "node_modules/mysql2": { - "version": "3.11.1", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.11.1.tgz", - "integrity": "sha512-Oc8Zffd0gpIJnJ/NOMp6IiiJJDdWc7nmWpS+UE3K9feTpYia8XkbgL6EaOJYz52f6+2pAoC0eAQqUzal4lnNGQ==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.11.2.tgz", + "integrity": "sha512-3jhjAk4NHs3rcKjOiFTqmU76kdib/KDOC+lshrYa76QWkcfF1GbYGK4d5PqPljVmIAc0ChozCRmeYIlNp5bz5w==", "license": "MIT", "dependencies": { "aws-ssl-profiles": "^1.1.1", @@ -4592,7 +4598,7 @@ "generate-function": "^2.3.1", "iconv-lite": "^0.6.3", "long": "^5.2.1", - "lru-cache": "^8.0.0", + "lru.min": "^1.0.0", "named-placeholders": "^1.1.3", "seq-queue": "^0.0.5", "sqlstring": "^2.3.2" diff --git a/package.json b/package.json index 8d5d5d8c..687d6558 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "handlebars": "^4.7.7", "jose": "^5.1.0", "knex": "^3.0.1", - "mysql2": "^3.11.1", + "mysql2": "^3.11.2", "nodemailer": "^6.5.0", "otplib": "^12.0.1", "pg": "^8.7.1",