New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mysql-robin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-robin - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

5

lib/protocol/Protocol.js

@@ -25,2 +25,3 @@ var Parser = require('./Parser');

this._handshakeSequence = null;
this._querySequence = null;
this._destroyed = false;

@@ -41,3 +42,3 @@ this._queue = [];

Protocol.prototype.query = function(options, cb) {
return this._enqueue(new Sequences.Query(options, cb));
return this._querySequence = this._enqueue(new Sequences.Query(options, cb));
};

@@ -69,2 +70,3 @@

Protocol.prototype.pause = function() {
this._querySequence.emit('pause');
this._parser.pause();

@@ -74,2 +76,3 @@ };

Protocol.prototype.resume = function() {
this._querySequence.emit('resume');
this._parser.resume();

@@ -76,0 +79,0 @@ };

10

lib/protocol/sequences/Query.js

@@ -158,2 +158,11 @@ var Sequence = require('./Sequence');

});
self.on('pause', function () {
stream.pause();
});
self.on('resume', function () {
stream.resume();
});
stream.on('data', function (data) {

@@ -165,3 +174,2 @@ self.emit('packet', new Packets.LocalDataFilePacket(data));

});
stream.on('error', function (err) {

@@ -168,0 +176,0 @@ self._loadError = err;

@@ -7,3 +7,3 @@ {

"description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.",
"version": "2.0.6",
"version": "2.0.7",
"repository": {

@@ -10,0 +10,0 @@ "url": ""

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