@prisma/internals 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.4 → 6.6.0-integration-mcp.1

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 (85) hide show
  1. package/dist/{chunk-GIOVJ5SL.js → chunk-226NCPFJ.js} +8 -8
  2. package/dist/{chunk-TV34NMBZ.js → chunk-2H6XXXKO.js} +15 -12
  3. package/dist/{chunk-EPXBOIA5.js → chunk-2I3VYCA7.js} +5 -5
  4. package/dist/{chunk-2QTAK7KO.js → chunk-2LDG4PID.js} +5 -5
  5. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  6. package/dist/{chunk-KB5DKCI4.js → chunk-3GYXMWBM.js} +7 -7
  7. package/dist/{chunk-75AJJ2SV.js → chunk-5UX7SDF4.js} +5 -5
  8. package/dist/{chunk-FQ7QE2EZ.js → chunk-6NIWKOQM.js} +5 -5
  9. package/dist/{chunk-GHQCAB3L.js → chunk-6TAXYMS3.js} +8 -8
  10. package/dist/{chunk-DG3K2SNH.js → chunk-A4UZ4UKB.js} +66 -127
  11. package/dist/{chunk-PQE76XRR.js → chunk-AP52B62F.js} +5 -5
  12. package/dist/{chunk-HG3YOAAE.js → chunk-AXD7KB4D.js} +5 -5
  13. package/dist/chunk-DYV47NUW.js +796 -0
  14. package/dist/{chunk-DKSUHQGA.js → chunk-EKESIUIK.js} +7 -7
  15. package/dist/{chunk-VVXXJDPA.js → chunk-FAPPXX7W.js} +8 -8
  16. package/dist/{chunk-OB2FZR3M.js → chunk-FAQHAUBK.js} +7 -7
  17. package/dist/{chunk-BTWAF3S4.js → chunk-GV244NDE.js} +7 -7
  18. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  19. package/dist/{chunk-IDINCQMN.js → chunk-IWTEX7EE.js} +9 -780
  20. package/dist/{chunk-XKIMYV5V.js → chunk-J27QTOYA.js} +5 -5
  21. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  22. package/dist/{chunk-AZI6RPIA.js → chunk-L2SLJQ2Z.js} +5 -5
  23. package/dist/{chunk-55SEKKR3.js → chunk-LWBLVV7Y.js} +8 -8
  24. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  25. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  26. package/dist/{chunk-QGJH4P4N.js → chunk-OQ2NRV2Y.js} +5 -5
  27. package/dist/{chunk-U4BGZ3NX.js → chunk-OUQPIJFQ.js} +5 -5
  28. package/dist/{chunk-MSQTODVE.js → chunk-OYKZ24UT.js} +8 -8
  29. package/dist/{chunk-EWWOTVR3.js → chunk-PE6DXWOX.js} +6 -6
  30. package/dist/{chunk-XQSHUIJ5.js → chunk-PING5S2U.js} +8 -8
  31. package/dist/{chunk-HX2VLZFY.js → chunk-PWGQKUJW.js} +66 -127
  32. package/dist/{chunk-K5W6WZ6E.js → chunk-R4ZFFYJA.js} +238 -2734
  33. package/dist/{chunk-3DQANJMY.js → chunk-SAAMENIS.js} +7 -7
  34. package/dist/{chunk-LHESHKC2.js → chunk-SNSJWJTA.js} +5 -5
  35. package/dist/{chunk-YR5KNFKN.js → chunk-SUOMIRLO.js} +6 -6
  36. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  37. package/dist/{chunk-VVPSLVOR.js → chunk-URRVX2VQ.js} +3 -4
  38. package/dist/{chunk-EZI6235B.js → chunk-VTJOX6HO.js} +5 -5
  39. package/dist/{chunk-ABTIXQDX.js → chunk-VYJSNZF3.js} +4 -4
  40. package/dist/{chunk-POCSNJFA.js → chunk-W2PA2Y65.js} +5 -5
  41. package/dist/{chunk-ETYWYJBX.js → chunk-WF5LZFJS.js} +12 -12
  42. package/dist/cli/checkUnsupportedDataProxy.js +33 -32
  43. package/dist/cli/directoryConfig.d.ts +1 -1
  44. package/dist/cli/directoryConfig.js +2 -2
  45. package/dist/cli/getSchema.d.ts +3 -28
  46. package/dist/cli/getSchema.js +36 -36
  47. package/dist/cli/hashes.d.ts +1 -2
  48. package/dist/cli/hashes.js +33 -32
  49. package/dist/cli/schemaContext.d.ts +4 -3
  50. package/dist/cli/schemaContext.js +33 -32
  51. package/dist/engine-commands/errorHelpers.js +4 -4
  52. package/dist/engine-commands/formatSchema.js +32 -31
  53. package/dist/engine-commands/getConfig.js +10 -10
  54. package/dist/engine-commands/getDmmf.js +7 -7
  55. package/dist/engine-commands/getEngineVersion.js +7 -6
  56. package/dist/engine-commands/getEnginesMetaInfo.js +9 -8
  57. package/dist/engine-commands/index.js +43 -42
  58. package/dist/engine-commands/lintSchema.js +8 -8
  59. package/dist/engine-commands/mergeSchemas.js +7 -7
  60. package/dist/engine-commands/validate.js +7 -7
  61. package/dist/errorReporting.js +6 -6
  62. package/dist/get-generators/generatorResolvers/generatorResolvers.js +32 -31
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +3 -3
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +3 -3
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +32 -31
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +3 -3
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +33 -32
  68. package/dist/get-generators/getGenerators.js +35 -34
  69. package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -3
  70. package/dist/getPackedPackage.js +5 -4
  71. package/dist/index.d.ts +1 -1
  72. package/dist/index.js +75 -75
  73. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  74. package/dist/resolveBinary.js +8 -7
  75. package/dist/schemaEngineCommands.js +10 -9
  76. package/dist/sendPanic.js +4 -4
  77. package/dist/utils/cloudflareD1.js +3 -3
  78. package/dist/utils/fs-functional.js +10 -10
  79. package/dist/utils/fs-utils.js +8 -8
  80. package/dist/utils/getEnvPaths.js +32 -31
  81. package/dist/utils/getVersionFromPackageJson.js +3 -3
  82. package/dist/utils/handlePanic.js +5 -5
  83. package/dist/utils/loadEnvFile.js +32 -31
  84. package/dist/wasm.js +4 -4
  85. package/package.json +11 -11
