Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqb

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqb - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

6

lib/sqlobject/operators/CompOperator.js

@@ -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",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc