pg-promise 10.11.1 → 10.12.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": "10.11.1",
3
+ "version": "10.12.0",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -36,25 +36,25 @@
36
36
  },
37
37
  "license": "MIT",
38
38
  "engines": {
39
- "node": ">=8.0"
39
+ "node": ">=12.0"
40
40
  },
41
41
  "dependencies": {
42
42
  "assert-options": "0.7.0",
43
- "pg": "8.7.1",
43
+ "pg": "8.8.0",
44
44
  "pg-minify": "1.6.2",
45
45
  "spex": "3.2.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@types/node": "16.11.0",
48
+ "@types/node": "18.7.13",
49
49
  "bluebird": "3.7.2",
50
50
  "coveralls": "3.1.1",
51
- "eslint": "8.0.1",
51
+ "eslint": "8.23.0",
52
52
  "istanbul": "0.4.5",
53
53
  "jasmine-node": "3.0.0",
54
- "jsdoc": "3.6.7",
54
+ "jsdoc": "3.6.11",
55
55
  "JSONStream": "1.3.5",
56
- "pg-query-stream": "4.2.1",
56
+ "pg-query-stream": "4.2.4",
57
57
  "tslint": "6.1.3",
58
- "typescript": "4.4.4"
58
+ "typescript": "4.8.2"
59
59
  }
60
60
  }
@@ -166,6 +166,7 @@ declare namespace pgPromise {
166
166
  readonly def: any;
167
167
  readonly castText: string;
168
168
  readonly escapedName: string;
169
+ readonly variable: string;
169
170
  readonly init: (col: IColumnDescriptor<T>) => any
170
171
  readonly skip: (col: IColumnDescriptor<T>) => boolean
171
172
 
@@ -106,6 +106,7 @@ declare namespace pg {
106
106
  Promise?: any
107
107
  types?: ITypeOverrides
108
108
  allowExitOnIdle?: boolean
109
+ maxLifetimeSeconds?: number
109
110
  }
110
111
 
111
112
  // Type id-s supported by PostgreSQL, copied from: