Socket
Socket
Sign inDemoInstall

pg-types

Package Overview
Dependencies
6
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.12.1 to 1.13.0

3

lib/binaryParsers.js

@@ -0,1 +1,3 @@

var parseInt64 = require('pg-int8');
var parseBits = function(data, bits, offset, invert, callback) {

@@ -235,2 +237,3 @@ offset = offset || 0;

var init = function(register) {
register(20, parseInt64);
register(21, parseInt16);

@@ -237,0 +240,0 @@ register(23, parseInt32);

3

package.json
{
"name": "pg-types",
"version": "1.12.1",
"version": "1.13.0",
"description": "Query result type converters for node-postgres",

@@ -30,2 +30,3 @@ "main": "index.js",

"dependencies": {
"pg-int8": "1.0.1",
"postgres-array": "~1.0.0",

@@ -32,0 +33,0 @@ "postgres-bytea": "~1.0.0",

@@ -476,2 +476,10 @@ 'use strict'

exports['binary-bigint/int8'] = {
format: 'binary',
id: 20,
tests: [
[new Buffer([0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]), '9223372036854775807']
]
}
exports['binary-oid'] = {

@@ -478,0 +486,0 @@ format: 'binary',

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