@prisma/internals 6.5.0-integration-fix-e2e-prisma-config-2.9 → 6.5.0-integration-fix-client-read-replicas.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 (62) hide show
  1. package/dist/{chunk-IBXJJA2Y.js → chunk-27P5NZTO.js} +6 -7
  2. package/dist/chunk-2IOZUH3U.js +26 -0
  3. package/dist/{chunk-Z3HEQNNY.js → chunk-3Z5UAJOM.js} +8 -8
  4. package/dist/{chunk-JWNXCXRT.js → chunk-47CG4UTJ.js} +8 -8
  5. package/dist/{chunk-UUQ4S65T.js → chunk-4AIOCFJV.js} +5 -6
  6. package/dist/{chunk-RL3K4V2J.js → chunk-55RMSBQJ.js} +5 -5
  7. package/dist/{chunk-XOWBYDC2.js → chunk-5BZGQIRH.js} +8 -8
  8. package/dist/{chunk-2SWS7ZGF.js → chunk-ANCBOVIA.js} +5 -5
  9. package/dist/{chunk-T5RACBRF.js → chunk-CHMJ5V7I.js} +10 -10
  10. package/dist/{chunk-FHXAG4A2.js → chunk-CZL7DCL2.js} +5 -5
  11. package/dist/{chunk-3GP4HYUV.js → chunk-DS5HCKHK.js} +7 -7
  12. package/dist/{chunk-EPJYKNCQ.js → chunk-FCYHZHVW.js} +8 -4
  13. package/dist/{chunk-CCLACYA6.js → chunk-GY2FKK7I.js} +7 -7
  14. package/dist/{chunk-MIB335S3.js → chunk-HBUEEAGZ.js} +5 -5
  15. package/dist/{chunk-VXSQZXSR.js → chunk-HMJUVRB2.js} +5 -5
  16. package/dist/{chunk-CDINVCKQ.js → chunk-IUF5QJH7.js} +8 -8
  17. package/dist/{chunk-E73DF62Z.js → chunk-IYFPIGGM.js} +8 -8
  18. package/dist/{chunk-VQX3AXS3.js → chunk-K2RINR4Y.js} +8 -8
  19. package/dist/{chunk-YELLD34H.js → chunk-LK7U6TVK.js} +5 -5
  20. package/dist/chunk-LRBXMV4B.js +26 -0
  21. package/dist/{chunk-EWQOVGTI.js → chunk-PSRK3GOS.js} +136 -137
  22. package/dist/{chunk-Q6IMVSHO.js → chunk-SYOSEVBK.js} +5 -5
  23. package/dist/{chunk-DJWBFMUD.js → chunk-U3VJOVR5.js} +136 -137
  24. package/dist/{chunk-6HAMFH75.js → chunk-UFSV5APA.js} +5 -5
  25. package/dist/{chunk-PLBEA222.js → chunk-WQXRNCPP.js} +5 -5
  26. package/dist/chunk-XXTPN4LB.js +41 -0
  27. package/dist/{chunk-IFSZX2CY.js → chunk-YSTRHGMU.js} +5 -5
  28. package/dist/cli/checkUnsupportedDataProxy.js +29 -26
  29. package/dist/cli/getSchema.js +33 -30
  30. package/dist/cli/hashes.js +29 -26
  31. package/dist/engine-commands/errorHelpers.js +4 -4
  32. package/dist/engine-commands/formatSchema.js +28 -25
  33. package/dist/engine-commands/getConfig.js +10 -10
  34. package/dist/engine-commands/getDmmf.js +7 -7
  35. package/dist/engine-commands/index.js +37 -34
  36. package/dist/engine-commands/lintSchema.js +8 -8
  37. package/dist/engine-commands/mergeSchemas.js +7 -7
  38. package/dist/engine-commands/validate.js +7 -7
  39. package/dist/errorReporting.d.ts +1 -0
  40. package/dist/get-generators/generatorResolvers/generatorResolvers.js +28 -25
  41. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +28 -25
  42. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +29 -26
  43. package/dist/get-generators/getGenerators.js +31 -28
  44. package/dist/getPackedPackage.js +3 -3
  45. package/dist/index.d.ts +3 -0
  46. package/dist/index.js +62 -56
  47. package/dist/sendPanic.js +28 -25
  48. package/dist/utils/__tests__/isCi.test.js +0 -2
  49. package/dist/utils/canPrompt.js +2 -2
  50. package/dist/utils/getEnvPaths.js +28 -25
  51. package/dist/utils/getVersionFromPackageJson.js +3 -3
  52. package/dist/utils/handlePanic.js +28 -25
  53. package/dist/utils/isInContainer.d.ts +5 -0
  54. package/dist/utils/isInContainer.js +25 -0
  55. package/dist/utils/isInNpmLifecycleHook.d.ts +4 -0
  56. package/dist/utils/isInNpmLifecycleHook.js +25 -0
  57. package/dist/utils/isValidJsIdentifier.js +3 -3
  58. package/dist/utils/loadEnvFile.js +28 -25
  59. package/dist/utils/maybeInGitHook.d.ts +9 -0
  60. package/dist/utils/maybeInGitHook.js +25 -0
  61. package/dist/wasm.js +4 -4
  62. package/package.json +10 -11
@@ -26,11 +26,11 @@ 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_DJWBFMUD_exports = {};
30
- __export2(chunk_DJWBFMUD_exports, {
29
+ var chunk_U3VJOVR5_exports = {};
30
+ __export2(chunk_U3VJOVR5_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
- debug: () => debug6,
33
+ debug: () => debug5,
34
34
  forbiddenCmdWithDataProxyFlagMessage: () => forbiddenCmdWithDataProxyFlagMessage,
35
35
  formatSchema: () => formatSchema,
36
36
  generatorResolvers: () => generatorResolvers,
@@ -54,38 +54,38 @@ __export2(chunk_DJWBFMUD_exports, {
54
54
  sendPanic: () => sendPanic,
55
55
  skipIndex: () => skipIndex
56
56
  });
57
- module.exports = __toCommonJS2(chunk_DJWBFMUD_exports);
57
+ module.exports = __toCommonJS2(chunk_U3VJOVR5_exports);
58
+ var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
58
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
59
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
60
61
  var import_chunk_PIPE5DSU = require("./chunk-PIPE5DSU.js");
61
62
  var import_chunk_77IC3DNO = require("./chunk-77IC3DNO.js");
62
63
  var import_chunk_MGZOEY6N = require("./chunk-MGZOEY6N.js");
63
- var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
64
+ var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
64
65
  var import_chunk_5XRQ7ONW = require("./chunk-5XRQ7ONW.js");
66
+ var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
65
67
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
66
68
  var import_chunk_ONHKZPSV = require("./chunk-ONHKZPSV.js");
67
69
  var import_chunk_JHQHVXIR = require("./chunk-JHQHVXIR.js");
68
70
  var import_chunk_3BND5XB4 = require("./chunk-3BND5XB4.js");
69
- var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
70
- var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
71
71
  var import_chunk_5V36RLCO = require("./chunk-5V36RLCO.js");
72
72
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
73
+ var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
73
74
  var import_chunk_BGFWFIPR = require("./chunk-BGFWFIPR.js");
74
75
  var import_chunk_2MWIMEFK = require("./chunk-2MWIMEFK.js");
75
76
  var import_chunk_L6GBFCXG = require("./chunk-L6GBFCXG.js");
76
- var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
77
77
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
78
78
  var import_chunk_AC6EAR56 = require("./chunk-AC6EAR56.js");
79
- var import_chunk_EPJYKNCQ = require("./chunk-EPJYKNCQ.js");
79
+ var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
80
80
  var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
81
81
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
82
- var import_chunk_YELLD34H = require("./chunk-YELLD34H.js");
83
- var import_chunk_3GP4HYUV = require("./chunk-3GP4HYUV.js");
84
- var import_chunk_CDINVCKQ = require("./chunk-CDINVCKQ.js");
85
- var import_chunk_JWNXCXRT = require("./chunk-JWNXCXRT.js");
82
+ var import_chunk_UFSV5APA = require("./chunk-UFSV5APA.js");
83
+ var import_chunk_GY2FKK7I = require("./chunk-GY2FKK7I.js");
84
+ var import_chunk_IUF5QJH7 = require("./chunk-IUF5QJH7.js");
85
+ var import_chunk_47CG4UTJ = require("./chunk-47CG4UTJ.js");
86
86
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
87
87
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
88
- var import_chunk_MIB335S3 = require("./chunk-MIB335S3.js");
88
+ var import_chunk_HBUEEAGZ = require("./chunk-HBUEEAGZ.js");
89
89
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
90
90
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
91
91
  var import_chunk_QIVUAERL = require("./chunk-QIVUAERL.js");
@@ -93,7 +93,7 @@ var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
93
93
  var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
94
94
  var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
95
95
  var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
96
- var import_chunk_RL3K4V2J = require("./chunk-RL3K4V2J.js");
96
+ var import_chunk_55RMSBQJ = require("./chunk-55RMSBQJ.js");
97
97
  var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
98
98
  var import_chunk_53LS3WUO = require("./chunk-53LS3WUO.js");
99
99
  var import_chunk_AZNLB67U = require("./chunk-AZNLB67U.js");
@@ -103,24 +103,23 @@ var import_debug = __toESM2(require("@prisma/debug"));
103
103
  var import_config = require("@prisma/config");
104
104
  var import_fs = __toESM2(require("fs"));
105
105
  var import_debug2 = __toESM2(require("@prisma/debug"));
106
- var import_debug3 = __toESM2(require("@prisma/debug"));
107
106
  var import_fs2 = __toESM2(require("fs"));
108
107
  var import_path = __toESM2(require("path"));
109
- var import_debug4 = require("@prisma/debug");
108
+ var import_debug3 = require("@prisma/debug");
110
109
  var import_schema_files_loader = require("@prisma/schema-files-loader");
111
110
  var import_fs3 = __toESM2(require("fs"));
112
111
  var import_path2 = __toESM2(require("path"));
113
112
  var import_util = require("util");
114
113
  var import_crypto = __toESM2(require("crypto"));
115
- var import_debug5 = __toESM2(require("@prisma/debug"));
114
+ var import_debug4 = __toESM2(require("@prisma/debug"));
116
115
  var import_engines = require("@prisma/engines");
117
116
  var import_fetch_engine = require("@prisma/fetch-engine");
118
117
  var import_get_platform = require("@prisma/get-platform");
119
118
  var import_path3 = __toESM2(require("path"));
120
- var import_debug6 = __toESM2(require("@prisma/debug"));
119
+ var import_debug5 = __toESM2(require("@prisma/debug"));
121
120
  var import_fs4 = __toESM2(require("fs"));
122
121
  var import_path4 = __toESM2(require("path"));
123
- var import_debug7 = __toESM2(require("@prisma/debug"));
122
+ var import_debug6 = __toESM2(require("@prisma/debug"));
124
123
  var import_fs5 = __toESM2(require("fs"));
125
124
  var import_path5 = __toESM2(require("path"));
126
125
  var import_get_platform2 = require("@prisma/get-platform");
@@ -439,7 +438,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
439
438
  module2.exports = readdirGlob;
440
439
  var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
441
440
  var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
442
- var { Minimatch } = (0, import_chunk_RL3K4V2J.require_minimatch)();
441
+ var { Minimatch } = (0, import_chunk_55RMSBQJ.require_minimatch)();
443
442
  var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
444
443
  function readdir(dir2, strict) {
445
444
  return new Promise((resolve2, reject2) => {
@@ -2850,7 +2849,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
2850
2849
  var Duplex;
2851
2850
  Writable.WritableState = WritableState;
2852
2851
  var util = Object.create(require_util());
2853
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
2852
+ util.inherits = (0, import_chunk_55RMSBQJ.require_inherits)();
2854
2853
  var internalUtil = {
2855
2854
  deprecate: require_node()
2856
2855
  };
@@ -3288,7 +3287,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
3288
3287
  };
3289
3288
  module2.exports = Duplex;
3290
3289
  var util = Object.create(require_util());
3291
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3290
+ util.inherits = (0, import_chunk_55RMSBQJ.require_inherits)();
3292
3291
  var Readable = require_stream_readable();
3293
3292
  var Writable = require_stream_writable();
3294
3293
  util.inherits(Duplex, Readable);
@@ -3609,13 +3608,13 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3609
3608
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
3610
3609
  }
3611
3610
  var util = Object.create(require_util());
3612
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
3611
+ util.inherits = (0, import_chunk_55RMSBQJ.require_inherits)();
3613
3612
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
3614
- var debug9 = void 0;
3613
+ var debug8 = void 0;
3615
3614
  if (debugUtil && debugUtil.debuglog) {
3616
- debug9 = debugUtil.debuglog("stream");
3615
+ debug8 = debugUtil.debuglog("stream");
3617
3616
  } else {
3618
- debug9 = function() {
3617
+ debug8 = function() {
3619
3618
  };
3620
3619
  }
3621
3620
  var BufferList = require_BufferList();
@@ -3815,13 +3814,13 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3815
3814
  return state.length;
3816
3815
  }
3817
3816
  Readable.prototype.read = function(n) {
3818
- debug9("read", n);
3817
+ debug8("read", n);
3819
3818
  n = parseInt(n, 10);
3820
3819
  var state = this._readableState;
3821
3820
  var nOrig = n;
3822
3821
  if (n !== 0) state.emittedReadable = false;
3823
3822
  if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {
3824
- debug9("read: emitReadable", state.length, state.ended);
3823
+ debug8("read: emitReadable", state.length, state.ended);
3825
3824
  if (state.length === 0 && state.ended) endReadable(this);
3826
3825
  else emitReadable(this);
3827
3826
  return null;
@@ -3832,16 +3831,16 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3832
3831
  return null;
3833
3832
  }
3834
3833
  var doRead = state.needReadable;
3835
- debug9("need readable", doRead);
3834
+ debug8("need readable", doRead);
3836
3835
  if (state.length === 0 || state.length - n < state.highWaterMark) {
3837
3836
  doRead = true;
3838
- debug9("length less than watermark", doRead);
3837
+ debug8("length less than watermark", doRead);
3839
3838
  }
3840
3839
  if (state.ended || state.reading) {
3841
3840
  doRead = false;
3842
- debug9("reading or ended", doRead);
3841
+ debug8("reading or ended", doRead);
3843
3842
  } else if (doRead) {
3844
- debug9("do read");
3843
+ debug8("do read");
3845
3844
  state.reading = true;
3846
3845
  state.sync = true;
3847
3846
  if (state.length === 0) state.needReadable = true;
@@ -3881,14 +3880,14 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3881
3880
  var state = stream._readableState;
3882
3881
  state.needReadable = false;
3883
3882
  if (!state.emittedReadable) {
3884
- debug9("emitReadable", state.flowing);
3883
+ debug8("emitReadable", state.flowing);
3885
3884
  state.emittedReadable = true;
3886
3885
  if (state.sync) pna.nextTick(emitReadable_, stream);
3887
3886
  else emitReadable_(stream);
3888
3887
  }
3889
3888
  }
3890
3889
  function emitReadable_(stream) {
3891
- debug9("emit readable");
3890
+ debug8("emit readable");
3892
3891
  stream.emit("readable");
3893
3892
  flow(stream);
3894
3893
  }
@@ -3901,7 +3900,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3901
3900
  function maybeReadMore_(stream, state) {
3902
3901
  var len = state.length;
3903
3902
  while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {
3904
- debug9("maybeReadMore read 0");
3903
+ debug8("maybeReadMore read 0");
3905
3904
  stream.read(0);
3906
3905
  if (len === state.length)
3907
3906
  break;
@@ -3927,14 +3926,14 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3927
3926
  break;
3928
3927
  }
3929
3928
  state.pipesCount += 1;
3930
- debug9("pipe count=%d opts=%j", state.pipesCount, pipeOpts);
3929
+ debug8("pipe count=%d opts=%j", state.pipesCount, pipeOpts);
3931
3930
  var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;
3932
3931
  var endFn = doEnd ? onend : unpipe;
3933
3932
  if (state.endEmitted) pna.nextTick(endFn);
3934
3933
  else src.once("end", endFn);
3935
3934
  dest.on("unpipe", onunpipe);
3936
3935
  function onunpipe(readable, unpipeInfo) {
3937
- debug9("onunpipe");
3936
+ debug8("onunpipe");
3938
3937
  if (readable === src) {
3939
3938
  if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
3940
3939
  unpipeInfo.hasUnpiped = true;
@@ -3943,14 +3942,14 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3943
3942
  }
3944
3943
  }
3945
3944
  function onend() {
3946
- debug9("onend");
3945
+ debug8("onend");
3947
3946
  dest.end();
3948
3947
  }
3949
3948
  var ondrain = pipeOnDrain(src);
3950
3949
  dest.on("drain", ondrain);
3951
3950
  var cleanedUp = false;
3952
3951
  function cleanup() {
3953
- debug9("cleanup");
3952
+ debug8("cleanup");
3954
3953
  dest.removeListener("close", onclose);
3955
3954
  dest.removeListener("finish", onfinish);
3956
3955
  dest.removeListener("drain", ondrain);
@@ -3965,12 +3964,12 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3965
3964
  var increasedAwaitDrain = false;
3966
3965
  src.on("data", ondata);
3967
3966
  function ondata(chunk) {
3968
- debug9("ondata");
3967
+ debug8("ondata");
3969
3968
  increasedAwaitDrain = false;
3970
3969
  var ret = dest.write(chunk);
3971
3970
  if (false === ret && !increasedAwaitDrain) {
3972
3971
  if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
3973
- debug9("false write response, pause", src._readableState.awaitDrain);
3972
+ debug8("false write response, pause", src._readableState.awaitDrain);
3974
3973
  src._readableState.awaitDrain++;
3975
3974
  increasedAwaitDrain = true;
3976
3975
  }
@@ -3978,7 +3977,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3978
3977
  }
3979
3978
  }
3980
3979
  function onerror(er) {
3981
- debug9("onerror", er);
3980
+ debug8("onerror", er);
3982
3981
  unpipe();
3983
3982
  dest.removeListener("error", onerror);
3984
3983
  if (EElistenerCount(dest, "error") === 0) dest.emit("error", er);
@@ -3990,18 +3989,18 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3990
3989
  }
3991
3990
  dest.once("close", onclose);
3992
3991
  function onfinish() {
3993
- debug9("onfinish");
3992
+ debug8("onfinish");
3994
3993
  dest.removeListener("close", onclose);
3995
3994
  unpipe();
3996
3995
  }
3997
3996
  dest.once("finish", onfinish);
3998
3997
  function unpipe() {
3999
- debug9("unpipe");
3998
+ debug8("unpipe");
4000
3999
  src.unpipe(dest);
4001
4000
  }
4002
4001
  dest.emit("pipe", src);
4003
4002
  if (!state.flowing) {
4004
- debug9("pipe resume");
4003
+ debug8("pipe resume");
4005
4004
  src.resume();
4006
4005
  }
4007
4006
  return dest;
@@ -4009,7 +4008,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4009
4008
  function pipeOnDrain(src) {
4010
4009
  return function() {
4011
4010
  var state = src._readableState;
4012
- debug9("pipeOnDrain", state.awaitDrain);
4011
+ debug8("pipeOnDrain", state.awaitDrain);
4013
4012
  if (state.awaitDrain) state.awaitDrain--;
4014
4013
  if (state.awaitDrain === 0 && EElistenerCount(src, "data")) {
4015
4014
  state.flowing = true;
@@ -4069,13 +4068,13 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4069
4068
  };
4070
4069
  Readable.prototype.addListener = Readable.prototype.on;
4071
4070
  function nReadingNextTick(self2) {
4072
- debug9("readable nexttick read 0");
4071
+ debug8("readable nexttick read 0");
4073
4072
  self2.read(0);
4074
4073
  }
4075
4074
  Readable.prototype.resume = function() {
4076
4075
  var state = this._readableState;
4077
4076
  if (!state.flowing) {
4078
- debug9("resume");
4077
+ debug8("resume");
4079
4078
  state.flowing = true;
4080
4079
  resume(this, state);
4081
4080
  }
@@ -4089,7 +4088,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4089
4088
  }
4090
4089
  function resume_(stream, state) {
4091
4090
  if (!state.reading) {
4092
- debug9("resume read 0");
4091
+ debug8("resume read 0");
4093
4092
  stream.read(0);
4094
4093
  }
4095
4094
  state.resumeScheduled = false;
@@ -4099,9 +4098,9 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4099
4098
  if (state.flowing && !state.reading) stream.read(0);
4100
4099
  }
4101
4100
  Readable.prototype.pause = function() {
4102
- debug9("call pause flowing=%j", this._readableState.flowing);
4101
+ debug8("call pause flowing=%j", this._readableState.flowing);
4103
4102
  if (false !== this._readableState.flowing) {
4104
- debug9("pause");
4103
+ debug8("pause");
4105
4104
  this._readableState.flowing = false;
4106
4105
  this.emit("pause");
4107
4106
  }
@@ -4109,7 +4108,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4109
4108
  };
4110
4109
  function flow(stream) {
4111
4110
  var state = stream._readableState;
4112
- debug9("flow", state.flowing);
4111
+ debug8("flow", state.flowing);
4113
4112
  while (state.flowing && stream.read() !== null) {
4114
4113
  }
4115
4114
  }
@@ -4118,7 +4117,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4118
4117
  var state = this._readableState;
4119
4118
  var paused = false;
4120
4119
  stream.on("end", function() {
4121
- debug9("wrapped end");
4120
+ debug8("wrapped end");
4122
4121
  if (state.decoder && !state.ended) {
4123
4122
  var chunk = state.decoder.end();
4124
4123
  if (chunk && chunk.length) _this.push(chunk);
@@ -4126,7 +4125,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4126
4125
  _this.push(null);
4127
4126
  });
4128
4127
  stream.on("data", function(chunk) {
4129
- debug9("wrapped data");
4128
+ debug8("wrapped data");
4130
4129
  if (state.decoder) chunk = state.decoder.write(chunk);
4131
4130
  if (state.objectMode && (chunk === null || chunk === void 0)) return;
4132
4131
  else if (!state.objectMode && (!chunk || !chunk.length)) return;
@@ -4149,7 +4148,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
4149
4148
  stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));
4150
4149
  }
4151
4150
  this._read = function(n2) {
4152
- debug9("wrapped _read", n2);
4151
+ debug8("wrapped _read", n2);
4153
4152
  if (paused) {
4154
4153
  paused = false;
4155
4154
  stream.resume();
@@ -4276,7 +4275,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
4276
4275
  module2.exports = Transform;
4277
4276
  var Duplex = require_stream_duplex();
4278
4277
  var util = Object.create(require_util());
4279
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4278
+ util.inherits = (0, import_chunk_55RMSBQJ.require_inherits)();
4280
4279
  util.inherits(Transform, Duplex);
4281
4280
  function afterTransform(er, data) {
4282
4281
  var ts = this._transformState;
@@ -4374,7 +4373,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
4374
4373
  module2.exports = PassThrough;
4375
4374
  var Transform = require_stream_transform();
4376
4375
  var util = Object.create(require_util());
4377
- util.inherits = (0, import_chunk_RL3K4V2J.require_inherits)();
4376
+ util.inherits = (0, import_chunk_55RMSBQJ.require_inherits)();
4378
4377
  util.inherits(PassThrough, Transform);
4379
4378
  function PassThrough(options2) {
4380
4379
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
@@ -5660,7 +5659,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
5660
5659
  var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
5661
5660
  var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
5662
5661
  var errorOrDestroy = destroyImpl.errorOrDestroy;
5663
- (0, import_chunk_RL3K4V2J.require_inherits)()(Writable, Stream);
5662
+ (0, import_chunk_55RMSBQJ.require_inherits)()(Writable, Stream);
5664
5663
  function nop() {
5665
5664
  }
5666
5665
  function WritableState(options2, stream, isDuplex) {
@@ -6102,7 +6101,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6102
6101
  module2.exports = Duplex;
6103
6102
  var Readable = require_stream_readable2();
6104
6103
  var Writable = require_stream_writable2();
6105
- (0, import_chunk_RL3K4V2J.require_inherits)()(Duplex, Readable);
6104
+ (0, import_chunk_55RMSBQJ.require_inherits)()(Duplex, Readable);
6106
6105
  {
6107
6106
  keys = objectKeys(Writable.prototype);
6108
6107
  for (v = 0; v < keys.length; v++) {
@@ -6860,11 +6859,11 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6860
6859
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
6861
6860
  }
6862
6861
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
6863
- var debug9;
6862
+ var debug8;
6864
6863
  if (debugUtil && debugUtil.debuglog) {
6865
- debug9 = debugUtil.debuglog("stream");
6864
+ debug8 = debugUtil.debuglog("stream");
6866
6865
  } else {
6867
- debug9 = function debug10() {
6866
+ debug8 = function debug9() {
6868
6867
  };
6869
6868
  }
6870
6869
  var BufferList = require_buffer_list();
@@ -6879,7 +6878,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6879
6878
  var StringDecoder;
6880
6879
  var createReadableStreamAsyncIterator;
6881
6880
  var from;
6882
- (0, import_chunk_RL3K4V2J.require_inherits)()(Readable, Stream);
6881
+ (0, import_chunk_55RMSBQJ.require_inherits)()(Readable, Stream);
6883
6882
  var errorOrDestroy = destroyImpl.errorOrDestroy;
6884
6883
  var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
6885
6884
  function prependListener(emitter, event, fn) {
@@ -6979,7 +6978,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6979
6978
  return readableAddChunk(this, chunk, null, true, false);
6980
6979
  };
6981
6980
  function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
6982
- debug9("readableAddChunk", chunk);
6981
+ debug8("readableAddChunk", chunk);
6983
6982
  var state = stream._readableState;
6984
6983
  if (chunk === null) {
6985
6984
  state.reading = false;
@@ -7086,13 +7085,13 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7086
7085
  return state.length;
7087
7086
  }
7088
7087
  Readable.prototype.read = function(n) {
7089
- debug9("read", n);
7088
+ debug8("read", n);
7090
7089
  n = parseInt(n, 10);
7091
7090
  var state = this._readableState;
7092
7091
  var nOrig = n;
7093
7092
  if (n !== 0) state.emittedReadable = false;
7094
7093
  if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {
7095
- debug9("read: emitReadable", state.length, state.ended);
7094
+ debug8("read: emitReadable", state.length, state.ended);
7096
7095
  if (state.length === 0 && state.ended) endReadable(this);
7097
7096
  else emitReadable(this);
7098
7097
  return null;
@@ -7103,16 +7102,16 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7103
7102
  return null;
7104
7103
  }
7105
7104
  var doRead = state.needReadable;
7106
- debug9("need readable", doRead);
7105
+ debug8("need readable", doRead);
7107
7106
  if (state.length === 0 || state.length - n < state.highWaterMark) {
7108
7107
  doRead = true;
7109
- debug9("length less than watermark", doRead);
7108
+ debug8("length less than watermark", doRead);
7110
7109
  }
7111
7110
  if (state.ended || state.reading) {
7112
7111
  doRead = false;
7113
- debug9("reading or ended", doRead);
7112
+ debug8("reading or ended", doRead);
7114
7113
  } else if (doRead) {
7115
- debug9("do read");
7114
+ debug8("do read");
7116
7115
  state.reading = true;
7117
7116
  state.sync = true;
7118
7117
  if (state.length === 0) state.needReadable = true;
@@ -7138,7 +7137,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7138
7137
  return ret;
7139
7138
  };
7140
7139
  function onEofChunk(stream, state) {
7141
- debug9("onEofChunk");
7140
+ debug8("onEofChunk");
7142
7141
  if (state.ended) return;
7143
7142
  if (state.decoder) {
7144
7143
  var chunk = state.decoder.end();
@@ -7160,17 +7159,17 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7160
7159
  }
7161
7160
  function emitReadable(stream) {
7162
7161
  var state = stream._readableState;
7163
- debug9("emitReadable", state.needReadable, state.emittedReadable);
7162
+ debug8("emitReadable", state.needReadable, state.emittedReadable);
7164
7163
  state.needReadable = false;
7165
7164
  if (!state.emittedReadable) {
7166
- debug9("emitReadable", state.flowing);
7165
+ debug8("emitReadable", state.flowing);
7167
7166
  state.emittedReadable = true;
7168
7167
  process.nextTick(emitReadable_, stream);
7169
7168
  }
7170
7169
  }
7171
7170
  function emitReadable_(stream) {
7172
7171
  var state = stream._readableState;
7173
- debug9("emitReadable_", state.destroyed, state.length, state.ended);
7172
+ debug8("emitReadable_", state.destroyed, state.length, state.ended);
7174
7173
  if (!state.destroyed && (state.length || state.ended)) {
7175
7174
  stream.emit("readable");
7176
7175
  state.emittedReadable = false;
@@ -7187,7 +7186,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7187
7186
  function maybeReadMore_(stream, state) {
7188
7187
  while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {
7189
7188
  var len = state.length;
7190
- debug9("maybeReadMore read 0");
7189
+ debug8("maybeReadMore read 0");
7191
7190
  stream.read(0);
7192
7191
  if (len === state.length)
7193
7192
  break;
@@ -7212,14 +7211,14 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7212
7211
  break;
7213
7212
  }
7214
7213
  state.pipesCount += 1;
7215
- debug9("pipe count=%d opts=%j", state.pipesCount, pipeOpts);
7214
+ debug8("pipe count=%d opts=%j", state.pipesCount, pipeOpts);
7216
7215
  var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;
7217
7216
  var endFn = doEnd ? onend : unpipe;
7218
7217
  if (state.endEmitted) process.nextTick(endFn);
7219
7218
  else src.once("end", endFn);
7220
7219
  dest.on("unpipe", onunpipe);
7221
7220
  function onunpipe(readable, unpipeInfo) {
7222
- debug9("onunpipe");
7221
+ debug8("onunpipe");
7223
7222
  if (readable === src) {
7224
7223
  if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
7225
7224
  unpipeInfo.hasUnpiped = true;
@@ -7228,14 +7227,14 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7228
7227
  }
7229
7228
  }
7230
7229
  function onend() {
7231
- debug9("onend");
7230
+ debug8("onend");
7232
7231
  dest.end();
7233
7232
  }
7234
7233
  var ondrain = pipeOnDrain(src);
7235
7234
  dest.on("drain", ondrain);
7236
7235
  var cleanedUp = false;
7237
7236
  function cleanup() {
7238
- debug9("cleanup");
7237
+ debug8("cleanup");
7239
7238
  dest.removeListener("close", onclose);
7240
7239
  dest.removeListener("finish", onfinish);
7241
7240
  dest.removeListener("drain", ondrain);
@@ -7249,19 +7248,19 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7249
7248
  }
7250
7249
  src.on("data", ondata);
7251
7250
  function ondata(chunk) {
7252
- debug9("ondata");
7251
+ debug8("ondata");
7253
7252
  var ret = dest.write(chunk);
7254
- debug9("dest.write", ret);
7253
+ debug8("dest.write", ret);
7255
7254
  if (ret === false) {
7256
7255
  if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
7257
- debug9("false write response, pause", state.awaitDrain);
7256
+ debug8("false write response, pause", state.awaitDrain);
7258
7257
  state.awaitDrain++;
7259
7258
  }
7260
7259
  src.pause();
7261
7260
  }
7262
7261
  }
7263
7262
  function onerror(er) {
7264
- debug9("onerror", er);
7263
+ debug8("onerror", er);
7265
7264
  unpipe();
7266
7265
  dest.removeListener("error", onerror);
7267
7266
  if (EElistenerCount(dest, "error") === 0) errorOrDestroy(dest, er);
@@ -7273,18 +7272,18 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7273
7272
  }
7274
7273
  dest.once("close", onclose);
7275
7274
  function onfinish() {
7276
- debug9("onfinish");
7275
+ debug8("onfinish");
7277
7276
  dest.removeListener("close", onclose);
7278
7277
  unpipe();
7279
7278
  }
7280
7279
  dest.once("finish", onfinish);
7281
7280
  function unpipe() {
7282
- debug9("unpipe");
7281
+ debug8("unpipe");
7283
7282
  src.unpipe(dest);
7284
7283
  }
7285
7284
  dest.emit("pipe", src);
7286
7285
  if (!state.flowing) {
7287
- debug9("pipe resume");
7286
+ debug8("pipe resume");
7288
7287
  src.resume();
7289
7288
  }
7290
7289
  return dest;
@@ -7292,7 +7291,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7292
7291
  function pipeOnDrain(src) {
7293
7292
  return function pipeOnDrainFunctionResult() {
7294
7293
  var state = src._readableState;
7295
- debug9("pipeOnDrain", state.awaitDrain);
7294
+ debug8("pipeOnDrain", state.awaitDrain);
7296
7295
  if (state.awaitDrain) state.awaitDrain--;
7297
7296
  if (state.awaitDrain === 0 && EElistenerCount(src, "data")) {
7298
7297
  state.flowing = true;
@@ -7347,7 +7346,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7347
7346
  state.readableListening = state.needReadable = true;
7348
7347
  state.flowing = false;
7349
7348
  state.emittedReadable = false;
7350
- debug9("on readable", state.length, state.reading);
7349
+ debug8("on readable", state.length, state.reading);
7351
7350
  if (state.length) {
7352
7351
  emitReadable(this);
7353
7352
  } else if (!state.reading) {
@@ -7382,13 +7381,13 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7382
7381
  }
7383
7382
  }
7384
7383
  function nReadingNextTick(self2) {
7385
- debug9("readable nexttick read 0");
7384
+ debug8("readable nexttick read 0");
7386
7385
  self2.read(0);
7387
7386
  }
7388
7387
  Readable.prototype.resume = function() {
7389
7388
  var state = this._readableState;
7390
7389
  if (!state.flowing) {
7391
- debug9("resume");
7390
+ debug8("resume");
7392
7391
  state.flowing = !state.readableListening;
7393
7392
  resume(this, state);
7394
7393
  }
@@ -7402,7 +7401,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7402
7401
  }
7403
7402
  }
7404
7403
  function resume_(stream, state) {
7405
- debug9("resume", state.reading);
7404
+ debug8("resume", state.reading);
7406
7405
  if (!state.reading) {
7407
7406
  stream.read(0);
7408
7407
  }
@@ -7412,9 +7411,9 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7412
7411
  if (state.flowing && !state.reading) stream.read(0);
7413
7412
  }
7414
7413
  Readable.prototype.pause = function() {
7415
- debug9("call pause flowing=%j", this._readableState.flowing);
7414
+ debug8("call pause flowing=%j", this._readableState.flowing);
7416
7415
  if (this._readableState.flowing !== false) {
7417
- debug9("pause");
7416
+ debug8("pause");
7418
7417
  this._readableState.flowing = false;
7419
7418
  this.emit("pause");
7420
7419
  }
@@ -7423,7 +7422,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7423
7422
  };
7424
7423
  function flow(stream) {
7425
7424
  var state = stream._readableState;
7426
- debug9("flow", state.flowing);
7425
+ debug8("flow", state.flowing);
7427
7426
  while (state.flowing && stream.read() !== null) {
7428
7427
  ;
7429
7428
  }
@@ -7433,7 +7432,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7433
7432
  var state = this._readableState;
7434
7433
  var paused = false;
7435
7434
  stream.on("end", function() {
7436
- debug9("wrapped end");
7435
+ debug8("wrapped end");
7437
7436
  if (state.decoder && !state.ended) {
7438
7437
  var chunk = state.decoder.end();
7439
7438
  if (chunk && chunk.length) _this.push(chunk);
@@ -7441,7 +7440,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7441
7440
  _this.push(null);
7442
7441
  });
7443
7442
  stream.on("data", function(chunk) {
7444
- debug9("wrapped data");
7443
+ debug8("wrapped data");
7445
7444
  if (state.decoder) chunk = state.decoder.write(chunk);
7446
7445
  if (state.objectMode && (chunk === null || chunk === void 0)) return;
7447
7446
  else if (!state.objectMode && (!chunk || !chunk.length)) return;
@@ -7464,7 +7463,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7464
7463
  stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));
7465
7464
  }
7466
7465
  this._read = function(n2) {
7467
- debug9("wrapped _read", n2);
7466
+ debug8("wrapped _read", n2);
7468
7467
  if (paused) {
7469
7468
  paused = false;
7470
7469
  stream.resume();
@@ -7538,14 +7537,14 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7538
7537
  }
7539
7538
  function endReadable(stream) {
7540
7539
  var state = stream._readableState;
7541
- debug9("endReadable", state.endEmitted);
7540
+ debug8("endReadable", state.endEmitted);
7542
7541
  if (!state.endEmitted) {
7543
7542
  state.ended = true;
7544
7543
  process.nextTick(endReadableNT, state, stream);
7545
7544
  }
7546
7545
  }
7547
7546
  function endReadableNT(state, stream) {
7548
- debug9("endReadableNT", state.endEmitted, state.length);
7547
+ debug8("endReadableNT", state.endEmitted, state.length);
7549
7548
  if (!state.endEmitted && state.length === 0) {
7550
7549
  state.endEmitted = true;
7551
7550
  stream.readable = false;
@@ -7584,7 +7583,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7584
7583
  var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
7585
7584
  var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
7586
7585
  var Duplex = require_stream_duplex2();
7587
- (0, import_chunk_RL3K4V2J.require_inherits)()(Transform, Duplex);
7586
+ (0, import_chunk_55RMSBQJ.require_inherits)()(Transform, Duplex);
7588
7587
  function afterTransform(er, data) {
7589
7588
  var ts = this._transformState;
7590
7589
  ts.transforming = false;
@@ -7678,7 +7677,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7678
7677
  "use strict";
7679
7678
  module2.exports = PassThrough;
7680
7679
  var Transform = require_stream_transform2();
7681
- (0, import_chunk_RL3K4V2J.require_inherits)()(PassThrough, Transform);
7680
+ (0, import_chunk_55RMSBQJ.require_inherits)()(PassThrough, Transform);
7682
7681
  function PassThrough(options2) {
7683
7682
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
7684
7683
  Transform.call(this, options2);
@@ -8552,7 +8551,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
8552
8551
  var difference = require_difference();
8553
8552
  var union = require_union();
8554
8553
  var isPlainObject = require_isPlainObject();
8555
- var glob = (0, import_chunk_RL3K4V2J.require_glob)();
8554
+ var glob = (0, import_chunk_55RMSBQJ.require_glob)();
8556
8555
  var file = module2.exports = {};
8557
8556
  var pathSeparatorRe = /[\/\\]/g;
8558
8557
  var processPatterns = function(patterns, fn) {
@@ -13542,7 +13541,7 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
13542
13541
  var re$1 = { exports: {} };
13543
13542
  (function(module2, exports2) {
13544
13543
  const { MAX_SAFE_COMPONENT_LENGTH: MAX_SAFE_COMPONENT_LENGTH2, MAX_SAFE_BUILD_LENGTH: MAX_SAFE_BUILD_LENGTH2 } = constants;
13545
- const debug9 = debug_1;
13544
+ const debug8 = debug_1;
13546
13545
  exports2 = module2.exports = {};
13547
13546
  const re2 = exports2.re = [];
13548
13547
  const safeRe = exports2.safeRe = [];
@@ -13564,7 +13563,7 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
13564
13563
  const createToken = (name, value, isGlobal) => {
13565
13564
  const safe = makeSafeRegex(value);
13566
13565
  const index2 = R++;
13567
- debug9(name, index2, value);
13566
+ debug8(name, index2, value);
13568
13567
  t2[name] = index2;
13569
13568
  src[index2] = value;
13570
13569
  re2[index2] = new RegExp(value, isGlobal ? "g" : void 0);
@@ -14715,7 +14714,7 @@ var require_tmp = (0, import_chunk_WWAWV7DQ.__commonJS)({
14715
14714
  var import_find_up = (0, import_chunk_WWAWV7DQ.__toESM)(require_find_up());
14716
14715
  var readFile = (0, import_util.promisify)(import_fs3.default.readFile);
14717
14716
  var stat = (0, import_util.promisify)(import_fs3.default.stat);
14718
- var debug2 = (0, import_debug4.Debug)("prisma:getSchema");
14717
+ var debug2 = (0, import_debug3.Debug)("prisma:getSchema");
14719
14718
  async function getSchemaWithPath(schemaPathFromArgs, schemaPathFromConfig, { cwd = process.cwd(), argumentName = "--schema" } = {}) {
14720
14719
  const result = await getSchemaWithPathInternal(schemaPathFromArgs, schemaPathFromConfig, { cwd, argumentName });
14721
14720
  if (result.ok) {
@@ -14751,7 +14750,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14751
14750
  }
14752
14751
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14753
14752
  debug2("Loading config");
14754
- const config2 = await (0, import_chunk_CDINVCKQ.getConfig)({
14753
+ const config2 = await (0, import_chunk_IUF5QJH7.getConfig)({
14755
14754
  datamodel: files,
14756
14755
  ignoreEnvVarErrors: true
14757
14756
  });
@@ -14842,7 +14841,7 @@ function renderDefaultLookupError(error, cwd) {
14842
14841
  return parts.join("\n");
14843
14842
  }
14844
14843
  async function getPrismaConfigFromPackageJson(cwd) {
14845
- const pkgJson = await (0, import_chunk_RL3K4V2J.readPackageUp)({ cwd, normalize: false });
14844
+ const pkgJson = await (0, import_chunk_55RMSBQJ.readPackageUp)({ cwd, normalize: false });
14846
14845
  const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
14847
14846
  if (!pkgJson) {
14848
14847
  return null;
@@ -14985,7 +14984,7 @@ async function getSchema(schemaPathFromArgs, schemaPathFromConfig) {
14985
14984
  const schemaPathResult = await getSchemaWithPath(schemaPathFromArgs, schemaPathFromConfig);
14986
14985
  return schemaPathResult.schemas;
14987
14986
  }
14988
- var debug3 = (0, import_debug3.default)("prisma:loadEnv");
14987
+ var debug3 = (0, import_debug2.default)("prisma:loadEnv");
14989
14988
  async function getEnvPaths(schemaPath2, opts = { cwd: process.cwd() }) {
14990
14989
  const rootEnvPath = getProjectRootEnvPath({ cwd: opts.cwd }) ?? null;
14991
14990
  const schemaEnvPathFromArgs = schemaPathToEnvPath(schemaPath2);
@@ -15043,14 +15042,14 @@ function schemaPathToEnvPath(schemaPath2) {
15043
15042
  if (!schemaPath2) return null;
15044
15043
  return import_path.default.join(import_path.default.dirname(schemaPath2), ".env");
15045
15044
  }
15046
- var debug4 = (0, import_debug2.default)("prisma:cli:loadEnvFile");
15047
15045
  async function loadEnvFile({
15048
15046
  schemaPath: schemaPath2,
15049
15047
  config: config2,
15050
15048
  printMessage = false
15051
15049
  }) {
15052
15050
  if (config2.loadedFromFile) {
15053
- debug4(`Prisma config detected, skipping environment variable loading`);
15051
+ process.stdout.write(`Prisma config detected, skipping environment variable loading.
15052
+ `);
15054
15053
  return;
15055
15054
  }
15056
15055
  const envPaths2 = await getEnvPaths(schemaPath2);
@@ -15077,8 +15076,8 @@ async function checkUnsupportedDataProxyMessage(command, args, schemaPathFromCon
15077
15076
  if (argName.includes("schema")) {
15078
15077
  await loadEnvFile({ schemaPath: argValue, printMessage: false, config: (0, import_config.defaultTestConfig)() });
15079
15078
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
15080
- const config2 = await (0, import_chunk_CDINVCKQ.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15081
- const url = (0, import_chunk_CDINVCKQ.resolveUrl)((0, import_chunk_CDINVCKQ.getEffectiveUrl)(config2.datasources[0]));
15079
+ const config2 = await (0, import_chunk_IUF5QJH7.getConfig)({ datamodel, ignoreEnvVarErrors: true });
15080
+ const url = (0, import_chunk_IUF5QJH7.resolveUrl)((0, import_chunk_IUF5QJH7.getEffectiveUrl)(config2.datasources[0]));
15082
15081
  if (url?.startsWith("prisma://")) {
15083
15082
  return forbiddenCmdWithDataProxyFlagMessage(command);
15084
15083
  }
@@ -15100,15 +15099,15 @@ function getCLIPathHash() {
15100
15099
  const cliPath = process.argv[1];
15101
15100
  return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
15102
15101
  }
15103
- var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_RL3K4V2J.require_p_map)());
15104
- var debug5 = (0, import_debug7.default)("prisma:generator");
15102
+ var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_55RMSBQJ.require_p_map)());
15103
+ var debug4 = (0, import_debug6.default)("prisma:generator");
15105
15104
  async function checkTypeScriptVersion() {
15106
15105
  const minVersion = "4.1.0";
15107
15106
  try {
15108
15107
  const typescriptPath = await (0, import_chunk_YXD4CJDK.resolvePkg)("typescript", {
15109
15108
  basedir: process.cwd()
15110
15109
  });
15111
- debug5("typescriptPath", typescriptPath);
15110
+ debug4("typescriptPath", typescriptPath);
15112
15111
  const typescriptPkg = typescriptPath && import_path5.default.join(typescriptPath, "package.json");
15113
15112
  if (typescriptPkg && import_fs5.default.existsSync(typescriptPkg)) {
15114
15113
  const pjson = (0, import_chunk_WWAWV7DQ.__require)(typescriptPkg);
@@ -15126,14 +15125,14 @@ async function checkTypeScriptVersion() {
15126
15125
  } catch (e) {
15127
15126
  }
15128
15127
  }
15129
- var debug6 = (0, import_debug6.default)("prisma:generator");
15128
+ var debug5 = (0, import_debug5.default)("prisma:generator");
15130
15129
  async function prismaClientResolver(baseDir, version3) {
15131
15130
  let prismaClientDir = await (0, import_chunk_PIPE5DSU.findPrismaClientDir)(baseDir);
15132
- debug6("baseDir", baseDir);
15131
+ debug5("baseDir", baseDir);
15133
15132
  await checkTypeScriptVersion();
15134
15133
  if (!prismaClientDir && !process.env.PRISMA_GENERATE_SKIP_AUTOINSTALL) {
15135
15134
  let projectRoot = (0, import_chunk_J77ZIDXB.longestCommonPathPrefix)(baseDir, process.cwd());
15136
- debug6("projectRoot", projectRoot);
15135
+ debug5("projectRoot", projectRoot);
15137
15136
  const warningTag = `${(0, import_chunk_PG5FDKSF.bold)("Warning:")} ${(0, import_chunk_PG5FDKSF.dim)("[Prisma auto-install on generate]")}`;
15138
15137
  if (projectRoot === void 0) {
15139
15138
  console.warn(
@@ -15203,7 +15202,7 @@ Please try to install it with ${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk
15203
15202
  var generatorResolvers = {
15204
15203
  "prisma-client-js": prismaClientResolver
15205
15204
  };
15206
- var debug7 = (0, import_debug5.default)("prisma:getGenerators");
15205
+ var debug6 = (0, import_debug4.default)("prisma:getGenerators");
15207
15206
  async function getGenerators(options) {
15208
15207
  const {
15209
15208
  schemaPath,
@@ -15251,7 +15250,7 @@ async function getGenerators(options) {
15251
15250
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15252
15251
  }
15253
15252
  }
15254
- const config = await (0, import_chunk_CDINVCKQ.getConfig)({
15253
+ const config = await (0, import_chunk_IUF5QJH7.getConfig)({
15255
15254
  datamodel: schemas,
15256
15255
  datamodelPath: schemaPath,
15257
15256
  prismaPath,
@@ -15262,7 +15261,7 @@ async function getGenerators(options) {
15262
15261
  }
15263
15262
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15264
15263
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15265
- const dmmf = await (0, import_chunk_JWNXCXRT.getDMMF)({
15264
+ const dmmf = await (0, import_chunk_47CG4UTJ.getDMMF)({
15266
15265
  datamodel: schemas,
15267
15266
  datamodelPath: schemaPath,
15268
15267
  prismaPath,
@@ -15323,7 +15322,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15323
15322
  fromEnvVar: "null"
15324
15323
  };
15325
15324
  }
15326
- const datamodel = (0, import_chunk_3GP4HYUV.mergeSchemas)({ schemas });
15325
+ const datamodel = (0, import_chunk_GY2FKK7I.mergeSchemas)({ schemas });
15327
15326
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15328
15327
  const options2 = {
15329
15328
  datamodel,
@@ -15389,7 +15388,7 @@ generator gen {
15389
15388
  }
15390
15389
  }
15391
15390
  }
15392
- debug7("neededVersions", JSON.stringify(neededVersions, null, 2));
15391
+ debug6("neededVersions", JSON.stringify(neededVersions, null, 2));
15393
15392
  const binaryPathsByVersion = await (0, import_chunk_5XRQ7ONW.getBinaryPathsByVersion)({
15394
15393
  neededVersions,
15395
15394
  binaryTarget,
@@ -15403,19 +15402,19 @@ generator gen {
15403
15402
  const engineVersion = (0, import_chunk_X3P4J7WW.getEngineVersionForGenerator)(generator.manifest, version);
15404
15403
  const binaryPaths = binaryPathsByVersion[engineVersion];
15405
15404
  const generatorBinaryPaths = (0, import_chunk_5V36RLCO.pick)(binaryPaths, generator.manifest.requiresEngines);
15406
- debug7({ generatorBinaryPaths });
15405
+ debug6({ generatorBinaryPaths });
15407
15406
  generator.setBinaryPaths(generatorBinaryPaths);
15408
15407
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15409
- const customDmmf = await (0, import_chunk_JWNXCXRT.getDMMF)({
15408
+ const customDmmf = await (0, import_chunk_47CG4UTJ.getDMMF)({
15410
15409
  datamodel: schemas,
15411
15410
  datamodelPath: schemaPath,
15412
15411
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
15413
15412
  previewFeatures
15414
15413
  });
15415
15414
  const options2 = { ...generator.options, dmmf: customDmmf };
15416
- debug7("generator.manifest.prettyName", generator.manifest.prettyName);
15417
- debug7("options", options2);
15418
- debug7("options.generator.binaryTargets", options2.generator.binaryTargets);
15415
+ debug6("generator.manifest.prettyName", generator.manifest.prettyName);
15416
+ debug6("options", options2);
15417
+ debug6("options.generator.binaryTargets", options2.generator.binaryTargets);
15419
15418
  generator.setOptions(options2);
15420
15419
  }
15421
15420
  }
@@ -15638,7 +15637,7 @@ async function makeErrorZip(error) {
15638
15637
  });
15639
15638
  }
15640
15639
  async function handlePanic(args) {
15641
- if (!(0, import_chunk_EPJYKNCQ.canPrompt)()) {
15640
+ if (!(0, import_chunk_FCYHZHVW.canPrompt)()) {
15642
15641
  throw args.error;
15643
15642
  }
15644
15643
  await panicDialog(args);
@@ -15699,12 +15698,12 @@ ${(0, import_chunk_PG5FDKSF.bold)("Thanks a lot for your help! \u{1F64F}")}`);
15699
15698
  });
15700
15699
  process.exit(1);
15701
15700
  }
15702
- var debug8 = (0, import_debug.default)("prisma:format");
15701
+ var debug7 = (0, import_debug.default)("prisma:format");
15703
15702
  async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15704
15703
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15705
15704
  handleFormatPanic(
15706
15705
  () => {
15707
- import_chunk_MIB335S3.prismaSchemaWasm.debug_panic();
15706
+ import_chunk_HBUEEAGZ.prismaSchemaWasm.debug_panic();
15708
15707
  },
15709
15708
  { schemas: schemas2 }
15710
15709
  );
@@ -15724,12 +15723,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15724
15723
  () => {
15725
15724
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15726
15725
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15727
- const lintDiagnostics2 = (0, import_chunk_YELLD34H.lintSchema)({ schemas: formattedMultipleSchemas2 });
15726
+ const lintDiagnostics2 = (0, import_chunk_UFSV5APA.lintSchema)({ schemas: formattedMultipleSchemas2 });
15728
15727
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15729
15728
  },
15730
15729
  { schemas: schemas2 }
15731
15730
  );
15732
- const lintWarnings = (0, import_chunk_YELLD34H.getLintWarningsAsText)(lintDiagnostics);
15731
+ const lintWarnings = (0, import_chunk_UFSV5APA.getLintWarningsAsText)(lintDiagnostics);
15733
15732
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15734
15733
  console.warn(lintWarnings);
15735
15734
  }
@@ -15740,8 +15739,8 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15740
15739
  return tryCb();
15741
15740
  } catch (e) {
15742
15741
  const { message, stack } = (0, import_chunk_A4QWQE3W.getWasmError)(e);
15743
- debug8(`Error formatting schema: ${message}`);
15744
- debug8(stack);
15742
+ debug7(`Error formatting schema: ${message}`);
15743
+ debug7(stack);
15745
15744
  const panic = new import_chunk_A4QWQE3W.RustPanic(
15746
15745
  /* message */
15747
15746
  message,
@@ -15759,7 +15758,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15759
15758
  }
15760
15759
  }
15761
15760
  function formatWasm(schema, documentFormattingParams) {
15762
- const formattedSchema = import_chunk_MIB335S3.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15761
+ const formattedSchema = import_chunk_HBUEEAGZ.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15763
15762
  return formattedSchema;
15764
15763
  }
15765
15764
  /*! Bundled license information: