Sourced from path-to-regexp's releases.
8.4.0
Important
Fixed
- Restricts wildcard backtracking when using more than 1 in a path (pillarjs/path-to-regexp#421)
Changed
- Dedupes regex prefixes (pillarjs/path-to-regexp#422)
- This will result in shorter regular expressions for some cases using optional groups
- Rejects large optional route combinations (pillarjs/path-to-regexp#424)
- When using groups such as
/users{/delete}it will restrict the number of generated combinations to < 256, equivalent to 8 top-level optional groups and unlikely to occur in a real world application, but avoids exploding the regex size for applications that accept user created routes
34cb451
8.4.022a9679
Reject large optional route combinations (#424)8881a88
Byte optimization (#423)43669ac
Dedupe regex prefixes (#422)4864654
Restrict repeated wildcard backtracking (#421)05a5a97
Remove dependabot config (#404)5b635cd
Remove package-lock.json (#407)