sessionstore
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -7,3 +7,3 @@ 'use strict'; | ||
memjs = require('memjs'), | ||
jsonSerializer = require('json-serialize'); | ||
jsondate = require('jsondate'); | ||
@@ -91,3 +91,3 @@ var MemcachedSessionStore = function (options) { | ||
try { | ||
result = jsonSerializer.deserialize(value.toString()); | ||
result = jsondate.parse(value.toString()); | ||
} catch (error) { | ||
@@ -94,0 +94,0 @@ if (callback) callback(error); |
@@ -8,3 +8,3 @@ 'use strict'; | ||
redis = require('redis'), | ||
jsonSerializer = require('json-serialize'); | ||
jsondate = require('jsondate'); | ||
@@ -139,3 +139,3 @@ var RedisSessionStore = function (options) { | ||
try { | ||
result = jsonSerializer.deserialize(data.toString()); | ||
result = jsondate.parse(data.toString()); | ||
} catch (error) { | ||
@@ -172,3 +172,3 @@ if (callback) callback(err); | ||
try { | ||
result = jsonSerializer.deserialize(data.toString()); | ||
result = jsondate.parse(data.toString()); | ||
} catch (error) { | ||
@@ -175,0 +175,0 @@ if (callback) callback(err); |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"private": false, | ||
@@ -15,3 +15,3 @@ "main": "index.js", | ||
"async": "0.9.0", | ||
"json-serialize": "1.1.2", | ||
"jsondate": "0.0.1", | ||
"lodash": "2.4.1", | ||
@@ -18,0 +18,0 @@ "tolerance": "1.0.0" |
@@ -139,2 +139,4 @@ # Introduction | ||
#[Release notes](https://github.com/adrai/sessionstore/blob/master/releasenotes.md) | ||
# Database Support | ||
@@ -141,0 +143,0 @@ Currently these databases are supported: |
@@ -0,1 +1,4 @@ | ||
#### v1.0.5 | ||
- replace json-serialize with jsondate | ||
#### v1.0.4 | ||
@@ -2,0 +5,0 @@ - fix memcached implementation |
Sorry, the diff of this file is not supported yet
173
30562
15
+ Addedjsondate@0.0.1
+ Addedjsondate@0.0.1(transitive)
- Removedjson-serialize@1.1.2
- Removedjson-serialize@1.1.2(transitive)