pg-promise 11.4.2 → 11.4.3

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/database.js CHANGED
@@ -1525,7 +1525,6 @@ function Database(cn, dc, config) {
1525
1525
  * {@link Database#taskIf Database.taskIf},
1526
1526
  * {@link Database#tx Database.tx},
1527
1527
  * {@link TaskContext}
1528
- *
1529
1528
  */
1530
1529
  obj.txIf = function () {
1531
1530
  const args = npm.pubUtils.taskArgs(arguments);
package/lib/main.js CHANGED
@@ -36,7 +36,7 @@ let originalClientConnect;
36
36
  * @module pg-promise
37
37
  *
38
38
  * @description
39
- * ## pg-promise v11.0
39
+ * ## pg-promise v11.4
40
40
  * All documentation here is for the latest official release only.
41
41
  *
42
42
  * ### Initialization Options
package/lib/task.js CHANGED
@@ -118,6 +118,10 @@ function Task(ctx, tag, isTX, config) {
118
118
  };
119
119
 
120
120
  /**
121
+ * @deprecated
122
+ * Consider using <b>async/await</b> syntax instead, or if you must have
123
+ * pre-generated promises, then $[Promise.allSettled].
124
+ *
121
125
  * @method Task#batch
122
126
  * @description
123
127
  * Settles a predefined array of mixed values by redirecting to method $[spex.batch].
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "11.4.2",
3
+ "version": "11.4.3",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -41,16 +41,16 @@
41
41
  "node": ">=14.0"
42
42
  },
43
43
  "dependencies": {
44
- "assert-options": "0.8.0",
44
+ "assert-options": "0.8.1",
45
45
  "pg": "8.10.0",
46
- "pg-minify": "1.6.2",
47
- "spex": "3.2.0"
46
+ "pg-minify": "1.6.3",
47
+ "spex": "3.3.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "18.15.3",
51
51
  "bluebird": "3.7.2",
52
52
  "coveralls": "3.1.1",
53
- "cspell": "6.30.0",
53
+ "cspell": "6.30.1",
54
54
  "eslint": "8.36.0",
55
55
  "istanbul": "0.4.5",
56
56
  "jasmine-node": "3.0.0",
@@ -59,5 +59,5 @@ await db.task(async t => {
59
59
  For a comprehensive example, check out [pg-promise-demo].
60
60
 
61
61
  [pg-promise-demo]:https://github.com/vitaly-t/pg-promise-demo
62
- [extend]:http://vitaly-t.github.io/pg-promise/global.html#event:extend
62
+ [extend]:https://vitaly-t.github.io/pg-promise/global.html#event:extend
63
63
  [pg-promise]:https://github.com/vitaly-t/pg-promise