Socket
Socket
Sign inDemoInstall

pg

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg - npm Package Compare versions

Comparing version 0.8.8 to 0.9.0

index.js

4

package.json
{ "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));

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