find-my-way
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -432,3 +432,3 @@ 'use strict' | ||
// if exist, save the wildcard child | ||
if (currentNode.wildcardChild !== null) { | ||
if (currentNode.wildcardChild !== null && currentNode.wildcardChild.handlers[method] !== null) { | ||
wildcardNode = currentNode.wildcardChild | ||
@@ -446,3 +446,3 @@ pathLenWildcard = pathLen | ||
// if exist, save the wildcard child | ||
if (currentNode.wildcardChild !== null) { | ||
if (currentNode.wildcardChild !== null && currentNode.wildcardChild.handlers[method] !== null) { | ||
wildcardNode = currentNode.wildcardChild | ||
@@ -449,0 +449,0 @@ pathLenWildcard = pathLen |
{ | ||
"name": "find-my-way", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Crazy fast http radix based router", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -32,3 +32,3 @@ # find-my-way | ||
if (err) throw err | ||
console.log('Server listening on: http://localost:3000') | ||
console.log('Server listening on: http://localhost:3000') | ||
}) | ||
@@ -35,0 +35,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
162447
42
4526