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.2.5 to 0.2.8

src/connection.js

4

package.json
{
"name": "sqb",
"description": "Lightweight, multi-dialect SQL query builder for JavaScript",
"version": "0.2.5",
"version": "0.2.8",
"author": "Panates Ltd.",

@@ -33,3 +33,3 @@ "contributors": [

"peerDependencies": {
"sqb-connect": "^0.0.10"
"sqb-connect": "^0.0.11"
},

@@ -36,0 +36,0 @@ "engines": {

@@ -10,3 +10,2 @@ /* SQB

/* Internal module dependencies. */
const SqlBuilder = require('./sqlbuilder');
const SqlObject = require('./sqlobjects/abstract');

@@ -23,12 +22,15 @@ const Select = require('./sqlobjects/select');

const Serializer = require('./serializer');
const {DbPool} = require('sqb-connect');
const DbPool = require('./pool');
const Connection = require('./connection');
const sqlObjects = require('./sqlobjects');
/* Register built-in serializers */
require('./dialects/oracle_serializer');
module.exports = new SqlBuilder();
Object.assign(sqlObjects, {
Object.assign(module.exports, {
SqlBuilder,
Serializer,
DbPool,
Connection,
SqlObject,

@@ -44,4 +46,2 @@ Select,

ConditionGroup,
Serializer,
DbPool,

@@ -57,5 +57,2 @@ serializer: function (config) {

DbPool._sqb = module.exports;
module.exports = sqlObjects;

@@ -10,3 +10,2 @@ /* SQB

/* Internal module dependencies. */
const StringBuilder = require('./helpers/stringbuilder');

@@ -13,0 +12,0 @@

@@ -31,3 +31,3 @@ /* SQB

dbpool() {
get dbpool() {
return typeof this.builder.connect === 'function' ? this.builder : undefined;

@@ -43,2 +43,7 @@ }

identify(value) {
this._identity = value;
return this;
}
//noinspection JSUnusedGlobalSymbols

@@ -45,0 +50,0 @@ then(callback) {

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