Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinyhttp/router

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/router - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

41

dist/index.js

@@ -75,6 +75,41 @@ const METHODS = [

class Router {
middleware = [];
mountpath = "/";
parent;
apps = {};
acl;
bind;
checkout;
connect;
copy;
delete;
get;
head;
link;
lock;
merge;
mkactivity;
mkcalendar;
mkcol;
move;
notify;
options;
patch;
post;
pri;
propfind;
proppatch;
purge;
put;
rebind;
report;
search;
source;
subscribe;
trace;
unbind;
unlink;
unlock;
unsubscribe;
constructor() {
this.middleware = [];
this.mountpath = "/";
this.apps = {};
for (const m of METHODS) {

@@ -81,0 +116,0 @@ this[m.toLowerCase()] = this.add(m);

2

package.json
{
"name": "@tinyhttp/router",
"version": "2.0.6",
"version": "2.0.7",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Router for tinyhttp",

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