find-my-way
Advanced tools
Comparing version 1.15.1 to 1.15.2
@@ -485,2 +485,3 @@ 'use strict' | ||
for (var i in http.METHODS) { | ||
if (!http.METHODS.hasOwnProperty(i)) continue | ||
const m = http.METHODS[i] | ||
@@ -487,0 +488,0 @@ const methodName = m.toLowerCase() |
{ | ||
"name": "find-my-way", | ||
"version": "1.15.1", | ||
"version": "1.15.2", | ||
"description": "Crazy fast http radix based router", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -114,7 +114,7 @@ # find-my-way | ||
router.on('GET', '/example', { version: '1.2.0' }, (req, res, params) => { | ||
res.send('Hello from 1.2.0!') | ||
res.end('Hello from 1.2.0!') | ||
}) | ||
router.on('GET', '/example', { version: '2.4.0' }, (req, res, params) => { | ||
res.send('Hello from 2.4.0!') | ||
res.end('Hello from 2.4.0!') | ||
}) | ||
@@ -121,0 +121,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
129636
30
3692