@prisma/internals 6.5.0-integration-fix-dynamic-libsql-import.1 → 6.5.0-integration-engines-6-5-0-49-integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{chunk-33USI2JL.js → chunk-36QGARHD.js} +5 -5
  2. package/dist/{chunk-KBMKMZOZ.js → chunk-4ZOZP5VN.js} +8 -8
  3. package/dist/{chunk-GC26PF2L.js → chunk-6NRLPR7H.js} +8 -8
  4. package/dist/{chunk-2DQDHSO2.js → chunk-7PMGXRO2.js} +7 -7
  5. package/dist/{chunk-HNI6G662.js → chunk-CDWBFRLF.js} +8 -8
  6. package/dist/{chunk-EAABD5QN.js → chunk-CKPQ4ETJ.js} +19 -19
  7. package/dist/{chunk-3UD2IXSQ.js → chunk-DU7EG3UB.js} +8 -8
  8. package/dist/{chunk-3OLU32Z4.js → chunk-FHF3TR6L.js} +4 -4
  9. package/dist/{chunk-ZRU2QEHS.js → chunk-FM3WYRXR.js} +5 -5
  10. package/dist/{chunk-LUTN7W4T.js → chunk-FMUHZCTQ.js} +5 -5
  11. package/dist/{chunk-FE632PA3.js → chunk-I7RXZEP7.js} +5 -5
  12. package/dist/{chunk-RRBS6H2H.js → chunk-K6EKC3SH.js} +5 -5
  13. package/dist/{chunk-4ZQNHAY3.js → chunk-KNUTNQ2N.js} +5 -5
  14. package/dist/{chunk-WOPSY7OG.js → chunk-LZCHJMAZ.js} +5 -5
  15. package/dist/{chunk-MJQPTATW.js → chunk-MTSJMZF6.js} +19 -19
  16. package/dist/{chunk-6MPD2H5E.js → chunk-NFNGXDPR.js} +8 -8
  17. package/dist/{chunk-YU7WPISP.js → chunk-O23UJMH5.js} +8 -8
  18. package/dist/{chunk-RRMS6OEY.js → chunk-U2RPH3KF.js} +7 -7
  19. package/dist/{chunk-YFMNW3T3.js → chunk-WYGKDIGF.js} +5 -5
  20. package/dist/{chunk-IODEM2KB.js → chunk-YDPMI2CA.js} +5 -5
  21. package/dist/cli/checkUnsupportedDataProxy.js +12 -12
  22. package/dist/cli/getSchema.js +16 -16
  23. package/dist/cli/hashes.js +12 -12
  24. package/dist/engine-commands/errorHelpers.js +4 -4
  25. package/dist/engine-commands/formatSchema.js +11 -11
  26. package/dist/engine-commands/getConfig.js +10 -10
  27. package/dist/engine-commands/getDmmf.js +7 -7
  28. package/dist/engine-commands/index.js +20 -20
  29. package/dist/engine-commands/lintSchema.js +8 -8
  30. package/dist/engine-commands/mergeSchemas.js +7 -7
  31. package/dist/engine-commands/validate.js +7 -7
  32. package/dist/get-generators/generatorResolvers/generatorResolvers.js +11 -11
  33. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +11 -11
  34. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +12 -12
  35. package/dist/get-generators/getGenerators.js +14 -14
  36. package/dist/index.js +39 -39
  37. package/dist/sendPanic.js +11 -11
  38. package/dist/utils/getEnvPaths.js +11 -11
  39. package/dist/utils/getVersionFromPackageJson.js +3 -3
  40. package/dist/utils/handlePanic.js +11 -11
  41. package/dist/utils/loadEnvFile.js +11 -11
  42. package/dist/wasm.js +4 -4
  43. package/package.json +9 -9
