pg-promise
Advanced tools
Comparing version 10.7.1 to 10.7.2
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
418526
9647