pg-promise 12.2.0 → 12.4.0
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 +1 -1
- package/package.json +10 -10
- package/typescript/pg-promise.d.ts +4 -2
package/README.md
CHANGED
|
@@ -392,7 +392,7 @@ When a variable name ends with `:value`, or shorter syntax `#`, it is escaped as
|
|
|
392
392
|
the trailing quotes are not added.
|
|
393
393
|
|
|
394
394
|
Open values are primarily to be able to compose complete `LIKE`/`ILIKE` dynamic statements in external SQL files,
|
|
395
|
-
without having to generate them in the code.
|
|
395
|
+
without having to generate them in the code. They should not be used otherwise because they are not safe from SQL injection.
|
|
396
396
|
|
|
397
397
|
i.e. you can either generate a filter like this in your code:
|
|
398
398
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-promise",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
@@ -42,23 +42,23 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"assert-options": "0.8.3",
|
|
45
|
-
"pg": "8.
|
|
45
|
+
"pg": "8.17.2",
|
|
46
46
|
"pg-minify": "1.8.0",
|
|
47
|
-
"spex": "4.0
|
|
47
|
+
"spex": "4.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"pg-query-stream": "4.
|
|
50
|
+
"pg-query-stream": "4.11.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@eslint/js": "9.
|
|
54
|
-
"@types/node": "
|
|
53
|
+
"@eslint/js": "9.39.2",
|
|
54
|
+
"@types/node": "25.1.0",
|
|
55
55
|
"coveralls": "3.1.1",
|
|
56
|
-
"cspell": "9.2
|
|
57
|
-
"eslint": "9.
|
|
58
|
-
"globals": "
|
|
56
|
+
"cspell": "9.6.2",
|
|
57
|
+
"eslint": "9.39.2",
|
|
58
|
+
"globals": "17.2.0",
|
|
59
59
|
"istanbul": "0.4.5",
|
|
60
60
|
"jasmine-node": "3.0.0",
|
|
61
|
-
"jsdoc": "4.0.
|
|
61
|
+
"jsdoc": "4.0.5",
|
|
62
62
|
"JSONStream": "1.3.5",
|
|
63
63
|
"typescript": "5.9.3"
|
|
64
64
|
}
|
|
@@ -206,9 +206,11 @@ declare namespace pgPromise {
|
|
|
206
206
|
skip?: string | string[] | ((c: Column<T>) => boolean)
|
|
207
207
|
}): string
|
|
208
208
|
|
|
209
|
-
extend<
|
|
209
|
+
extend<K extends string>(columns: K[]): ColumnSet<T & Record<K, unknown>>
|
|
210
|
+
extend<S>(columns: Column<S> | ColumnSet<S> | Array<IColumnConfig<S> | Column<S>>): ColumnSet<T & S>
|
|
210
211
|
|
|
211
|
-
merge<
|
|
212
|
+
merge<K extends string>(columns: K[]): ColumnSet<T & Record<K, unknown>>
|
|
213
|
+
merge<S>(columns: Column<S> | ColumnSet<S> | Array<IColumnConfig<S> | Column<S>>): ColumnSet<T & S>
|
|
212
214
|
|
|
213
215
|
prepare(obj: object): object
|
|
214
216
|
|