@sap/hana-client
Advanced tools
Comparing version 2.23.24 to 2.23.26
@@ -11,2 +11,25 @@ # Hana Client 2.23.x Drivers | ||
## Version 2.23.26 | ||
### Changes: | ||
- Issue Number 337408: The Node.js driver could have crashed when Node.js was exiting. | ||
### Underlying SQLDBC changes: | ||
- Issue Number 337076: Reconnects could have used the wrong password. | ||
- Issue Number 332319: SQLDBC-based clients were unable to load OpenSSL libraries on macOS. | ||
## Version 2.23.25 | ||
### Changes: | ||
- Issue Number 336584: Node.js API exit tracing for some methods was missing information. | ||
- Issue Number 335634: Concurrent disconnect and cleanPool async calls could have crashed. | ||
- Issue Number 336134: Using @sap/hana-client with jest could have caused errors. | ||
### Underlying SQLDBC changes: | ||
- Issue Number 336532: Display more information if a "Crash at ... Reason ..." abort occurs. | ||
## Version 2.23.24 | ||
@@ -13,0 +36,0 @@ |
@@ -339,3 +339,3 @@ 'use strict'; | ||
HanaStatement.prototype.exec = function (params, callback) { | ||
if (callback === undefined || callback === null || (callback instanceof Function) === false) { | ||
if (callback === undefined || callback === null || typeof callback !== 'function') { | ||
throw new Error("Invalid parameter 'callback'."); | ||
@@ -493,3 +493,3 @@ } | ||
} | ||
if (callback !== undefined && callback !== null && !(callback instanceof Function)) { | ||
if (callback !== undefined && callback !== null && typeof callback !== 'function') { | ||
throw new Error("Invalid parameter 'callback'."); | ||
@@ -527,3 +527,3 @@ } | ||
} | ||
if (callback === undefined || callback === null || !(callback instanceof Function)) { | ||
if (callback === undefined || callback === null || typeof callback !== 'function') { | ||
throw new Error("Invalid parameter 'callback'."); | ||
@@ -530,0 +530,0 @@ } |
{ | ||
"name": "@sap/hana-client", | ||
"version": "2.23.24", | ||
"version": "2.23.26", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
@@ -5,3 +5,3 @@ { | ||
"description": "Official SAP HANA Node.js Driver", | ||
"version": "2.23.24", | ||
"version": "2.23.26", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "debug": "3.1.0" |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
193322401