@prisma/internals 6.20.0-integration-oidc-truster-publishers.2 → 6.20.0-integration-next.4

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 (125) hide show
  1. package/dist/{chunk-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
  2. package/dist/{chunk-LDIKPRUK.js → chunk-2Z7PH5WX.js} +5 -5
  3. package/dist/{chunk-2GUGGLPK.js → chunk-3D4RRUYX.js} +56 -129
  4. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  5. package/dist/{chunk-HFFWZTVM.js → chunk-4B7YT7EE.js} +8 -18
  6. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  7. package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
  8. package/dist/{chunk-2LTOB7XT.js → chunk-65KNJHQS.js} +13 -13
  9. package/dist/{chunk-WYQJ4JWO.js → chunk-6WBK35XU.js} +13 -13
  10. package/dist/{chunk-7QC5VORA.js → chunk-7SF6QSKE.js} +7 -8
  11. package/dist/{chunk-QGZ3T7S2.js → chunk-7VXI23OO.js} +5 -5
  12. package/dist/{chunk-PUJIRZKL.js → chunk-7X4RB4O5.js} +5 -5
  13. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  14. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  15. package/dist/{chunk-AX5N26KG.js → chunk-CIGXHXCG.js} +18 -13
  16. package/dist/{chunk-FHZ5QJLR.js → chunk-D4EKBLXK.js} +5 -5
  17. package/dist/chunk-DYV47NUW.js +796 -0
  18. package/dist/{chunk-TBR6SNKL.js → chunk-E4PYP2ZV.js} +5 -5
  19. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  20. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  21. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  22. package/dist/{chunk-LV27YCGC.js → chunk-H4QG5ONG.js} +12 -12
  23. package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
  24. package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
  25. package/dist/{chunk-CCLAMTCA.js → chunk-HQDG2BBX.js} +7 -9
  26. package/dist/{chunk-GKSCV45S.js → chunk-J757IEPK.js} +56 -129
  27. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  28. package/dist/{chunk-UQUWZJVN.js → chunk-LHTJCI5U.js} +7 -7
  29. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  30. package/dist/{chunk-TQFONRJP.js → chunk-MLFKBBDL.js} +5 -5
  31. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  32. package/dist/{chunk-Z3QPUB3M.js → chunk-OSMLJTQN.js} +8 -10
  33. package/dist/{chunk-UQSXVIKS.js → chunk-OV3PWX3C.js} +11 -11
  34. package/dist/{chunk-RHBNAQZ2.js → chunk-Q5EKGHVB.js} +5 -5
  35. package/dist/{chunk-JOIIWB3U.js → chunk-QOZ7USPD.js} +193 -159
  36. package/dist/{chunk-BVJP43JS.js → chunk-QSVWJ2S2.js} +13 -784
  37. package/dist/{chunk-QJ3QPUM5.js → chunk-QWXKO4HW.js} +5 -5
  38. package/dist/{chunk-BJ65AEOA.js → chunk-R7L5ID34.js} +12 -12
  39. package/dist/{chunk-75BIJ5PX.js → chunk-SMJRM3EM.js} +9 -9
  40. package/dist/{chunk-JTS4UPHJ.js → chunk-TQZ7VRPF.js} +5 -5
  41. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  42. package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
  43. package/dist/{chunk-E4H6V3Z4.js → chunk-X6TWTGK6.js} +11 -11
  44. package/dist/{chunk-7BJXXGEH.js → chunk-XHZ4TZUD.js} +16 -38
  45. package/dist/{chunk-UHI6VYFX.js → chunk-XIYRAW5R.js} +15 -11
  46. package/dist/{chunk-SOKSKSEX.js → chunk-YJSJK7EC.js} +16 -38
  47. package/dist/cli/checkUnsupportedDataProxy.d.ts +3 -4
  48. package/dist/cli/checkUnsupportedDataProxy.js +56 -65
  49. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  50. package/dist/cli/getSchema.d.ts +1 -15
  51. package/dist/cli/getSchema.js +4 -5
  52. package/dist/cli/hashes.js +4 -4
  53. package/dist/cli/schemaContext.d.ts +3 -12
  54. package/dist/cli/schemaContext.js +57 -65
  55. package/dist/engine-commands/errorHelpers.js +4 -4
  56. package/dist/engine-commands/formatSchema.js +55 -64
  57. package/dist/engine-commands/getConfig.d.ts +1 -5
  58. package/dist/engine-commands/getConfig.js +10 -13
  59. package/dist/engine-commands/getDmmf.js +10 -10
  60. package/dist/engine-commands/getEngineVersion.js +6 -9
  61. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  62. package/dist/engine-commands/getEnginesInfo.js +7 -9
  63. package/dist/engine-commands/index.d.ts +1 -1
  64. package/dist/engine-commands/index.js +65 -76
  65. package/dist/engine-commands/lintSchema.js +9 -9
  66. package/dist/engine-commands/mergeSchemas.js +10 -10
  67. package/dist/engine-commands/queryEngineCommons.js +6 -6
  68. package/dist/engine-commands/validate.js +10 -10
  69. package/dist/errorReporting.js +6 -6
  70. package/dist/get-generators/getGenerators.d.ts +0 -2
  71. package/dist/get-generators/getGenerators.js +58 -67
  72. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  73. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  74. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  75. package/dist/getPackedPackage.js +4 -3
  76. package/dist/highlight/highlight.js +5 -5
  77. package/dist/index.d.ts +2 -14
  78. package/dist/index.js +98 -121
  79. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  80. package/dist/resolveBinary.js +8 -7
  81. package/dist/schemaEngineCommands.js +9 -8
  82. package/dist/sendPanic.js +4 -5
  83. package/dist/utils/drawBox.js +2 -2
  84. package/dist/utils/fs-functional.js +10 -10
  85. package/dist/utils/fs-utils.js +8 -8
  86. package/dist/utils/getVersionFromPackageJson.js +3 -3
  87. package/dist/utils/handlePanic.js +6 -7
  88. package/dist/utils/link.js +2 -2
  89. package/dist/utils/missingDatasource.js +5 -5
  90. package/dist/utils/missingGeneratorMessage.js +7 -7
  91. package/dist/wasm.js +5 -5
  92. package/package.json +15 -17
  93. package/dist/chunk-3FP46GUV.js +0 -471
  94. package/dist/chunk-46ABODUM.js +0 -186
  95. package/dist/chunk-6TTRTZXU.js +0 -37
  96. package/dist/chunk-D4VDA2TZ.js +0 -66
  97. package/dist/chunk-DZYINYAA.js +0 -68
  98. package/dist/chunk-ERSH2BQA.js +0 -58
  99. package/dist/chunk-HO5HRHFZ.js +0 -30
  100. package/dist/chunk-KDHESRKE.js +0 -49
  101. package/dist/chunk-PZMRR772.js +0 -41
  102. package/dist/chunk-T2PM5TKT.js +0 -55
  103. package/dist/cli/checkUnsupportedSchemaEngineWasm.d.ts +0 -22
  104. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +0 -135
  105. package/dist/client/getClientEngineType.d.ts +0 -7
  106. package/dist/client/getClientEngineType.js +0 -26
  107. package/dist/dotenvExpand.d.ts +0 -35
  108. package/dist/dotenvExpand.js +0 -25
  109. package/dist/utils/__tests__/maskSchema.test.js +0 -23
  110. package/dist/utils/cloudflareD1.d.ts +0 -5
  111. package/dist/utils/cloudflareD1.js +0 -27
  112. package/dist/utils/getEnvPaths.d.ts +0 -14
  113. package/dist/utils/getEnvPaths.js +0 -29
  114. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  115. package/dist/utils/handleEngineLoadingErrors.js +0 -27
  116. package/dist/utils/load.d.ts +0 -6
  117. package/dist/utils/load.js +0 -28
  118. package/dist/utils/loadEnvFile.d.ts +0 -10
  119. package/dist/utils/loadEnvFile.js +0 -30
  120. package/dist/utils/maskSchema.d.ts +0 -4
  121. package/dist/utils/maskSchema.js +0 -27
  122. package/dist/utils/serializeQueryEngineName.d.ts +0 -4
  123. package/dist/utils/serializeQueryEngineName.js +0 -25
  124. package/dist/utils/tryLoadEnvs.d.ts +0 -25
  125. package/dist/utils/tryLoadEnvs.js +0 -30
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_UQUWZJVN_exports = {};
30
- __export(chunk_UQUWZJVN_exports, {
29
+ var chunk_LHTJCI5U_exports = {};
30
+ __export(chunk_LHTJCI5U_exports, {
31
31
  handlePanic: () => handlePanic
32
32
  });
33
- module.exports = __toCommonJS(chunk_UQUWZJVN_exports);
34
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
33
+ module.exports = __toCommonJS(chunk_LHTJCI5U_exports);
34
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
35
35
  var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
36
36
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
37
- var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
37
+ var import_chunk_4B7YT7EE = require("./chunk-4B7YT7EE.js");
38
38
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
39
39
  var import_prompts = __toESM(require("prompts"));
40
40
  async function handlePanic(args) {
@@ -56,7 +56,7 @@ ${(0, import_chunk_PG5FDKSF.red)(errorMessage)}
56
56
 
57
57
  ${(0, import_chunk_PG5FDKSF.bold)("Please help us improve Prisma by submitting an error report.")}
58
58
  ${(0, import_chunk_PG5FDKSF.bold)("Error reports never contain personal or other sensitive information.")}
59
- ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/telemetry")}`)}
59
+ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/telemetry")}`)}
60
60
  `);
61
61
  const { value: shouldSubmitReport } = await (0, import_prompts.default)({
62
62
  type: "select",
@@ -79,7 +79,7 @@ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)(
79
79
  if (shouldSubmitReport) {
80
80
  try {
81
81
  console.log("Submitting...");
82
- const reportId = await (0, import_chunk_HFFWZTVM.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
82
+ const reportId = await (0, import_chunk_4B7YT7EE.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
83
83
  console.log(`
84
84
  ${(0, import_chunk_PG5FDKSF.bold)(`We successfully received the error report id: ${reportId}`)}`);
85
85
  console.log(`
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_5AI4FIZ3_exports = {};
30
- __export(chunk_5AI4FIZ3_exports, {
29
+ var chunk_MEOOYUIZ_exports = {};
30
+ __export(chunk_MEOOYUIZ_exports, {
31
31
  ErrorKind: () => ErrorKind,
32
32
  createErrorReport: () => createErrorReport,
33
33
  makeErrorReportCompleted: () => makeErrorReportCompleted,
34
34
  uploadZip: () => uploadZip
35
35
  });
36
- module.exports = __toCommonJS(chunk_5AI4FIZ3_exports);
37
- var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
36
+ module.exports = __toCommonJS(chunk_MEOOYUIZ_exports);
37
+ var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
38
38
  var import_fetch_engine = require("@prisma/fetch-engine");
39
39
  var import_node_http = __toESM(require("node:http"));
40
40
  var import_node_https = __toESM(require("node:https"));
@@ -151,8 +151,8 @@ var Body = class {
151
151
  } else if (ArrayBuffer.isView(body)) {
152
152
  body = import_node_buffer2.Buffer.from(body.buffer, body.byteOffset, body.byteLength);
153
153
  } else if (body instanceof import_node_stream2.default) {
154
- } else if (body instanceof import_chunk_NVNI2SRU.FormData) {
155
- body = (0, import_chunk_NVNI2SRU.formDataToBlob)(body);
154
+ } else if (body instanceof import_chunk_KNNTV7IN.FormData) {
155
+ body = (0, import_chunk_KNNTV7IN.formDataToBlob)(body);
156
156
  boundary = body.type.split("=")[1];
157
157
  } else {
158
158
  body = import_node_buffer2.Buffer.from(String(body));
@@ -196,14 +196,14 @@ var Body = class {
196
196
  async formData() {
197
197
  const ct = this.headers.get("content-type");
198
198
  if (ct.startsWith("application/x-www-form-urlencoded")) {
199
- const formData = new import_chunk_NVNI2SRU.FormData();
199
+ const formData = new import_chunk_KNNTV7IN.FormData();
200
200
  const parameters = new URLSearchParams(await this.text());
201
201
  for (const [name, value] of parameters) {
202
202
  formData.append(name, value);
203
203
  }
204
204
  return formData;
205
205
  }
206
- const { toFormData } = await import("./multipart-parser-3AFJFP6K.js");
206
+ const { toFormData } = await import("./multipart-parser-UV3WZSWW.js");
207
207
  return toFormData(this.body, ct);
208
208
  }
209
209
  /**
@@ -214,7 +214,7 @@ var Body = class {
214
214
  async blob() {
215
215
  const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
216
216
  const buf = await this.arrayBuffer();
217
- return new import_chunk_NVNI2SRU.fetch_blob_default([buf], {
217
+ return new import_chunk_KNNTV7IN.fetch_blob_default([buf], {
218
218
  type: ct
219
219
  });
220
220
  }
@@ -342,7 +342,7 @@ var extractContentType = (body, request2) => {
342
342
  if (import_node_buffer2.Buffer.isBuffer(body) || import_node_util.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {
343
343
  return null;
344
344
  }
345
- if (body instanceof import_chunk_NVNI2SRU.FormData) {
345
+ if (body instanceof import_chunk_KNNTV7IN.FormData) {
346
346
  return `multipart/form-data; boundary=${request2[INTERNALS].boundary}`;
347
347
  }
348
348
  if (body && typeof body.getBoundary === "function") {
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_TQFONRJP_exports = {};
30
- __export(chunk_TQFONRJP_exports, {
29
+ var chunk_MLFKBBDL_exports = {};
30
+ __export(chunk_MLFKBBDL_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists,
32
32
  fs_utils_exports: () => fs_utils_exports,
33
33
  getFilesInDir: () => getFilesInDir,
@@ -36,9 +36,9 @@ __export(chunk_TQFONRJP_exports, {
36
36
  removeEmptyDirs: () => removeEmptyDirs,
37
37
  writeFile: () => writeFile
38
38
  });
39
- module.exports = __toCommonJS(chunk_TQFONRJP_exports);
39
+ module.exports = __toCommonJS(chunk_MLFKBBDL_exports);
40
40
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
41
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
41
+ var import_chunk_QOZ7USPD = require("./chunk-QOZ7USPD.js");
42
42
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
43
43
  var import_promises = __toESM(require("fs/promises"));
44
44
  var import_path = __toESM(require("path"));
@@ -51,7 +51,7 @@ var fs_utils_exports = {};
51
51
  removeEmptyDirs: () => removeEmptyDirs,
52
52
  writeFile: () => writeFile
53
53
  });
54
- var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
54
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_QOZ7USPD.require_globby)());
55
55
  function createDirIfNotExists(dir) {
56
56
  return import_promises.default.mkdir(dir, { recursive: true });
57
57
  }
@@ -26,16 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_EYVG6XQS_exports = {};
30
- __export(chunk_EYVG6XQS_exports, {
31
- getSchemaFromPackageJson: () => getSchemaFromPackageJson,
29
+ var chunk_OKVM3CW4_exports = {};
30
+ __export(chunk_OKVM3CW4_exports, {
32
31
  getSchemaWithPath: () => getSchemaWithPath,
33
32
  getSchemaWithPathOptional: () => getSchemaWithPathOptional,
34
33
  printSchemaLoadedMessage: () => printSchemaLoadedMessage
35
34
  });
36
- module.exports = __toCommonJS(chunk_EYVG6XQS_exports);
35
+ module.exports = __toCommonJS(chunk_OKVM3CW4_exports);
37
36
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
38
- var import_config = require("@prisma/config");
39
37
  var import_debug = require("@prisma/debug");
40
38
  var import_schema_files_loader = require("@prisma/schema-files-loader");
41
39
  var import_fs = __toESM(require("fs"));
@@ -119,10 +117,6 @@ async function getSchemaWithPathInternal(schemaPathFromArgs, schemaPathFromConfi
119
117
  if (prismaConfigResult.ok) {
120
118
  return prismaConfigResult;
121
119
  }
122
- const pkgJsonResult = await getSchemaFromPackageJson(cwd);
123
- if (pkgJsonResult.ok) {
124
- return pkgJsonResult;
125
- }
126
120
  const defaultResult = await getDefaultSchema(cwd);
127
121
  if (defaultResult.ok) {
128
122
  return defaultResult;
@@ -179,36 +173,6 @@ async function readSchemaFromPrismaConfigBasedLocation(schemaPathFromConfig) {
179
173
  }
180
174
  return schemaResult;
181
175
  }
182
- async function getSchemaFromPackageJson(cwd) {
183
- const prismaConfig = await (0, import_config.loadConfigFromPackageJson)(cwd);
184
- debug("prismaConfig", prismaConfig);
185
- if (!prismaConfig || !prismaConfig.config?.schema) {
186
- return { ok: false, error: { kind: "PackageJsonNotConfigured" } };
187
- }
188
- const schemaPathFromPkgJson = prismaConfig.config.schema;
189
- if (typeof schemaPathFromPkgJson !== "string") {
190
- throw new Error(
191
- `Provided schema path \`${schemaPathFromPkgJson}\` from \`${import_path.default.relative(
192
- cwd,
193
- prismaConfig.loadedFromFile
194
- )}\` must be of type string`
195
- );
196
- }
197
- const absoluteSchemaPath = import_path.default.isAbsolute(schemaPathFromPkgJson) ? schemaPathFromPkgJson : import_path.default.resolve(import_path.default.dirname(prismaConfig.loadedFromFile), schemaPathFromPkgJson);
198
- const lookupResult = await readSchemaFromFileOrDirectory(absoluteSchemaPath);
199
- if (!lookupResult.ok) {
200
- throw new Error(
201
- `Could not load schema from \`${import_path.default.relative(
202
- cwd,
203
- absoluteSchemaPath
204
- )}\` provided by "prisma.schema" config of \`${import_path.default.relative(
205
- cwd,
206
- prismaConfig.loadedFromFile
207
- )}\`: ${renderLookupError(lookupResult.error)}`
208
- );
209
- }
210
- return lookupResult;
211
- }
212
176
  async function getDefaultSchema(cwd, failures = []) {
213
177
  const lookupPaths = [import_path.default.join(cwd, "schema.prisma"), import_path.default.join(cwd, "prisma", "schema.prisma")];
214
178
  for (const path2 of lookupPaths) {
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_Z3QPUB3M_exports = {};
20
- __export(chunk_Z3QPUB3M_exports, {
19
+ var chunk_OSMLJTQN_exports = {};
20
+ __export(chunk_OSMLJTQN_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_Z3QPUB3M_exports);
23
+ module.exports = __toCommonJS(chunk_OSMLJTQN_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.20.0-integration-oidc-truster-publishers.2",
29
+ version: "6.20.0-integration-next.4",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -48,7 +48,6 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
48
48
  files: [
49
49
  "README.md",
50
50
  "dist",
51
- "!**/libquery_engine*",
52
51
  "!dist/get-generators/engines/*",
53
52
  "scripts"
54
53
  ],
@@ -59,12 +58,11 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
58
  "@swc/jest": "0.2.37",
60
59
  "@types/babel__helper-validator-identifier": "7.15.2",
61
60
  "@types/jest": "29.5.14",
62
- "@types/node": "18.19.76",
61
+ "@types/node": "~20.19.24",
63
62
  "@types/resolve": "1.20.6",
64
63
  archiver: "6.0.2",
65
64
  "checkpoint-client": "1.1.33",
66
65
  "cli-truncate": "4.0.0",
67
- dotenv: "16.5.0",
68
66
  empathic: "2.0.0",
69
67
  "escape-string-regexp": "5.0.0",
70
68
  execa: "8.0.1",
@@ -109,14 +107,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
107
  "@prisma/generator": "workspace:*",
110
108
  "@prisma/generator-helper": "workspace:*",
111
109
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
113
- "@prisma/schema-engine-wasm": "6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773",
110
+ "@prisma/prisma-schema-wasm": "6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95",
111
+ "@prisma/schema-engine-wasm": "6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95",
114
112
  "@prisma/schema-files-loader": "workspace:*",
115
113
  arg: "5.0.2",
116
114
  prompts: "2.4.2"
117
115
  },
118
116
  peerDependencies: {
119
- typescript: ">=5.1.0"
117
+ typescript: ">=5.4.0"
120
118
  },
121
119
  peerDependenciesMeta: {
122
120
  typescript: {
@@ -26,17 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_UQSXVIKS_exports = {};
30
- __export(chunk_UQSXVIKS_exports, {
29
+ var chunk_OV3PWX3C_exports = {};
30
+ __export(chunk_OV3PWX3C_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_UQSXVIKS_exports);
35
- var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
- var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
34
+ module.exports = __toCommonJS(chunk_OV3PWX3C_exports);
35
+ var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
37
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_QGZ3T7S2 = require("./chunk-QGZ3T7S2.js");
39
- var import_chunk_RHBNAQZ2 = require("./chunk-RHBNAQZ2.js");
37
+ var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
+ var import_chunk_7VXI23OO = require("./chunk-7VXI23OO.js");
39
+ var import_chunk_D4EKBLXK = require("./chunk-D4EKBLXK.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,12 +59,12 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_QGZ3T7S2.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_7VXI23OO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
66
66
  function mergeSchemas(options) {
67
- const debugErrorType = (0, import_chunk_TZJROXB3.createDebugErrorType)(debug, "mergeSchemasWasm");
67
+ const debugErrorType = (0, import_chunk_WSZXPLJQ.createDebugErrorType)(debug, "mergeSchemasWasm");
68
68
  debug(`Using mergeSchemas Wasm`);
69
69
  const mergeSchemasEither = (0, import_function.pipe)(
70
70
  (0, import_chunk_5DBOS77Y.tryCatch)(
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_RHBNAQZ2.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_D4EKBLXK.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -104,7 +104,7 @@ function mergeSchemas(options) {
104
104
  return panic;
105
105
  }
106
106
  const errorOutput = e.error.message;
107
- return new MergeSchemasError((0, import_chunk_TZJROXB3.parseQueryEngineError)({ errorOutput, reason: e.reason }));
107
+ return new MergeSchemasError((0, import_chunk_WSZXPLJQ.parseQueryEngineError)({ errorOutput, reason: e.reason }));
108
108
  }).exhaustive();
109
109
  throw error;
110
110
  }
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_RHBNAQZ2_exports = {};
30
- __export(chunk_RHBNAQZ2_exports, {
29
+ var chunk_Q5EKGHVB_exports = {};
30
+ __export(chunk_Q5EKGHVB_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  schemaEngineWasmVersion: () => schemaEngineWasmVersion,
34
34
  wasm_exports: () => wasm_exports
35
35
  });
36
- module.exports = __toCommonJS(chunk_RHBNAQZ2_exports);
37
- var import_chunk_Z3QPUB3M = require("./chunk-Z3QPUB3M.js");
36
+ module.exports = __toCommonJS(chunk_Q5EKGHVB_exports);
37
+ var import_chunk_OSMLJTQN = require("./chunk-OSMLJTQN.js");
38
38
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -46,6 +46,6 @@ var wasm_exports = {};
46
46
  });
47
47
  var globalWithPanicRegistry = globalThis;
48
48
  globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
49
- var { dependencies } = (0, import_chunk_Z3QPUB3M.require_package)();
49
+ var { dependencies } = (0, import_chunk_OSMLJTQN.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];