New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sharedb-postgres

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sharedb-postgres - npm Package Versions

5.0.1

Diff

alecgibson
published 5.0.0 •

alecgibson
published 4.1.0 •

nornagon
published 3.0.0 •

Changelog

Source

3.0.0

Thanks to @billwashere, we upgraded to a more modern version of pg (4.5.1 -> 7.4.1), which means that the way the database information is provided has changed. Previously, you could pass a URL to sharedb-postgres, like:

const db = require('sharedb-postgres')('postgres://localhost/mydb');

This is no longer supported, and you must instead pass a config object:

const db = require('sharedb-postgres')({host: 'localhost', database: 'mydb'});

See the node-postgres documentation for more details about what can be passed in the config object. Additionally, if no object is provided, pg will use the same environment variables as libpq (PGUSER, PGHOST and so on).

nornagon
published 2.0.0 •

nornagon
published 1.0.1 •

nornagon
published 1.0.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