node-postgres/package.json
Brian C 53584b704a Add connection & query timeout if all clients are checked out (#70)
* Add connection & query timeout if all clients are checked out

This addresses [pg#1390](https://github.com/brianc/node-postgres/issues/1390).

Ensure connection timeout applies both for new connections and on an exhuasted pool.  I also made the library return an error when passing a function as the first param to `pool.query` - previosuly this threw a sync type error.

* Add pg-cursor to dev deps
2017-08-10 00:20:56 -05:00

44 lines
926 B
JSON

{
"name": "pg-pool",
"version": "2.0.1",
"description": "Connection pool for node-postgres",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"test": " node_modules/.bin/mocha && node_modules/.bin/standard"
},
"repository": {
"type": "git",
"url": "git://github.com/brianc/node-pg-pool.git"
},
"keywords": [
"pg",
"postgres",
"pool",
"database"
],
"author": "Brian M. Carlson",
"license": "MIT",
"bugs": {
"url": "https://github.com/brianc/node-pg-pool/issues"
},
"homepage": "https://github.com/brianc/node-pg-pool#readme",
"devDependencies": {
"bluebird": "3.4.1",
"co": "4.6.0",
"expect.js": "0.3.1",
"lodash": "4.13.1",
"mocha": "^2.3.3",
"pg": "*",
"pg-cursor": "^1.3.0",
"standard": "7.1.2",
"standard-format": "2.2.1"
},
"dependencies": {},
"peerDependencies": {
"pg": ">5.0"
}
}