@prisma/internals 6.19.0-integration-next.14 → 6.19.0-integration-feat-remove-library-engine.3

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 (91) hide show
  1. package/dist/{chunk-FC6CQUSK.js → chunk-22HIO2UL.js} +7 -7
  2. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  3. package/dist/{chunk-EGJS32NP.js → chunk-2MJNNWBQ.js} +8 -8
  4. package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
  5. package/dist/{chunk-AX5N26KG.js → chunk-33K2EQQZ.js} +10 -10
  6. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  7. package/dist/{chunk-B22EOFPW.js → chunk-5I4ERIIY.js} +3 -6
  8. package/dist/{chunk-5XFNC2RY.js → chunk-5MHUYAV3.js} +9 -9
  9. package/dist/{chunk-IEJB3DQI.js → chunk-7TNL2X5G.js} +5 -5
  10. package/dist/{chunk-HQAD5FY2.js → chunk-AAXLNSYL.js} +5 -5
  11. package/dist/{chunk-36YXR6IU.js → chunk-AOJ2N25Z.js} +8 -8
  12. package/dist/{chunk-GSH4BXBI.js → chunk-BUQN4WLU.js} +6 -6
  13. package/dist/{chunk-ROEAPAY4.js → chunk-BZV6PVWV.js} +8 -8
  14. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  15. package/dist/{chunk-247ICNDG.js → chunk-D7L3VT6R.js} +8 -8
  16. package/dist/chunk-DYV47NUW.js +796 -0
  17. package/dist/{chunk-MURRA56K.js → chunk-EBJBIVXN.js} +5 -5
  18. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  19. package/dist/{chunk-HD2CUQO5.js → chunk-FSQCVENL.js} +7 -7
  20. package/dist/{chunk-VRGMXDRD.js → chunk-GJSFP4V4.js} +3 -6
  21. package/dist/{chunk-SRZLJFU4.js → chunk-H5STSTVK.js} +7 -16
  22. package/dist/{chunk-7QC5VORA.js → chunk-H6PPJ5PX.js} +7 -7
  23. package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
  24. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  25. package/dist/{chunk-KIFFN3IT.js → chunk-IU77SCOB.js} +9 -9
  26. package/dist/{chunk-CAYOFOK7.js → chunk-KD7PGGJP.js} +8 -8
  27. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  28. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  29. package/dist/{chunk-S553BGWR.js → chunk-MUZJUPDX.js} +4 -4
  30. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  31. package/dist/{chunk-VIEJEAGW.js → chunk-NNYJV66S.js} +5 -5
  32. package/dist/{chunk-XTWFEQXH.js → chunk-NVSVTFPX.js} +5 -5
  33. package/dist/{chunk-B4WDAX32.js → chunk-P4JEYG25.js} +5 -5
  34. package/dist/{chunk-UH3WB3VN.js → chunk-QQRYY5P4.js} +5 -5
  35. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  36. package/dist/{chunk-AVHPQM6S.js → chunk-SFKBYZWG.js} +32 -47
  37. package/dist/{chunk-HZ6U2UGL.js → chunk-TAKL4AGJ.js} +8 -8
  38. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  39. package/dist/{chunk-AGCXD33Q.js → chunk-UMB3Y33W.js} +7 -7
  40. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  41. package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
  42. package/dist/{chunk-BJUIZZOW.js → chunk-Z2IPE4NA.js} +32 -47
  43. package/dist/{chunk-O6VZIATS.js → chunk-ZEBJSCAV.js} +5 -5
  44. package/dist/{chunk-GFAWJ2TV.js → chunk-ZVTQSH5K.js} +5 -5
  45. package/dist/cli/checkUnsupportedDataProxy.js +47 -49
  46. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +47 -49
  47. package/dist/cli/schemaContext.js +47 -49
  48. package/dist/engine-commands/errorHelpers.js +4 -4
  49. package/dist/engine-commands/formatSchema.js +46 -48
  50. package/dist/engine-commands/getConfig.js +10 -10
  51. package/dist/engine-commands/getDmmf.js +7 -7
  52. package/dist/engine-commands/getEngineVersion.js +6 -9
  53. package/dist/engine-commands/getEnginesInfo.js +7 -9
  54. package/dist/engine-commands/index.js +58 -60
  55. package/dist/engine-commands/lintSchema.js +8 -8
  56. package/dist/engine-commands/mergeSchemas.js +7 -7
  57. package/dist/engine-commands/validate.js +7 -7
  58. package/dist/errorReporting.js +6 -6
  59. package/dist/get-generators/getGenerators.js +49 -51
  60. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  61. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  62. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  63. package/dist/getPackedPackage.js +4 -3
  64. package/dist/highlight/highlight.js +5 -5
  65. package/dist/index.d.ts +1 -4
  66. package/dist/index.js +88 -95
  67. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  68. package/dist/resolveBinary.js +8 -7
  69. package/dist/schemaEngineCommands.js +9 -8
  70. package/dist/sendPanic.js +4 -4
  71. package/dist/utils/canPrompt.js +3 -3
  72. package/dist/utils/cloudflareD1.js +3 -3
  73. package/dist/utils/drawBox.js +2 -2
  74. package/dist/utils/fs-functional.js +10 -10
  75. package/dist/utils/fs-utils.js +8 -8
  76. package/dist/utils/getVersionFromPackageJson.js +3 -3
  77. package/dist/utils/handlePanic.js +8 -8
  78. package/dist/utils/link.js +2 -2
  79. package/dist/utils/missingDatasource.js +5 -5
  80. package/dist/utils/missingGeneratorMessage.js +7 -7
  81. package/dist/wasm.js +5 -5
  82. package/package.json +12 -12
  83. package/dist/chunk-6TTRTZXU.js +0 -37
  84. package/dist/chunk-DZYINYAA.js +0 -68
  85. package/dist/chunk-FUYRCYVL.js +0 -53
  86. package/dist/client/getClientEngineType.d.ts +0 -6
  87. package/dist/client/getClientEngineType.js +0 -26
  88. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  89. package/dist/utils/handleEngineLoadingErrors.js +0 -27
  90. package/dist/utils/load.d.ts +0 -6
  91. package/dist/utils/load.js +0 -28
