@prisma/internals 6.6.0-dev.3 → 6.6.0-dev.31

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 (195) hide show
  1. package/dist/Generator.js +3 -3
  2. package/dist/WasmPanicRegistry.js +3 -3
  3. package/dist/{chunk-YXD4CJDK.js → chunk-23MPYLL6.js} +27 -27
  4. package/dist/{chunk-WWAWV7DQ.js → chunk-2ESYSVXG.js} +3 -27
  5. package/dist/{chunk-LKTTJWFT.js → chunk-2R6DII47.js} +5 -5
  6. package/dist/{chunk-AC6EAR56.js → chunk-2T4NJDHK.js} +40 -21
  7. package/dist/{chunk-7XNZDY2V.js → chunk-2WR3PY2L.js} +60 -60
  8. package/dist/{chunk-BGFWFIPR.js → chunk-2ZPYYZJB.js} +7 -7
  9. package/dist/{chunk-BEKX6YEU.js → chunk-4VX3SCSY.js} +17 -17
  10. package/dist/{chunk-IZKGRA7W.js → chunk-5ELQCMKU.js} +8 -8
  11. package/dist/{chunk-TZCE3PWZ.js → chunk-6TVEFPKE.js} +7 -7
  12. package/dist/{chunk-MGZOEY6N.js → chunk-72UZXEBG.js} +6 -6
  13. package/dist/{chunk-IO5N2P4Y.js → chunk-AMOV4PS4.js} +420 -376
  14. package/dist/{chunk-VRT7T6MF.js → chunk-BWGDP6B5.js} +94 -105
  15. package/dist/{chunk-ATFQZVBS.js → chunk-CCQRDM7X.js} +10 -11
  16. package/dist/{chunk-I7W4ZRX4.js → chunk-CWDC4DAA.js} +5 -5
  17. package/dist/{chunk-PIPE5DSU.js → chunk-DGZO4GAJ.js} +6 -6
  18. package/dist/chunk-DODIJPCS.js +34 -0
  19. package/dist/{chunk-ZYW3HGSH.js → chunk-DYVL6P7F.js} +7 -8
  20. package/dist/{chunk-NJQWZ447.js → chunk-EIERU2IM.js} +6 -6
  21. package/dist/{chunk-KTBNIQ7N.js → chunk-EORSBI5P.js} +8 -8
  22. package/dist/{chunk-77IC3DNO.js → chunk-ETNCBIDF.js} +8 -8
  23. package/dist/{chunk-CZL7DCL2.js → chunk-EWKNNPH2.js} +6 -6
  24. package/dist/{chunk-SHJNE6T7.js → chunk-F46BPOEO.js} +7 -7
  25. package/dist/{chunk-L6GBFCXG.js → chunk-FNA4EAZ6.js} +142 -155
  26. package/dist/{chunk-S57RMXZW.js → chunk-GHHABGYW.js} +5 -5
  27. package/dist/{chunk-CHMJ5V7I.js → chunk-H5XZKD22.js} +7 -7
  28. package/dist/{chunk-KKGIKPIK.js → chunk-HHG4DGHC.js} +5 -82
  29. package/dist/{chunk-TN26CEXA.js → chunk-HI3MXINR.js} +5 -5
  30. package/dist/{chunk-2MWIMEFK.js → chunk-HL5VFJX4.js} +10 -10
  31. package/dist/{chunk-ONHKZPSV.js → chunk-IKQFIRRX.js} +6 -6
  32. package/dist/{chunk-OG2B76U6.js → chunk-JHBF6WAI.js} +19 -19
  33. package/dist/{chunk-TXY5QNTI.js → chunk-KP7BBU6A.js} +17 -17
  34. package/dist/{chunk-4E7A3GDU.js → chunk-KR25OQ6F.js} +5 -5
  35. package/dist/{chunk-XLGODPZH.js → chunk-KTB2HCCO.js} +10 -10
  36. package/dist/{chunk-C2WD2XUT.js → chunk-KYMYLH7F.js} +971 -988
  37. package/dist/{chunk-QWCOEHP3.js → chunk-LJAZFFBF.js} +10 -10
  38. package/dist/{chunk-I7IEEULS.js → chunk-LSYWDURQ.js} +5 -5
  39. package/dist/{chunk-AZNLB67U.js → chunk-MBB2KJWX.js} +5 -5
  40. package/dist/{chunk-TATYN3T2.js → chunk-MM4PIVNT.js} +10 -10
  41. package/dist/{chunk-QJLOQH3Y.js → chunk-MRLXY5TT.js} +5 -5
  42. package/dist/{chunk-KQOJB3ZW.js → chunk-NLYH6XB4.js} +10 -10
  43. package/dist/{chunk-6KWNGQHF.js → chunk-NRKSZ6TI.js} +9 -9
  44. package/dist/{chunk-KUITHSVG.js → chunk-OHWUV5HY.js} +5 -5
  45. package/dist/{chunk-5RV3EMX6.js → chunk-ORR3O5RU.js} +57 -57
  46. package/dist/{chunk-MUPZUVSI.js → chunk-PORKIX5G.js} +14 -20
  47. package/dist/{chunk-6TXVGFQA.js → chunk-PSYMCJ4B.js} +6 -6
  48. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  49. package/dist/{chunk-GXDYIY4M.js → chunk-RAYPCPVU.js} +56 -56
  50. package/dist/{chunk-UNUCCAXA.js → chunk-SYCT2PLK.js} +5 -5
  51. package/dist/{chunk-Y3OWT3K2.js → chunk-T7EWI7A3.js} +7 -7
  52. package/dist/{chunk-GNN2TWXT.js → chunk-TOIDXLDJ.js} +8 -8
  53. package/dist/{chunk-XAU776BW.js → chunk-U76NRW2U.js} +18 -18
  54. package/dist/{chunk-ZKAW5JSN.js → chunk-UETN3RLH.js} +5 -5
  55. package/dist/{chunk-7WJ2IM2C.js → chunk-UFIAUYAF.js} +18 -18
  56. package/dist/{chunk-53LS3WUO.js → chunk-V37JTUKZ.js} +116 -116
  57. package/dist/{chunk-FYOYC5PA.js → chunk-VCLRUTLD.js} +18 -18
  58. package/dist/{chunk-V2ZF7ETH.js → chunk-VLGS4WJI.js} +66 -68
  59. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  60. package/dist/{chunk-5MCWLJSR.js → chunk-WEATFJ6G.js} +10 -10
  61. package/dist/{chunk-BPZFDGKN.js → chunk-WXRVYSYN.js} +4 -7
  62. package/dist/{chunk-XLUWN3HM.js → chunk-XJVOTQI7.js} +18 -18
  63. package/dist/{chunk-3ERIN7PH.js → chunk-YBYBY7QI.js} +8 -8
  64. package/dist/{chunk-PQPIPZMI.js → chunk-YQN27FEK.js} +11 -11
  65. package/dist/{chunk-Y244AH7F.js → chunk-YU6PNVRN.js} +19 -19
  66. package/dist/{chunk-UI6HIQ23.js → chunk-Z5AKGOBB.js} +420 -376
  67. package/dist/{chunk-3BND5XB4.js → chunk-ZCVVZ6U6.js} +11 -11
  68. package/dist/{chunk-PFLLVWZX.js → chunk-ZGAIRZ32.js} +5 -5
  69. package/dist/{chunk-H3D6XCA2.js → chunk-ZWMDT3A7.js} +9 -9
  70. package/dist/cli/Help.js +1 -1
  71. package/dist/cli/checkUnsupportedDataProxy.js +66 -67
  72. package/dist/cli/getGeneratorSuccessMessage.js +1 -1
  73. package/dist/cli/getSchema.js +70 -71
  74. package/dist/cli/getTypescriptVersion.js +1 -1
  75. package/dist/cli/hashes.js +66 -67
  76. package/dist/cli/schemaContext.d.ts +43 -0
  77. package/dist/cli/schemaContext.js +135 -0
  78. package/dist/cli/utils.js +5 -5
  79. package/dist/client/getClientEngineType.js +1 -1
  80. package/dist/convertCredentials.js +1 -1
  81. package/dist/dotenvExpand.js +1 -1
  82. package/dist/engine-commands/errorHelpers.js +5 -5
  83. package/dist/engine-commands/formatSchema.js +65 -66
  84. package/dist/engine-commands/getConfig.js +15 -15
  85. package/dist/engine-commands/getDmmf.js +12 -12
  86. package/dist/engine-commands/getEngineVersion.js +10 -10
  87. package/dist/engine-commands/getEnginesMetaInfo.js +13 -13
  88. package/dist/engine-commands/index.js +76 -77
  89. package/dist/engine-commands/lintSchema.js +11 -11
  90. package/dist/engine-commands/mergeSchemas.js +12 -12
  91. package/dist/engine-commands/queryEngineCommons.js +7 -7
  92. package/dist/engine-commands/relativizePathInPSLError.js +1 -1
  93. package/dist/engine-commands/validate.js +12 -12
  94. package/dist/errorReporting.js +7 -7
  95. package/dist/get-generators/generatorResolvers/generatorResolvers.js +65 -66
  96. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +4 -4
  97. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +4 -4
  98. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +7 -7
  99. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +65 -66
  100. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +4 -4
  101. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +4 -4
  102. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js +1 -1
  103. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +1 -1
  104. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +66 -67
  105. package/dist/get-generators/getGenerators.js +68 -69
  106. package/dist/get-generators/utils/binaryTypeToEngineType.js +1 -1
  107. package/dist/get-generators/utils/check-feature-flags/checkFeatureFlags.js +1 -1
  108. package/dist/get-generators/utils/engineTypeToBinaryType.js +1 -1
  109. package/dist/get-generators/utils/fixBinaryTargets.js +1 -1
  110. package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
  111. package/dist/get-generators/utils/getEngineVersionForGenerator.js +1 -1
  112. package/dist/get-generators/utils/printGeneratorConfig.js +7 -7
  113. package/dist/getPackedPackage.js +9 -9
  114. package/dist/highlight/highlight.js +6 -6
  115. package/dist/highlight/languages/dml.js +1 -1
  116. package/dist/highlight/languages/sql.js +1 -1
  117. package/dist/highlight/prism.js +1 -1
  118. package/dist/highlight/theme.js +1 -1
  119. package/dist/index.d.ts +1 -0
  120. package/dist/index.js +131 -131
  121. package/dist/logger.js +9 -9
  122. package/dist/migrateTypes.d.ts +63 -0
  123. package/dist/{multipart-parser-32AROPTR.js → multipart-parser-3E7JBBYS.js} +7 -7
  124. package/dist/panic.js +7 -7
  125. package/dist/resolveBinary.js +9 -9
  126. package/dist/resolveOutput.js +1 -1
  127. package/dist/schemaEngineCommands.js +12 -12
  128. package/dist/sendPanic.js +65 -66
  129. package/dist/utils/__tests__/isCi.test.js +1 -1
  130. package/dist/utils/__tests__/isInteractive.test.js +1 -1
  131. package/dist/utils/__tests__/maskSchema.test.js +1 -1
  132. package/dist/utils/assertAlways.js +1 -1
  133. package/dist/utils/assertNever.js +1 -1
  134. package/dist/utils/binaryTargetRegex.js +3 -3
  135. package/dist/utils/byline.js +1 -1
  136. package/dist/utils/callOnce.js +1 -1
  137. package/dist/utils/callOnce.test.js +1 -1
  138. package/dist/utils/canPrompt.js +4 -4
  139. package/dist/utils/chmodPlusX.js +1 -1
  140. package/dist/utils/cloudflareD1.js +4 -4
  141. package/dist/utils/drawBox.js +3 -4
  142. package/dist/utils/extractPreviewFeatures.js +1 -1
  143. package/dist/utils/formatTable.js +1 -1
  144. package/dist/utils/formatms.js +1 -1
  145. package/dist/utils/fs-functional.js +12 -12
  146. package/dist/utils/fs-utils.js +9 -9
  147. package/dist/utils/getCommandWithExecutor.js +4 -4
  148. package/dist/utils/getEnvPaths.js +65 -66
  149. package/dist/utils/getGitHubIssueUrl.js +4 -5
  150. package/dist/utils/getMigrateConfigDir.js +1 -1
  151. package/dist/utils/getVersionFromPackageJson.js +4 -4
  152. package/dist/utils/handleEngineLoadingErrors.js +1 -1
  153. package/dist/utils/handlePanic.js +65 -66
  154. package/dist/utils/hasOwnProperty.js +1 -1
  155. package/dist/utils/isCi.js +1 -1
  156. package/dist/utils/isCurrentBinInstalledGlobally.js +3 -3
  157. package/dist/utils/isInContainer.js +1 -1
  158. package/dist/utils/isInNpmLifecycleHook.js +1 -1
  159. package/dist/utils/isInteractive.js +1 -1
  160. package/dist/utils/isPromiseLike.js +1 -1
  161. package/dist/utils/isValidJsIdentifier.js +4 -4
  162. package/dist/utils/keyBy.js +1 -1
  163. package/dist/utils/link.js +3 -3
  164. package/dist/utils/load.js +3 -3
  165. package/dist/utils/loadEnvFile.js +65 -66
  166. package/dist/utils/mapKeys.js +1 -1
  167. package/dist/utils/mapObjectValues.js +1 -1
  168. package/dist/utils/maskSchema.js +1 -1
  169. package/dist/utils/max.js +1 -1
  170. package/dist/utils/max.test.js +1 -1
  171. package/dist/utils/maybeInGitHook.js +1 -1
  172. package/dist/utils/missingDatasource.js +6 -6
  173. package/dist/utils/missingGeneratorMessage.js +8 -8
  174. package/dist/utils/now.js +1 -1
  175. package/dist/utils/omit.js +1 -1
  176. package/dist/utils/parseAWSNodejsRuntimeEnvVarVersion.js +1 -1
  177. package/dist/utils/parseEnvValue.js +1 -1
  178. package/dist/utils/path.js +1 -1
  179. package/dist/utils/path.test.js +1 -1
  180. package/dist/utils/pick.js +1 -1
  181. package/dist/utils/printConfigWarnings.js +1 -1
  182. package/dist/utils/prismaPostgres.js +1 -1
  183. package/dist/utils/prismaPostgres.test.js +1 -1
  184. package/dist/utils/schemaFileInput.js +1 -1
  185. package/dist/utils/serializeQueryEngineName.js +1 -1
  186. package/dist/utils/setClassName.js +1 -1
  187. package/dist/utils/toSchemasContainer.js +1 -1
  188. package/dist/utils/tryLoadEnvs.js +6 -6
  189. package/dist/utils/unique.js +1 -1
  190. package/dist/utils/vercelPkgPathRegex.js +1 -1
  191. package/dist/warnOnce.js +4 -4
  192. package/dist/wasm.js +6 -6
  193. package/package.json +13 -13
  194. package/dist/chunk-AOQIUJT4.js +0 -41
  195. package/dist/chunk-ODI3VNBD.js +0 -43
