pg-promise 11.0.1 → 11.0.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/README.md +6 -0
- package/lib/errors/query-result-error.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
pg-promise
|
|
2
2
|
==========
|
|
3
3
|
|
|
4
|
+
[](https://github.com/vitaly-t/pg-promise/actions?query=workflow%3Aci+branch%3Amaster)
|
|
5
|
+
[](https://nodejs.org)
|
|
6
|
+
[](https://www.postgresql.org)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
4
10
|
PostgreSQL interface for Node.js
|
|
5
11
|
|
|
6
12
|
---
|
|
@@ -99,7 +99,7 @@ const errorMessages = [
|
|
|
99
99
|
*
|
|
100
100
|
* // pg-promise initialization options...
|
|
101
101
|
*
|
|
102
|
-
* error
|
|
102
|
+
* error(err, e) {
|
|
103
103
|
* if (err instanceof QueryResultError) {
|
|
104
104
|
* // A query returned unexpected number of records, and thus rejected;
|
|
105
105
|
*
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-promise",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\" --no-progress",
|
|
9
|
-
"coverage": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node test",
|
|
9
|
+
"coverage": "istanbul cover ./node_modules/jasmine-node/bin/jasmine-node --captureExceptions test",
|
|
10
10
|
"doc": "jsdoc -c ./jsdoc/jsdoc.js ./jsdoc/README.md -t ./jsdoc/templates/custom",
|
|
11
11
|
"lint": "eslint ./lib ./test/*.js ./test/db --fix",
|
|
12
12
|
"test": "jasmine-node --captureExceptions test",
|
|
13
|
+
"test:init": "node test/db/init.js",
|
|
13
14
|
"test:native": "jasmine-node test --config PG_NATIVE true",
|
|
14
15
|
"tslint": "tslint ./typescript/*.ts"
|
|
15
16
|
},
|