Releases: pillarjs/path-to-regexp
Releases · pillarjs/path-to-regexp
Remove `String#normalize`
Fixed
- Remove usage of
String.prototype.normalize
to continue supporting IE
Normalize Path Whitelist
Added
- Add normalize whitelist of characters (defaults to
/%.-
)
Allow `RegexpOptions` in `match`
Fixed
- Allow
RegexpOptions
inmatch(...)
function
Fix Spelling of Regexp
Fixed
- Normalize
regexp
spelling across 4.x
ES2015 Package for Bundlers
All path rules are backward compatible with 3.x, except for nested ()
and other RegEx special characters that were previously ignored.
Changed
- Export names have changed to support ES2015 modules in bundlers
match
does not default todecodeURIComponent
Added
- New
normalizePathname
utility for supporting unicode paths in libraries - Support nested non-capturing groups within parameters
- Add tree-shaking (via ES2015 modules) for webpack and other bundlers
Match Function
Added
- Add native
match
function to library
Backport token to function options
Added
- Backport
TokensToFunctionOptions