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

pg-using-bluebird

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-using-bluebird - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

16

package.json
{
"name": "pg-using-bluebird",
"version": "1.1.0",
"version": "1.1.1",
"description": "Helpers for managing PostgreSQL connections",

@@ -14,15 +14,15 @@ "main": "index.js",

"dependencies": {
"bluebird": "^2.9.14",
"lodash": "^3.5.0",
"bluebird": "^2.9.26",
"lodash": "^3.9.3",
"pg": "^4.3.0",
"string-template": "^0.2.0"
"string-template": "^0.2.1"
},
"devDependencies": {
"chai": "^2.1.2",
"chai-as-promised": "^4.3.0",
"chai": "^2.3.0",
"chai-as-promised": "^5.0.0",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.11.0",
"grunt-contrib-jshint": "^0.11.2",
"grunt-mocha-test": "^0.12.7",
"mocha": "^2.2.1"
"mocha": "^2.2.5"
},

@@ -29,0 +29,0 @@ "license": "MIT",

@@ -6,5 +6,5 @@ # pg-using-bluebird

[Bluebird](https://github.com/petkaantonov/bluebird/) promises with
Bluebird's resource management model.
Bluebird's resource management functionality.
This is based on the postgres example in Bluebird's documentation.
This project is based on the postgres example in [Bluebird's documentation](https://github.com/petkaantonov/bluebird/blob/master/API.md#resource-management).

@@ -32,2 +32,4 @@ # Install

See [connection-test.js](test/connection-test.js) for more complete examples.
# Documentation

@@ -50,1 +52,6 @@

with ```text``` for the query and ```values``` for the arguments.
# Alternatives
* [pg-promise](https://www.npmjs.com/package/pg-promise), a more generic Promises/A+ promisification of node-postgres with more features and more code. Does not leverage `using()` for resource management.
* [dbh-pg](https://www.npmjs.com/package/dbh-pg), a node-postgres and bluebird specific library with it's own api for querying. Does not leverage `using()` for resource management.
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