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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/{chunk-5TKUIA2N.js → chunk-3AQTHGVM.js} +15 -15
  2. package/dist/{chunk-KKMREGHN.js → chunk-53LS3WUO.js} +143 -94
  3. package/dist/{chunk-Z6DZL6LV.js → chunk-56V66JXS.js} +17 -9
  4. package/dist/{chunk-S3323RUL.js → chunk-5RV3EMX6.js} +9 -9
  5. package/dist/{chunk-CXEMRKV4.js → chunk-6TXVGFQA.js} +6 -6
  6. package/dist/{chunk-IF5LNELI.js → chunk-75IJA7S6.js} +58 -58
  7. package/dist/{chunk-QTXYAZFX.js → chunk-AC6EAR56.js} +5 -5
  8. package/dist/{chunk-CZDIXJEO.js → chunk-B2T5HDW7.js} +257 -11
  9. package/dist/{chunk-QRH3IW57.js → chunk-BIS5XAOV.js} +14 -14
  10. package/dist/{chunk-N6K7M2HZ.js → chunk-DZYINYAA.js} +5 -5
  11. package/dist/{chunk-F36IS4M5.js → chunk-FZSDRXR2.js} +14 -14
  12. package/dist/{chunk-TFSZCVKC.js → chunk-G4BGJ6IP.js} +5 -5
  13. package/dist/{chunk-UF22EKDO.js → chunk-GQNVQM3C.js} +16 -8
  14. package/dist/chunk-HB2Q7X5H.js +30 -0
  15. package/dist/{chunk-BOFY2TO3.js → chunk-I5BBGBRH.js} +14 -14
  16. package/dist/{chunk-2XRDQCIA.js → chunk-I7IEEULS.js} +5 -5
  17. package/dist/{chunk-EKBX4J6O.js → chunk-IWJ2BUYF.js} +7 -7
  18. package/dist/{chunk-PPCNLYSB.js → chunk-J7ZPY2XA.js} +4 -4
  19. package/dist/{chunk-6E73JK56.js → chunk-JV46WKBJ.js} +5 -5
  20. package/dist/{chunk-GR66UWCB.js → chunk-KGODEU5E.js} +13 -13
  21. package/dist/{chunk-X4U4GLWH.js → chunk-KRWS7JB4.js} +5 -4
  22. package/dist/{chunk-YXTH42CI.js → chunk-LKCSRT5B.js} +14 -14
  23. package/dist/{chunk-QJZIYUVB.js → chunk-NXIWDQBF.js} +4 -4
  24. package/dist/{chunk-3DMEILBC.js → chunk-OYLZC5OV.js} +13 -13
  25. package/dist/{chunk-4SR6BQUO.js → chunk-P2LUFNCY.js} +5 -5
  26. package/dist/{chunk-KEBDP2C3.js → chunk-PIPE5DSU.js} +6 -6
  27. package/dist/{chunk-WEPKBCTL.js → chunk-PLF3YUR5.js} +58 -58
  28. package/dist/{chunk-3372IJGL.js → chunk-PQPLHJES.js} +5 -5
  29. package/dist/{chunk-CKNTB45N.js → chunk-QSAE23KV.js} +8 -3
  30. package/dist/{chunk-P6VBFLWR.js → chunk-QVVSDACW.js} +5 -5
  31. package/dist/{chunk-7NDDRYBS.js → chunk-RZ2XUQZC.js} +5 -5
  32. package/dist/{chunk-UPIULDLZ.js → chunk-SHJNE6T7.js} +8 -8
  33. package/dist/{chunk-FL7RUKAY.js → chunk-TJLJR4G2.js} +5 -5
  34. package/dist/{chunk-5W4PVTZB.js → chunk-UHGUOEYM.js} +13 -13
  35. package/dist/{chunk-ANXKG4FL.js → chunk-UJC7ZJUH.js} +5 -5
  36. package/dist/{chunk-CAJZQGKK.js → chunk-UZ5PXJTV.js} +5 -5
  37. package/dist/{chunk-KBUXZLUK.js → chunk-VIYU7FPZ.js} +15 -15
  38. package/dist/{chunk-25RJ7YTB.js → chunk-XKZ6CBLA.js} +3 -3
  39. package/dist/{chunk-E3APO3ZG.js → chunk-Y3OWT3K2.js} +5 -5
  40. package/dist/{chunk-FEBTUSK5.js → chunk-YT2AGLAG.js} +5 -5
  41. package/dist/{chunk-FUUQ6FJ4.js → chunk-YXD4CJDK.js} +25 -17
  42. package/dist/cli/checkUnsupportedDataProxy.js +41 -40
  43. package/dist/cli/getGeneratorSuccessMessage.js +3 -3
  44. package/dist/cli/getSchema.js +46 -45
  45. package/dist/cli/getTypescriptVersion.js +2 -2
  46. package/dist/cli/hashes.js +41 -40
  47. package/dist/client/getClientEngineType.d.ts +2 -1
  48. package/dist/client/getClientEngineType.js +4 -4
  49. package/dist/convertCredentials.js +5 -4
  50. package/dist/engine-commands/errorHelpers.js +4 -4
  51. package/dist/engine-commands/formatSchema.js +40 -39
  52. package/dist/engine-commands/getConfig.js +12 -12
  53. package/dist/engine-commands/getDmmf.js +9 -9
  54. package/dist/engine-commands/getEngineVersion.js +8 -8
  55. package/dist/engine-commands/getEnginesMetaInfo.js +10 -10
  56. package/dist/engine-commands/index.js +51 -50
  57. package/dist/engine-commands/lintSchema.js +8 -8
  58. package/dist/engine-commands/mergeSchemas.js +9 -9
  59. package/dist/engine-commands/queryEngineCommons.js +6 -6
  60. package/dist/engine-commands/validate.js +9 -9
  61. package/dist/get-generators/generatorResolvers/generatorResolvers.js +40 -39
  62. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +3 -3
  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/resolve.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/getPackedPackage.js +4 -4
  68. package/dist/index.d.ts +1 -0
  69. package/dist/index.js +97 -93
  70. package/dist/resolveBinary.js +7 -7
  71. package/dist/schemaEngineCommands.js +8 -8
  72. package/dist/sendPanic.js +40 -39
  73. package/dist/utils/cloudflareD1.js +4 -4
  74. package/dist/utils/fs-functional.js +10 -10
  75. package/dist/utils/fs-utils.js +8 -8
  76. package/dist/utils/getEnvPaths.js +40 -39
  77. package/dist/utils/getGitHubIssueUrl.js +4 -4
  78. package/dist/utils/getVersionFromPackageJson.js +3 -3
  79. package/dist/utils/handleEngineLoadingErrors.js +3 -3
  80. package/dist/utils/handlePanic.js +40 -39
  81. package/dist/utils/load.js +4 -4
  82. package/dist/utils/loadEnvFile.js +40 -39
  83. package/dist/utils/prismaPostgres.d.ts +3 -0
  84. package/dist/utils/prismaPostgres.js +27 -0
  85. package/dist/utils/prismaPostgres.test.d.ts +1 -0
  86. package/dist/utils/prismaPostgres.test.js +15 -0
  87. package/dist/wasm.js +4 -4
  88. package/package.json +20 -12
  89. package/dist/chunk-BONFK27U.js +0 -47
  90. package/dist/typescript-AILDXN3I.js +0 -205230
  91. package/dist/typescript-WN4QH2CP.js +0 -205192
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_CZDIXJEO_exports = {};
30
- __export(chunk_CZDIXJEO_exports, {
29
+ var chunk_B2T5HDW7_exports = {};
30
+ __export(chunk_B2T5HDW7_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  readPackageUp: () => readPackageUp,
33
33
  require_glob: () => require_glob,
@@ -35,11 +35,11 @@ __export(chunk_CZDIXJEO_exports, {
35
35
  require_minimatch: () => require_minimatch,
36
36
  require_p_map: () => require_p_map
37
37
  });
38
- module.exports = __toCommonJS(chunk_CZDIXJEO_exports);
39
- var import_chunk_FUUQ6FJ4 = require("./chunk-FUUQ6FJ4.js");
38
+ module.exports = __toCommonJS(chunk_B2T5HDW7_exports);
39
+ var import_chunk_YXD4CJDK = require("./chunk-YXD4CJDK.js");
40
40
  var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
41
41
  var import_chunk_T5RACBRF = require("./chunk-T5RACBRF.js");
42
- var import_chunk_KKMREGHN = require("./chunk-KKMREGHN.js");
42
+ var import_chunk_53LS3WUO = require("./chunk-53LS3WUO.js");
43
43
  var import_chunk_4E7A3GDU = require("./chunk-4E7A3GDU.js");
44
44
  var import_chunk_TZCE3PWZ = require("./chunk-TZCE3PWZ.js");
45
45
  var import_chunk_H4J2FN2W = require("./chunk-H4J2FN2W.js");
@@ -5461,7 +5461,7 @@ var require_clean = (0, import_chunk_WWAWV7DQ.__commonJS)({
5461
5461
  }
5462
5462
  });
5463
5463
  var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5464
- "../../node_modules/.pnpm/spdx-license-ids@3.0.20/node_modules/spdx-license-ids/index.json"(exports, module2) {
5464
+ "../../node_modules/.pnpm/spdx-license-ids@3.0.21/node_modules/spdx-license-ids/index.json"(exports, module2) {
5465
5465
  module2.exports = [
5466
5466
  "0BSD",
5467
5467
  "3D-Slicer-1.0",
@@ -5553,6 +5553,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5553
5553
  "Bitstream-Vera",
5554
5554
  "BlueOak-1.0.0",
5555
5555
  "Boehm-GC",
5556
+ "Boehm-GC-without-fee",
5556
5557
  "Borceux",
5557
5558
  "Brian-Gladman-2-Clause",
5558
5559
  "Brian-Gladman-3-Clause",
@@ -5612,6 +5613,8 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5612
5613
  "CC-BY-SA-3.0-IGO",
5613
5614
  "CC-BY-SA-4.0",
5614
5615
  "CC-PDDC",
5616
+ "CC-PDM-1.0",
5617
+ "CC-SA-1.0",
5615
5618
  "CC0-1.0",
5616
5619
  "CDDL-1.0",
5617
5620
  "CDDL-1.1",
@@ -5662,6 +5665,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5662
5665
  "DRL-1.1",
5663
5666
  "DSDP",
5664
5667
  "DocBook-Schema",
5668
+ "DocBook-Stylesheet",
5665
5669
  "DocBook-XML",
5666
5670
  "Dotseqn",
5667
5671
  "ECL-1.0",
@@ -5769,6 +5773,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5769
5773
  "Imlib2",
5770
5774
  "Info-ZIP",
5771
5775
  "Inner-Net-2.0",
5776
+ "InnoSetup",
5772
5777
  "Intel",
5773
5778
  "Intel-ACPI",
5774
5779
  "Interbase-1.0",
@@ -5813,9 +5818,11 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5813
5818
  "Linux-man-pages-copyleft-2-para",
5814
5819
  "Linux-man-pages-copyleft-var",
5815
5820
  "Lucida-Bitmap-Fonts",
5821
+ "MIPS",
5816
5822
  "MIT",
5817
5823
  "MIT-0",
5818
5824
  "MIT-CMU",
5825
+ "MIT-Click",
5819
5826
  "MIT-Festival",
5820
5827
  "MIT-Khronos-old",
5821
5828
  "MIT-Modern-Variant",
@@ -5966,6 +5973,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5966
5973
  "SISSL",
5967
5974
  "SISSL-1.2",
5968
5975
  "SL",
5976
+ "SMAIL-GPL",
5969
5977
  "SMLNJ",
5970
5978
  "SMPPL",
5971
5979
  "SNIA",
@@ -5979,6 +5987,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
5979
5987
  "SchemeReport",
5980
5988
  "Sendmail",
5981
5989
  "Sendmail-8.23",
5990
+ "Sendmail-Open-Source-1.1",
5982
5991
  "SimPL-2.0",
5983
5992
  "Sleepycat",
5984
5993
  "Soundex",
@@ -6004,6 +6013,8 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
6004
6013
  "TU-Berlin-1.0",
6005
6014
  "TU-Berlin-2.0",
6006
6015
  "TermReadKey",
6016
+ "ThirdEye",
6017
+ "TrustedQSL",
6007
6018
  "UCAR",
6008
6019
  "UCL-1.0",
6009
6020
  "UMich-Merit",
@@ -6047,6 +6058,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
6047
6058
  "Zimbra-1.4",
6048
6059
  "Zlib",
6049
6060
  "any-OSI",
6061
+ "any-OSI-perl-modules",
6050
6062
  "bcrypt-Solar-Designer",
6051
6063
  "blessing",
6052
6064
  "bzip2-1.0.6",
@@ -6063,6 +6075,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
6063
6075
  "etalab-2.0",
6064
6076
  "fwlw",
6065
6077
  "gSOAP-1.3b",
6078
+ "generic-xts",
6066
6079
  "gnuplot",
6067
6080
  "gtkbook",
6068
6081
  "hdparm",
@@ -6091,6 +6104,7 @@ var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
6091
6104
  "threeparttable",
6092
6105
  "ulem",
6093
6106
  "w3m",
6107
+ "wwl",
6094
6108
  "xinetd",
6095
6109
  "xkeyboard-config-Zinoviev",
6096
6110
  "xlock",
@@ -8527,6 +8541,238 @@ var require_lib8 = (0, import_chunk_WWAWV7DQ.__commonJS)({
8527
8541
  module2.exports = GitHost;
8528
8542
  }
8529
8543
  });
8544
+ var require_hasown = (0, import_chunk_WWAWV7DQ.__commonJS)({
8545
+ "../../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module2) {
8546
+ "use strict";
8547
+ var call = Function.prototype.call;
8548
+ var $hasOwn = Object.prototype.hasOwnProperty;
8549
+ var bind = (0, import_chunk_YXD4CJDK.require_function_bind)();
8550
+ module2.exports = bind.call(call, $hasOwn);
8551
+ }
8552
+ });
8553
+ var require_core = (0, import_chunk_WWAWV7DQ.__commonJS)({
8554
+ "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/core.json"(exports, module2) {
8555
+ module2.exports = {
8556
+ assert: true,
8557
+ "node:assert": [">= 14.18 && < 15", ">= 16"],
8558
+ "assert/strict": ">= 15",
8559
+ "node:assert/strict": ">= 16",
8560
+ async_hooks: ">= 8",
8561
+ "node:async_hooks": [">= 14.18 && < 15", ">= 16"],
8562
+ buffer_ieee754: ">= 0.5 && < 0.9.7",
8563
+ buffer: true,
8564
+ "node:buffer": [">= 14.18 && < 15", ">= 16"],
8565
+ child_process: true,
8566
+ "node:child_process": [">= 14.18 && < 15", ">= 16"],
8567
+ cluster: ">= 0.5",
8568
+ "node:cluster": [">= 14.18 && < 15", ">= 16"],
8569
+ console: true,
8570
+ "node:console": [">= 14.18 && < 15", ">= 16"],
8571
+ constants: true,
8572
+ "node:constants": [">= 14.18 && < 15", ">= 16"],
8573
+ crypto: true,
8574
+ "node:crypto": [">= 14.18 && < 15", ">= 16"],
8575
+ _debug_agent: ">= 1 && < 8",
8576
+ _debugger: "< 8",
8577
+ dgram: true,
8578
+ "node:dgram": [">= 14.18 && < 15", ">= 16"],
8579
+ diagnostics_channel: [">= 14.17 && < 15", ">= 15.1"],
8580
+ "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"],
8581
+ dns: true,
8582
+ "node:dns": [">= 14.18 && < 15", ">= 16"],
8583
+ "dns/promises": ">= 15",
8584
+ "node:dns/promises": ">= 16",
8585
+ domain: ">= 0.7.12",
8586
+ "node:domain": [">= 14.18 && < 15", ">= 16"],
8587
+ events: true,
8588
+ "node:events": [">= 14.18 && < 15", ">= 16"],
8589
+ freelist: "< 6",
8590
+ fs: true,
8591
+ "node:fs": [">= 14.18 && < 15", ">= 16"],
8592
+ "fs/promises": [">= 10 && < 10.1", ">= 14"],
8593
+ "node:fs/promises": [">= 14.18 && < 15", ">= 16"],
8594
+ _http_agent: ">= 0.11.1",
8595
+ "node:_http_agent": [">= 14.18 && < 15", ">= 16"],
8596
+ _http_client: ">= 0.11.1",
8597
+ "node:_http_client": [">= 14.18 && < 15", ">= 16"],
8598
+ _http_common: ">= 0.11.1",
8599
+ "node:_http_common": [">= 14.18 && < 15", ">= 16"],
8600
+ _http_incoming: ">= 0.11.1",
8601
+ "node:_http_incoming": [">= 14.18 && < 15", ">= 16"],
8602
+ _http_outgoing: ">= 0.11.1",
8603
+ "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"],
8604
+ _http_server: ">= 0.11.1",
8605
+ "node:_http_server": [">= 14.18 && < 15", ">= 16"],
8606
+ http: true,
8607
+ "node:http": [">= 14.18 && < 15", ">= 16"],
8608
+ http2: ">= 8.8",
8609
+ "node:http2": [">= 14.18 && < 15", ">= 16"],
8610
+ https: true,
8611
+ "node:https": [">= 14.18 && < 15", ">= 16"],
8612
+ inspector: ">= 8",
8613
+ "node:inspector": [">= 14.18 && < 15", ">= 16"],
8614
+ "inspector/promises": [">= 19"],
8615
+ "node:inspector/promises": [">= 19"],
8616
+ _linklist: "< 8",
8617
+ module: true,
8618
+ "node:module": [">= 14.18 && < 15", ">= 16"],
8619
+ net: true,
8620
+ "node:net": [">= 14.18 && < 15", ">= 16"],
8621
+ "node-inspect/lib/_inspect": ">= 7.6 && < 12",
8622
+ "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
8623
+ "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
8624
+ os: true,
8625
+ "node:os": [">= 14.18 && < 15", ">= 16"],
8626
+ path: true,
8627
+ "node:path": [">= 14.18 && < 15", ">= 16"],
8628
+ "path/posix": ">= 15.3",
8629
+ "node:path/posix": ">= 16",
8630
+ "path/win32": ">= 15.3",
8631
+ "node:path/win32": ">= 16",
8632
+ perf_hooks: ">= 8.5",
8633
+ "node:perf_hooks": [">= 14.18 && < 15", ">= 16"],
8634
+ process: ">= 1",
8635
+ "node:process": [">= 14.18 && < 15", ">= 16"],
8636
+ punycode: ">= 0.5",
8637
+ "node:punycode": [">= 14.18 && < 15", ">= 16"],
8638
+ querystring: true,
8639
+ "node:querystring": [">= 14.18 && < 15", ">= 16"],
8640
+ readline: true,
8641
+ "node:readline": [">= 14.18 && < 15", ">= 16"],
8642
+ "readline/promises": ">= 17",
8643
+ "node:readline/promises": ">= 17",
8644
+ repl: true,
8645
+ "node:repl": [">= 14.18 && < 15", ">= 16"],
8646
+ smalloc: ">= 0.11.5 && < 3",
8647
+ _stream_duplex: ">= 0.9.4",
8648
+ "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
8649
+ _stream_transform: ">= 0.9.4",
8650
+ "node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
8651
+ _stream_wrap: ">= 1.4.1",
8652
+ "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
8653
+ _stream_passthrough: ">= 0.9.4",
8654
+ "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
8655
+ _stream_readable: ">= 0.9.4",
8656
+ "node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
8657
+ _stream_writable: ">= 0.9.4",
8658
+ "node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
8659
+ stream: true,
8660
+ "node:stream": [">= 14.18 && < 15", ">= 16"],
8661
+ "stream/consumers": ">= 16.7",
8662
+ "node:stream/consumers": ">= 16.7",
8663
+ "stream/promises": ">= 15",
8664
+ "node:stream/promises": ">= 16",
8665
+ "stream/web": ">= 16.5",
8666
+ "node:stream/web": ">= 16.5",
8667
+ string_decoder: true,
8668
+ "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
8669
+ sys: [">= 0.4 && < 0.7", ">= 0.8"],
8670
+ "node:sys": [">= 14.18 && < 15", ">= 16"],
8671
+ "test/reporters": ">= 19.9 && < 20.2",
8672
+ "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
8673
+ "node:test": [">= 16.17 && < 17", ">= 18"],
8674
+ timers: true,
8675
+ "node:timers": [">= 14.18 && < 15", ">= 16"],
8676
+ "timers/promises": ">= 15",
8677
+ "node:timers/promises": ">= 16",
8678
+ _tls_common: ">= 0.11.13",
8679
+ "node:_tls_common": [">= 14.18 && < 15", ">= 16"],
8680
+ _tls_legacy: ">= 0.11.3 && < 10",
8681
+ _tls_wrap: ">= 0.11.3",
8682
+ "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"],
8683
+ tls: true,
8684
+ "node:tls": [">= 14.18 && < 15", ">= 16"],
8685
+ trace_events: ">= 10",
8686
+ "node:trace_events": [">= 14.18 && < 15", ">= 16"],
8687
+ tty: true,
8688
+ "node:tty": [">= 14.18 && < 15", ">= 16"],
8689
+ url: true,
8690
+ "node:url": [">= 14.18 && < 15", ">= 16"],
8691
+ util: true,
8692
+ "node:util": [">= 14.18 && < 15", ">= 16"],
8693
+ "util/types": ">= 15.3",
8694
+ "node:util/types": ">= 16",
8695
+ "v8/tools/arguments": ">= 10 && < 12",
8696
+ "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8697
+ "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8698
+ "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8699
+ "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8700
+ "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8701
+ "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8702
+ v8: ">= 1",
8703
+ "node:v8": [">= 14.18 && < 15", ">= 16"],
8704
+ vm: true,
8705
+ "node:vm": [">= 14.18 && < 15", ">= 16"],
8706
+ wasi: [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"],
8707
+ "node:wasi": [">= 18.17 && < 19", ">= 20"],
8708
+ worker_threads: ">= 11.7",
8709
+ "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
8710
+ zlib: ">= 0.5",
8711
+ "node:zlib": [">= 14.18 && < 15", ">= 16"]
8712
+ };
8713
+ }
8714
+ });
8715
+ var require_is_core_module = (0, import_chunk_WWAWV7DQ.__commonJS)({
8716
+ "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/index.js"(exports, module2) {
8717
+ "use strict";
8718
+ var hasOwn = require_hasown();
8719
+ function specifierIncluded(current, specifier) {
8720
+ var nodeParts = current.split(".");
8721
+ var parts = specifier.split(" ");
8722
+ var op = parts.length > 1 ? parts[0] : "=";
8723
+ var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split(".");
8724
+ for (var i = 0; i < 3; ++i) {
8725
+ var cur = parseInt(nodeParts[i] || 0, 10);
8726
+ var ver = parseInt(versionParts[i] || 0, 10);
8727
+ if (cur === ver) {
8728
+ continue;
8729
+ }
8730
+ if (op === "<") {
8731
+ return cur < ver;
8732
+ }
8733
+ if (op === ">=") {
8734
+ return cur >= ver;
8735
+ }
8736
+ return false;
8737
+ }
8738
+ return op === ">=";
8739
+ }
8740
+ function matchesRange(current, range) {
8741
+ var specifiers = range.split(/ ?&& ?/);
8742
+ if (specifiers.length === 0) {
8743
+ return false;
8744
+ }
8745
+ for (var i = 0; i < specifiers.length; ++i) {
8746
+ if (!specifierIncluded(current, specifiers[i])) {
8747
+ return false;
8748
+ }
8749
+ }
8750
+ return true;
8751
+ }
8752
+ function versionIncluded(nodeVersion, specifierValue) {
8753
+ if (typeof specifierValue === "boolean") {
8754
+ return specifierValue;
8755
+ }
8756
+ var current = typeof nodeVersion === "undefined" ? process.versions && process.versions.node : nodeVersion;
8757
+ if (typeof current !== "string") {
8758
+ throw new TypeError(typeof nodeVersion === "undefined" ? "Unable to determine current node version" : "If provided, a valid node version is required");
8759
+ }
8760
+ if (specifierValue && typeof specifierValue === "object") {
8761
+ for (var i = 0; i < specifierValue.length; ++i) {
8762
+ if (matchesRange(current, specifierValue[i])) {
8763
+ return true;
8764
+ }
8765
+ }
8766
+ return false;
8767
+ }
8768
+ return matchesRange(current, specifierValue);
8769
+ }
8770
+ var data = require_core();
8771
+ module2.exports = function isCore(x, nodeVersion) {
8772
+ return hasOwn(data, x) && versionIncluded(nodeVersion, data[x]);
8773
+ };
8774
+ }
8775
+ });
8530
8776
  var require_extract_description = (0, import_chunk_WWAWV7DQ.__commonJS)({
8531
8777
  "../../node_modules/.pnpm/normalize-package-data@6.0.0/node_modules/normalize-package-data/lib/extract_description.js"(exports, module2) {
8532
8778
  "use strict";
@@ -8588,7 +8834,7 @@ var require_fixer = (0, import_chunk_WWAWV7DQ.__commonJS)({
8588
8834
  var cleanSemver = require_clean();
8589
8835
  var validateLicense = require_validate_npm_package_license();
8590
8836
  var hostedGitInfo = require_lib8();
8591
- var isBuiltinModule = (0, import_chunk_FUUQ6FJ4.require_is_core_module)();
8837
+ var isBuiltinModule = require_is_core_module();
8592
8838
  var depTypes = ["dependencies", "devDependencies", "optionalDependencies"];
8593
8839
  var extractDescription = require_extract_description();
8594
8840
  var url = (0, import_chunk_WWAWV7DQ.__require)("url");
@@ -11443,9 +11689,9 @@ var require_del = (0, import_chunk_WWAWV7DQ.__commonJS)({
11443
11689
  "use strict";
11444
11690
  var { promisify } = (0, import_chunk_WWAWV7DQ.__require)("util");
11445
11691
  var path5 = (0, import_chunk_WWAWV7DQ.__require)("path");
11446
- var globby = (0, import_chunk_KKMREGHN.require_globby)();
11447
- var isGlob = (0, import_chunk_KKMREGHN.require_is_glob)();
11448
- var slash = (0, import_chunk_KKMREGHN.require_slash)();
11692
+ var globby = (0, import_chunk_53LS3WUO.require_globby)();
11693
+ var isGlob = (0, import_chunk_53LS3WUO.require_is_glob)();
11694
+ var slash = (0, import_chunk_53LS3WUO.require_slash)();
11449
11695
  var gracefulFs = (0, import_chunk_H4J2FN2W.require_graceful_fs)();
11450
11696
  var isPathCwd = require_is_path_cwd();
11451
11697
  var isPathInside = require_is_path_inside();
@@ -11792,7 +12038,7 @@ function readPackageUpSync(options) {
11792
12038
  }
11793
12039
  var import_tempy = (0, import_chunk_WWAWV7DQ.__toESM)(require_tempy());
11794
12040
  async function getPackedPackage(name, target, packageDir) {
11795
- packageDir = packageDir || await (0, import_chunk_FUUQ6FJ4.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_FUUQ6FJ4.resolvePkg)(name, { basedir: target });
12041
+ packageDir = packageDir || await (0, import_chunk_YXD4CJDK.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_YXD4CJDK.resolvePkg)(name, { basedir: target });
11796
12042
  if (!packageDir) {
11797
12043
  const pkg = readPackageUpSync({
11798
12044
  cwd: target,
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_QRH3IW57_exports = {};
30
- __export(chunk_QRH3IW57_exports, {
29
+ var chunk_BIS5XAOV_exports = {};
30
+ __export(chunk_BIS5XAOV_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_QRH3IW57_exports);
34
+ module.exports = __toCommonJS(chunk_BIS5XAOV_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_CXEMRKV4 = require("./chunk-CXEMRKV4.js");
37
- var import_chunk_CAJZQGKK = require("./chunk-CAJZQGKK.js");
36
+ var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
+ var import_chunk_JV46WKBJ = require("./chunk-JV46WKBJ.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
- var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
40
- var import_chunk_7NDDRYBS = require("./chunk-7NDDRYBS.js");
39
+ var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
+ var import_chunk_P2LUFNCY = require("./chunk-P2LUFNCY.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -48,7 +48,7 @@ var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_PFLLVW
48
48
  var debug = (0, import_debug.default)("prisma:getDMMF");
49
49
  var GetDmmfError = class extends Error {
50
50
  constructor(params) {
51
- const constructedErrorMessage = (0, import_chunk_25RJ7YTB.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
+ const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
52
52
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
53
53
  return `${reason}
54
54
  ${errorCodeMessage}
@@ -60,12 +60,12 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_CAJZQGKK.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_JV46WKBJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
67
67
  async function getDMMF(options) {
68
- const debugErrorType = (0, import_chunk_CXEMRKV4.createDebugErrorType)(debug, "getDmmfWasm");
68
+ const debugErrorType = (0, import_chunk_6TXVGFQA.createDebugErrorType)(debug, "getDmmfWasm");
69
69
  debug(`Using getDmmf Wasm`);
70
70
  const dmmfPipeline = (0, import_function.pipe)(
71
71
  (0, import_chunk_7MD6344A.tryCatch2)(
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_7NDDRYBS.prismaSchemaWasm.debug_panic();
93
+ import_chunk_P2LUFNCY.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_7NDDRYBS.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_P2LUFNCY.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -129,7 +129,7 @@ async function getDMMF(options) {
129
129
  const { right: data } = dmmfEither;
130
130
  return Promise.resolve(data);
131
131
  }
132
- const error = (0, import_chunk_25RJ7YTB.z)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
132
+ const error = (0, import_chunk_XKZ6CBLA.z)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
133
133
  debugErrorType(e);
134
134
  return new GetDmmfError({
135
135
  _tag: "unparsed",
@@ -157,7 +157,7 @@ Datamodel path: "${e.datamodelPath}"`,
157
157
  return panic;
158
158
  }
159
159
  const errorOutput = e.error.message;
160
- return new GetDmmfError((0, import_chunk_CXEMRKV4.parseQueryEngineError)({ errorOutput, reason: e.reason }));
160
+ return new GetDmmfError((0, import_chunk_6TXVGFQA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
161
161
  }).with({ type: "parse-json" }, (e) => {
162
162
  debugErrorType(e);
163
163
  return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_N6K7M2HZ_exports = {};
20
- __export(chunk_N6K7M2HZ_exports, {
19
+ var chunk_DZYINYAA_exports = {};
20
+ __export(chunk_DZYINYAA_exports, {
21
21
  handleLibraryLoadingErrors: () => handleLibraryLoadingErrors
22
22
  });
23
- module.exports = __toCommonJS(chunk_N6K7M2HZ_exports);
24
- var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
23
+ module.exports = __toCommonJS(chunk_DZYINYAA_exports);
24
+ var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
25
25
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
26
26
  var import_get_platform = require("@prisma/get-platform");
27
27
  function handleLibraryLoadingErrors(args) {
@@ -32,7 +32,7 @@ function handleLibraryLoadingErrors(args) {
32
32
  "https://pris.ly/d/system-requirements"
33
33
  )}`;
34
34
  const errorTitle = `Unable to require(\`${(0, import_chunk_PG5FDKSF.dim)(args.id)}\`).`;
35
- const potentialReasonMessage = (0, import_chunk_25RJ7YTB.z)({ message: error.message, code: error.code }).with({ code: "ENOENT" }, () => `File does not exist.`).when(
35
+ const potentialReasonMessage = (0, import_chunk_XKZ6CBLA.z)({ message: error.message, code: error.code }).with({ code: "ENOENT" }, () => `File does not exist.`).when(
36
36
  ({ message }) => hasLinkingProblem && message.includes("libz"),
37
37
  () => {
38
38
  return `${systemLibraryNotFound("libz")}. Please install it and try again.`;
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_F36IS4M5_exports = {};
30
- __export(chunk_F36IS4M5_exports, {
29
+ var chunk_FZSDRXR2_exports = {};
30
+ __export(chunk_FZSDRXR2_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_F36IS4M5_exports);
34
+ module.exports = __toCommonJS(chunk_FZSDRXR2_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
- var import_chunk_CXEMRKV4 = require("./chunk-CXEMRKV4.js");
37
- var import_chunk_6E73JK56 = require("./chunk-6E73JK56.js");
36
+ var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
+ var import_chunk_UZ5PXJTV = require("./chunk-UZ5PXJTV.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
- var import_chunk_25RJ7YTB = require("./chunk-25RJ7YTB.js");
40
- var import_chunk_4SR6BQUO = require("./chunk-4SR6BQUO.js");
39
+ var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
+ var import_chunk_RZ2XUQZC = require("./chunk-RZ2XUQZC.js");
41
41
  var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -48,7 +48,7 @@ var import_function = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_PFLLVW
48
48
  var debug = (0, import_debug.default)("prisma:getDMMF");
49
49
  var GetDmmfError = class extends Error {
50
50
  constructor(params) {
51
- const constructedErrorMessage = (0, import_chunk_25RJ7YTB.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
51
+ const constructedErrorMessage = (0, import_chunk_XKZ6CBLA.z)(params).with({ _tag: "parsed" }, ({ errorCode, message, reason }) => {
52
52
  const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
53
53
  return `${reason}
54
54
  ${errorCodeMessage}
@@ -60,12 +60,12 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_6E73JK56.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_UZ5PXJTV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
67
67
  async function getDMMF(options) {
68
- const debugErrorType = (0, import_chunk_CXEMRKV4.createDebugErrorType)(debug, "getDmmfWasm");
68
+ const debugErrorType = (0, import_chunk_6TXVGFQA.createDebugErrorType)(debug, "getDmmfWasm");
69
69
  debug(`Using getDmmf Wasm`);
70
70
  const dmmfPipeline = (0, import_function.pipe)(
71
71
  (0, import_chunk_7MD6344A.tryCatch2)(
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_4SR6BQUO.prismaSchemaWasm.debug_panic();
93
+ import_chunk_RZ2XUQZC.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_4SR6BQUO.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_RZ2XUQZC.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -129,7 +129,7 @@ async function getDMMF(options) {
129
129
  const { right: data } = dmmfEither;
130
130
  return Promise.resolve(data);
131
131
  }
132
- const error = (0, import_chunk_25RJ7YTB.z)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
132
+ const error = (0, import_chunk_XKZ6CBLA.z)(dmmfEither.left).with({ type: "read-datamodel-path" }, (e) => {
133
133
  debugErrorType(e);
134
134
  return new GetDmmfError({
135
135
  _tag: "unparsed",
@@ -157,7 +157,7 @@ Datamodel path: "${e.datamodelPath}"`,
157
157
  return panic;
158
158
  }
159
159
  const errorOutput = e.error.message;
160
- return new GetDmmfError((0, import_chunk_CXEMRKV4.parseQueryEngineError)({ errorOutput, reason: e.reason }));
160
+ return new GetDmmfError((0, import_chunk_6TXVGFQA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
161
161
  }).with({ type: "parse-json" }, (e) => {
162
162
  debugErrorType(e);
163
163
  return new GetDmmfError({ _tag: "unparsed", message: e.error.message, reason: e.reason });
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_TFSZCVKC_exports = {};
20
- __export(chunk_TFSZCVKC_exports, {
19
+ var chunk_G4BGJ6IP_exports = {};
20
+ __export(chunk_G4BGJ6IP_exports, {
21
21
  SchemaEngineExitCode: () => SchemaEngineExitCode,
22
22
  canConnectToDatabase: () => canConnectToDatabase,
23
23
  createDatabase: () => createDatabase,
24
24
  dropDatabase: () => dropDatabase,
25
25
  execaCommand: () => execaCommand
26
26
  });
27
- module.exports = __toCommonJS(chunk_TFSZCVKC_exports);
27
+ module.exports = __toCommonJS(chunk_G4BGJ6IP_exports);
28
28
  var import_chunk_7XNZDY2V = require("./chunk-7XNZDY2V.js");
29
- var import_chunk_QJZIYUVB = require("./chunk-QJZIYUVB.js");
29
+ var import_chunk_NXIWDQBF = require("./chunk-NXIWDQBF.js");
30
30
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
31
31
  var import_fetch_engine = require("@prisma/fetch-engine");
32
32
  var import_execa = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_7XNZDY2V.require_execa)());
@@ -141,7 +141,7 @@ async function execaCommand({
141
141
  schemaEnginePath,
142
142
  engineCommandName
143
143
  }) {
144
- schemaEnginePath = schemaEnginePath || await (0, import_chunk_QJZIYUVB.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
144
+ schemaEnginePath = schemaEnginePath || await (0, import_chunk_NXIWDQBF.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
145
145
  try {
146
146
  return await (0, import_execa.default)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
147
147
  cwd,