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

node-resque

Package Overview
Dependencies
Maintainers
3
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-resque - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

lib/queue.js

@@ -64,6 +64,4 @@ const path = require('path')

let match = ('delayed:' + rTimestamp)
let members = await this.connection.redis.smembers(this.connection.key('timestamps:' + item))
for (let i in members) {
if (members[i] === match) { throw new Error('Job already enqueued at this time with same arguments') }
}
let foundMatch = await this.connection.redis.sismember(this.connection.key('timestamps:' + item), match)
if (foundMatch === 1) { throw new Error('Job already enqueued at this time with same arguments') }

@@ -70,0 +68,0 @@ await this.connection.redis.rpush(this.connection.key('delayed:' + rTimestamp), item)

@@ -6,3 +6,3 @@ {

"license": "Apache-2.0",
"version": "5.0.0",
"version": "5.0.1",
"homepage": "http://github.com/taskrabbit/node-resque",

@@ -9,0 +9,0 @@ "repository": {

@@ -1,4 +0,4 @@

# node-resque
# node-resque: The best background jobs in node.
**Distributed delayed jobs in nodejs**. Resque is a background job system based on [Redis](http://redis.io) (version 2.0.0 and up required). It includes priority queues, plugins, locking, delayed jobs, and more! This project is a very opinionated but API-compatible with [Resque](https://github.com/resque/resque) and [Sidekiq](http://sidekiq.org/). We also implement some of the popular Resque plugins, including [resque-scheduler](https://github.com/resque/resque-scheduler) and [resque-retry](https://github.com/lantins/resque-retry)
**Distributed delayed jobs in nodejs**. Resque is a background job system backed by [Redis](http://redis.io) (version 2.0.0 and up required). It includes priority queues, plugins, locking, delayed jobs, and more! This project is a very opinionated but API-compatible with [Resque](https://github.com/resque/resque) and [Sidekiq](http://sidekiq.org/). We also implement some of the popular Resque plugins, including [resque-scheduler](https://github.com/resque/resque-scheduler) and [resque-retry](https://github.com/lantins/resque-retry)

@@ -5,0 +5,0 @@ [![Nodei stats](https://nodei.co/npm/node-resque.png?downloads=true)](https://npmjs.org/package/node-resque)

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