Comparing version 3.7.4 to 3.7.5
@@ -159,2 +159,5 @@ /* SQB | ||
if (response.rowsAffected) | ||
result.rowsAffected = response.rowsAffected; | ||
return result; | ||
@@ -161,0 +164,0 @@ |
@@ -20,2 +20,3 @@ /* SQB | ||
/* istanbul ignore next: Same as lowercase test*/ | ||
function upperCaseObjectKeys(obj) { | ||
@@ -39,3 +40,5 @@ for (const key of Object.getOwnPropertyNames(obj)) { | ||
lowerCaseObjectKeys(row); | ||
else if (options.naming === 'uppercase') | ||
else | ||
/* istanbul ignore next: Same as lowercase test*/ | ||
if (options.naming === 'uppercase') | ||
upperCaseObjectKeys(row); | ||
@@ -42,0 +45,0 @@ |
@@ -0,3 +1,5 @@ | ||
/* istanbul ignore next */ | ||
module.exports = function promisePolyfill() { | ||
if (typeof Promise.prototype.finally !== 'function') { | ||
// eslint-disable-next-line | ||
Promise.prototype.finally = function(fn) { | ||
@@ -4,0 +6,0 @@ if (typeof fn !== 'function') |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "3.7.4", | ||
"version": "3.7.5", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
121380
4468