pgsql-test 2.6.0 → 2.6.2
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/connect.js +2 -2
- package/esm/connect.js +1 -1
- package/package.json +7 -7
package/connect.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getConnections = exports.getPgRootAdmin = void 0;
|
|
4
|
-
const
|
|
4
|
+
const env_1 = require("@launchql/env");
|
|
5
5
|
const crypto_1 = require("crypto");
|
|
6
6
|
const pg_cache_1 = require("pg-cache");
|
|
7
7
|
const pg_env_1 = require("pg-env");
|
|
@@ -18,7 +18,7 @@ const getPgRootAdmin = (connOpts = {}) => {
|
|
|
18
18
|
};
|
|
19
19
|
exports.getPgRootAdmin = getPgRootAdmin;
|
|
20
20
|
const getConnOopts = (cn = {}) => {
|
|
21
|
-
const connect = (0,
|
|
21
|
+
const connect = (0, env_1.getConnEnvOptions)(cn.db);
|
|
22
22
|
const config = (0, pg_env_1.getPgEnvOptions)({
|
|
23
23
|
database: `${connect.prefix}${(0, crypto_1.randomUUID)()}`,
|
|
24
24
|
...cn.pg
|
package/esm/connect.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pgsql-test",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution",
|
|
6
6
|
"main": "index.js",
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
"@types/pg-copy-streams": "^1.2.5"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@launchql/core": "^2.
|
|
64
|
-
"@launchql/env": "^2.2.
|
|
65
|
-
"@launchql/server-utils": "^2.2.
|
|
66
|
-
"@launchql/types": "^2.
|
|
63
|
+
"@launchql/core": "^2.7.1",
|
|
64
|
+
"@launchql/env": "^2.2.1",
|
|
65
|
+
"@launchql/server-utils": "^2.2.1",
|
|
66
|
+
"@launchql/types": "^2.3.0",
|
|
67
67
|
"pg": "^8.16.0",
|
|
68
|
-
"pg-cache": "^1.1.
|
|
68
|
+
"pg-cache": "^1.1.1",
|
|
69
69
|
"pg-copy-streams": "^6.0.6",
|
|
70
70
|
"pg-env": "^1.1.0"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "ecff19e150916322377a8916be58fc5874fc1dd2"
|
|
73
73
|
}
|