depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access
depscope/breaking/npm/path-to-regexp

path-to-regexp breaking changes

npm

5 curated breaking changes across major versions of path-to-regexp. Use this as a migration checklist before bumping dependencies.

View package health \u2192Known bugs \u2192
5
changes

Breaking changes by transition

  • v6.2.2 \u2192 v7.0.0

    breaking

    The function returned by `compile` only accepts strings as values (i.e. no numbers, use `String(value)` before compiling a path)

  • v6.2.2 \u2192 v7.0.0

    breaking

    For repeated values, when `encode !== false`, it must be an array of strings

  • v6.2.2 \u2192 v7.0.0

    breaking

    Parameter names can contain all unicode identifier characters (defined as regex `\p{XID_Continue}`).

  • v6.2.2 \u2192 v7.0.0

    breaking

    Modifiers (`?`, `*`, `+`) must be used after a param explicitly wrapped in `{}`

  • v6.2.2 \u2192 v7.0.0

    breaking

    No more implied prefix of `/` or `.`

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/path-to-regexp
DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents