@prisma/internals 6.5.0-integration-feat-prisma-config-without-new-package.5 → 6.5.0-integration-feat-prisma-config-without-new-package.7

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 (52) hide show
  1. package/dist/Generator.js +2 -2
  2. package/dist/WasmPanicRegistry.js +2 -2
  3. package/dist/{chunk-TQCAD4LB.js → chunk-2CLHVJN7.js} +12 -12
  4. package/dist/{chunk-CHELWBGJ.js → chunk-3BUJ76XG.js} +5 -5
  5. package/dist/{chunk-DPFQAPWU.js → chunk-4BIM67DA.js} +24 -24
  6. package/dist/{chunk-SSELI7X6.js → chunk-6CEU2T4S.js} +11 -11
  7. package/dist/{chunk-TUSGJ6GU.js → chunk-AGQLNLYE.js} +5 -5
  8. package/dist/{chunk-A4QWQE3W.js → chunk-ATFQZVBS.js} +11 -4
  9. package/dist/{chunk-IZB6DOJJ.js → chunk-BOSKBIEW.js} +5 -5
  10. package/dist/{chunk-HOZFIXMD.js → chunk-BPZFDGKN.js} +5 -4
  11. package/dist/{chunk-NUGMMPL2.js → chunk-DQGTDMKZ.js} +12 -12
  12. package/dist/{chunk-GABO6IUE.js → chunk-EPF2VC52.js} +5 -5
  13. package/dist/{chunk-WMCSNHUF.js → chunk-FIAOONJQ.js} +11 -11
  14. package/dist/{chunk-HRNIB5ZF.js → chunk-HKQAB33T.js} +6 -6
  15. package/dist/{chunk-V2VT4B4O.js → chunk-KJTSTIRI.js} +12 -12
  16. package/dist/chunk-KKGIKPIK.js +573 -0
  17. package/dist/{chunk-Q7TE2TEB.js → chunk-M546VQV7.js} +7 -7
  18. package/dist/{chunk-A7RZQY5A.js → chunk-O37OFT3W.js} +7 -7
  19. package/dist/{chunk-OSFD4434.js → chunk-OIJ3DLA7.js} +12 -12
  20. package/dist/{chunk-ZOBZBU6K.js → chunk-PYW3KPIO.js} +8 -8
  21. package/dist/{chunk-XVEU6UM7.js → chunk-TILVPSCV.js} +12 -12
  22. package/dist/{chunk-BGRRWLCY.js → chunk-UB7B3VT4.js} +8 -8
  23. package/dist/{chunk-QUX3H4X5.js → chunk-WJFWR7QP.js} +24 -24
  24. package/dist/{chunk-HGEWBHJ5.js → chunk-YFBVJSFY.js} +5 -5
  25. package/dist/{chunk-TDG5WQHD.js → chunk-ZP5B4U6D.js} +12 -12
  26. package/dist/{chunk-635TMBAP.js → chunk-ZYW3HGSH.js} +8 -4
  27. package/dist/cli/checkUnsupportedDataProxy.js +16 -16
  28. package/dist/cli/getSchema.js +20 -20
  29. package/dist/cli/hashes.js +16 -16
  30. package/dist/engine-commands/errorHelpers.js +4 -4
  31. package/dist/engine-commands/formatSchema.js +15 -15
  32. package/dist/engine-commands/getConfig.js +12 -12
  33. package/dist/engine-commands/getDmmf.js +9 -9
  34. package/dist/engine-commands/index.js +24 -24
  35. package/dist/engine-commands/lintSchema.js +10 -10
  36. package/dist/engine-commands/mergeSchemas.js +9 -9
  37. package/dist/engine-commands/validate.js +9 -9
  38. package/dist/get-generators/generatorResolvers/generatorResolvers.js +15 -15
  39. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +15 -15
  40. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +16 -16
  41. package/dist/get-generators/getGenerators.js +18 -18
  42. package/dist/index.js +48 -48
  43. package/dist/panic.js +6 -6
  44. package/dist/sendPanic.js +15 -15
  45. package/dist/utils/drawBox.js +2 -2
  46. package/dist/utils/getEnvPaths.js +15 -15
  47. package/dist/utils/getVersionFromPackageJson.js +3 -3
  48. package/dist/utils/handlePanic.js +15 -15
  49. package/dist/utils/loadEnvFile.js +15 -15
  50. package/dist/wasm.js +5 -5
  51. package/package.json +10 -10
  52. package/dist/chunk-F3SIWK3J.js +0 -1404
