Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
Web Browser: Chrome
Local OS: macOS
Remote OS: Ubuntu
Remote Architecture: amd64
code-server --version: 4.90.3
Steps to Reproduce
Start up command failed with the following error.
error Unexpected ( at 18, expected END: https://git.new/pathToRegexpError
We run npm audit fix --force before start up command to fix all vulnerable node packages.
Which upgraded version for path-to-regexp from 3.2.0 to 8.0.1 and its a breaking change for code-server with above mentioned error.
Below are the references which got upgraded.
GHSA-9wv6-86v2-598j
GHSA-qw6h-vgh9-j6wx
For now I downgraded the express to 4.21.0 and its dependency path-to-regexp@0.1.10 is used.
Expected
code server should be started, post upgrading vulnerable packages.
Actual
code server is not started
Logs
error Unexpected ( at 18, expected END: https://git.new/pathToRegexpError
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response