New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pgnode

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgnode - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

lib/infra/index.d.ts

0

lib/core/client.d.ts

@@ -0,0 +0,0 @@ import { PoolClient, Pool } from 'pg';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Pool, PoolClient } from 'pg';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PoolClient } from 'pg';

@@ -0,0 +0,0 @@ "use strict";

4

lib/index.d.ts

@@ -1,2 +0,2 @@

import { PgType } from './@types/pg';
import { PgType } from './types/pg/pg.type';
import tx from './core';

@@ -6,3 +6,5 @@ export { Client, ClientBase, Connection, Events, Pool, Query, native, types } from 'pg';

export * from './core';
export * from './types';
export * from './infra';
declare const _default: PgType;
export default _default;

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

__exportStar(require("./core"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./infra"), exports);
exports.default = pg_1.default;

@@ -1,2 +0,9 @@

declare const client: import("pg").Client;
export { client };
export declare const config: {
user: string | undefined;
host: string | undefined;
database: string | undefined;
password: string | undefined;
port: number;
};
export declare const client: import("pg").Client;
export default client;

@@ -6,5 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.client = void 0;
exports.client = exports.config = void 0;
const index_1 = __importDefault(require("../index"));
const config = {
exports.config = {
user: process.env.POSTGRES_USER,

@@ -16,3 +16,3 @@ host: process.env.POSTGRES_HOST,

};
const client = new index_1.default.Client(Object.assign({}, config));
exports.client = client;
exports.client = new index_1.default.Client(Object.assign({}, exports.config));
exports.default = exports.client;

@@ -0,0 +0,0 @@ Copyright 2021 Hebert Cisco

{
"name": "pgnode",
"version": "1.1.0",
"version": "1.1.1",
"description": "PostgresSQL client to Nodejs servers",

@@ -91,3 +91,3 @@ "main": "lib/index.js",

"jest": "27.4.7",
"lint-staged": "12.2.0",
"lint-staged": "12.3.1",
"pg-protocol": "1.5.0",

@@ -97,3 +97,3 @@ "prettier": "2.5.1",

"ts-mockito": "2.6.1",
"typescript": "4.5.4"
"typescript": "4.5.5"
},

@@ -106,2 +106,2 @@ "files": [

}
}
}

@@ -29,13 +29,3 @@ <p align="center">

<br />
<a href="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-macos.yml">
<img alt="Node.js CI on Darwin" src="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-macos.yml/badge.svg" />
</a>
<a href="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-ubuntu.yml">
<img alt="Node.js CI on Ubuntu" src="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-ubuntu.yml/badge.svg" />
</a>
<a href="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-windows.yml">
<img alt="Node.js CI on Windows" src="https://github.com/hebertcisco/pgnode/actions/workflows/node.js-windows.yml/badge.svg" />
</a>
<br />
<br />
<a href="https://github.com/hebertcisco/musiko-app/issues/new/choose">Report Bug</a>

@@ -42,0 +32,0 @@ <a href="https://github.com/hebertcisco/musiko-app/issues/new/choose">Request Feature</a>

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