You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

firebird-query

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebird-query - npm Package Compare versions

Comparing version

to
0.6.4

7

lib/cjs/index.js

@@ -167,5 +167,8 @@ "use strict";

const insertManyQuery = ({ tableName, columnNames, rowValues, }) => {
const sortedColumnsStr = columnNames.slice().sort().join(", ");
const sortedColumnsStr = columnNames
.slice()
.sort((a, b) => String(a).localeCompare(String(b)))
.join(", ");
const selectStatements = rowValues.map((row) => {
const sortedRow = Object.entries(row).sort(([a], [b]) => a.localeCompare(b));
const sortedRow = Object.entries(row).sort(([a], [b]) => String(a).localeCompare(String(b)));
const valuesList = sortedRow

@@ -172,0 +175,0 @@ .map(([, value]) => escape(value))

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.6.3",
"version": "0.6.4",
"description": "node-firebird plugin for easy and safe query building.",

@@ -8,0 +8,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet