@byline/db-postgres 2.2.8 → 2.2.10
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.
|
@@ -74,7 +74,7 @@ export class CounterCommands {
|
|
|
74
74
|
throw new Error(`nextCounterValue: counter group "${groupName}" is not registered. ` +
|
|
75
75
|
`Call ensureCounterGroup at boot before any document create that uses it.`);
|
|
76
76
|
}
|
|
77
|
-
const sequenceName = rows[0]
|
|
77
|
+
const sequenceName = rows[0]?.sequence_name;
|
|
78
78
|
// sql.raw is safe here: sequenceName came from our own registry row,
|
|
79
79
|
// which was written by ensureCounterGroup from deriveSequenceName
|
|
80
80
|
// — only [a-z0-9_] characters, no user-controlled SQL.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/db-postgres",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.10",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -54,25 +54,25 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"drizzle-orm": "^0.45.2",
|
|
56
56
|
"npm-run-all": "^4.1.5",
|
|
57
|
-
"pg": "^8.
|
|
57
|
+
"pg": "^8.21.0",
|
|
58
58
|
"uuid": "^14.0.0",
|
|
59
59
|
"zod": "^4.4.3",
|
|
60
|
-
"@byline/admin": "2.2.
|
|
61
|
-
"@byline/
|
|
62
|
-
"@byline/
|
|
60
|
+
"@byline/admin": "2.2.10",
|
|
61
|
+
"@byline/core": "2.2.10",
|
|
62
|
+
"@byline/auth": "2.2.10"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "2.4.15",
|
|
66
|
-
"@types/node": "^25.
|
|
66
|
+
"@types/node": "^25.9.1",
|
|
67
67
|
"@types/pg": "^8.20.0",
|
|
68
68
|
"chokidar": "^5.0.0",
|
|
69
69
|
"chokidar-cli": "^3.0.0",
|
|
70
70
|
"dotenv": "^17.4.2",
|
|
71
71
|
"drizzle-kit": "^0.31.10",
|
|
72
72
|
"tsc-alias": "^1.8.17",
|
|
73
|
-
"tsx": "^4.
|
|
73
|
+
"tsx": "^4.22.3",
|
|
74
74
|
"typescript": "6.0.3",
|
|
75
|
-
"vitest": "^4.1.
|
|
75
|
+
"vitest": "^4.1.7"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public",
|