prisma-generator-express 1.69.1 → 1.69.3
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 +13 -13
- package/src/copy/operationRuntime.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma-generator-express",
|
|
3
3
|
"description": "Prisma generator for Express, Fastify, and Hono CRUD APIs with OpenAPI and guarded MCP tools",
|
|
4
|
-
"version": "1.69.
|
|
4
|
+
"version": "1.69.3",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test:typecheck": "tsc -p tsconfig.test.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@prisma/generator-helper": "7.
|
|
33
|
+
"@prisma/generator-helper": "7.10.1",
|
|
34
34
|
"prettier": "3.6.2",
|
|
35
35
|
"yaml": "^2.9.0"
|
|
36
36
|
},
|
|
@@ -72,29 +72,29 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@modelcontextprotocol/client": "^2.1
|
|
76
|
-
"@modelcontextprotocol/express": "^2.0.
|
|
77
|
-
"@modelcontextprotocol/node": "^2.1.
|
|
78
|
-
"@modelcontextprotocol/server": "^2.1
|
|
79
|
-
"@prisma/client": "7.
|
|
75
|
+
"@modelcontextprotocol/client": "^2.3.1",
|
|
76
|
+
"@modelcontextprotocol/express": "^2.0.2",
|
|
77
|
+
"@modelcontextprotocol/node": "^2.1.1",
|
|
78
|
+
"@modelcontextprotocol/server": "^2.3.1",
|
|
79
|
+
"@prisma/client": "7.10.1",
|
|
80
80
|
"@types/better-sqlite3": "^7.6.13",
|
|
81
81
|
"@types/node": "24.7.2",
|
|
82
82
|
"@types/prettier": "3.0.0",
|
|
83
|
-
"@vitest/coverage-v8": "^4.1.
|
|
83
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
84
84
|
"better-sqlite3": "^12.5.0",
|
|
85
85
|
"esbuild": "^0.28.2",
|
|
86
86
|
"express": "^5.2.1",
|
|
87
87
|
"fast-xml-parser": "^5.3.3",
|
|
88
|
-
"fastify": "^5.
|
|
89
|
-
"hono": "^4.
|
|
88
|
+
"fastify": "^5.12.7",
|
|
89
|
+
"hono": "^4.13.13",
|
|
90
90
|
"lru-cache": "^11.2.4",
|
|
91
91
|
"pino": "^10.1.0",
|
|
92
92
|
"pino-pretty": "^13.0.0",
|
|
93
|
-
"prisma": "7.
|
|
93
|
+
"prisma": "7.10.1",
|
|
94
94
|
"prisma-guard": "1.33.0",
|
|
95
|
-
"semantic-release": "^
|
|
95
|
+
"semantic-release": "^25.0.9",
|
|
96
96
|
"typescript": "5.9.3",
|
|
97
|
-
"vitest": "^4.1.
|
|
97
|
+
"vitest": "^4.1.12",
|
|
98
98
|
"zod": "^4.0.0"
|
|
99
99
|
},
|
|
100
100
|
"homepage": "https://github.com/multipliedtwice/prisma-generator-express",
|
|
@@ -111,10 +111,10 @@ export async function getExtendedClient(
|
|
|
111
111
|
'PrismaClient not found on request. Set req.prisma in middleware.',
|
|
112
112
|
)
|
|
113
113
|
}
|
|
114
|
-
await ensurePrismaSqlReady()
|
|
115
|
-
if (!_speedExtension) return base
|
|
116
114
|
const connector = (ctx.postgres ?? ctx.sqlite) as object | undefined
|
|
117
115
|
if (!connector) return base
|
|
116
|
+
await ensurePrismaSqlReady()
|
|
117
|
+
if (!_speedExtension) return base
|
|
118
118
|
const innerMap = _extendedClients.get(connector)
|
|
119
119
|
if (innerMap) {
|
|
120
120
|
const cached = innerMap.get(base as unknown as object)
|