loki-session
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -11,7 +11,7 @@ var loki = require('lokijs'), | ||
try { | ||
db.getCollection('Sessions'); | ||
if(db.getCollection('Sessions')) { | ||
console.log('db already exists!'); | ||
} catch(e) { | ||
} else { | ||
db.addCollection('Sessions'); | ||
db.save(); | ||
console.log('db was just created!'); | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "loki-session", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A session store for express-session powered by Loki.js", | ||
@@ -27,3 +27,3 @@ "main": "lib/loki-session.js", | ||
"dependencies": { | ||
"lokijs": "^1.0.2" | ||
"lokijs": "^1.1.14" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -1,9 +0,9 @@ | ||
loki-session 0.1.1 | ||
loki-session 0.1.2 | ||
================== | ||
A session store for express-session powered by Loki.js | ||
A session store for express-session powered by Loki.js. Requires Loki.js 1.1.x | ||
##Installation## | ||
npm install loki-session | ||
[![NPM](https://nodei.co/npm/loki-session.png)](https://nodei.co/npm/loki-session/) | ||
@@ -10,0 +10,0 @@ ##Todo## |
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
6536
Updatedlokijs@^1.1.14