Comparing version 3.6.0 to 3.6.1
@@ -49,3 +49,3 @@ /* eslint-disable */ | ||
const expression = this._expression.isSerializable ? | ||
this._expression._serialize(ctx) : String(this._expression); | ||
this._expression._serialize(ctx) : this._expression; | ||
const o = { | ||
@@ -88,3 +88,5 @@ operatorType: this.operatorType, | ||
__serialize /* istanbul ignore next : This is an abstract method */(ctx, o) { | ||
return o.expression + ' ' + o.symbol + ' ' + o.value; | ||
return (Array.isArray(o.expression) ? | ||
'(' + o.expression.join(',') + ')' : o.expression) + | ||
' ' + o.symbol + ' ' + o.value; | ||
} | ||
@@ -91,0 +93,0 @@ |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"author": "Panates Ltd.", | ||
@@ -12,3 +12,3 @@ "contributors": [ | ||
"type": "git", | ||
"url": "https://github.com/panates/sqb.git" | ||
"url": "https://github.com/sqbjs/sqb.git" | ||
}, | ||
@@ -39,3 +39,3 @@ "main": "lib/index.js", | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^5.11.0", | ||
"eslint": "^5.11.1", | ||
"eslint-config-google": "^0.11.0", | ||
@@ -42,0 +42,0 @@ "mocha": "^5.2.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
120665
4435