Use a latest version of path-to-regexp for path-match (#3655)
* Use the latest path-to-regexp for path-match. * Fix the error route resolving. * Give proper credit to path-match * Remove an unwanted route. * Revert "Remove an unwanted route." This reverts commit 523c1687da8ddd499819e70df81567ec208e5998. * Add a comment why we need to keep _error.js route.
Showing
| ... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
| "glob-promise": "3.3.0", | "glob-promise": "3.3.0", | ||
| "hoist-non-react-statics": "2.3.1", | "hoist-non-react-statics": "2.3.1", | ||
| "htmlescape": "1.1.1", | "htmlescape": "1.1.1", | ||
| "http-errors": "1.6.2", | |||
| "http-status": "1.0.1", | "http-status": "1.0.1", | ||
| "json-loader": "0.5.7", | "json-loader": "0.5.7", | ||
| "loader-utils": "1.1.0", | "loader-utils": "1.1.0", | ||
| ... | @@ -84,7 +85,7 @@ | ... | @@ -84,7 +85,7 @@ |
| "mkdirp-then": "1.2.0", | "mkdirp-then": "1.2.0", | ||
| "mv": "2.1.1", | "mv": "2.1.1", | ||
| "mz": "2.7.0", | "mz": "2.7.0", | ||
| "path-match": "1.2.4", | "path-to-regexp": "2.1.0", | ||
| "pkg-up": "2.0.0", | "pkg-up": "2.0.0", | ||
| "prop-types": "15.6.0", | "prop-types": "15.6.0", | ||
| "prop-types-exact": "1.1.1", | "prop-types-exact": "1.1.1", | ||
| ... | ... |
server/lib/path-match.js
0 → 100644
Please
register
or
sign in
to comment