@prisma/internals 6.6.0-dev.57 → 6.6.0-dev.59

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 (74) hide show
  1. package/dist/Generator.d.ts +23 -5
  2. package/dist/Generator.js +4 -2
  3. package/dist/{chunk-VVPSLVOR.js → chunk-67I7CEQJ.js} +6 -7
  4. package/dist/{chunk-OGCUCDZ7.js → chunk-6WQVUWQM.js} +5 -5
  5. package/dist/{chunk-2CMKZNGP.js → chunk-A5O5JLW5.js} +8 -8
  6. package/dist/{chunk-2CR67TJT.js → chunk-A6IRWWSZ.js} +4 -5
  7. package/dist/{chunk-DYVL6P7F.js → chunk-BPDMLM32.js} +46 -13
  8. package/dist/{chunk-OGXOI4RU.js → chunk-CQQIMP6N.js} +8 -8
  9. package/dist/{chunk-J72OZOSE.js → chunk-CW6KQ3VH.js} +8 -8
  10. package/dist/{chunk-QWMXGEHC.js → chunk-DB3Y5NDC.js} +7 -7
  11. package/dist/{chunk-TOHL7KMJ.js → chunk-GNKWZC7O.js} +5 -5
  12. package/dist/{chunk-BD7L3WI4.js → chunk-GQD56R42.js} +8 -8
  13. package/dist/{chunk-7EPWXFTQ.js → chunk-HQXQG5GY.js} +83 -198
  14. package/dist/{chunk-WKCFN36R.js → chunk-J3YY6H66.js} +5 -5
  15. package/dist/{chunk-MTTVYCXS.js → chunk-JETLVL4E.js} +5 -5
  16. package/dist/{chunk-O2YDPK7X.js → chunk-JHOV6GLG.js} +5 -6
  17. package/dist/{chunk-6NXJ2LD6.js → chunk-JUTACZEX.js} +5 -5
  18. package/dist/{chunk-RU5ZW2PM.js → chunk-LOQLID3N.js} +8 -8
  19. package/dist/{chunk-K5W6WZ6E.js → chunk-MJIP3FY5.js} +6 -238
  20. package/dist/{chunk-GA3QUNF6.js → chunk-NWAAPGFA.js} +5 -5
  21. package/dist/{chunk-CORSUW3M.js → chunk-QJ72IP2K.js} +8 -8
  22. package/dist/{chunk-X2CA5QBB.js → chunk-QXNNDOVP.js} +83 -198
  23. package/dist/{chunk-QKMCPXKL.js → chunk-T5MMBF2S.js} +5 -5
  24. package/dist/{chunk-X3NPQOIN.js → chunk-TN4KCTWC.js} +7 -7
  25. package/dist/{chunk-WVNFXG35.js → chunk-TRF2UWX2.js} +5 -5
  26. package/dist/cli/checkUnsupportedDataProxy.js +22 -28
  27. package/dist/cli/getSchema.js +25 -31
  28. package/dist/cli/hashes.js +22 -28
  29. package/dist/cli/schemaContext.js +22 -28
  30. package/dist/engine-commands/errorHelpers.js +4 -4
  31. package/dist/engine-commands/formatSchema.js +21 -27
  32. package/dist/engine-commands/getConfig.js +10 -10
  33. package/dist/engine-commands/getDmmf.js +7 -7
  34. package/dist/engine-commands/index.js +30 -36
  35. package/dist/engine-commands/lintSchema.js +8 -8
  36. package/dist/engine-commands/mergeSchemas.js +7 -7
  37. package/dist/engine-commands/validate.js +7 -7
  38. package/dist/get-generators/getGenerators.d.ts +18 -9
  39. package/dist/get-generators/getGenerators.js +24 -30
  40. package/dist/getPackedPackage.js +3 -3
  41. package/dist/index.d.ts +2 -4
  42. package/dist/index.js +51 -57
  43. package/dist/resolvePkg.d.ts +7 -0
  44. package/dist/{get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js → resolvePkg.js} +6 -6
  45. package/dist/utils/getEnvPaths.js +21 -27
  46. package/dist/utils/getVersionFromPackageJson.js +3 -3
  47. package/dist/utils/loadEnvFile.js +21 -27
  48. package/dist/wasm.js +4 -4
  49. package/package.json +11 -12
  50. package/dist/chunk-72UZXEBG.js +0 -28
  51. package/dist/chunk-BWGDP6B5.js +0 -4948
  52. package/dist/chunk-EUTJYQDW.js +0 -46
  53. package/dist/chunk-EWWOTVR3.js +0 -52
  54. package/dist/chunk-GHHABGYW.js +0 -28
  55. package/dist/chunk-QGJH4P4N.js +0 -35
  56. package/dist/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
  57. package/dist/get-generators/generatorResolvers/generatorResolvers.js +0 -138
  58. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
  59. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +0 -26
  60. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
  61. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +0 -26
  62. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
  63. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +0 -29
  64. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +0 -138
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +0 -26
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +0 -26
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.d.ts +0 -1
  72. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +0 -17
  73. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
  74. 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,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_GA3QUNF6_exports = {};
30
- __export(chunk_GA3QUNF6_exports, {
29
+ var chunk_NWAAPGFA_exports = {};
30
+ __export(chunk_NWAAPGFA_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_GA3QUNF6_exports);
36
- var import_chunk_2CR67TJT = require("./chunk-2CR67TJT.js");
35
+ module.exports = __toCommonJS(chunk_NWAAPGFA_exports);
36
+ var import_chunk_JHOV6GLG = require("./chunk-JHOV6GLG.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_2CR67TJT.require_package)();
45
+ var { dependencies } = (0, import_chunk_JHOV6GLG.require_package)();
46
46
  var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
47
47
  globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
@@ -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_CORSUW3M_exports = {};
30
- __export(chunk_CORSUW3M_exports, {
29
+ var chunk_QJ72IP2K_exports = {};
30
+ __export(chunk_QJ72IP2K_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_CORSUW3M_exports);
34
+ module.exports = __toCommonJS(chunk_QJ72IP2K_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_MTTVYCXS = require("./chunk-MTTVYCXS.js");
38
- var import_chunk_QKMCPXKL = require("./chunk-QKMCPXKL.js");
37
+ var import_chunk_JETLVL4E = require("./chunk-JETLVL4E.js");
38
+ var import_chunk_T5MMBF2S = require("./chunk-T5MMBF2S.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_MTTVYCXS.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_JETLVL4E.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_QKMCPXKL.prismaSchemaWasm.debug_panic();
73
+ import_chunk_T5MMBF2S.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_QKMCPXKL.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_T5MMBF2S.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({