@prisma/internals 5.22.0-integration-engines-5-22-0-15-integration-itx-refactor-e6a1a87cfa6c4940596af734f1adf379b009e288.2 → 5.22.0-integration-remove-custom-yarn-logic.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 (58) hide show
  1. package/dist/{chunk-YVBPPEQW.js → chunk-2F4TQFCO.js} +5 -5
  2. package/dist/{chunk-MZICPTH6.js → chunk-2G6A4TX2.js} +8 -8
  3. package/dist/{chunk-5I4BOTBV.js → chunk-5MCWLJSR.js} +3 -9
  4. package/dist/{chunk-Q25J6X3T.js → chunk-7RF5FHKY.js} +5 -5
  5. package/dist/{chunk-IABMG3F4.js → chunk-AMQR2T2M.js} +5 -5
  6. package/dist/{chunk-HU6ZW7CK.js → chunk-ELU63HJB.js} +5 -5
  7. package/dist/{chunk-GYPTBHE4.js → chunk-FAEW2D5M.js} +8 -8
  8. package/dist/{chunk-7FTDIYVJ.js → chunk-FJNI7EDH.js} +5 -5
  9. package/dist/{chunk-IXV2JMCD.js → chunk-IB5VBGBL.js} +27 -160
  10. package/dist/{chunk-XQF3PX5S.js → chunk-NHBX7FRB.js} +8 -8
  11. package/dist/{chunk-CIHCXY3X.js → chunk-NRNTTYTK.js} +5 -5
  12. package/dist/{chunk-HEBDZGES.js → chunk-QPQSC3JJ.js} +5 -5
  13. package/dist/{chunk-LUWOYRO3.js → chunk-RYTU24TW.js} +5 -5
  14. package/dist/{chunk-WAJM56TJ.js → chunk-SEMJP57T.js} +4 -4
  15. package/dist/{chunk-JG5423I7.js → chunk-UK22OTEL.js} +5 -5
  16. package/dist/{chunk-2L6KAB7A.js → chunk-VP52BYP6.js} +8 -8
  17. package/dist/{chunk-YDZVEVUG.js → chunk-WXYCPRNY.js} +8 -5
  18. package/dist/{chunk-KY3JIA3P.js → chunk-XW5NCCKJ.js} +7 -7
  19. package/dist/{chunk-7VWN4QXB.js → chunk-XYQLNYQW.js} +8 -8
  20. package/dist/{chunk-V3ECPVE6.js → chunk-YVCVAF6S.js} +5 -5
  21. package/dist/{chunk-KXPE7GPY.js → chunk-YXTHML5A.js} +27 -160
  22. package/dist/{chunk-5JD2YQYE.js → chunk-Z25SRLZ4.js} +8 -8
  23. package/dist/{chunk-ZA3RMW2P.js → chunk-ZKAW5JSN.js} +5 -8
  24. package/dist/{chunk-BR2QGST4.js → chunk-ZRWA3QK6.js} +7 -7
  25. package/dist/cli/checkUnsupportedDataProxy.js +16 -18
  26. package/dist/cli/getSchema.js +21 -23
  27. package/dist/cli/hashes.js +16 -18
  28. package/dist/engine-commands/errorHelpers.js +4 -4
  29. package/dist/engine-commands/formatSchema.js +15 -17
  30. package/dist/engine-commands/getConfig.js +10 -10
  31. package/dist/engine-commands/getDmmf.js +7 -7
  32. package/dist/engine-commands/index.js +24 -26
  33. package/dist/engine-commands/lintSchema.js +8 -8
  34. package/dist/engine-commands/mergeSchemas.js +7 -7
  35. package/dist/engine-commands/validate.js +7 -7
  36. package/dist/get-generators/generatorResolvers/generatorResolvers.js +15 -17
  37. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +2 -3
  38. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +3 -4
  39. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +15 -17
  40. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +16 -18
  41. package/dist/get-generators/getGenerators.js +18 -20
  42. package/dist/index.js +46 -48
  43. package/dist/sendPanic.js +15 -17
  44. package/dist/utils/getCommandWithExecutor.js +3 -3
  45. package/dist/utils/getEnvPaths.js +15 -17
  46. package/dist/utils/getVersionFromPackageJson.js +3 -3
  47. package/dist/utils/handlePanic.js +15 -17
  48. package/dist/utils/isCurrentBinInstalledGlobally.d.ts +1 -1
  49. package/dist/utils/isCurrentBinInstalledGlobally.js +2 -2
  50. package/dist/utils/loadEnvFile.js +15 -17
  51. package/dist/wasm.js +4 -4
  52. package/package.json +8 -8
  53. package/dist/chunk-3U2ANLD3.js +0 -28
  54. package/dist/chunk-FTS2IEWX.js +0 -28
  55. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +0 -9
  56. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +0 -132
  57. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  58. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +0 -26
