@prisma/internals 6.1.0-dev.3 → 6.1.0-dev.30

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 (68) hide show
  1. package/dist/{chunk-H3T4L34H.js → chunk-25RJ7YTB.js} +88 -83
  2. package/dist/{chunk-S4LINK5Y.js → chunk-2XRDQCIA.js} +5 -5
  3. package/dist/{chunk-HMGEWJDY.js → chunk-3BND5XB4.js} +232 -47
  4. package/dist/{chunk-JMZHUHCC.js → chunk-3DMEILBC.js} +13 -13
  5. package/dist/{chunk-X4K6SW2Y.js → chunk-433BZNLO.js} +13 -13
  6. package/dist/{chunk-D4MCOTL5.js → chunk-5XRQ7ONW.js} +5 -5
  7. package/dist/{chunk-I4467NNA.js → chunk-CXEMRKV4.js} +6 -6
  8. package/dist/{chunk-G7LL2H2O.js → chunk-EKBX4J6O.js} +7 -7
  9. package/dist/{chunk-2CHJ6JM2.js → chunk-FUWQQ4OU.js} +5 -5
  10. package/dist/{chunk-HM5POBB4.js → chunk-HANOM7ZO.js} +5 -5
  11. package/dist/{chunk-LEGPENYH.js → chunk-IMVWKJU5.js} +7 -7
  12. package/dist/{chunk-UIGFAS6M.js → chunk-IS6LGFUU.js} +14 -41
  13. package/dist/{chunk-6VXLRSIV.js → chunk-JB56QOGN.js} +13 -13
  14. package/dist/{chunk-GWBZ6Z6W.js → chunk-JXYVKREJ.js} +5 -5
  15. package/dist/{chunk-ZW637L2K.js → chunk-LEHBZGS4.js} +5 -5
  16. package/dist/{chunk-J4MA2JIK.js → chunk-N6K7M2HZ.js} +5 -5
  17. package/dist/{chunk-LVDENBX2.js → chunk-OBNSXASV.js} +5 -5
  18. package/dist/{chunk-WCWDW6XL.js → chunk-PQ4POE2Y.js} +36 -807
  19. package/dist/{chunk-7CXYD5ZJ.js → chunk-Q3MLJQAZ.js} +5 -5
  20. package/dist/{chunk-RQPDQSHK.js → chunk-QIVUAERL.js} +777 -4
  21. package/dist/{chunk-FPHZVRV4.js → chunk-QJZIYUVB.js} +5 -5
  22. package/dist/{chunk-SLBBRUQS.js → chunk-QTXYAZFX.js} +5 -5
  23. package/dist/{chunk-4RWCRJYD.js → chunk-TFSZCVKC.js} +5 -5
  24. package/dist/{chunk-HPF5G47V.js → chunk-UPIULDLZ.js} +5 -5
  25. package/dist/{chunk-ZADYZQO7.js → chunk-VJ46C5V4.js} +15 -15
  26. package/dist/{chunk-SODELJQA.js → chunk-VX7QGUBY.js} +14 -14
  27. package/dist/{chunk-HU3TYMTP.js → chunk-YNI2SMXZ.js} +5 -5
  28. package/dist/{chunk-26SJISVZ.js → chunk-YO2HQMQH.js} +6 -6
  29. package/dist/{chunk-EWWCVGRX.js → chunk-YOC6F62R.js} +5 -5
  30. package/dist/{chunk-UFRXTLJ3.js → chunk-YWSWNTSV.js} +14 -14
  31. package/dist/{chunk-UGN2IMJV.js → chunk-Z2BJHHA4.js} +36 -807
  32. package/dist/{chunk-XAL6KTHD.js → chunk-ZEJUQ43B.js} +14 -41
  33. package/dist/{chunk-W64BQ3QW.js → chunk-ZKQX4HDV.js} +15 -15
  34. package/dist/cli/checkUnsupportedDataProxy.js +25 -25
  35. package/dist/cli/getSchema.js +30 -30
  36. package/dist/cli/hashes.js +25 -25
  37. package/dist/engine-commands/errorHelpers.js +4 -4
  38. package/dist/engine-commands/formatSchema.js +24 -24
  39. package/dist/engine-commands/getConfig.js +12 -12
  40. package/dist/engine-commands/getDmmf.js +9 -9
  41. package/dist/engine-commands/getEngineVersion.js +8 -8
  42. package/dist/engine-commands/getEnginesMetaInfo.js +10 -10
  43. package/dist/engine-commands/index.js +35 -35
  44. package/dist/engine-commands/lintSchema.js +8 -8
  45. package/dist/engine-commands/mergeSchemas.js +9 -9
  46. package/dist/engine-commands/queryEngineCommons.js +6 -6
  47. package/dist/engine-commands/validate.js +9 -9
  48. package/dist/get-generators/generatorResolvers/generatorResolvers.js +24 -24
  49. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +24 -24
  50. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +25 -25
  51. package/dist/get-generators/getGenerators.js +27 -27
  52. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
  53. package/dist/index.js +65 -65
  54. package/dist/resolveBinary.js +7 -7
  55. package/dist/schemaEngineCommands.js +8 -8
  56. package/dist/sendPanic.js +24 -24
  57. package/dist/tracing/types.d.ts +26 -16
  58. package/dist/utils/cloudflareD1.js +3 -3
  59. package/dist/utils/getEnvPaths.js +24 -24
  60. package/dist/utils/getGitHubIssueUrl.js +4 -4
  61. package/dist/utils/getVersionFromPackageJson.js +3 -3
  62. package/dist/utils/handleEngineLoadingErrors.js +3 -3
  63. package/dist/utils/handlePanic.js +24 -24
  64. package/dist/utils/load.js +4 -4
  65. package/dist/utils/loadEnvFile.js +24 -24
  66. package/dist/utils/tryLoadEnvs.js +5 -5
  67. package/dist/wasm.js +4 -4
  68. package/package.json +10 -10
