@prisma/internals 5.17.0-integration-show-platform-auth-token.3 → 5.17.0-integration-show-platform-auth-token.5

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 (58) hide show
  1. package/dist/{chunk-IEOLMIMU.js → chunk-2NJOBWJS.js} +15 -15
  2. package/dist/{chunk-5TGIEWON.js → chunk-2SSYVXDR.js} +22 -22
  3. package/dist/{chunk-3CRBDWPU.js → chunk-2X6W7TFG.js} +5 -5
  4. package/dist/{chunk-JM6ICT4D.js → chunk-4A5ZK522.js} +3 -3
  5. package/dist/{chunk-7QFKPVEI.js → chunk-56ERTRFR.js} +5 -5
  6. package/dist/{chunk-EOTOEWEG.js → chunk-BNIMKZNL.js} +16 -16
  7. package/dist/{chunk-HNFCHBPX.js → chunk-CZE6J5XE.js} +5 -5
  8. package/dist/{chunk-LQD72ZI2.js → chunk-DQPVFTJQ.js} +15 -15
  9. package/dist/{chunk-4SKD6RMZ.js → chunk-ELQBOUCU.js} +6 -6
  10. package/dist/{chunk-5SEXCYQP.js → chunk-ERFLQLMI.js} +23 -23
  11. package/dist/{chunk-2HYB2BOP.js → chunk-ETZHFUR5.js} +23 -23
  12. package/dist/{chunk-BDXNOGJ3.js → chunk-EY6S56AZ.js} +5 -5
  13. package/dist/{chunk-6HXOL3QF.js → chunk-EYOPVHNV.js} +28 -28
  14. package/dist/{chunk-FTFPVECN.js → chunk-GCEA7FEH.js} +5 -5
  15. package/dist/{chunk-Z2NHAREC.js → chunk-GHYJGM56.js} +5 -5
  16. package/dist/{chunk-EKSAMZHR.js → chunk-KUMD5MBR.js} +10 -10
  17. package/dist/{chunk-HHHZRX5T.js → chunk-LNOKNOBG.js} +16 -16
  18. package/dist/{chunk-KRU3ZK3W.js → chunk-NYIOBR7P.js} +19 -19
  19. package/dist/{chunk-BQ3ZVZLP.js → chunk-OR67YWXT.js} +22 -22
  20. package/dist/{chunk-OI5GDSG6.js → chunk-PN2OFBAO.js} +5 -5
  21. package/dist/{chunk-22WWDCBL.js → chunk-QL3K6JIN.js} +7 -7
  22. package/dist/{chunk-SMHAELKS.js → chunk-QOTVZEEZ.js} +17 -17
  23. package/dist/{chunk-IJK3NGWG.js → chunk-TO5N4ITO.js} +5 -5
  24. package/dist/{chunk-WPDXG7BG.js → chunk-VY6W7UY5.js} +5 -5
  25. package/dist/{chunk-V3GTH2TA.js → chunk-Y6KJKZQK.js} +5 -5
  26. package/dist/{chunk-P6T3CL5R.js → chunk-YCHXUHBZ.js} +5 -5
  27. package/dist/{chunk-QEMHOJR6.js → chunk-YM3CE76B.js} +147 -160
  28. package/dist/{chunk-ZMLBYV2S.js → chunk-ZWBK7KH4.js} +19 -19
  29. package/dist/cli/checkUnsupportedDataProxy.js +20 -20
  30. package/dist/cli/getSchema.js +25 -25
  31. package/dist/cli/hashes.js +20 -20
  32. package/dist/engine-commands/errorHelpers.js +4 -4
  33. package/dist/engine-commands/formatSchema.js +19 -19
  34. package/dist/engine-commands/getConfig.js +13 -13
  35. package/dist/engine-commands/getDmmf.js +10 -10
  36. package/dist/engine-commands/getEngineVersion.js +5 -5
  37. package/dist/engine-commands/getEnginesMetaInfo.js +8 -8
  38. package/dist/engine-commands/index.js +30 -30
  39. package/dist/engine-commands/lintSchema.js +8 -8
  40. package/dist/engine-commands/mergeSchemas.js +10 -10
  41. package/dist/engine-commands/queryEngineCommons.js +7 -7
  42. package/dist/engine-commands/validate.js +10 -10
  43. package/dist/get-generators/generatorResolvers/generatorResolvers.js +19 -19
  44. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +19 -19
  45. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +19 -19
  46. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +20 -20
  47. package/dist/get-generators/getGenerators.js +22 -22
  48. package/dist/index.js +57 -57
  49. package/dist/resolveBinary.js +7 -7
  50. package/dist/schemaEngineCommands.js +8 -8
  51. package/dist/sendPanic.js +19 -19
  52. package/dist/utils/fs-functional.js +9 -9
  53. package/dist/utils/getEnvPaths.js +19 -19
  54. package/dist/utils/getVersionFromPackageJson.js +3 -3
  55. package/dist/utils/handlePanic.js +19 -19
  56. package/dist/utils/loadEnvFile.js +19 -19
  57. package/dist/wasm.js +4 -4
  58. package/package.json +9 -9
