Skip to content

Commit

Permalink
chore(deps): bump path-to-regexp and express in /webui/react (#9909)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emily Bonar <[email protected]>
  • Loading branch information
dependabot[bot] and emily-roses authored Sep 11, 2024
1 parent 03961b5 commit 11de119
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 32 deletions.
147 changes: 118 additions & 29 deletions webui/react/package-lock.json

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

4 changes: 2 additions & 2 deletions webui/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"modern-normalize": "^2.0.0",
"notebook": "file:src/vendor/notebook",
"omnibar": "github:hamidzr/omnibar",
"path-to-regexp": "^6.2.2",
"path-to-regexp": "^8.1.0",
"pretty-bytes": "^6.1.1",
"react": "^18.3.1",
"react-dnd": "^16.0.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"express": "^4.19.2",
"express": "^4.20.0",
"fast-check": "^3.18.0",
"jest-websocket-mock": "^2.5.0",
"jsdom": "^16.7.0",
Expand Down
2 changes: 1 addition & 1 deletion webui/react/src/routes/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,6 @@ export const findReactRoute = (url: string): RouteConfig | undefined => {
.filter((route) => route.path !== '*')
.find((route) => {
const routeRegex = pathToRegexp(route.path);
return routeRegex.test(pathname);
return routeRegex.regexp.test(pathname);
});
};

0 comments on commit 11de119

Please sign in to comment.