@@ -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_LEGPENYH_exports = {};
20
- __export(chunk_LEGPENYH_exports, {
19
+ var chunk_IMVWKJU5_exports = {};
20
+ __export(chunk_IMVWKJU5_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_LEGPENYH_exports);
23
+ module.exports = __toCommonJS(chunk_IMVWKJU5_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.1.0-dev.3",
29
+ version: "6.1.0-dev.30",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -65,7 +65,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
65
65
  archiver: "6.0.2",
66
66
  "checkpoint-client": "1.1.33",
67
67
  "cli-truncate": "2.1.0",
68
- dotenv: "16.0.3",
68
+ dotenv: "16.4.7",
69
69
  esbuild: "0.24.0",
70
70
  "escape-string-regexp": "4.0.0",
71
71
  execa: "5.1.1",
@@ -100,7 +100,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
100
100
  "terminal-link": "2.1.1",
101
101
  tmp: "0.2.3",
102
102
  "ts-node": "10.9.2",
103
- "ts-pattern": "5.2.0",
103
+ "ts-pattern": "5.6.0",
104
104
  "ts-toolbelt": "9.6.0",
105
105
  typescript: "5.4.5",
106
106
  yarn: "1.22.22"
@@ -111,7 +111,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
111
111
  "@prisma/fetch-engine": "workspace:*",
112
112
  "@prisma/generator-helper": "workspace:*",
113
113
  "@prisma/get-platform": "workspace:*",
114
- "@prisma/prisma-schema-wasm": "6.1.0-3.025d69d4aa1362e128e0bcc53b5147a416dfebad",
114
+ "@prisma/prisma-schema-wasm": "6.1.0-16.40232c93c80a22f3a8bae784b0386319a57a5aa0",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"
@@ -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_UIGFAS6M_exports = {};
30
- __export(chunk_UIGFAS6M_exports, {
29
+ var chunk_IS6LGFUU_exports = {};
30
+ __export(chunk_IS6LGFUU_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_UIGFAS6M_exports);
34
+ module.exports = __toCommonJS(chunk_IS6LGFUU_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_I4467NNA = require("./chunk-I4467NNA.js");
37
- var import_chunk_EWWCVGRX = require("./chunk-EWWCVGRX.js");
36
+ var import_chunk_CXEMRKV4 = require("./chunk-CXEMRKV4.js");
37
+ var import_chunk_YNI2SMXZ = require("./chunk-YNI2SMXZ.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
- var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
40
- var import_chunk_7CXYD5ZJ = require("./chunk-7CXYD5ZJ.js");
39
+ var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
40
+ var import_chunk_Q3MLJQAZ = require("./chunk-Q3MLJQAZ.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");
@@ -48,7 +48,7 @@ var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_PFLLVW
48
48
  var debug = (0, import_debug.default)("prisma:getDMMF");
49
49
  var GetDmmfError = class extends Error {
50
50
  constructor(params) {
51
- const constructedErrorMessage = (0, import_chunk_H3T4L34H.$)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
+ const constructedErrorMessage = (0, import_chunk_25RJ7YTB.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
52
52
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
53
53
  return `${reason}
54
54
  ${errorCodeMessage}
@@ -60,13 +60,12 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_EWWCVGRX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_YNI2SMXZ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
67
67
  async function getDMMF(options) {
68
- warnOnDeprecatedFeatureFlag(options.previewFeatures);
69
- const debugErrorType = (0, import_chunk_I4467NNA.createDebugErrorType)(debug, "getDmmfWasm");
68
+ const debugErrorType = (0, import_chunk_CXEMRKV4.createDebugErrorType)(debug, "getDmmfWasm");
70
69
  debug(`Using getDmmf Wasm`);
71
70
  const dmmfPipeline = (0, import_function.pipe)(
72
71
  (0, import_chunk_7MD6344A.tryCatch2)(
@@ -91,13 +90,13 @@ async function getDMMF(options) {
91
90
  () => {
92
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
93
92
  debug("Triggering a Rust panic...");
94
- import_chunk_7CXYD5ZJ.prismaSchemaWasm.debug_panic();
93
+ import_chunk_Q3MLJQAZ.prismaSchemaWasm.debug_panic();
95
94
  }
96
95
  const params = JSON.stringify({
97
96
  prismaSchema: datamodel,
98
97
  noColor: Boolean(process.env.NO_COLOR)
99
98
  });
100
- const data = import_chunk_7CXYD5ZJ.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_Q3MLJQAZ.prismaSchemaWasm.get_dmmf(params);
101
100
  return data;
102
101
  },
103
102
  (e) => ({
@@ -130,7 +129,7 @@ async function getDMMF(options) {
130
129
  const { right: data } = dmmfEither;
131
130
  return Promise.resolve(data);
132
131
  }
133
- const error = (0, import_chunk_H3T4L34H.$)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
132
+ const error = (0, import_chunk_25RJ7YTB.z)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
134
133
  debugErrorType(e);
135
134
  return new GetDmmfError({
136
135
  _tag: "unparsed",
@@ -158,36 +157,10 @@ Datamodel path: "${e.datamodelPath}"`,
158
157
  return panic;
159
158
  }
160
159
  const errorOutput = e.error.message;
161
- return new GetDmmfError((0, import_chunk_I4467NNA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
160
+ return new GetDmmfError((0, import_chunk_CXEMRKV4.parseQueryEngineError)({ errorOutput, reason: e.reason }));
162
161
  }).with({ type: "parse-json" }, (e) => {
163
162
  debugErrorType(e);
164
163
  return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
165
164
  }).exhaustive();
166
165
  throw error;
167
166
  }
168
- function warnOnDeprecatedFeatureFlag(previewFeatures) {
169
- const getMessage = (flag) => `${(0, import_chunk_PG5FDKSF.blue)((0, import_chunk_PG5FDKSF.bold)("info"))} The preview flag "${flag}" is not needed anymore, please remove it from your schema.prisma`;
170
- const removedFeatureFlagMap = {
171
- insensitiveFilters: getMessage("insensitiveFilters"),
172
- atomicNumberOperations: getMessage("atomicNumberOperations"),
173
- connectOrCreate: getMessage("connectOrCreate"),
174
- transaction: getMessage("transaction"),
175
- nApi: getMessage("nApi"),
176
- transactionApi: getMessage("transactionApi"),
177
- uncheckedScalarInputs: getMessage("uncheckedScalarInputs"),
178
- nativeTypes: getMessage("nativeTypes"),
179
- createMany: getMessage("createMany"),
180
- groupBy: getMessage("groupBy"),
181
- referentialActions: getMessage("referentialActions"),
182
- microsoftSqlServer: getMessage("microsoftSqlServer"),
183
- selectRelationCount: getMessage("selectRelationCount"),
184
- orderByRelation: getMessage("orderByRelation"),
185
- orderByAggregateGroup: getMessage("orderByAggregateGroup")
186
- };
187
- previewFeatures?.forEach((f) => {
188
- const removedMessage = removedFeatureFlagMap[f];
189
- if (removedMessage && !process.env.PRISMA_HIDE_PREVIEW_FLAG_WARNINGS) {
190
- console.warn(removedMessage);
191
- }
192
- });
193
- }
@@ -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_6VXLRSIV_exports = {};
30
- __export(chunk_6VXLRSIV_exports, {
29
+ var chunk_JB56QOGN_exports = {};
30
+ __export(chunk_JB56QOGN_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_6VXLRSIV_exports);
34
+ module.exports = __toCommonJS(chunk_JB56QOGN_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_I4467NNA = require("./chunk-I4467NNA.js");
36
+ var import_chunk_CXEMRKV4 = require("./chunk-CXEMRKV4.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_EWWCVGRX = require("./chunk-EWWCVGRX.js");
38
+ var import_chunk_YOC6F62R = require("./chunk-YOC6F62R.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
- var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
41
- var import_chunk_7CXYD5ZJ = require("./chunk-7CXYD5ZJ.js");
40
+ var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
41
+ var import_chunk_JXYVKREJ = require("./chunk-JXYVKREJ.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");
@@ -48,7 +48,7 @@ var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_PFLLVW
48
48
  var debug = (0, import_debug.default)("prisma:mergeSchemas");
49
49
  var MergeSchemasError = class extends Error {
50
50
  constructor(params) {
51
- const constructedErrorMessage = (0, import_chunk_H3T4L34H.$)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
+ const constructedErrorMessage = (0, import_chunk_25RJ7YTB.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
52
52
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
53
53
  return `${reason}
54
54
  ${errorCodeMessage}
@@ -60,12 +60,12 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: mergeSchemas]`;
63
- super((0, import_chunk_EWWCVGRX.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_YOC6F62R.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "MergeSchemasError";
65
65
  }
66
66
  };
67
67
  function mergeSchemas(options) {
68
- const debugErrorType = (0, import_chunk_I4467NNA.createDebugErrorType)(debug, "mergeSchemasWasm");
68
+ const debugErrorType = (0, import_chunk_CXEMRKV4.createDebugErrorType)(debug, "mergeSchemasWasm");
69
69
  debug(`Using mergeSchemas Wasm`);
70
70
  const mergeSchemasEither = (0, import_function.pipe)(
71
71
  (0, import_chunk_7MD6344A.tryCatch)(
@@ -73,7 +73,7 @@ function mergeSchemas(options) {
73
73
  const params = JSON.stringify({
74
74
  schema: options.schemas
75
75
  });
76
- return import_chunk_7CXYD5ZJ.prismaSchemaWasm.merge_schemas(params);
76
+ return import_chunk_JXYVKREJ.prismaSchemaWasm.merge_schemas(params);
77
77
  },
78
78
  (e) => ({
79
79
  type: "wasm-error",
@@ -85,7 +85,7 @@ function mergeSchemas(options) {
85
85
  if ((0, import_chunk_7MD6344A.isRight)(mergeSchemasEither)) {
86
86
  return mergeSchemasEither.right;
87
87
  }
88
- const error = (0, import_chunk_H3T4L34H.$)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
88
+ const error = (0, import_chunk_25RJ7YTB.z)(mergeSchemasEither.left).with({ type: "wasm-error" }, (e) => {
89
89
  debugErrorType(e);
90
90
  console.error("");
91
91
  if ((0, import_chunk_A4QWQE3W.isWasmPanic)(e.error)) {
@@ -108,7 +108,7 @@ function mergeSchemas(options) {
108
108
  return panic;
109
109
  }
110
110
  const errorOutput = e.error.message;
111
- return new MergeSchemasError((0, import_chunk_I4467NNA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
111
+ return new MergeSchemasError((0, import_chunk_CXEMRKV4.parseQueryEngineError)({ errorOutput, reason: e.reason }));
112
112
  }).exhaustive();
113
113
  throw error;
114
114
  }
@@ -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_GWBZ6Z6W_exports = {};
30
- __export(chunk_GWBZ6Z6W_exports, {
29
+ var chunk_JXYVKREJ_exports = {};
30
+ __export(chunk_JXYVKREJ_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_GWBZ6Z6W_exports);
36
- var import_chunk_26SJISVZ = require("./chunk-26SJISVZ.js");
35
+ module.exports = __toCommonJS(chunk_JXYVKREJ_exports);
36
+ var import_chunk_YO2HQMQH = require("./chunk-YO2HQMQH.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_26SJISVZ.require_package)();
45
+ var { dependencies } = (0, import_chunk_YO2HQMQH.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_ZW637L2K_exports = {};
20
- __export(chunk_ZW637L2K_exports, {
19
+ var chunk_LEHBZGS4_exports = {};
20
+ __export(chunk_LEHBZGS4_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_ZW637L2K_exports);
27
+ module.exports = __toCommonJS(chunk_LEHBZGS4_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_GWBZ6Z6W = require("./chunk-GWBZ6Z6W.js");
29
+ var import_chunk_JXYVKREJ = require("./chunk-JXYVKREJ.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_GWBZ6Z6W.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_JXYVKREJ.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -16,12 +16,12 @@ 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_J4MA2JIK_exports = {};
20
- __export(chunk_J4MA2JIK_exports, {
19
+ var chunk_N6K7M2HZ_exports = {};
20
+ __export(chunk_N6K7M2HZ_exports, {
21
21
  handleLibraryLoadingErrors: () => handleLibraryLoadingErrors
22
22
  });
23
- module.exports = __toCommonJS(chunk_J4MA2JIK_exports);
24
- var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
23
+ module.exports = __toCommonJS(chunk_N6K7M2HZ_exports);
24
+ var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
25
25
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
26
26
  var import_get_platform = require("@prisma/get-platform");
27
27
  function handleLibraryLoadingErrors(args) {
@@ -32,7 +32,7 @@ function handleLibraryLoadingErrors(args) {
32
32
  "https://pris.ly/d/system-requirements"
33
33
  )}`;
34
34
  const errorTitle = `Unable to require(\`${(0, import_chunk_PG5FDKSF.dim)(args.id)}\`).`;
35
- const potentialReasonMessage = (0, import_chunk_H3T4L34H.$)({ message: error.message, code: error.code }).with({ code: "ENOENT" }, () => `File does not exist.`).when(
35
+ const potentialReasonMessage = (0, import_chunk_25RJ7YTB.z)({ message: error.message, code: error.code }).with({ code: "ENOENT" }, () => `File does not exist.`).when(
36
36
  ({ message }) => hasLinkingProblem && message.includes("libz"),
37
37
  () => {
38
38
  return `${systemLibraryNotFound("libz")}. Please install it and try again.`;
@@ -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_LVDENBX2_exports = {};
20
- __export(chunk_LVDENBX2_exports, {
19
+ var chunk_OBNSXASV_exports = {};
20
+ __export(chunk_OBNSXASV_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_LVDENBX2_exports);
24
- var import_chunk_26SJISVZ = require("./chunk-26SJISVZ.js");
25
- var packageJson = (0, import_chunk_26SJISVZ.require_package)();
23
+ module.exports = __toCommonJS(chunk_OBNSXASV_exports);
24
+ var import_chunk_YO2HQMQH = require("./chunk-YO2HQMQH.js");
25
+ var packageJson = (0, import_chunk_YO2HQMQH.require_package)();
26
26
  var version = packageJson.version;