Socket
Socket
Sign inDemoInstall

@sap/hana-client

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/hana-client - npm Package Compare versions

Comparing version 2.18.24 to 2.18.27

31

CHANGELOG.md

@@ -0,1 +1,20 @@

# Hana Client 2.19.x Drivers
Please see the "What’s new in the SAP HANA Client" section in the official HANA client 2.19 documentation:
https://help.sap.com/viewer/product/SAP_HANA_CLIENT/2.19/en-US
For the latest updates please see SAP Note 3393980 - SAP HANA Client 2.19 Release Notes
https://me.sap.com/notes/3393980
## Version 2.19.13
### Underlying SQLDBC changes:
- Issue Number 314098: Access to the user store may not have operated correctly on Apple macOS ARM machines.
- Issue Number 312321: GetData could have hung in rare cases when NCLOB contained non-BMP characters.
- Issue Number 310229: Some drivers could have reported an empty string for SQL state.
- Issue Number 309098: hdbsqldbc_cons and hdbodbc_cons did not notify running clients when the trace file name was changed.
# Hana Client 2.18.x Drivers

@@ -11,2 +30,14 @@

## Version 2.18.27
### Changes:
- Issue Number 315554: Memory could have been leaked if setClientInfo() was called.
- Issue Number 305267: Statement.exec[ute](null | undefined) would have caused an error in TypeScript.
### Underlying SQLDBC changes:
- Issue Number 314283: SQLDBC performance could have been negatively affected in some situations.
- Issue Number 316010: When the SECUDIR environment variable was not needed, the driver still required it to be set to a dummy value in order to connect using SAP’s Common Crypto Library (CCL).
## Version 2.18.24

@@ -13,0 +44,0 @@

49

lib/index.d.ts

@@ -7,3 +7,4 @@ declare module '@sap/hana-client' {

type HanaTraceCallback = (buf: string) => void;
type HanaParameterType = null | undefined | number | boolean | string | {[key: string]: boolean} | Buffer;
type HanaParameterType = null | undefined | number | boolean | string | Buffer | {[key: string]: Boolean};
type HanaParameterList = HanaParameterType[] | {[key: string]: HanaParameterType} | undefined | null;

@@ -85,22 +86,20 @@ interface ConnectionOptions {

public exec<T>(params?: HanaParameterList): T;
public exec<T>(options: {[key: string]: any}): T;
public exec<T>(params: HanaParameterList, options: {[key: string]: any}): T;
public exec<T>(fn: HanaResultCallback<T>): void;
public exec<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, fn: HanaResultCallback<T>): void;
public exec<T>(params: HanaParameterList, fn: HanaResultCallback<T>): void;
public exec<T>(options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public exec<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public exec<T>(params: HanaParameterList, options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public exec<T>(): T;
public exec<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}): T;
public exec<T>(options: {[key: string]: any}): T;
public exec<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, options: {[key: string]: any}): T;
public execute<T>(params?: HanaParameterList): T;
public execute<T>(options: {[key: string]: any}): T;
public execute<T>(params: HanaParameterList, options: {[key: string]: any}): T;
public execute<T>(fn: HanaResultCallback<T>): void;
public execute<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, fn: HanaResultCallback<T>): void;
public execute<T>(params: HanaParameterList, fn: HanaResultCallback<T>): void;
public execute<T>(options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public execute<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public execute<T>(params: HanaParameterList, options: {[key: string]: any}, fn: HanaResultCallback<T>): void;
public execute<T>(): T;
public execute<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}): T;
public execute<T>(options: {[key: string]: any}): T;
public execute<T>(params: HanaParameterType[] | {[key: string]: HanaParameterType}, options: {[key: string]: any}): T;
public execBatch<T>(params: Array<Array<HanaParameterType>>): T;

@@ -116,17 +115,19 @@ public execBatch<T>(params: Array<Array<HanaParameterType>>, options: {[key: string]: any}): T;

public execQuery(params?: HanaParameterList): ResultSet;
public execQuery(options: {[key: string]: any}): ResultSet;
public execQuery(params: HanaParameterList, options: {[key: string]: any}): ResultSet;
public execQuery(fn: HanaResultSetCallback): void;
public execQuery(params: HanaParameterType[], fn: HanaResultSetCallback): void;
public execQuery(params?: HanaParameterType[]): ResultSet;
public execQuery(params: HanaParameterType[], options: {[key: string]: any}): ResultSet;
public execQuery(params: HanaParameterType[], options: {[key: string]: any}, fn: HanaResultSetCallback): void;
public execQuery(options: {[key: string]: any}): ResultSet;
public execQuery(params: HanaParameterList, fn: HanaResultSetCallback): void;
public execQuery(options: {[key: string]: any}, fn: HanaResultSetCallback): void;
public execQuery(params: HanaParameterList, options: {[key: string]: any}, fn: HanaResultSetCallback): void;
public executeQuery(params?: HanaParameterList): ResultSet;
public executeQuery(options: {[key: string]: any}): ResultSet;
public executeQuery(params: HanaParameterList, options: {[key: string]: any}): ResultSet;
public executeQuery(fn: HanaResultSetCallback): void;
public executeQuery(params: HanaParameterType[], fn: HanaResultSetCallback): void;
public executeQuery(params?: HanaParameterType[]): ResultSet;
public executeQuery(params: HanaParameterType[], options: {[key: string]: any}): ResultSet;
public executeQuery(params: HanaParameterType[], options: {[key: string]: any}, fn: HanaResultSetCallback): void;
public executeQuery(options: {[key: string]: any}): ResultSet;
public executeQuery(params: HanaParameterList, fn: HanaResultSetCallback): void;
public executeQuery(options: {[key: string]: any}, fn: HanaResultSetCallback): void;
public executeQuery(params: HanaParameterList, options: {[key: string]: any}, fn: HanaResultSetCallback): void;

@@ -133,0 +134,0 @@ public functionCode(): number;

{
"name": "@sap/hana-client",
"version": "2.18.24",
"version": "2.18.27",
"lockfileVersion": 1,

@@ -5,0 +5,0 @@ "requires": true,

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

"description": "Official SAP HANA Node.js Driver",
"version": "2.18.24",
"version": "2.18.27",
"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

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