@prisma/internals 6.4.0-dev.22 → 6.4.0-dev.23

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 (45) hide show
  1. package/dist/{chunk-SIYEKSD7.js → chunk-4CZFQN6J.js} +4 -4
  2. package/dist/{chunk-GIU4ZVHS.js → chunk-5SZ4E4P4.js} +5 -5
  3. package/dist/{chunk-LHPBCOWR.js → chunk-5YRXRPXS.js} +5 -5
  4. package/dist/{chunk-4ZHRNVFO.js → chunk-7KMFDRJH.js} +8 -8
  5. package/dist/{chunk-QU47MMDZ.js → chunk-BKVMKLUY.js} +5 -5
  6. package/dist/{chunk-NZTUCDIL.js → chunk-ECCMQHHG.js} +7 -7
  7. package/dist/{chunk-KAKSRDR3.js → chunk-EEOINYRO.js} +34 -34
  8. package/dist/{chunk-3UZAJ23T.js → chunk-F6CEQGHA.js} +8 -8
  9. package/dist/{chunk-FTPBVO4O.js → chunk-FE232KFS.js} +8 -8
  10. package/dist/{chunk-ULKKGEON.js → chunk-IVGHLLOG.js} +8 -8
  11. package/dist/{chunk-UEPEHFXP.js → chunk-KG6WZZPA.js} +5 -5
  12. package/dist/{chunk-PAVUCRY6.js → chunk-LODQNVIX.js} +8 -8
  13. package/dist/{chunk-RNYESY26.js → chunk-M5RRWJSA.js} +5 -5
  14. package/dist/{chunk-UZZRSJVQ.js → chunk-MW4KPOTB.js} +5 -5
  15. package/dist/{chunk-POCJBOJC.js → chunk-PJXPWN5H.js} +5 -5
  16. package/dist/{chunk-NCYBHPSK.js → chunk-QXUGIF7O.js} +5 -5
  17. package/dist/{chunk-WKT6VOJ6.js → chunk-RGTLYBU6.js} +5 -5
  18. package/dist/{chunk-B2T5HDW7.js → chunk-RL3K4V2J.js} +29 -15
  19. package/dist/{chunk-LNHKXQDS.js → chunk-SK4ZH7Q2.js} +7 -7
  20. package/dist/{chunk-VY5AUC2X.js → chunk-UHU6YB7U.js} +8 -8
  21. package/dist/{chunk-5UBNMSJR.js → chunk-WHGRPJL3.js} +34 -34
  22. package/dist/cli/checkUnsupportedDataProxy.js +13 -13
  23. package/dist/cli/getSchema.js +18 -18
  24. package/dist/cli/hashes.js +13 -13
  25. package/dist/engine-commands/errorHelpers.js +4 -4
  26. package/dist/engine-commands/formatSchema.js +12 -12
  27. package/dist/engine-commands/getConfig.js +10 -10
  28. package/dist/engine-commands/getDmmf.js +7 -7
  29. package/dist/engine-commands/index.js +21 -21
  30. package/dist/engine-commands/lintSchema.js +8 -8
  31. package/dist/engine-commands/mergeSchemas.js +7 -7
  32. package/dist/engine-commands/validate.js +7 -7
  33. package/dist/get-generators/generatorResolvers/generatorResolvers.js +12 -12
  34. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +12 -12
  35. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +13 -13
  36. package/dist/get-generators/getGenerators.js +15 -15
  37. package/dist/getPackedPackage.js +2 -2
  38. package/dist/index.js +41 -41
  39. package/dist/sendPanic.js +12 -12
  40. package/dist/utils/getEnvPaths.js +12 -12
  41. package/dist/utils/getVersionFromPackageJson.js +3 -3
  42. package/dist/utils/handlePanic.js +12 -12
  43. package/dist/utils/loadEnvFile.js +12 -12
  44. package/dist/wasm.js +4 -4
  45. package/package.json +8 -8
