issues Search Results · repo:pillarjs/path-to-regexp language:TypeScript
Filter by
222 results
(92 ms)222 results
inpillarjs/path-to-regexp (press backspace or delete to remove)In versions 8 it was possible to customize the parameter match using a regex. For example, :param(a|b|c). While this is
immensely helpful for end users, it created a security issue if the user manages ...
blakeembrey
- Opened on Jun 11
- #380
It comes up often that people want to be able to exclude a route from matching:
https://github.com/pillarjs/path-to-regexp/issues/378, https://github.com/pillarjs/path-to-regexp/issues/268,
https://github.com/pillarjs/path-to-regexp/issues/252, ...
blakeembrey
- Opened on Jun 11
- #379
The routes I am trying to match
- /api/auth/business (exact)
- /api/auth/business/anything-here-except-login (I don t want to match /api/auth/business/login)
Currently, I have /api/auth/:application{/*path} ...
Rc85
- 1
- Opened on Jun 11
- #378
Currently when a path is invalid the error is not very helpful, especially when code base is large.
I think this will be very helpful, in my case for example I am trying to migrate from express 4 to 5 ...
phoenixstudiodz
- 1
- Opened on May 31
- #366
I am trying to build an use case where I will match the provided path s using patterns and then will rewrite path to the
new format. Here if source is having optional parameter then destination is always ...
chavanrahul10
- 1
- Opened on Apr 28
- #360
When I run it it says:
node_modules/path-to-regexp/dist/index.js:49
throw new TypeError(`Missing parameter name at ${i}: ${DEBUG_URL}`);
^
TypeError: Missing parameter name at ...
SlothScript
- 1
- Opened on Apr 15
- #357
Hi there,
I am wondering how path-to-regexp would support matching paths only if or whether I need to adopt URLPattern.
Use case i18n
I need a pattern that matches localized URLs.
https://example.com/page ...
samuelstroschein
- 2
- Opened on Feb 13
- #349
Problem
Tree-shaking is not working with v7 and above because the ESM build has been removed.
I am the author of Paraglide JS. Tree-shaking is a key differentiator. For locale detection reasons, I d ...
samuelstroschein
- 13
- Opened on Feb 3
- #347
I try to update from v6 to v8 but have a problem with build and typescript when I try to use current CJS build I got
[ERROR] exports is not defined
https://github.com/microsoft/TypeScript/issues/32934 ...
help wanted
zoxon
- 3
- Opened on Jan 20
- #346
In previous older versions of path-to-regexp you could apply regexp format rules for parameters like /:lang(\w{2}) it
seems that this is no longer supported? If it is still supported can you please provide ...
egloffmark
- Opened on Dec 31, 2024
- #343

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.