sessionstore
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -29,3 +29,5 @@ var util = require(process.binding('natives').util ? 'util' : 'sys') | ||
dbPath: __dirname + '/', | ||
collectionName: 'sessions' | ||
collectionName: 'sessions', | ||
reapInterval: 600000, | ||
maxAge: 1000 * 60 * 60 * 2 | ||
}; | ||
@@ -44,3 +46,3 @@ | ||
callback(null, this); | ||
if (callback) callback(null, this); | ||
}; | ||
@@ -70,3 +72,3 @@ | ||
if (callback) callback(err); | ||
} else { | ||
} else { | ||
if (callback) callback(null, sess); | ||
@@ -83,3 +85,3 @@ } | ||
if (callback) callback(err); | ||
} else { | ||
} else { | ||
if (session_data) { | ||
@@ -86,0 +88,0 @@ session_data = cleanSessionData(session_data); |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20252
431
0