Socket
Socket
Sign inDemoInstall

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 Versions

124

3.0.1

Diff

Changelog

Source

3.0.1

  • Fix: If the pg instance used is created by this module, then this module should also close it on close()
voxpelli
published 3.0.0 •

Changelog

Source

3.0.0

  • Improvement: Rather than randomly cleaning up expired sessions that will now happen at the options.pruneSessionInterval defined interval.
  • Breaking change: Clients now need to close the session store to gracefully shut down their app as the pruning of sessions can't know when the rest of the app has stopped running and thus can't know when to stop pruning sessions if it itsn't told so explicitly through thew new close() method – or by deactivating the automatic pruning by settinging options.pruneSessionInterval to false. If automatic pruning is disabled the client needs to call pruneSessions() manually or otherwise ensure that old sessions are pruned.
voxpelli
published 2.3.0 •

Changelog

Source

2.3.0

  • Fix regression: No longer default to public schema, as added in 2.2.0, but rather default to the pre-2.2.0 behavior of no defined schema. This to ensure backwards compatibility with the 2.x branch, per semantic versioning best practise.
voxpelli
published 2.2.1 •

Changelog

Source

2.2.1

  • Hotfix: Update require('pg') to match package.json, thanks for reporting @dmitriiabramov
voxpelli
published 2.2.0 •

Changelog

Source

2.2.0

  • New: Now possibly to set another schema than the default
  • Change: Now using the pg dependency again rather than pg.js as the latter will be discontinued as pg now fills its role
voxpelli
published 2.1.1 •

Changelog

Source

2.1.1

  • Fix bug with creating new sessions that was caused by 2.1.0
voxpelli
published 2.1.0 •

Changelog

Source

2.1.0

  • Enable the table name to be configured through new tableName option
voxpelli
published 2.0.0 •

Changelog

Source

2.0.0

  • Backwards incompatible change: Support for Express 4 means that Express 3 apps (and similar for Connect apps) should send express.session to the module rather than just express.
  • Dependency change: The database module is now pg.js rather than pg – same library, but without compilation of any native bindings and thus less delay when eg. installing the application from scratch.
voxpelli
published 1.0.2 •

Changelog

Source

1.0.2

  • Support for PostgreSQL versions older than 9.2
voxpelli
published 1.0.1 •

Changelog

Source

1.0.1

  • Fix for sometimes not expiring sessions correctly
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