@tinyhttp/router
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -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); |
{ | ||
"name": "@tinyhttp/router", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Router for tinyhttp", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10456
289