connect-redis
Advanced tools
Comparing version 1.4.0 to 1.4.1
1.4.1 / 2012-07-26 | ||
================== | ||
* fix ignoring of .get() error | ||
1.4.0 / 2012-06-14 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -89,2 +89,3 @@ | ||
this.client.get(sid, function(err, data){ | ||
if (err) return fn(err); | ||
try { | ||
@@ -91,0 +92,0 @@ if (!data) return fn(); |
{ | ||
"name": "connect-redis", | ||
"description": "Redis session store for Connect", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
@@ -1,5 +0,4 @@ | ||
# Connect Redis | ||
connect-redis is a Redis session store backed by [node_redis](http://github.com/mranney/node_redis), and is insanely fast :). Requires redis >= `1.3.10` for the _SETEX_ command. | ||
connect-redis is a Redis session store backed by [node_redis](http://github.com/mranney/node_redis), and is insanely fast :). Requires redis >= `2.0.0` for the _SETEX_ command. | ||
@@ -33,3 +32,3 @@ connect-redis `>= 1.0.0` support only connect `>= 1.0.0`. | ||
// 5 minutes | ||
connect.session({ store: new RedisStore, secret: 'keyboard cat' }) | ||
connect.session({ store: new RedisStore(options), secret: 'keyboard cat' }) | ||
); | ||
@@ -36,0 +35,0 @@ |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
18376
163
38
1