@prisma/internals 6.4.0-integration-engines-6-4-0-1-fix-cockroachdb-slow-migrations-workaround-7f2ebe4987f4376912fd7d7e638148a3943dbc78.1 → 6.4.0-integration-engines-6-4-0-5-chore-rename-error-kinds-6be5d359e3dccb7e8b623fad8d36236047e2936f.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 (45) hide show
  1. package/dist/{chunk-KFKAHDGL.js → chunk-2RQLEPAF.js} +5 -5
  2. package/dist/{chunk-5F6PZLPT.js → chunk-4SP7MUD4.js} +8 -8
  3. package/dist/{chunk-47XTNYML.js → chunk-4XNZD5GY.js} +4 -4
  4. package/dist/{chunk-ENJQDRQB.js → chunk-5XXB2PTD.js} +5 -5
  5. package/dist/{chunk-I3W66FS5.js → chunk-6E44G3OA.js} +5 -5
  6. package/dist/{chunk-NSCSCET2.js → chunk-6N2RFING.js} +8 -8
  7. package/dist/{chunk-RYOCYBV3.js → chunk-6ZPMKZSB.js} +7 -7
  8. package/dist/{chunk-W3JI4HTK.js → chunk-BQL33FWB.js} +8 -8
  9. package/dist/{chunk-UELRHZ5L.js → chunk-CET7KJL4.js} +8 -8
  10. package/dist/{chunk-MWUJK4QQ.js → chunk-EN45M65E.js} +34 -34
  11. package/dist/{chunk-OE74XTKY.js → chunk-FDGIJECG.js} +7 -7
  12. package/dist/{chunk-AT77V24F.js → chunk-FYVSARLQ.js} +34 -34
  13. package/dist/{chunk-KA4LGY2J.js → chunk-GTXYC2GF.js} +5 -5
  14. package/dist/{chunk-FVHT7T6X.js → chunk-HBZE7WBM.js} +5 -5
  15. package/dist/{chunk-GO46BVJ7.js → chunk-JNJHZT2B.js} +5 -5
  16. package/dist/{chunk-B2T5HDW7.js → chunk-RL3K4V2J.js} +29 -15
  17. package/dist/{chunk-SB33Q6RW.js → chunk-U4TXQURZ.js} +5 -5
  18. package/dist/{chunk-JRZ4TN7E.js → chunk-VXFQZ2MQ.js} +8 -8
  19. package/dist/{chunk-K7MOSZ25.js → chunk-WFXUZNYC.js} +5 -5
  20. package/dist/{chunk-OY62G3EE.js → chunk-WKSRML4I.js} +8 -8
  21. package/dist/{chunk-GADFZF5U.js → chunk-XO752QNR.js} +5 -5
  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,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_AT77V24F_exports = {};
