5 curated breaking changes across major versions of path-to-regexp. Use this as a migration checklist before bumping dependencies.
The function returned by `compile` only accepts strings as values (i.e. no numbers, use `String(value)` before compiling a path)
For repeated values, when `encode !== false`, it must be an array of strings
Parameter names can contain all unicode identifier characters (defined as regex `\p{XID_Continue}`).
Modifiers (`?`, `*`, `+`) must be used after a param explicitly wrapped in `{}`
No more implied prefix of `/` or `.`
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/npm/path-to-regexp