Skip to content

ES2015 Package for Bundlers

Compare
Choose a tag to compare
@blakeembrey blakeembrey released this 12 Nov 03:32
· 111 commits to master since this release

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