upgrade path-to-regexp package?
See original GitHub issueI filed this bug with the path-to-regexp
package. However, I noticed that express@3.14.x is currently using path-to-regexp@0.1.7. I did a test install with path-to-regexp@1.7.0 and my local instance stopped having those issues in the ticket I linked to.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
path-to-regexp - npm
The pathToRegexp function will return a regular expression object based on the provided path argument. It accepts the following arguments: path ...
Read more >Upgrade path-to-regexp to latest · Issue #7658 - GitHub
We believe this is because the path-to-regexp package currently imported in react-router is 1.7.0 and the latest version that we are using ...
Read more >code/node_modules/path-to-regexp - GitLab - Lnu.se
Path-to-RegExp. Turn an Express-style path string such as /user/:name into a regular expression. Note: This is a legacy branch. You should upgrade to...
Read more >Npm update a dependency of a dependency in Node.js
Npm update has a depth paramater shown in the docs, but I don't want to update all of express' dependencies, just path-to-regexp.
Read more >express-upgrade - npm Package Health Analysis - Snyk
express-upgrade. v0.0.1. Handle HTTP upgrade requests through Express apps For more information about how to use this package see README.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wait until the main person of the module replies to your bug. That module is part of the Express project, so it’s possible there is a bug fix made to the 0.1.x line, which has happened several times. It depends on what the issue is.
Otherwise, just provide a regular expression as your path to express directly instead of a string and you can use whatever kind of expression you desire.
i went with using an actual regex instead. thanks