npm path-to-regexp 7.1.0
Strict mode

latest releases: 6.3.0, 3.3.0, 1.9.0...
2 months ago

Added

  • Adds a strict option to detect potential ReDOS issues

Fixed

  • Fixes separator to default to suffix + prefix when not specified
  • Allows separator to be undefined in TokenData
    • This is only relevant if you are building TokenData manually, previously parse filled it in automatically

Comments

  • I highly recommend enabling strict: true and I'm probably releasing a V8 with it enabled by default ASAP as a necessary security mitigation

v7.0.0...v7.1.0

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

NewReleases is sending notifications on new releases.