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.4.0 to 3.4.1

9

lib/connect/PreparedQuery.js

@@ -127,5 +127,5 @@ /* SQB

const fields = {};
/* istanbul ignore else */
if (response.fields) {
if (response.fields && response.fields.length) {
const fields = {};
let i = 0;

@@ -141,3 +141,4 @@ for (const f of response.fields) {

response.fields = fields;
}
} else
delete response.fields;

@@ -147,3 +148,3 @@ if (response.cursor) {

} else if (response.rows) {
} else if (response.rows && response.rows.length) {
/* Normalize rows */

@@ -150,0 +151,0 @@ normalizeRows(response.rows, this.options);

{
"name": "sqb",
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript",
"version": "3.4.0",
"version": "3.4.1",
"author": "Panates Ltd.",

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

@@ -51,3 +51,3 @@

To see changelog click [here](CHANGELOG.md)
To see changelog click [here](https://github.com/panates/sqb/commits/master)

@@ -54,0 +54,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