diff --git a/package.json b/package.json index 96ff9968..e409365f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pg-promise", - "version": "11.0.2", + "version": "11.1.0", "description": "PostgreSQL interface for Node.js", "main": "lib/index.js", "typings": "typescript/pg-promise.d.ts", @@ -42,7 +42,7 @@ }, "dependencies": { "assert-options": "0.8.0", - "pg": "8.8.0", + "pg": "8.9.0", "pg-minify": "1.6.2", "spex": "3.2.0" }, @@ -50,13 +50,13 @@ "@types/node": "18.11.18", "bluebird": "3.7.2", "coveralls": "3.1.1", - "cspell": "6.18.1", - "eslint": "8.30.0", + "cspell": "6.19.2", + "eslint": "8.32.0", "istanbul": "0.4.5", "jasmine-node": "3.0.0", "jsdoc": "4.0.0", "JSONStream": "1.3.5", - "pg-query-stream": "4.2.4", + "pg-query-stream": "4.3.0", "tslint": "6.1.3", "typescript": "4.9.4" } diff --git a/typescript/pg-subset.d.ts b/typescript/pg-subset.d.ts index 8f97ff03..7ebdec6b 100644 --- a/typescript/pg-subset.d.ts +++ b/typescript/pg-subset.d.ts @@ -13,13 +13,14 @@ // Calling it 'pg-subset' to avoid a conflict in case the application also // includes the official 'pg' typings. // -// Supported version of pg: 8.7.1 and later. +// Supported version of pg: 8.9.0 and later. // // pg: https://github.com/brianc/node-postgres ////////////////////////////////////////////////////////////////////////////// import {EventEmitter} from 'events'; import {checkServerIdentity} from 'tls'; +import {Stream} from 'stream'; declare namespace pg { @@ -102,6 +103,7 @@ declare namespace pg { keepAlive?: boolean keepalives?: number keepalives_idle?: number + stream?: Stream | ((cn: IConnectionParameters) => Stream) Client?: new(config: string | IConnectionParameters) => C Promise?: any types?: ITypeOverrides