Skip to content

Commit c39d747

Browse files
committed
statically link pg protocol
1 parent 6abbe6b commit c39d747

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"packet-reader": "1.0.0",
3131
"pg-connection-string": "^2.7.0",
3232
"pg-pool": "^3.7.0",
33-
"pg-protocol": "./packages/pg-protocol",
3433
"pg-types": "^2.1.0",
3534
"pgpass": "1.x"
3635
},

packages/pg/lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var EventEmitter = require('events').EventEmitter
44

5-
const { parse, serialize } = require('pg-protocol')
5+
const { parse, serialize } = require('../../pg-protocol/dist')
66
const { getStream, getSecureStream } = require('./stream')
77

88
const flushBuffer = serialize.flush()

packages/pg/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var Client = require('./client')
44
var defaults = require('./defaults')
55
var Connection = require('./connection')
66
var Pool = require('pg-pool')
7-
const { DatabaseError } = require('pg-protocol')
7+
const { DatabaseError } = require('../../pg-protocol/dist')
88
const { escapeIdentifier, escapeLiteral } = require('./utils')
99

1010
const poolFactory = (Client) => {

packages/pg/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"dependencies": {
2323
"pg-connection-string": "^2.7.0",
2424
"pg-pool": "^3.7.0",
25-
"pg-protocol": "../packages/pg-protocol",
2625
"pg-types": "^2.1.0",
2726
"pgpass": "1.x"
2827
},

0 commit comments

Comments
 (0)