pg-promise 12.6.0 → 12.6.1

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.
@@ -109,6 +109,17 @@ TableName.prototype[npm.format.ctf.toPostgres] = function (self) {
109
109
 
110
110
  TableName.prototype[npm.format.ctf.rawType] = true; // use as pre-formatted
111
111
 
112
+ /**
113
+ * @method helpers.TableName#toString
114
+ * @description
115
+ * Creates a well-formatted string that represents the object.
116
+ *
117
+ * @returns {string}
118
+ */
119
+ TableName.prototype.toString = function () {
120
+ return this.name;
121
+ };
122
+
112
123
  /**
113
124
  * @interface Table
114
125
  * @description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-promise",
3
- "version": "12.6.0",
3
+ "version": "12.6.1",
4
4
  "description": "PostgreSQL interface for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "typings": "typescript/pg-promise.d.ts",
@@ -50,11 +50,11 @@
50
50
  "pg-query-stream": "4.12.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@eslint/js": "9.39.2",
54
- "@types/node": "25.2.0",
53
+ "@eslint/js": "10.0.1",
54
+ "@types/node": "25.2.3",
55
55
  "coveralls": "3.1.1",
56
- "cspell": "9.6.3",
57
- "eslint": "9.39.2",
56
+ "cspell": "9.6.4",
57
+ "eslint": "10.0.0",
58
58
  "globals": "17.3.0",
59
59
  "jasmine-node": "3.0.0",
60
60
  "jsdoc": "4.0.5",