path-to-regexp icon indicating copy to clipboard operation
path-to-regexp copied to clipboard

Add original path to error messages

Open blakeembrey opened this issue 7 months ago • 0 comments

Closes https://github.com/pillarjs/path-to-regexp/issues/336, https://github.com/pillarjs/path-to-regexp/pull/358, https://github.com/pillarjs/path-to-regexp/pull/356, and https://github.com/pillarjs/path-to-regexp/pull/354.

Adds originalPath to TokenData, which will be used (when available) for the error messages. It's already added to any methods that input a string.

blakeembrey avatar May 10 '25 18:05 blakeembrey