koa-architect
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -6,6 +6,2 @@ | ||
const Router = require('koa-trie-router') | ||
const { | ||
isArray, | ||
isFunction | ||
} = require('./lang') | ||
@@ -67,2 +63,21 @@ | ||
} | ||
} | ||
// ------------ | ||
/** | ||
* @param {*} any | ||
* @return {Boolean} | ||
*/ | ||
function isArray(any) { | ||
return Array.isArray(any) | ||
} | ||
/** | ||
* @param {*} any | ||
* @return {Boolean} | ||
*/ | ||
function isFunction(any) { | ||
return typeof any === 'function' | ||
} |
{ | ||
"name": "koa-architect", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"homepage": "https://github.com/nervgh/koa-architect", | ||
@@ -5,0 +5,0 @@ "main": "lib/architect.js", |
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
7614
4