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

connect-redis

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-redis - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

History.md
1.2.0 / 2011-11-17
==================
* Added an option 'client' to reuse an existing redis Client [Thomas Fritz]
1.1.0 / 2011-10-05

@@ -3,0 +8,0 @@ ==================

2

lib/connect-redis.js

@@ -48,3 +48,3 @@ /*!

: options.prefix;
this.client = new redis.createClient(options.port || options.socket, options.host, options);
this.client = options.client || new redis.createClient(options.port || options.socket, options.host, options);
if (options.pass) {

@@ -51,0 +51,0 @@ this.client.auth(options.pass, function(err){

{
"name": "connect-redis",
"description": "Redis session store for Connect",
"version": "1.1.0",
"version": "1.2.0",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "main": "./index.js",

@@ -13,3 +13,4 @@

## Options
- `client` An existing redis client object you normally get from `redis.createClient()`
- `host` Redis server hostname

@@ -37,2 +38,2 @@ - `port` Redis server portno

var RedisStore = require('connect-redis')(express);
var RedisStore = require('connect-redis')(express);
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