🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

connect-sqlite3

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-sqlite3 - npm Package Compare versions

Comparing version

to
0.9.16

13

lib/connect-sqlite3.js

@@ -150,2 +150,15 @@ /**

/**
* Fetch all sessions.
*
* @param {Function} fn
* @api public
*/
SQLiteStore.prototype.all = function(fn) {
this.db.all('SELECT * FROM ' + this.table + '', function(err, rows) {
if (err) fn(err);
fn(null, rows.map((row) => JSON.parse(row.sess)));
});
};
/**
* Fetch number of sessions.

@@ -152,0 +165,0 @@ *

2

package.json
{
"name": "connect-sqlite3",
"description": "SQLite3 session store for Connect",
"version": "0.9.15",
"version": "0.9.16",
"author": "David Feinberg",

@@ -6,0 +6,0 @@ "main": "lib/connect-sqlite3",