npm path-to-regexp 4.0.0
ES2015 Package for Bundlers

latest releases: 8.2.0, 0.1.11, 6.3.0...
4 years ago

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 to decodeURIComponent

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

Don't miss a new path-to-regexp release

NewReleases is sending notifications on new releases.