node-red-node-mysql
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -44,3 +44,5 @@ | ||
multipleStatements: true, | ||
connectionLimit: 25, | ||
connectionLimit: 50, | ||
timeout: 30000, | ||
connectTimeout: 30000, | ||
charset: node.charset | ||
@@ -87,3 +89,3 @@ }); | ||
this.on('close', function (done) { | ||
this.on('close', function(done) { | ||
if (this.tick) { clearTimeout(this.tick); } | ||
@@ -156,2 +158,5 @@ if (this.check) { clearInterval(this.check); } | ||
} | ||
else if ((rows.constructor.name === "OkPacket") || (rows.constructor.name === "Array")) { | ||
msg.payload = rows.map(v => Object.assign({}, v)); | ||
} | ||
else { msg.payload = rows; } | ||
@@ -158,0 +163,0 @@ node.send(msg); |
{ | ||
"name": "node-red-node-mysql", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A Node-RED node to read and write to a MySQL database", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
19540
7
181
1