pg-promise 11.0.2 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "11.0.2",
3
+ "version": "11.1.0",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "assert-options": "0.8.0",
45
- "pg": "8.8.0",
45
+ "pg": "8.9.0",
46
46
  "pg-minify": "1.6.2",
47
47
  "spex": "3.2.0"
48
48
  },
@@ -50,13 +50,13 @@
50
50
  "@types/node": "18.11.18",
51
51
  "bluebird": "3.7.2",
52
52
  "coveralls": "3.1.1",
53
- "cspell": "6.18.1",
54
- "eslint": "8.30.0",
53
+ "cspell": "6.19.2",
54
+ "eslint": "8.32.0",
55
55
  "istanbul": "0.4.5",
56
56
  "jasmine-node": "3.0.0",
57
57
  "jsdoc": "4.0.0",
58
58
  "JSONStream": "1.3.5",
59
- "pg-query-stream": "4.2.4",
59
+ "pg-query-stream": "4.3.0",
60
60
  "tslint": "6.1.3",
61
61
  "typescript": "4.9.4"
62
62
  }
@@ -13,13 +13,14 @@
13
13
  // Calling it 'pg-subset' to avoid a conflict in case the application also
14
14
  // includes the official 'pg' typings.
15
15
  //
16
- // Supported version of pg: 8.7.1 and later.
16
+ // Supported version of pg: 8.9.0 and later.
17
17
  //
18
18
  // pg: https://github.com/brianc/node-postgres
19
19
  //////////////////////////////////////////////////////////////////////////////
20
20
 
21
21
  import {EventEmitter} from 'events';
22
22
  import {checkServerIdentity} from 'tls';
23
+ import {Stream} from 'stream';
23
24
 
24
25
  declare namespace pg {
25
26
 
@@ -102,6 +103,7 @@ declare namespace pg {
102
103
  keepAlive?: boolean
103
104
  keepalives?: number
104
105
  keepalives_idle?: number
106
+ stream?: Stream | ((cn: IConnectionParameters) => Stream)
105
107
  Client?: new(config: string | IConnectionParameters) => C
106
108
  Promise?: any
107
109
  types?: ITypeOverrides