url-router
Advanced tools
Comparing version 10.0.0 to 10.0.1
@@ -79,3 +79,3 @@ 'use strict'; | ||
if (child && child.handler) { | ||
if (child && child.handler !== undefined) { | ||
return { | ||
@@ -106,3 +106,3 @@ handler: child.handler, | ||
if (match) { | ||
if (match[0].length === remain.length && child.handler) { | ||
if (match[0].length === remain.length && child.handler !== undefined) { | ||
if (child.param) { | ||
@@ -109,0 +109,0 @@ params[child.param] = match[0]; |
{ | ||
"name": "url-router", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"description": "A Trie-based router", | ||
@@ -5,0 +5,0 @@ "main": "dist/URLRouter", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16029