From 5ab7baa5dd06f1824c01b1d90435abb3c0143234 Mon Sep 17 00:00:00 2001 From: 3imed-jaberi Date: Thu, 12 Sep 2024 23:59:04 +0200 Subject: [PATCH] bump path-to-regex to v6.3.0 --- package.json | 2 +- test/lib/router.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f1a2ab8..a59534c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "http-errors": "^2.0.0", "koa-compose": "^4.1.0", "methods": "^1.1.2", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^6.3.0" }, "devDependencies": { "@commitlint/cli": "^17.7.2", diff --git a/test/lib/router.js b/test/lib/router.js index 065fe91..6fa41c7 100644 --- a/test/lib/router.js +++ b/test/lib/router.js @@ -1512,7 +1512,7 @@ describe('Router', function () { if (err) return done(err); res.header.should.have.property( 'location', - 'https://www.example.com' + 'https://www.example.com/' ); done(); });