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

node-resque

Package Overview
Dependencies
Maintainers
2
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 0.8.1 to 0.8.2

11

lib/connection.js

@@ -55,2 +55,5 @@ var connection = function(options){

self.redis = options.redis || package.createClient(options.port, options.host, options.options);
if(options.password != null && options.password != "" && self.options.fake != true){
self.redis.auth(options.password);
}

@@ -66,9 +69,3 @@ self.redis.on('error', function(err){

self.connected = true;
if(options.password != null && options.password != "" && self.options.fake != true){
self.redis.auth(options.password, function(err){
self.redis.select(options.database, function(err){
callback(err);
});
});
}else if(self.options.package != 'fakeredis'){
if(self.options.package != 'fakeredis'){
self.redis.select(options.database, function(err){

@@ -75,0 +72,0 @@ self.redis.info(function(err, data){

@@ -5,3 +5,3 @@ {

"description": "an opinionated implementation of resque in node",
"version": "0.8.1",
"version": "0.8.2",
"homepage": "http://github.com/taskrabbit/node-resque",

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

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