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

node-queue

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-queue - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

7

lib/queue.js
var fs = require('fs')
, _ = require('lodash');
, _ = require('lodash')
, tolerate = require('tolerance');

@@ -28,3 +29,5 @@ module.exports = {

var db = require(dbPath);
db.connect(options, callback);
tolerate(function(callback) {
db.connect(options, callback);
}, options.timeout || 0, callback);
} catch (err) {

@@ -31,0 +34,0 @@ if (err.message.indexOf("Cannot find module") >= 0 && err.message.indexOf("'") > 0 && err.message.lastIndexOf("'") !== err.message.indexOf("'")) {

{
"author": "adrai",
"name": "node-queue",
"version": "0.3.2",
"version": "0.4.0",
"private": false,

@@ -14,3 +14,4 @@ "main": "index.js",

"dependencies": {
"lodash": ">= 0.5.x"
"lodash": ">= 2.2.1",
"tolerance": ">= 1.0.0"
},

@@ -23,3 +24,3 @@ "devDependencies": {

"description": "Node-queue is a node.js module for multiple databases. It can be very useful if you work with (d)ddd, cqrs, eventsourcing, commands and events, etc.",
"keywords" : [
"keywords": [
"orm",

@@ -53,5 +54,5 @@ "mongodb",

],
"scripts" : {
"test" : "mocha"
}
"scripts": {
"test": "mocha"
}
}

@@ -39,2 +39,3 @@ # Introduction

collectionName: 'queue' // optional
timeout: 10000 // optional
},

@@ -41,0 +42,0 @@ function(err, myQueue) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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