Comparing version 0.12.2 to 0.12.3
@@ -136,2 +136,3 @@ // Copyright 2013 SAP AG. | ||
var bytesWritten = 0; | ||
var row = 0; | ||
var args = []; | ||
@@ -161,5 +162,6 @@ | ||
try { | ||
++row; | ||
self.writer.setValues(self.parameterValues.shift()); | ||
} catch (err) { | ||
return cb(err); | ||
return cb(new Error('Cannon set parameter at row: ' + row + '. ' + err.message)); | ||
} | ||
@@ -166,0 +168,0 @@ } |
@@ -447,2 +447,5 @@ // Copyright 2013 SAP AG. | ||
Writer.prototype[TypeCode.BINARY] = function writeBinary(value) { | ||
if (!Buffer.isBuffer(value)) { | ||
throw createInputError('BINARY'); | ||
} | ||
this.push(createBinaryOutBuffer(TypeCode.BINARY, value)); | ||
@@ -449,0 +452,0 @@ }; |
@@ -9,3 +9,3 @@ { | ||
"description": "SAP HANA Database Client for Node", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"repository": { | ||
@@ -33,13 +33,13 @@ "type": "git", | ||
"dependencies": { | ||
"iconv-lite": "^0.4.15" | ||
"iconv-lite": "^0.4.18" | ||
}, | ||
"devDependencies": { | ||
"async": "^2.0.1", | ||
"async": "^2.4.1", | ||
"chrome-net": "^3.3.0", | ||
"concat-stream": "^1.5.1", | ||
"coveralls": "^2.11.11", | ||
"fstream": "^1.0.10", | ||
"coveralls": "^2.13.1", | ||
"fstream": "^1.0.11", | ||
"generic-pool": "^2.4.2", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^2.5.3", | ||
"mocha": "^3.4.2", | ||
"should": "^10.0.0" | ||
@@ -46,0 +46,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
288260
8047
Updatediconv-lite@^0.4.18