hyper-ts-routing
Advanced tools
Comparing version
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.1.3](https://github.com/thewilkybarkid/hyper-ts-routing/compare/v0.1.2...v0.1.3) (2025-05-01) | ||
### Bug Fixes | ||
* don't fail with malformed URIs ([19a0f5b](https://github.com/thewilkybarkid/hyper-ts-routing/commit/19a0f5bb2c081927fad7f2d62697c3ef5caeb0d1)) | ||
### [0.1.2](https://github.com/thewilkybarkid/hyper-ts-routing/compare/v0.1.1...v0.1.2) (2025-03-11) | ||
@@ -7,0 +14,0 @@ |
@@ -52,3 +52,8 @@ "use strict"; | ||
function routeFromConnection(c) { | ||
return R.Route.parse(c.getOriginalUrl()); | ||
try { | ||
return R.Route.parse(c.getOriginalUrl()); | ||
} | ||
catch (_a) { | ||
return R.Route.empty; | ||
} | ||
} |
{ | ||
"name": "hyper-ts-routing", | ||
"description": "A hyper-ts middleware for fp-ts-routing.", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/thewilkybarkid/hyper-ts-routing", |
7318
4.83%74
7.25%