From 55af81bf0233b94d76b13c8df17c738548fbb4a2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 2 Apr 2023 16:58:07 +0000 Subject: [PATCH] feat: upgrade lru-cache from 7.18.3 to 8.0.0 Snyk has created this PR to upgrade lru-cache from 7.18.3 to 8.0.0. See this package in npm: https://www.npmjs.com/package/lru-cache See this project in Snyk: https://app.snyk.io/org/mystikfluu/project/c5b23892-809c-4121-9c2f-67962c7a4953?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 44 ++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 37 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab8f973..180f48a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "express-useragent": "^1.0.15", "hcaptcha": "^0.1.1", "html-minifier-terser": "^7.1.0", - "lru-cache": "^7.18.3", + "lru-cache": "^8.0.0", "mysql2": "^3.2.0", "newrelic": "^9.11.0", "sharp": "^0.30.7", @@ -1364,11 +1364,11 @@ } }, "node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.0.tgz", + "integrity": "sha512-pMu1vSJIwJPS/YuMJAJFjvKA2OC7rvgKqJHr90JmZ1kv/hO+MuzqHRSWqyn730vlOwc1Bx/c8+3izTGzmKyXNQ==", "engines": { - "node": ">=12" + "node": ">=16.14" } }, "node_modules/media-typer": { @@ -1498,6 +1498,14 @@ "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, + "node_modules/mysql2/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, "node_modules/mysql2/node_modules/sqlstring": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz", @@ -1517,6 +1525,14 @@ "node": ">=12.0.0" } }, + "node_modules/named-placeholders/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "engines": { + "node": ">=12" + } + }, "node_modules/nan": { "version": "2.16.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.16.0.tgz", @@ -3574,9 +3590,9 @@ } }, "lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.0.tgz", + "integrity": "sha512-pMu1vSJIwJPS/YuMJAJFjvKA2OC7rvgKqJHr90JmZ1kv/hO+MuzqHRSWqyn730vlOwc1Bx/c8+3izTGzmKyXNQ==" }, "media-typer": { "version": "0.3.0", @@ -3672,6 +3688,11 @@ "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + }, "sqlstring": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz", @@ -3685,6 +3706,13 @@ "integrity": "sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==", "requires": { "lru-cache": "^7.14.1" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + } } }, "nan": { diff --git a/package.json b/package.json index ad27578..9d2cdba 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "express-useragent": "^1.0.15", "hcaptcha": "^0.1.1", "html-minifier-terser": "^7.1.0", - "lru-cache": "^7.18.3", + "lru-cache": "^8.0.0", "newrelic": "^9.11.0", "mysql2": "^3.2.0", "sharp": "^0.30.7",