package/dist/Generator.js CHANGED
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Generator_exports = {};
20
20
  __export(Generator_exports, {
21
- Generator: () => import_chunk_635TMBAP.Generator
21
+ Generator: () => import_chunk_ZYW3HGSH.Generator
22
22
  });
23
23
  module.exports = __toCommonJS(Generator_exports);
24
- var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
24
+ var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.js");
25
25
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
26
26
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
27
27
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var WasmPanicRegistry_exports = {};
20
20
  __export(WasmPanicRegistry_exports, {
21
- WasmPanicRegistry: () => import_chunk_HOZFIXMD.WasmPanicRegistry
21
+ WasmPanicRegistry: () => import_chunk_BPZFDGKN.WasmPanicRegistry
22
22
  });
23
23
  module.exports = __toCommonJS(WasmPanicRegistry_exports);
24
- var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.js");
24
+ var import_chunk_BPZFDGKN = require("./chunk-BPZFDGKN.js");
25
25
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -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_TQCAD4LB_exports = {};
30
- __export(chunk_TQCAD4LB_exports, {
29
+ var chunk_2CLHVJN7_exports = {};
30
+ __export(chunk_2CLHVJN7_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_TQCAD4LB_exports);
34
+ module.exports = __toCommonJS(chunk_2CLHVJN7_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_IZB6DOJJ = require("./chunk-IZB6DOJJ.js");
38
+ var import_chunk_AGQLNLYE = require("./chunk-AGQLNLYE.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
- var import_chunk_Q7TE2TEB = require("./chunk-Q7TE2TEB.js");
42
- var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
41
+ var import_chunk_O37OFT3W = require("./chunk-O37OFT3W.js");
42
+ var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
45
45
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_IZB6DOJJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_AGQLNLYE.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_Q7TE2TEB.prismaSchemaWasm.debug_panic();
75
+ import_chunk_O37OFT3W.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_Q7TE2TEB.prismaSchemaWasm.validate(params);
81
+ import_chunk_O37OFT3W.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -93,11 +93,11 @@ function validate(options) {
93
93
  const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
94
94
  debugErrorType(e);
95
95
  console.error("");
96
- if ((0, import_chunk_A4QWQE3W.isWasmPanic)(e.error)) {
97
- const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e.error);
96
+ if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
97
+ const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
98
98
  debug(`Error validating schema: ${message}`);
99
99
  debug(stack);
100
- const panic = new import_chunk_A4QWQE3W.RustPanic(
100
+ const panic = new import_chunk_ATFQZVBS.RustPanic(
101
101
  /* message */
102
102
  message,
103
103
  /* rustStack */
@@ -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_CHELWBGJ_exports = {};
20
- __export(chunk_CHELWBGJ_exports, {
19
+ var chunk_3BUJ76XG_exports = {};
20
+ __export(chunk_3BUJ76XG_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_CHELWBGJ_exports);
24
- var import_chunk_GABO6IUE = require("./chunk-GABO6IUE.js");
25
- var packageJson = (0, import_chunk_GABO6IUE.require_package)();
23
+ module.exports = __toCommonJS(chunk_3BUJ76XG_exports);
24
+ var import_chunk_EPF2VC52 = require("./chunk-EPF2VC52.js");
25
+ var packageJson = (0, import_chunk_EPF2VC52.require_package)();
26
26
  var version = packageJson.version;
@@ -26,8 +26,8 @@ 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_DPFQAPWU_exports = {};
30
- __export2(chunk_DPFQAPWU_exports, {
29
+ var chunk_4BIM67DA_exports = {};
30
+ __export2(chunk_4BIM67DA_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -54,7 +54,7 @@ __export2(chunk_DPFQAPWU_exports, {
54
54
  sendPanic: () => sendPanic,
55
55
  skipIndex: () => skipIndex
56
56
  });
57
- module.exports = __toCommonJS2(chunk_DPFQAPWU_exports);
57
+ module.exports = __toCommonJS2(chunk_4BIM67DA_exports);
58
58
  var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
59
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
60
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
@@ -79,18 +79,18 @@ var import_chunk_AC6EAR56 = require("./chunk-AC6EAR56.js");
79
79
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
80
80
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
81
81
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
82
- var import_chunk_BGRRWLCY = require("./chunk-BGRRWLCY.js");
83
- var import_chunk_WMCSNHUF = require("./chunk-WMCSNHUF.js");
84
- var import_chunk_OSFD4434 = require("./chunk-OSFD4434.js");
85
- var import_chunk_TDG5WQHD = require("./chunk-TDG5WQHD.js");
82
+ var import_chunk_UB7B3VT4 = require("./chunk-UB7B3VT4.js");
83
+ var import_chunk_FIAOONJQ = require("./chunk-FIAOONJQ.js");
84
+ var import_chunk_KJTSTIRI = require("./chunk-KJTSTIRI.js");
85
+ var import_chunk_ZP5B4U6D = require("./chunk-ZP5B4U6D.js");
86
86
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
87
87
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
88
- var import_chunk_Q7TE2TEB = require("./chunk-Q7TE2TEB.js");
89
- var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
88
+ var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
89
+ var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
90
90
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
91
91
  var import_chunk_GXDYIY4M = require("./chunk-GXDYIY4M.js");
92
92
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
93
- var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
93
+ var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.js");
94
94
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
95
95
  var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
96
96
  var import_chunk_IZ57EPVG = require("./chunk-IZ57EPVG.js");
@@ -14750,7 +14750,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14750
14750
  }
14751
14751
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14752
14752
  debug2("Loading config");
14753
- const config2 = await (0, import_chunk_OSFD4434.getConfig)({
14753
+ const config2 = await (0, import_chunk_KJTSTIRI.getConfig)({
14754
14754
  datamodel: files,
14755
14755
  ignoreEnvVarErrors: true
14756
14756
  });
@@ -15076,8 +15076,8 @@ async function checkUnsupportedDataProxyMessage(command, args, schemaPathFromCon
15076
15076
  if (argName.includes("schema")) {
15077
15077
  await loadEnvFile({ schemaPath: argValue, printMessage: false, config: (0, import_config.defaultTestConfig)() });
15078
15078
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
15079
- const config2 = await (0, import_chunk_OSFD4434.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15080
- const url = (0, import_chunk_OSFD4434.resolveUrl)((0, import_chunk_OSFD4434.getEffectiveUrl)(config2.datasources[0]));
15079
+ const config2 = await (0, import_chunk_KJTSTIRI.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15080
+ const url = (0, import_chunk_KJTSTIRI.resolveUrl)((0, import_chunk_KJTSTIRI.getEffectiveUrl)(config2.datasources[0]));
15081
15081
  if (url?.startsWith("prisma://")) {
15082
15082
  return forbiddenCmdWithDataProxyFlagMessage(command);
15083
15083
  }
@@ -15250,7 +15250,7 @@ async function getGenerators(options) {
15250
15250
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15251
15251
  }
15252
15252
  }
15253
- const config = await (0, import_chunk_OSFD4434.getConfig)({
15253
+ const config = await (0, import_chunk_KJTSTIRI.getConfig)({
15254
15254
  datamodel: schemas,
15255
15255
  datamodelPath: schemaPath,
15256
15256
  prismaPath,
@@ -15261,7 +15261,7 @@ async function getGenerators(options) {
15261
15261
  }
15262
15262
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15263
15263
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15264
- const dmmf = await (0, import_chunk_TDG5WQHD.getDMMF)({
15264
+ const dmmf = await (0, import_chunk_ZP5B4U6D.getDMMF)({
15265
15265
  datamodel: schemas,
15266
15266
  datamodelPath: schemaPath,
15267
15267
  prismaPath,
@@ -15292,7 +15292,7 @@ async function getGenerators(options) {
15292
15292
  paths2 = await generatorResolvers[providerValue](baseDir, cliVersion);
15293
15293
  generatorPath = paths2.generatorPath;
15294
15294
  }
15295
- const generatorInstance = new import_chunk_635TMBAP.Generator(generatorPath, generator, paths2?.isNode);
15295
+ const generatorInstance = new import_chunk_ZYW3HGSH.Generator(generatorPath, generator, paths2?.isNode);
15296
15296
  await generatorInstance.init();
15297
15297
  if (generator.output) {
15298
15298
  generator.output = {
@@ -15322,7 +15322,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15322
15322
  fromEnvVar: "null"
15323
15323
  };
15324
15324
  }
15325
- const datamodel = (0, import_chunk_WMCSNHUF.mergeSchemas)({ schemas });
15325
+ const datamodel = (0, import_chunk_FIAOONJQ.mergeSchemas)({ schemas });
15326
15326
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15327
15327
  const options2 = {
15328
15328
  datamodel,
@@ -15405,7 +15405,7 @@ generator gen {
15405
15405
  debug6({ generatorBinaryPaths });
15406
15406
  generator.setBinaryPaths(generatorBinaryPaths);
15407
15407
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15408
- const customDmmf = await (0, import_chunk_TDG5WQHD.getDMMF)({
15408
+ const customDmmf = await (0, import_chunk_ZP5B4U6D.getDMMF)({
15409
15409
  datamodel: schemas,
15410
15410
  datamodelPath: schemaPath,
15411
15411
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -15703,7 +15703,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15703
15703
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15704
15704
  handleFormatPanic(
15705
15705
  () => {
15706
- import_chunk_Q7TE2TEB.prismaSchemaWasm.debug_panic();
15706
+ import_chunk_M546VQV7.prismaSchemaWasm.debug_panic();
15707
15707
  },
15708
15708
  { schemas: schemas2 }
15709
15709
  );
@@ -15723,12 +15723,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15723
15723
  () => {
15724
15724
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15725
15725
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15726
- const lintDiagnostics2 = (0, import_chunk_BGRRWLCY.lintSchema)({ schemas: formattedMultipleSchemas2 });
15726
+ const lintDiagnostics2 = (0, import_chunk_UB7B3VT4.lintSchema)({ schemas: formattedMultipleSchemas2 });
15727
15727
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15728
15728
  },
15729
15729
  { schemas: schemas2 }
15730
15730
  );
15731
- const lintWarnings = (0, import_chunk_BGRRWLCY.getLintWarningsAsText)(lintDiagnostics);
15731
+ const lintWarnings = (0, import_chunk_UB7B3VT4.getLintWarningsAsText)(lintDiagnostics);
15732
15732
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15733
15733
  console.warn(lintWarnings);
15734
15734
  }
@@ -15738,10 +15738,10 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15738
15738
  try {
15739
15739
  return tryCb();
15740
15740
  } catch (e) {
15741
- const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e);
15741
+ const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e);
15742
15742
  debug7(`Error formatting schema: ${message}`);
15743
15743
  debug7(stack);
15744
- const panic = new import_chunk_A4QWQE3W.RustPanic(
15744
+ const panic = new import_chunk_ATFQZVBS.RustPanic(
15745
15745
  /* message */
15746
15746
  message,
15747
15747
  /* rustStack */
@@ -15758,7 +15758,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15758
15758
  }
15759
15759
  }
15760
15760
  function formatWasm(schema, documentFormattingParams) {
15761
- const formattedSchema = import_chunk_Q7TE2TEB.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15761
+ const formattedSchema = import_chunk_M546VQV7.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15762
15762
  return formattedSchema;
15763
15763
  }
15764
15764
  /*! Bundled license information:
@@ -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_SSELI7X6_exports = {};
30
- __export(chunk_SSELI7X6_exports, {
29
+ var chunk_6CEU2T4S_exports = {};
30
+ __export(chunk_6CEU2T4S_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_SSELI7X6_exports);
34
+ module.exports = __toCommonJS(chunk_6CEU2T4S_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_TUSGJ6GU = require("./chunk-TUSGJ6GU.js");
38
+ var import_chunk_AGQLNLYE = require("./chunk-AGQLNLYE.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
- var import_chunk_A7RZQY5A = require("./chunk-A7RZQY5A.js");
42
- var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
41
+ var import_chunk_O37OFT3W = require("./chunk-O37OFT3W.js");
42
+ var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
45
45
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: mergeSchemas]`;
63
- super((0, import_chunk_TUSGJ6GU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_AGQLNLYE.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "MergeSchemasError";
65
65
  }
66
66
  };
@@ -73,7 +73,7 @@ function mergeSchemas(options) {
73
73
  const params = JSON.stringify({
74
74
  schema: options.schemas
75
75
  });
76
- return import_chunk_A7RZQY5A.prismaSchemaWasm.merge_schemas(params);
76
+ return import_chunk_O37OFT3W.prismaSchemaWasm.merge_schemas(params);
77
77
  },
78
78
  (e) => ({
79
79
  type: "wasm-error",
@@ -88,11 +88,11 @@ function mergeSchemas(options) {
88
88
  const error = (0, import_chunk_XKZ6CBLA.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
89
89
  debugErrorType(e);
90
90
  console.error("");
91
- if ((0, import_chunk_A4QWQE3W.isWasmPanic)(e.error)) {
92
- const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e.error);
91
+ if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
92
+ const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
93
93
  debug(`Error merging schemas: ${message}`);
94
94
  debug(stack);
95
- const panic = new import_chunk_A4QWQE3W.RustPanic(
95
+ const panic = new import_chunk_ATFQZVBS.RustPanic(
96
96
  /* message */
97
97
  message,
98
98
  /* rustStack */
@@ -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_TUSGJ6GU_exports = {};
20
- __export(chunk_TUSGJ6GU_exports, {
19
+ var chunk_AGQLNLYE_exports = {};
20
+ __export(chunk_AGQLNLYE_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_TUSGJ6GU_exports);
24
- var import_chunk_HGEWBHJ5 = require("./chunk-HGEWBHJ5.js");
23
+ module.exports = __toCommonJS(chunk_AGQLNLYE_exports);
24
+ var import_chunk_YFBVJSFY = require("./chunk-YFBVJSFY.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_HGEWBHJ5.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_YFBVJSFY.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -16,19 +16,26 @@ 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_A4QWQE3W_exports = {};
20
- __export(chunk_A4QWQE3W_exports, {
19
+ var chunk_ATFQZVBS_exports = {};
20
+ __export(chunk_ATFQZVBS_exports, {
21
21
  ErrorArea: () => ErrorArea,
22
22
  RustPanic: () => RustPanic,
23
23
  getWasmError: () => getWasmError,
24
24
  isRustPanic: () => isRustPanic,
25
25
  isWasmPanic: () => isWasmPanic
26
26
  });
27
- module.exports = __toCommonJS(chunk_A4QWQE3W_exports);
27
+ module.exports = __toCommonJS(chunk_ATFQZVBS_exports);
28
+ var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
28
29
  var RustPanic = class extends Error {
29
30
  constructor(message, rustStack, request, area, schemaPath, schema, introspectionUrl) {
30
31
  super(message);
31
- this.__typename = "RustPanic";
32
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "__typename", "RustPanic");
33
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "request");
34
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "rustStack");
35
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "area");
36
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "schemaPath");
37
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "schema");
38
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "introspectionUrl");
32
39
  this.name = "RustPanic";
33
40
  this.rustStack = rustStack;
34
41
  this.request = request;
@@ -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_IZB6DOJJ_exports = {};
20
- __export(chunk_IZB6DOJJ_exports, {
19
+ var chunk_BOSKBIEW_exports = {};
20
+ __export(chunk_BOSKBIEW_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_IZB6DOJJ_exports);
24
- var import_chunk_CHELWBGJ = require("./chunk-CHELWBGJ.js");
23
+ module.exports = __toCommonJS(chunk_BOSKBIEW_exports);
24
+ var import_chunk_3BUJ76XG = require("./chunk-3BUJ76XG.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_CHELWBGJ.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_3BUJ76XG.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -16,14 +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_HOZFIXMD_exports = {};
20
- __export(chunk_HOZFIXMD_exports, {
19
+ var chunk_BPZFDGKN_exports = {};
20
+ __export(chunk_BPZFDGKN_exports, {
21
21
  WasmPanicRegistry: () => WasmPanicRegistry
22
22
  });
23
- module.exports = __toCommonJS(chunk_HOZFIXMD_exports);
23
+ module.exports = __toCommonJS(chunk_BPZFDGKN_exports);
24
+ var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
24
25
  var WasmPanicRegistry = class {
25
26
  constructor() {
26
- this.message = "";
27
+ (0, import_chunk_WWAWV7DQ.__publicField)(this, "message", "");
27
28
  }
28
29
  get() {
29
30
  return `${this.message}`;
@@ -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_NUGMMPL2_exports = {};
30
- __export(chunk_NUGMMPL2_exports, {
29
+ var chunk_DQGTDMKZ_exports = {};
30
+ __export(chunk_DQGTDMKZ_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_NUGMMPL2_exports);
34
+ module.exports = __toCommonJS(chunk_DQGTDMKZ_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_TUSGJ6GU = require("./chunk-TUSGJ6GU.js");
38
+ var import_chunk_BOSKBIEW = require("./chunk-BOSKBIEW.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
- var import_chunk_A7RZQY5A = require("./chunk-A7RZQY5A.js");
42
- var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
41
+ var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
42
+ var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
45
45
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_TUSGJ6GU.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_BOSKBIEW.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_A7RZQY5A.prismaSchemaWasm.debug_panic();
75
+ import_chunk_M546VQV7.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_A7RZQY5A.prismaSchemaWasm.validate(params);
81
+ import_chunk_M546VQV7.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -93,11 +93,11 @@ function validate(options) {
93
93
  const error = (0, import_chunk_XKZ6CBLA.z)(validateEither.left).with({ type: "wasm-error" }, (e) => {
94
94
  debugErrorType(e);
95
95
  console.error("");
96
- if ((0, import_chunk_A4QWQE3W.isWasmPanic)(e.error)) {
97
- const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e.error);
96
+ if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
97
+ const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
98
98
  debug(`Error validating schema: ${message}`);
99
99
  debug(stack);
100
- const panic = new import_chunk_A4QWQE3W.RustPanic(
100
+ const panic = new import_chunk_ATFQZVBS.RustPanic(
101
101
  /* message */
102
102
  message,
103
103
  /* rustStack */
@@ -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_GABO6IUE_exports = {};
20
- __export(chunk_GABO6IUE_exports, {
19
+ var chunk_EPF2VC52_exports = {};
20
+ __export(chunk_EPF2VC52_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_GABO6IUE_exports);
23
+ module.exports = __toCommonJS(chunk_EPF2VC52_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) {
@@ -64,7 +64,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
64
64
  "@types/resolve": "1.20.6",
65
65
  archiver: "6.0.2",
66
66
  "checkpoint-client": "1.1.33",
67
- "cli-truncate": "2.1.0",
67
+ "cli-truncate": "4.0.0",
68
68
  dotenv: "16.4.7",
69
69
  esbuild: "0.24.2",
70
70
  "escape-string-regexp": "4.0.0",
@@ -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": "6.5.0-39.84310176c3f15859928b573ea73f2c1ec30188eb",
114
+ "@prisma/prisma-schema-wasm": "6.5.0-42.ebe92748df38ea968da11e62e111f2596014342a",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -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_WMCSNHUF_exports = {};
30
- __export(chunk_WMCSNHUF_exports, {
29
+ var chunk_FIAOONJQ_exports = {};
30
+ __export(chunk_FIAOONJQ_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_WMCSNHUF_exports);
34
+ module.exports = __toCommonJS(chunk_FIAOONJQ_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_IZB6DOJJ = require("./chunk-IZB6DOJJ.js");
38
+ var import_chunk_BOSKBIEW = require("./chunk-BOSKBIEW.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
- var import_chunk_Q7TE2TEB = require("./chunk-Q7TE2TEB.js");
42
- var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
41
+ var import_chunk_M546VQV7 = require("./chunk-M546VQV7.js");
42
+ var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
45
45
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: mergeSchemas]`;
63
- super((0, import_chunk_IZB6DOJJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_BOSKBIEW.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "MergeSchemasError";
65
65
  }
66
66
  };
@@ -73,7 +73,7 @@ function mergeSchemas(options) {
73
73
  const params = JSON.stringify({
74
74
  schema: options.schemas
75
75
  });
76
- return import_chunk_Q7TE2TEB.prismaSchemaWasm.merge_schemas(params);
76
+ return import_chunk_M546VQV7.prismaSchemaWasm.merge_schemas(params);
77
77
  },
78
78
  (e) => ({
79
79
  type: "wasm-error",
@@ -88,11 +88,11 @@ function mergeSchemas(options) {
88
88
  const error = (0, import_chunk_XKZ6CBLA.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
89
89
  debugErrorType(e);
90
90
  console.error("");
91
- if ((0, import_chunk_A4QWQE3W.isWasmPanic)(e.error)) {
92
- const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e.error);
91
+ if ((0, import_chunk_ATFQZVBS.isWasmPanic)(e.error)) {
92
+ const { message, stack } = (0, import_chunk_ATFQZVBS.getWasmError)(e.error);
93
93
  debug(`Error merging schemas: ${message}`);
94
94
  debug(stack);
95
- const panic = new import_chunk_A4QWQE3W.RustPanic(
95
+ const panic = new import_chunk_ATFQZVBS.RustPanic(
96
96
  /* message */
97
97
  message,
98
98
  /* rustStack */
@@ -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_HRNIB5ZF_exports = {};
20
- __export(chunk_HRNIB5ZF_exports, {
19
+ var chunk_HKQAB33T_exports = {};
20
+ __export(chunk_HKQAB33T_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_HRNIB5ZF_exports);
23
+ module.exports = __toCommonJS(chunk_HKQAB33T_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: "6.5.0-integration-feat-prisma-config-without-new-package.5",
29
+ version: "6.5.0-integration-feat-prisma-config-without-new-package.7",
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",
@@ -64,7 +64,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
64
64
  "@types/resolve": "1.20.6",
65
65
  archiver: "6.0.2",
66
66
  "checkpoint-client": "1.1.33",
67
- "cli-truncate": "2.1.0",
67
+ "cli-truncate": "4.0.0",
68
68
  dotenv: "16.4.7",
69
69
  esbuild: "0.24.2",
70
70
  "escape-string-regexp": "4.0.0",
@@ -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": "6.5.0-39.84310176c3f15859928b573ea73f2c1ec30188eb",
114
+ "@prisma/prisma-schema-wasm": "6.5.0-42.ebe92748df38ea968da11e62e111f2596014342a",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"