@prisma/internals 6.3.0-integration-simpler-typeinfo-query.1 → 6.3.0-integration-studio-ux-refinements.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/{chunk-H3T4L34H.js → chunk-25RJ7YTB.js} +88 -83
  2. package/dist/{chunk-67KWF6KB.js → chunk-2AWSOG4B.js} +5 -5
  3. package/dist/{chunk-S4LINK5Y.js → chunk-2XRDQCIA.js} +5 -5
  4. package/dist/{chunk-KNNIRRTO.js → chunk-33LHUSHN.js} +5 -5
  5. package/dist/{chunk-HMGEWJDY.js → chunk-3BND5XB4.js} +232 -47
  6. package/dist/{chunk-2DXAGCPS.js → chunk-3DMEILBC.js} +11 -11
  7. package/dist/{chunk-5I4BOTBV.js → chunk-5MCWLJSR.js} +3 -9
  8. package/dist/{chunk-KROMVQBD.js → chunk-74T6W4CU.js} +10 -10
  9. package/dist/{chunk-IABMG3F4.js → chunk-77IC3DNO.js} +5 -5
  10. package/dist/chunk-BONFK27U.js +47 -0
  11. package/dist/{chunk-WMIBAVWZ.js → chunk-C47SCASR.js} +5 -5
  12. package/dist/{chunk-IAEMHQAC.js → chunk-CXEMRKV4.js} +8 -8
  13. package/dist/{chunk-J3JE5NVO.js → chunk-CZDIXJEO.js} +56 -32
  14. package/dist/{chunk-UR3LUZY3.js → chunk-DNQ6ZL6Z.js} +17 -17
  15. package/dist/{chunk-V2VWODV3.js → chunk-EKBX4J6O.js} +5 -5
  16. package/dist/{chunk-COFXY6NH.js → chunk-EMTIYECY.js} +14 -41
  17. package/dist/{chunk-KPVPQQGU.js → chunk-F3MDG3CD.js} +5 -5
  18. package/dist/{chunk-CKVVVLEH.js → chunk-GH5ML3FF.js} +9 -9
  19. package/dist/{chunk-VJQK3LHU.js → chunk-H32RDGWV.js} +74 -185
  20. package/dist/{chunk-WYTN2XGW.js → chunk-JAVGNR6X.js} +5 -5
  21. package/dist/{chunk-4NFLAUKD.js → chunk-KQOJB3ZW.js} +70 -70
  22. package/dist/{chunk-44JHENE6.js → chunk-KQRYQKRL.js} +14 -41
  23. package/dist/{chunk-OHBFHT5Q.js → chunk-LBFL6E3O.js} +15 -15
  24. package/dist/{chunk-3U2ANLD3.js → chunk-MGZOEY6N.js} +6 -6
  25. package/dist/{chunk-JBUUTZQL.js → chunk-MH22WJ5K.js} +15 -15
  26. package/dist/{chunk-J4MA2JIK.js → chunk-N6K7M2HZ.js} +5 -5
  27. package/dist/chunk-PPCNLYSB.js +47 -0
  28. package/dist/{chunk-XLYQ6PQW.js → chunk-QTXYAZFX.js} +17 -17
  29. package/dist/{chunk-DFG3425X.js → chunk-RDX5FNEL.js} +16 -16
  30. package/dist/{chunk-FTS2IEWX.js → chunk-S57RMXZW.js} +5 -5
  31. package/dist/{chunk-5R7AZFMV.js → chunk-TDQX3EMO.js} +5 -5
  32. package/dist/{chunk-5UJZARUY.js → chunk-UEISJS4J.js} +17 -17
  33. package/dist/{chunk-OSOXVAZB.js → chunk-UPIULDLZ.js} +11 -11
  34. package/dist/{chunk-LXIE6UJ2.js → chunk-UWNBJSNG.js} +79 -961
  35. package/dist/{chunk-WCRKL55L.js → chunk-V2ZF7ETH.js} +7 -7
  36. package/dist/{chunk-YDZVEVUG.js → chunk-VRT7T6MF.js} +73 -73
  37. package/dist/{chunk-B44XJG7K.js → chunk-XPHFVLP7.js} +5 -5
  38. package/dist/{chunk-MUJIYA44.js → chunk-YBCHFR5N.js} +5 -5
  39. package/dist/{chunk-2WJPHJ2I.js → chunk-YU7EBOUS.js} +5 -5
  40. package/dist/{chunk-VFU3I6P6.js → chunk-ZEUHO2ZU.js} +16 -16
  41. package/dist/{chunk-ZA3RMW2P.js → chunk-ZKAW5JSN.js} +5 -8
  42. package/dist/cli/checkUnsupportedDataProxy.js +41 -40
  43. package/dist/cli/getSchema.js +46 -45
  44. package/dist/cli/getTypescriptVersion.d.ts +1 -0
  45. package/dist/cli/getTypescriptVersion.js +25 -0
  46. package/dist/cli/hashes.js +41 -40
  47. package/dist/engine-commands/errorHelpers.js +4 -4
  48. package/dist/engine-commands/formatSchema.js +40 -39
  49. package/dist/engine-commands/getConfig.js +13 -13
  50. package/dist/engine-commands/getDmmf.js +10 -10
  51. package/dist/engine-commands/getEngineVersion.js +8 -8
  52. package/dist/engine-commands/getEnginesMetaInfo.js +10 -10
  53. package/dist/engine-commands/index.js +51 -50
  54. package/dist/engine-commands/lintSchema.js +8 -8
  55. package/dist/engine-commands/mergeSchemas.js +10 -10
  56. package/dist/engine-commands/queryEngineCommons.js +7 -7
  57. package/dist/engine-commands/relativizePathInPSLError.js +2 -2
  58. package/dist/engine-commands/validate.js +10 -10
  59. package/dist/errorReporting.js +6 -6
  60. package/dist/get-generators/generatorResolvers/generatorResolvers.js +40 -39
  61. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +3 -3
  62. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +4 -4
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +40 -39
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +3 -3
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +41 -40
  66. package/dist/get-generators/getGenerators.js +43 -42
  67. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
  68. package/dist/getPackedPackage.js +2 -2
  69. package/dist/index.d.ts +1 -0
  70. package/dist/index.js +90 -88
  71. package/dist/{multipart-parser-LCETWFPE.js → multipart-parser-32AROPTR.js} +9 -6
  72. package/dist/resolveBinary.js +7 -7
  73. package/dist/schemaEngineCommands.js +8 -8
  74. package/dist/sendPanic.js +40 -39
  75. package/dist/tracing/types.d.ts +26 -16
  76. package/dist/typescript-AILDXN3I.js +205230 -0
  77. package/dist/typescript-WN4QH2CP.js +205192 -0
  78. package/dist/utils/cloudflareD1.js +3 -3
  79. package/dist/utils/getCommandWithExecutor.js +3 -3
  80. package/dist/utils/getEnvPaths.js +40 -39
  81. package/dist/utils/getGitHubIssueUrl.js +4 -4
  82. package/dist/utils/getVersionFromPackageJson.js +3 -3
  83. package/dist/utils/handleEngineLoadingErrors.js +3 -3
  84. package/dist/utils/handlePanic.js +40 -39
  85. package/dist/utils/isCurrentBinInstalledGlobally.d.ts +1 -1
  86. package/dist/utils/isCurrentBinInstalledGlobally.js +2 -2
  87. package/dist/utils/load.js +4 -4
  88. package/dist/utils/loadEnvFile.js +40 -39
  89. package/dist/utils/tryLoadEnvs.js +5 -5
  90. package/dist/wasm.js +4 -4
  91. package/package.json +13 -13
  92. package/dist/chunk-4RWCRJYD.js +0 -166
  93. package/dist/chunk-D4MCOTL5.js +0 -122
  94. package/dist/chunk-FPHZVRV4.js +0 -110
  95. package/dist/chunk-G7LL2H2O.js +0 -54
  96. package/dist/chunk-JMZHUHCC.js +0 -177
  97. package/dist/chunk-RQPDQSHK.js +0 -1429
  98. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +0 -9
  99. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.js +0 -132
