Socket
Socket
Sign inDemoInstall

lie-any

Package Overview
Dependencies
8
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

32

lib/any.js

@@ -8,19 +8,21 @@ var qMap = require('lie-quickmap');

return promise(function(yes,no){
all(qMap(array,function(value){
var cvalue = cast(value);
if(hasfunc){
cvalue = cvalue.then(func);
}
return cvalue.then(function(pValue){
if(pValue){
yes(true);
}else{
return false;
cast(array).then(function(arr){
all(qMap(arr,function(value){
var cvalue = cast(value);
if(hasfunc){
cvalue = cvalue.then(func);
}
});
})).then(function(){
yes(false);
},no);
return cvalue.then(function(pValue){
if(pValue){
yes(true);
}else{
return false;
}
});
})).then(function(){
yes(false);
},no);
});
});
}
module.exports = any;
module.exports = any;
{
"name": "lie-any",
"version": "0.1.0",
"version": "0.1.1",
"description": "any lie will do",

@@ -5,0 +5,0 @@ "main": "lib/any.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc