@prisma/query-plan-executor 7.10.0-dev.22 → 7.10.0-dev.23
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.js +11 -3
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -93473,7 +93473,7 @@ __export(index_exports, {
|
|
|
93473
93473
|
module.exports = __toCommonJS(index_exports);
|
|
93474
93474
|
|
|
93475
93475
|
// package.json
|
|
93476
|
-
var version = "7.10.0-dev.
|
|
93476
|
+
var version = "7.10.0-dev.23";
|
|
93477
93477
|
|
|
93478
93478
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
93479
93479
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -108398,10 +108398,18 @@ function mapDriverError3(error44) {
|
|
|
108398
108398
|
message: error44.message
|
|
108399
108399
|
};
|
|
108400
108400
|
case "23505": {
|
|
108401
|
-
|
|
108401
|
+
let constraint;
|
|
108402
|
+
if (error44.constraint) {
|
|
108403
|
+
constraint = { index: error44.constraint };
|
|
108404
|
+
} else {
|
|
108405
|
+
const fields = error44.detail?.match(/Key \(([^)]+)\)/)?.at(1)?.split(", ");
|
|
108406
|
+
if (fields !== void 0) {
|
|
108407
|
+
constraint = { fields };
|
|
108408
|
+
}
|
|
108409
|
+
}
|
|
108402
108410
|
return {
|
|
108403
108411
|
kind: "UniqueConstraintViolation",
|
|
108404
|
-
constraint
|
|
108412
|
+
constraint
|
|
108405
108413
|
};
|
|
108406
108414
|
}
|
|
108407
108415
|
case "23502": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "7.10.0-dev.
|
|
3
|
+
"version": "7.10.0-dev.23",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"hono": "^4.12.23",
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"zod": "4.1.3",
|
|
22
|
-
"@prisma/adapter-pg": "7.10.0-dev.
|
|
23
|
-
"@prisma/adapter-
|
|
24
|
-
"@prisma/adapter-
|
|
25
|
-
"@prisma/client-engine-runtime": "7.10.0-dev.
|
|
26
|
-
"@prisma/driver-adapter-utils": "7.10.0-dev.
|
|
22
|
+
"@prisma/adapter-pg": "7.10.0-dev.23",
|
|
23
|
+
"@prisma/adapter-mssql": "7.10.0-dev.23",
|
|
24
|
+
"@prisma/adapter-mariadb": "7.10.0-dev.23",
|
|
25
|
+
"@prisma/client-engine-runtime": "7.10.0-dev.23",
|
|
26
|
+
"@prisma/driver-adapter-utils": "7.10.0-dev.23"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist"
|