Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-node-mysql

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-mysql - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

12

68-mysql.js

@@ -86,3 +86,3 @@

this.on('close', function(done) {
this.on('close', function (done) {
if (this.tick) { clearTimeout(this.tick); }

@@ -132,3 +132,3 @@ if (this.check) { clearInterval(this.check); }

else if (typeof msg.payload === 'object' && msg.payload !== null) {
bind=msg.payload;
bind = msg.payload;
node.mydbConfig.connection.config.queryFormat = function(query, values) {

@@ -153,3 +153,3 @@ if (!values) {

else {
if ( (rows.constructor.name === "OkPacket") || (rows.constructor.name === "Array")) {
if ((rows.constructor.name === "OkPacket") || (rows.constructor.name === "Array")) {
msg.payload = JSON.parse(JSON.stringify(rows));

@@ -162,5 +162,5 @@ }

}
if (node.mydbConfig.pool._freeConnections.indexOf(node.mydbConfig.connection) === -1) {
node.mydbConfig.connection.release();
}
// if (node.mydbConfig.pool._freeConnections.indexOf(node.mydbConfig.connection) === -1) {
// node.mydbConfig.connection.release();
// }
});

@@ -167,0 +167,0 @@ }

{
"name": "node-red-node-mysql",
"version": "0.1.3",
"version": "0.1.4",
"description": "A Node-RED node to read and write to a MySQL database",

@@ -5,0 +5,0 @@ "dependencies": {

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