Socket
Socket
Sign inDemoInstall

libpq

Package Overview
Dependencies
15
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.8 to 1.8.9

vendor/build.sh

15

package.json
{
"name": "libpq",
"version": "1.8.8",
"version": "1.8.9",
"description": "Low-level native bindings to PostgreSQL libpq",

@@ -20,11 +20,12 @@ "main": "index.js",

"dependencies": {
"nan": "^2.10.0",
"bindings": "1.2.1"
"bindings": "1.5.0",
"nan": "^2.14.0"
},
"devDependencies": {
"async": "^0.9.0",
"lodash": "^2.4.1",
"mocha": "^1.21.4",
"okay": "^0.3.0"
"async": "^2.6.2",
"buffer-from": "^1.1.1",
"lodash": "^4.17.11",
"mocha": "5.2.0",
"okay": "^1.0.0"
}
}

@@ -21,2 +21,4 @@ # node-libpq

> Note: for Node.js equal or greater to version 10.16.0 you need to have at least `OpenSSL 1.1.1` installed.
## use

@@ -23,0 +25,0 @@

@@ -19,3 +19,3 @@ var PQ = require('../')

var pq = new PQ();
var conString ='host=' + (process.env.PGHOST || 'localhost')
var conString ='host=' + (process.env.PGHOST || 'localhost');
pq.connect(conString, done);

@@ -22,0 +22,0 @@ });

var helper = require('./helper');
var assert = require('assert');
var bufferFrom = require('buffer-from')

@@ -16,3 +17,3 @@ describe('COPY IN', function() {

var buffer = Buffer("bob\t100\n", 'utf8');
var buffer = bufferFrom("bob\t100\n", 'utf8');
var res = this.pq.putCopyData(buffer);

@@ -34,3 +35,3 @@ assert.strictEqual(res, 1);

var buffer = Buffer("bob\t100\n", 'utf8');
var buffer = bufferFrom("bob\t100\n", 'utf8');
var res = this.pq.putCopyData(buffer);

@@ -37,0 +38,0 @@ assert.strictEqual(res, 1);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc