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

connect-pg-simple

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-pg-simple - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -64,3 +64,3 @@ var oneDay = 86400;

}
this.query('SELECT sess FROM session WHERE sid = $1', [sid], function (err, data) {
this.query('SELECT sess FROM session WHERE sid = $1 AND expire >= NOW()', [sid], function (err, data) {
if (err) return fn(err);

@@ -67,0 +67,0 @@ if (!data) return fn();

{
"name": "connect-pg-simple",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple, minimal PostgreSQL session store for Connect/Express",

@@ -5,0 +5,0 @@ "url": "http://github.com/voxpelli/node-connect-pg-simple",

@@ -41,4 +41,8 @@ # Connect PG Simple

### 1.0.1
* Fix for sometimes not expiring sessions correctly
### 1.0.0
* First NPM-version of the script originally published as a Gist here: https://gist.github.com/voxpelli/6447728
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