sessionstore
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -76,3 +76,3 @@ var util = require(process.binding('natives').util ? 'util' : 'sys') | ||
var thresh = Number(new Date(Number(new Date()) - ms)); | ||
this.sessions.remove({ "lastAccess" : { "$lt" : thresh }}, callback || function() {}); | ||
this.sessions.remove({ '$or': [{ "lastAccess" : { "$lt" : thresh }}, { "lastAccess" : { "$exists" : false }}] }, callback || function() {}); | ||
}; | ||
@@ -79,0 +79,0 @@ |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -66,3 +66,3 @@ # Introduction | ||
Copyright (c) 2012 Adriano Raiano | ||
Copyright (c) 2013 Adriano Raiano | ||
@@ -69,0 +69,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is not supported yet
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
16869