Socket
Socket
Sign inDemoInstall

zeanium-node

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zeanium-node - npm Package Compare versions

Comparing version 0.6.6 to 0.6.7

2

package.json
{
"name": "zeanium-node",
"version": "0.6.6",
"version": "0.6.7",
"description": "Zeanium for Node.js, simple http server and custome your business.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -197,2 +197,3 @@ /**

var _values = [],
_value = null,
_return = '';

@@ -241,7 +242,20 @@ switch (zn.type(where)){

case 'object':
var _ors = [];
zn.each(where, function (value, key){
_values.push(key + ' = ' + __formatSqlValue(value));
_value = __formatSqlValue(value);
if(key.indexOf('&') == -1 && key.indexOf('|') == -1){
_values.push(key + ' = ' + _value);
}else {
if(key.indexOf('&') != -1){
_values.push(key.replace('&', '') + _value);
}else if (key.indexOf('|') != -1) {
_ors.push(key.replace('|', '') + _value);
}
}
});
_return = _values.join(' and ');
if(_ors.length){
_return = _return + ' or ' + _ors.join(' or ');
}
break;

@@ -248,0 +262,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc