-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The returned regex object from `pathToRegex` used to include the modified keys array as a `keys` property in v1.7.0. The current API is not entirely ideal, since a keys array must be passed, we could instead use a more functional API where no array is mutated. In the future this should be changed that no array needs to be passed to `pathToRegex`, adding it as a property is done for backwards compatibility.
- Loading branch information
Showing
1 changed file
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters