pg-promise 10.5.1 → 10.5.5
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/utils/public.js
CHANGED
|
@@ -270,7 +270,7 @@ function taskArgs(args) {
|
|
|
270
270
|
return this[0];
|
|
271
271
|
},
|
|
272
272
|
set: function (newValue) {
|
|
273
|
-
|
|
273
|
+
this[0] = newValue;
|
|
274
274
|
},
|
|
275
275
|
enumerable: true
|
|
276
276
|
});
|
|
@@ -280,7 +280,7 @@ function taskArgs(args) {
|
|
|
280
280
|
return this[1];
|
|
281
281
|
},
|
|
282
282
|
set: function (newValue) {
|
|
283
|
-
|
|
283
|
+
this[1] = newValue;
|
|
284
284
|
},
|
|
285
285
|
enumerable: true
|
|
286
286
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg-promise",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.5",
|
|
4
4
|
"description": "PostgreSQL interface for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "typescript/pg-promise.d.ts",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"node": ">=8.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"assert-options": "0.6.
|
|
44
|
-
"pg": "8.0
|
|
45
|
-
"pg-minify": "1.
|
|
43
|
+
"assert-options": "0.6.2",
|
|
44
|
+
"pg": "8.1.0",
|
|
45
|
+
"pg-minify": "1.6.0",
|
|
46
46
|
"spex": "3.0.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "13.13.
|
|
49
|
+
"@types/node": "13.13.5",
|
|
50
50
|
"JSONStream": "1.3.5",
|
|
51
51
|
"bluebird": "3.7.2",
|
|
52
|
-
"coveralls": "3.0
|
|
53
|
-
"eslint": "
|
|
54
|
-
"tslint": "6.1.
|
|
52
|
+
"coveralls": "3.1.0",
|
|
53
|
+
"eslint": "7.0.0",
|
|
54
|
+
"tslint": "6.1.2",
|
|
55
55
|
"istanbul": "0.4.5",
|
|
56
56
|
"jasmine-node": "3.0.0",
|
|
57
57
|
"jsdoc": "3.6.4",
|
|
58
|
-
"pg-query-stream": "3.0.
|
|
58
|
+
"pg-query-stream": "3.0.8",
|
|
59
59
|
"typescript": "3.8.3"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/////////////////////////////////////////
|
|
11
|
-
// Requires pg-promise v10.
|
|
11
|
+
// Requires pg-promise v10.5.0 or later.
|
|
12
12
|
/////////////////////////////////////////
|
|
13
13
|
|
|
14
14
|
// We use ES6 as static promise here, because generic promises are still not supported.
|
|
@@ -649,13 +649,13 @@ declare namespace pgPromise {
|
|
|
649
649
|
|
|
650
650
|
concat(queries: Array<string | QueryFile | { query: string | QueryFile, values?: any, options?: IFormattingOptions }>): string
|
|
651
651
|
|
|
652
|
-
insert(data: object | object[], columns?: QueryColumns, table?: string | ITable | TableName): string
|
|
652
|
+
insert(data: object | object[], columns?: QueryColumns | null, table?: string | ITable | TableName): string
|
|
653
653
|
|
|
654
|
-
update(data: object | object[], columns?: QueryColumns, table?: string | ITable | TableName, options?: { tableAlias?: string, valueAlias?: string, emptyUpdate?: any }): any
|
|
654
|
+
update(data: object | object[], columns?: QueryColumns | null, table?: string | ITable | TableName, options?: { tableAlias?: string, valueAlias?: string, emptyUpdate?: any }): any
|
|
655
655
|
|
|
656
|
-
values(data: object | object[], columns?: QueryColumns): string
|
|
656
|
+
values(data: object | object[], columns?: QueryColumns | null): string
|
|
657
657
|
|
|
658
|
-
sets(data: object, columns?: QueryColumns): string
|
|
658
|
+
sets(data: object, columns?: QueryColumns | null): string
|
|
659
659
|
|
|
660
660
|
Column: typeof Column
|
|
661
661
|
ColumnSet: typeof ColumnSet
|