package/dist/Generator.js CHANGED
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Generator_exports = {};
20
20
  __export(Generator_exports, {
21
- Generator: () => import_chunk_ZYW3HGSH.Generator
21
+ Generator: () => import_chunk_DYVL6P7F.Generator
22
22
  });
23
23
  module.exports = __toCommonJS(Generator_exports);
24
- var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.js");
24
+ var import_chunk_DYVL6P7F = require("./chunk-DYVL6P7F.js");
25
25
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
26
26
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
27
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
27
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var WasmPanicRegistry_exports = {};
20
20
  __export(WasmPanicRegistry_exports, {
21
- WasmPanicRegistry: () => import_chunk_BPZFDGKN.WasmPanicRegistry
21
+ WasmPanicRegistry: () => import_chunk_WXRVYSYN.WasmPanicRegistry
22
22
  });
23
23
  module.exports = __toCommonJS(WasmPanicRegistry_exports);
24
- var import_chunk_BPZFDGKN = require("./chunk-BPZFDGKN.js");
25
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
24
+ var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
25
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -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_23MPYLL6_exports = {};
30
+ __export(chunk_23MPYLL6_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_23MPYLL6_exports);
36
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__require)("fs");
500
500
  var getHomedir = require_homedir();
501
- var path2 = (0, import_chunk_WWAWV7DQ.__require)("path");
501
+ var path2 = (0, import_chunk_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__require)("fs");
985
+ var path2 = (0, import_chunk_2ESYSVXG.__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_2ESYSVXG.__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_2ESYSVXG.__toESM)(require_resolve());
1183
1183
  async function resolve(id, options) {
1184
1184
  const _options = { preserveSymlinks: false, ...options };
1185
1185
  return new Promise((res) => {
@@ -16,32 +16,22 @@ 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_WWAWV7DQ_exports = {};
20
- __export(chunk_WWAWV7DQ_exports, {
19
+ var chunk_2ESYSVXG_exports = {};
20
+ __export(chunk_2ESYSVXG_exports, {
21
21
  __commonJS: () => __commonJS,
22
22
  __esm: () => __esm,
23
23
  __export: () => __export2,
24
- __privateAdd: () => __privateAdd,
25
- __privateGet: () => __privateGet,
26
- __privateMethod: () => __privateMethod,
27
- __privateSet: () => __privateSet,
28
- __privateWrapper: () => __privateWrapper,
29
- __publicField: () => __publicField,
30
24
  __require: () => __require,
31
25
  __toCommonJS: () => __toCommonJS2,
32
26
  __toESM: () => __toESM
33
27
  });
34
- module.exports = __toCommonJS(chunk_WWAWV7DQ_exports);
28
+ module.exports = __toCommonJS(chunk_2ESYSVXG_exports);
35
29
  var __create = Object.create;
36
30
  var __defProp2 = Object.defineProperty;
37
31
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
38
32
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
39
33
  var __getProtoOf = Object.getPrototypeOf;
40
34
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
41
- var __typeError = (msg) => {
42
- throw TypeError(msg);
43
- };
44
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
45
35
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
46
36
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
47
37
  }) : x)(function(x) {
@@ -75,17 +65,3 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
75
65
  mod
76
66
  ));
77
67
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
78
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
79
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
80
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
81
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
82
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
83
- var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
84
- var __privateWrapper = (obj, member, setter, getter) => ({
85
- set _(value) {
86
- __privateSet(obj, member, value, setter);
87
- },
88
- get _() {
89
- return __privateGet(obj, member, getter);
90
- }
91
- });
@@ -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_LKTTJWFT_exports = {};
20
- __export(chunk_LKTTJWFT_exports, {
19
+ var chunk_2R6DII47_exports = {};
20
+ __export(chunk_2R6DII47_exports, {
21
21
  require_indent_string: () => require_indent_string
22
22
  });
23
- module.exports = __toCommonJS(chunk_LKTTJWFT_exports);
24
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
- var require_indent_string = (0, import_chunk_WWAWV7DQ.__commonJS)({
23
+ module.exports = __toCommonJS(chunk_2R6DII47_exports);
24
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
25
+ var require_indent_string = (0, import_chunk_2ESYSVXG.__commonJS)({
26
26
  "../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js"(exports, module2) {
27
27
  "use strict";
28
28
  module2.exports = (string, count = 1, options) => {
@@ -26,15 +26,15 @@ 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_AC6EAR56_exports = {};
30
- __export(chunk_AC6EAR56_exports, {
29
+ var chunk_2T4NJDHK_exports = {};
30
+ __export(chunk_2T4NJDHK_exports, {
31
31
  getGitHubIssueUrl: () => getGitHubIssueUrl,
32
+ require_strip_ansi: () => require_strip_ansi,
32
33
  wouldYouLikeToCreateANewIssue: () => wouldYouLikeToCreateANewIssue
33
34
  });
34
- module.exports = __toCommonJS(chunk_AC6EAR56_exports);
35
- var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
35
+ module.exports = __toCommonJS(chunk_2T4NJDHK_exports);
36
36
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
37
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
37
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
38
38
  var import_get_platform = require("@prisma/get-platform");
39
39
  var import_node_process = __toESM(require("node:process"));
40
40
  var import_node_os = __toESM(require("node:os"));
@@ -42,7 +42,7 @@ var import_node_fs = __toESM(require("node:fs"));
42
42
  var import_node_fs2 = __toESM(require("node:fs"));
43
43
  var import_node_fs3 = __toESM(require("node:fs"));
44
44
  var import_prompts = __toESM(require("prompts"));
45
- var require_is_windows = (0, import_chunk_WWAWV7DQ.__commonJS)({
45
+ var require_is_windows = (0, import_chunk_2ESYSVXG.__commonJS)({
46
46
  "../../node_modules/.pnpm/is-windows@1.0.2/node_modules/is-windows/index.js"(exports, module2) {
47
47
  "use strict";
48
48
  (function(factory) {
@@ -67,7 +67,7 @@ var require_is_windows = (0, import_chunk_WWAWV7DQ.__commonJS)({
67
67
  });
68
68
  }
69
69
  });
70
- var require_new_github_issue_url = (0, import_chunk_WWAWV7DQ.__commonJS)({
70
+ var require_new_github_issue_url = (0, import_chunk_2ESYSVXG.__commonJS)({
71
71
  "../../node_modules/.pnpm/new-github-issue-url@0.2.1/node_modules/new-github-issue-url/index.js"(exports, module2) {
72
72
  "use strict";
73
73
  module2.exports = (options = {}) => {
@@ -107,10 +107,10 @@ var require_new_github_issue_url = (0, import_chunk_WWAWV7DQ.__commonJS)({
107
107
  module2.exports.default = module2.exports;
108
108
  }
109
109
  });
110
- var require_is_docker = (0, import_chunk_WWAWV7DQ.__commonJS)({
110
+ var require_is_docker = (0, import_chunk_2ESYSVXG.__commonJS)({
111
111
  "../../node_modules/.pnpm/is-docker@2.2.1/node_modules/is-docker/index.js"(exports, module2) {
112
112
  "use strict";
113
- var fs4 = (0, import_chunk_WWAWV7DQ.__require)("fs");
113
+ var fs4 = (0, import_chunk_2ESYSVXG.__require)("fs");
114
114
  var isDocker2;
115
115
  function hasDockerEnv2() {
116
116
  try {
@@ -135,11 +135,11 @@ var require_is_docker = (0, import_chunk_WWAWV7DQ.__commonJS)({
135
135
  };
136
136
  }
137
137
  });
138
- var require_is_wsl = (0, import_chunk_WWAWV7DQ.__commonJS)({
138
+ var require_is_wsl = (0, import_chunk_2ESYSVXG.__commonJS)({
139
139
  "../../node_modules/.pnpm/is-wsl@2.2.0/node_modules/is-wsl/index.js"(exports, module2) {
140
140
  "use strict";
141
- var os2 = (0, import_chunk_WWAWV7DQ.__require)("os");
142
- var fs4 = (0, import_chunk_WWAWV7DQ.__require)("fs");
141
+ var os2 = (0, import_chunk_2ESYSVXG.__require)("os");
142
+ var fs4 = (0, import_chunk_2ESYSVXG.__require)("fs");
143
143
  var isDocker2 = require_is_docker();
144
144
  var isWsl2 = () => {
145
145
  if (process.platform !== "linux") {
@@ -164,13 +164,13 @@ var require_is_wsl = (0, import_chunk_WWAWV7DQ.__commonJS)({
164
164
  }
165
165
  }
166
166
  });
167
- var require_open = (0, import_chunk_WWAWV7DQ.__commonJS)({
167
+ var require_open = (0, import_chunk_2ESYSVXG.__commonJS)({
168
168
  "../../node_modules/.pnpm/open@7.4.2/node_modules/open/index.js"(exports, module2) {
169
169
  "use strict";
170
- var { promisify } = (0, import_chunk_WWAWV7DQ.__require)("util");
171
- var path = (0, import_chunk_WWAWV7DQ.__require)("path");
172
- var childProcess = (0, import_chunk_WWAWV7DQ.__require)("child_process");
173
- var fs4 = (0, import_chunk_WWAWV7DQ.__require)("fs");
170
+ var { promisify } = (0, import_chunk_2ESYSVXG.__require)("util");
171
+ var path = (0, import_chunk_2ESYSVXG.__require)("path");
172
+ var childProcess = (0, import_chunk_2ESYSVXG.__require)("child_process");
173
+ var fs4 = (0, import_chunk_2ESYSVXG.__require)("fs");
174
174
  var isWsl2 = require_is_wsl();
175
175
  var isDocker2 = require_is_docker();
176
176
  var pAccess = promisify(fs4.access);
@@ -305,7 +305,26 @@ var require_open = (0, import_chunk_WWAWV7DQ.__commonJS)({
305
305
  };
306
306
  }
307
307
  });
308
- var import_is_windows = (0, import_chunk_WWAWV7DQ.__toESM)(require_is_windows());
308
+ var require_ansi_regex = (0, import_chunk_2ESYSVXG.__commonJS)({
309
+ "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module2) {
310
+ "use strict";
311
+ module2.exports = ({ onlyFirst = false } = {}) => {
312
+ const pattern = [
313
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
314
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
315
+ ].join("|");
316
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
317
+ };
318
+ }
319
+ });
320
+ var require_strip_ansi = (0, import_chunk_2ESYSVXG.__commonJS)({
321
+ "../../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports, module2) {
322
+ "use strict";
323
+ var ansiRegex = require_ansi_regex();
324
+ module2.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string;
325
+ }
326
+ });
327
+ var import_is_windows = (0, import_chunk_2ESYSVXG.__toESM)(require_is_windows());
309
328
  var isDockerCached;
310
329
  function hasDockerEnv() {
311
330
  try {
@@ -360,9 +379,9 @@ var isWsl = () => {
360
379
  }
361
380
  };
362
381
  var is_wsl_default = import_node_process.default.env.__IS_WSL_TEST__ ? isWsl : isWsl();
363
- var import_new_github_issue_url = (0, import_chunk_WWAWV7DQ.__toESM)(require_new_github_issue_url());
364
- var import_open = (0, import_chunk_WWAWV7DQ.__toESM)(require_open());
365
- var import_strip_ansi = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_ODI3VNBD.require_strip_ansi)());
382
+ var import_new_github_issue_url = (0, import_chunk_2ESYSVXG.__toESM)(require_new_github_issue_url());
383
+ var import_open = (0, import_chunk_2ESYSVXG.__toESM)(require_open());
384
+ var import_strip_ansi = (0, import_chunk_2ESYSVXG.__toESM)(require_strip_ansi());
366
385
  function getGitHubIssueUrl({
367
386
  title,
368
387
  user = "prisma",