Skip to content

Commit

Permalink
Bumps path-to-regexp and fixes breakage.
Browse files Browse the repository at this point in the history
  • Loading branch information
qubyte committed Sep 16, 2024
1 parent 8f3f6a9 commit aaa9db3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 20 deletions.
44 changes: 26 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/router/lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function makeRoute(path, preNormalizedHandlers, options) {

return function match(req) {
const { pathname } = new URL(req.url, 'http://none');
const paramList = regex.exec(pathname);
const paramList = regex.regexp.exec(pathname);

if (paramList) {
return {
Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@toisu/middleware-runner": "^4.0.0",
"path-to-regexp": "^7.0.0"
"path-to-regexp": "^8.1.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit aaa9db3

Please sign in to comment.