@jskit-ai/database-runtime-postgres 0.1.157 → 0.1.159

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/database-runtime-postgres",
3
- "version": "0.1.157",
3
+ "version": "0.1.159",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -12,7 +12,7 @@
12
12
  "./shared/dialect": "./src/shared/dialect.js"
13
13
  },
14
14
  "dependencies": {
15
- "@jskit-ai/database-runtime": "0.1.160",
15
+ "@jskit-ai/database-runtime": "0.1.162",
16
16
  "pg": "^8.13.1"
17
17
  },
18
18
  "jskit": {
@@ -8,6 +8,6 @@
8
8
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
9
9
  },
10
10
  "dependencies": {
11
- "@jskit-ai/database-runtime-postgres": "0.1.157"
11
+ "@jskit-ai/database-runtime-postgres": "0.1.159"
12
12
  }
13
13
  }
@@ -5,14 +5,19 @@ import test from "node:test";
5
5
  const patternUrl = new URL("../patterns/postgres-application/", import.meta.url);
6
6
 
7
7
  test("PostgreSQL application pattern is driver-fixed and questionnaire-free", async () => {
8
- const [document, manifestSource, knexfile] = await Promise.all([
8
+ const [document, manifestSource, packageSource, knexfile] = await Promise.all([
9
9
  readFile(new URL("PATTERN.md", patternUrl), "utf8"),
10
10
  readFile(new URL("example/package.json", patternUrl), "utf8"),
11
+ readFile(new URL("../package.json", import.meta.url), "utf8"),
11
12
  readFile(new URL("example/knexfile.js", patternUrl), "utf8")
12
13
  ]);
13
14
  const manifest = JSON.parse(manifestSource);
15
+ const packageManifest = JSON.parse(packageSource);
14
16
 
15
- assert.equal(manifest.dependencies["@jskit-ai/database-runtime-postgres"], "0.1.157");
17
+ assert.equal(
18
+ manifest.dependencies["@jskit-ai/database-runtime-postgres"],
19
+ packageManifest.version
20
+ );
16
21
  assert.match(knexfile, /client: "pg"/u);
17
22
  assert.doesNotMatch(`${document}\n${knexfile}`, /promptLabel|promptHint|\$\{option:/u);
18
23
  });