From a075c975afb2261882c22d616d2d3de4947df91e Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Thu, 2 Jan 2025 11:34:40 +0100 Subject: [PATCH] chore: downgrade path-to-regexp library to version compatible with older Node.JS versions --- package-lock.json | 15 ++++++--------- package.json | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3dc728e..2018fb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "svrouter", - "version": "1.0.0", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "svrouter", - "version": "1.0.0", + "version": "0.0.0", "license": "MIT", "dependencies": { - "path-to-regexp": "^8.2.0" + "path-to-regexp": "^6.3.0" }, "devDependencies": { "@commitlint/cli": "^19.6.1", @@ -6747,12 +6747,9 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", - "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", - "engines": { - "node": ">=16" - } + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==" }, "node_modules/peek-readable": { "version": "5.3.1", diff --git a/package.json b/package.json index 65504f9..62d86a4 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "dist/" ], "dependencies": { - "path-to-regexp": "^8.2.0" + "path-to-regexp": "^6.3.0" }, "config": { "commitizen": {