@prisma/query-plan-executor 7.7.0-integration-feat-prisma-bootstrap.6 → 7.7.0-integration-feat-bootstrap-ux-fixes.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -101337,7 +101337,7 @@ __export(index_exports, {
101337
101337
  module.exports = __toCommonJS(index_exports);
101338
101338
 
101339
101339
  // package.json
101340
- var version = "7.7.0-integration-feat-prisma-bootstrap.6";
101340
+ var version = "7.7.0-integration-feat-bootstrap-ux-fixes.2";
101341
101341
 
101342
101342
  // ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
101343
101343
  function clampProp(e2, n2, t2, o2, r2) {
@@ -110538,10 +110538,11 @@ function renderQuery(dbQuery, scope, generators, maxChunkSize) {
110538
110538
  case "templateSql": {
110539
110539
  const chunks = dbQuery.chunkable ? chunkParams(dbQuery.fragments, args, maxChunkSize) : [args];
110540
110540
  return chunks.map((params) => {
110541
- if (maxChunkSize !== void 0 && params.length > maxChunkSize) {
110541
+ const rendered = renderTemplateSql(dbQuery.fragments, dbQuery.placeholderFormat, params, dbQuery.argTypes);
110542
+ if (maxChunkSize !== void 0 && rendered.args.length > maxChunkSize) {
110542
110543
  throw new UserFacingError("The query parameter limit supported by your database is exceeded.", "P2029");
110543
110544
  }
110544
- return renderTemplateSql(dbQuery.fragments, dbQuery.placeholderFormat, params, dbQuery.argTypes);
110545
+ return rendered;
110545
110546
  });
110546
110547
  }
110547
110548
  default:
@@ -111448,6 +111449,8 @@ function evaluateProcessingParameters(ops, scope, generators) {
111448
111449
  function cloneObject(value) {
111449
111450
  return klona(value);
111450
111451
  }
111452
+ var MAX_INT = 2 ** 31 - 1;
111453
+ var MIN_INT = -(2 ** 31);
111451
111454
  async function getCrypto() {
111452
111455
  return globalThis.crypto ?? await import("node:crypto");
111453
111456
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/query-plan-executor",
3
- "version": "7.7.0-integration-feat-prisma-bootstrap.6",
3
+ "version": "7.7.0-integration-feat-bootstrap-ux-fixes.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",
@@ -19,11 +19,11 @@
19
19
  "hono": "4.11.7",
20
20
  "temporal-polyfill": "0.3.0",
21
21
  "zod": "4.1.3",
22
- "@prisma/adapter-pg": "7.7.0-integration-feat-prisma-bootstrap.6",
23
- "@prisma/adapter-mariadb": "7.7.0-integration-feat-prisma-bootstrap.6",
24
- "@prisma/client-engine-runtime": "7.7.0-integration-feat-prisma-bootstrap.6",
25
- "@prisma/driver-adapter-utils": "7.7.0-integration-feat-prisma-bootstrap.6",
26
- "@prisma/adapter-mssql": "7.7.0-integration-feat-prisma-bootstrap.6"
22
+ "@prisma/adapter-mariadb": "7.7.0-integration-feat-bootstrap-ux-fixes.2",
23
+ "@prisma/client-engine-runtime": "7.7.0-integration-feat-bootstrap-ux-fixes.2",
24
+ "@prisma/adapter-mssql": "7.7.0-integration-feat-bootstrap-ux-fixes.2",
25
+ "@prisma/adapter-pg": "7.7.0-integration-feat-bootstrap-ux-fixes.2",
26
+ "@prisma/driver-adapter-utils": "7.7.0-integration-feat-bootstrap-ux-fixes.2"
27
27
  },
28
28
  "files": [
29
29
  "dist"