kriasoft / universal-router

A simple middleware-style router for isomorphic JavaScript web apps
https://www.kriasoft.com/universal-router/
MIT License
1.7k stars 105 forks source link

Upgrade path-to-regexp from v3 to v6 #183

Closed frenzzy closed 4 years ago

frenzzy commented 4 years ago

This PR continues a rewriting to TypeScript started in #166 and also upgrades path-to-regexp dependency which brings new possibilities, see changelog.

Types of changes

Checklist:

TODO:

Closes #166 Closes #182 Closes #186

codecov-io commented 4 years ago

Codecov Report

Merging #183 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #183   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           7      3    -4     
  Lines         180    205   +25     
  Branches       53     63   +10     
=====================================
+ Hits          180    205   +25
Impacted Files Coverage Δ
src/UniversalRouterSync.ts 100% <100%> (ø)
src/generateUrls.ts 100% <100%> (ø)
src/UniversalRouter.ts 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4bf7acd...ed9b3d2. Read the comment docs.