🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ts-postgres

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-postgres - npm Package Compare versions

Comparing version

to
1.0.0-rc2

2

dist/src/client.js

@@ -357,2 +357,4 @@ "use strict";

mtype = buffer.readInt8(frame);
const c = String.fromCharCode(mtype);
console.log(`Mtype: ${c}`);
if (mtype !== 68 /* RowData */)

@@ -359,0 +361,0 @@ break;

5

package.json
{
"name": "ts-postgres",
"version": "1.0.0-rc1",
"version": "1.0.0-rc2",
"description": "PostgreSQL client in TypeScript",

@@ -48,3 +48,4 @@ "declaration": true,

"/node_modules/",
"/test/"
"/test/",
"/src/logging.ts"
],

@@ -51,0 +52,0 @@ "coverageThreshold": {

@@ -556,4 +556,9 @@ import { ECONNRESET } from 'constants';

const value = buffer.slice(offset + 1, next).toString();
switch (buffer[offset]) {
case 0x53: {
if (level === null) {
level = value as DatabaseError['level'];
}
break;
}
case 0x56: {

@@ -560,0 +565,0 @@ level = value as DatabaseError['level'];

Sorry, the diff of this file is not supported yet