Socket
Socket
Sign inDemoInstall

hdb

Package Overview
Dependencies
Maintainers
1
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.4.4 to 0.4.5

3

lib/protocol/Connection.js

@@ -475,2 +475,5 @@ // Copyright 2013 SAP AG.

}
if (this.readyState === 'closed') {
return;
}
if (this._queue.empty && !this._queue.busy) {

@@ -477,0 +480,0 @@ return closeConnection();

8

lib/protocol/Writer.js

@@ -23,2 +23,3 @@ // Copyright 2013 SAP AG.

var bignum = util.bignum;
var WRITE_LOB_REQUEST_HEADER_LENGTH = 21;

@@ -166,3 +167,3 @@ exports = module.exports = Writer;

function next() {
if (!self._lobs.length || !bytesRemaining) {
if (!self._lobs.length || bytesRemaining <= 0) {
return cb(null);

@@ -275,3 +276,4 @@ }

function next() {
if (!self._lobs.length || !bytesRemaining) {
// no more lobs to write or not enough bytes remaining for next lob
if (!self._lobs.length || bytesRemaining <= WRITE_LOB_REQUEST_HEADER_LENGTH) {
return cb(null);

@@ -282,3 +284,3 @@ }

// set lob header
header = new Buffer(21);
header = new Buffer(WRITE_LOB_REQUEST_HEADER_LENGTH);
// set locatorId

@@ -285,0 +287,0 @@ stream._locatorId.copy(header, 0);

@@ -8,3 +8,3 @@ {

"description": "SAP HANA Database Client for Node",
"version": "0.4.4",
"version": "0.4.5",
"repository": {

@@ -14,3 +14,3 @@ "type": "git",

},
"license": "Apache 2.0",
"license": "Apache-2.0",
"keywords": [

@@ -34,14 +34,14 @@ "sap",

"devDependencies": {
"async": "^0.9.0",
"chrome-net": "^2.4.3",
"concat-stream": "^1.4.8",
"coveralls": "^2.11.1",
"debuglog": "^1.0.0",
"fstream": "^1.0.6",
"async": "^1.4.2",
"chrome-net": "^3.0.1",
"concat-stream": "^1.5.0",
"coveralls": "^2.11.4",
"debuglog": "^1.0.1",
"fstream": "^1.0.8",
"generic-pool": "^2.2.0",
"istanbul": "^0.3.13",
"mocha": "^2.2.4",
"should": "^6.0.1"
"istanbul": "^0.3.20",
"mocha": "^2.3.2",
"should": "^7.1.0"
},
"optionalDependencies": {}
}

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

A Kerberos authentication provider can be used to authenticate users.
> This mechanism is currently not implemented. Please contact me if you require Kerberos based authentication.
> This mechanism is not implemented and I do not plan to implement a Kerberos authentication provider myself. Contributions via pull request are welcome.

@@ -199,3 +199,3 @@ ### Encrypted network communication

```js
client.exec('select A, B from TEST.NUMBERS oder by A', function(err, rows) {
client.exec('select A, B from TEST.NUMBERS order by A', function(err, rows) {
if (err) {

@@ -383,3 +383,3 @@ return console.error('Error:', err);

```js
client.execute('select A, B from TEST.NUMBERS oder by A', function(err, rs) {
client.execute('select A, B from TEST.NUMBERS order by A', function(err, rs) {
if (err) {

@@ -386,0 +386,0 @@ return console.error('Error:', err);

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