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 1.0.4 to 1.1.0

script/travis-pg-9.2-install.sh

1

lib/types/textParsers.js

@@ -186,2 +186,3 @@ var arrayParser = require(__dirname + "/arrayParser.js");

register(17, parseByteA);
register(114, JSON.parse.bind(JSON));
};

@@ -188,0 +189,0 @@

5

lib/utils.js

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

}
return val === null ? null : val.toString();
if(!val || typeof val !== 'object') {
return val === null ? null : val.toString();
}
return JSON.stringify(val);
};

@@ -61,0 +64,0 @@

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

@@ -29,3 +29,3 @@ "keywords": [

"scripts": {
"test": "make test-all connectionString=pg://postgres@localhost:5432/postgres",
"test": "make test-travis connectionString=pg://postgres@localhost:5432/postgres",
"prepublish": "rm -r build || (exit 0)",

@@ -32,0 +32,0 @@ "install": "node-gyp rebuild || (exit 0)"

@@ -9,3 +9,2 @@ var helper = require(__dirname + '/test-helper');

assert.emits(process, 'uncaughtException', function() {
console.log('got uncaught exception')
assert.equal(client.activeQuery, null, 'should remove active query even if error happens in callback');

@@ -12,0 +11,0 @@ client.query('SELECT * FROM blah', assert.success(function(result) {

Sorry, the diff of this file is not supported yet

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