pg-promise 11.2.0 → 11.3.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 +6 -6
- package/typescript/pg-subset.d.ts +22 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-promise",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"spex": "3.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/node": "18.
|
|
50
|
+
"@types/node": "18.14.0",
|
|
51
51
|
"bluebird": "3.7.2",
|
|
52
52
|
"coveralls": "3.1.1",
|
|
53
|
-
"cspell": "6.
|
|
54
|
-
"eslint": "8.
|
|
53
|
+
"cspell": "6.26.3",
|
|
54
|
+
"eslint": "8.34.0",
|
|
55
55
|
"istanbul": "0.4.5",
|
|
56
56
|
"jasmine-node": "3.0.0",
|
|
57
|
-
"jsdoc": "4.0.
|
|
57
|
+
"jsdoc": "4.0.2",
|
|
58
58
|
"JSONStream": "1.3.5",
|
|
59
59
|
"pg-query-stream": "4.3.0",
|
|
60
60
|
"tslint": "6.1.3",
|
|
61
|
-
"typescript": "4.9.
|
|
61
|
+
"typescript": "4.9.5"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -95,7 +95,19 @@ declare namespace pg {
|
|
|
95
95
|
idleTimeoutMillis?: number
|
|
96
96
|
parseInputDatesAsUTC?: boolean
|
|
97
97
|
rows?: number
|
|
98
|
+
|
|
99
|
+
// Max milliseconds any query using this connection will execute for before timing out in error.
|
|
100
|
+
// false = unlimited
|
|
98
101
|
statement_timeout?: boolean | number
|
|
102
|
+
|
|
103
|
+
// Abort any statement that waits longer than the specified duration in milliseconds
|
|
104
|
+
// while attempting to acquire a lock; false = unlimited
|
|
105
|
+
lock_timeout?: boolean | number
|
|
106
|
+
|
|
107
|
+
// Terminate any session with an open transaction that has been idle for longer than
|
|
108
|
+
// the specified duration in milliseconds; false = unlimited
|
|
109
|
+
idle_in_transaction_session_timeout?: boolean | number
|
|
110
|
+
|
|
99
111
|
query_timeout?: boolean | number
|
|
100
112
|
connectionTimeoutMillis?: number
|
|
101
113
|
keepAliveInitialDelayMillis?: number
|
|
@@ -246,10 +258,18 @@ declare namespace pg {
|
|
|
246
258
|
|
|
247
259
|
parseInputDatesAsUTC: boolean
|
|
248
260
|
|
|
249
|
-
//
|
|
250
|
-
// false=unlimited
|
|
261
|
+
// Max milliseconds any query using this connection will execute for before timing out in error.
|
|
262
|
+
// false = unlimited
|
|
251
263
|
statement_timeout: boolean | number
|
|
252
264
|
|
|
265
|
+
// Abort any statement that waits longer than the specified duration in milliseconds
|
|
266
|
+
// while attempting to acquire a lock; false = unlimited
|
|
267
|
+
lock_timeout: boolean | number
|
|
268
|
+
|
|
269
|
+
// Terminate any session with an open transaction that has been idle for longer than
|
|
270
|
+
// the specified duration in milliseconds; false = unlimited
|
|
271
|
+
idle_in_transaction_session_timeout: boolean | number
|
|
272
|
+
|
|
253
273
|
// max milliseconds to wait for query to complete (client side)
|
|
254
274
|
query_timeout: boolean | number
|
|
255
275
|
|