-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
Closed
Description
In expressjs package.json the version of "path-to-regexp" listed in dependencies is "0.1.7".
This is considerably out-of-date with the the version of "path-to-regexp" in "pillarjs" which is "1.7.0".
Pulling the current "pillarjs" version of "path-to-regexp" into expressjs by upping the version number to
"1.7.0" in expressjs's package.json causes at least one of the expressjs tests to fail (no surprise I guess).
node_modules/path-to-regexp/index.js:394
return attachKeys(new RegExp('^' + route, flags(options)), keys)
^
SyntaxError: Invalid regular expression: /^\/files\/((?:*))(?:\/(?=$))?$/: Nothing to repeat
at RegExp (native)
Is there any reason why expressjs is still using the "0.1.7" version of "path-to-regexp" and/or can this
out-of-date version issue be remedied?
Thanks for comments/help, Justin Johansson