From a7d0f2a51db5d8fd06885e52c29a9399cfd3a4db Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Thu, 25 Jul 2024 12:42:13 +0300 Subject: [PATCH] upgrade koa-route --- package-lock.json | 27 ++++++--------------------- package.json | 4 ++-- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b4c1ab..f2be376 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,8 @@ "array-back": "^6.2.2", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.5", - "koa-route": "^3.2.0", - "path-to-regexp": "^6.2.0" + "koa-route": "^4.0.1", + "path-to-regexp": "^6.2.2" }, "bin": { "lws-rewrite": "bin/cli.js" @@ -1093,12 +1093,6 @@ "node": ">=8" } }, - "node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", - "license": "MIT" - }, "node_modules/keygrip": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", @@ -1184,23 +1178,14 @@ } }, "node_modules/koa-route": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/koa-route/-/koa-route-3.2.0.tgz", - "integrity": "sha512-8FsuWw/L+CUWJfpgN6vrlYUDNTheEinG8Zkm97GyuLJNyWjCVUs9p10Ih3jTIWwmDVQcz6827l0RKadAS5ibqA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/koa-route/-/koa-route-4.0.1.tgz", + "integrity": "sha512-ytLrdDPF/qTMh20BxZCNpIUY329SoGu84xjGYeNsp/jkGT3OpZfkuK646sDScVJQ9XdsLXJVMml1dXMA5EIuxQ==", "license": "MIT", "dependencies": { "debug": "*", "methods": "~1.1.0", - "path-to-regexp": "^1.2.0" - } - }, - "node_modules/koa-route/node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", - "license": "MIT", - "dependencies": { - "isarray": "0.0.1" + "path-to-regexp": "^6.2.1" } }, "node_modules/koa-send": { diff --git a/package.json b/package.json index 6c49de6..1dda191 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "array-back": "^6.2.2", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.5", - "koa-route": "^3.2.0", - "path-to-regexp": "^6.2.0" + "koa-route": "^4.0.1", + "path-to-regexp": "^6.2.2" }, "devDependencies": { "lws": "^4.1.4",