Comparing version 0.8.6 to 0.8.7
@@ -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 @@ }); |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
224898
175
0