@zenstackhq/cli 3.4.0 → 3.4.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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -1443,7 +1443,6 @@ __name(parseEnumValues, "parseEnumValues");
|
|
|
1443
1443
|
|
|
1444
1444
|
// src/actions/pull/provider/postgresql.ts
|
|
1445
1445
|
import { DataFieldAttributeFactory as DataFieldAttributeFactory3 } from "@zenstackhq/language/factory";
|
|
1446
|
-
import { Client } from "pg";
|
|
1447
1446
|
var pgTypnameToStandard = {
|
|
1448
1447
|
int2: "smallint",
|
|
1449
1448
|
int4: "integer",
|
|
@@ -1613,6 +1612,7 @@ var postgresql = {
|
|
|
1613
1612
|
}
|
|
1614
1613
|
},
|
|
1615
1614
|
async introspect(connectionString, options) {
|
|
1615
|
+
const { Client } = await import("pg");
|
|
1616
1616
|
const client = new Client({
|
|
1617
1617
|
connectionString
|
|
1618
1618
|
});
|