From 6da56ea9c51711d5be19571f4ca05bdfc40be024 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Sep 2024 08:18:00 +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 | 19 +++++++++++++++---- package.json | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 302021f00ed36..83731d088d54a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "node-env-flag": "^0.1.0", "node-pg-migrate": "^7.6.0", "parse-link-header": "^2.0.0", - "path-to-regexp": "^6.2.2", + "path-to-regexp": "^8.0.0", "pg": "^8.12.0", "pretty-bytes": "^6.1.1", "priorityqueuejs": "^2.0.0", @@ -20805,6 +20805,13 @@ "path-to-regexp": "^6.2.1" } }, + "node_modules/nise/node_modules/path-to-regexp": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", + "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", + "dev": true, + "license": "MIT" + }, "node_modules/no-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", @@ -22593,9 +22600,13 @@ } }, "node_modules/path-to-regexp": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", - "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==" + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.0.0.tgz", + "integrity": "sha512-GAWaqWlTjYK/7SVpIUA6CTxmcg65SP30sbjdCvyYReosRkk7Z/LyHWwkK3Vu0FcIi0FNTADUs4eh1AsU5s10cg==", + "license": "MIT", + "engines": { + "node": ">=16" + } }, "node_modules/path-type": { "version": "4.0.0", diff --git a/package.json b/package.json index 589f1659674c0..16ae67e5af821 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "node-env-flag": "^0.1.0", "node-pg-migrate": "^7.6.0", "parse-link-header": "^2.0.0", - "path-to-regexp": "^6.2.2", + "path-to-regexp": "^8.0.0", "pg": "^8.12.0", "pretty-bytes": "^6.1.1", "priorityqueuejs": "^2.0.0",