@@ -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") {
@@ -16,11 +16,11 @@ 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_S553BGWR_exports = {};
20
- __export(chunk_S553BGWR_exports, {
19
+ var chunk_MUZJUPDX_exports = {};
20
+ __export(chunk_MUZJUPDX_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_S553BGWR_exports);
23
+ module.exports = __toCommonJS(chunk_MUZJUPDX_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) {
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "~20.19.0",
62
+ "@types/node": "~20.19.24",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -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_MXAUURHG_exports = {};
30
+ __export(chunk_MXAUURHG_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_MXAUURHG_exports);
40
40
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
41
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
41
+ var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.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_2LOGW45F.require_globby)());
55
55
  function createDirIfNotExists(dir) {
56
56
  return import_promises.default.mkdir(dir, { recursive: true });
57
57
  }
@@ -16,20 +16,20 @@ 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_VIEJEAGW_exports = {};
20
- __export(chunk_VIEJEAGW_exports, {
19
+ var chunk_NNYJV66S_exports = {};
20
+ __export(chunk_NNYJV66S_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_VIEJEAGW_exports);
28
- var import_chunk_HQAD5FY2 = require("./chunk-HQAD5FY2.js");
27
+ module.exports = __toCommonJS(chunk_NNYJV66S_exports);
28
+ var import_chunk_ZVTQSH5K = require("./chunk-ZVTQSH5K.js");
29
29
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
30
30
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
31
31
  function lintSchema({ schemas }) {
32
- const lintResult = import_chunk_HQAD5FY2.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_ZVTQSH5K.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -16,11 +16,11 @@ 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_XTWFEQXH_exports = {};
20
- __export(chunk_XTWFEQXH_exports, {
19
+ var chunk_NVSVTFPX_exports = {};
20
+ __export(chunk_NVSVTFPX_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_XTWFEQXH_exports);
24
- var import_chunk_S553BGWR = require("./chunk-S553BGWR.js");
25
- var packageJson = (0, import_chunk_S553BGWR.require_package)();
23
+ module.exports = __toCommonJS(chunk_NVSVTFPX_exports);
24
+ var import_chunk_MUZJUPDX = require("./chunk-MUZJUPDX.js");
25
+ var packageJson = (0, import_chunk_MUZJUPDX.require_package)();
26
26
  var version = packageJson.version;
@@ -16,15 +16,15 @@ 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_B4WDAX32_exports = {};
20
- __export(chunk_B4WDAX32_exports, {
19
+ var chunk_P4JEYG25_exports = {};
20
+ __export(chunk_P4JEYG25_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_B4WDAX32_exports);
24
- var import_chunk_O6VZIATS = require("./chunk-O6VZIATS.js");
23
+ module.exports = __toCommonJS(chunk_P4JEYG25_exports);
24
+ var import_chunk_ZEBJSCAV = require("./chunk-ZEBJSCAV.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_O6VZIATS.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_ZEBJSCAV.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_UH3WB3VN_exports = {};
20
- __export(chunk_UH3WB3VN_exports, {
19
+ var chunk_QQRYY5P4_exports = {};
20
+ __export(chunk_QQRYY5P4_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_UH3WB3VN_exports);
23
+ module.exports = __toCommonJS(chunk_QQRYY5P4_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.19.0-integration-next.14",
29
+ version: "6.19.0-integration-feat-remove-library-engine.3",
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",
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "~20.19.0",
62
+ "@types/node": "~20.19.24",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -26,13 +26,13 @@ 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_FCYHZHVW_exports = {};
30
- __export(chunk_FCYHZHVW_exports, {
29
+ var chunk_R3J2O23S_exports = {};
30
+ __export(chunk_R3J2O23S_exports, {
31
31
  canPrompt: () => canPrompt
32
32
  });
33
- module.exports = __toCommonJS(chunk_FCYHZHVW_exports);
34
- var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
33
+ module.exports = __toCommonJS(chunk_R3J2O23S_exports);
35
34
  var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
35
+ var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
36
36
  var import_prompts = __toESM(require("prompts"));
37
37
  var canPrompt = () => {
38
38
  const injectedCount = import_prompts.default._injected?.length;
@@ -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_AVHPQM6S_exports = {};
30
- __export(chunk_AVHPQM6S_exports, {
29
+ var chunk_SFKBYZWG_exports = {};
30
+ __export(chunk_SFKBYZWG_exports, {
31
31
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
32
32
  checkUnsupportedSchemaEngineWasm: () => checkUnsupportedSchemaEngineWasm,
33
33
  forbiddenCmdFlagWithSchemaEngineWasm: () => forbiddenCmdFlagWithSchemaEngineWasm,
@@ -36,40 +36,37 @@ __export(chunk_AVHPQM6S_exports, {
36
36
  getBinaryTargetForCurrentPlatform: () => import_get_platform2.getBinaryTargetForCurrentPlatform,
37
37
  getGenerator: () => getGenerator,
38
38
  getGenerators: () => getGenerators,
39
- getNodeAPIName: () => import_get_platform2.getNodeAPIName,
40
39
  knownBinaryTargets: () => knownBinaryTargets,
41
40
  loadSchemaContext: () => loadSchemaContext,
42
41
  processSchemaResult: () => processSchemaResult,
43
42
  skipIndex: () => skipIndex
44
43
  });
45
- module.exports = __toCommonJS(chunk_AVHPQM6S_exports);
44
+ module.exports = __toCommonJS(chunk_SFKBYZWG_exports);
45
+ var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
46
+ var import_chunk_5MHUYAV3 = require("./chunk-5MHUYAV3.js");
46
47
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
47
48
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
48
- var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
49
- var import_chunk_5XFNC2RY = require("./chunk-5XFNC2RY.js");
50
- var import_chunk_B22EOFPW = require("./chunk-B22EOFPW.js");
51
49
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
52
50
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
53
- var import_chunk_7QC5VORA = require("./chunk-7QC5VORA.js");
54
- var import_chunk_AX5N26KG = require("./chunk-AX5N26KG.js");
51
+ var import_chunk_H6PPJ5PX = require("./chunk-H6PPJ5PX.js");
52
+ var import_chunk_33K2EQQZ = require("./chunk-33K2EQQZ.js");
55
53
  var import_chunk_6QTN4DDB = require("./chunk-6QTN4DDB.js");
56
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
54
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
57
55
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
58
- var import_chunk_247ICNDG = require("./chunk-247ICNDG.js");
59
- var import_chunk_ROEAPAY4 = require("./chunk-ROEAPAY4.js");
60
- var import_chunk_IEJB3DQI = require("./chunk-IEJB3DQI.js");
61
- var import_chunk_AGCXD33Q = require("./chunk-AGCXD33Q.js");
56
+ var import_chunk_TAKL4AGJ = require("./chunk-TAKL4AGJ.js");
57
+ var import_chunk_2MJNNWBQ = require("./chunk-2MJNNWBQ.js");
58
+ var import_chunk_7TNL2X5G = require("./chunk-7TNL2X5G.js");
59
+ var import_chunk_FSQCVENL = require("./chunk-FSQCVENL.js");
62
60
  var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
63
- var import_chunk_GFAWJ2TV = require("./chunk-GFAWJ2TV.js");
61
+ var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.js");
64
62
  var import_chunk_ZJWZK45Z = require("./chunk-ZJWZK45Z.js");
65
63
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
66
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
67
64
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
68
65
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
69
66
  var import_chunk_BPDMLM32 = require("./chunk-BPDMLM32.js");
70
67
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
71
68
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
72
- var import_chunk_BVJP43JS = require("./chunk-BVJP43JS.js");
69
+ var import_chunk_32LLAKF4 = require("./chunk-32LLAKF4.js");
73
70
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
74
71
  var import_path = __toESM(require("path"));
75
72
  var import_debug = __toESM(require("@prisma/debug"));
@@ -82,7 +79,7 @@ var forbiddenCmdFlagWithSchemaEngineWasm = ({ cmd, flag }) => `
82
79
  Passing the ${(0, import_chunk_PG5FDKSF.green)(`${flag}`)} flag to the ${(0, import_chunk_PG5FDKSF.green)(`prisma ${cmd}`)} command is not supported when
83
80
  defining an ${(0, import_chunk_PG5FDKSF.green)(`adapter`)} in Prisma config file (e.g., ${(0, import_chunk_PG5FDKSF.green)(`\`prisma.config.ts\``)}).
84
81
 
85
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/schema-engine-limitations")}
82
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/schema-engine-limitations")}
86
83
  `;
87
84
  function checkUnsupportedSchemaEngineWasm({
88
85
  cmd,
@@ -103,7 +100,7 @@ var debug = (0, import_debug.default)("prisma:format");
103
100
  async function formatSchema({ schemas }, inputFormattingOptions) {
104
101
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
105
102
  handleFormatPanic(() => {
106
- import_chunk_GFAWJ2TV.prismaSchemaWasm.debug_panic();
103
+ import_chunk_AAXLNSYL.prismaSchemaWasm.debug_panic();
107
104
  });
108
105
  }
109
106
  const defaultFormattingOptions = {
@@ -120,10 +117,10 @@ async function formatSchema({ schemas }, inputFormattingOptions) {
120
117
  const { formattedMultipleSchemas, lintDiagnostics } = handleFormatPanic(() => {
121
118
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas), documentFormattingParams);
122
119
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
123
- const lintDiagnostics2 = (0, import_chunk_IEJB3DQI.lintSchema)({ schemas: formattedMultipleSchemas2 });
120
+ const lintDiagnostics2 = (0, import_chunk_7TNL2X5G.lintSchema)({ schemas: formattedMultipleSchemas2 });
124
121
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
125
122
  });
126
- const lintWarnings = (0, import_chunk_IEJB3DQI.getLintWarningsAsText)(lintDiagnostics);
123
+ const lintWarnings = (0, import_chunk_7TNL2X5G.getLintWarningsAsText)(lintDiagnostics);
127
124
  if (lintWarnings && import_chunk_ZJWZK45Z.logger_exports.should.warn()) {
128
125
  console.warn(lintWarnings);
129
126
  }
@@ -150,7 +147,7 @@ function handleFormatPanic(tryCb) {
150
147
  }
151
148
  }
152
149
  function formatWasm(schema, documentFormattingParams) {
153
- const formattedSchema = import_chunk_GFAWJ2TV.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
150
+ const formattedSchema = import_chunk_AAXLNSYL.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
154
151
  return formattedSchema;
155
152
  }
156
153
  async function loadSchemaContext({
@@ -190,7 +187,7 @@ async function processSchemaResult({
190
187
  if (printLoadMessage) {
191
188
  (0, import_chunk_OKVM3CW4.printSchemaLoadedMessage)(loadedFromPathForLogMessages);
192
189
  }
193
- const configFromPsl = await (0, import_chunk_247ICNDG.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
190
+ const configFromPsl = await (0, import_chunk_TAKL4AGJ.getConfig)({ datamodel: schemaResult.schemas, ignoreEnvVarErrors });
194
191
  const datasourceFromPsl = configFromPsl.datasources.at(0);
195
192
  const primaryDatasource = (0, import_chunk_XKZ6CBLA.z)(schemaEngineConfig).with({ engine: "classic" }, ({ datasource }) => {
196
193
  const { url, directUrl, shadowDatabaseUrl } = datasource;
@@ -223,7 +220,7 @@ function getPrimaryDatasourceDirectory(primaryDatasource) {
223
220
  }
224
221
  return null;
225
222
  }
226
- var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_BVJP43JS.require_p_map)());
223
+ var import_p_map = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_32LLAKF4.require_p_map)());
227
224
  var debug2 = (0, import_debug2.default)("prisma:getGenerators");
228
225
  async function getGenerators(options) {
229
226
  if (options.registry === void 0 && options.providerAliases !== void 0) {
@@ -256,19 +253,19 @@ async function getGenerators(options) {
256
253
  throw new Error(`no schema provided for getGenerators`);
257
254
  }
258
255
  if (!schemaContext.primaryDatasource) {
259
- throw new Error(import_chunk_7QC5VORA.missingDatasource);
256
+ throw new Error(import_chunk_H6PPJ5PX.missingDatasource);
260
257
  }
261
258
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(schemaContext.warnings);
262
259
  const previewFeatures = (0, import_chunk_CRVLHWC5.extractPreviewFeatures)(schemaContext.generators);
263
- const dmmf = await (0, import_chunk_ROEAPAY4.getDMMF)({
260
+ const dmmf = await (0, import_chunk_2MJNNWBQ.getDMMF)({
264
261
  datamodel: schemaContext.schemaFiles,
265
262
  previewFeatures
266
263
  });
267
264
  if (dmmf.datamodel.models.length === 0 && !allowNoModels) {
268
265
  if (schemaContext.primaryDatasource.provider === "mongodb") {
269
- throw new Error(import_chunk_AX5N26KG.missingModelMessageMongoDB);
266
+ throw new Error(import_chunk_33K2EQQZ.missingModelMessageMongoDB);
270
267
  }
271
- throw new Error(import_chunk_AX5N26KG.missingModelMessage);
268
+ throw new Error(import_chunk_33K2EQQZ.missingModelMessage);
272
269
  }
273
270
  const generatorConfigs = filterGenerators(overrideGenerators || schemaContext.generators, generatorNames);
274
271
  await validateGenerators(generatorConfigs);
@@ -311,7 +308,7 @@ You need to define \`output\` in the generator block in the schema file.`
311
308
  fromEnvVar: null
312
309
  };
313
310
  }
314
- const datamodel = (0, import_chunk_AGCXD33Q.mergeSchemas)({ schemas: schemaContext.schemaFiles });
311
+ const datamodel = (0, import_chunk_FSQCVENL.mergeSchemas)({ schemas: schemaContext.schemaFiles });
315
312
  const envPaths = (0, import_chunk_6QTN4DDB.getEnvPaths)(schemaContext.schemaPath, { cwd: generatorConfig.output.value });
316
313
  const options2 = {
317
314
  datamodel,
@@ -369,17 +366,16 @@ generator gen {
369
366
  }
370
367
  const generatorBinaryTargets = g.options?.generator?.binaryTargets;
371
368
  if (generatorBinaryTargets && generatorBinaryTargets.length > 0) {
372
- for (const binaryTarget2 of generatorBinaryTargets) {
373
- if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget2.value)) {
374
- neededVersions[neededVersion].binaryTargets.push(binaryTarget2);
369
+ for (const binaryTarget of generatorBinaryTargets) {
370
+ if (!neededVersions[neededVersion].binaryTargets.find((object) => object.value === binaryTarget.value)) {
371
+ neededVersions[neededVersion].binaryTargets.push(binaryTarget);
375
372
  }
376
373
  }
377
374
  }
378
375
  }
379
376
  }
380
- const queryEngineType = (0, import_chunk_B22EOFPW.binaryTypeToEngineType)(import_chunk_FYZCPL2Z.BinaryType.QueryEngineLibrary);
381
377
  debug2("neededVersions", JSON.stringify(neededVersions, null, 2));
382
- const { binaryPathsByVersion, binaryTarget } = await (0, import_chunk_5XFNC2RY.getBinaryPathsByVersion)({
378
+ const { binaryPathsByVersion } = await (0, import_chunk_5MHUYAV3.getBinaryPathsByVersion)({
383
379
  neededVersions,
384
380
  // We're lazily computing the binary target here, to avoid printing the
385
381
  // `Prisma failed to detect the libssl/openssl version to use` warning
@@ -400,17 +396,6 @@ generator gen {
400
396
  const generatorBinaryPaths = (0, import_chunk_GXW4NTU2.pick)(binaryPaths ?? {}, generator.manifest.requiresEngines);
401
397
  debug2({ generatorBinaryPaths });
402
398
  generator.setBinaryPaths(generatorBinaryPaths);
403
- if (engineVersion !== version2 && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
404
- const customDmmf = await (0, import_chunk_ROEAPAY4.getDMMF)({
405
- datamodel: schemaContext.schemaFiles,
406
- previewFeatures
407
- });
408
- const options2 = { ...generator.options, dmmf: customDmmf };
409
- debug2("generator.manifest.prettyName", generator.manifest.prettyName);
410
- debug2("options", options2);
411
- debug2("options.generator.binaryTargets", options2.generator.binaryTargets);
412
- generator.setOptions(options2);
413
- }
414
399
  }
415
400
  }
416
401
  return generators;
@@ -498,7 +483,7 @@ var forbiddenCmdWithDataProxyFlagMessage = (command) => `
498
483
  Using an Accelerate URL is not supported for this CLI command ${(0, import_chunk_PG5FDKSF.green)(`prisma ${command}`)} yet.
499
484
  Please use a direct connection to your database via the datasource \`directUrl\` setting.
500
485
 
501
- More information about this limitation: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/accelerate-limitations")}
486
+ More information about this limitation: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/accelerate-limitations")}
502
487
  `;
503
488
  function checkUnsupportedDataProxy({
504
489
  cmd,
@@ -511,7 +496,7 @@ function checkUnsupportedDataProxy({
511
496
  }
512
497
  }
513
498
  if (!schemaContext?.primaryDatasource) return;
514
- const url = (0, import_chunk_247ICNDG.resolveUrl)((0, import_chunk_247ICNDG.getEffectiveUrl)(schemaContext.primaryDatasource));
499
+ const url = (0, import_chunk_TAKL4AGJ.resolveUrl)((0, import_chunk_TAKL4AGJ.getEffectiveUrl)(schemaContext.primaryDatasource));
515
500
  if (url?.startsWith("prisma://")) {
516
501
  throw new Error(forbiddenCmdWithDataProxyFlagMessage(cmd));
517
502
  }
@@ -26,20 +26,20 @@ 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_HZ6U2UGL_exports = {};
30
- __export(chunk_HZ6U2UGL_exports, {
29
+ var chunk_TAKL4AGJ_exports = {};
30
+ __export(chunk_TAKL4AGJ_exports, {
31
31
  GetConfigError: () => GetConfigError,
32
32
  getConfig: () => getConfig,
33
33
  getDirectUrl: () => getDirectUrl,
34
34
  getEffectiveUrl: () => getEffectiveUrl,
35
35
  resolveUrl: () => resolveUrl
36
36
  });
37
- module.exports = __toCommonJS(chunk_HZ6U2UGL_exports);
37
+ module.exports = __toCommonJS(chunk_TAKL4AGJ_exports);
38
38
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
39
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
40
40
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
41
- var import_chunk_MURRA56K = require("./chunk-MURRA56K.js");
42
- var import_chunk_HQAD5FY2 = require("./chunk-HQAD5FY2.js");
41
+ var import_chunk_P4JEYG25 = require("./chunk-P4JEYG25.js");
42
+ var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.js");
43
43
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
44
44
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
45
45
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
64
64
  }).exhaustive();
65
65
  const errorMessageWithContext = `${constructedErrorMessage}
66
66
  [Context: getConfig]`;
67
- super((0, import_chunk_MURRA56K.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_P4JEYG25.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
68
  this.name = "GetConfigError";
69
69
  }
70
70
  };
@@ -89,7 +89,7 @@ async function getConfig(options) {
89
89
  () => {
90
90
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
91
91
  debug("Triggering a Rust panic...");
92
- import_chunk_HQAD5FY2.prismaSchemaWasm.debug_panic();
92
+ import_chunk_AAXLNSYL.prismaSchemaWasm.debug_panic();
93
93
  }
94
94
  const params = JSON.stringify({
95
95
  prismaSchema: options.datamodel,
@@ -97,7 +97,7 @@ async function getConfig(options) {
97
97
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
98
98
  env: process.env
99
99
  });
100
- const data = import_chunk_HQAD5FY2.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_AAXLNSYL.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -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_75BIJ5PX_exports = {};
30
- __export(chunk_75BIJ5PX_exports, {
29
+ var chunk_UB2X7DGZ_exports = {};
30
+ __export(chunk_UB2X7DGZ_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists2,
32
32
  fs_functional_exports: () => fs_functional_exports,
33
33
  getFilesInDir: () => getFilesInDir2,
@@ -37,8 +37,8 @@ __export(chunk_75BIJ5PX_exports, {
37
37
  removeFile: () => removeFile,
38
38
  writeFile: () => writeFile2
39
39
  });
40
- module.exports = __toCommonJS(chunk_75BIJ5PX_exports);
41
- var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
40
+ module.exports = __toCommonJS(chunk_UB2X7DGZ_exports);
41
+ var import_chunk_MXAUURHG = require("./chunk-MXAUURHG.js");
42
42
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
43
43
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
44
44
  var import_promises = __toESM(require("fs/promises"));
@@ -3981,13 +3981,13 @@ var fs_functional_exports = {};
3981
3981
  });
3982
3982
  var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57HZ.require_function)());
3983
3983
  var TE = (0, import_chunk_4VNS5WPM.__toESM)(require_TaskEither());
3984
- var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
- var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
- var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3984
+ var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
+ var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
+ var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
3987
3987
  var removeDir = (dir) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.rm(dir, { recursive: true }), createTaggedSystemError("fs-remove-dir", { dir })));
3988
3988
  var removeFile = (filePath) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.unlink(filePath), createTaggedSystemError("fs-remove-file", { filePath })));
3989
- var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_TQFONRJP.getNestedFoldersInDir)(dir);
3990
- var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_TQFONRJP.getFilesInDir)(dir, pattern);
3989
+ var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_MXAUURHG.getNestedFoldersInDir)(dir);
3990
+ var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_MXAUURHG.getFilesInDir)(dir, pattern);
3991
3991
  function createTaggedSystemError(type, meta) {
3992
3992
  return (e) => ({
3993
3993
  type,
@@ -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_AGCXD33Q_exports = {};
30
- __export(chunk_AGCXD33Q_exports, {
29
+ var chunk_UMB3Y33W_exports = {};
30
+ __export(chunk_UMB3Y33W_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_AGCXD33Q_exports);
34
+ module.exports = __toCommonJS(chunk_UMB3Y33W_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_B4WDAX32 = require("./chunk-B4WDAX32.js");
39
- var import_chunk_GFAWJ2TV = require("./chunk-GFAWJ2TV.js");
38
+ var import_chunk_EBJBIVXN = require("./chunk-EBJBIVXN.js");
39
+ var import_chunk_ZVTQSH5K = require("./chunk-ZVTQSH5K.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,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_B4WDAX32.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_EBJBIVXN.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_GFAWJ2TV.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_ZVTQSH5K.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -16,15 +16,15 @@ 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_TQCLUNM2_exports = {};
20
- __export(chunk_TQCLUNM2_exports, {
19
+ var chunk_VNIE2AZB_exports = {};
20
+ __export(chunk_VNIE2AZB_exports, {
21
21
  highlightDatamodel: () => highlightDatamodel,
22
22
  highlightSql: () => highlightSql,
23
23
  highlightTS: () => highlightTS
24
24
  });
25
- module.exports = __toCommonJS(chunk_TQCLUNM2_exports);
26
- var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
25
+ module.exports = __toCommonJS(chunk_VNIE2AZB_exports);
27
26
  var import_chunk_CYAS6B5N = require("./chunk-CYAS6B5N.js");
27
+ var import_chunk_OIVPX3BR = require("./chunk-OIVPX3BR.js");
28
28
  var import_chunk_HPVMQFIY = require("./chunk-HPVMQFIY.js");
29
29
  function highlightDatamodel(str) {
30
30
  return highlight(str, import_chunk_OIVPX3BR.dml);
@@ -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_UHI6VYFX_exports = {};
20
- __export(chunk_UHI6VYFX_exports, {
19
+ var chunk_WJKBKH3Y_exports = {};
20
+ __export(chunk_WJKBKH3Y_exports, {
21
21
  SchemaEngineExitCode: () => SchemaEngineExitCode,
22
22
  canConnectToDatabase: () => canConnectToDatabase,
23
23
  createDatabase: () => createDatabase,
24
24
  dropDatabase: () => dropDatabase,
25
25
  execaCommand: () => execaCommand
26
26
  });
27
- module.exports = __toCommonJS(chunk_UHI6VYFX_exports);
27
+ module.exports = __toCommonJS(chunk_WJKBKH3Y_exports);
28
28
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
29
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
29
+ var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
30
30
  var import_fetch_engine = require("@prisma/fetch-engine");
31
31
  var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
32
32
  SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
@@ -139,7 +139,7 @@ async function execaCommand({
139
139
  schemaEnginePath,
140
140
  engineCommandName
141
141
  }) {
142
- schemaEnginePath = schemaEnginePath || await (0, import_chunk_FYZCPL2Z.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
142
+ schemaEnginePath = schemaEnginePath || await (0, import_chunk_HNRMSI3R.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
143
143
  try {
144
144
  return await (0, import_chunk_JOIHHXR6.execa)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
145
145
  cwd,