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.6 to 0.8.7

2

lib/utils.js

@@ -80,3 +80,3 @@ var url = require('url');

//do dns lookup
return require('dns').lookup(config.host, 4, function(err, address) {
return require('dns').lookup(config.host, function(err, address) {
if(err) return callback(err, null);

@@ -83,0 +83,0 @@ params.push("hostaddr="+address)

{ "name": "pg",
"version": "0.8.6",
"version": "0.8.7",
"description": "PostgreSQL client - pure javascript & libpq with the same API",

@@ -4,0 +4,0 @@ "keywords" : ["postgres", "pg", "libpq", "postgre", "database", "rdbms"],

@@ -26,3 +26,4 @@ #node-postgres

console.log("Row count: %d",result.rows.length); // 1
console.log("Current year: %d", result.rows[0].when.getYear());
console.log("Current year: %d", result.rows[0].when.getFullYear());
pg.end(); //terminate the client pool, disconnecting all clients
});

@@ -29,0 +30,0 @@ });

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