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

mysql-live-select

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-live-select - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

lib/LiveMysqlSelect.js

@@ -23,3 +23,5 @@ /* mysql-live-select, MIT License ben@latenightsketches.com

if(self.query in base._resultsBuffer){
self._setRows(base._resultsBuffer[self.query]);
setTimeout(function(){
self._setRows(base._resultsBuffer[self.query]);
}, 1);
}else{

@@ -26,0 +28,0 @@ self.update();

{
"name": "mysql-live-select",
"version": "0.0.5",
"version": "0.0.6",
"description": "Live updating MySQL SELECT statements",

@@ -5,0 +5,0 @@ "main": "lib/LiveMysql.js",

@@ -40,2 +40,12 @@ /* mysql-live-select, MIT License ben@latenightsketches.com

}
}).on('added', function(row, index){
test.equal(index, 0);
test.equal(row.col, 10);
}).on('changed', function(row, newRow, index){
test.equal(index, 0);
test.equal(row.col, 10);
test.equal(newRow.col, 15);
}).on('removed', function(row, index){
test.equal(index, 0);
test.equal(row.col, 15);
});

@@ -42,0 +52,0 @@

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