@prisma/internals 6.18.0-integration-engines-6-18-0-4-feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d.1 → 6.18.0-integration-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/{chunk-DVNWAMC5.js → chunk-5Y2VZXHM.js} +5 -5
  2. package/dist/{chunk-NFHT4CWJ.js → chunk-AICO6YSC.js} +8 -8
  3. package/dist/{chunk-IUWAXZM7.js → chunk-AZSDENCI.js} +8 -8
  4. package/dist/{chunk-5RMEA35Q.js → chunk-BTILGNVN.js} +5 -5
  5. package/dist/{chunk-PQXY2K2B.js → chunk-CRDJHDIS.js} +7 -7
  6. package/dist/{chunk-AP7JEDZE.js → chunk-EPKBIM7S.js} +8 -8
  7. package/dist/{chunk-YAKYF4UU.js → chunk-EZTMS3VJ.js} +8 -8
  8. package/dist/{chunk-226IQSTB.js → chunk-GS2X232L.js} +5 -5
  9. package/dist/{chunk-HFFWZTVM.js → chunk-GSH4BXBI.js} +4 -6
  10. package/dist/{chunk-75CO3UMJ.js → chunk-I6MHLDKN.js} +8 -8
  11. package/dist/{chunk-FZZRKDSU.js → chunk-JJ7CHWDY.js} +7 -7
  12. package/dist/{chunk-UQUWZJVN.js → chunk-KIFFN3IT.js} +5 -5
  13. package/dist/{chunk-D7Q5DPMX.js → chunk-LYRYTQ4P.js} +5 -5
  14. package/dist/{chunk-37VYRERR.js → chunk-MVCV57FY.js} +7 -7
  15. package/dist/{chunk-2WBVNTVU.js → chunk-OIGK7J45.js} +5 -5
  16. package/dist/{chunk-R53GYI47.js → chunk-ONMYIKWZ.js} +8 -8
  17. package/dist/{chunk-SCS5VIHS.js → chunk-QKTJWXPR.js} +8 -8
  18. package/dist/{chunk-6XYSAFAI.js → chunk-VJICLPSN.js} +17 -17
  19. package/dist/{chunk-JCJEPJSB.js → chunk-WZ4APOEX.js} +5 -5
  20. package/dist/{chunk-6TZTN4CV.js → chunk-X7LBZIRH.js} +5 -5
  21. package/dist/{chunk-QYKT7WXR.js → chunk-YOKPHQTL.js} +5 -5
  22. package/dist/{chunk-OWUYXVQL.js → chunk-YTUBTW5L.js} +17 -17
  23. package/dist/cli/checkUnsupportedDataProxy.js +14 -14
  24. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +14 -14
  25. package/dist/cli/schemaContext.js +14 -14
  26. package/dist/engine-commands/errorHelpers.js +4 -4
  27. package/dist/engine-commands/formatSchema.js +13 -13
  28. package/dist/engine-commands/getConfig.js +10 -10
  29. package/dist/engine-commands/getDmmf.js +7 -7
  30. package/dist/engine-commands/index.js +22 -22
  31. package/dist/engine-commands/lintSchema.js +8 -8
  32. package/dist/engine-commands/mergeSchemas.js +7 -7
  33. package/dist/engine-commands/validate.js +7 -7
  34. package/dist/get-generators/getGenerators.js +16 -16
  35. package/dist/index.js +35 -35
  36. package/dist/sendPanic.js +2 -2
  37. package/dist/utils/getVersionFromPackageJson.js +3 -3
  38. package/dist/utils/handlePanic.js +3 -3
  39. package/dist/wasm.js +5 -5
  40. package/package.json +15 -15
@@ -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_DVNWAMC5_exports = {};
30
- __export(chunk_DVNWAMC5_exports, {
29
+ var chunk_5Y2VZXHM_exports = {};
30
+ __export(chunk_5Y2VZXHM_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  schemaEngineWasmVersion: () => schemaEngineWasmVersion,
34
34
  wasm_exports: () => wasm_exports
35
35
  });
36
- module.exports = __toCommonJS(chunk_DVNWAMC5_exports);
37
- var import_chunk_R53GYI47 = require("./chunk-R53GYI47.js");
36
+ module.exports = __toCommonJS(chunk_5Y2VZXHM_exports);
37
+ var import_chunk_ONMYIKWZ = require("./chunk-ONMYIKWZ.js");
38
38
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -46,6 +46,6 @@ var wasm_exports = {};
46
46
  });