@@ -26,11 +26,10 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_VJQK3LHU_exports = {};
30
- __export2(chunk_VJQK3LHU_exports, {
29
+ var chunk_H32RDGWV_exports = {};
30
+ __export2(chunk_H32RDGWV_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
- checkYarnVersion: () => checkYarnVersion,
34
33
  debug: () => debug5,
35
34
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
36
35
  formatSchema: () => formatSchema,
@@ -56,48 +55,47 @@ __export2(chunk_VJQK3LHU_exports, {
56
55
  sendPanic: () => sendPanic,
57
56
  skipIndex: () => skipIndex
58
57
  });
59
- module.exports = __toCommonJS2(chunk_VJQK3LHU_exports);
60
- var import_chunk_IABMG3F4 = require("./chunk-IABMG3F4.js");
61
- var import_chunk_3U2ANLD3 = require("./chunk-3U2ANLD3.js");
62
- var import_chunk_FTS2IEWX = require("./chunk-FTS2IEWX.js");
58
+ module.exports = __toCommonJS2(chunk_H32RDGWV_exports);
59
+ var import_chunk_KEBDP2C3 = require("./chunk-KEBDP2C3.js");
60
+ var import_chunk_77IC3DNO = require("./chunk-77IC3DNO.js");
61
+ var import_chunk_MGZOEY6N = require("./chunk-MGZOEY6N.js");
62
+ var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
63
63
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
64
+ var import_chunk_ONHKZPSV = require("./chunk-ONHKZPSV.js");
64
65
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
65
- var import_chunk_KEBDP2C3 = require("./chunk-KEBDP2C3.js");
66
66
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
67
67
  var import_chunk_5XRQ7ONW = require("./chunk-5XRQ7ONW.js");
68
68
  var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
69
69
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
70
- var import_chunk_ONHKZPSV = require("./chunk-ONHKZPSV.js");
71
70
  var import_chunk_5V36RLCO = require("./chunk-5V36RLCO.js");
72
71
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
73
72
  var import_chunk_JHQHVXIR = require("./chunk-JHQHVXIR.js");
74
- var import_chunk_HMGEWJDY = require("./chunk-HMGEWJDY.js");
73
+ var import_chunk_3BND5XB4 = require("./chunk-3BND5XB4.js");
75
74
  var import_chunk_BGFWFIPR = require("./chunk-BGFWFIPR.js");
76
75
  var import_chunk_2MWIMEFK = require("./chunk-2MWIMEFK.js");
77
76
  var import_chunk_L6GBFCXG = require("./chunk-L6GBFCXG.js");
78
77
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
79
78
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
80
- var import_chunk_XLYQ6PQW = require("./chunk-XLYQ6PQW.js");
79
+ var import_chunk_QTXYAZFX = require("./chunk-QTXYAZFX.js");
81
80
  var import_chunk_EPJYKNCQ = require("./chunk-EPJYKNCQ.js");
82
81
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
83
82
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
84
- var import_chunk_5R7AZFMV = require("./chunk-5R7AZFMV.js");
85
- var import_chunk_OHBFHT5Q = require("./chunk-OHBFHT5Q.js");
86
- var import_chunk_5UJZARUY = require("./chunk-5UJZARUY.js");
87
- var import_chunk_COFXY6NH = require("./chunk-COFXY6NH.js");
88
- var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
89
- var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
90
- var import_chunk_2WJPHJ2I = require("./chunk-2WJPHJ2I.js");
83
+ var import_chunk_XPHFVLP7 = require("./chunk-XPHFVLP7.js");
84
+ var import_chunk_MH22WJ5K = require("./chunk-MH22WJ5K.js");
91
85
  var import_chunk_MUPZUVSI = require("./chunk-MUPZUVSI.js");
86
+ var import_chunk_DNQ6ZL6Z = require("./chunk-DNQ6ZL6Z.js");
87
+ var import_chunk_EMTIYECY = require("./chunk-EMTIYECY.js");
88
+ var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
89
+ var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
90
+ var import_chunk_YU7EBOUS = require("./chunk-YU7EBOUS.js");
92
91
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
93
92
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
94
- var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
95
93
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
96
94
  var import_chunk_QIVUAERL = require("./chunk-QIVUAERL.js");
97
95
  var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
98
96
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
99
- var import_chunk_4NFLAUKD = require("./chunk-4NFLAUKD.js");
100
- var import_chunk_J3JE5NVO = require("./chunk-J3JE5NVO.js");
97
+ var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
98
+ var import_chunk_CZDIXJEO = require("./chunk-CZDIXJEO.js");
101
99
  var import_chunk_FUUQ6FJ4 = require("./chunk-FUUQ6FJ4.js");
102
100
  var import_chunk_KKMREGHN = require("./chunk-KKMREGHN.js");
103
101
  var import_chunk_AZNLB67U = require("./chunk-AZNLB67U.js");
@@ -441,7 +439,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
441
439
  module2.exports = readdirGlob;
442
440
  var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
443
441
  var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
444
- var { Minimatch } = (0, import_chunk_J3JE5NVO.require_minimatch)();
442
+ var { Minimatch } = (0, import_chunk_CZDIXJEO.require_minimatch)();
445
443
  var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
446
444
  function readdir(dir2, strict) {
447
445
  return new Promise((resolve2, reject2) => {
@@ -456,12 +454,16 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
456
454
  }
457
455
  break;
458
456
  case "ENOTSUP":
457
+ // Operation not supported
459
458
  case "ENOENT":
459
+ // No such file or directory
460
460
  case "ENAMETOOLONG":
461
+ // Filename too long
461
462
  case "UNKNOWN":
462
463
  resolve2([]);
463
464
  break;
464
465
  case "ELOOP":
466
+ // Too many levels of symbolic links
465
467
  default:
466
468
  reject2(err);
467
469
  break;
@@ -2848,7 +2850,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
2848
2850
  var Duplex;
2849
2851
  Writable.WritableState = WritableState;
2850
2852
  var util = Object.create(require_util());
2851
- util.inherits = (0, import_chunk_J3JE5NVO.require_inherits)();
2853
+ util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
2852
2854
  var internalUtil = {
2853
2855
  deprecate: require_node()
2854
2856
  };
@@ -3286,7 +3288,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
3286
3288
  };
3287
3289
  module2.exports = Duplex;
3288
3290
  var util = Object.create(require_util());
3289
- util.inherits = (0, import_chunk_J3JE5NVO.require_inherits)();
3291
+ util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
3290
3292
  var Readable = require_stream_readable();
3291
3293
  var Writable = require_stream_writable();
3292
3294
  util.inherits(Duplex, Readable);
@@ -3607,7 +3609,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3607
3609
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
3608
3610
  }
3609
3611
  var util = Object.create(require_util());
3610
- util.inherits = (0, import_chunk_J3JE5NVO.require_inherits)();
3612
+ util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
3611
3613
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
3612
3614
  var debug8 = void 0;
3613
3615
  if (debugUtil && debugUtil.debuglog) {
@@ -4274,7 +4276,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
4274
4276
  module2.exports = Transform;
4275
4277
  var Duplex = require_stream_duplex();
4276
4278
  var util = Object.create(require_util());
4277
- util.inherits = (0, import_chunk_J3JE5NVO.require_inherits)();
4279
+ util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
4278
4280
  util.inherits(Transform, Duplex);
4279
4281
  function afterTransform(er, data) {
4280
4282
  var ts = this._transformState;
@@ -4372,7 +4374,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
4372
4374
  module2.exports = PassThrough;
4373
4375
  var Transform = require_stream_transform();
4374
4376
  var util = Object.create(require_util());
4375
- util.inherits = (0, import_chunk_J3JE5NVO.require_inherits)();
4377
+ util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
4376
4378
  util.inherits(PassThrough, Transform);
4377
4379
  function PassThrough(options2) {
4378
4380
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
@@ -5658,7 +5660,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
5658
5660
  var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
5659
5661
  var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
5660
5662
  var errorOrDestroy = destroyImpl.errorOrDestroy;
5661
- (0, import_chunk_J3JE5NVO.require_inherits)()(Writable, Stream);
5663
+ (0, import_chunk_CZDIXJEO.require_inherits)()(Writable, Stream);
5662
5664
  function nop() {
5663
5665
  }
5664
5666
  function WritableState(options2, stream, isDuplex) {
@@ -6100,7 +6102,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6100
6102
  module2.exports = Duplex;
6101
6103
  var Readable = require_stream_readable2();
6102
6104
  var Writable = require_stream_writable2();
6103
- (0, import_chunk_J3JE5NVO.require_inherits)()(Duplex, Readable);
6105
+ (0, import_chunk_CZDIXJEO.require_inherits)()(Duplex, Readable);
6104
6106
  {
6105
6107
  keys = objectKeys(Writable.prototype);
6106
6108
  for (v = 0; v < keys.length; v++) {
@@ -6877,7 +6879,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6877
6879
  var StringDecoder;
6878
6880
  var createReadableStreamAsyncIterator;
6879
6881
  var from;
6880
- (0, import_chunk_J3JE5NVO.require_inherits)()(Readable, Stream);
6882
+ (0, import_chunk_CZDIXJEO.require_inherits)()(Readable, Stream);
6881
6883
  var errorOrDestroy = destroyImpl.errorOrDestroy;
6882
6884
  var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
6883
6885
  function prependListener(emitter, event, fn) {
@@ -7582,7 +7584,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7582
7584
  var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
7583
7585
  var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
7584
7586
  var Duplex = require_stream_duplex2();
7585
- (0, import_chunk_J3JE5NVO.require_inherits)()(Transform, Duplex);
7587
+ (0, import_chunk_CZDIXJEO.require_inherits)()(Transform, Duplex);
7586
7588
  function afterTransform(er, data) {
7587
7589
  var ts = this._transformState;
7588
7590
  ts.transforming = false;
@@ -7676,7 +7678,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7676
7678
  "use strict";
7677
7679
  module2.exports = PassThrough;
7678
7680
  var Transform = require_stream_transform2();
7679
- (0, import_chunk_J3JE5NVO.require_inherits)()(PassThrough, Transform);
7681
+ (0, import_chunk_CZDIXJEO.require_inherits)()(PassThrough, Transform);
7680
7682
  function PassThrough(options2) {
7681
7683
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
7682
7684
  Transform.call(this, options2);
@@ -8550,7 +8552,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
8550
8552
  var difference = require_difference();
8551
8553
  var union = require_union();
8552
8554
  var isPlainObject = require_isPlainObject();
8553
- var glob = (0, import_chunk_J3JE5NVO.require_glob)();
8555
+ var glob = (0, import_chunk_CZDIXJEO.require_glob)();
8554
8556
  var file = module2.exports = {};
8555
8557
  var pathSeparatorRe = /[\/\\]/g;
8556
8558
  var processPatterns = function(patterns, fn) {
@@ -13395,7 +13397,7 @@ var require_ci_info = (0, import_chunk_WWAWV7DQ.__commonJS)({
13395
13397
  }
13396
13398
  });
13397
13399
  var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
13398
- "../../node_modules/.pnpm/checkpoint-client@1.1.33/node_modules/checkpoint-client/dist/index.js"(exports, module) {
13400
+ "../../node_modules/.pnpm/checkpoint-client@1.1.33_encoding@0.1.13/node_modules/checkpoint-client/dist/index.js"(exports, module) {
13399
13401
  "use strict";
13400
13402
  Object.defineProperty(exports, "__esModule", { value: true });
13401
13403
  var path$2 = (0, import_chunk_WWAWV7DQ.__require)("path");
@@ -13800,6 +13802,8 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
13800
13802
  this.inc("patch", identifier, identifierBase);
13801
13803
  this.inc("pre", identifier, identifierBase);
13802
13804
  break;
13805
+ // If the input is a non-prerelease version, this acts the same as
13806
+ // prepatch.
13803
13807
  case "prerelease":
13804
13808
  if (this.prerelease.length === 0) {
13805
13809
  this.inc("patch", identifier, identifierBase);
@@ -13827,6 +13831,8 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
13827
13831
  }
13828
13832
  this.prerelease = [];
13829
13833
  break;
13834
+ // This probably shouldn't be used publicly.
13835
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
13830
13836
  case "pre": {
13831
13837
  const base = Number(identifierBase) ? 1 : 0;
13832
13838
  if (!identifier && identifierBase === false) {
@@ -14707,7 +14713,6 @@ var require_tmp = (0, import_chunk_WWAWV7DQ.__commonJS)({
14707
14713
  }
14708
14714
  });
14709
14715
  var import_find_up = (0, import_chunk_WWAWV7DQ.__toESM)(require_find_up());
14710
- var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
14711
14716
  var readFile = (0, import_util.promisify)(import_fs3.default.readFile);
14712
14717
  var stat = (0, import_util.promisify)(import_fs3.default.stat);
14713
14718
  var debug2 = (0, import_debug3.Debug)("prisma:getSchema");
@@ -14746,7 +14751,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14746
14751
  }
14747
14752
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14748
14753
  debug2("Loading config");
14749
- const config2 = await (0, import_chunk_5UJZARUY.getConfig)({
14754
+ const config2 = await (0, import_chunk_DNQ6ZL6Z.getConfig)({
14750
14755
  datamodel: files,
14751
14756
  ignoreEnvVarErrors: true
14752
14757
  });
@@ -14813,14 +14818,9 @@ async function getSchemaWithPathInternal(schemaPathFromArgs, { cwd, argumentName
14813
14818
  if (defaultResult.ok) {
14814
14819
  return defaultResult;
14815
14820
  }
14816
- const yarnResult = await getSchemaFromYarn1Workspace(cwd, defaultResult.error.failures);
14817
- if (yarnResult.ok) {
14818
- return yarnResult;
14819
- }
14820
- const finalError = yarnResult.error.kind === "Yarn1WorkspaceSchemaNotFound" ? defaultResult.error : yarnResult.error;
14821
14821
  return {
14822
14822
  ok: false,
14823
- error: finalError
14823
+ error: defaultResult.error
14824
14824
  };
14825
14825
  }
14826
14826
  function renderLookupError(error) {
@@ -14855,7 +14855,7 @@ function renderDefaultLookupError(error, cwd) {
14855
14855
  return parts.join("\n");
14856
14856
  }
14857
14857
  async function getPrismaConfigFromPackageJson(cwd) {
14858
- const pkgJson = await (0, import_chunk_J3JE5NVO.readPackageUp)({ cwd, normalize: false });
14858
+ const pkgJson = await (0, import_chunk_CZDIXJEO.readPackageUp)({ cwd, normalize: false });
14859
14859
  const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
14860
14860
  if (!pkgJson) {
14861
14861
  return null;
@@ -14895,47 +14895,6 @@ async function getSchemaFromPackageJson(cwd) {
14895
14895
  }
14896
14896
  return lookupResult;
14897
14897
  }
14898
- async function getSchemaFromYarn1Workspace(cwd, pastFailures) {
14899
- if (!process.env.npm_config_user_agent?.includes("yarn")) {
14900
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
14901
- }
14902
- let workspaces;
14903
- try {
14904
- const { stdout: version3 } = await import_execa.default.command("yarn --version", {
14905
- cwd
14906
- });
14907
- if (version3.startsWith("2")) {
14908
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
14909
- }
14910
- const { stdout } = await import_execa.default.command("yarn workspaces info --json", {
14911
- cwd
14912
- });
14913
- const json = getJson(stdout);
14914
- workspaces = Object.values(json);
14915
- } catch {
14916
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
14917
- }
14918
- const workspaceRootDir = await findWorkspaceRoot(cwd);
14919
- if (!workspaceRootDir) {
14920
- return { ok: false, error: { kind: "Yarn1WorkspaceSchemaNotFound" } };
14921
- }
14922
- for (const workspace of workspaces) {
14923
- const workspacePath = import_path2.default.join(workspaceRootDir, workspace.location);
14924
- const workspaceSchema = await tryWorkspacePath(workspacePath, pastFailures);
14925
- if (workspaceSchema.ok) {
14926
- return workspaceSchema;
14927
- }
14928
- }
14929
- const rootPathSchema = await tryWorkspacePath(workspaceRootDir, pastFailures);
14930
- return rootPathSchema;
14931
- }
14932
- async function tryWorkspacePath(cwd, pastFailures) {
14933
- const pkgJson = await getSchemaFromPackageJson(cwd);
14934
- if (pkgJson.ok) {
14935
- return pkgJson;
14936
- }
14937
- return getDefaultSchema(cwd, pastFailures);
14938
- }
14939
14898
  async function getDefaultSchema(cwd, failures = []) {
14940
14899
  const schemaPrisma = {
14941
14900
  schemaPath: {
@@ -15014,44 +14973,6 @@ async function getSchema(schemaPathFromArgs) {
15014
14973
  const schemaPathResult = await getSchemaWithPath(schemaPathFromArgs);
15015
14974
  return schemaPathResult.schemas;
15016
14975
  }
15017
- function getJson(stdout) {
15018
- const firstCurly = stdout.indexOf("{");
15019
- const lastCurly = stdout.lastIndexOf("}");
15020
- const sliced = stdout.slice(firstCurly, lastCurly + 1);
15021
- return JSON.parse(sliced);
15022
- }
15023
- function isPkgJsonWorkspaceRoot(pkgJson) {
15024
- const workspaces = pkgJson.workspaces;
15025
- if (!workspaces) {
15026
- return false;
15027
- }
15028
- return Array.isArray(workspaces) || workspaces.packages !== void 0;
15029
- }
15030
- async function isNearestPkgJsonWorkspaceRoot(cwd) {
15031
- const pkgJson = await (0, import_chunk_J3JE5NVO.readPackageUp)({ cwd, normalize: false });
15032
- if (!pkgJson) {
15033
- return null;
15034
- }
15035
- return {
15036
- isRoot: isPkgJsonWorkspaceRoot(pkgJson.packageJson),
15037
- path: pkgJson.path
15038
- };
15039
- }
15040
- async function findWorkspaceRoot(cwd) {
15041
- let pkgJson = await isNearestPkgJsonWorkspaceRoot(cwd);
15042
- if (!pkgJson) {
15043
- return null;
15044
- }
15045
- if (pkgJson.isRoot === true) {
15046
- return import_path2.default.dirname(pkgJson.path);
15047
- }
15048
- const pkgJsonParentDir = import_path2.default.dirname(import_path2.default.dirname(pkgJson.path));
15049
- pkgJson = await isNearestPkgJsonWorkspaceRoot(pkgJsonParentDir);
15050
- if (!pkgJson || pkgJson.isRoot === false) {
15051
- return null;
15052
- }
15053
- return import_path2.default.dirname(pkgJson.path);
15054
- }
15055
14976
  var debug3 = (0, import_debug2.default)("prisma:loadEnv");
15056
14977
  async function getEnvPaths(schemaPath2, opts = { cwd: process.cwd() }) {
15057
14978
  const rootEnvPath = getProjectRootEnvPath({ cwd: opts.cwd }) ?? null;
@@ -15067,7 +14988,7 @@ async function getEnvPaths(schemaPath2, opts = { cwd: process.cwd() }) {
15067
14988
  "./.env"
15068
14989
  // 4 - Check cwd for .env
15069
14990
  ];
15070
- const schemaEnvPath = schemaEnvPaths.find(import_chunk_HMGEWJDY.exists);
14991
+ const schemaEnvPath = schemaEnvPaths.find(import_chunk_3BND5XB4.exists);
15071
14992
  return { rootEnvPath, schemaEnvPath };
15072
14993
  }
15073
14994
  async function readSchemaPathFromPkgJson() {
@@ -15115,7 +15036,7 @@ async function loadEnvFile({
15115
15036
  printMessage = false
15116
15037
  } = {}) {
15117
15038
  const envPaths2 = await getEnvPaths(schemaPath2);
15118
- const envData = (0, import_chunk_HMGEWJDY.tryLoadEnvs)(envPaths2, { conflictCheck: "error" });
15039
+ const envData = (0, import_chunk_3BND5XB4.tryLoadEnvs)(envPaths2, { conflictCheck: "error" });
15119
15040
  if (printMessage && envData && envData.message) {
15120
15041
  process.stdout.write(envData.message + "\n");
15121
15042
  }
@@ -15138,8 +15059,8 @@ async function checkUnsupportedDataProxyMessage(command, args, implicitSchema) {
15138
15059
  if (argName.includes("schema")) {
15139
15060
  await loadEnvFile({ schemaPath: argValue, printMessage: false });
15140
15061
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
15141
- const config2 = await (0, import_chunk_5UJZARUY.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15142
- const url = (0, import_chunk_5UJZARUY.resolveUrl)((0, import_chunk_5UJZARUY.getEffectiveUrl)(config2.datasources[0]));
15062
+ const config2 = await (0, import_chunk_DNQ6ZL6Z.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15063
+ const url = (0, import_chunk_DNQ6ZL6Z.resolveUrl)((0, import_chunk_DNQ6ZL6Z.getEffectiveUrl)(config2.datasources[0]));
15143
15064
  if (url?.startsWith("prisma://")) {
15144
15065
  return forbiddenCmdWithDataProxyFlagMessage(command);
15145
15066
  }
@@ -15160,7 +15081,7 @@ function getCLIPathHash() {
15160
15081
  const cliPath = process.argv[1];
15161
15082
  return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
15162
15083
  }
15163
- var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_J3JE5NVO.require_p_map)());
15084
+ var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_CZDIXJEO.require_p_map)());
15164
15085
  var debug4 = (0, import_debug6.default)("prisma:generator");
15165
15086
  async function checkTypeScriptVersion() {
15166
15087
  const minVersion = "4.1.0";
@@ -15186,42 +15107,10 @@ async function checkTypeScriptVersion() {
15186
15107
  } catch (e) {
15187
15108
  }
15188
15109
  }
15189
- function checkYarnVersion() {
15190
- if (process.env.npm_config_user_agent) {
15191
- const match = parseUserAgentString(process.env.npm_config_user_agent);
15192
- if (match) {
15193
- const { agent, major, minor, patch } = match;
15194
- if (agent === "yarn" && major === 1) {
15195
- const currentYarnVersion = `${major}.${minor}.${patch}`;
15196
- const minYarnVersion = "1.19.2";
15197
- if ((0, import_chunk_EUTJYQDW.semverLt)(currentYarnVersion, minYarnVersion)) {
15198
- import_chunk_AZNLB67U.logger_exports.warn(
15199
- `Your ${(0, import_chunk_PG5FDKSF.bold)("yarn")} has version ${currentYarnVersion}, which is outdated. Please update it to ${(0, import_chunk_PG5FDKSF.bold)(
15200
- minYarnVersion
15201
- )} or ${(0, import_chunk_PG5FDKSF.bold)("newer")} in order to use Prisma.`
15202
- );
15203
- }
15204
- }
15205
- }
15206
- }
15207
- }
15208
- function parseUserAgentString(str) {
15209
- const userAgentRegex = /(\w+)\/(\d+)\.(\d+)\.(\d+)/;
15210
- const match = userAgentRegex.exec(str);
15211
- if (match) {
15212
- const agent = match[1];
15213
- const major = parseInt(match[2]);
15214
- const minor = parseInt(match[3]);
15215
- const patch = parseInt(match[4]);
15216
- return { agent, major, minor, patch };
15217
- }
15218
- return null;
15219
- }
15220
15110
  var debug5 = (0, import_debug5.default)("prisma:generator");
15221
15111
  async function prismaClientResolver(baseDir, version3) {
15222
15112
  let prismaClientDir = await (0, import_chunk_KEBDP2C3.findPrismaClientDir)(baseDir);
15223
15113
  debug5("baseDir", baseDir);
15224
- checkYarnVersion();
15225
15114
  await checkTypeScriptVersion();
15226
15115
  if (!prismaClientDir && !process.env.PRISMA_GENERATE_SKIP_AUTOINSTALL) {
15227
15116
  let projectRoot = (0, import_chunk_J77ZIDXB.longestCommonPathPrefix)(baseDir, process.cwd());
@@ -15247,30 +15136,30 @@ async function prismaClientResolver(baseDir, version3) {
15247
15136
  );
15248
15137
  }
15249
15138
  const prismaCliDir = await (0, import_chunk_FUUQ6FJ4.resolvePkg)("prisma", { basedir: baseDir });
15250
- if (process.platform === "win32" && await (0, import_chunk_FTS2IEWX.isYarnUsed)(baseDir)) {
15139
+ if (process.platform === "win32" && await (0, import_chunk_S57RMXZW.isYarnUsed)(baseDir)) {
15251
15140
  const hasCli = (s2) => prismaCliDir !== void 0 ? s2 : "";
15252
15141
  const missingCli = (s2) => prismaCliDir === void 0 ? s2 : "";
15253
15142
  throw new Error(
15254
15143
  `Could not resolve ${missingCli(`${(0, import_chunk_PG5FDKSF.bold)("prisma")} and `)}${(0, import_chunk_PG5FDKSF.bold)(
15255
15144
  "@prisma/client"
15256
15145
  )} in the current project. Please install ${hasCli("it")}${missingCli("them")} with ${missingCli(
15257
- `${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "prisma", "-D")}`))} and `
15258
- )}${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "@prisma/client")}`))}, and rerun ${(0, import_chunk_PG5FDKSF.bold)(
15259
- await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate")
15146
+ `${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "prisma", "-D")}`))} and `
15147
+ )}${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "@prisma/client")}`))}, and rerun ${(0, import_chunk_PG5FDKSF.bold)(
15148
+ await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate")
15260
15149
  )} \u{1F64F}.`
15261
15150
  );
15262
15151
  }
15263
15152
  if (!prismaCliDir) {
15264
- await (0, import_chunk_IABMG3F4.runPackageCmd)(projectRoot, "add", `prisma@${version3 ?? "latest"}`, "-D", "--silent");
15153
+ await (0, import_chunk_77IC3DNO.runPackageCmd)(projectRoot, "add", `prisma@${version3 ?? "latest"}`, "-D", "--silent");
15265
15154
  }
15266
- await (0, import_chunk_IABMG3F4.runPackageCmd)(projectRoot, "add", `@prisma/client@${version3 ?? "latest"}`, "--silent");
15155
+ await (0, import_chunk_77IC3DNO.runPackageCmd)(projectRoot, "add", `@prisma/client@${version3 ?? "latest"}`, "--silent");
15267
15156
  prismaClientDir = await (0, import_chunk_KEBDP2C3.findPrismaClientDir)(import_path4.default.join(".", baseDir));
15268
15157
  if (!prismaClientDir) {
15269
15158
  throw new Error(
15270
15159
  `Could not resolve @prisma/client despite the installation that we just tried.
15271
15160
  Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
15272
- (0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "add", "@prisma/client")}`)
15273
- )} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate"))} \u{1F64F}.`
15161
+ (0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "@prisma/client")}`)
15162
+ )} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate"))} \u{1F64F}.`
15274
15163
  );
15275
15164
  }
15276
15165
  console.info(
@@ -15282,7 +15171,7 @@ Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
15282
15171
  throw new Error(
15283
15172
  `Could not resolve @prisma/client.
15284
15173
  Please try to install it with ${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)("npm install @prisma/client"))} and rerun ${(0, import_chunk_PG5FDKSF.bold)(
15285
- await (0, import_chunk_3U2ANLD3.getPackageCmd)(baseDir, "execute", "prisma generate")
15174
+ await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate")
15286
15175
  )} \u{1F64F}.`
15287
15176
  );
15288
15177
  }
@@ -15343,7 +15232,7 @@ async function getGenerators(options) {
15343
15232
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15344
15233
  }
15345
15234
  }
15346
- const config = await (0, import_chunk_5UJZARUY.getConfig)({
15235
+ const config = await (0, import_chunk_DNQ6ZL6Z.getConfig)({
15347
15236
  datamodel: schemas,
15348
15237
  datamodelPath: schemaPath,
15349
15238
  prismaPath,
@@ -15354,7 +15243,7 @@ async function getGenerators(options) {
15354
15243
  }
15355
15244
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15356
15245
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15357
- const dmmf = await (0, import_chunk_COFXY6NH.getDMMF)({
15246
+ const dmmf = await (0, import_chunk_EMTIYECY.getDMMF)({
15358
15247
  datamodel: schemas,
15359
15248
  datamodelPath: schemaPath,
15360
15249
  prismaPath,
@@ -15415,7 +15304,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15415
15304
  fromEnvVar: "null"
15416
15305
  };
15417
15306
  }
15418
- const datamodel = (0, import_chunk_OHBFHT5Q.mergeSchemas)({ schemas });
15307
+ const datamodel = (0, import_chunk_MH22WJ5K.mergeSchemas)({ schemas });
15419
15308
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15420
15309
  const options2 = {
15421
15310
  datamodel,
@@ -15498,7 +15387,7 @@ generator gen {
15498
15387
  debug6({ generatorBinaryPaths });
15499
15388
  generator.setBinaryPaths(generatorBinaryPaths);
15500
15389
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15501
- const customDmmf = await (0, import_chunk_COFXY6NH.getDMMF)({
15390
+ const customDmmf = await (0, import_chunk_EMTIYECY.getDMMF)({
15502
15391
  datamodel: schemas,
15503
15392
  datamodelPath: schemaPath,
15504
15393
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -15616,23 +15505,23 @@ async function sendPanic({
15616
15505
  enginesVersion: enginesVersion2,
15617
15506
  getDatabaseVersionSafe
15618
15507
  }) {
15619
- const schema = await (0, import_chunk_H3T4L34H.$)(error).with({ schemaPath: import_chunk_H3T4L34H.N.not(import_chunk_H3T4L34H.N.nullish) }, (err) => {
15508
+ const schema = await (0, import_chunk_25RJ7YTB.z)(error).with({ schemaPath: import_chunk_25RJ7YTB.N.not(import_chunk_25RJ7YTB.N.nullish) }, (err) => {
15620
15509
  return getSchema(err.schemaPath);
15621
- }).with({ schema: import_chunk_H3T4L34H.N.not(import_chunk_H3T4L34H.N.nullish) }, (err) => Promise.resolve(err.schema)).otherwise(() => void 0);
15510
+ }).with({ schema: import_chunk_25RJ7YTB.N.not(import_chunk_25RJ7YTB.N.nullish) }, (err) => Promise.resolve(err.schema)).otherwise(() => void 0);
15622
15511
  const maskedSchema = schema ? (0, import_chunk_KDHESRKE.maskSchemas)(schema) : void 0;
15623
15512
  let dbVersion;
15624
15513
  if (error.area === "LIFT_CLI") {
15625
- const getDatabaseVersionParams = (0, import_chunk_H3T4L34H.$)({
15514
+ const getDatabaseVersionParams = (0, import_chunk_25RJ7YTB.z)({
15626
15515
  schema,
15627
15516
  introspectionUrl: error.introspectionUrl
15628
- }).with({ schema: import_chunk_H3T4L34H.N.not(void 0) }, ({ schema: schema2 }) => {
15517
+ }).with({ schema: import_chunk_25RJ7YTB.N.not(void 0) }, ({ schema: schema2 }) => {
15629
15518
  return {
15630
15519
  datasource: {
15631
15520
  tag: "Schema",
15632
15521
  ...(0, import_chunk_JHQHVXIR.toSchemasContainer)(schema2)
15633
15522
  }
15634
15523
  };
15635
- }).with({ introspectionUrl: import_chunk_H3T4L34H.N.not(void 0) }, ({ introspectionUrl }) => {
15524
+ }).with({ introspectionUrl: import_chunk_25RJ7YTB.N.not(void 0) }, ({ introspectionUrl }) => {
15636
15525
  return {
15637
15526
  datasource: {
15638
15527
  tag: "ConnectionString",
@@ -15666,16 +15555,16 @@ async function sendPanic({
15666
15555
  sqlDump: void 0,
15667
15556
  dbVersion
15668
15557
  };
15669
- const signedUrl = await (0, import_chunk_4NFLAUKD.createErrorReport)(params);
15558
+ const signedUrl = await (0, import_chunk_KQOJB3ZW.createErrorReport)(params);
15670
15559
  try {
15671
15560
  if (error.schemaPath) {
15672
15561
  const zip = await makeErrorZip(error);
15673
- await (0, import_chunk_4NFLAUKD.uploadZip)(zip, signedUrl);
15562
+ await (0, import_chunk_KQOJB3ZW.uploadZip)(zip, signedUrl);
15674
15563
  }
15675
15564
  } catch (zipUploadError) {
15676
15565
  console.error(`Error uploading zip file: ${zipUploadError.message}`);
15677
15566
  }
15678
- const id = await (0, import_chunk_4NFLAUKD.makeErrorReportCompleted)(signedUrl);
15567
+ const id = await (0, import_chunk_KQOJB3ZW.makeErrorReportCompleted)(signedUrl);
15679
15568
  return id;
15680
15569
  }
15681
15570
  function concatSchemaForReport(schemaFiles) {
@@ -15782,7 +15671,7 @@ ${(0, import_chunk_PG5FDKSF.bold)("Thanks a lot for your help! \u{1F64F}")}`);
15782
15671
  console.error(`${(0, import_chunk_PG5FDKSF.gray)("Error report submission failed due to: ")}`, error2);
15783
15672
  }
15784
15673
  }
15785
- await (0, import_chunk_XLYQ6PQW.wouldYouLikeToCreateANewIssue)({
15674
+ await (0, import_chunk_QTXYAZFX.wouldYouLikeToCreateANewIssue)({
15786
15675
  prompt: !shouldSubmitReport,
15787
15676
  error,
15788
15677
  cliVersion: cliVersion2,
@@ -15796,7 +15685,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15796
15685
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15797
15686
  handleFormatPanic(
15798
15687
  () => {
15799
- import_chunk_2WJPHJ2I.prismaSchemaWasm.debug_panic();
15688
+ import_chunk_YU7EBOUS.prismaSchemaWasm.debug_panic();
15800
15689
  },
15801
15690
  { schemas: schemas2 }
15802
15691
  );
@@ -15816,12 +15705,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15816
15705
  () => {
15817
15706
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15818
15707
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15819
- const lintDiagnostics2 = (0, import_chunk_5R7AZFMV.lintSchema)({ schemas: formattedMultipleSchemas2 });
15708
+ const lintDiagnostics2 = (0, import_chunk_XPHFVLP7.lintSchema)({ schemas: formattedMultipleSchemas2 });
15820
15709
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15821
15710
  },
15822
15711
  { schemas: schemas2 }
15823
15712
  );
15824
- const lintWarnings = (0, import_chunk_5R7AZFMV.getLintWarningsAsText)(lintDiagnostics);
15713
+ const lintWarnings = (0, import_chunk_XPHFVLP7.getLintWarningsAsText)(lintDiagnostics);
15825
15714
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15826
15715
  console.warn(lintWarnings);
15827
15716
  }
@@ -15851,7 +15740,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15851
15740
  }
15852
15741
  }
15853
15742
  function formatWasm(schema, documentFormattingParams) {
15854
- const formattedSchema = import_chunk_2WJPHJ2I.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15743
+ const formattedSchema = import_chunk_YU7EBOUS.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15855
15744
  return formattedSchema;
15856
15745
  }
15857
15746
  /*! Bundled license information:
@@ -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_WYTN2XGW_exports = {};
20
- __export(chunk_WYTN2XGW_exports, {
19
+ var chunk_JAVGNR6X_exports = {};
20
+ __export(chunk_JAVGNR6X_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_WYTN2XGW_exports);
24
- var import_chunk_CKVVVLEH = require("./chunk-CKVVVLEH.js");
25
- var packageJson = (0, import_chunk_CKVVVLEH.require_package)();
23
+ module.exports = __toCommonJS(chunk_JAVGNR6X_exports);
24
+ var import_chunk_GH5ML3FF = require("./chunk-GH5ML3FF.js");
25
+ var packageJson = (0, import_chunk_GH5ML3FF.require_package)();
26
26
  var version = packageJson.version;