path-to-regexp
9.0.0 · 22 Oct 2026MIT310.6M / weekRepositoryHomepagenpmAtom feed
Upgrading path-to-regexp From 8.3.0 to 9.0.0
4 releases in betweennotes for 1
Reading releases, release notes and advisories…
The note of 9.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 2
- advisories fixed
- ?
- new
- 3+
- fixes
Counted from 1 of 4 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 2 advisories affecting 8.3.0
- path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcardsmoderate · GHSA-27v5-c462-wpq7
- path-to-regexp vulnerable to Denial of Service via sequential optional groupshigh · GHSA-j3q9-mxjg-w52f
Release by release
- fixed
Avoid duplicate trailing delimiter matches
- fixed
Fix stringify of param names with control characters
- fixed
Fix stringify lookahead across empty text tokens
- fixed
8.4.0 – 8.4.23 releases, no release note
6 other lines we could not sort, mostly version bumps
- 9.0.0
Refactor matching to be non-greedy
- 9.0.0
Build project as ESM
- 9.0.0
Remove
TokenDataclass andKeystype - 9.0.0
Reject an empty-string param in compile
- 9.0.0
Reject wildcard array that compiles to an empty path
- 9.0.0
Quote param names followed by astral ID_Continue text