@@ -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_PAVUCRY6_exports = {};
30
- __export(chunk_PAVUCRY6_exports, {
29
+ var chunk_LODQNVIX_exports = {};
30
+ __export(chunk_LODQNVIX_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_PAVUCRY6_exports);
34
+ module.exports = __toCommonJS(chunk_LODQNVIX_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_UZZRSJVQ = require("./chunk-UZZRSJVQ.js");
38
+ var import_chunk_MW4KPOTB = require("./chunk-MW4KPOTB.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_RNYESY26 = require("./chunk-RNYESY26.js");
41
+ var import_chunk_5SZ4E4P4 = require("./chunk-5SZ4E4P4.js");
42
42
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.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_UZZRSJVQ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_MW4KPOTB.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_RNYESY26.prismaSchemaWasm.debug_panic();
75
+ import_chunk_5SZ4E4P4.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_RNYESY26.prismaSchemaWasm.validate(params);
81
+ import_chunk_5SZ4E4P4.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -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_RNYESY26_exports = {};
30
- __export(chunk_RNYESY26_exports, {
29
+ var chunk_M5RRWJSA_exports = {};
30
+ __export(chunk_M5RRWJSA_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_RNYESY26_exports);
36
- var import_chunk_SIYEKSD7 = require("./chunk-SIYEKSD7.js");
35
+ module.exports = __toCommonJS(chunk_M5RRWJSA_exports);
36
+ var import_chunk_4CZFQN6J = require("./chunk-4CZFQN6J.js");
37
37
  var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.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_SIYEKSD7.require_package)();
45
+ var { dependencies } = (0, import_chunk_4CZFQN6J.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -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_UZZRSJVQ_exports = {};
20
- __export(chunk_UZZRSJVQ_exports, {
19
+ var chunk_MW4KPOTB_exports = {};
20
+ __export(chunk_MW4KPOTB_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_UZZRSJVQ_exports);
24
- var import_chunk_LHPBCOWR = require("./chunk-LHPBCOWR.js");
23
+ module.exports = __toCommonJS(chunk_MW4KPOTB_exports);
24
+ var import_chunk_BKVMKLUY = require("./chunk-BKVMKLUY.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_LHPBCOWR.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_BKVMKLUY.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_POCJBOJC_exports = {};
20
- __export(chunk_POCJBOJC_exports, {
19
+ var chunk_PJXPWN5H_exports = {};
20
+ __export(chunk_PJXPWN5H_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_POCJBOJC_exports);
24
- var import_chunk_QU47MMDZ = require("./chunk-QU47MMDZ.js");
23
+ module.exports = __toCommonJS(chunk_PJXPWN5H_exports);
24
+ var import_chunk_5YRXRPXS = require("./chunk-5YRXRPXS.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_QU47MMDZ.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_5YRXRPXS.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_NCYBHPSK_exports = {};
20
- __export(chunk_NCYBHPSK_exports, {
19
+ var chunk_QXUGIF7O_exports = {};
20
+ __export(chunk_QXUGIF7O_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_NCYBHPSK_exports);
27
+ module.exports = __toCommonJS(chunk_QXUGIF7O_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_RNYESY26 = require("./chunk-RNYESY26.js");
29
+ var import_chunk_5SZ4E4P4 = require("./chunk-5SZ4E4P4.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_RNYESY26.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_5SZ4E4P4.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -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_WKT6VOJ6_exports = {};
20
- __export(chunk_WKT6VOJ6_exports, {
19
+ var chunk_RGTLYBU6_exports = {};
20
+ __export(chunk_RGTLYBU6_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_WKT6VOJ6_exports);
27
+ module.exports = __toCommonJS(chunk_RGTLYBU6_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_GIU4ZVHS = require("./chunk-GIU4ZVHS.js");
29
+ var import_chunk_M5RRWJSA = require("./chunk-M5RRWJSA.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_GIU4ZVHS.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_M5RRWJSA.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -26,8 +26,8 @@ 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_B2T5HDW7_exports = {};
30
- __export(chunk_B2T5HDW7_exports, {
29
+ var chunk_RL3K4V2J_exports = {};
30
+ __export(chunk_RL3K4V2J_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  readPackageUp: () => readPackageUp,
33
33
  require_glob: () => require_glob,
@@ -35,7 +35,7 @@ __export(chunk_B2T5HDW7_exports, {
35
35
  require_minimatch: () => require_minimatch,
36
36
  require_p_map: () => require_p_map
37
37
  });
38
- module.exports = __toCommonJS(chunk_B2T5HDW7_exports);
38
+ module.exports = __toCommonJS(chunk_RL3K4V2J_exports);
39
39
  var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
40
40
  var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
41
41
  var import_chunk_T5RACBRF = require("./chunk-T5RACBRF.js");
@@ -5015,7 +5015,7 @@ ${frame}`;
5015
5015
  }
5016
5016
  });
5017
5017
  var require_debug = (0, import_chunk_WWAWV7DQ.__commonJS)({
5018
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports, module2) {
5018
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/debug.js"(exports, module2) {
5019
5019
  "use strict";
5020
5020
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
5021
5021
  };
@@ -5023,7 +5023,7 @@ var require_debug = (0, import_chunk_WWAWV7DQ.__commonJS)({
5023
5023
  }
5024
5024
  });
5025
5025
  var require_constants = (0, import_chunk_WWAWV7DQ.__commonJS)({
5026
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports, module2) {
5026
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/constants.js"(exports, module2) {
5027
5027
  "use strict";
5028
5028
  var SEMVER_SPEC_VERSION = "2.0.0";
5029
5029
  var MAX_LENGTH = 256;
@@ -5053,7 +5053,7 @@ var require_constants = (0, import_chunk_WWAWV7DQ.__commonJS)({
5053
5053
  }
5054
5054
  });
5055
5055
  var require_re = (0, import_chunk_WWAWV7DQ.__commonJS)({
5056
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports, module2) {
5056
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/re.js"(exports, module2) {
5057
5057
  "use strict";
5058
5058
  var {
5059
5059
  MAX_SAFE_COMPONENT_LENGTH,
@@ -5137,7 +5137,7 @@ var require_re = (0, import_chunk_WWAWV7DQ.__commonJS)({
5137
5137
  }
5138
5138
  });
5139
5139
  var require_parse_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
5140
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports, module2) {
5140
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/parse-options.js"(exports, module2) {
5141
5141
  "use strict";
5142
5142
  var looseOption = Object.freeze({ loose: true });
5143
5143
  var emptyOpts = Object.freeze({});
@@ -5154,7 +5154,7 @@ var require_parse_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
5154
5154
  }
5155
5155
  });
5156
5156
  var require_identifiers = (0, import_chunk_WWAWV7DQ.__commonJS)({
5157
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports, module2) {
5157
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/internal/identifiers.js"(exports, module2) {
5158
5158
  "use strict";
5159
5159
  var numeric = /^[0-9]+$/;
5160
5160
  var compareIdentifiers = (a, b) => {
@@ -5174,7 +5174,7 @@ var require_identifiers = (0, import_chunk_WWAWV7DQ.__commonJS)({
5174
5174
  }
5175
5175
  });
5176
5176
  var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5177
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports, module2) {
5177
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/classes/semver.js"(exports, module2) {
5178
5178
  "use strict";
5179
5179
  var debug = require_debug();
5180
5180
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
@@ -5318,6 +5318,17 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5318
5318
  // preminor will bump the version up to the next minor release, and immediately
5319
5319
  // down to pre-release. premajor and prepatch work the same way.
5320
5320
  inc(release, identifier, identifierBase) {
5321
+ if (release.startsWith("pre")) {
5322
+ if (!identifier && identifierBase === false) {
5323
+ throw new Error("invalid increment argument: identifier is empty");
5324
+ }
5325
+ if (identifier) {
5326
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
5327
+ if (!match || match[1] !== identifier) {
5328
+ throw new Error(`invalid identifier: ${identifier}`);
5329
+ }
5330
+ }
5331
+ }
5321
5332
  switch (release) {
5322
5333
  case "premajor":
5323
5334
  this.prerelease.length = 0;
@@ -5345,6 +5356,12 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5345
5356
  }
5346
5357
  this.inc("pre", identifier, identifierBase);
5347
5358
  break;
5359
+ case "release":
5360
+ if (this.prerelease.length === 0) {
5361
+ throw new Error(`version ${this.raw} is not a prerelease`);
5362
+ }
5363
+ this.prerelease.length = 0;
5364
+ break;
5348
5365
  case "major":
5349
5366
  if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
5350
5367
  this.major++;
@@ -5370,9 +5387,6 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5370
5387
  // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
5371
5388
  case "pre": {
5372
5389
  const base = Number(identifierBase) ? 1 : 0;
5373
- if (!identifier && identifierBase === false) {
5374
- throw new Error("invalid increment argument: identifier is empty");
5375
- }
5376
5390
  if (this.prerelease.length === 0) {
5377
5391
  this.prerelease = [base];
5378
5392
  } else {
@@ -5419,7 +5433,7 @@ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
5419
5433
  }
5420
5434
  });
5421
5435
  var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
5422
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports, module2) {
5436
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/parse.js"(exports, module2) {
5423
5437
  "use strict";
5424
5438
  var SemVer = require_semver();
5425
5439
  var parse = (version, options, throwErrors = false) => {
@@ -5439,7 +5453,7 @@ var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
5439
5453
  }
5440
5454
  });
5441
5455
  var require_valid = (0, import_chunk_WWAWV7DQ.__commonJS)({
5442
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"(exports, module2) {
5456
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/valid.js"(exports, module2) {
5443
5457
  "use strict";
5444
5458
  var parse = require_parse();
5445
5459
  var valid = (version, options) => {
@@ -5450,7 +5464,7 @@ var require_valid = (0, import_chunk_WWAWV7DQ.__commonJS)({
5450
5464
  }
5451
5465
  });
5452
5466
  var require_clean = (0, import_chunk_WWAWV7DQ.__commonJS)({
5453
- "../../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"(exports, module2) {
5467
+ "../../node_modules/.pnpm/semver@7.7.0/node_modules/semver/functions/clean.js"(exports, module2) {
5454
5468
  "use strict";
5455
5469
  var parse = require_parse();
5456
5470
  var clean = (version, options) => {
@@ -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_LNHKXQDS_exports = {};
30
- __export(chunk_LNHKXQDS_exports, {
29
+ var chunk_SK4ZH7Q2_exports = {};
30
+ __export(chunk_SK4ZH7Q2_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_LNHKXQDS_exports);
34
+ module.exports = __toCommonJS(chunk_SK4ZH7Q2_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_POCJBOJC = require("./chunk-POCJBOJC.js");
38
+ var import_chunk_MW4KPOTB = require("./chunk-MW4KPOTB.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_GIU4ZVHS = require("./chunk-GIU4ZVHS.js");
41
+ var import_chunk_5SZ4E4P4 = require("./chunk-5SZ4E4P4.js");
42
42
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.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_POCJBOJC.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_MW4KPOTB.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_GIU4ZVHS.prismaSchemaWasm.merge_schemas(params);
76
+ return import_chunk_5SZ4E4P4.prismaSchemaWasm.merge_schemas(params);
77
77
  },
78
78
  (e) => ({
79
79
  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_VY5AUC2X_exports = {};
30
- __export(chunk_VY5AUC2X_exports, {
29
+ var chunk_UHU6YB7U_exports = {};
30
+ __export(chunk_UHU6YB7U_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_VY5AUC2X_exports);
34
+ module.exports = __toCommonJS(chunk_UHU6YB7U_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_POCJBOJC = require("./chunk-POCJBOJC.js");
38
+ var import_chunk_PJXPWN5H = require("./chunk-PJXPWN5H.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_GIU4ZVHS = require("./chunk-GIU4ZVHS.js");
41
+ var import_chunk_M5RRWJSA = require("./chunk-M5RRWJSA.js");
42
42
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.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_POCJBOJC.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_PJXPWN5H.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_GIU4ZVHS.prismaSchemaWasm.debug_panic();
75
+ import_chunk_M5RRWJSA.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_GIU4ZVHS.prismaSchemaWasm.validate(params);
81
+ import_chunk_M5RRWJSA.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",