npm upgrade
Homepath-to-regexp 6 → 7
6.3.0 → 7.2.0. What the package's exports lost, renamed or changed between the two releases, from lurq's extraction of both published tarballs.
path-to-regexp 7.2.0 removes or renames exports your code may import.
- Removed
- 3
- Renamed
- 0
- Signature changes
- 3
- Types removed
- 0
- Newly deprecated
- 0
- Added
- 1
Does this break your code?
Run this in your project. It compares both releases against the names your code actually imports, locally, with no account and nothing sent to lurq:
npx lurqrun check-upgrade --upgrade path-to-regexp@6.3.0..7.2.0
To have your coding agent check upgrades like this before it writes them, connect lurq to Claude Code, Cursor, VS Code or Codex:
npx lurqrun
Removed
Gone at runtime, with no replacement found under another name. Imports of these fail.
- regexpToFunctionfunction
- tokensToFunctionfunction
- tokensToRegexpfunction
Signature changes
Still exported, but the number of arguments it reads changed.
- compile2 → 1 arguments
- match2 → 1 arguments
- parse2 → 1 arguments
An export diff shows what a release removed or re-signatured, not behaviour changes: read the changelog for those. Extracted Oct 8, 2026. path-to-regexp on lurq.