@@ -26,25 +26,25 @@ 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_BQ3ZVZLP_exports = {};
30
- __export(chunk_BQ3ZVZLP_exports, {
29
+ var chunk_OR67YWXT_exports = {};
30
+ __export(chunk_OR67YWXT_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_BQ3ZVZLP_exports);
34
+ module.exports = __toCommonJS(chunk_OR67YWXT_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_EKSAMZHR = require("./chunk-EKSAMZHR.js");
37
- var import_chunk_FTFPVECN = require("./chunk-FTFPVECN.js");
38
- var import_chunk_SMHAELKS = require("./chunk-SMHAELKS.js");
36
+ var import_chunk_KUMD5MBR = require("./chunk-KUMD5MBR.js");
37
+ var import_chunk_GCEA7FEH = require("./chunk-GCEA7FEH.js");
38
+ var import_chunk_QOTVZEEZ = require("./chunk-QOTVZEEZ.js");
39
39
  var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
- var import_chunk_V3GTH2TA = require("./chunk-V3GTH2TA.js");
40
+ var import_chunk_CZE6J5XE = require("./chunk-CZE6J5XE.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
- var import_chunk_JM6ICT4D = require("./chunk-JM6ICT4D.js");
42
+ var import_chunk_4A5ZK522 = require("./chunk-4A5ZK522.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
44
44
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
45
45
  var import_debug = __toESM(require("@prisma/debug"));
46
46
  var import_fs = __toESM(require("fs"));
47
- var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_SMHAELKS.require_function)());
47
+ var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_QOTVZEEZ.require_function)());
48
48
  var debug = (0, import_debug.default)("prisma:getDMMF");
49
49
  var GetDmmfError = class extends Error {
50
50
  constructor(params) {
@@ -60,16 +60,16 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_FTFPVECN.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_GCEA7FEH.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
67
67
  async function getDMMF(options) {
68
68
  warnOnDeprecatedFeatureFlag(options.previewFeatures);
69
- const debugErrorType = (0, import_chunk_EKSAMZHR.createDebugErrorType)(debug, "getDmmfWasm");
69
+ const debugErrorType = (0, import_chunk_KUMD5MBR.createDebugErrorType)(debug, "getDmmfWasm");
70
70
  debug(`Using getDmmf Wasm`);
71
71
  const dmmfPipeline = (0, import_function.pipe)(
72
- (0, import_chunk_JM6ICT4D.tryCatch2)(
72
+ (0, import_chunk_4A5ZK522.tryCatch2)(
73
73
  () => {
74
74
  if (options.datamodel) {
75
75
  debug("Using given datamodel");
@@ -85,19 +85,19 @@ async function getDMMF(options) {
85
85
  datamodelPath: options.datamodelPath
86
86
  })
87
87
  ),
88
- (0, import_chunk_JM6ICT4D.chainW2)((datamodel) => {
88
+ (0, import_chunk_4A5ZK522.chainW2)((datamodel) => {
89
89
  return (0, import_function.pipe)(
90
- (0, import_chunk_JM6ICT4D.tryCatch)(
90
+ (0, import_chunk_4A5ZK522.tryCatch)(
91
91
  () => {
92
92
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
93
93
  debug("Triggering a Rust panic...");
94
- import_chunk_V3GTH2TA.prismaSchemaWasm.debug_panic();
94
+ import_chunk_CZE6J5XE.prismaSchemaWasm.debug_panic();
95
95
  }
96
96
  const params = JSON.stringify({
97
97
  prismaSchema: datamodel,
98
98
  noColor: Boolean(process.env.NO_COLOR)
99
99
  });
100
- const data = import_chunk_V3GTH2TA.prismaSchemaWasm.get_dmmf(params);
100
+ const data = import_chunk_CZE6J5XE.prismaSchemaWasm.get_dmmf(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -106,11 +106,11 @@ async function getDMMF(options) {
106
106
  error: e
107
107
  })
108
108
  ),
109
- (0, import_chunk_JM6ICT4D.map)((result) => ({ result })),
110
- (0, import_chunk_JM6ICT4D.chainW)(
109
+ (0, import_chunk_4A5ZK522.map)((result) => ({ result })),
110
+ (0, import_chunk_4A5ZK522.chainW)(
111
111
  ({ result }) => (
112
112
  // NOTE: this should never fail, as we expect returned values to be valid JSON-serializable strings
113
- (0, import_chunk_JM6ICT4D.tryCatch)(
113
+ (0, import_chunk_4A5ZK522.tryCatch)(
114
114
  () => JSON.parse(result),
115
115
  (e) => ({
116
116
  type: "parse-json",
@@ -120,12 +120,12 @@ async function getDMMF(options) {
120
120
  )
121
121
  )
122
122
  ),
123
- import_chunk_JM6ICT4D.fromEither
123
+ import_chunk_4A5ZK522.fromEither
124
124
  );
125
125
  })
126
126
  );
127
127
  const dmmfEither = await dmmfPipeline();
128
- if ((0, import_chunk_JM6ICT4D.isRight)(dmmfEither)) {
128
+ if ((0, import_chunk_4A5ZK522.isRight)(dmmfEither)) {
129
129
  debug("dmmf data retrieved without errors in getDmmf Wasm");
130
130
  const { right: data } = dmmfEither;
131
131
  return Promise.resolve(data);
@@ -158,7 +158,7 @@ Datamodel path: "${e.datamodelPath}"`,
158
158
  return panic;
159
159
  }
160
160
  const errorOutput = e.error.message;
161
- return new GetDmmfError((0, import_chunk_EKSAMZHR.parseQueryEngineError)({ errorOutput, reason: e.reason }));
161
+ return new GetDmmfError((0, import_chunk_KUMD5MBR.parseQueryEngineError)({ errorOutput, reason: e.reason }));
162
162
  }).with({ type: "parse-json" }, (e) => {
163
163
  debugErrorType(e);
164
164
  return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_OI5GDSG6_exports = {};
20
- __export(chunk_OI5GDSG6_exports, {
19
+ var chunk_PN2OFBAO_exports = {};
20
+ __export(chunk_PN2OFBAO_exports, {
21
21
  SchemaEngineExitCode: () => SchemaEngineExitCode,
22
22
  canConnectToDatabase: () => canConnectToDatabase,
23
23
  createDatabase: () => createDatabase,
24
24
  dropDatabase: () => dropDatabase,
25
25
  execaCommand: () => execaCommand
26
26
  });
27
- module.exports = __toCommonJS(chunk_OI5GDSG6_exports);
27
+ module.exports = __toCommonJS(chunk_PN2OFBAO_exports);
28
28
  var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
29
- var import_chunk_Z2NHAREC = require("./chunk-Z2NHAREC.js");
29
+ var import_chunk_GHYJGM56 = require("./chunk-GHYJGM56.js");
30
30
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
31
31
  var import_fetch_engine = require("@prisma/fetch-engine");
32
32
  var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
@@ -141,7 +141,7 @@ async function execaCommand({
141
141
  schemaEnginePath,
142
142
  engineCommandName
143
143
  }) {
144
- schemaEnginePath = schemaEnginePath || await (0, import_chunk_Z2NHAREC.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
144
+ schemaEnginePath = schemaEnginePath || await (0, import_chunk_GHYJGM56.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
145
145
  try {
146
146
  return await (0, import_execa.default)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
147
147
  cwd,
@@ -16,16 +16,16 @@ 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_22WWDCBL_exports = {};
20
- __export(chunk_22WWDCBL_exports, {
19
+ var chunk_QL3K6JIN_exports = {};
20
+ __export(chunk_QL3K6JIN_exports, {
21
21
  getEngineVersion: () => getEngineVersion,
22
22
  safeGetEngineVersion: () => safeGetEngineVersion
23
23
  });
24
- module.exports = __toCommonJS(chunk_22WWDCBL_exports);
24
+ module.exports = __toCommonJS(chunk_QL3K6JIN_exports);
25
25
  var import_chunk_S4LINK5Y = require("./chunk-S4LINK5Y.js");
26
26
  var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
27
- var import_chunk_Z2NHAREC = require("./chunk-Z2NHAREC.js");
28
- var import_chunk_JM6ICT4D = require("./chunk-JM6ICT4D.js");
27
+ var import_chunk_GHYJGM56 = require("./chunk-GHYJGM56.js");
28
+ var import_chunk_4A5ZK522 = require("./chunk-4A5ZK522.js");
29
29
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
30
30
  var import_engines = require("@prisma/engines");
31
31
  var import_fetch_engine = require("@prisma/fetch-engine");
@@ -35,7 +35,7 @@ async function getEngineVersion(enginePath, binaryName) {
35
35
  if (!binaryName) {
36
36
  binaryName = (0, import_engines.getCliQueryEngineBinaryType)();
37
37
  }
38
- enginePath = await (0, import_chunk_Z2NHAREC.resolveBinary)(binaryName, enginePath);
38
+ enginePath = await (0, import_chunk_GHYJGM56.resolveBinary)(binaryName, enginePath);
39
39
  const platformInfo = await (0, import_get_platform.getPlatformInfo)();
40
40
  if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
41
41
  (0, import_get_platform.assertNodeAPISupported)();
@@ -47,7 +47,7 @@ async function getEngineVersion(enginePath, binaryName) {
47
47
  }
48
48
  }
49
49
  function safeGetEngineVersion(enginePath, binaryName) {
50
- return (0, import_chunk_JM6ICT4D.tryCatch2)(
50
+ return (0, import_chunk_4A5ZK522.tryCatch2)(
51
51
  () => getEngineVersion(enginePath, binaryName),
52
52
  (error) => error
53
53
  );
@@ -16,14 +16,14 @@ 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_SMHAELKS_exports = {};
20
- __export(chunk_SMHAELKS_exports, {
19
+ var chunk_QOTVZEEZ_exports = {};
20
+ __export(chunk_QOTVZEEZ_exports, {
21
21
  require_function: () => require_function
22
22
  });
23
- module.exports = __toCommonJS(chunk_SMHAELKS_exports);
23
+ module.exports = __toCommonJS(chunk_QOTVZEEZ_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
- "../../node_modules/.pnpm/fp-ts@2.16.6/node_modules/fp-ts/lib/function.js"(exports) {
26
+ "../../node_modules/.pnpm/fp-ts@2.16.8/node_modules/fp-ts/lib/function.js"(exports) {
27
27
  "use strict";
28
28
  var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
29
29
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
@@ -35,7 +35,19 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
35
35
  return to.concat(ar || Array.prototype.slice.call(from));
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.dual = exports.getEndomorphismMonoid = exports.not = exports.SK = exports.hole = exports.pipe = exports.untupled = exports.tupled = exports.absurd = exports.decrement = exports.increment = exports.tuple = exports.flow = exports.flip = exports.constVoid = exports.constUndefined = exports.constNull = exports.constFalse = exports.constTrue = exports.constant = exports.unsafeCoerce = exports.identity = exports.apply = exports.getRing = exports.getSemiring = exports.getMonoid = exports.getSemigroup = exports.getBooleanAlgebra = void 0;
38
+ exports.dual = exports.getEndomorphismMonoid = exports.SK = exports.hole = exports.constVoid = exports.constUndefined = exports.constNull = exports.constFalse = exports.constTrue = exports.unsafeCoerce = exports.apply = exports.getRing = exports.getSemiring = exports.getMonoid = exports.getSemigroup = exports.getBooleanAlgebra = void 0;
39
+ exports.identity = identity;
40
+ exports.constant = constant;
41
+ exports.flip = flip;
42
+ exports.flow = flow;
43
+ exports.tuple = tuple;
44
+ exports.increment = increment;
45
+ exports.decrement = decrement;
46
+ exports.absurd = absurd;
47
+ exports.tupled = tupled;
48
+ exports.untupled = untupled;
49
+ exports.pipe = pipe;
50
+ exports.not = not;
39
51
  var getBooleanAlgebra = function(B) {
40
52
  return function() {
41
53
  return {
@@ -138,14 +150,12 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
138
150
  function identity(a) {
139
151
  return a;
140
152
  }
141
- exports.identity = identity;
142
153
  exports.unsafeCoerce = identity;
143
154
  function constant(a) {
144
155
  return function() {
145
156
  return a;
146
157
  };
147
158
  }
148
- exports.constant = constant;
149
159
  exports.constTrue = constant(true);
150
160
  exports.constFalse = constant(false);
151
161
  exports.constNull = constant(null);
@@ -165,7 +175,6 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
165
175
  };
166
176
  };
167
177
  }
168
- exports.flip = flip;
169
178
  function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
170
179
  switch (arguments.length) {
171
180
  case 1:
@@ -205,7 +214,6 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
205
214
  }
206
215
  return;
207
216
  }
208
- exports.flow = flow;
209
217
  function tuple() {
210
218
  var t = [];
211
219
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -213,25 +221,20 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
213
221
  }
214
222
  return t;
215
223
  }
216
- exports.tuple = tuple;
217
224
  function increment(n) {
218
225
  return n + 1;
219
226
  }
220
- exports.increment = increment;
221
227
  function decrement(n) {
222
228
  return n - 1;
223
229
  }
224
- exports.decrement = decrement;
225
230
  function absurd(_) {
226
231
  throw new Error("Called `absurd` function which should be uncallable");
227
232
  }
228
- exports.absurd = absurd;
229
233
  function tupled(f) {
230
234
  return function(a) {
231
235
  return f.apply(void 0, a);
232
236
  };
233
237
  }
234
- exports.tupled = tupled;
235
238
  function untupled(f) {
236
239
  return function() {
237
240
  var a = [];
@@ -241,7 +244,6 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
241
244
  return f(a);
242
245
  };
243
246
  }
244
- exports.untupled = untupled;
245
247
  function pipe(a, ab, bc, cd, de, ef, fg, gh, hi) {
246
248
  switch (arguments.length) {
247
249
  case 1:
@@ -271,7 +273,6 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
271
273
  }
272
274
  }
273
275
  }
274
- exports.pipe = pipe;
275
276
  exports.hole = absurd;
276
277
  var SK = function(_, b) {
277
278
  return b;
@@ -282,7 +283,6 @@ var require_function = (0, import_chunk_WWAWV7DQ.__commonJS)({
282
283
  return !predicate(a);
283
284
  };
284
285
  }
285
- exports.not = not;
286
286
  var getEndomorphismMonoid = function() {
287
287
  return {
288
288
  concat: function(first, second) {
@@ -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_IJK3NGWG_exports = {};
20
- __export(chunk_IJK3NGWG_exports, {
19
+ var chunk_TO5N4ITO_exports = {};
20
+ __export(chunk_TO5N4ITO_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_IJK3NGWG_exports);
24
- var import_chunk_3CRBDWPU = require("./chunk-3CRBDWPU.js");
25
- var packageJson = (0, import_chunk_3CRBDWPU.require_package)();
23
+ module.exports = __toCommonJS(chunk_TO5N4ITO_exports);
24
+ var import_chunk_2X6W7TFG = require("./chunk-2X6W7TFG.js");
25
+ var packageJson = (0, import_chunk_2X6W7TFG.require_package)();
26
26
  var version = packageJson.version;
@@ -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_WPDXG7BG_exports = {};
20
- __export(chunk_WPDXG7BG_exports, {
19
+ var chunk_VY6W7UY5_exports = {};
20
+ __export(chunk_VY6W7UY5_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_WPDXG7BG_exports);
24
- var import_chunk_4SKD6RMZ = require("./chunk-4SKD6RMZ.js");
25
- var packageJson = (0, import_chunk_4SKD6RMZ.require_package)();
23
+ module.exports = __toCommonJS(chunk_VY6W7UY5_exports);
24
+ var import_chunk_ELQBOUCU = require("./chunk-ELQBOUCU.js");
25
+ var packageJson = (0, import_chunk_ELQBOUCU.require_package)();
26
26
  var version = packageJson.version;
@@ -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_V3GTH2TA_exports = {};
30
- __export(chunk_V3GTH2TA_exports, {
29
+ var chunk_Y6KJKZQK_exports = {};
30
+ __export(chunk_Y6KJKZQK_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_V3GTH2TA_exports);
36
- var import_chunk_4SKD6RMZ = require("./chunk-4SKD6RMZ.js");
35
+ module.exports = __toCommonJS(chunk_Y6KJKZQK_exports);
36
+ var import_chunk_2X6W7TFG = require("./chunk-2X6W7TFG.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_4SKD6RMZ.require_package)();
45
+ var { dependencies } = (0, import_chunk_2X6W7TFG.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
@@ -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_P6T3CL5R_exports = {};
20
- __export(chunk_P6T3CL5R_exports, {
19
+ var chunk_YCHXUHBZ_exports = {};
20
+ __export(chunk_YCHXUHBZ_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_P6T3CL5R_exports);
27
+ module.exports = __toCommonJS(chunk_YCHXUHBZ_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_V3GTH2TA = require("./chunk-V3GTH2TA.js");
29
+ var import_chunk_Y6KJKZQK = require("./chunk-Y6KJKZQK.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_V3GTH2TA.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_Y6KJKZQK.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }