Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg-promise

Package Overview
Dependencies
Maintainers
1
Versions
630
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-promise - npm Package Compare versions

Comparing version 10.7.1 to 10.7.2

8

package.json
{
"name": "pg-promise",
"version": "10.7.1",
"version": "10.7.2",
"description": "PostgreSQL interface for Node.js",

@@ -49,6 +49,6 @@ "main": "lib/index.js",

"devDependencies": {
"@types/node": "14.14.2",
"@types/node": "14.14.6",
"bluebird": "3.7.2",
"coveralls": "3.1.0",
"eslint": "7.12.0",
"eslint": "7.12.1",
"istanbul": "0.4.5",

@@ -60,4 +60,4 @@ "jasmine-node": "3.0.0",

"tslint": "6.1.3",
"typescript": "4.0.3"
"typescript": "4.0.5"
}
}

@@ -289,3 +289,3 @@ /*

readonly $dc: any
readonly $pool: any
readonly $pool: pg.IPool
}

@@ -292,0 +292,0 @@

@@ -256,2 +256,15 @@ /*

// interface IPool, as per the following implementation:
// https://github.com/brianc/node-postgres/blob/master/packages/pg-pool/index.js#L61
// NOTE: We declare only what can be used from pg-promise!
interface IPool extends EventEmitter {
end(): Promise<Error | undefined>;
end(cb: (err: Error) => void): void;
readonly waitingCount: number;
readonly idleCount: number;
readonly totalCount: number;
}
interface IQuery {

@@ -258,0 +271,0 @@ // this type is not used within pg-promise;

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