Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connect-session-knex

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-session-knex - npm Package Compare versions

Comparing version 3.0.1 to 4.0.0

14

package.json
{
"name": "connect-session-knex",
"description": "A knex.js session store for Express and Connect",
"version": "3.0.1",
"version": "4.0.0",
"main": "lib/index.js",

@@ -30,15 +30,15 @@ "typings": "typings/index.d.ts",

"bluebird": "^3.7.2",
"knex": "^2.3.0"
"knex": "3"
},
"devDependencies": {
"eslint": "^8.26.0",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import": "^2.29.0",
"express": "^4.18.2",
"express-session": "^1.17.3",
"mysql": "^2.18.1",
"pg": "^8.8.0",
"sqlite3": "^5.1.2",
"tape": "^5.6.1"
"pg": "^8.11.3",
"sqlite3": "^5.1.6",
"tape": "^5.7.2"
}
}

@@ -59,2 +59,22 @@ # Connect Session Knex

### MySQL
Table Name `sessions`.
| Column | Type | Modifiers |
|---------|:------------------------:|:------------:|
| sid | VARCHAR(255) | NOT NULL, PK |
| sess | JSON | NOT NULL |
| expired | DATETIME | NOT NULL |
Command to manually create table:
```sql
CREATE TABLE `sessions` (
`sid` VARCHAR(255) NOT NULL,
`sess` JSON NOT NULL,
`expired` DATETIME NOT NULL,
PRIMARY KEY (`sid`));
```
## Benchmarks

@@ -61,0 +81,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc