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

better-queue

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-queue - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

10

lib/stores/sqlite.js

@@ -47,3 +47,11 @@ var uuid = require('node-uuid');

SQLiteStore.prototype.getTask = function (taskId, cb) {
this.db.get("SELECT * FROM tasks WHERE id = ?", taskId, cb);
this.db.get("SELECT task FROM tasks WHERE id = ?", taskId, function (err, row) {
if (err) return cb({ message: 'failed_to_get_from_sqlite_db' });
try {
var savedTask = JSON.parse(row.task);
} catch (e) {
return cb('failed_to_deserialize_task');
}
cb(null, savedTask);
});
}

@@ -50,0 +58,0 @@

2

package.json
{
"name": "better-queue",
"version": "3.2.1",
"version": "3.2.2",
"description": "Better Queue for NodeJS",

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

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