30
- __export2(chunk_AT77V24F_exports, {
29
+ var chunk_FYVSARLQ_exports = {};
30
+ __export2(chunk_FYVSARLQ_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -55,7 +55,7 @@ __export2(chunk_AT77V24F_exports, {
55
55
  sendPanic: () => sendPanic,
56
56
  skipIndex: () => skipIndex
57
57
  });
58
- module.exports = __toCommonJS2(chunk_AT77V24F_exports);
58
+ module.exports = __toCommonJS2(chunk_FYVSARLQ_exports);
59
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
60
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
61
61
  var import_chunk_PIPE5DSU = require("./chunk-PIPE5DSU.js");
@@ -80,14 +80,14 @@ var import_chunk_AC6EAR56 = require("./chunk-AC6EAR56.js");
80
80
  var import_chunk_EPJYKNCQ = require("./chunk-EPJYKNCQ.js");
81
81
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
82
82
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
83
- var import_chunk_KA4LGY2J = require("./chunk-KA4LGY2J.js");
84
- var import_chunk_RYOCYBV3 = require("./chunk-RYOCYBV3.js");
83
+ var import_chunk_XO752QNR = require("./chunk-XO752QNR.js");
84
+ var import_chunk_FDGIJECG = require("./chunk-FDGIJECG.js");
85
85
  var import_chunk_MUPZUVSI = require("./chunk-MUPZUVSI.js");
86
- var import_chunk_JRZ4TN7E = require("./chunk-JRZ4TN7E.js");
87
- var import_chunk_OY62G3EE = require("./chunk-OY62G3EE.js");
86
+ var import_chunk_VXFQZ2MQ = require("./chunk-VXFQZ2MQ.js");
87
+ var import_chunk_WKSRML4I = require("./chunk-WKSRML4I.js");
88
88
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
89
89
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
90
- var import_chunk_K7MOSZ25 = require("./chunk-K7MOSZ25.js");
90
+ var import_chunk_2RQLEPAF = require("./chunk-2RQLEPAF.js");
91
91
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
92
92
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
93
93
  var import_chunk_QIVUAERL = require("./chunk-QIVUAERL.js");
@@ -95,7 +95,7 @@ var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
95
95
  var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
96
96
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
97
97
  var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
98
- var import_chunk_B2T5HDW7 = require("./chunk-B2T5HDW7.js");
98
+ var import_chunk_RL3K4V2J = require("./chunk-RL3K4V2J.js");
99
99
  var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
100
100
  var import_chunk_53LS3WUO = require("./chunk-53LS3WUO.js");
101
101
  var import_chunk_AZNLB67U = require("./chunk-AZNLB67U.js");
@@ -439,7 +439,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
439
439
  module2.exports = readdirGlob;
440
440
  var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
441
441
  var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
442
- var { Minimatch } = (0, import_chunk_B2T5HDW7.require_minimatch)();
442
+ var { Minimatch } = (0, import_chunk_RL3K4V2J.require_minimatch)();
443
443
  var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
444
444
  function readdir(dir2, strict) {
445
445
  return new Promise((resolve2, reject2) => {
@@ -2850,7 +2850,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
2850
2850
  var Duplex;
2851
2851
  Writable.WritableState = WritableState;
2852
2852
  var util = Object.create(require_util());
2853
- util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
2853
+ util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
2854
2854
  var internalUtil = {
2855
2855
  deprecate: require_node()
2856
2856
  };
@@ -3288,7 +3288,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
3288
3288
  };
3289
3289
  module2.exports = Duplex;
3290
3290
  var util = Object.create(require_util());
3291
- util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
3291
+ util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3292
3292
  var Readable = require_stream_readable();
3293
3293
  var Writable = require_stream_writable();
3294
3294
  util.inherits(Duplex, Readable);
@@ -3609,7 +3609,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3609
3609
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
3610
3610
  }
3611
3611
  var util = Object.create(require_util());
3612
- util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
3612
+ util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3613
3613
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
3614
3614
  var debug8 = void 0;
3615
3615
  if (debugUtil && debugUtil.debuglog) {
@@ -4276,7 +4276,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
4276
4276
  module2.exports = Transform;
4277
4277
  var Duplex = require_stream_duplex();
4278
4278
  var util = Object.create(require_util());
4279
- util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
4279
+ util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4280
4280
  util.inherits(Transform, Duplex);
4281
4281
  function afterTransform(er, data) {
4282
4282
  var ts = this._transformState;
@@ -4374,7 +4374,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
4374
4374
  module2.exports = PassThrough;
4375
4375
  var Transform = require_stream_transform();
4376
4376
  var util = Object.create(require_util());
4377
- util.inherits = (0, import_chunk_B2T5HDW7.require_inherits)();
4377
+ util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4378
4378
  util.inherits(PassThrough, Transform);
4379
4379
  function PassThrough(options2) {
4380
4380
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
@@ -5660,7 +5660,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
5660
5660
  var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
5661
5661
  var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
5662
5662
  var errorOrDestroy = destroyImpl.errorOrDestroy;
5663
- (0, import_chunk_B2T5HDW7.require_inherits)()(Writable, Stream);
5663
+ (0, import_chunk_RL3K4V2J.require_inherits)()(Writable, Stream);
5664
5664
  function nop() {
5665
5665
  }
5666
5666
  function WritableState(options2, stream, isDuplex) {
@@ -6102,7 +6102,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6102
6102
  module2.exports = Duplex;
6103
6103
  var Readable = require_stream_readable2();
6104
6104
  var Writable = require_stream_writable2();
6105
- (0, import_chunk_B2T5HDW7.require_inherits)()(Duplex, Readable);
6105
+ (0, import_chunk_RL3K4V2J.require_inherits)()(Duplex, Readable);
6106
6106
  {
6107
6107
  keys = objectKeys(Writable.prototype);
6108
6108
  for (v = 0; v < keys.length; v++) {
@@ -6879,7 +6879,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6879
6879
  var StringDecoder;
6880
6880
  var createReadableStreamAsyncIterator;
6881
6881
  var from;
6882
- (0, import_chunk_B2T5HDW7.require_inherits)()(Readable, Stream);
6882
+ (0, import_chunk_RL3K4V2J.require_inherits)()(Readable, Stream);
6883
6883
  var errorOrDestroy = destroyImpl.errorOrDestroy;
6884
6884
  var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
6885
6885
  function prependListener(emitter, event, fn) {
@@ -7584,7 +7584,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7584
7584
  var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
7585
7585
  var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
7586
7586
  var Duplex = require_stream_duplex2();
7587
- (0, import_chunk_B2T5HDW7.require_inherits)()(Transform, Duplex);
7587
+ (0, import_chunk_RL3K4V2J.require_inherits)()(Transform, Duplex);
7588
7588
  function afterTransform(er, data) {
7589
7589
  var ts = this._transformState;
7590
7590
  ts.transforming = false;
@@ -7678,7 +7678,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7678
7678
  "use strict";
7679
7679
  module2.exports = PassThrough;
7680
7680
  var Transform = require_stream_transform2();
7681
- (0, import_chunk_B2T5HDW7.require_inherits)()(PassThrough, Transform);
7681
+ (0, import_chunk_RL3K4V2J.require_inherits)()(PassThrough, Transform);
7682
7682
  function PassThrough(options2) {
7683
7683
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
7684
7684
  Transform.call(this, options2);
@@ -8552,7 +8552,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
8552
8552
  var difference = require_difference();
8553
8553
  var union = require_union();
8554
8554
  var isPlainObject = require_isPlainObject();
8555
- var glob = (0, import_chunk_B2T5HDW7.require_glob)();
8555
+ var glob = (0, import_chunk_RL3K4V2J.require_glob)();
8556
8556
  var file = module2.exports = {};
8557
8557
  var pathSeparatorRe = /[\/\\]/g;
8558
8558
  var processPatterns = function(patterns, fn) {
@@ -14751,7 +14751,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14751
14751
  }
14752
14752
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14753
14753
  debug2("Loading config");
14754
- const config2 = await (0, import_chunk_JRZ4TN7E.getConfig)({
14754
+ const config2 = await (0, import_chunk_VXFQZ2MQ.getConfig)({
14755
14755
  datamodel: files,
14756
14756
  ignoreEnvVarErrors: true
14757
14757
  });
@@ -14855,7 +14855,7 @@ function renderDefaultLookupError(error, cwd) {
14855
14855
  return parts.join("\n");
14856
14856
  }
14857
14857
  async function getPrismaConfigFromPackageJson(cwd) {
14858
- const pkgJson = await (0, import_chunk_B2T5HDW7.readPackageUp)({ cwd, normalize: false });
14858
+ const pkgJson = await (0, import_chunk_RL3K4V2J.readPackageUp)({ cwd, normalize: false });
14859
14859
  const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
14860
14860
  if (!pkgJson) {
14861
14861
  return null;
@@ -15059,8 +15059,8 @@ async function checkUnsupportedDataProxyMessage(command, args, implicitSchema) {
15059
15059
  if (argName.includes("schema")) {
15060
15060
  await loadEnvFile({ schemaPath: argValue, printMessage: false });
15061
15061
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
15062
- const config2 = await (0, import_chunk_JRZ4TN7E.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15063
- const url = (0, import_chunk_JRZ4TN7E.resolveUrl)((0, import_chunk_JRZ4TN7E.getEffectiveUrl)(config2.datasources[0]));
15062
+ const config2 = await (0, import_chunk_VXFQZ2MQ.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15063
+ const url = (0, import_chunk_VXFQZ2MQ.resolveUrl)((0, import_chunk_VXFQZ2MQ.getEffectiveUrl)(config2.datasources[0]));
15064
15064
  if (url?.startsWith("prisma://")) {
15065
15065
  return forbiddenCmdWithDataProxyFlagMessage(command);
15066
15066
  }
@@ -15081,7 +15081,7 @@ function getCLIPathHash() {
15081
15081
  const cliPath = process.argv[1];
15082
15082
  return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
15083
15083
  }
15084
- var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_B2T5HDW7.require_p_map)());
15084
+ var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_RL3K4V2J.require_p_map)());
15085
15085
  var debug4 = (0, import_debug6.default)("prisma:generator");
15086
15086
  async function checkTypeScriptVersion() {
15087
15087
  const minVersion = "4.1.0";
@@ -15232,7 +15232,7 @@ async function getGenerators(options) {
15232
15232
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15233
15233
  }
15234
15234
  }
15235
- const config = await (0, import_chunk_JRZ4TN7E.getConfig)({
15235
+ const config = await (0, import_chunk_VXFQZ2MQ.getConfig)({
15236
15236
  datamodel: schemas,
15237
15237
  datamodelPath: schemaPath,
15238
15238
  prismaPath,
@@ -15243,7 +15243,7 @@ async function getGenerators(options) {
15243
15243
  }
15244
15244
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15245
15245
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15246
- const dmmf = await (0, import_chunk_OY62G3EE.getDMMF)({
15246
+ const dmmf = await (0, import_chunk_WKSRML4I.getDMMF)({
15247
15247
  datamodel: schemas,
15248
15248
  datamodelPath: schemaPath,
15249
15249
  prismaPath,
@@ -15304,7 +15304,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15304
15304
  fromEnvVar: "null"
15305
15305
  };
15306
15306
  }
15307
- const datamodel = (0, import_chunk_RYOCYBV3.mergeSchemas)({ schemas });
15307
+ const datamodel = (0, import_chunk_FDGIJECG.mergeSchemas)({ schemas });
15308
15308
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15309
15309
  const options2 = {
15310
15310
  datamodel,
@@ -15387,7 +15387,7 @@ generator gen {
15387
15387
  debug6({ generatorBinaryPaths });
15388
15388
  generator.setBinaryPaths(generatorBinaryPaths);
15389
15389
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15390
- const customDmmf = await (0, import_chunk_OY62G3EE.getDMMF)({
15390
+ const customDmmf = await (0, import_chunk_WKSRML4I.getDMMF)({
15391
15391
  datamodel: schemas,
15392
15392
  datamodelPath: schemaPath,
15393
15393
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -15685,7 +15685,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15685
15685
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15686
15686
  handleFormatPanic(
15687
15687
  () => {
15688
- import_chunk_K7MOSZ25.prismaSchemaWasm.debug_panic();
15688
+ import_chunk_2RQLEPAF.prismaSchemaWasm.debug_panic();
15689
15689
  },
15690
15690
  { schemas: schemas2 }
15691
15691
  );
@@ -15705,12 +15705,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15705
15705
  () => {
15706
15706
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15707
15707
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15708
- const lintDiagnostics2 = (0, import_chunk_KA4LGY2J.lintSchema)({ schemas: formattedMultipleSchemas2 });
15708
+ const lintDiagnostics2 = (0, import_chunk_XO752QNR.lintSchema)({ schemas: formattedMultipleSchemas2 });
15709
15709
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15710
15710
  },
15711
15711
  { schemas: schemas2 }
15712
15712
  );
15713
- const lintWarnings = (0, import_chunk_KA4LGY2J.getLintWarningsAsText)(lintDiagnostics);
15713
+ const lintWarnings = (0, import_chunk_XO752QNR.getLintWarningsAsText)(lintDiagnostics);
15714
15714
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15715
15715
  console.warn(lintWarnings);
15716
15716
  }
@@ -15740,7 +15740,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15740
15740
  }
15741
15741
  }
15742
15742
  function formatWasm(schema, documentFormattingParams) {
15743
- const formattedSchema = import_chunk_K7MOSZ25.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15743
+ const formattedSchema = import_chunk_2RQLEPAF.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15744
15744
  return formattedSchema;
15745
15745
  }
15746
15746
  /*! Bundled license information:
@@ -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_KA4LGY2J_exports = {};
20
- __export(chunk_KA4LGY2J_exports, {
19
+ var chunk_GTXYC2GF_exports = {};
20
+ __export(chunk_GTXYC2GF_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_KA4LGY2J_exports);
27
+ module.exports = __toCommonJS(chunk_GTXYC2GF_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_K7MOSZ25 = require("./chunk-K7MOSZ25.js");
29
+ var import_chunk_WFXUZNYC = require("./chunk-WFXUZNYC.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_K7MOSZ25.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_WFXUZNYC.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -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_FVHT7T6X_exports = {};
20
- __export(chunk_FVHT7T6X_exports, {
19
+ var chunk_HBZE7WBM_exports = {};
20
+ __export(chunk_HBZE7WBM_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_FVHT7T6X_exports);
24
- var import_chunk_I3W66FS5 = require("./chunk-I3W66FS5.js");
25
- var packageJson = (0, import_chunk_I3W66FS5.require_package)();
23
+ module.exports = __toCommonJS(chunk_HBZE7WBM_exports);
24
+ var import_chunk_6E44G3OA = require("./chunk-6E44G3OA.js");
25
+ var packageJson = (0, import_chunk_6E44G3OA.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_GO46BVJ7_exports = {};
20
- __export(chunk_GO46BVJ7_exports, {
19
+ var chunk_JNJHZT2B_exports = {};
20
+ __export(chunk_JNJHZT2B_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_GO46BVJ7_exports);
24
- var import_chunk_FVHT7T6X = require("./chunk-FVHT7T6X.js");
23
+ module.exports = __toCommonJS(chunk_JNJHZT2B_exports);
24
+ var import_chunk_5XXB2PTD = require("./chunk-5XXB2PTD.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_FVHT7T6X.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_5XXB2PTD.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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) => {
@@ -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_SB33Q6RW_exports = {};
20
- __export(chunk_SB33Q6RW_exports, {
19
+ var chunk_U4TXQURZ_exports = {};
20
+ __export(chunk_U4TXQURZ_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_SB33Q6RW_exports);
24
- var import_chunk_ENJQDRQB = require("./chunk-ENJQDRQB.js");
23
+ module.exports = __toCommonJS(chunk_U4TXQURZ_exports);
24
+ var import_chunk_HBZE7WBM = require("./chunk-HBZE7WBM.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_ENJQDRQB.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_HBZE7WBM.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_JRZ4TN7E_exports = {};
30
- __export(chunk_JRZ4TN7E_exports, {
29
+ var chunk_VXFQZ2MQ_exports = {};
30
+ __export(chunk_VXFQZ2MQ_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_JRZ4TN7E_exports);
37
+ module.exports = __toCommonJS(chunk_VXFQZ2MQ_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_GO46BVJ7 = require("./chunk-GO46BVJ7.js");
41
+ var import_chunk_JNJHZT2B = require("./chunk-JNJHZT2B.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_K7MOSZ25 = require("./chunk-K7MOSZ25.js");
44
+ var import_chunk_2RQLEPAF = require("./chunk-2RQLEPAF.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_GO46BVJ7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
+ super((0, import_chunk_JNJHZT2B.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_K7MOSZ25.prismaSchemaWasm.debug_panic();
93
+ import_chunk_2RQLEPAF.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_K7MOSZ25.prismaSchemaWasm.get_config(params);
101
+ const data = import_chunk_2RQLEPAF.prismaSchemaWasm.get_config(params);
102
102
  return data;
103
103
  },
104
104
  (e) => ({
@@ -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_K7MOSZ25_exports = {};
30
- __export(chunk_K7MOSZ25_exports, {
29
+ var chunk_WFXUZNYC_exports = {};
30
+ __export(chunk_WFXUZNYC_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_K7MOSZ25_exports);
36
- var import_chunk_I3W66FS5 = require("./chunk-I3W66FS5.js");
35
+ module.exports = __toCommonJS(chunk_WFXUZNYC_exports);
36
+ var import_chunk_6E44G3OA = require("./chunk-6E44G3OA.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_I3W66FS5.require_package)();
45
+ var { dependencies } = (0, import_chunk_6E44G3OA.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -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_OY62G3EE_exports = {};
30
- __export(chunk_OY62G3EE_exports, {
29
+ var chunk_WKSRML4I_exports = {};
30
+ __export(chunk_WKSRML4I_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_OY62G3EE_exports);
34
+ module.exports = __toCommonJS(chunk_WKSRML4I_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_GO46BVJ7 = require("./chunk-GO46BVJ7.js");
37
+ var import_chunk_JNJHZT2B = require("./chunk-JNJHZT2B.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_K7MOSZ25 = require("./chunk-K7MOSZ25.js");
40
+ var import_chunk_2RQLEPAF = require("./chunk-2RQLEPAF.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.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_GO46BVJ7.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_JNJHZT2B.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_K7MOSZ25.prismaSchemaWasm.debug_panic();
93
+ import_chunk_2RQLEPAF.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_K7MOSZ25.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_2RQLEPAF.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (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_GADFZF5U_exports = {};
20
- __export(chunk_GADFZF5U_exports, {
19
+ var chunk_XO752QNR_exports = {};
20
+ __export(chunk_XO752QNR_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_GADFZF5U_exports);
27
+ module.exports = __toCommonJS(chunk_XO752QNR_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_KFKAHDGL = require("./chunk-KFKAHDGL.js");
29
+ var import_chunk_2RQLEPAF = require("./chunk-2RQLEPAF.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_KFKAHDGL.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_2RQLEPAF.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }