@prisma/internals 6.6.0-dev.4 → 6.6.0-dev.41

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 (215) hide show
  1. package/dist/Generator.js +3 -3
  2. package/dist/WasmPanicRegistry.js +3 -3
  3. package/dist/chunk-2QTAK7KO.js +101 -0
  4. package/dist/{chunk-XLGODPZH.js → chunk-3DQANJMY.js} +12 -12
  5. package/dist/{chunk-WWAWV7DQ.js → chunk-4VNS5WPM.js} +3 -33
  6. package/dist/{chunk-KQOJB3ZW.js → chunk-5AI4FIZ3.js} +10 -10
  7. package/dist/{chunk-7MD6344A.js → chunk-5DBOS77Y.js} +3 -5
  8. package/dist/{chunk-TZCE3PWZ.js → chunk-5VQNKCKW.js} +7 -7
  9. package/dist/{chunk-I7IEEULS.js → chunk-6TTRTZXU.js} +5 -5
  10. package/dist/{chunk-MGZOEY6N.js → chunk-72UZXEBG.js} +6 -6
  11. package/dist/{chunk-5RV3EMX6.js → chunk-75BIJ5PX.js} +57 -57
  12. package/dist/{chunk-RLDUMTXD.js → chunk-ANZ7I7BV.js} +46 -79
  13. package/dist/{chunk-BGFWFIPR.js → chunk-AZV6HVKA.js} +5 -5
  14. package/dist/{chunk-VRT7T6MF.js → chunk-BWGDP6B5.js} +94 -105
  15. package/dist/{chunk-5CIZXUQR.js → chunk-CPF2U6TN.js} +30 -34
  16. package/dist/{chunk-5MCWLJSR.js → chunk-CR3XKUEA.js} +10 -10
  17. package/dist/{chunk-TSJICM5S.js → chunk-CRVLHWC5.js} +5 -5
  18. package/dist/{chunk-SHJNE6T7.js → chunk-D4VDA2TZ.js} +7 -7
  19. package/dist/{chunk-MUPZUVSI.js → chunk-D4VZUY3O.js} +14 -20
  20. package/dist/{chunk-IPG5ZT4T.js → chunk-D6UC363D.js} +23 -27
  21. package/dist/{chunk-KTBNIQ7N.js → chunk-DKSUHQGA.js} +8 -8
  22. package/dist/chunk-DODIJPCS.js +34 -0
  23. package/dist/{chunk-45HF3I7B.js → chunk-DQTWQONJ.js} +5 -5
  24. package/dist/{chunk-UNUCCAXA.js → chunk-DTPFRZWV.js} +5 -5
  25. package/dist/{chunk-ZYW3HGSH.js → chunk-DYVL6P7F.js} +7 -8
  26. package/dist/{chunk-RUIW2PYP.js → chunk-E34H3BUU.js} +5 -5
  27. package/dist/{chunk-NJQWZ447.js → chunk-EPXBOIA5.js} +6 -6
  28. package/dist/{chunk-QXWVKT6L.js → chunk-EQVDLWDC.js} +22 -26
  29. package/dist/{chunk-7XNZDY2V.js → chunk-ETYWYJBX.js} +60 -60
  30. package/dist/{chunk-PIPE5DSU.js → chunk-EWWOTVR3.js} +6 -6
  31. package/dist/{chunk-5SN5JBT2.js → chunk-FXMGS3L5.js} +21 -40
  32. package/dist/{chunk-S57RMXZW.js → chunk-GHHABGYW.js} +5 -5
  33. package/dist/{chunk-C4HY6GXT.js → chunk-GLCSJAWZ.js} +11 -15
  34. package/dist/{chunk-L6GBFCXG.js → chunk-HAGJ64PM.js} +142 -155
  35. package/dist/{chunk-3ERIN7PH.js → chunk-HG3YOAAE.js} +10 -10
  36. package/dist/{chunk-GXDYIY4M.js → chunk-IDINCQMN.js} +56 -57
  37. package/dist/{chunk-53LS3WUO.js → chunk-JOIIWB3U.js} +116 -116
  38. package/dist/{chunk-CZL7DCL2.js → chunk-JYMY3OAI.js} +6 -6
  39. package/dist/{chunk-C2WD2XUT.js → chunk-K5W6WZ6E.js} +971 -991
  40. package/dist/{chunk-TATYN3T2.js → chunk-KB5DKCI4.js} +29 -29
  41. package/dist/{chunk-LKTTJWFT.js → chunk-KDP6C3CB.js} +5 -5
  42. package/dist/{chunk-VRBR7UXP.js → chunk-KG27IPLK.js} +30 -34
  43. package/dist/{chunk-A3N2Q2GK.js → chunk-KP4NQ45I.js} +11 -15
  44. package/dist/{chunk-SNAZMEHK.js → chunk-L5NNYEH3.js} +9 -9
  45. package/dist/{chunk-PJYVXCB6.js → chunk-LGHB6ROF.js} +5 -5
  46. package/dist/{chunk-ATFQZVBS.js → chunk-LMVSIVKQ.js} +9 -14
  47. package/dist/{chunk-VJRLBRVK.js → chunk-LQNSUOK4.js} +9 -9
  48. package/dist/{chunk-ZKAW5JSN.js → chunk-LRJ4X43J.js} +5 -5
  49. package/dist/{chunk-ONHKZPSV.js → chunk-LRU47BGE.js} +6 -6
  50. package/dist/{chunk-4E7A3GDU.js → chunk-MM4ARWWY.js} +5 -5
  51. package/dist/{chunk-3J24J2TX.js → chunk-NOFAEZS3.js} +10 -10
  52. package/dist/{chunk-V2ZF7ETH.js → chunk-NVNI2SRU.js} +66 -68
  53. package/dist/{chunk-JHQHVXIR.js → chunk-OSHZ4P3G.js} +6 -7
  54. package/dist/{chunk-IPKE37QC.js → chunk-PFYALFCY.js} +6 -5
  55. package/dist/{chunk-77IC3DNO.js → chunk-QGJH4P4N.js} +8 -8
  56. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  57. package/dist/{chunk-PFLLVWZX.js → chunk-R6QH57HZ.js} +5 -5
  58. package/dist/chunk-RKTHINSX.js +1076 -0
  59. package/dist/{chunk-6AAPRN4H.js → chunk-SVZEB4RG.js} +22 -26
  60. package/dist/{chunk-Y3OWT3K2.js → chunk-TQFONRJP.js} +7 -7
  61. package/dist/{chunk-BVKTPL5A.js → chunk-TTOY2EQP.js} +5 -5
  62. package/dist/chunk-TV34NMBZ.js +46 -0
  63. package/dist/{chunk-3BND5XB4.js → chunk-UTJGRVMG.js} +11 -11
  64. package/dist/{chunk-WUDS3ABI.js → chunk-UYCSSJQD.js} +46 -79
  65. package/dist/{chunk-CHMJ5V7I.js → chunk-UZTXEBTM.js} +7 -7
  66. package/dist/{chunk-YXD4CJDK.js → chunk-VVPSLVOR.js} +27 -27
  67. package/dist/{chunk-6TXVGFQA.js → chunk-WSZXPLJQ.js} +11 -11
  68. package/dist/{chunk-BPZFDGKN.js → chunk-WXRVYSYN.js} +4 -7
  69. package/dist/{chunk-2MWIMEFK.js → chunk-XLTQGAI2.js} +6 -6
  70. package/dist/{chunk-FIWY5LGI.js → chunk-XWWRHR2Z.js} +9 -9
  71. package/dist/chunk-YR5KNFKN.js +1834 -0
  72. package/dist/{chunk-BMJOVREG.js → chunk-Z6ZBU4HL.js} +23 -27
  73. package/dist/{chunk-AZNLB67U.js → chunk-ZJWZK45Z.js} +5 -5
  74. package/dist/chunk-ZKZRTPBY.js +1076 -0
  75. package/dist/chunk-ZSINRHD4.js +43 -0
  76. package/dist/cli/Help.js +1 -1
  77. package/dist/cli/checkUnsupportedDataProxy.d.ts +12 -17
  78. package/dist/cli/checkUnsupportedDataProxy.js +77 -74
  79. package/dist/cli/directoryConfig.d.ts +7 -0
  80. package/dist/{get-generators/utils/check-feature-flags/checkFeatureFlags.js → cli/directoryConfig.js} +6 -6
  81. package/dist/cli/getGeneratorSuccessMessage.js +1 -1
  82. package/dist/cli/getSchema.js +81 -78
  83. package/dist/cli/getTypescriptVersion.js +1 -1
  84. package/dist/cli/hashes.js +77 -74
  85. package/dist/cli/schemaContext.d.ts +58 -0
  86. package/dist/cli/schemaContext.js +139 -0
  87. package/dist/cli/utils.js +5 -5
  88. package/dist/client/getClientEngineType.js +1 -1
  89. package/dist/convertCredentials.js +1 -1
  90. package/dist/dotenvExpand.js +1 -1
  91. package/dist/engine-commands/errorHelpers.js +5 -5
  92. package/dist/engine-commands/formatSchema.js +76 -73
  93. package/dist/engine-commands/getConfig.d.ts +0 -4
  94. package/dist/engine-commands/getConfig.js +16 -17
  95. package/dist/engine-commands/getDmmf.d.ts +1 -5
  96. package/dist/engine-commands/getDmmf.js +13 -14
  97. package/dist/engine-commands/getEngineVersion.js +12 -12
  98. package/dist/engine-commands/getEnginesMetaInfo.js +15 -15
  99. package/dist/engine-commands/index.js +87 -84
  100. package/dist/engine-commands/lintSchema.d.ts +1 -1
  101. package/dist/engine-commands/lintSchema.js +11 -12
  102. package/dist/engine-commands/mergeSchemas.js +13 -14
  103. package/dist/engine-commands/queryEngineCommons.js +8 -8
  104. package/dist/engine-commands/relativizePathInPSLError.js +1 -1
  105. package/dist/engine-commands/validate.js +13 -14
  106. package/dist/errorReporting.d.ts +0 -1
  107. package/dist/errorReporting.js +7 -7
  108. package/dist/get-generators/generatorResolvers/generatorResolvers.js +76 -73
  109. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +4 -4
  110. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +4 -4
  111. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +7 -7
  112. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +76 -73
  113. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +4 -4
  114. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +4 -4
  115. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js +1 -1
  116. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +1 -1
  117. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +77 -74
  118. package/dist/get-generators/getGenerators.d.ts +7 -3
  119. package/dist/get-generators/getGenerators.js +79 -76
  120. package/dist/get-generators/utils/binaryTypeToEngineType.js +1 -1
  121. package/dist/get-generators/utils/engineTypeToBinaryType.js +1 -1
  122. package/dist/get-generators/utils/fixBinaryTargets.js +1 -1
  123. package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
  124. package/dist/get-generators/utils/getEngineVersionForGenerator.js +1 -1
  125. package/dist/get-generators/utils/printGeneratorConfig.js +7 -7
  126. package/dist/getPackedPackage.js +9 -9
  127. package/dist/highlight/highlight.js +1 -1
  128. package/dist/highlight/languages/dml.js +1 -1
  129. package/dist/highlight/languages/sql.js +1 -1
  130. package/dist/highlight/prism.js +1 -1
  131. package/dist/highlight/theme.js +1 -1
  132. package/dist/index.d.ts +3 -1
  133. package/dist/index.js +144 -141
  134. package/dist/logger.js +9 -9
  135. package/dist/migrateTypes.d.ts +63 -0
  136. package/dist/{multipart-parser-32AROPTR.js → multipart-parser-3AFJFP6K.js} +7 -7
  137. package/dist/panic.d.ts +1 -4
  138. package/dist/panic.js +7 -7
  139. package/dist/resolveBinary.js +10 -10
  140. package/dist/resolveOutput.js +1 -1
  141. package/dist/schemaEngineCommands.js +13 -13
  142. package/dist/sendPanic.js +7 -111
  143. package/dist/utils/__tests__/isCi.test.js +1 -1
  144. package/dist/utils/__tests__/isInteractive.test.js +1 -1
  145. package/dist/utils/__tests__/maskSchema.test.js +1 -1
  146. package/dist/utils/assertAlways.js +1 -1
  147. package/dist/utils/assertNever.js +1 -1
  148. package/dist/utils/binaryTargetRegex.js +3 -3
  149. package/dist/utils/byline.js +1 -1
  150. package/dist/utils/callOnce.js +1 -1
  151. package/dist/utils/callOnce.test.js +1 -1
  152. package/dist/utils/canPrompt.js +4 -4
  153. package/dist/utils/chmodPlusX.js +1 -1
  154. package/dist/utils/cloudflareD1.js +4 -4
  155. package/dist/utils/drawBox.js +1 -1
  156. package/dist/utils/extractPreviewFeatures.d.ts +2 -2
  157. package/dist/utils/extractPreviewFeatures.js +3 -3
  158. package/dist/utils/formatTable.js +1 -1
  159. package/dist/utils/formatms.js +1 -1
  160. package/dist/utils/fs-functional.js +12 -12
  161. package/dist/utils/fs-utils.js +9 -9
  162. package/dist/utils/getCommandWithExecutor.js +4 -4
  163. package/dist/utils/getEnvPaths.js +76 -73
  164. package/dist/utils/getGitHubIssueUrl.js +5 -4
  165. package/dist/utils/getMigrateConfigDir.js +1 -1
  166. package/dist/utils/getVersionFromPackageJson.js +4 -4
  167. package/dist/utils/handleEngineLoadingErrors.js +1 -1
  168. package/dist/utils/handlePanic.js +13 -110
  169. package/dist/utils/hasOwnProperty.js +1 -1
  170. package/dist/utils/isCi.js +1 -1
  171. package/dist/utils/isCurrentBinInstalledGlobally.js +3 -3
  172. package/dist/utils/isInContainer.js +1 -1
  173. package/dist/utils/isInNpmLifecycleHook.js +1 -1
  174. package/dist/utils/isInteractive.js +1 -1
  175. package/dist/utils/isPromiseLike.js +1 -1
  176. package/dist/utils/isValidJsIdentifier.js +4 -4
  177. package/dist/utils/keyBy.js +1 -1
  178. package/dist/utils/link.js +3 -3
  179. package/dist/utils/load.js +3 -3
  180. package/dist/utils/loadEnvFile.js +76 -73
  181. package/dist/utils/mapKeys.js +1 -1
  182. package/dist/utils/mapObjectValues.js +1 -1
  183. package/dist/utils/maskSchema.js +1 -1
  184. package/dist/utils/max.js +1 -1
  185. package/dist/utils/max.test.js +1 -1
  186. package/dist/utils/maybeInGitHook.js +1 -1
  187. package/dist/utils/missingDatasource.js +4 -4
  188. package/dist/utils/missingGeneratorMessage.js +6 -6
  189. package/dist/utils/now.js +1 -1
  190. package/dist/utils/omit.js +1 -1
  191. package/dist/utils/parseAWSNodejsRuntimeEnvVarVersion.js +1 -1
  192. package/dist/utils/parseEnvValue.js +1 -1
  193. package/dist/utils/path.js +1 -1
  194. package/dist/utils/path.test.js +1 -1
  195. package/dist/utils/pick.js +1 -1
  196. package/dist/utils/printConfigWarnings.js +1 -1
  197. package/dist/utils/prismaPostgres.js +1 -1
  198. package/dist/utils/prismaPostgres.test.js +1 -1
  199. package/dist/utils/schemaFileInput.d.ts +0 -4
  200. package/dist/utils/schemaFileInput.js +3 -7
  201. package/dist/utils/serializeQueryEngineName.js +1 -1
  202. package/dist/utils/setClassName.js +1 -1
  203. package/dist/utils/toSchemasContainer.d.ts +2 -3
  204. package/dist/utils/toSchemasContainer.js +4 -5
  205. package/dist/utils/tryLoadEnvs.js +6 -6
  206. package/dist/utils/unique.js +1 -1
  207. package/dist/utils/vercelPkgPathRegex.js +1 -1
  208. package/dist/warnOnce.js +4 -4
  209. package/dist/wasm.js +6 -6
  210. package/package.json +12 -12
  211. package/dist/chunk-AOQIUJT4.js +0 -41
  212. package/dist/chunk-M3NNYQXQ.js +0 -15631
  213. package/dist/chunk-W5PGH43I.js +0 -15631
  214. package/dist/chunk-YRBRUREX.js +0 -57
  215. package/dist/get-generators/utils/check-feature-flags/checkFeatureFlags.d.ts +0 -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_YXD4CJDK_exports = {};
