sessionstore
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -152,5 +152,8 @@ 'use strict'; | ||
if (res && (res.expires.getTime() - Date.now()) < 0) { | ||
self.destroy(hash); | ||
res = null; | ||
if(res){ | ||
var expires = new Date(res.expires); | ||
if ((expires.getTime() - Date.now()) < 0) { | ||
self.destroy(hash); | ||
res = null; | ||
} | ||
} | ||
@@ -157,0 +160,0 @@ |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -1,26 +0,29 @@ | ||
#### v1.2.6 | ||
### [v1.2.7](https://github.com/adrai/sessionstore/compare/v1.2.6...v1.2.7) | ||
- couchdb: fixed undefined is not function issue for expires [#28](https://github.com/adrai/sessionstore/issues/28) thanks to [priyanknarvekar](https://github.com/priyanknarvekar) | ||
### [v1.2.6](https://github.com/adrai/sessionstore/compare/v1.2.5...v1.2.6) | ||
- mongodb: give possibility to use authSource | ||
#### v1.2.5 | ||
### [v1.2.5](https://github.com/adrai/sessionstore/compare/v1.2.4...v1.2.5) | ||
- redis: implemented touch | ||
#### v1.2.4 | ||
### [v1.2.4](https://github.com/adrai/sessionstore/compare/v1.2.3...v1.2.4) | ||
- optimization for `npm link`'ed development | ||
#### v1.2.3 | ||
### [v1.2.3](https://github.com/adrai/sessionstore/compare/v1.1.0...v1.2.3) | ||
- added elasticsearch support | ||
#### v1.1.0 | ||
### [v1.1.0](https://github.com/adrai/sessionstore/compare/v1.0.6...v1.1.0) | ||
- session expiration comes from cookie now | ||
#### v1.0.6 | ||
### v1.0.6 | ||
- added mongodb driver 2.x support | ||
#### v1.0.5 | ||
### v1.0.5 | ||
- replace json-serialize with jsondate | ||
#### v1.0.4 | ||
### v1.0.4 | ||
- fix memcached implementation | ||
#### v1.0.3 | ||
### v1.0.3 | ||
- parse json with json-serialize |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40343
1033