find-my-way
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -293,3 +293,3 @@ 'use strict' | ||
var handle = currentNode.handlers[method] | ||
if (handle !== null) { | ||
if (handle !== null && handle !== undefined) { | ||
var paramsObj = {} | ||
@@ -459,3 +459,3 @@ if (handle.paramsLength > 0) { | ||
var handle = node.handlers[method] | ||
if (handle !== null) { | ||
if (handle !== null && handle !== undefined) { | ||
return { | ||
@@ -462,0 +462,0 @@ handler: handle.handler, |
{ | ||
"name": "find-my-way", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "Crazy fast http radix based router", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -679,3 +679,3 @@ 'use strict' | ||
findMyWay.lookup({ method: 'PROPFIND', url: '/' }, null) | ||
findMyWay.lookup({ method: 'TROLL', url: '/' }, null) | ||
}) | ||
@@ -695,3 +695,3 @@ | ||
findMyWay.lookup({ method: 'PROPFIND', url: '/hello/world' }, null) | ||
findMyWay.lookup({ method: 'TROLL', url: '/hello/world' }, null) | ||
}) | ||
@@ -705,3 +705,3 @@ | ||
t.deepEqual(findMyWay.find('PROPFIND', '/'), null) | ||
t.deepEqual(findMyWay.find('TROLL', '/'), null) | ||
}) | ||
@@ -715,3 +715,3 @@ | ||
t.deepEqual(findMyWay.find('PROPFIND', '/hello/world'), null) | ||
t.deepEqual(findMyWay.find('TROLL', '/hello/world'), null) | ||
}) | ||
@@ -718,0 +718,0 @@ |
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
109610