@prisma/client-engine-runtime 6.17.0-dev.2 → 6.17.0-dev.21
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1949,7 +1949,7 @@ var TransactionManager = class {
|
|
|
1949
1949
|
this.transactions.set(transaction.id, transaction);
|
|
1950
1950
|
let hasTimedOut = false;
|
|
1951
1951
|
const startTimer = setTimeout(() => hasTimedOut = true, validatedOptions.maxWait);
|
|
1952
|
-
startTimer.unref();
|
|
1952
|
+
startTimer.unref?.();
|
|
1953
1953
|
transaction.transaction = await this.driverAdapter.startTransaction(validatedOptions.isolationLevel).catch(rethrowAsUserFacing);
|
|
1954
1954
|
clearTimeout(startTimer);
|
|
1955
1955
|
switch (transaction.status) {
|
|
@@ -2038,7 +2038,7 @@ var TransactionManager = class {
|
|
|
2038
2038
|
debug("Transaction already committed or rolled back when timeout happened.", transactionId);
|
|
2039
2039
|
}
|
|
2040
2040
|
}, timeout);
|
|
2041
|
-
timer.unref();
|
|
2041
|
+
timer.unref?.();
|
|
2042
2042
|
return timer;
|
|
2043
2043
|
}
|
|
2044
2044
|
async #closeTransaction(tx, status) {
|
package/dist/index.mjs
CHANGED
|
@@ -1899,7 +1899,7 @@ var TransactionManager = class {
|
|
|
1899
1899
|
this.transactions.set(transaction.id, transaction);
|
|
1900
1900
|
let hasTimedOut = false;
|
|
1901
1901
|
const startTimer = setTimeout(() => hasTimedOut = true, validatedOptions.maxWait);
|
|
1902
|
-
startTimer.unref();
|
|
1902
|
+
startTimer.unref?.();
|
|
1903
1903
|
transaction.transaction = await this.driverAdapter.startTransaction(validatedOptions.isolationLevel).catch(rethrowAsUserFacing);
|
|
1904
1904
|
clearTimeout(startTimer);
|
|
1905
1905
|
switch (transaction.status) {
|
|
@@ -1988,7 +1988,7 @@ var TransactionManager = class {
|
|
|
1988
1988
|
debug("Transaction already committed or rolled back when timeout happened.", transactionId);
|
|
1989
1989
|
}
|
|
1990
1990
|
}, timeout);
|
|
1991
|
-
timer.unref();
|
|
1991
|
+
timer.unref?.();
|
|
1992
1992
|
return timer;
|
|
1993
1993
|
}
|
|
1994
1994
|
async #closeTransaction(tx, status) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-engine-runtime",
|
|
3
|
-
"version": "6.17.0-dev.
|
|
3
|
+
"version": "6.17.0-dev.21",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"nanoid": "5.1.5",
|
|
32
32
|
"ulid": "3.0.0",
|
|
33
33
|
"uuid": "11.1.0",
|
|
34
|
-
"@prisma/debug": "6.17.0-dev.
|
|
35
|
-
"@prisma/driver-adapter-utils": "6.17.0-dev.
|
|
34
|
+
"@prisma/debug": "6.17.0-dev.21",
|
|
35
|
+
"@prisma/driver-adapter-utils": "6.17.0-dev.21"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/jest": "29.5.14",
|