@prisma/internals 6.5.0-dev.16 → 6.5.0-dev.18

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 (34) hide show
  1. package/dist/{chunk-VI6VLPC2.js → chunk-77LXBTXG.js} +8 -8
  2. package/dist/{chunk-4MLS45DL.js → chunk-BJO6IWCE.js} +8 -8
  3. package/dist/{chunk-CWXCRZM6.js → chunk-F42D6CO3.js} +7 -7
  4. package/dist/{chunk-RXE3ILP6.js → chunk-GQ7ILSUO.js} +5 -5
  5. package/dist/{chunk-GBFTOCCO.js → chunk-LCTEXL7I.js} +115 -116
  6. package/dist/{chunk-TZRMCQAV.js → chunk-MTLGTEPK.js} +5 -5
  7. package/dist/{chunk-GEVRLGD4.js → chunk-NYQJCU3C.js} +8 -8
  8. package/dist/{chunk-LSJFX7L5.js → chunk-PYYKCG33.js} +5 -5
  9. package/dist/{chunk-QJLHP6GW.js → chunk-TU3AKTPV.js} +99 -100
  10. package/dist/{chunk-NKGYRG63.js → chunk-XLSV63PA.js} +5 -5
  11. package/dist/{chunk-NGA3SRM6.js → chunk-ZRVY53DK.js} +4 -4
  12. package/dist/cli/checkUnsupportedDataProxy.js +12 -12
  13. package/dist/cli/getSchema.js +16 -16
  14. package/dist/cli/hashes.js +12 -12
  15. package/dist/engine-commands/errorHelpers.js +4 -4
  16. package/dist/engine-commands/formatSchema.js +11 -11
  17. package/dist/engine-commands/getConfig.js +10 -10
  18. package/dist/engine-commands/getDmmf.js +7 -7
  19. package/dist/engine-commands/index.js +20 -20
  20. package/dist/engine-commands/lintSchema.js +8 -8
  21. package/dist/engine-commands/mergeSchemas.js +7 -7
  22. package/dist/engine-commands/validate.js +7 -7
  23. package/dist/get-generators/generatorResolvers/generatorResolvers.js +11 -11
  24. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +11 -11
  25. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +12 -12
  26. package/dist/get-generators/getGenerators.js +14 -14
  27. package/dist/index.js +39 -39
  28. package/dist/sendPanic.js +11 -11
  29. package/dist/utils/getEnvPaths.js +11 -11
  30. package/dist/utils/getVersionFromPackageJson.js +3 -3
  31. package/dist/utils/handlePanic.js +11 -11
  32. package/dist/utils/loadEnvFile.js +11 -11
  33. package/dist/wasm.js +4 -4
  34. package/package.json +8 -8
@@ -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_TZRMCQAV_exports = {};
20
- __export(chunk_TZRMCQAV_exports, {
19
+ var chunk_MTLGTEPK_exports = {};
20
+ __export(chunk_MTLGTEPK_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_TZRMCQAV_exports);
24
- var import_chunk_RXE3ILP6 = require("./chunk-RXE3ILP6.js");
23
+ module.exports = __toCommonJS(chunk_MTLGTEPK_exports);
24
+ var import_chunk_GQ7ILSUO = require("./chunk-GQ7ILSUO.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_RXE3ILP6.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_GQ7ILSUO.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_GEVRLGD4_exports = {};
30
- __export(chunk_GEVRLGD4_exports, {
29
+ var chunk_NYQJCU3C_exports = {};
30
+ __export(chunk_NYQJCU3C_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_GEVRLGD4_exports);
37
+ module.exports = __toCommonJS(chunk_NYQJCU3C_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_TZRMCQAV = require("./chunk-TZRMCQAV.js");
41
+ var import_chunk_MTLGTEPK = require("./chunk-MTLGTEPK.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_NKGYRG63 = require("./chunk-NKGYRG63.js");
44
+ var import_chunk_XLSV63PA = require("./chunk-XLSV63PA.js");
45
45
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.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_TZRMCQAV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
+ super((0, import_chunk_MTLGTEPK.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_NKGYRG63.prismaSchemaWasm.debug_panic();
93
+ import_chunk_XLSV63PA.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_NKGYRG63.prismaSchemaWasm.get_config(params);
101
+ const data = import_chunk_XLSV63PA.prismaSchemaWasm.get_config(params);
102
102
  return data;
103
103
  },
104
104
  (e) => ({
@@ -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_LSJFX7L5_exports = {};
20
- __export(chunk_LSJFX7L5_exports, {
19
+ var chunk_PYYKCG33_exports = {};
20
+ __export(chunk_PYYKCG33_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_LSJFX7L5_exports);
27
+ module.exports = __toCommonJS(chunk_PYYKCG33_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_NKGYRG63 = require("./chunk-NKGYRG63.js");
29
+ var import_chunk_XLSV63PA = require("./chunk-XLSV63PA.js");
30
30
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_NKGYRG63.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_XLSV63PA.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }