Comparing version 0.8.8 to 0.9.0
{ "name": "pg", | ||
"version": "0.8.8", | ||
"version": "0.9.0", | ||
"description": "PostgreSQL client - pure javascript & libpq with the same API", | ||
@@ -13,3 +13,3 @@ "keywords" : ["postgres", "pg", "libpq", "postgre", "database", "rdbms"], | ||
"dependencies" : { | ||
"generic-pool" : "1.0.12" | ||
"generic-pool" : "2.0.2" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts" : { |
@@ -19,2 +19,7 @@ var helper = require(__dirname + '/../test-helper'); | ||
log("connecting to %j", helper.config) | ||
//test weird callback behavior with node-pool | ||
pg.connect(helper.config, function(err) { | ||
assert.isNull(err); | ||
arguments[1].emit('drain'); | ||
}); | ||
pg.connect(helper.config, assert.calls(function(err, client) { | ||
@@ -21,0 +26,0 @@ assert.equal(err, null, "Failed to connect: " + helper.sys.inspect(err)); |
225333
94
6067
+ Addedgeneric-pool@2.0.2(transitive)
- Removedgeneric-pool@1.0.12(transitive)
Updatedgeneric-pool@2.0.2