@prisma/internals 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.3 → 6.6.0-integration-push-xmzqvqxpztks.9

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 (80) hide show
  1. package/dist/Generator.d.ts +23 -5
  2. package/dist/Generator.js +4 -2
  3. package/dist/{chunk-TV34NMBZ.js → chunk-2H6XXXKO.js} +15 -12
  4. package/dist/{chunk-N4XUH3VC.js → chunk-2UZFJUNN.js} +5 -6
  5. package/dist/{chunk-XQSHUIJ5.js → chunk-3BVB3DTJ.js} +8 -8
  6. package/dist/{chunk-HX2VLZFY.js → chunk-57TAND3C.js} +111 -287
  7. package/dist/{chunk-LHESHKC2.js → chunk-57VS7LXW.js} +5 -5
  8. package/dist/{chunk-VVPSLVOR.js → chunk-67I7CEQJ.js} +6 -7
  9. package/dist/{chunk-MWJN65OB.js → chunk-7UNYBZSU.js} +7 -7
  10. package/dist/{chunk-5IAGIQ5I.js → chunk-AO5ASZAS.js} +8 -8
  11. package/dist/{chunk-VYWUZ7RB.js → chunk-B2FA6NFQ.js} +5 -5
  12. package/dist/{chunk-DYVL6P7F.js → chunk-BPDMLM32.js} +46 -13
  13. package/dist/{chunk-UUO6X4LC.js → chunk-BWYO73FG.js} +8 -8
  14. package/dist/{chunk-6727N6PT.js → chunk-CTAL72US.js} +5 -5
  15. package/dist/{chunk-GI3F44TM.js → chunk-D6EDE5WT.js} +5 -5
  16. package/dist/{chunk-ABTIXQDX.js → chunk-EFNTOXMV.js} +4 -5
  17. package/dist/{chunk-75AJJ2SV.js → chunk-MIC43BOZ.js} +5 -5
  18. package/dist/{chunk-K5W6WZ6E.js → chunk-MJIP3FY5.js} +6 -238
  19. package/dist/{chunk-BTWAF3S4.js → chunk-MSOLVYP7.js} +7 -7
  20. package/dist/{chunk-TKUGTIBG.js → chunk-RB2BVNBD.js} +5 -5
  21. package/dist/{chunk-LLOWNQI4.js → chunk-RRCCSZ7D.js} +8 -8
  22. package/dist/{chunk-GIOVJ5SL.js → chunk-TD67MK6Y.js} +8 -8
  23. package/dist/{chunk-PQE76XRR.js → chunk-X3O2LTPO.js} +5 -5
  24. package/dist/{chunk-VAVGLPCV.js → chunk-XG33Y5QX.js} +111 -287
  25. package/dist/{chunk-XKIMYV5V.js → chunk-Y4ZCEXKJ.js} +5 -5
  26. package/dist/{chunk-MSQTODVE.js → chunk-Z2ISC3HD.js} +8 -8
  27. package/dist/cli/checkUnsupportedDataProxy.js +23 -29
  28. package/dist/cli/directoryConfig.d.ts +1 -1
  29. package/dist/cli/directoryConfig.js +2 -2
  30. package/dist/cli/getSchema.d.ts +3 -28
  31. package/dist/cli/getSchema.js +26 -33
  32. package/dist/cli/hashes.d.ts +1 -2
  33. package/dist/cli/hashes.js +23 -29
  34. package/dist/cli/schemaContext.d.ts +4 -3
  35. package/dist/cli/schemaContext.js +23 -29
  36. package/dist/engine-commands/errorHelpers.js +4 -4
  37. package/dist/engine-commands/formatSchema.js +22 -28
  38. package/dist/engine-commands/getConfig.js +10 -10
  39. package/dist/engine-commands/getDmmf.js +7 -7
  40. package/dist/engine-commands/index.js +31 -37
  41. package/dist/engine-commands/lintSchema.js +8 -8
  42. package/dist/engine-commands/mergeSchemas.js +7 -7
  43. package/dist/engine-commands/validate.js +7 -7
  44. package/dist/get-generators/getGenerators.d.ts +18 -9
  45. package/dist/get-generators/getGenerators.js +25 -31
  46. package/dist/getPackedPackage.js +3 -3
  47. package/dist/index.d.ts +3 -5
  48. package/dist/index.js +53 -60
  49. package/dist/resolvePkg.d.ts +7 -0
  50. package/dist/{get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js → resolvePkg.js} +6 -6
  51. package/dist/utils/getEnvPaths.js +22 -28
  52. package/dist/utils/getVersionFromPackageJson.js +3 -3
  53. package/dist/utils/loadEnvFile.js +22 -28
  54. package/dist/wasm.js +4 -4
  55. package/package.json +11 -12
  56. package/dist/chunk-72UZXEBG.js +0 -28
  57. package/dist/chunk-BWGDP6B5.js +0 -4948
  58. package/dist/chunk-EUTJYQDW.js +0 -46
  59. package/dist/chunk-EWWOTVR3.js +0 -52
  60. package/dist/chunk-GHHABGYW.js +0 -28
  61. package/dist/chunk-QGJH4P4N.js +0 -35
  62. package/dist/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
  63. package/dist/get-generators/generatorResolvers/generatorResolvers.js +0 -138
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +0 -26
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +0 -26
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +0 -29
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +0 -138
  72. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  73. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +0 -26
  74. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
  75. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +0 -26
  76. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
  77. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.d.ts +0 -1
  78. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +0 -17
  79. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
  80. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +0 -139
