@prisma/client-engine-runtime 6.9.0-dev.19 → 6.9.0-dev.20

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 CHANGED
@@ -65,7 +65,7 @@ function doKeysMatch(lhs, rhs) {
65
65
  if (typeof lhs[key] === "number" || typeof rhs[key] === "number") {
66
66
  return `${lhs[key]}` === `${rhs[key]}`;
67
67
  } else if (typeof lhs[key] === "bigint" || typeof rhs[key] === "bigint") {
68
- return BigInt(`${lhs[key]}`) === BigInt(`${rhs[key]}`);
68
+ return BigInt(`${lhs[key]}`.replace(/n$/, "")) === BigInt(`${rhs[key]}`.replace(/n$/, ""));
69
69
  } else if (lhs[key] instanceof Date || rhs[key] instanceof Date) {
70
70
  return (/* @__PURE__ */ new Date(`${lhs[key]}`)).getTime() === (/* @__PURE__ */ new Date(`${rhs[key]}`)).getTime();
71
71
  } else if (import_decimal.default.isDecimal(lhs[key]) || import_decimal.default.isDecimal(rhs[key])) {
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ function doKeysMatch(lhs, rhs) {
18
18
  if (typeof lhs[key] === "number" || typeof rhs[key] === "number") {
19
19
  return `${lhs[key]}` === `${rhs[key]}`;
20
20
  } else if (typeof lhs[key] === "bigint" || typeof rhs[key] === "bigint") {
21
- return BigInt(`${lhs[key]}`) === BigInt(`${rhs[key]}`);
21
+ return BigInt(`${lhs[key]}`.replace(/n$/, "")) === BigInt(`${rhs[key]}`.replace(/n$/, ""));
22
22
  } else if (lhs[key] instanceof Date || rhs[key] instanceof Date) {
23
23
  return (/* @__PURE__ */ new Date(`${lhs[key]}`)).getTime() === (/* @__PURE__ */ new Date(`${rhs[key]}`)).getTime();
24
24
  } else if (Decimal.isDecimal(lhs[key]) || Decimal.isDecimal(rhs[key])) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-engine-runtime",
3
- "version": "6.9.0-dev.19",
3
+ "version": "6.9.0-dev.20",
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.9.0-dev.19",
35
- "@prisma/driver-adapter-utils": "6.9.0-dev.19"
34
+ "@prisma/debug": "6.9.0-dev.20",
35
+ "@prisma/driver-adapter-utils": "6.9.0-dev.20"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/jest": "29.5.14",