47
47
  var globalWithPanicRegistry = globalThis;
48
48
  globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
49
- var { dependencies } = (0, import_chunk_R53GYI47.require_package)();
49
+ var { dependencies } = (0, import_chunk_ONMYIKWZ.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -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_NFHT4CWJ_exports = {};
30
- __export(chunk_NFHT4CWJ_exports, {
29
+ var chunk_AICO6YSC_exports = {};
30
+ __export(chunk_AICO6YSC_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_NFHT4CWJ_exports);
34
+ module.exports = __toCommonJS(chunk_AICO6YSC_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_226IQSTB = require("./chunk-226IQSTB.js");
38
- var import_chunk_DVNWAMC5 = require("./chunk-DVNWAMC5.js");
37
+ var import_chunk_LYRYTQ4P = require("./chunk-LYRYTQ4P.js");
38
+ var import_chunk_BTILGNVN = require("./chunk-BTILGNVN.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_226IQSTB.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_LYRYTQ4P.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_DVNWAMC5.prismaSchemaWasm.debug_panic();
73
+ import_chunk_BTILGNVN.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_DVNWAMC5.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_BTILGNVN.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -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_IUWAXZM7_exports = {};
30
- __export(chunk_IUWAXZM7_exports, {
29
+ var chunk_AZSDENCI_exports = {};
30
+ __export(chunk_AZSDENCI_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_IUWAXZM7_exports);
34
+ module.exports = __toCommonJS(chunk_AZSDENCI_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_D7Q5DPMX = require("./chunk-D7Q5DPMX.js");
38
- var import_chunk_5RMEA35Q = require("./chunk-5RMEA35Q.js");
37
+ var import_chunk_GS2X232L = require("./chunk-GS2X232L.js");
38
+ var import_chunk_5Y2VZXHM = require("./chunk-5Y2VZXHM.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_D7Q5DPMX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_GS2X232L.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_5RMEA35Q.prismaSchemaWasm.debug_panic();
73
+ import_chunk_5Y2VZXHM.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_5RMEA35Q.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_5Y2VZXHM.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_5RMEA35Q_exports = {};
30
- __export(chunk_5RMEA35Q_exports, {
29
+ var chunk_BTILGNVN_exports = {};
30
+ __export(chunk_BTILGNVN_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  schemaEngineWasmVersion: () => schemaEngineWasmVersion,
34
34
  wasm_exports: () => wasm_exports
35
35
  });
36
- module.exports = __toCommonJS(chunk_5RMEA35Q_exports);
37
- var import_chunk_FZZRKDSU = require("./chunk-FZZRKDSU.js");
36
+ module.exports = __toCommonJS(chunk_BTILGNVN_exports);
37
+ var import_chunk_JJ7CHWDY = require("./chunk-JJ7CHWDY.js");
38
38
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
39
39
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
40
40
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -46,6 +46,6 @@ var wasm_exports = {};
46
46
  });
47
47
  var globalWithPanicRegistry = globalThis;
48
48
  globalWithPanicRegistry.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
49
- var { dependencies } = (0, import_chunk_FZZRKDSU.require_package)();
49
+ var { dependencies } = (0, import_chunk_JJ7CHWDY.require_package)();
50
50
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
51
51
  var schemaEngineWasmVersion = dependencies["@prisma/schema-engine-wasm"];
@@ -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_PQXY2K2B_exports = {};
30
- __export(chunk_PQXY2K2B_exports, {
29
+ var chunk_CRDJHDIS_exports = {};
30
+ __export(chunk_CRDJHDIS_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_PQXY2K2B_exports);
34
+ module.exports = __toCommonJS(chunk_CRDJHDIS_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_D7Q5DPMX = require("./chunk-D7Q5DPMX.js");
39
- var import_chunk_5RMEA35Q = require("./chunk-5RMEA35Q.js");
38
+ var import_chunk_GS2X232L = require("./chunk-GS2X232L.js");
39
+ var import_chunk_5Y2VZXHM = require("./chunk-5Y2VZXHM.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_D7Q5DPMX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_GS2X232L.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_5RMEA35Q.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_5Y2VZXHM.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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_AP7JEDZE_exports = {};
30
- __export(chunk_AP7JEDZE_exports, {
29
+ var chunk_EPKBIM7S_exports = {};
30
+ __export(chunk_EPKBIM7S_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_AP7JEDZE_exports);
34
+ module.exports = __toCommonJS(chunk_EPKBIM7S_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_D7Q5DPMX = require("./chunk-D7Q5DPMX.js");
39
- var import_chunk_5RMEA35Q = require("./chunk-5RMEA35Q.js");
38
+ var import_chunk_GS2X232L = require("./chunk-GS2X232L.js");
39
+ var import_chunk_5Y2VZXHM = require("./chunk-5Y2VZXHM.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_D7Q5DPMX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_GS2X232L.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_5RMEA35Q.prismaSchemaWasm.debug_panic();
74
+ import_chunk_5Y2VZXHM.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_5RMEA35Q.prismaSchemaWasm.validate(params);
80
+ import_chunk_5Y2VZXHM.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -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_YAKYF4UU_exports = {};
30
- __export(chunk_YAKYF4UU_exports, {
29
+ var chunk_EZTMS3VJ_exports = {};
30
+ __export(chunk_EZTMS3VJ_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_YAKYF4UU_exports);
34
+ module.exports = __toCommonJS(chunk_EZTMS3VJ_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_226IQSTB = require("./chunk-226IQSTB.js");
39
- var import_chunk_DVNWAMC5 = require("./chunk-DVNWAMC5.js");
38
+ var import_chunk_LYRYTQ4P = require("./chunk-LYRYTQ4P.js");
39
+ var import_chunk_BTILGNVN = require("./chunk-BTILGNVN.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_226IQSTB.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_LYRYTQ4P.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_DVNWAMC5.prismaSchemaWasm.debug_panic();
74
+ import_chunk_BTILGNVN.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_DVNWAMC5.prismaSchemaWasm.validate(params);
80
+ import_chunk_BTILGNVN.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_226IQSTB_exports = {};
20
- __export(chunk_226IQSTB_exports, {
19
+ var chunk_GS2X232L_exports = {};
20
+ __export(chunk_GS2X232L_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_226IQSTB_exports);
24
- var import_chunk_2WBVNTVU = require("./chunk-2WBVNTVU.js");
23
+ module.exports = __toCommonJS(chunk_GS2X232L_exports);
24
+ var import_chunk_WZ4APOEX = require("./chunk-WZ4APOEX.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_2WBVNTVU.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_WZ4APOEX.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -26,11 +26,11 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_HFFWZTVM_exports = {};
30
- __export(chunk_HFFWZTVM_exports, {
29
+ var chunk_GSH4BXBI_exports = {};
30
+ __export(chunk_GSH4BXBI_exports, {
31
31
  sendPanic: () => sendPanic
32
32
  });
33
- module.exports = __toCommonJS(chunk_HFFWZTVM_exports);
33
+ module.exports = __toCommonJS(chunk_GSH4BXBI_exports);
34
34
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
35
35
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
36
36
  var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
@@ -1813,9 +1813,7 @@ async function sendPanic({
1813
1813
  return id;
1814
1814
  }
1815
1815
  function getCommand() {
1816
- if (process.argv[2] === "introspect") {
1817
- return "introspect";
1818
- } else if (process.argv[2] === "db" && process.argv[3] === "pull") {
1816
+ if (process.argv[2] === "db" && process.argv[3] === "pull") {
1819
1817
  return "db pull";
1820
1818
  }
1821
1819
  return process.argv.slice(2).join(" ");
@@ -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_75CO3UMJ_exports = {};
30
- __export(chunk_75CO3UMJ_exports, {
29
+ var chunk_I6MHLDKN_exports = {};
30
+ __export(chunk_I6MHLDKN_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_75CO3UMJ_exports);
37
+ module.exports = __toCommonJS(chunk_I6MHLDKN_exports);
38
38
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
39
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
40
40
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
41
- var import_chunk_226IQSTB = require("./chunk-226IQSTB.js");
42
- var import_chunk_DVNWAMC5 = require("./chunk-DVNWAMC5.js");
41
+ var import_chunk_LYRYTQ4P = require("./chunk-LYRYTQ4P.js");
42
+ var import_chunk_BTILGNVN = require("./chunk-BTILGNVN.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_226IQSTB.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_LYRYTQ4P.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_DVNWAMC5.prismaSchemaWasm.debug_panic();
92
+ import_chunk_BTILGNVN.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_DVNWAMC5.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_BTILGNVN.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -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_FZZRKDSU_exports = {};
20
- __export(chunk_FZZRKDSU_exports, {
19
+ var chunk_JJ7CHWDY_exports = {};
20
+ __export(chunk_JJ7CHWDY_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_FZZRKDSU_exports);
23
+ module.exports = __toCommonJS(chunk_JJ7CHWDY_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "18.19.76",
62
+ "@types/node": "~20.19.0",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -109,14 +109,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
109
  "@prisma/generator": "workspace:*",
110
110
  "@prisma/generator-helper": "workspace:*",
111
111
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.18.0-4.feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d",
113
- "@prisma/schema-engine-wasm": "6.18.0-4.feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d",
112
+ "@prisma/prisma-schema-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
113
+ "@prisma/schema-engine-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
114
114
  "@prisma/schema-files-loader": "workspace:*",
115
115
  arg: "5.0.2",
116
116
  prompts: "2.4.2"
117
117
  },
118
118
  peerDependencies: {
119
- typescript: ">=5.1.0"
119
+ typescript: ">=5.4.0"
120
120
  },
121
121
  peerDependenciesMeta: {
122
122
  typescript: {
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_UQUWZJVN_exports = {};
30
- __export(chunk_UQUWZJVN_exports, {
29
+ var chunk_KIFFN3IT_exports = {};
30
+ __export(chunk_KIFFN3IT_exports, {
31
31
  handlePanic: () => handlePanic
32
32
  });
33
- module.exports = __toCommonJS(chunk_UQUWZJVN_exports);
33
+ module.exports = __toCommonJS(chunk_KIFFN3IT_exports);
34
34
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
35
35
  var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
36
36
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
37
- var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
37
+ var import_chunk_GSH4BXBI = require("./chunk-GSH4BXBI.js");
38
38
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
39
39
  var import_prompts = __toESM(require("prompts"));
40
40
  async function handlePanic(args) {
@@ -79,7 +79,7 @@ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)(
79
79
  if (shouldSubmitReport) {
80
80
  try {
81
81
  console.log("Submitting...");
82
- const reportId = await (0, import_chunk_HFFWZTVM.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
82
+ const reportId = await (0, import_chunk_GSH4BXBI.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
83
83
  console.log(`
84
84
  ${(0, import_chunk_PG5FDKSF.bold)(`We successfully received the error report id: ${reportId}`)}`);
85
85
  console.log(`
@@ -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_D7Q5DPMX_exports = {};
20
- __export(chunk_D7Q5DPMX_exports, {
19
+ var chunk_LYRYTQ4P_exports = {};
20
+ __export(chunk_LYRYTQ4P_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_D7Q5DPMX_exports);
24
- var import_chunk_JCJEPJSB = require("./chunk-JCJEPJSB.js");
23
+ module.exports = __toCommonJS(chunk_LYRYTQ4P_exports);
24
+ var import_chunk_OIGK7J45 = require("./chunk-OIGK7J45.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_JCJEPJSB.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_OIGK7J45.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_37VYRERR_exports = {};
30
- __export(chunk_37VYRERR_exports, {
29
+ var chunk_MVCV57FY_exports = {};
30
+ __export(chunk_MVCV57FY_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_37VYRERR_exports);
34
+ module.exports = __toCommonJS(chunk_MVCV57FY_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_226IQSTB = require("./chunk-226IQSTB.js");
39
- var import_chunk_DVNWAMC5 = require("./chunk-DVNWAMC5.js");
38
+ var import_chunk_LYRYTQ4P = require("./chunk-LYRYTQ4P.js");
39
+ var import_chunk_BTILGNVN = require("./chunk-BTILGNVN.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_226IQSTB.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_LYRYTQ4P.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_DVNWAMC5.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_BTILGNVN.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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_2WBVNTVU_exports = {};
20
- __export(chunk_2WBVNTVU_exports, {
19
+ var chunk_OIGK7J45_exports = {};
20
+ __export(chunk_OIGK7J45_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_2WBVNTVU_exports);
24
- var import_chunk_R53GYI47 = require("./chunk-R53GYI47.js");
25
- var packageJson = (0, import_chunk_R53GYI47.require_package)();
23
+ module.exports = __toCommonJS(chunk_OIGK7J45_exports);
24
+ var import_chunk_JJ7CHWDY = require("./chunk-JJ7CHWDY.js");
25
+ var packageJson = (0, import_chunk_JJ7CHWDY.require_package)();
26
26
  var version = packageJson.version;
@@ -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_R53GYI47_exports = {};
20
- __export(chunk_R53GYI47_exports, {
19
+ var chunk_ONMYIKWZ_exports = {};
20
+ __export(chunk_ONMYIKWZ_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_R53GYI47_exports);
23
+ module.exports = __toCommonJS(chunk_ONMYIKWZ_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.18.0-integration-engines-6-18-0-4-feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d.1",
29
+ version: "6.18.0-integration-next.4",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -59,7 +59,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "@swc/jest": "0.2.37",
60
60
  "@types/babel__helper-validator-identifier": "7.15.2",
61
61
  "@types/jest": "29.5.14",
62
- "@types/node": "18.19.76",
62
+ "@types/node": "~20.19.0",
63
63
  "@types/resolve": "1.20.6",
64
64
  archiver: "6.0.2",
65
65
  "checkpoint-client": "1.1.33",
@@ -109,14 +109,14 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
109
109
  "@prisma/generator": "workspace:*",
110
110
  "@prisma/generator-helper": "workspace:*",
111
111
  "@prisma/get-platform": "workspace:*",
112
- "@prisma/prisma-schema-wasm": "6.18.0-4.feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d",
113
- "@prisma/schema-engine-wasm": "6.18.0-4.feat-add-support-for-engine-classic-in-prisma-config-da603da4185d9c3eb64b34263855d188e20cf10d",
112
+ "@prisma/prisma-schema-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
113
+ "@prisma/schema-engine-wasm": "6.18.0-2.ba2627112b75424f26505fb83167ce78db40fc57",
114
114
  "@prisma/schema-files-loader": "workspace:*",
115
115
  arg: "5.0.2",
116
116
  prompts: "2.4.2"
117
117
  },
118
118
  peerDependencies: {
119
- typescript: ">=5.1.0"
119
+ typescript: ">=5.4.0"
120
120
  },
121
121
  peerDependenciesMeta: {
122
122
  typescript: {
@@ -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_SCS5VIHS_exports = {};
30
- __export(chunk_SCS5VIHS_exports, {
29
+ var chunk_QKTJWXPR_exports = {};
30
+ __export(chunk_QKTJWXPR_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_SCS5VIHS_exports);
37
+ module.exports = __toCommonJS(chunk_QKTJWXPR_exports);
38
38
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
39
39
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
40
40
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
41
- var import_chunk_D7Q5DPMX = require("./chunk-D7Q5DPMX.js");
42
- var import_chunk_5RMEA35Q = require("./chunk-5RMEA35Q.js");
41
+ var import_chunk_GS2X232L = require("./chunk-GS2X232L.js");
42
+ var import_chunk_5Y2VZXHM = require("./chunk-5Y2VZXHM.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_D7Q5DPMX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_GS2X232L.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_5RMEA35Q.prismaSchemaWasm.debug_panic();
92
+ import_chunk_5Y2VZXHM.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_5RMEA35Q.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_5Y2VZXHM.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({