Socket
Socket
Sign inDemoInstall

itty-router

Package Overview
Dependencies
Maintainers
2
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itty-router - npm Package Compare versions

Comparing version 1.2.10 to 1.2.14

6

dist/itty-router.d.ts

@@ -9,5 +9,11 @@ interface RouteHandler<TRequest> {

type Obj = {
[propName: string]: string
}
interface Request {
method?: string
url: string
params?: Obj
query?: Obj
}

@@ -14,0 +20,0 @@

4

package.json
{
"name": "itty-router",
"version": "1.2.10",
"version": "1.2.14",
"description": "Tiny, zero-dependency router with route param and query parsing.",

@@ -30,3 +30,3 @@ "main": "./dist/itty-router.min.js",

"build": "terser -c -m toplevel -- dist/itty-router.js > dist/itty-router.min.js",
"release": "release --tag --push --nopublish --nocleanup"
"release": "release --tag --push"
},

@@ -33,0 +33,0 @@ "repository": {

@@ -5,4 +5,4 @@ ![Logo][logo-image]

[![minified + gzipped size][gzip-image]][gzip-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Open Issues][issues-image]][issues-url]

@@ -247,4 +247,5 @@

#### Core, Concepts, and Codebase
- [@mvasigh](https://github.com/mvasigh)
- [@mvasigh](https://github.com/mvasigh) - proxy hacks courtesy of this chap
- [@roojay520](https://github.com/roojay520) - TS interface fixes
#### Documentation Fixes
- [@arunsathiya](https://github.com/arunsathiya)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc