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

keuss

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keuss - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

18

backends/mongo.js

@@ -9,4 +9,4 @@ 'use strict';

var Queue = require ('../Queue');
var QFactory = require ('../QFactory');
var Queue = require ('../Queue');
var QFactory = require ('../QFactory');

@@ -241,10 +241,10 @@ class SimpleMongoQueue extends Queue {

close (cb) {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
super.close (() => {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
if (cb) {
return cb ();
}
if (cb) return cb ();
});
}

@@ -251,0 +251,0 @@

@@ -315,10 +315,10 @@ 'use strict';

close (cb) {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
super.close (() => {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
if (cb) {
return cb ();
}
if (cb) return cb ();
});
}

@@ -325,0 +325,0 @@

@@ -274,10 +274,10 @@ 'use strict';

close (cb) {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
super.close (() => {
if (this._mongo_conn) {
this._mongo_conn.close ();
this._mongo_conn = null;
}
if (cb) {
return cb ();
}
if (cb) return cb ();
});
}

@@ -284,0 +284,0 @@

@@ -116,7 +116,6 @@ 'use strict';

close (cb) {
if (this._rediscl) this._rediscl.quit();
if (cb) {
return cb ();
}
super.close (() => {
if (this._rediscl) this._rediscl.quit();
if (cb) return cb ();
});
}

@@ -123,0 +122,0 @@

@@ -178,7 +178,6 @@ 'use strict';

close (cb) {
if (this._rediscl) this._rediscl.quit();
if (cb) {
return cb ();
}
super.close (() => {
if (this._rediscl) this._rediscl.quit();
if (cb) return cb ();
});
}

@@ -185,0 +184,0 @@

{
"name": "keuss",
"version": "1.4.3",
"version": "1.4.4",
"keywords": [

@@ -5,0 +5,0 @@ "queue",

@@ -53,3 +53,5 @@ 'use strict';

close (cb) {
cb();
this._stats_factory.close ();
this._signaller_factory.close ();
cb ();
}

@@ -56,0 +58,0 @@

@@ -302,2 +302,4 @@ # keuss

If no tr is passed, or it is null, all pending pop operations on the queue are cancelled
#### Commit a reserved element

@@ -304,0 +306,0 @@ ```javascript

@@ -41,2 +41,5 @@ 'use strict';

return new LocalSignal (queue, this, opts);
}
close () {
}

@@ -43,0 +46,0 @@ }

@@ -57,2 +57,6 @@ 'use strict';

}
close () {
this._mubsub.close ();
}
}

@@ -59,0 +63,0 @@

@@ -61,2 +61,6 @@ 'use strict';

}
close () {
this._rediscl.quit();
}
}

@@ -63,0 +67,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