Socket
Socket
Sign inDemoInstall

hdb

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hdb - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

4

lib/Client.js

@@ -243,3 +243,5 @@ // Copyright 2013 SAP AG.

function onerror(err) {
self.emit('error', err);
if (self.listeners('error').length) {
self.emit('error', err);
}
}

@@ -246,0 +248,0 @@ connection.on('error', onerror);

@@ -9,3 +9,3 @@ {

"description": "SAP HANA Database Client for Node",
"version": "0.13.1",
"version": "0.14.0",
"repository": {

@@ -12,0 +12,0 @@ "type": "git",

@@ -84,3 +84,3 @@ SAP HANA Database Client for Node

The first step to establish a database connection is to create a client object. It is recommended to pass all required `connect` options like `host`, `port`, `user` and `password` to the `createClient` function. They will be used as defaults for following connect calls on the created client instance. In case of network connection errors like a connection timeout or a database restart you should always register an error event handler in order to be able to handle this kind of problems.
The first step to establish a database connection is to create a client object. It is recommended to pass all required `connect` options like `host`, `port`, `user` and `password` to the `createClient` function. They will be used as defaults for following connect calls on the created client instance. In case of network connection errors like a connection timeout or a database restart you should register an error event handler in order to be able to handle this kind of problems. If there are no error event handlers, errors will not be emitted.

@@ -87,0 +87,0 @@ ```js

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