@prisma/internals 6.7.0-dev.1 → 6.7.0-dev.11

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 (51) hide show
  1. package/dist/{chunk-YUHEK6XR.js → chunk-2B7Z3T4Y.js} +8 -8
  2. package/dist/{chunk-7LPMJRUK.js → chunk-4OX34N7Y.js} +8 -8
  3. package/dist/{chunk-GVN3PSGS.js → chunk-5PHREK7M.js} +8 -8
  4. package/dist/{chunk-XOM4ZXOK.js → chunk-7KS4U2CW.js} +5 -5
  5. package/dist/{chunk-M3NEJQPR.js → chunk-AXHYSN3A.js} +5 -5
  6. package/dist/{chunk-XRNBEUVE.js → chunk-C4MJVWSG.js} +5 -5
  7. package/dist/{chunk-KLIYXRK4.js → chunk-C7BR4UGP.js} +7 -7
  8. package/dist/chunk-CHOXBASF.js +44 -0
  9. package/dist/{chunk-XO424ERB.js → chunk-CRE23NJ5.js} +8 -8
  10. package/dist/{chunk-PCL2SAJW.js → chunk-GTZ64WVO.js} +5 -5
  11. package/dist/{chunk-DCWEKWHT.js → chunk-H3TIZGVV.js} +38 -432
  12. package/dist/{chunk-2JBXOLXL.js → chunk-IMLXEDCM.js} +8 -8
  13. package/dist/{chunk-WIUZIXXO.js → chunk-JJTQDQ2B.js} +38 -432
  14. package/dist/{chunk-4PHQ7HQG.js → chunk-KFH6SSDJ.js} +8 -8
  15. package/dist/{chunk-DSO2BAJY.js → chunk-MFVKOA2O.js} +7 -7
  16. package/dist/{chunk-67I7CEQJ.js → chunk-MY5KA4VU.js} +12 -329
  17. package/dist/chunk-PSFQKG2Q.js +6291 -0
  18. package/dist/chunk-Q6ZVYPDB.js +41 -0
  19. package/dist/chunk-QS3WUGE3.js +341 -0
  20. package/dist/{chunk-TZ7QN7B5.js → chunk-RPCWPIE3.js} +5 -5
  21. package/dist/{chunk-KGXZALRV.js → chunk-SDNKMOYO.js} +6 -6
  22. package/dist/chunk-WCPUXXL2.js +183 -0
  23. package/dist/{chunk-QM37NSCR.js → chunk-XJQQNRIM.js} +5 -5
  24. package/dist/{chunk-UZFWYQZJ.js → chunk-ZABVXKPO.js} +5 -5
  25. package/dist/chunk-ZCBEMBHR.js +242 -0
  26. package/dist/{chunk-P2P2TQOV.js → chunk-ZFJOMUQY.js} +5 -5
  27. package/dist/chunk-ZIFBTC6Y.js +6440 -0
  28. package/dist/{chunk-RMLLA4MJ.js → chunk-ZRYILOUL.js} +5 -5
  29. package/dist/cli/checkUnsupportedDataProxy.js +22 -16
  30. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +22 -16
  31. package/dist/cli/getSchema.js +8 -112
  32. package/dist/cli/hashes.js +6 -109
  33. package/dist/cli/schemaContext.js +22 -16
  34. package/dist/engine-commands/errorHelpers.js +4 -4
  35. package/dist/engine-commands/formatSchema.js +21 -15
  36. package/dist/engine-commands/getConfig.js +10 -10
  37. package/dist/engine-commands/getDmmf.js +7 -7
  38. package/dist/engine-commands/index.js +30 -24
  39. package/dist/engine-commands/lintSchema.js +8 -8
  40. package/dist/engine-commands/mergeSchemas.js +7 -7
  41. package/dist/engine-commands/validate.js +7 -7
  42. package/dist/get-generators/getGenerators.js +24 -18
  43. package/dist/getPackedPackage.js +6 -4
  44. package/dist/index.js +51 -45
  45. package/dist/resolvePkg.js +3 -2
  46. package/dist/utils/getEnvPaths.js +5 -106
  47. package/dist/utils/getVersionFromPackageJson.js +3 -3
  48. package/dist/utils/loadEnvFile.js +6 -106
  49. package/dist/wasm.js +5 -5
  50. package/package.json +13 -13
  51. package/dist/chunk-MJIP3FY5.js +0 -12695
