@trenskow/pged 5.1.11 → 5.1.12
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 +2 -2
- package/query-builder.js +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trenskow/pged",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.12",
|
|
4
4
|
"description": "Just a silly little db management and query builder for PostgreSQL.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@trenskow/async-event-emitter": "^0.1.21",
|
|
27
27
|
"@trenskow/caseit": "^1.3.12",
|
|
28
|
-
"@trenskow/custom-promise": "^0.
|
|
28
|
+
"@trenskow/custom-promise": "^0.11.0",
|
|
29
29
|
"@trenskow/parse": "^0.1.19",
|
|
30
30
|
"pg": "^8.11.3",
|
|
31
31
|
"puqeue": "^1.1.4"
|
package/query-builder.js
CHANGED
|
@@ -669,10 +669,14 @@ export default class QueryBuilder extends CustomPromise {
|
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
then(resolve, reject) {
|
|
672
|
-
|
|
672
|
+
|
|
673
673
|
this._exec()
|
|
674
674
|
.then((...args) => this._resolve(...args))
|
|
675
675
|
.catch((error) => this._reject(error));
|
|
676
|
+
|
|
677
|
+
return super
|
|
678
|
+
.then(resolve, reject)
|
|
679
|
+
|
|
676
680
|
}
|
|
677
681
|
|
|
678
682
|
}
|