@@ -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_K5W6WZ6E_exports = {};
30
- __export(chunk_K5W6WZ6E_exports, {
29
+ var chunk_MJIP3FY5_exports = {};
30
+ __export(chunk_MJIP3FY5_exports, {
31
31
  getPackedPackage: () => getPackedPackage,
32
32
  readPackageUp: () => readPackageUp,
33
33
  require_p_map: () => require_p_map,
34
34
  toPath: () => toPath2
35
35
  });
36
- module.exports = __toCommonJS(chunk_K5W6WZ6E_exports);
37
- var import_chunk_VVPSLVOR = require("./chunk-VVPSLVOR.js");
36
+ module.exports = __toCommonJS(chunk_MJIP3FY5_exports);
38
37
  var import_chunk_KDP6C3CB = require("./chunk-KDP6C3CB.js");
39
38
  var import_chunk_UZTXEBTM = require("./chunk-UZTXEBTM.js");
40
39
  var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
40
+ var import_chunk_67I7CEQJ = require("./chunk-67I7CEQJ.js");
41
41
  var import_chunk_MM4ARWWY = require("./chunk-MM4ARWWY.js");
42
42
  var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
43
43
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
@@ -8633,238 +8633,6 @@ var require_lib8 = (0, import_chunk_4VNS5WPM.__commonJS)({
8633
8633
  module2.exports = GitHost;
8634
8634
  }
8635
8635
  });
8636
- var require_hasown = (0, import_chunk_4VNS5WPM.__commonJS)({
8637
- "../../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module2) {
8638
- "use strict";
8639
- var call = Function.prototype.call;
8640
- var $hasOwn = Object.prototype.hasOwnProperty;
8641
- var bind = (0, import_chunk_VVPSLVOR.require_function_bind)();
8642
- module2.exports = bind.call(call, $hasOwn);
8643
- }
8644
- });
8645
- var require_core = (0, import_chunk_4VNS5WPM.__commonJS)({
8646
- "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/core.json"(exports, module2) {
8647
- module2.exports = {
8648
- assert: true,
8649
- "node:assert": [">= 14.18 && < 15", ">= 16"],
8650
- "assert/strict": ">= 15",
8651
- "node:assert/strict": ">= 16",
8652
- async_hooks: ">= 8",
8653
- "node:async_hooks": [">= 14.18 && < 15", ">= 16"],
8654
- buffer_ieee754: ">= 0.5 && < 0.9.7",
8655
- buffer: true,
8656
- "node:buffer": [">= 14.18 && < 15", ">= 16"],
8657
- child_process: true,
8658
- "node:child_process": [">= 14.18 && < 15", ">= 16"],
8659
- cluster: ">= 0.5",
8660
- "node:cluster": [">= 14.18 && < 15", ">= 16"],
8661
- console: true,
8662
- "node:console": [">= 14.18 && < 15", ">= 16"],
8663
- constants: true,
8664
- "node:constants": [">= 14.18 && < 15", ">= 16"],
8665
- crypto: true,
8666
- "node:crypto": [">= 14.18 && < 15", ">= 16"],
8667
- _debug_agent: ">= 1 && < 8",
8668
- _debugger: "< 8",
8669
- dgram: true,
8670
- "node:dgram": [">= 14.18 && < 15", ">= 16"],
8671
- diagnostics_channel: [">= 14.17 && < 15", ">= 15.1"],
8672
- "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"],
8673
- dns: true,
8674
- "node:dns": [">= 14.18 && < 15", ">= 16"],
8675
- "dns/promises": ">= 15",
8676
- "node:dns/promises": ">= 16",
8677
- domain: ">= 0.7.12",
8678
- "node:domain": [">= 14.18 && < 15", ">= 16"],
8679
- events: true,
8680
- "node:events": [">= 14.18 && < 15", ">= 16"],
8681
- freelist: "< 6",
8682
- fs: true,
8683
- "node:fs": [">= 14.18 && < 15", ">= 16"],
8684
- "fs/promises": [">= 10 && < 10.1", ">= 14"],
8685
- "node:fs/promises": [">= 14.18 && < 15", ">= 16"],
8686
- _http_agent: ">= 0.11.1",
8687
- "node:_http_agent": [">= 14.18 && < 15", ">= 16"],
8688
- _http_client: ">= 0.11.1",
8689
- "node:_http_client": [">= 14.18 && < 15", ">= 16"],
8690
- _http_common: ">= 0.11.1",
8691
- "node:_http_common": [">= 14.18 && < 15", ">= 16"],
8692
- _http_incoming: ">= 0.11.1",
8693
- "node:_http_incoming": [">= 14.18 && < 15", ">= 16"],
8694
- _http_outgoing: ">= 0.11.1",
8695
- "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"],
8696
- _http_server: ">= 0.11.1",
8697
- "node:_http_server": [">= 14.18 && < 15", ">= 16"],
8698
- http: true,
8699
- "node:http": [">= 14.18 && < 15", ">= 16"],
8700
- http2: ">= 8.8",
8701
- "node:http2": [">= 14.18 && < 15", ">= 16"],
8702
- https: true,
8703
- "node:https": [">= 14.18 && < 15", ">= 16"],
8704
- inspector: ">= 8",
8705
- "node:inspector": [">= 14.18 && < 15", ">= 16"],
8706
- "inspector/promises": [">= 19"],
8707
- "node:inspector/promises": [">= 19"],
8708
- _linklist: "< 8",
8709
- module: true,
8710
- "node:module": [">= 14.18 && < 15", ">= 16"],
8711
- net: true,
8712
- "node:net": [">= 14.18 && < 15", ">= 16"],
8713
- "node-inspect/lib/_inspect": ">= 7.6 && < 12",
8714
- "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
8715
- "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
8716
- os: true,
8717
- "node:os": [">= 14.18 && < 15", ">= 16"],
8718
- path: true,
8719
- "node:path": [">= 14.18 && < 15", ">= 16"],
8720
- "path/posix": ">= 15.3",
8721
- "node:path/posix": ">= 16",
8722
- "path/win32": ">= 15.3",
8723
- "node:path/win32": ">= 16",
8724
- perf_hooks: ">= 8.5",
8725
- "node:perf_hooks": [">= 14.18 && < 15", ">= 16"],
8726
- process: ">= 1",
8727
- "node:process": [">= 14.18 && < 15", ">= 16"],
8728
- punycode: ">= 0.5",
8729
- "node:punycode": [">= 14.18 && < 15", ">= 16"],
8730
- querystring: true,
8731
- "node:querystring": [">= 14.18 && < 15", ">= 16"],
8732
- readline: true,
8733
- "node:readline": [">= 14.18 && < 15", ">= 16"],
8734
- "readline/promises": ">= 17",
8735
- "node:readline/promises": ">= 17",
8736
- repl: true,
8737
- "node:repl": [">= 14.18 && < 15", ">= 16"],
8738
- smalloc: ">= 0.11.5 && < 3",
8739
- _stream_duplex: ">= 0.9.4",
8740
- "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
8741
- _stream_transform: ">= 0.9.4",
8742
- "node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
8743
- _stream_wrap: ">= 1.4.1",
8744
- "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
8745
- _stream_passthrough: ">= 0.9.4",
8746
- "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
8747
- _stream_readable: ">= 0.9.4",
8748
- "node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
8749
- _stream_writable: ">= 0.9.4",
8750
- "node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
8751
- stream: true,
8752
- "node:stream": [">= 14.18 && < 15", ">= 16"],
8753
- "stream/consumers": ">= 16.7",
8754
- "node:stream/consumers": ">= 16.7",
8755
- "stream/promises": ">= 15",
8756
- "node:stream/promises": ">= 16",
8757
- "stream/web": ">= 16.5",
8758
- "node:stream/web": ">= 16.5",
8759
- string_decoder: true,
8760
- "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
8761
- sys: [">= 0.4 && < 0.7", ">= 0.8"],
8762
- "node:sys": [">= 14.18 && < 15", ">= 16"],
8763
- "test/reporters": ">= 19.9 && < 20.2",
8764
- "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
8765
- "node:test": [">= 16.17 && < 17", ">= 18"],
8766
- timers: true,
8767
- "node:timers": [">= 14.18 && < 15", ">= 16"],
8768
- "timers/promises": ">= 15",
8769
- "node:timers/promises": ">= 16",
8770
- _tls_common: ">= 0.11.13",
8771
- "node:_tls_common": [">= 14.18 && < 15", ">= 16"],
8772
- _tls_legacy: ">= 0.11.3 && < 10",
8773
- _tls_wrap: ">= 0.11.3",
8774
- "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"],
8775
- tls: true,
8776
- "node:tls": [">= 14.18 && < 15", ">= 16"],
8777
- trace_events: ">= 10",
8778
- "node:trace_events": [">= 14.18 && < 15", ">= 16"],
8779
- tty: true,
8780
- "node:tty": [">= 14.18 && < 15", ">= 16"],
8781
- url: true,
8782
- "node:url": [">= 14.18 && < 15", ">= 16"],
8783
- util: true,
8784
- "node:util": [">= 14.18 && < 15", ">= 16"],
8785
- "util/types": ">= 15.3",
8786
- "node:util/types": ">= 16",
8787
- "v8/tools/arguments": ">= 10 && < 12",
8788
- "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8789
- "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8790
- "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8791
- "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8792
- "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8793
- "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"],
8794
- v8: ">= 1",
8795
- "node:v8": [">= 14.18 && < 15", ">= 16"],
8796
- vm: true,
8797
- "node:vm": [">= 14.18 && < 15", ">= 16"],
8798
- wasi: [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"],
8799
- "node:wasi": [">= 18.17 && < 19", ">= 20"],
8800
- worker_threads: ">= 11.7",
8801
- "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
8802
- zlib: ">= 0.5",
8803
- "node:zlib": [">= 14.18 && < 15", ">= 16"]
8804
- };
8805
- }
8806
- });
8807
- var require_is_core_module = (0, import_chunk_4VNS5WPM.__commonJS)({
8808
- "../../node_modules/.pnpm/is-core-module@2.13.1/node_modules/is-core-module/index.js"(exports, module2) {
8809
- "use strict";
8810
- var hasOwn = require_hasown();
8811
- function specifierIncluded(current, specifier) {
8812
- var nodeParts = current.split(".");
8813
- var parts = specifier.split(" ");
8814
- var op = parts.length > 1 ? parts[0] : "=";
8815
- var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split(".");
8816
- for (var i = 0; i < 3; ++i) {
8817
- var cur = parseInt(nodeParts[i] || 0, 10);
8818
- var ver = parseInt(versionParts[i] || 0, 10);
8819
- if (cur === ver) {
8820
- continue;
8821
- }
8822
- if (op === "<") {
8823
- return cur < ver;
8824
- }
8825
- if (op === ">=") {
8826
- return cur >= ver;
8827
- }
8828
- return false;
8829
- }
8830
- return op === ">=";
8831
- }
8832
- function matchesRange(current, range) {
8833
- var specifiers = range.split(/ ?&& ?/);
8834
- if (specifiers.length === 0) {
8835
- return false;
8836
- }
8837
- for (var i = 0; i < specifiers.length; ++i) {
8838
- if (!specifierIncluded(current, specifiers[i])) {
8839
- return false;
8840
- }
8841
- }
8842
- return true;
8843
- }
8844
- function versionIncluded(nodeVersion, specifierValue) {
8845
- if (typeof specifierValue === "boolean") {
8846
- return specifierValue;
8847
- }
8848
- var current = typeof nodeVersion === "undefined" ? process.versions && process.versions.node : nodeVersion;
8849
- if (typeof current !== "string") {
8850
- throw new TypeError(typeof nodeVersion === "undefined" ? "Unable to determine current node version" : "If provided, a valid node version is required");
8851
- }
8852
- if (specifierValue && typeof specifierValue === "object") {
8853
- for (var i = 0; i < specifierValue.length; ++i) {
8854
- if (matchesRange(current, specifierValue[i])) {
8855
- return true;
8856
- }
8857
- }
8858
- return false;
8859
- }
8860
- return matchesRange(current, specifierValue);
8861
- }
8862
- var data = require_core();
8863
- module2.exports = function isCore(x, nodeVersion) {
8864
- return hasOwn(data, x) && versionIncluded(nodeVersion, data[x]);
8865
- };
8866
- }
8867
- });
8868
8636
  var require_extract_description = (0, import_chunk_4VNS5WPM.__commonJS)({
8869
8637
  "../../node_modules/.pnpm/normalize-package-data@6.0.0/node_modules/normalize-package-data/lib/extract_description.js"(exports, module2) {
8870
8638
  "use strict";
@@ -8926,7 +8694,7 @@ var require_fixer = (0, import_chunk_4VNS5WPM.__commonJS)({
8926
8694
  var cleanSemver = require_clean();
8927
8695
  var validateLicense = require_validate_npm_package_license();
8928
8696
  var hostedGitInfo = require_lib8();
8929
- var isBuiltinModule = require_is_core_module();
8697
+ var isBuiltinModule = (0, import_chunk_67I7CEQJ.require_is_core_module)();
8930
8698
  var depTypes = ["dependencies", "devDependencies", "optionalDependencies"];
8931
8699
  var extractDescription = require_extract_description();
8932
8700
  var url = (0, import_chunk_4VNS5WPM.__require)("url");
@@ -12899,7 +12667,7 @@ function readPackageUpSync(options) {
12899
12667
  }
12900
12668
  var import_tempy = (0, import_chunk_4VNS5WPM.__toESM)(require_tempy());
12901
12669
  async function getPackedPackage(name, target, packageDir) {
12902
- packageDir = packageDir || await (0, import_chunk_VVPSLVOR.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_VVPSLVOR.resolvePkg)(name, { basedir: target });
12670
+ packageDir = packageDir || await (0, import_chunk_67I7CEQJ.resolvePkg)(name, { basedir: process.cwd() }) || await (0, import_chunk_67I7CEQJ.resolvePkg)(name, { basedir: target });
12903
12671
  if (!packageDir) {
12904
12672
  const pkg = readPackageUpSync({
12905
12673
  cwd: target,
@@ -26,17 +26,17 @@ 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_BTWAF3S4_exports = {};
30
- __export(chunk_BTWAF3S4_exports, {
29
+ var chunk_MSOLVYP7_exports = {};
30
+ __export(chunk_MSOLVYP7_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_BTWAF3S4_exports);
34
+ module.exports = __toCommonJS(chunk_MSOLVYP7_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_PQE76XRR = require("./chunk-PQE76XRR.js");
39
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
38
+ var import_chunk_X3O2LTPO = require("./chunk-X3O2LTPO.js");
39
+ var import_chunk_RB2BVNBD = require("./chunk-RB2BVNBD.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: mergeSchemas]`;
62
- super((0, import_chunk_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_X3O2LTPO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_LHESHKC2.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_RB2BVNBD.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -26,14 +26,14 @@ 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_TKUGTIBG_exports = {};
30
- __export(chunk_TKUGTIBG_exports, {
29
+ var chunk_RB2BVNBD_exports = {};
30
+ __export(chunk_RB2BVNBD_exports, {
31
31
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
32
32
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
33
33
  wasm_exports: () => wasm_exports
34
34
  });
35
- module.exports = __toCommonJS(chunk_TKUGTIBG_exports);
36
- var import_chunk_N4XUH3VC = require("./chunk-N4XUH3VC.js");
35
+ module.exports = __toCommonJS(chunk_RB2BVNBD_exports);
36
+ var import_chunk_2UZFJUNN = require("./chunk-2UZFJUNN.js");
37
37
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
38
38
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
39
39
  var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
@@ -42,6 +42,6 @@ var wasm_exports = {};
42
42
  prismaSchemaWasm: () => import_prisma_schema_wasm.default,
43
43
  prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
44
44
  });
45
- var { dependencies } = (0, import_chunk_N4XUH3VC.require_package)();
45
+ var { dependencies } = (0, import_chunk_2UZFJUNN.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
@@ -26,17 +26,17 @@ 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_LLOWNQI4_exports = {};
30
- __export(chunk_LLOWNQI4_exports, {
29
+ var chunk_RRCCSZ7D_exports = {};
30
+ __export(chunk_RRCCSZ7D_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_LLOWNQI4_exports);
34
+ module.exports = __toCommonJS(chunk_RRCCSZ7D_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_GI3F44TM = require("./chunk-GI3F44TM.js");
39
- var import_chunk_TKUGTIBG = require("./chunk-TKUGTIBG.js");
38
+ var import_chunk_X3O2LTPO = require("./chunk-X3O2LTPO.js");
39
+ var import_chunk_RB2BVNBD = require("./chunk-RB2BVNBD.js");
40
40
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
41
41
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
42
42
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
59
59
  }).exhaustive();
60
60
  const errorMessageWithContext = `${constructedErrorMessage}
61
61
  [Context: validate]`;
62
- super((0, import_chunk_GI3F44TM.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_X3O2LTPO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "ValidateError";
64
64
  }
65
65
  };
@@ -71,13 +71,13 @@ function validate(options) {
71
71
  () => {
72
72
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
73
73
  debug("Triggering a Rust panic...");
74
- import_chunk_TKUGTIBG.prismaSchemaWasm.debug_panic();
74
+ import_chunk_RB2BVNBD.prismaSchemaWasm.debug_panic();
75
75
  }
76
76
  const params = JSON.stringify({
77
77
  prismaSchema: options.schemas,
78
78
  noColor: Boolean(process.env.NO_COLOR)
79
79
  });
80
- import_chunk_TKUGTIBG.prismaSchemaWasm.validate(params);
80
+ import_chunk_RB2BVNBD.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",
@@ -26,16 +26,16 @@ 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_GIOVJ5SL_exports = {};
30
- __export(chunk_GIOVJ5SL_exports, {
29
+ var chunk_TD67MK6Y_exports = {};
30
+ __export(chunk_TD67MK6Y_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_GIOVJ5SL_exports);
34
+ module.exports = __toCommonJS(chunk_TD67MK6Y_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_PQE76XRR = require("./chunk-PQE76XRR.js");
38
- var import_chunk_LHESHKC2 = require("./chunk-LHESHKC2.js");
37
+ var import_chunk_X3O2LTPO = require("./chunk-X3O2LTPO.js");
38
+ var import_chunk_RB2BVNBD = require("./chunk-RB2BVNBD.js");
39
39
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
41
  var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
@@ -58,7 +58,7 @@ ${detailsHeader} ${message}`;
58
58
  }).exhaustive();
59
59
  const errorMessageWithContext = `${constructedErrorMessage}
60
60
  [Context: getDmmf]`;
61
- super((0, import_chunk_PQE76XRR.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_X3O2LTPO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
62
  this.name = "GetDmmfError";
63
63
  }
64
64
  };
@@ -70,13 +70,13 @@ async function getDMMF(options) {
70
70
  () => {
71
71
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
72
72
  debug("Triggering a Rust panic...");
73
- import_chunk_LHESHKC2.prismaSchemaWasm.debug_panic();
73
+ import_chunk_RB2BVNBD.prismaSchemaWasm.debug_panic();
74
74
  }
75
75
  const params = JSON.stringify({
76
76
  prismaSchema: options.datamodel,
77
77
  noColor: Boolean(process.env.NO_COLOR)
78
78
  });
79
- const data = import_chunk_LHESHKC2.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_RB2BVNBD.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -16,15 +16,15 @@ 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_PQE76XRR_exports = {};
20
- __export(chunk_PQE76XRR_exports, {
19
+ var chunk_X3O2LTPO_exports = {};
20
+ __export(chunk_X3O2LTPO_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_PQE76XRR_exports);
24
- var import_chunk_75AJJ2SV = require("./chunk-75AJJ2SV.js");
23
+ module.exports = __toCommonJS(chunk_X3O2LTPO_exports);
24
+ var import_chunk_MIC43BOZ = require("./chunk-MIC43BOZ.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_75AJJ2SV.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_MIC43BOZ.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;