@@ -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_YUHEK6XR_exports = {};
30
- __export(chunk_YUHEK6XR_exports, {
29
+ var chunk_2B7Z3T4Y_exports = {};
30
+ __export(chunk_2B7Z3T4Y_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_YUHEK6XR_exports);
34
+ module.exports = __toCommonJS(chunk_2B7Z3T4Y_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_P2P2TQOV = require("./chunk-P2P2TQOV.js");
39
- var import_chunk_QM37NSCR = require("./chunk-QM37NSCR.js");
38
+ var import_chunk_AXHYSN3A = require("./chunk-AXHYSN3A.js");
39
+ var import_chunk_XJQQNRIM = require("./chunk-XJQQNRIM.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_P2P2TQOV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_AXHYSN3A.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_QM37NSCR.prismaSchemaWasm.debug_panic();
74
+ import_chunk_XJQQNRIM.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_QM37NSCR.prismaSchemaWasm.validate(params);
80
+ import_chunk_XJQQNRIM.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_7LPMJRUK_exports = {};
30
- __export(chunk_7LPMJRUK_exports, {
29
+ var chunk_4OX34N7Y_exports = {};
30
+ __export(chunk_4OX34N7Y_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_7LPMJRUK_exports);
34
+ module.exports = __toCommonJS(chunk_4OX34N7Y_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_M3NEJQPR = require("./chunk-M3NEJQPR.js");
39
- var import_chunk_RMLLA4MJ = require("./chunk-RMLLA4MJ.js");
38
+ var import_chunk_ZFJOMUQY = require("./chunk-ZFJOMUQY.js");
39
+ var import_chunk_ZRYILOUL = require("./chunk-ZRYILOUL.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_M3NEJQPR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_ZFJOMUQY.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_RMLLA4MJ.prismaSchemaWasm.debug_panic();
74
+ import_chunk_ZRYILOUL.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_RMLLA4MJ.prismaSchemaWasm.validate(params);
80
+ import_chunk_ZRYILOUL.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -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_GVN3PSGS_exports = {};
30
- __export(chunk_GVN3PSGS_exports, {
29
+ var chunk_5PHREK7M_exports = {};
30
+ __export(chunk_5PHREK7M_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_GVN3PSGS_exports);
37
+ module.exports = __toCommonJS(chunk_5PHREK7M_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_P2P2TQOV = require("./chunk-P2P2TQOV.js");
42
- var import_chunk_QM37NSCR = require("./chunk-QM37NSCR.js");
41
+ var import_chunk_ZFJOMUQY = require("./chunk-ZFJOMUQY.js");
42
+ var import_chunk_ZRYILOUL = require("./chunk-ZRYILOUL.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_P2P2TQOV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_ZFJOMUQY.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_QM37NSCR.prismaSchemaWasm.debug_panic();
92
+ import_chunk_ZRYILOUL.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_QM37NSCR.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_ZRYILOUL.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -16,20 +16,20 @@ 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_XOM4ZXOK_exports = {};
20
- __export(chunk_XOM4ZXOK_exports, {
19
+ var chunk_7KS4U2CW_exports = {};
20
+ __export(chunk_7KS4U2CW_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_XOM4ZXOK_exports);
28
- var import_chunk_QM37NSCR = require("./chunk-QM37NSCR.js");
27
+ module.exports = __toCommonJS(chunk_7KS4U2CW_exports);
28
+ var import_chunk_XJQQNRIM = require("./chunk-XJQQNRIM.js");
29
29
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
30
30
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
31
31
  function lintSchema({ schemas }) {
32
- const lintResult = import_chunk_QM37NSCR.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_XJQQNRIM.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -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_M3NEJQPR_exports = {};
20
- __export(chunk_M3NEJQPR_exports, {
19
+ var chunk_AXHYSN3A_exports = {};
20
+ __export(chunk_AXHYSN3A_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_M3NEJQPR_exports);
24
- var import_chunk_UZFWYQZJ = require("./chunk-UZFWYQZJ.js");
23
+ module.exports = __toCommonJS(chunk_AXHYSN3A_exports);
24
+ var import_chunk_ZABVXKPO = require("./chunk-ZABVXKPO.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_UZFWYQZJ.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_ZABVXKPO.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -16,20 +16,20 @@ 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_XRNBEUVE_exports = {};
20
- __export(chunk_XRNBEUVE_exports, {
19
+ var chunk_C4MJVWSG_exports = {};
20
+ __export(chunk_C4MJVWSG_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_XRNBEUVE_exports);
28
- var import_chunk_RMLLA4MJ = require("./chunk-RMLLA4MJ.js");
27
+ module.exports = __toCommonJS(chunk_C4MJVWSG_exports);
28
+ var import_chunk_ZRYILOUL = require("./chunk-ZRYILOUL.js");
29
29
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
30
30
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
31
31
  function lintSchema({ schemas }) {
32
- const lintResult = import_chunk_RMLLA4MJ.prismaSchemaWasm.lint(JSON.stringify(schemas));
32
+ const lintResult = import_chunk_ZRYILOUL.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
33
  const lintDiagnostics = JSON.parse(lintResult);
34
34
  return lintDiagnostics;
35
35
  }
@@ -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_KLIYXRK4_exports = {};
30
- __export(chunk_KLIYXRK4_exports, {
29
+ var chunk_C7BR4UGP_exports = {};
30
+ __export(chunk_C7BR4UGP_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_KLIYXRK4_exports);
34
+ module.exports = __toCommonJS(chunk_C7BR4UGP_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_P2P2TQOV = require("./chunk-P2P2TQOV.js");
39
- var import_chunk_QM37NSCR = require("./chunk-QM37NSCR.js");
38
+ var import_chunk_ZFJOMUQY = require("./chunk-ZFJOMUQY.js");
39
+ var import_chunk_ZRYILOUL = require("./chunk-ZRYILOUL.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_P2P2TQOV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_ZFJOMUQY.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_QM37NSCR.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_ZRYILOUL.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var chunk_CHOXBASF_exports = {};
30
+ __export(chunk_CHOXBASF_exports, {
31
+ getCLIPathHash: () => getCLIPathHash,
32
+ getProjectHash: () => getProjectHash
33
+ });
34
+ module.exports = __toCommonJS(chunk_CHOXBASF_exports);
35
+ var import_chunk_ZCBEMBHR = require("./chunk-ZCBEMBHR.js");
36
+ var import_crypto = __toESM(require("crypto"));
37
+ async function getProjectHash(schemaPathFromArgs, schemaPathFromConfig) {
38
+ const projectPath = (await (0, import_chunk_ZCBEMBHR.getSchemaWithPath)(schemaPathFromArgs, schemaPathFromConfig))?.schemaPath ?? process.cwd();
39
+ return import_crypto.default.createHash("sha256").update(projectPath).digest("hex").substring(0, 8);
40
+ }
41
+ function getCLIPathHash() {
42
+ const cliPath = process.argv[1];
43
+ return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
44
+ }
@@ -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_XO424ERB_exports = {};
30
- __export(chunk_XO424ERB_exports, {
29
+ var chunk_CRE23NJ5_exports = {};
30
+ __export(chunk_CRE23NJ5_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_XO424ERB_exports);
37
+ module.exports = __toCommonJS(chunk_CRE23NJ5_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_M3NEJQPR = require("./chunk-M3NEJQPR.js");
42
- var import_chunk_RMLLA4MJ = require("./chunk-RMLLA4MJ.js");
41
+ var import_chunk_AXHYSN3A = require("./chunk-AXHYSN3A.js");
42
+ var import_chunk_XJQQNRIM = require("./chunk-XJQQNRIM.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_M3NEJQPR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_AXHYSN3A.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_RMLLA4MJ.prismaSchemaWasm.debug_panic();
92
+ import_chunk_XJQQNRIM.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_RMLLA4MJ.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_XJQQNRIM.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_PCL2SAJW_exports = {};
20
- __export(chunk_PCL2SAJW_exports, {
19
+ var chunk_GTZ64WVO_exports = {};
20
+ __export(chunk_GTZ64WVO_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_PCL2SAJW_exports);
24
- var import_chunk_KGXZALRV = require("./chunk-KGXZALRV.js");
25
- var packageJson = (0, import_chunk_KGXZALRV.require_package)();
23
+ module.exports = __toCommonJS(chunk_GTZ64WVO_exports);
24
+ var import_chunk_SDNKMOYO = require("./chunk-SDNKMOYO.js");
25
+ var packageJson = (0, import_chunk_SDNKMOYO.require_package)();
26
26
  var version = packageJson.version;