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 0.0.4 to 0.0.5

6

lib/generator.js

@@ -28,4 +28,4 @@ /**

this.namedParams = !config || config.namedParams === undefined || !!config.namedParams;
this.inputParams = (config && config.params) || {};
this.reservedWords = ['select', 'with', 'join', 'and', 'or', 'not'];
this._inputParams = (config && config.params) || {};
}

@@ -184,6 +184,6 @@

str += item.operator + ' :' + item.param;
this.params[item.param] = this.inputParams[item.param];
this.params[item.param] = this._inputParams[item.param];
} else {
str += item.operator + ' ?';
this.params.push(this.inputParams[item.param]);
this.params.push(this._inputParams[item.param]);
}

@@ -190,0 +190,0 @@ } else {

{
"name": "sqb",
"description": "Lightweight, multi-dialect SQL query builder for JavaScript",
"version": "0.0.4",
"version": "0.0.5",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

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