From fc13c576d0e1a4647542b711cfb2aecf0844b084 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Sep 2024 01:00:50 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 --- package-lock.json | 37 +++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab7a09316814a..573ac22c52c3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24051,6 +24051,11 @@ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true }, + "lru_map": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" + }, "lru-cache": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", @@ -24061,11 +24066,6 @@ "yallist": "^2.1.2" } }, - "lru_map": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", - "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" - }, "macos-release": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.4.1.tgz", @@ -25296,7 +25296,7 @@ "resolved": "https://registry.npmjs.org/node-env-flag/-/node-env-flag-0.1.0.tgz", "integrity": "sha1-vn1DxRHCeBqg+GiOfY9Cb3WSS8U=", "requires": { - "chai": "^4.2.0" + "chai": "latest" }, "dependencies": { "chai": { @@ -27154,9 +27154,9 @@ "dev": true }, "path-to-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-5.0.0.tgz", - "integrity": "sha512-VOQVA+0mivusQfaveeWlrW7ddXKuStHMTdovn/1epf7cEpUL4dpzGl7eq8ho96H9w90/q66yJLsqn84jSCfkmQ==" + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.0.0.tgz", + "integrity": "sha512-GAWaqWlTjYK/7SVpIUA6CTxmcg65SP30sbjdCvyYReosRkk7Z/LyHWwkK3Vu0FcIi0FNTADUs4eh1AsU5s10cg==" }, "path-type": { "version": "2.0.0", @@ -31607,7 +31607,8 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "devOptional": true }, "source-map-resolve": { "version": "0.5.2", @@ -32202,6 +32203,14 @@ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz", "integrity": "sha1-ucczDHBChi9rFC3CdLvMWGbONUY=" }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, "string-argv": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", @@ -32790,14 +32799,6 @@ } } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, "stringify-entities": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-3.0.1.tgz", diff --git a/package.json b/package.json index 0a54f2b0c308d..86ca277d6330a 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "moment": "^2.27.0", "node-env-flag": "^0.1.0", "parse-link-header": "^1.0.1", - "path-to-regexp": "^5.0.0", + "path-to-regexp": "^8.0.0", "pretty-bytes": "^5.3.0", "priorityqueuejs": "^2.0.0", "prom-client": "^11.5.3",