Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"engine.io>cookie": "^0.7.0",
"express>body-parser": "^1.20.3",
"express>cookie": "^0.7.0",
"express>path-to-regexp": "^0.1.13",
"express>path-to-regexp": "^0.2.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: Forcing Express 4.x to path-to-regexp@^0.2.0 can break route matching semantics. Keep Express 4 on the 0.1.x line unless you also validate/migrate route patterns for the behavior changes.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 71:

<comment>Forcing Express 4.x to `path-to-regexp@^0.2.0` can break route matching semantics. Keep Express 4 on the `0.1.x` line unless you also validate/migrate route patterns for the behavior changes.</comment>

<file context>
@@ -68,7 +68,7 @@
       "express>body-parser": "^1.20.3",
       "express>cookie": "^0.7.0",
-      "express>path-to-regexp": "^0.1.13",
+      "express>path-to-regexp": "^0.2.0",
       "express>qs": "^6.14.2",
       "express>send": "^0.19.0",
</file context>
Suggested change
"express>path-to-regexp": "^0.2.0",
"express>path-to-regexp": "^0.1.13",

"express>qs": "^6.14.2",
"express>send": "^0.19.0",
"express>serve-static": "^1.16.0",
Expand Down
Loading
Loading