pg-using-bluebird
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28867
55
Updatedbluebird@^2.9.26
Updatedlodash@^3.9.3
Updatedstring-template@^0.2.1