diff --git a/package-lock.json b/package-lock.json index c1982b7b..d2e4ea83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@curveball/kernel": "^1", "@curveball/links": "^1.0.1", "@curveball/problem": "^1.0.0", - "@curveball/router": "^1.0.0", + "@curveball/router": "^2.0.0", "@curveball/session": "^1.0.0", "@curveball/session-redis": "^1.0.0", "@curveball/validator": "^1.0.0", @@ -262,12 +262,12 @@ } }, "node_modules/@curveball/router": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@curveball/router/-/router-1.0.0.tgz", - "integrity": "sha512-mpLJOOUSy18KV50Ucaw4TkSIAGu41jniIGhOdwZJHBrMfFwT+NWR4tImYKDuHImSdGclrvl0HJBA4us1Z7lQ7g==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@curveball/router/-/router-2.0.0.tgz", + "integrity": "sha512-lifB5Tpo7XqnGy3j1utMYRjznx/pZcOpNu/yEfk+85x4nRrKoB1c+DHpRgCeAU47owQefZ2eiJkW8eNbJOx1bA==", "license": "MIT", "dependencies": { - "path-to-regexp": "^6.2.0" + "path-to-regexp": "8.1" }, "engines": { "node": ">= 18" @@ -276,6 +276,15 @@ "@curveball/kernel": "^1" } }, + "node_modules/@curveball/router/node_modules/path-to-regexp": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.1.0.tgz", + "integrity": "sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, "node_modules/@curveball/session": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@curveball/session/-/session-1.0.0.tgz", @@ -5093,6 +5102,7 @@ "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/path-type": { diff --git a/package.json b/package.json index fd14ccc2..cefd4f05 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@curveball/kernel": "^1", "@curveball/links": "^1.0.1", "@curveball/problem": "^1.0.0", - "@curveball/router": "^1.0.0", + "@curveball/router": "^2.0.0", "@curveball/session": "^1.0.0", "@curveball/session-redis": "^1.0.0", "@curveball/validator": "^1.0.0",