30
- __export(chunk_YXD4CJDK_exports, {
29
+ var chunk_VVPSLVOR_exports = {};
30
+ __export(chunk_VVPSLVOR_exports, {
31
31
  require_function_bind: () => require_function_bind,
32
32
  resolve: () => resolve,
33
33
  resolvePkg: () => resolvePkg
34
34
  });
35
- module.exports = __toCommonJS(chunk_YXD4CJDK_exports);
36
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
35
+ module.exports = __toCommonJS(chunk_VVPSLVOR_exports);
36
+ var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
37
37
  var import_path = __toESM(require("path"));
38
- var require_homedir = (0, import_chunk_WWAWV7DQ.__commonJS)({
38
+ var require_homedir = (0, import_chunk_4VNS5WPM.__commonJS)({
39
39
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/homedir.js"(exports, module2) {
40
40
  "use strict";
41
- var os = (0, import_chunk_WWAWV7DQ.__require)("os");
41
+ var os = (0, import_chunk_4VNS5WPM.__require)("os");
42
42
  module2.exports = os.homedir || function homedir() {
43
43
  var home = process.env.HOME;
44
44
  var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
@@ -55,7 +55,7 @@ var require_homedir = (0, import_chunk_WWAWV7DQ.__commonJS)({
55
55
  };
56
56
  }
57
57
  });
58
- var require_caller = (0, import_chunk_WWAWV7DQ.__commonJS)({
58
+ var require_caller = (0, import_chunk_4VNS5WPM.__commonJS)({
59
59
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/caller.js"(exports, module2) {
60
60
  "use strict";
61
61
  module2.exports = function() {
@@ -69,7 +69,7 @@ var require_caller = (0, import_chunk_WWAWV7DQ.__commonJS)({
69
69
  };
70
70
  }
71
71
  });
72
- var require_path_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
72
+ var require_path_parse = (0, import_chunk_4VNS5WPM.__commonJS)({
73
73
  "../../node_modules/.pnpm/path-parse@1.0.7/node_modules/path-parse/index.js"(exports, module2) {
74
74
  "use strict";
75
75
  var isWindows = process.platform === "win32";
@@ -127,10 +127,10 @@ var require_path_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
127
127
  module2.exports.win32 = win32.parse;
128
128
  }
129
129
  });
130
- var require_node_modules_paths = (0, import_chunk_WWAWV7DQ.__commonJS)({
130
+ var require_node_modules_paths = (0, import_chunk_4VNS5WPM.__commonJS)({
131
131
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/node-modules-paths.js"(exports, module2) {
132
132
  "use strict";
133
- var path2 = (0, import_chunk_WWAWV7DQ.__require)("path");
133
+ var path2 = (0, import_chunk_4VNS5WPM.__require)("path");
134
134
  var parse = path2.parse || require_path_parse();
135
135
  var getNodeModulesDirs = function getNodeModulesDirs2(absoluteStart, modules) {
136
136
  var prefix = "/";
@@ -168,7 +168,7 @@ var require_node_modules_paths = (0, import_chunk_WWAWV7DQ.__commonJS)({
168
168
  };
169
169
  }
170
170
  });
171
- var require_normalize_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
171
+ var require_normalize_options = (0, import_chunk_4VNS5WPM.__commonJS)({
172
172
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/normalize-options.js"(exports, module2) {
173
173
  "use strict";
174
174
  module2.exports = function(x, opts) {
@@ -176,7 +176,7 @@ var require_normalize_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
176
176
  };
177
177
  }
178
178
  });
179
- var require_implementation = (0, import_chunk_WWAWV7DQ.__commonJS)({
179
+ var require_implementation = (0, import_chunk_4VNS5WPM.__commonJS)({
180
180
  "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module2) {
181
181
  "use strict";
182
182
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
@@ -250,14 +250,14 @@ var require_implementation = (0, import_chunk_WWAWV7DQ.__commonJS)({
250
250
  };
251
251
  }
252
252
  });
253
- var require_function_bind = (0, import_chunk_WWAWV7DQ.__commonJS)({
253
+ var require_function_bind = (0, import_chunk_4VNS5WPM.__commonJS)({
254
254
  "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module2) {
255
255
  "use strict";
256
256
  var implementation = require_implementation();
257
257
  module2.exports = Function.prototype.bind || implementation;
258
258
  }
259
259
  });
260
- var require_hasown = (0, import_chunk_WWAWV7DQ.__commonJS)({
260
+ var require_hasown = (0, import_chunk_4VNS5WPM.__commonJS)({
261
261
  "../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module2) {
262
262
  "use strict";
263
263
  var call = Function.prototype.call;
@@ -266,7 +266,7 @@ var require_hasown = (0, import_chunk_WWAWV7DQ.__commonJS)({
266
266
  module2.exports = bind.call(call, $hasOwn);
267
267
  }
268
268
  });
269
- var require_core = (0, import_chunk_WWAWV7DQ.__commonJS)({
269
+ var require_core = (0, import_chunk_4VNS5WPM.__commonJS)({
270
270
  "../../node_modules/.pnpm/is-core-module@2.16.1/node_modules/is-core-module/core.json"(exports, module2) {
271
271
  module2.exports = {
272
272
  assert: true,
@@ -432,7 +432,7 @@ var require_core = (0, import_chunk_WWAWV7DQ.__commonJS)({
432
432
  };
433
433
  }
434
434
  });
435
- var require_is_core_module = (0, import_chunk_WWAWV7DQ.__commonJS)({
435
+ var require_is_core_module = (0, import_chunk_4VNS5WPM.__commonJS)({
436
436
  "../../node_modules/.pnpm/is-core-module@2.16.1/node_modules/is-core-module/index.js"(exports, module2) {
437
437
  "use strict";
438
438
  var hasOwn = require_hasown();
@@ -493,12 +493,12 @@ var require_is_core_module = (0, import_chunk_WWAWV7DQ.__commonJS)({
493
493
  };
494
494
  }
495
495
  });
496
- var require_async = (0, import_chunk_WWAWV7DQ.__commonJS)({
496
+ var require_async = (0, import_chunk_4VNS5WPM.__commonJS)({
497
497
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/async.js"(exports, module2) {
498
498
  "use strict";
499
- var fs = (0, import_chunk_WWAWV7DQ.__require)("fs");
499
+ var fs = (0, import_chunk_4VNS5WPM.__require)("fs");
500
500
  var getHomedir = require_homedir();
501
- var path2 = (0, import_chunk_WWAWV7DQ.__require)("path");
501
+ var path2 = (0, import_chunk_4VNS5WPM.__require)("path");
502
502
  var caller = require_caller();
503
503
  var nodeModulesPaths = require_node_modules_paths();
504
504
  var normalizeOptions = require_normalize_options();
@@ -787,7 +787,7 @@ var require_async = (0, import_chunk_WWAWV7DQ.__commonJS)({
787
787
  };
788
788
  }
789
789
  });
790
- var require_core2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
790
+ var require_core2 = (0, import_chunk_4VNS5WPM.__commonJS)({
791
791
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/core.json"(exports, module2) {
792
792
  module2.exports = {
793
793
  assert: true,
@@ -953,7 +953,7 @@ var require_core2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
953
953
  };
954
954
  }
955
955
  });
956
- var require_core3 = (0, import_chunk_WWAWV7DQ.__commonJS)({
956
+ var require_core3 = (0, import_chunk_4VNS5WPM.__commonJS)({
957
957
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/core.js"(exports, module2) {
958
958
  "use strict";
959
959
  var isCoreModule = require_is_core_module();
@@ -968,7 +968,7 @@ var require_core3 = (0, import_chunk_WWAWV7DQ.__commonJS)({
968
968
  module2.exports = core;
969
969
  }
970
970
  });
971
- var require_is_core = (0, import_chunk_WWAWV7DQ.__commonJS)({
971
+ var require_is_core = (0, import_chunk_4VNS5WPM.__commonJS)({
972
972
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/is-core.js"(exports, module2) {
973
973
  "use strict";
974
974
  var isCoreModule = require_is_core_module();
@@ -977,12 +977,12 @@ var require_is_core = (0, import_chunk_WWAWV7DQ.__commonJS)({
977
977
  };
978
978
  }
979
979
  });
980
- var require_sync = (0, import_chunk_WWAWV7DQ.__commonJS)({
980
+ var require_sync = (0, import_chunk_4VNS5WPM.__commonJS)({
981
981
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/lib/sync.js"(exports, module2) {
982
982
  "use strict";
983
983
  var isCore = require_is_core_module();
984
- var fs = (0, import_chunk_WWAWV7DQ.__require)("fs");
985
- var path2 = (0, import_chunk_WWAWV7DQ.__require)("path");
984
+ var fs = (0, import_chunk_4VNS5WPM.__require)("fs");
985
+ var path2 = (0, import_chunk_4VNS5WPM.__require)("path");
986
986
  var getHomedir = require_homedir();
987
987
  var caller = require_caller();
988
988
  var nodeModulesPaths = require_node_modules_paths();
@@ -1169,7 +1169,7 @@ var require_sync = (0, import_chunk_WWAWV7DQ.__commonJS)({
1169
1169
  };
1170
1170
  }
1171
1171
  });
1172
- var require_resolve = (0, import_chunk_WWAWV7DQ.__commonJS)({
1172
+ var require_resolve = (0, import_chunk_4VNS5WPM.__commonJS)({
1173
1173
  "../../node_modules/.pnpm/resolve@1.22.10/node_modules/resolve/index.js"(exports, module2) {
1174
1174
  "use strict";
1175
1175
  var async = require_async();
@@ -1179,7 +1179,7 @@ var require_resolve = (0, import_chunk_WWAWV7DQ.__commonJS)({
1179
1179
  module2.exports = async;
1180
1180
  }
1181
1181
  });
1182
- var import_resolve = (0, import_chunk_WWAWV7DQ.__toESM)(require_resolve());
1182
+ var import_resolve = (0, import_chunk_4VNS5WPM.__toESM)(require_resolve());
1183
1183
  async function resolve(id, options) {
1184
1184
  const _options = { preserveSymlinks: false, ...options };
1185
1185
  return new Promise((res) => {
@@ -26,24 +26,24 @@ 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_6TXVGFQA_exports = {};
30
- __export(chunk_6TXVGFQA_exports, {
29
+ var chunk_WSZXPLJQ_exports = {};
30
+ __export(chunk_WSZXPLJQ_exports, {
31
31
  createDebugErrorType: () => createDebugErrorType,
32
32
  createSchemaValidationError: () => createSchemaValidationError,
33
33
  parseQueryEngineError: () => parseQueryEngineError,
34
34
  unlinkTempDatamodelPath: () => unlinkTempDatamodelPath
35
35
  });
36
- module.exports = __toCommonJS(chunk_6TXVGFQA_exports);
36
+ module.exports = __toCommonJS(chunk_WSZXPLJQ_exports);
37
+ var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
38
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
+ var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
39
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
41
41
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
42
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
42
+ var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
43
43
  var import_fs = __toESM(require("fs"));
44
- var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_PFLLVWZX.require_function)());
44
+ var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57HZ.require_function)());
45
45
  function unlinkTempDatamodelPath(options, tempDatamodelPath) {
46
- return (0, import_chunk_7MD6344A.tryCatch2)(
46
+ return (0, import_chunk_5DBOS77Y.tryCatch2)(
47
47
  () => {
48
48
  if (!options.datamodelPath && tempDatamodelPath) {
49
49
  return import_fs.default.promises.unlink(tempDatamodelPath);
@@ -66,11 +66,11 @@ function createSchemaValidationError(reason) {
66
66
  }
67
67
  function parseQueryEngineError({ errorOutput, reason }) {
68
68
  const actualError = (0, import_function.pipe)(
69
- (0, import_chunk_7MD6344A.tryCatch)(
69
+ (0, import_chunk_5DBOS77Y.tryCatch)(
70
70
  () => JSON.parse(errorOutput),
71
71
  () => ({ _tag: "unparsed", message: errorOutput, reason })
72
72
  ),
73
- (0, import_chunk_7MD6344A.map)((errorOutputAsJSON) => {
73
+ (0, import_chunk_5DBOS77Y.map)((errorOutputAsJSON) => {
74
74
  const defaultMessage = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)((0, import_chunk_C47SCASR.relativizePathInPSLError)(errorOutputAsJSON.message)));
75
75
  const getConfigErrorInit = (0, import_chunk_XKZ6CBLA.z)(errorOutputAsJSON).with({ error_code: "P1012" }, (eJSON) => {
76
76
  return {
@@ -89,7 +89,7 @@ function parseQueryEngineError({ errorOutput, reason }) {
89
89
  });
90
90
  return { _tag: "parsed", message: defaultMessage, ...getConfigErrorInit };
91
91
  }),
92
- (0, import_chunk_7MD6344A.getOrElseW)(import_function.identity)
92
+ (0, import_chunk_5DBOS77Y.getOrElseW)(import_function.identity)
93
93
  );
94
94
  return actualError;
95
95
  }
@@ -16,16 +16,13 @@ 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_BPZFDGKN_exports = {};
20
- __export(chunk_BPZFDGKN_exports, {
19
+ var chunk_WXRVYSYN_exports = {};
20
+ __export(chunk_WXRVYSYN_exports, {
21
21
  WasmPanicRegistry: () => WasmPanicRegistry
22
22
  });
23
- module.exports = __toCommonJS(chunk_BPZFDGKN_exports);
24
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
23
+ module.exports = __toCommonJS(chunk_WXRVYSYN_exports);
25
24
  var WasmPanicRegistry = class {
26
- constructor() {
27
- (0, import_chunk_WWAWV7DQ.__publicField)(this, "message", "");
28
- }
25
+ message = "";
29
26
  get() {
30
27
  return `${this.message}`;
31
28
  }
@@ -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_2MWIMEFK_exports = {};
20
- __export(chunk_2MWIMEFK_exports, {
19
+ var chunk_XLTQGAI2_exports = {};
20
+ __export(chunk_XLTQGAI2_exports, {
21
21
  missingGeneratorMessage: () => missingGeneratorMessage,
22
22
  missingModelMessage: () => missingModelMessage,
23
23
  missingModelMessageMongoDB: () => missingModelMessageMongoDB
24
24
  });
25
- module.exports = __toCommonJS(chunk_2MWIMEFK_exports);
26
- var import_chunk_L6GBFCXG = require("./chunk-L6GBFCXG.js");
25
+ module.exports = __toCommonJS(chunk_XLTQGAI2_exports);
26
+ var import_chunk_HAGJ64PM = require("./chunk-HAGJ64PM.js");
27
27
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
28
28
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
29
29
  var missingGeneratorMessage = `
@@ -52,7 +52,7 @@ ${(0, import_chunk_PG5FDKSF.bold)(
52
52
  )}
53
53
 
54
54
  More information in our documentation:
55
- ${(0, import_chunk_L6GBFCXG.link)("https://pris.ly/d/prisma-schema")}
55
+ ${(0, import_chunk_HAGJ64PM.link)("https://pris.ly/d/prisma-schema")}
56
56
  `;
57
57
  var missingModelMessageMongoDB = `
58
58
  You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your ${(0, import_chunk_PG5FDKSF.bold)(
@@ -69,5 +69,5 @@ ${(0, import_chunk_PG5FDKSF.bold)(
69
69
  )}
70
70
 
71
71
  More information in our documentation:
72
- ${(0, import_chunk_L6GBFCXG.link)("https://pris.ly/d/prisma-schema")}
72
+ ${(0, import_chunk_HAGJ64PM.link)("https://pris.ly/d/prisma-schema")}
73
73
  `;
@@ -16,13 +16,13 @@ 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_FIWY5LGI_exports = {};
20
- __export(chunk_FIWY5LGI_exports, {
19
+ var chunk_XWWRHR2Z_exports = {};
20
+ __export(chunk_XWWRHR2Z_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_FIWY5LGI_exports);
24
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
- var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
23
+ module.exports = __toCommonJS(chunk_XWWRHR2Z_exports);
24
+ var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
+ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
@@ -67,7 +67,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
67
67
  "cli-truncate": "4.0.0",
68
68
  dotenv: "16.4.7",
69
69
  esbuild: "0.24.2",
70
- "escape-string-regexp": "4.0.0",
70
+ "escape-string-regexp": "5.0.0",
71
71
  execa: "5.1.1",
72
72
  "fast-glob": "3.3.3",
73
73
  "find-up": "7.0.0",
@@ -93,10 +93,10 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
93
93
  resolve: "1.22.10",
94
94
  "string-width": "7.2.0",
95
95
  "strip-ansi": "6.0.1",
96
- "strip-indent": "3.0.0",
96
+ "strip-indent": "4.0.0",
97
97
  "temp-dir": "2.0.0",
98
98
  tempy: "1.0.1",
99
- "terminal-link": "2.1.1",
99
+ "terminal-link": "3.0.0",
100
100
  tmp: "0.2.3",
101
101
  "ts-node": "10.9.2",
102
102
  "ts-pattern": "5.6.2",
@@ -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.5.0-73.173f8d54f8d52e692c7e27e72a88314ec7aeff60",
114
+ "@prisma/prisma-schema-wasm": "6.6.0-25.0302bd9e49a13a657a302c060e529d54b08fad04",
115
115
  "@prisma/schema-files-loader": "workspace:*",
116
116
  arg: "5.0.2",
117
117
  prompts: "2.4.2"