@prisma/query-plan-executor 7.2.0-integration-fix-sqlite-deadlock-fix.2 → 7.2.0-integration-fix-enums-mapped-types-v7.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/dist/index.js +4 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -97773,7 +97773,7 @@ __export(index_exports, {
|
|
|
97773
97773
|
module.exports = __toCommonJS(index_exports);
|
|
97774
97774
|
|
|
97775
97775
|
// package.json
|
|
97776
|
-
var version = "7.2.0-integration-fix-
|
|
97776
|
+
var version = "7.2.0-integration-fix-enums-mapped-types-v7.2";
|
|
97777
97777
|
|
|
97778
97778
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
97779
97779
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -107859,14 +107859,16 @@ var TransactionManager = class {
|
|
|
107859
107859
|
const abortController = new AbortController();
|
|
107860
107860
|
const startTimer = createTimeoutIfDefined(() => abortController.abort(), options.maxWait);
|
|
107861
107861
|
startTimer?.unref?.();
|
|
107862
|
+
const startTransactionPromise = this.driverAdapter.startTransaction(options.isolationLevel).catch(rethrowAsUserFacing);
|
|
107862
107863
|
transaction.transaction = await Promise.race([
|
|
107863
|
-
|
|
107864
|
+
startTransactionPromise.finally(() => clearTimeout(startTimer)),
|
|
107864
107865
|
once(abortController.signal, "abort").then(() => void 0)
|
|
107865
107866
|
]);
|
|
107866
107867
|
this.transactions.set(transaction.id, transaction);
|
|
107867
107868
|
switch (transaction.status) {
|
|
107868
107869
|
case "waiting":
|
|
107869
107870
|
if (abortController.signal.aborted) {
|
|
107871
|
+
void startTransactionPromise.then((tx) => tx.rollback()).catch((e2) => debug3("error in discarded transaction:", e2));
|
|
107870
107872
|
await this.#closeTransaction(transaction, "timed_out");
|
|
107871
107873
|
throw new TransactionStartTimeoutError();
|
|
107872
107874
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "7.2.0-integration-fix-
|
|
3
|
+
"version": "7.2.0-integration-fix-enums-mapped-types-v7.2",
|
|
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",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"vitest": "3.2.4",
|
|
22
22
|
"zod": "4.1.3",
|
|
23
|
-
"@prisma/adapter-pg": "7.2.0-integration-fix-
|
|
24
|
-
"@prisma/adapter-
|
|
25
|
-
"@prisma/
|
|
26
|
-
"@prisma/
|
|
27
|
-
"@prisma/driver-adapter-utils": "7.2.0-integration-fix-
|
|
23
|
+
"@prisma/adapter-pg": "7.2.0-integration-fix-enums-mapped-types-v7.2",
|
|
24
|
+
"@prisma/adapter-mssql": "7.2.0-integration-fix-enums-mapped-types-v7.2",
|
|
25
|
+
"@prisma/client-engine-runtime": "7.2.0-integration-fix-enums-mapped-types-v7.2",
|
|
26
|
+
"@prisma/adapter-mariadb": "7.2.0-integration-fix-enums-mapped-types-v7.2",
|
|
27
|
+
"@prisma/driver-adapter-utils": "7.2.0-integration-fix-enums-mapped-types-v7.2"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|