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 1.0.1 to 1.0.2

23

68-mysql.js

@@ -68,4 +68,4 @@

this.connect = function() {
if (!this.connected && !this.connecting) {
node.connect = function() {
if (!node.connected && !node.connecting) {
doConnect();

@@ -75,9 +75,16 @@ }

this.on('close', function(done) {
if (this.tick) { clearTimeout(this.tick); }
if (this.check) { clearInterval(this.check); }
node.connected = false;
node.on('close', function(done) {
if (node.tick) { clearTimeout(node.tick); }
if (node.check) { clearInterval(node.check); }
// node.connection.release();
node.emit("state"," ");
node.pool.end(function(err) { done(); });
if (node.connected) {
node.connected = false;
node.pool.end(function(err) { done(); });
}
else {
delete node.pool;
done();
}
});

@@ -178,3 +185,3 @@ }

else {
this.error(RED._("mysql.errors.notconfigured"));
node.error(RED._("mysql.errors.notconfigured"));
}

@@ -181,0 +188,0 @@ }

{
"name": "node-red-node-mysql",
"version": "1.0.1",
"version": "1.0.2",
"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