@@ -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_AZI6RPIA_exports = {};
20
- __export(chunk_AZI6RPIA_exports, {
19
+ var chunk_L2SLJQ2Z_exports = {};
20
+ __export(chunk_L2SLJQ2Z_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_AZI6RPIA_exports);
24
- var import_chunk_EZI6235B = require("./chunk-EZI6235B.js");
23
+ module.exports = __toCommonJS(chunk_L2SLJQ2Z_exports);
24
+ var import_chunk_5UX7SDF4 = require("./chunk-5UX7SDF4.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_EZI6235B.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_5UX7SDF4.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -26,16 +26,16 @@ 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_55SEKKR3_exports = {};
30
- __export(chunk_55SEKKR3_exports, {
29
+ var chunk_LWBLVV7Y_exports = {};
30
+ __export(chunk_LWBLVV7Y_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_55SEKKR3_exports);
34
+ module.exports = __toCommonJS(chunk_LWBLVV7Y_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_AZI6RPIA = require("./chunk-AZI6RPIA.js");
38
- var import_chunk_FQ7QE2EZ = require("./chunk-FQ7QE2EZ.js");
37
+ var import_chunk_AP52B62F = require("./chunk-AP52B62F.js");
38
+ var import_chunk_SNSJWJTA = require("./chunk-SNSJWJTA.js");
39
39
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -58,7 +58,7 @@ ${detailsHeader} ${message}`;
58
58
  }).exhaustive();
59
59
  const errorMessageWithContext = `${constructedErrorMessage}
60
60
  [Context: getDmmf]`;
61
- super((0, import_chunk_AZI6RPIA.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_AP52B62F.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
62
  this.name = "GetDmmfError";
63
63
  }
64
64
  };
@@ -70,13 +70,13 @@ async function getDMMF(options) {
70
70
  () => {
71
71
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
72
72
  debug("Triggering a Rust panic...");
73
- import_chunk_FQ7QE2EZ.prismaSchemaWasm.debug_panic();
73
+ import_chunk_SNSJWJTA.prismaSchemaWasm.debug_panic();
74
74
  }
75
75
  const params = JSON.stringify({
76
76
  prismaSchema: options.datamodel,
77
77
  noColor: Boolean(process.env.NO_COLOR)
78
78
  });
79
- const data = import_chunk_FQ7QE2EZ.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_SNSJWJTA.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -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_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,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_QGJH4P4N_exports = {};
20
- __export(chunk_QGJH4P4N_exports, {
19
+ var chunk_OQ2NRV2Y_exports = {};
20
+ __export(chunk_OQ2NRV2Y_exports, {
21
21
  runPackageCmd: () => runPackageCmd
22
22
  });
23
- module.exports = __toCommonJS(chunk_QGJH4P4N_exports);
23
+ module.exports = __toCommonJS(chunk_OQ2NRV2Y_exports);
24
24
  var import_chunk_72UZXEBG = require("./chunk-72UZXEBG.js");
25
- var import_chunk_ETYWYJBX = require("./chunk-ETYWYJBX.js");
25
+ var import_chunk_WF5LZFJS = require("./chunk-WF5LZFJS.js");
26
26
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
27
- var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_ETYWYJBX.require_execa)());
27
+ var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_WF5LZFJS.require_execa)());
28
28
  async function runPackageCmd(cwd, cmd, ...args) {
29
29
  await import_execa.default.command(await (0, import_chunk_72UZXEBG.getPackageCmd)(cwd, cmd, ...args), {
30
30
  // we skip this because we are already in the generator
@@ -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_U4BGZ3NX_exports = {};
20
- __export(chunk_U4BGZ3NX_exports, {
19
+ var chunk_OUQPIJFQ_exports = {};
20
+ __export(chunk_OUQPIJFQ_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_U4BGZ3NX_exports);
28
- var import_chunk_FQ7QE2EZ = require("./chunk-FQ7QE2EZ.js");
27
+ module.exports = __toCommonJS(chunk_OUQPIJFQ_exports);
28
+ var import_chunk_SNSJWJTA = require("./chunk-SNSJWJTA.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_FQ7QE2EZ.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_SNSJWJTA.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -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_MSQTODVE_exports = {};
30
- __export(chunk_MSQTODVE_exports, {
29
+ var chunk_OYKZ24UT_exports = {};
30
+ __export(chunk_OYKZ24UT_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_MSQTODVE_exports);
37
+ module.exports = __toCommonJS(chunk_OYKZ24UT_exports);
38
38
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
39
39
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_PQE76XRR = require("./chunk-PQE76XRR.js");
42
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
41
+ var import_chunk_L2SLJQ2Z = require("./chunk-L2SLJQ2Z.js");
42
+ var import_chunk_6NIWKOQM = require("./chunk-6NIWKOQM.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_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_L2SLJQ2Z.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_LHESHKC2.prismaSchemaWasm.debug_panic();
92
+ import_chunk_6NIWKOQM.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_LHESHKC2.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_6NIWKOQM.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -26,12 +26,12 @@ 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_EWWOTVR3_exports = {};
30
- __export(chunk_EWWOTVR3_exports, {
29
+ var chunk_PE6DXWOX_exports = {};
30
+ __export(chunk_PE6DXWOX_exports, {
31
31
  findPrismaClientDir: () => findPrismaClientDir
32
32
  });
33
- module.exports = __toCommonJS(chunk_EWWOTVR3_exports);
34
- var import_chunk_VVPSLVOR = require("./chunk-VVPSLVOR.js");
33
+ module.exports = __toCommonJS(chunk_PE6DXWOX_exports);
34
+ var import_chunk_URRVX2VQ = require("./chunk-URRVX2VQ.js");
35
35
  var import_debug = __toESM(require("@prisma/debug"));
36
36
  var import_fs = __toESM(require("fs"));
37
37
  var import_path = __toESM(require("path"));
@@ -39,8 +39,8 @@ var debug = (0, import_debug.default)("prisma:generator");
39
39
  var realPath = import_fs.default.promises.realpath;
40
40
  async function findPrismaClientDir(baseDir) {
41
41
  const resolveOpts = { basedir: baseDir, preserveSymlinks: true };
42
- const CLIDir = await (0, import_chunk_VVPSLVOR.resolvePkg)("prisma", resolveOpts);
43
- const clientDir = await (0, import_chunk_VVPSLVOR.resolvePkg)("@prisma/client", resolveOpts);
42
+ const CLIDir = await (0, import_chunk_URRVX2VQ.resolvePkg)("prisma", resolveOpts);
43
+ const clientDir = await (0, import_chunk_URRVX2VQ.resolvePkg)("@prisma/client", resolveOpts);
44
44
  const resolvedClientDir = clientDir && await realPath(clientDir);
45
45
  debug("prismaCLIDir", CLIDir);
46
46
  debug("prismaClientDir", clientDir);
@@ -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_XQSHUIJ5_exports = {};
30
- __export(chunk_XQSHUIJ5_exports, {
29
+ var chunk_PING5S2U_exports = {};
30
+ __export(chunk_PING5S2U_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_XQSHUIJ5_exports);
34
+ module.exports = __toCommonJS(chunk_PING5S2U_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_PQE76XRR = require("./chunk-PQE76XRR.js");
39
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
38
+ var import_chunk_AP52B62F = require("./chunk-AP52B62F.js");
39
+ var import_chunk_SNSJWJTA = require("./chunk-SNSJWJTA.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: validate]`;
62
- super((0, import_chunk_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_AP52B62F.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "ValidateError";
64
64
  }
65
65
  };
@@ -71,13 +71,13 @@ function validate(options) {
71
71
  () => {
72
72
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
73
73
  debug("Triggering a Rust panic...");
74
- import_chunk_LHESHKC2.prismaSchemaWasm.debug_panic();
74
+ import_chunk_SNSJWJTA.prismaSchemaWasm.debug_panic();
75
75
  }
76
76
  const params = JSON.stringify({
77
77
  prismaSchema: options.schemas,
78
78
  noColor: Boolean(process.env.NO_COLOR)
79
79
  });
80
- import_chunk_LHESHKC2.prismaSchemaWasm.validate(params);
80
+ import_chunk_SNSJWJTA.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",