Socket
Socket
Sign inDemoInstall

mina-mysql-manager

Package Overview
Dependencies
10
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

15

instant-connect.js

@@ -29,6 +29,6 @@ (function() {

this.client.on('error', this.error);
this.drainDefense = false;
}
InstantConnect.prototype.end = function() {
LOGGER.log('Mysql Connection Finish');
return this.drain();

@@ -78,5 +78,16 @@ };

InstantConnect.prototype.drain = function() {
return this.client.end();
if (!this.drainDefense) {
LOGGER.log('Mysql Connection Finish');
return this.client.end();
}
};
InstantConnect.prototype.queryOnlyReady = function() {
return this.drainDefense = true;
};
InstantConnect.prototype.queryOnlyEnd = function() {
return this.drainDefense = false;
};
return InstantConnect;

@@ -83,0 +94,0 @@

2

package.json
{
"name": "mina-mysql-manager",
"version": "0.0.6",
"version": "0.0.7",
"description": "Very Simply Managing mysql and mariadb with pool and query of xml like ibatis or mybatis",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc