diff --git a/package-lock.json b/package-lock.json index fb2743e..5be33b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "debug": "*", "methods": "~1.1.0", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^8.0.0" }, "devDependencies": { "koa": "^2.15.0", @@ -1269,9 +1269,13 @@ } }, "node_modules/path-to-regexp": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" + "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/picomatch": { "version": "2.3.1", diff --git a/package.json b/package.json index 986cb0b..59c0b24 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "dependencies": { "debug": "*", "methods": "~1.1.0", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^8.0.0" }, "scripts": { "test": "NODE_ENV=test mocha --harmony --require should --reporter spec --exit"