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.0 to 0.4.1

8

lib/protocol/data/ParameterMetadata.js

@@ -76,10 +76,2 @@ // Copyright 2013 SAP AG.

return this.mode & ParameterMode.AUTO_INCREMENT ? true : false;
};
Parameter.prototype.toPlainObject = function () {
var obj = {};
Object.keys(this).forEach(function (key) {
obj[key] = this[key];
}, this);
return obj;
};

11

lib/protocol/data/ReadLobReply.js

@@ -72,11 +72,2 @@ // Copyright 2013 SAP AG.

}
});
ReadLobReply.prototype.toPlainObject = function () {
var obj = {};
Object.keys(this).forEach(function (key) {
obj[key] = this[key];
}, this);
return obj;
};
});

2

lib/protocol/data/ReadLobRequest.js

@@ -63,3 +63,3 @@ // Copyright 2013 SAP AG.

/* jshint unused:false */
return 24;
return READ_LOB_REQUEST_LENGTH;
}

@@ -66,0 +66,0 @@

@@ -94,10 +94,2 @@ // Copyright 2013 SAP AG.

return this.mode & AUTO_INCREMENT ? true : false;
};
Column.prototype.toPlainObject = function () {
var obj = {};
Object.keys(this).forEach(function (key) {
obj[key] = this[key];
}, this);
return obj;
};

@@ -70,10 +70,2 @@ // Copyright 2013 SAP AG.

this.position = undefined;
}
SqlError.prototype.toPlainObject = function () {
var obj = {};
Object.keys(this).forEach(function (key) {
obj[key] = this[key];
}, this);
return obj;
};
}

@@ -135,6 +135,14 @@ // Copyright 2013 SAP AG.

var self = this;
function done(err, rows) {
stream.removeListener('error', onerror);
collector.removeListener('finish', onfinish);
cb(err, rows);
if (!self.closed) {
self.close(function () {
cb(err, rows);
});
} else {
cb(err, rows);
}
}

@@ -141,0 +149,0 @@

@@ -243,10 +243,2 @@ // Copyright 2013 SAP AG.

}
exports.pipe = pipe;
function createReadableBuffer(buffer, options) {
options = options || {};
var readable = new stream.Readable(options);
readable.push(buffer);
readable.push(null);
return readable;
}
exports.pipe = pipe;

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

"description": "SAP HANA Database Client for Node",
"version": "0.4.0",
"version": "0.4.1",
"repository": {

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

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