@@ -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_YVBPPEQW_exports = {};
20
- __export(chunk_YVBPPEQW_exports, {
19
+ var chunk_2F4TQFCO_exports = {};
20
+ __export(chunk_2F4TQFCO_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_YVBPPEQW_exports);
23
+ module.exports = __toCommonJS(chunk_2F4TQFCO_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "5.22.0-integration-engines-5-22-0-15-integration-itx-refactor-e6a1a87cfa6c4940596af734f1adf379b009e288.2",
29
+ version: "5.22.0-integration-remove-custom-yarn-logic.2",
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",
@@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
111
111
  "@prisma/fetch-engine": "workspace:*",
112
112
  "@prisma/generator-helper": "workspace:*",
113
113
  "@prisma/get-platform": "workspace:*",
114
- "@prisma/prisma-schema-wasm": "5.22.0-15.integration-itx-refactor-e6a1a87cfa6c4940596af734f1adf379b009e288",
114
+ "@prisma/prisma-schema-wasm": "5.22.0-12.8263a1f2b3deb0a72687cad83ceb981a25624db8",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -26,18 +26,18 @@ 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_MZICPTH6_exports = {};
30
- __export(chunk_MZICPTH6_exports, {
29
+ var chunk_2G6A4TX2_exports = {};
30
+ __export(chunk_2G6A4TX2_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_MZICPTH6_exports);
34
+ module.exports = __toCommonJS(chunk_2G6A4TX2_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_IAEMHQAC = require("./chunk-IAEMHQAC.js");
37
- var import_chunk_LUWOYRO3 = require("./chunk-LUWOYRO3.js");
37
+ var import_chunk_UK22OTEL = require("./chunk-UK22OTEL.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
- var import_chunk_HEBDZGES = require("./chunk-HEBDZGES.js");
40
+ var import_chunk_QPQSC3JJ = require("./chunk-QPQSC3JJ.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_LUWOYRO3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_UK22OTEL.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -91,13 +91,13 @@ async function getDMMF(options) {
91
91
  () => {
92
92
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
93
93
  debug("Triggering a Rust panic...");
94
- import_chunk_HEBDZGES.prismaSchemaWasm.debug_panic();
94
+ import_chunk_QPQSC3JJ.prismaSchemaWasm.debug_panic();
95
95
  }
96
96
  const params = JSON.stringify({
97
97
  prismaSchema: datamodel,
98
98
  noColor: Boolean(process.env.NO_COLOR)
99
99
  });
100
- const data = import_chunk_HEBDZGES.prismaSchemaWasm.get_dmmf(params);
100
+ const data = import_chunk_QPQSC3JJ.prismaSchemaWasm.get_dmmf(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -26,11 +26,11 @@ 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_5I4BOTBV_exports = {};
30
- __export(chunk_5I4BOTBV_exports, {
29
+ var chunk_5MCWLJSR_exports = {};
30
+ __export(chunk_5MCWLJSR_exports, {
31
31
  isCurrentBinInstalledGlobally: () => isCurrentBinInstalledGlobally
32
32
  });
33
- module.exports = __toCommonJS(chunk_5I4BOTBV_exports);
33
+ module.exports = __toCommonJS(chunk_5MCWLJSR_exports);
34
34
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
35
35
  var import_fs = __toESM(require("fs"));
36
36
  var require_ini = (0, import_chunk_WWAWV7DQ.__commonJS)({
@@ -286,16 +286,10 @@ var import_global_dirs = (0, import_chunk_WWAWV7DQ.__toESM)(require_global_dirs(
286
286
  function isCurrentBinInstalledGlobally() {
287
287
  try {
288
288
  const realPrismaPath = import_fs.default.realpathSync(process.argv[1]);
289
- const usingGlobalYarn = realPrismaPath.indexOf(import_global_dirs.default.yarn.packages) === 0;
290
289
  const usingGlobalNpm = realPrismaPath.indexOf(import_fs.default.realpathSync(import_global_dirs.default.npm.packages)) === 0;
291
290
  if (usingGlobalNpm) {
292
291
  return "npm";
293
292
  }
294
- if (usingGlobalYarn) {
295
- return "yarn";
296
- } else {
297
- false;
298
- }
299
293
  } catch (e) {
300
294
  }
301
295
  return false;
@@ -16,21 +16,21 @@ 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_Q25J6X3T_exports = {};
20
- __export(chunk_Q25J6X3T_exports, {
19
+ var chunk_7RF5FHKY_exports = {};
20
+ __export(chunk_7RF5FHKY_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_Q25J6X3T_exports);
27
+ module.exports = __toCommonJS(chunk_7RF5FHKY_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_HEBDZGES = require("./chunk-HEBDZGES.js");
29
+ var import_chunk_QPQSC3JJ = require("./chunk-QPQSC3JJ.js");
30
30
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_HEBDZGES.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_QPQSC3JJ.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -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_IABMG3F4_exports = {};
20
- __export(chunk_IABMG3F4_exports, {
19
+ var chunk_AMQR2T2M_exports = {};
20
+ __export(chunk_AMQR2T2M_exports, {
21
21
  runPackageCmd: () => runPackageCmd
22
22
  });
23
- module.exports = __toCommonJS(chunk_IABMG3F4_exports);
24
- var import_chunk_3U2ANLD3 = require("./chunk-3U2ANLD3.js");
23
+ module.exports = __toCommonJS(chunk_AMQR2T2M_exports);
24
+ var import_chunk_WXYCPRNY = require("./chunk-WXYCPRNY.js");
25
25
  var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
26
26
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
27
27
  var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
28
28
  async function runPackageCmd(cwd, cmd, ...args) {
29
- await import_execa.default.command(await (0, import_chunk_3U2ANLD3.getPackageCmd)(cwd, cmd, ...args), {
29
+ await import_execa.default.command(await (0, import_chunk_WXYCPRNY.getPackageCmd)(cwd, cmd, ...args), {
30
30
  // we skip this because we are already in the generator
31
31
  env: { PRISMA_SKIP_POSTINSTALL_GENERATE: "true" },
32
32
  stdio: "inherit",
@@ -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_HU6ZW7CK_exports = {};
20
- __export(chunk_HU6ZW7CK_exports, {
19
+ var chunk_ELU63HJB_exports = {};
20
+ __export(chunk_ELU63HJB_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_HU6ZW7CK_exports);
24
- var import_chunk_WAJM56TJ = require("./chunk-WAJM56TJ.js");
25
- var packageJson = (0, import_chunk_WAJM56TJ.require_package)();
23
+ module.exports = __toCommonJS(chunk_ELU63HJB_exports);
24
+ var import_chunk_2F4TQFCO = require("./chunk-2F4TQFCO.js");
25
+ var packageJson = (0, import_chunk_2F4TQFCO.require_package)();
26
26
  var version = packageJson.version;
@@ -26,19 +26,19 @@ 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_GYPTBHE4_exports = {};
30
- __export(chunk_GYPTBHE4_exports, {
29
+ var chunk_FAEW2D5M_exports = {};
30
+ __export(chunk_FAEW2D5M_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_GYPTBHE4_exports);
34
+ module.exports = __toCommonJS(chunk_FAEW2D5M_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_IAEMHQAC = require("./chunk-IAEMHQAC.js");
37
37
  var import_chunk_WMIBAVWZ = require("./chunk-WMIBAVWZ.js");
38
- var import_chunk_LUWOYRO3 = require("./chunk-LUWOYRO3.js");
38
+ var import_chunk_UK22OTEL = require("./chunk-UK22OTEL.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
41
- var import_chunk_HEBDZGES = require("./chunk-HEBDZGES.js");
41
+ var import_chunk_QPQSC3JJ = require("./chunk-QPQSC3JJ.js");
42
42
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_LUWOYRO3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_UK22OTEL.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "ValidateError";
65
65
  }
66
66
  };
@@ -72,13 +72,13 @@ function validate(options) {
72
72
  () => {
73
73
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
74
74
  debug("Triggering a Rust panic...");
75
- import_chunk_HEBDZGES.prismaSchemaWasm.debug_panic();
75
+ import_chunk_QPQSC3JJ.prismaSchemaWasm.debug_panic();
76
76
  }
77
77
  const params = JSON.stringify({
78
78
  prismaSchema: options.schemas,
79
79
  noColor: Boolean(process.env.NO_COLOR)
80
80
  });
81
- import_chunk_HEBDZGES.prismaSchemaWasm.validate(params);
81
+ import_chunk_QPQSC3JJ.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -26,14 +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_7FTDIYVJ_exports = {};
30
- __export(chunk_7FTDIYVJ_exports, {
29
+ var chunk_FJNI7EDH_exports = {};
30
+ __export(chunk_FJNI7EDH_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  wasm_exports: () => wasm_exports
34
34
  });
35
- module.exports = __toCommonJS(chunk_7FTDIYVJ_exports);
36
- var import_chunk_YVBPPEQW = require("./chunk-YVBPPEQW.js");
35
+ module.exports = __toCommonJS(chunk_FJNI7EDH_exports);
36
+ var import_chunk_2F4TQFCO = require("./chunk-2F4TQFCO.js");
37
37
  var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.js");
38
38
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
39
39
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -42,6 +42,6 @@ var wasm_exports = {};
42
42
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
43
43
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
44
44
  });
45
- var { dependencies } = (0, import_chunk_YVBPPEQW.require_package)();
45
+ var { dependencies } = (0, import_chunk_2F4TQFCO.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -26,11 +26,10 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_IXV2JMCD_exports = {};
30
- __export2(chunk_IXV2JMCD_exports, {
29
+ var chunk_IB5VBGBL_exports = {};
30
+ __export2(chunk_IB5VBGBL_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
- checkYarnVersion: () => checkYarnVersion,
34
33
  debug: () => debug5,
35
34
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
36
35
  formatSchema: () => formatSchema,
@@ -56,10 +55,9 @@ __export2(chunk_IXV2JMCD_exports, {
56
55
  sendPanic: () => sendPanic,
57
56
  skipIndex: () => skipIndex
58
57
  });
59
- module.exports = __toCommonJS2(chunk_IXV2JMCD_exports);
60
- var import_chunk_IABMG3F4 = require("./chunk-IABMG3F4.js");
61
- var import_chunk_3U2ANLD3 = require("./chunk-3U2ANLD3.js");
62
- var import_chunk_FTS2IEWX = require("./chunk-FTS2IEWX.js");
58
+ module.exports = __toCommonJS2(chunk_IB5VBGBL_exports);
59
+ var import_chunk_AMQR2T2M = require("./chunk-AMQR2T2M.js");
60
+ var import_chunk_WXYCPRNY = require("./chunk-WXYCPRNY.js");
63
61
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
64
62
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
65
63
  var import_chunk_KEBDP2C3 = require("./chunk-KEBDP2C3.js");
@@ -81,17 +79,16 @@ var import_chunk_XLYQ6PQW = require("./chunk-XLYQ6PQW.js");
81
79
  var import_chunk_EPJYKNCQ = require("./chunk-EPJYKNCQ.js");
82
80
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
83
81
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
84
- var import_chunk_Q25J6X3T = require("./chunk-Q25J6X3T.js");
85
- var import_chunk_BR2QGST4 = require("./chunk-BR2QGST4.js");
86
- var import_chunk_7VWN4QXB = require("./chunk-7VWN4QXB.js");
87
- var import_chunk_MZICPTH6 = require("./chunk-MZICPTH6.js");
82
+ var import_chunk_NRNTTYTK = require("./chunk-NRNTTYTK.js");
83
+ var import_chunk_ZRWA3QK6 = require("./chunk-ZRWA3QK6.js");
84
+ var import_chunk_XYQLNYQW = require("./chunk-XYQLNYQW.js");
85
+ var import_chunk_NHBX7FRB = require("./chunk-NHBX7FRB.js");
88
86
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
89
87
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
90
- var import_chunk_HEBDZGES = require("./chunk-HEBDZGES.js");
88
+ var import_chunk_FJNI7EDH = require("./chunk-FJNI7EDH.js");
91
89
  var import_chunk_MUPZUVSI = require("./chunk-MUPZUVSI.js");
92
90
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
93
91
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
94
- var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
95
92
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
96
93
  var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
97
94
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
@@ -15478,7 +15475,6 @@ var require_tmp = (0, import_chunk_WWAWV7DQ.__commonJS)({
15478
15475
  }
15479
15476
  });
15480
15477
  var import_find_up = (0, import_chunk_WWAWV7DQ.__toESM)(require_find_up());
15481
- var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
15482
15478
  var readFile = (0, import_util.promisify)(import_fs3.default.readFile);
15483
15479
  var stat = (0, import_util.promisify)(import_fs3.default.stat);
15484
15480
  var debug2 = (0, import_debug3.Debug)("prisma:getSchema");
@@ -15517,7 +15513,7 @@ async function readSchemaFromDirectory(schemaPath2) {
15517
15513
  }
15518
15514
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
15519
15515
  debug2("Loading config");
15520
- const config2 = await (0, import_chunk_7VWN4QXB.getConfig)({
15516
+ const config2 = await (0, import_chunk_XYQLNYQW.getConfig)({
15521
15517
  datamodel: files,
15522
15518
  ignoreEnvVarErrors: true
15523
15519
  });
@@ -15584,14 +15580,9 @@ async function getSchemaWithPathInternal(schemaPathFromArgs, { cwd, argumentName
15584
15580
  if (defaultResult.ok) {
15585
15581
  return defaultResult;
15586
15582
  }
15587
- const yarnResult = await getSchemaFromYarn1Workspace(cwd, defaultResult.error.failures);
15588
- if (yarnResult.ok) {
15589
- return yarnResult;
15590
- }
15591
- const finalError = yarnResult.error.kind === "Yarn1WorkspaceSchemaNotFound" ? defaultResult.error : yarnResult.error;
15592
15583
  return {
15593
15584
  ok: false,
15594
- error: finalError
15585
+ error: defaultResult.error
15595
15586
  };
15596
15587
  }
15597
15588
  function renderLookupError(error) {
@@ -15666,47 +15657,6 @@ async function getSchemaFromPackageJson(cwd) {
15666
15657
  }
15667
15658
  return lookupResult;
15668
15659
  }
15669
- async function getSchemaFromYarn1Workspace(cwd, pastFailures) {
15670
- if (!process.env.npm_config_user_agent?.includes("yarn")) {
15671
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
15672
- }
15673
- let workspaces;
15674
- try {
15675
- const { stdout: version3 } = await import_execa.default.command("yarn --version", {
15676
- cwd
15677
- });
15678
- if (version3.startsWith("2")) {
15679
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
15680
- }
15681
- const { stdout } = await import_execa.default.command("yarn workspaces info --json", {
15682
- cwd
15683
- });
15684
- const json = getJson(stdout);
15685
- workspaces = Object.values(json);
15686
- } catch {
15687
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
15688
- }
15689
- const workspaceRootDir = await findWorkspaceRoot(cwd);
15690
- if (!workspaceRootDir) {
15691
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
15692
- }
15693
- for (const workspace of workspaces) {
15694
- const workspacePath = import_path2.default.join(workspaceRootDir, workspace.location);
15695
- const workspaceSchema = await tryWorkspacePath(workspacePath, pastFailures);
15696
- if (workspaceSchema.ok) {
15697
- return workspaceSchema;
15698
- }
15699
- }
15700
- const rootPathSchema = await tryWorkspacePath(workspaceRootDir, pastFailures);
15701
- return rootPathSchema;
15702
- }
15703
- async function tryWorkspacePath(cwd, pastFailures) {
15704
- const pkgJson = await getSchemaFromPackageJson(cwd);
15705
- if (pkgJson.ok) {
15706
- return pkgJson;
15707
- }
15708
- return getDefaultSchema(cwd, pastFailures);
15709
- }
15710
15660
  async function getDefaultSchema(cwd, failures = []) {
15711
15661
  const schemaPrisma = {
15712
15662
  schemaPath: {
@@ -15785,44 +15735,6 @@ async function getSchema(schemaPathFromArgs) {
15785
15735
  const schemaPathResult = await getSchemaWithPath(schemaPathFromArgs);
15786
15736
  return schemaPathResult.schemas;
15787
15737
  }
15788
- function getJson(stdout) {
15789
- const firstCurly = stdout.indexOf("{");
15790
- const lastCurly = stdout.lastIndexOf("}");
15791
- const sliced = stdout.slice(firstCurly, lastCurly + 1);
15792
- return JSON.parse(sliced);
15793
- }
15794
- function isPkgJsonWorkspaceRoot(pkgJson) {
15795
- const workspaces = pkgJson.workspaces;
15796
- if (!workspaces) {
15797
- return false;
15798
- }
15799
- return Array.isArray(workspaces) || workspaces.packages !== void 0;
15800
- }
15801
- async function isNearestPkgJsonWorkspaceRoot(cwd) {
15802
- const pkgJson = await (0, import_chunk_J3JE5NVO.readPackageUp)({ cwd, normalize: false });
15803
- if (!pkgJson) {
15804
- return null;
15805
- }
15806
- return {
15807
- isRoot: isPkgJsonWorkspaceRoot(pkgJson.packageJson),
15808
- path: pkgJson.path
15809
- };
15810
- }
15811
- async function findWorkspaceRoot(cwd) {
15812
- let pkgJson = await isNearestPkgJsonWorkspaceRoot(cwd);
15813
- if (!pkgJson) {
15814
- return null;
15815
- }
15816
- if (pkgJson.isRoot === true) {
15817
- return import_path2.default.dirname(pkgJson.path);
15818
- }
15819
- const pkgJsonParentDir = import_path2.default.dirname(import_path2.default.dirname(pkgJson.path));
15820
- pkgJson = await isNearestPkgJsonWorkspaceRoot(pkgJsonParentDir);
15821
- if (!pkgJson || pkgJson.isRoot === false) {
15822
- return null;
15823
- }
15824
- return import_path2.default.dirname(pkgJson.path);
15825
- }
15826
15738
  var debug3 = (0, import_debug2.default)("prisma:loadEnv");
15827
15739
  async function getEnvPaths(schemaPath2, opts = { cwd: process.cwd() }) {
15828
15740
  const rootEnvPath = getProjectRootEnvPath({ cwd: opts.cwd }) ?? null;
@@ -15909,8 +15821,8 @@ async function checkUnsupportedDataProxyMessage(command, args, implicitSchema) {
15909
15821
  if (argName.includes("schema")) {
15910
15822
  await loadEnvFile({ schemaPath: argValue, printMessage: false });
15911
15823
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
15912
- const config2 = await (0, import_chunk_7VWN4QXB.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15913
- const url = (0, import_chunk_7VWN4QXB.resolveUrl)((0, import_chunk_7VWN4QXB.getEffectiveUrl)(config2.datasources[0]));
15824
+ const config2 = await (0, import_chunk_XYQLNYQW.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15825
+ const url = (0, import_chunk_XYQLNYQW.resolveUrl)((0, import_chunk_XYQLNYQW.getEffectiveUrl)(config2.datasources[0]));
15914
15826
  if (url?.startsWith("prisma://")) {
15915
15827
  return forbiddenCmdWithDataProxyFlagMessage(command);
15916
15828
  }
@@ -15957,42 +15869,10 @@ async function checkTypeScriptVersion() {
15957
15869
  } catch (e) {
15958
15870
  }
15959
15871
  }
15960
- function checkYarnVersion() {
15961
- if (process.env.npm_config_user_agent) {
15962
- const match = parseUserAgentString(process.env.npm_config_user_agent);
15963
- if (match) {
15964
- const { agent, major, minor, patch } = match;
15965
- if (agent === "yarn" && major === 1) {
15966
- const currentYarnVersion = `${major}.${minor}.${patch}`;
15967
- const minYarnVersion = "1.19.2";
15968
- if ((0, import_chunk_EUTJYQDW.semverLt)(currentYarnVersion, minYarnVersion)) {
15969
- import_chunk_AZNLB67U.logger_exports.warn(
15970
- `Your ${(0, import_chunk_PG5FDKSF.bold)("yarn")} has version ${currentYarnVersion}, which is outdated. Please update it to ${(0, import_chunk_PG5FDKSF.bold)(
15971
- minYarnVersion
15972
- )} or ${(0, import_chunk_PG5FDKSF.bold)("newer")} in order to use Prisma.`
15973
- );
15974
- }
15975
- }
15976
- }
15977
- }
15978
- }
15979
- function parseUserAgentString(str) {
15980
- const userAgentRegex = /(\w+)\/(\d+)\.(\d+)\.(\d+)/;
15981
- const match = userAgentRegex.exec(str);
15982
- if (match) {
15983
- const agent = match[1];
15984
- const major = parseInt(match[2]);
15985
- const minor = parseInt(match[3]);
15986
- const patch = parseInt(match[4]);
15987
- return { agent, major, minor, patch };
15988
- }
15989
- return null;
15990
- }
15991
15872
  var debug5 = (0, import_debug5.default)("prisma:generator");
15992
15873
  async function prismaClientResolver(baseDir, version3) {
15993
15874
  let prismaClientDir = await (0, import_chunk_KEBDP2C3.findPrismaClientDir)(baseDir);
15994
15875
  debug5("baseDir", baseDir);
15995
- checkYarnVersion();
15996
15876
  await checkTypeScriptVersion();
15997
15877
  if (!prismaClientDir && !process.env.PRISMA_GENERATE_SKIP_AUTOINSTALL) {
15998
15878
  let projectRoot = (0, import_chunk_J77ZIDXB.longestCommonPathPrefix)(baseDir, process.cwd());
@@ -16018,30 +15898,17 @@ async function prismaClientResolver(baseDir, version3) {
16018
15898
  );
16019
15899
  }
16020
15900
  const prismaCliDir = await (0, import_chunk_FUUQ6FJ4.resolvePkg)("prisma", { basedir: baseDir });
16021
- if (process.platform === "win32" && await (0, import_chunk_FTS2IEWX.isYarnUsed)(baseDir)) {
16022
- const hasCli = (s2) => prismaCliDir !== void 0 ? s2 : "";
16023
- const missingCli = (s2) => prismaCliDir === void 0 ? s2 : "";
16024
- throw new Error(
16025
- `Could not resolve ${missingCli(`${(0, import_chunk_PG5FDKSF.bold)("prisma")} and `)}${(0, import_chunk_PG5FDKSF.bold)(
16026
- "@prisma/client"
16027
- )} in the current project. Please install ${hasCli("it")}${missingCli("them")} with ${missingCli(
16028
- `${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "prisma", "-D")}`))} and `
16029
- )}${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "@prisma/client")}`))}, and rerun ${(0, import_chunk_PG5FDKSF.bold)(
16030
- await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate")
16031
- )} \u{1F64F}.`
16032
- );
16033
- }
16034
15901
  if (!prismaCliDir) {
16035
- await (0, import_chunk_IABMG3F4.runPackageCmd)(projectRoot, "add", `prisma@${version3 ?? "latest"}`, "-D", "--silent");
15902
+ await (0, import_chunk_AMQR2T2M.runPackageCmd)(projectRoot, "add", `prisma@${version3 ?? "latest"}`, "-D", "--silent");
16036
15903
  }
16037
- await (0, import_chunk_IABMG3F4.runPackageCmd)(projectRoot, "add", `@prisma/client@${version3 ?? "latest"}`, "--silent");
15904
+ await (0, import_chunk_AMQR2T2M.runPackageCmd)(projectRoot, "add", `@prisma/client@${version3 ?? "latest"}`, "--silent");
16038
15905
  prismaClientDir = await (0, import_chunk_KEBDP2C3.findPrismaClientDir)(import_path4.default.join(".", baseDir));
16039
15906
  if (!prismaClientDir) {
16040
15907
  throw new Error(
16041
15908
  `Could not resolve @prisma/client despite the installation that we just tried.
16042
15909
  Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
16043
- (0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "@prisma/client")}`)
16044
- )} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate"))} \u{1F64F}.`
15910
+ (0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_WXYCPRNY.getPackageCmd)(baseDir, "add", "@prisma/client")}`)
15911
+ )} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0, import_chunk_WXYCPRNY.getPackageCmd)(baseDir, "execute", "prisma generate"))} \u{1F64F}.`
16045
15912
  );
16046
15913
  }
16047
15914
  console.info(
@@ -16053,7 +15920,7 @@ Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
16053
15920
  throw new Error(
16054
15921
  `Could not resolve @prisma/client.
16055
15922
  Please try to install it with ${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)("npm install @prisma/client"))} and rerun ${(0, import_chunk_PG5FDKSF.bold)(
16056
- await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate")
15923
+ await (0, import_chunk_WXYCPRNY.getPackageCmd)(baseDir, "execute", "prisma generate")
16057
15924
  )} \u{1F64F}.`
16058
15925
  );
16059
15926
  }
@@ -16114,7 +15981,7 @@ async function getGenerators(options) {
16114
15981
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
16115
15982
  }
16116
15983
  }
16117
- const config = await (0, import_chunk_7VWN4QXB.getConfig)({
15984
+ const config = await (0, import_chunk_XYQLNYQW.getConfig)({
16118
15985
  datamodel: schemas,
16119
15986
  datamodelPath: schemaPath,
16120
15987
  prismaPath,
@@ -16125,7 +15992,7 @@ async function getGenerators(options) {
16125
15992
  }
16126
15993
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
16127
15994
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
16128
- const dmmf = await (0, import_chunk_MZICPTH6.getDMMF)({
15995
+ const dmmf = await (0, import_chunk_NHBX7FRB.getDMMF)({
16129
15996
  datamodel: schemas,
16130
15997
  datamodelPath: schemaPath,
16131
15998
  prismaPath,
@@ -16186,7 +16053,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
16186
16053
  fromEnvVar: "null"
16187
16054
  };
16188
16055
  }
16189
- const datamodel = (0, import_chunk_BR2QGST4.mergeSchemas)({ schemas });
16056
+ const datamodel = (0, import_chunk_ZRWA3QK6.mergeSchemas)({ schemas });
16190
16057
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
16191
16058
  const options2 = {
16192
16059
  datamodel,
@@ -16269,7 +16136,7 @@ generator gen {
16269
16136
  debug6({ generatorBinaryPaths });
16270
16137
  generator.setBinaryPaths(generatorBinaryPaths);
16271
16138
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
16272
- const customDmmf = await (0, import_chunk_MZICPTH6.getDMMF)({
16139
+ const customDmmf = await (0, import_chunk_NHBX7FRB.getDMMF)({
16273
16140
  datamodel: schemas,
16274
16141
  datamodelPath: schemaPath,
16275
16142
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -16567,7 +16434,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
16567
16434
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
16568
16435
  handleFormatPanic(
16569
16436
  () => {
16570
- import_chunk_HEBDZGES.prismaSchemaWasm.debug_panic();
16437
+ import_chunk_FJNI7EDH.prismaSchemaWasm.debug_panic();
16571
16438
  },
16572
16439
  { schemas: schemas2 }
16573
16440
  );
@@ -16587,12 +16454,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
16587
16454
  () => {
16588
16455
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
16589
16456
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
16590
- const lintDiagnostics2 = (0, import_chunk_Q25J6X3T.lintSchema)({ schemas: formattedMultipleSchemas2 });
16457
+ const lintDiagnostics2 = (0, import_chunk_NRNTTYTK.lintSchema)({ schemas: formattedMultipleSchemas2 });
16591
16458
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
16592
16459
  },
16593
16460
  { schemas: schemas2 }
16594
16461
  );
16595
- const lintWarnings = (0, import_chunk_Q25J6X3T.getLintWarningsAsText)(lintDiagnostics);
16462
+ const lintWarnings = (0, import_chunk_NRNTTYTK.getLintWarningsAsText)(lintDiagnostics);
16596
16463
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
16597
16464
  console.warn(lintWarnings);
16598
16465
  }
@@ -16622,7 +16489,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
16622
16489
  }
16623
16490
  }
16624
16491
  function formatWasm(schema, documentFormattingParams) {
16625
- const formattedSchema = import_chunk_HEBDZGES.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
16492
+ const formattedSchema = import_chunk_FJNI7EDH.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
16626
16493
  return formattedSchema;
16627
16494
  }
16628
16495
  /*! Bundled license information:
@@ -26,18 +26,18 @@ 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_XQF3PX5S_exports = {};
30
- __export(chunk_XQF3PX5S_exports, {
29
+ var chunk_NHBX7FRB_exports = {};
30
+ __export(chunk_NHBX7FRB_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_XQF3PX5S_exports);
34
+ module.exports = __toCommonJS(chunk_NHBX7FRB_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_IAEMHQAC = require("./chunk-IAEMHQAC.js");
37
- var import_chunk_JG5423I7 = require("./chunk-JG5423I7.js");
37
+ var import_chunk_RYTU24TW = require("./chunk-RYTU24TW.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
- var import_chunk_7FTDIYVJ = require("./chunk-7FTDIYVJ.js");
40
+ var import_chunk_FJNI7EDH = require("./chunk-FJNI7EDH.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_JG5423I7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_RYTU24TW.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -91,13 +91,13 @@ async function getDMMF(options) {
91
91
  () => {
92
92
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
93
93
  debug("Triggering a Rust panic...");
94
- import_chunk_7FTDIYVJ.prismaSchemaWasm.debug_panic();
94
+ import_chunk_FJNI7EDH.prismaSchemaWasm.debug_panic();
95
95
  }
96
96
  const params = JSON.stringify({
97
97
  prismaSchema: datamodel,
98
98
  noColor: Boolean(process.env.NO_COLOR)
99
99
  });
100
- const data = import_chunk_7FTDIYVJ.prismaSchemaWasm.get_dmmf(params);
100
+ const data = import_chunk_FJNI7EDH.prismaSchemaWasm.get_dmmf(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({