connect-redis
Advanced tools
Comparing version 1.1.0 to 1.2.0
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 @@ ================== |
@@ -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); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
18697
38
0
1