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

dbqueue

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbqueue - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

7

main.js

@@ -106,4 +106,5 @@ 'use strict';

DBQueue.prototype.consume = function(queue_input, options_input, done_input) {
var db = this.db;
var self = this;
var db = this.db;
var table = this.table;
var self = this;

@@ -137,3 +138,3 @@ var options;

db.query("DELETE FROM jobs WHERE id = ?", [job.id], function(err, result) {
db.query("DELETE FROM ?? WHERE id = ?", [table, job.id], function(err, result) {
if (err) {

@@ -140,0 +141,0 @@ console.error('Error acking message:', err, err.stack);

{
"name": "dbqueue",
"version": "3.0.1",
"version": "3.0.2",
"description": "A minimal, durable DB-based message queue system",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/elliotf/node-dbqueue",

@@ -758,3 +758,11 @@ 'use strict';

return done();
completionCallback(null);
setTimeout(function () {
db.query('SELECT * FROM custom_jobs_table', function(err, rows) {
expect(err).to.not.exist();
expect(rows).to.have.length(0);
return done();
});
}, 10);
});

@@ -761,0 +769,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