[feat] Update to use URLPattern
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 37
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API
This is a node native feature as of v24 with support for regex groups, which path-to-regexp removed recently. Migrating to URLPattern will add back regex groups, but only for newer versions of node.
Contributor guide
Research direction
Start by reading the linked URLPattern API documentation and then inspect how path-match currently uses path-to-regexp. Identify the route-matching entry point and any existing tests before assessing the migration. Done means path-match uses URLPattern while accounting for the Node.js version requirement and restoring regex-group support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100