pg 8.15.2 → 8.15.6
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/esm/index.mjs +2 -0
- package/lib/index.js +8 -6
- package/package.json +6 -6
package/esm/index.mjs
CHANGED
|
@@ -10,6 +10,8 @@ export const Query = pg.Query
|
|
|
10
10
|
export const DatabaseError = pg.DatabaseError
|
|
11
11
|
export const escapeIdentifier = pg.escapeIdentifier
|
|
12
12
|
export const escapeLiteral = pg.escapeLiteral
|
|
13
|
+
export const Result = pg.Result
|
|
14
|
+
export const TypeOverrides = pg.TypeOverrides
|
|
13
15
|
|
|
14
16
|
// Also export the defaults
|
|
15
17
|
export const defaults = pg.defaults
|
package/lib/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const Client = require('./client')
|
|
4
|
+
const defaults = require('./defaults')
|
|
5
|
+
const Connection = require('./connection')
|
|
6
|
+
const Result = require('./result')
|
|
7
|
+
const utils = require('./utils')
|
|
8
|
+
const Pool = require('pg-pool')
|
|
9
|
+
const TypeOverrides = require('./type-overrides')
|
|
9
10
|
const { DatabaseError } = require('pg-protocol')
|
|
10
11
|
const { escapeIdentifier, escapeLiteral } = require('./utils')
|
|
11
12
|
|
|
@@ -26,6 +27,7 @@ var PG = function (clientConstructor) {
|
|
|
26
27
|
this.Connection = Connection
|
|
27
28
|
this.types = require('pg-types')
|
|
28
29
|
this.DatabaseError = DatabaseError
|
|
30
|
+
this.TypeOverrides = TypeOverrides
|
|
29
31
|
this.escapeIdentifier = escapeIdentifier
|
|
30
32
|
this.escapeLiteral = escapeLiteral
|
|
31
33
|
this.Result = Result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pg",
|
|
3
|
-
"version": "8.15.
|
|
3
|
+
"version": "8.15.6",
|
|
4
4
|
"description": "PostgreSQL client - pure javascript & libpq with the same API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"database",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"pg-connection-string": "^2.8.
|
|
36
|
-
"pg-pool": "^3.9.
|
|
37
|
-
"pg-protocol": "^1.9.
|
|
35
|
+
"pg-connection-string": "^2.8.5",
|
|
36
|
+
"pg-pool": "^3.9.6",
|
|
37
|
+
"pg-protocol": "^1.9.5",
|
|
38
38
|
"pg-types": "^2.1.0",
|
|
39
39
|
"pgpass": "1.x"
|
|
40
40
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"wrangler": "^3.x"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"pg-cloudflare": "^1.2.
|
|
54
|
+
"pg-cloudflare": "^1.2.5"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"pg-native": ">=3.0.1"
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">= 8.0.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "81d875fe09d86e7dc1fe433f08d21d02ab70c25c"
|
|
77
77
|
}
|