@@ -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_33USI2JL_exports = {};
20
- __export(chunk_33USI2JL_exports, {
19
+ var chunk_36QGARHD_exports = {};
20
+ __export(chunk_36QGARHD_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_33USI2JL_exports);
24
- var import_chunk_3OLU32Z4 = require("./chunk-3OLU32Z4.js");
25
- var packageJson = (0, import_chunk_3OLU32Z4.require_package)();
23
+ module.exports = __toCommonJS(chunk_36QGARHD_exports);
24
+ var import_chunk_FHF3TR6L = require("./chunk-FHF3TR6L.js");
25
+ var packageJson = (0, import_chunk_FHF3TR6L.require_package)();
26
26
  var version = packageJson.version;
@@ -26,22 +26,22 @@ 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_KBMKMZOZ_exports = {};
30
- __export(chunk_KBMKMZOZ_exports, {
29
+ var chunk_4ZOZP5VN_exports = {};
30
+ __export(chunk_4ZOZP5VN_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_KBMKMZOZ_exports);
37
+ module.exports = __toCommonJS(chunk_4ZOZP5VN_exports);
38
38
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
39
39
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_FE632PA3 = require("./chunk-FE632PA3.js");
41
+ var import_chunk_I7RXZEP7 = require("./chunk-I7RXZEP7.js");
42
42
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
43
43
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
44
- var import_chunk_WOPSY7OG = require("./chunk-WOPSY7OG.js");
44
+ var import_chunk_LZCHJMAZ = require("./chunk-LZCHJMAZ.js");
45
45
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
46
46
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
47
47
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -65,7 +65,7 @@ ${detailsHeader} ${message}`;
65
65
  }).exhaustive();
66
66
  const errorMessageWithContext = `${constructedErrorMessage}
67
67
  [Context: getConfig]`;
68
- super((0, import_chunk_FE632PA3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
+ super((0, import_chunk_I7RXZEP7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
69
69
  this.name = "GetConfigError";
70
70
  }
71
71
  };
@@ -90,7 +90,7 @@ async function getConfig(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_WOPSY7OG.prismaSchemaWasm.debug_panic();
93
+ import_chunk_LZCHJMAZ.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: options.datamodel,
@@ -98,7 +98,7 @@ async function getConfig(options) {
98
98
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
99
99
  env: process.env
100
100
  });
101
- const data = import_chunk_WOPSY7OG.prismaSchemaWasm.get_config(params);
101
+ const data = import_chunk_LZCHJMAZ.prismaSchemaWasm.get_config(params);
102
102
  return data;
103
103
  },
104
104
  (e) => ({
@@ -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_GC26PF2L_exports = {};
30
- __export(chunk_GC26PF2L_exports, {
29
+ var chunk_6NRLPR7H_exports = {};
30
+ __export(chunk_6NRLPR7H_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_GC26PF2L_exports);
34
+ module.exports = __toCommonJS(chunk_6NRLPR7H_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_FE632PA3 = require("./chunk-FE632PA3.js");
38
+ var import_chunk_I7RXZEP7 = require("./chunk-I7RXZEP7.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_WOPSY7OG = require("./chunk-WOPSY7OG.js");
41
+ var import_chunk_LZCHJMAZ = require("./chunk-LZCHJMAZ.js");
42
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");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_FE632PA3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_I7RXZEP7.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_WOPSY7OG.prismaSchemaWasm.debug_panic();
75
+ import_chunk_LZCHJMAZ.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_WOPSY7OG.prismaSchemaWasm.validate(params);
81
+ import_chunk_LZCHJMAZ.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -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_2DQDHSO2_exports = {};
30
- __export(chunk_2DQDHSO2_exports, {
29
+ var chunk_7PMGXRO2_exports = {};
30
+ __export(chunk_7PMGXRO2_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_2DQDHSO2_exports);
34
+ module.exports = __toCommonJS(chunk_7PMGXRO2_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_FE632PA3 = require("./chunk-FE632PA3.js");
38
+ var import_chunk_I7RXZEP7 = require("./chunk-I7RXZEP7.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_WOPSY7OG = require("./chunk-WOPSY7OG.js");
41
+ var import_chunk_LZCHJMAZ = require("./chunk-LZCHJMAZ.js");
42
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");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: mergeSchemas]`;
63
- super((0, import_chunk_FE632PA3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_I7RXZEP7.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_WOPSY7OG.prismaSchemaWasm.merge_schemas(params);
76
+ return import_chunk_LZCHJMAZ.prismaSchemaWasm.merge_schemas(params);
77
77
  },
78
78
  (e) => ({
79
79
  type: "wasm-error",
@@ -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_HNI6G662_exports = {};
30
- __export(chunk_HNI6G662_exports, {
29
+ var chunk_CDWBFRLF_exports = {};
30
+ __export(chunk_CDWBFRLF_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_HNI6G662_exports);
34
+ module.exports = __toCommonJS(chunk_CDWBFRLF_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
- var import_chunk_RRBS6H2H = require("./chunk-RRBS6H2H.js");
37
+ var import_chunk_K6EKC3SH = require("./chunk-K6EKC3SH.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_IODEM2KB = require("./chunk-IODEM2KB.js");
40
+ var import_chunk_YDPMI2CA = require("./chunk-YDPMI2CA.js");
41
41
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.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_RRBS6H2H.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_K6EKC3SH.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_IODEM2KB.prismaSchemaWasm.debug_panic();
93
+ import_chunk_YDPMI2CA.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_IODEM2KB.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_YDPMI2CA.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -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_EAABD5QN_exports = {};
30
- __export2(chunk_EAABD5QN_exports, {
29
+ var chunk_CKPQ4ETJ_exports = {};
30
+ __export2(chunk_CKPQ4ETJ_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -54,7 +54,7 @@ __export2(chunk_EAABD5QN_exports, {
54
54
  sendPanic: () => sendPanic,
55
55
  skipIndex: () => skipIndex
56
56
  });
57
- module.exports = __toCommonJS2(chunk_EAABD5QN_exports);
57
+ module.exports = __toCommonJS2(chunk_CKPQ4ETJ_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,13 +79,13 @@ 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_YFMNW3T3 = require("./chunk-YFMNW3T3.js");
83
- var import_chunk_RRMS6OEY = require("./chunk-RRMS6OEY.js");
84
- var import_chunk_YU7WPISP = require("./chunk-YU7WPISP.js");
85
- var import_chunk_HNI6G662 = require("./chunk-HNI6G662.js");
82
+ var import_chunk_WYGKDIGF = require("./chunk-WYGKDIGF.js");
83
+ var import_chunk_U2RPH3KF = require("./chunk-U2RPH3KF.js");
84
+ var import_chunk_O23UJMH5 = require("./chunk-O23UJMH5.js");
85
+ var import_chunk_CDWBFRLF = require("./chunk-CDWBFRLF.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_IODEM2KB = require("./chunk-IODEM2KB.js");
88
+ var import_chunk_YDPMI2CA = require("./chunk-YDPMI2CA.js");
89
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");
@@ -14531,7 +14531,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14531
14531
  }
14532
14532
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14533
14533
  debug2("Loading config");
14534
- const config2 = await (0, import_chunk_YU7WPISP.getConfig)({
14534
+ const config2 = await (0, import_chunk_O23UJMH5.getConfig)({
14535
14535
  datamodel: files,
14536
14536
  ignoreEnvVarErrors: true
14537
14537
  });
@@ -14857,8 +14857,8 @@ async function checkUnsupportedDataProxyMessage(command, args, schemaPathFromCon
14857
14857
  if (argName.includes("schema")) {
14858
14858
  await loadEnvFile({ schemaPath: argValue, printMessage: false, config: (0, import_config.defaultTestConfig)() });
14859
14859
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
14860
- const config2 = await (0, import_chunk_YU7WPISP.getConfig)({ datamodel, ignoreEnvVarErrors: true });
14861
- const url = (0, import_chunk_YU7WPISP.resolveUrl)((0, import_chunk_YU7WPISP.getEffectiveUrl)(config2.datasources[0]));
14860
+ const config2 = await (0, import_chunk_O23UJMH5.getConfig)({ datamodel, ignoreEnvVarErrors: true });
14861
+ const url = (0, import_chunk_O23UJMH5.resolveUrl)((0, import_chunk_O23UJMH5.getEffectiveUrl)(config2.datasources[0]));
14862
14862
  if (url?.startsWith("prisma://")) {
14863
14863
  return forbiddenCmdWithDataProxyFlagMessage(command);
14864
14864
  }
@@ -15031,7 +15031,7 @@ async function getGenerators(options) {
15031
15031
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15032
15032
  }
15033
15033
  }
15034
- const config = await (0, import_chunk_YU7WPISP.getConfig)({
15034
+ const config = await (0, import_chunk_O23UJMH5.getConfig)({
15035
15035
  datamodel: schemas,
15036
15036
  datamodelPath: schemaPath,
15037
15037
  prismaPath,
@@ -15042,7 +15042,7 @@ async function getGenerators(options) {
15042
15042
  }
15043
15043
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15044
15044
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15045
- const dmmf = await (0, import_chunk_HNI6G662.getDMMF)({
15045
+ const dmmf = await (0, import_chunk_CDWBFRLF.getDMMF)({
15046
15046
  datamodel: schemas,
15047
15047
  datamodelPath: schemaPath,
15048
15048
  prismaPath,
@@ -15103,7 +15103,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15103
15103
  fromEnvVar: "null"
15104
15104
  };
15105
15105
  }
15106
- const datamodel = (0, import_chunk_RRMS6OEY.mergeSchemas)({ schemas });
15106
+ const datamodel = (0, import_chunk_U2RPH3KF.mergeSchemas)({ schemas });
15107
15107
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15108
15108
  const options2 = {
15109
15109
  datamodel,
@@ -15186,7 +15186,7 @@ generator gen {
15186
15186
  debug6({ generatorBinaryPaths });
15187
15187
  generator.setBinaryPaths(generatorBinaryPaths);
15188
15188
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15189
- const customDmmf = await (0, import_chunk_HNI6G662.getDMMF)({
15189
+ const customDmmf = await (0, import_chunk_CDWBFRLF.getDMMF)({
15190
15190
  datamodel: schemas,
15191
15191
  datamodelPath: schemaPath,
15192
15192
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -15484,7 +15484,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15484
15484
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15485
15485
  handleFormatPanic(
15486
15486
  () => {
15487
- import_chunk_IODEM2KB.prismaSchemaWasm.debug_panic();
15487
+ import_chunk_YDPMI2CA.prismaSchemaWasm.debug_panic();
15488
15488
  },
15489
15489
  { schemas: schemas2 }
15490
15490
  );
@@ -15504,12 +15504,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15504
15504
  () => {
15505
15505
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15506
15506
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15507
- const lintDiagnostics2 = (0, import_chunk_YFMNW3T3.lintSchema)({ schemas: formattedMultipleSchemas2 });
15507
+ const lintDiagnostics2 = (0, import_chunk_WYGKDIGF.lintSchema)({ schemas: formattedMultipleSchemas2 });
15508
15508
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15509
15509
  },
15510
15510
  { schemas: schemas2 }
15511
15511
  );
15512
- const lintWarnings = (0, import_chunk_YFMNW3T3.getLintWarningsAsText)(lintDiagnostics);
15512
+ const lintWarnings = (0, import_chunk_WYGKDIGF.getLintWarningsAsText)(lintDiagnostics);
15513
15513
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15514
15514
  console.warn(lintWarnings);
15515
15515
  }
@@ -15539,7 +15539,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15539
15539
  }
15540
15540
  }
15541
15541
  function formatWasm(schema, documentFormattingParams) {
15542
- const formattedSchema = import_chunk_IODEM2KB.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15542
+ const formattedSchema = import_chunk_YDPMI2CA.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15543
15543
  return formattedSchema;
15544
15544
  }
15545
15545
  /*! 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_3UD2IXSQ_exports = {};
30
- __export(chunk_3UD2IXSQ_exports, {
29
+ var chunk_DU7EG3UB_exports = {};
30
+ __export(chunk_DU7EG3UB_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_3UD2IXSQ_exports);
34
+ module.exports = __toCommonJS(chunk_DU7EG3UB_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
- var import_chunk_FE632PA3 = require("./chunk-FE632PA3.js");
37
+ var import_chunk_I7RXZEP7 = require("./chunk-I7RXZEP7.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_WOPSY7OG = require("./chunk-WOPSY7OG.js");
40
+ var import_chunk_LZCHJMAZ = require("./chunk-LZCHJMAZ.js");
41
41
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.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_FE632PA3.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_I7RXZEP7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_WOPSY7OG.prismaSchemaWasm.debug_panic();
93
+ import_chunk_LZCHJMAZ.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_WOPSY7OG.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_LZCHJMAZ.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (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_3OLU32Z4_exports = {};
20
- __export(chunk_3OLU32Z4_exports, {
19
+ var chunk_FHF3TR6L_exports = {};
20
+ __export(chunk_FHF3TR6L_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_3OLU32Z4_exports);
23
+ module.exports = __toCommonJS(chunk_FHF3TR6L_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) {
@@ -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-47.61286205822138f3a5a68d8d508f6aca9d7a268a",
114
+ "@prisma/prisma-schema-wasm": "6.5.0-49.integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -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_ZRU2QEHS_exports = {};
20
- __export(chunk_ZRU2QEHS_exports, {
19
+ var chunk_FM3WYRXR_exports = {};
20
+ __export(chunk_FM3WYRXR_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_ZRU2QEHS_exports);
23
+ module.exports = __toCommonJS(chunk_FM3WYRXR_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-fix-dynamic-libsql-import.1",
29
+ version: "6.5.0-integration-engines-6-5-0-49-integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97.1",
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": "6.5.0-47.61286205822138f3a5a68d8d508f6aca9d7a268a",
114
+ "@prisma/prisma-schema-wasm": "6.5.0-49.integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -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_LUTN7W4T_exports = {};
20
- __export(chunk_LUTN7W4T_exports, {
19
+ var chunk_FMUHZCTQ_exports = {};
20
+ __export(chunk_FMUHZCTQ_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_LUTN7W4T_exports);
24
- var import_chunk_ZRU2QEHS = require("./chunk-ZRU2QEHS.js");
25
- var packageJson = (0, import_chunk_ZRU2QEHS.require_package)();
23
+ module.exports = __toCommonJS(chunk_FMUHZCTQ_exports);
24
+ var import_chunk_FM3WYRXR = require("./chunk-FM3WYRXR.js");
25
+ var packageJson = (0, import_chunk_FM3WYRXR.require_package)();
26
26
  var version = packageJson.version;
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_FE632PA3_exports = {};
20
- __export(chunk_FE632PA3_exports, {
19
+ var chunk_I7RXZEP7_exports = {};
20
+ __export(chunk_I7RXZEP7_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_FE632PA3_exports);
24
- var import_chunk_33USI2JL = require("./chunk-33USI2JL.js");
23
+ module.exports = __toCommonJS(chunk_I7RXZEP7_exports);
24
+ var import_chunk_36QGARHD = require("./chunk-36QGARHD.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_33USI2JL.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_36QGARHD.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_RRBS6H2H_exports = {};
20
- __export(chunk_RRBS6H2H_exports, {
19
+ var chunk_K6EKC3SH_exports = {};
20
+ __export(chunk_K6EKC3SH_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_RRBS6H2H_exports);
24
- var import_chunk_LUTN7W4T = require("./chunk-LUTN7W4T.js");
23
+ module.exports = __toCommonJS(chunk_K6EKC3SH_exports);
24
+ var import_chunk_FMUHZCTQ = require("./chunk-FMUHZCTQ.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_LUTN7W4T.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_FMUHZCTQ.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_4ZQNHAY3_exports = {};
20
- __export(chunk_4ZQNHAY3_exports, {
19
+ var chunk_KNUTNQ2N_exports = {};
20
+ __export(chunk_KNUTNQ2N_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_4ZQNHAY3_exports);
27
+ module.exports = __toCommonJS(chunk_KNUTNQ2N_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_WOPSY7OG = require("./chunk-WOPSY7OG.js");
29
+ var import_chunk_LZCHJMAZ = require("./chunk-LZCHJMAZ.js");
30
30
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_WOPSY7OG.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_LZCHJMAZ.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -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_WOPSY7OG_exports = {};
30
- __export(chunk_WOPSY7OG_exports, {
29
+ var chunk_LZCHJMAZ_exports = {};
30
+ __export(chunk_LZCHJMAZ_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_WOPSY7OG_exports);
36
- var import_chunk_3OLU32Z4 = require("./chunk-3OLU32Z4.js");
35
+ module.exports = __toCommonJS(chunk_LZCHJMAZ_exports);
36
+ var import_chunk_FHF3TR6L = require("./chunk-FHF3TR6L.js");
37
37
  var import_chunk_BPZFDGKN = require("./chunk-BPZFDGKN.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_3OLU32Z4.require_package)();
45
+ var { dependencies } = (0, import_chunk_FHF3TR6L.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_BPZFDGKN.WasmPanicRegistry();