pg-promise 10.15.0 → 10.15.2
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/lib/main.js +1 -1
- package/lib/query.js +2 -0
- package/lib/task.js +1 -1
- package/package.json +3 -3
package/lib/main.js
CHANGED
package/lib/query.js
CHANGED
|
@@ -160,6 +160,8 @@ function $query(ctx, query, values, qrm, config) {
|
|
|
160
160
|
if (npm.utils.isConnectivityError(err)) {
|
|
161
161
|
ctx.db.client.$connectionError = err;
|
|
162
162
|
}
|
|
163
|
+
err.query = err.query || query;
|
|
164
|
+
err.params = err.params || params;
|
|
163
165
|
error = err;
|
|
164
166
|
} else {
|
|
165
167
|
multiResult = Array.isArray(result);
|
package/lib/task.js
CHANGED
|
@@ -399,7 +399,7 @@ module.exports = config => {
|
|
|
399
399
|
* allocated physical connection.
|
|
400
400
|
*
|
|
401
401
|
* @property {string} serverVersion
|
|
402
|
-
*
|
|
402
|
+
* Version of the PostgreSQL server to which we are connected.
|
|
403
403
|
* Not available with $[Native Bindings].
|
|
404
404
|
*
|
|
405
405
|
* @property {Date} finish
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-promise",
|
|
3
|
-
"version": "10.15.
|
|
3
|
+
"version": "10.15.2",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@types/node": "18.11.9",
|
|
50
50
|
"bluebird": "3.7.2",
|
|
51
51
|
"coveralls": "3.1.1",
|
|
52
|
-
"cspell": "6.14.
|
|
53
|
-
"eslint": "8.
|
|
52
|
+
"cspell": "6.14.3",
|
|
53
|
+
"eslint": "8.28.0",
|
|
54
54
|
"istanbul": "0.4.5",
|
|
55
55
|
"jasmine-node": "3.0.0",
|
|
56
56
|
"jsdoc": "3.6.11",
|