crawler-lian
Advanced tools
Comparing version 1.0.6 to 1.0.7
//isPromise | ||
module.exports = function isPromise(obj) { | ||
return typeof obj === 'object' && typeof obj.then === 'function'; | ||
return obj && typeof obj === 'object' && typeof obj.then === 'function'; | ||
}; |
{ | ||
"name": "crawler-lian", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A configuration - based crawler framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
22002