You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

hyper-ts-routing

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-ts-routing - npm Package Compare versions

Comparing version

to
0.1.3

7

CHANGELOG.md

@@ -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 @@

7

dist/index.js

@@ -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;
}
}

2

package.json
{
"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",