We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
path-to-regexp
Not Found
In path-to-regexp 6.3.0 version, it introduces the backtrack protection which would throw errors in such cases while the path is /vite/.+
backtrack protection
/vite/.+
if (token.modifier === "+" || token.modifier === "*") { - route += `((?:${token.pattern})${token.modifier})`; - } else { - route += `(${token.pattern})${token.modifier}`; + throw new TypeError( + `Can not repeat "${token.name}" without a prefix and suffix`, + ); } + + route += `(${token.pattern})${token.modifier}`;
A temporary solution is to set the version range of the package to ^6.2.1 <=6.3.0, though.
^6.2.1 <=6.3.0
Ref: pillarjs/path-to-regexp#324
The text was updated successfully, but these errors were encountered:
cordiverse/webui@24dd1e6
No branches or pull requests
In
path-to-regexp
6.3.0 version, it introduces thebacktrack protection
which would throw errors in such cases while the path is/vite/.+
A temporary solution is to set the version range of the package to
^6.2.1 <=6.3.0
, though.Ref: pillarjs/path-to-regexp#324
The text was updated successfully, but these errors were encountered: