@prisma/internals 6.5.0-dev.58 → 6.5.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 (36) hide show
  1. package/dist/{chunk-TILZKSPX.js → chunk-2TP5C4XO.js} +8 -8
  2. package/dist/{chunk-UIMQNTEF.js → chunk-CC5TXAMH.js} +5 -5
  3. package/dist/{chunk-ZGIGIMYD.js → chunk-CDKB67YI.js} +8 -8
  4. package/dist/{chunk-VIQGVFO2.js → chunk-E4W3EDIR.js} +5 -5
  5. package/dist/{chunk-YWKRS464.js → chunk-EASYQZYB.js} +8 -8
  6. package/dist/{chunk-ZSND4T7I.js → chunk-GTZGJB64.js} +5 -5
  7. package/dist/{chunk-NBYMV6OP.js → chunk-HY2PR2GA.js} +34 -34
  8. package/dist/{chunk-G4ZXSNVZ.js → chunk-K5CONGBR.js} +7 -7
  9. package/dist/{chunk-6XZFO6WG.js → chunk-KF2MND2G.js} +18 -18
  10. package/dist/{chunk-V4UMB655.js → chunk-RQM3WGBY.js} +5 -5
  11. package/dist/{chunk-IZ57EPVG.js → chunk-V6Z564LJ.js} +203 -108
  12. package/dist/{chunk-U4CK5HDW.js → chunk-ZDCCUYRD.js} +4 -4
  13. package/dist/cli/checkUnsupportedDataProxy.js +13 -13
  14. package/dist/cli/getSchema.js +17 -17
  15. package/dist/cli/hashes.js +13 -13
  16. package/dist/engine-commands/errorHelpers.js +4 -4
  17. package/dist/engine-commands/formatSchema.js +12 -12
  18. package/dist/engine-commands/getConfig.js +10 -10
  19. package/dist/engine-commands/getDmmf.js +7 -7
  20. package/dist/engine-commands/index.js +21 -21
  21. package/dist/engine-commands/lintSchema.js +8 -8
  22. package/dist/engine-commands/mergeSchemas.js +7 -7
  23. package/dist/engine-commands/validate.js +7 -7
  24. package/dist/get-generators/generatorResolvers/generatorResolvers.js +12 -12
  25. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +12 -12
  26. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +13 -13
  27. package/dist/get-generators/getGenerators.js +15 -15
  28. package/dist/getPackedPackage.js +2 -2
  29. package/dist/index.js +41 -41
  30. package/dist/sendPanic.js +12 -12
  31. package/dist/utils/getEnvPaths.js +12 -12
  32. package/dist/utils/getVersionFromPackageJson.js +3 -3
  33. package/dist/utils/handlePanic.js +12 -12
  34. package/dist/utils/loadEnvFile.js +12 -12
  35. package/dist/wasm.js +4 -4
  36. package/package.json +8 -8
@@ -26,8 +26,8 @@ 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_6XZFO6WG_exports = {};
30
- __export2(chunk_6XZFO6WG_exports, {
29
+ var chunk_KF2MND2G_exports = {};
30
+ __export2(chunk_KF2MND2G_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -54,7 +54,7 @@ __export2(chunk_6XZFO6WG_exports, {
54
54
  sendPanic: () => sendPanic,
55
55
  skipIndex: () => skipIndex
56
56
  });
57
- module.exports = __toCommonJS2(chunk_6XZFO6WG_exports);
57
+ module.exports = __toCommonJS2(chunk_KF2MND2G_exports);
58
58
  var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
59
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
60
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
@@ -93,7 +93,7 @@ var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
93
93
  var import_chunk_ZYW3HGSH = require("./chunk-ZYW3HGSH.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_IZ57EPVG = require("./chunk-IZ57EPVG.js");
96
+ var import_chunk_V6Z564LJ = require("./chunk-V6Z564LJ.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");
@@ -438,7 +438,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
438
438
  module2.exports = readdirGlob;
439
439
  var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
440
440
  var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
441
- var { Minimatch } = (0, import_chunk_IZ57EPVG.require_minimatch)();
441
+ var { Minimatch } = (0, import_chunk_V6Z564LJ.require_minimatch)();
442
442
  var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
443
443
  function readdir(dir2, strict) {
444
444
  return new Promise((resolve2, reject2) => {
@@ -2849,7 +2849,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
2849
2849
  var Duplex;
2850
2850
  Writable.WritableState = WritableState;
2851
2851
  var util = Object.create(require_util());
2852
- util.inherits = (0, import_chunk_IZ57EPVG.require_inherits)();
2852
+ util.inherits = (0, import_chunk_V6Z564LJ.require_inherits)();
2853
2853
  var internalUtil = {
2854
2854
  deprecate: require_node()
2855
2855
  };
@@ -3287,7 +3287,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
3287
3287
  };
3288
3288
  module2.exports = Duplex;
3289
3289
  var util = Object.create(require_util());
3290
- util.inherits = (0, import_chunk_IZ57EPVG.require_inherits)();
3290
+ util.inherits = (0, import_chunk_V6Z564LJ.require_inherits)();
3291
3291
  var Readable = require_stream_readable();
3292
3292
  var Writable = require_stream_writable();
3293
3293
  util.inherits(Duplex, Readable);
@@ -3608,7 +3608,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
3608
3608
  return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
3609
3609
  }
3610
3610
  var util = Object.create(require_util());
3611
- util.inherits = (0, import_chunk_IZ57EPVG.require_inherits)();
3611
+ util.inherits = (0, import_chunk_V6Z564LJ.require_inherits)();
3612
3612
  var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
3613
3613
  var debug8 = void 0;
3614
3614
  if (debugUtil && debugUtil.debuglog) {
@@ -4275,7 +4275,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
4275
4275
  module2.exports = Transform;
4276
4276
  var Duplex = require_stream_duplex();
4277
4277
  var util = Object.create(require_util());
4278
- util.inherits = (0, import_chunk_IZ57EPVG.require_inherits)();
4278
+ util.inherits = (0, import_chunk_V6Z564LJ.require_inherits)();
4279
4279
  util.inherits(Transform, Duplex);
4280
4280
  function afterTransform(er, data) {
4281
4281
  var ts = this._transformState;
@@ -4373,7 +4373,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
4373
4373
  module2.exports = PassThrough;
4374
4374
  var Transform = require_stream_transform();
4375
4375
  var util = Object.create(require_util());
4376
- util.inherits = (0, import_chunk_IZ57EPVG.require_inherits)();
4376
+ util.inherits = (0, import_chunk_V6Z564LJ.require_inherits)();
4377
4377
  util.inherits(PassThrough, Transform);
4378
4378
  function PassThrough(options2) {
4379
4379
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
@@ -5659,7 +5659,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
5659
5659
  var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
5660
5660
  var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
5661
5661
  var errorOrDestroy = destroyImpl.errorOrDestroy;
5662
- (0, import_chunk_IZ57EPVG.require_inherits)()(Writable, Stream);
5662
+ (0, import_chunk_V6Z564LJ.require_inherits)()(Writable, Stream);
5663
5663
  function nop() {
5664
5664
  }
5665
5665
  function WritableState(options2, stream, isDuplex) {
@@ -6101,7 +6101,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6101
6101
  module2.exports = Duplex;
6102
6102
  var Readable = require_stream_readable2();
6103
6103
  var Writable = require_stream_writable2();
6104
- (0, import_chunk_IZ57EPVG.require_inherits)()(Duplex, Readable);
6104
+ (0, import_chunk_V6Z564LJ.require_inherits)()(Duplex, Readable);
6105
6105
  {
6106
6106
  keys = objectKeys(Writable.prototype);
6107
6107
  for (v = 0; v < keys.length; v++) {
@@ -6878,7 +6878,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
6878
6878
  var StringDecoder;
6879
6879
  var createReadableStreamAsyncIterator;
6880
6880
  var from;
6881
- (0, import_chunk_IZ57EPVG.require_inherits)()(Readable, Stream);
6881
+ (0, import_chunk_V6Z564LJ.require_inherits)()(Readable, Stream);
6882
6882
  var errorOrDestroy = destroyImpl.errorOrDestroy;
6883
6883
  var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
6884
6884
  function prependListener(emitter, event, fn) {
@@ -7583,7 +7583,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7583
7583
  var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
7584
7584
  var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
7585
7585
  var Duplex = require_stream_duplex2();
7586
- (0, import_chunk_IZ57EPVG.require_inherits)()(Transform, Duplex);
7586
+ (0, import_chunk_V6Z564LJ.require_inherits)()(Transform, Duplex);
7587
7587
  function afterTransform(er, data) {
7588
7588
  var ts = this._transformState;
7589
7589
  ts.transforming = false;
@@ -7677,7 +7677,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
7677
7677
  "use strict";
7678
7678
  module2.exports = PassThrough;
7679
7679
  var Transform = require_stream_transform2();
7680
- (0, import_chunk_IZ57EPVG.require_inherits)()(PassThrough, Transform);
7680
+ (0, import_chunk_V6Z564LJ.require_inherits)()(PassThrough, Transform);
7681
7681
  function PassThrough(options2) {
7682
7682
  if (!(this instanceof PassThrough)) return new PassThrough(options2);
7683
7683
  Transform.call(this, options2);
@@ -8551,7 +8551,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
8551
8551
  var difference = require_difference();
8552
8552
  var union = require_union();
8553
8553
  var isPlainObject = require_isPlainObject();
8554
- var glob = (0, import_chunk_IZ57EPVG.require_glob)();
8554
+ var glob = (0, import_chunk_V6Z564LJ.require_glob)();
8555
8555
  var file = module2.exports = {};
8556
8556
  var pathSeparatorRe = /[\/\\]/g;
8557
8557
  var processPatterns = function(patterns, fn) {
@@ -14841,7 +14841,7 @@ function renderDefaultLookupError(error, cwd) {
14841
14841
  return parts.join("\n");
14842
14842
  }
14843
14843
  async function getPrismaConfigFromPackageJson(cwd) {
14844
- const pkgJson = await (0, import_chunk_IZ57EPVG.readPackageUp)({ cwd, normalize: false });
14844
+ const pkgJson = await (0, import_chunk_V6Z564LJ.readPackageUp)({ cwd, normalize: false });
14845
14845
  const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
14846
14846
  if (!pkgJson) {
14847
14847
  return null;
@@ -15099,7 +15099,7 @@ function getCLIPathHash() {
15099
15099
  const cliPath = process.argv[1];
15100
15100
  return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
15101
15101
  }
15102
- var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_IZ57EPVG.require_p_map)());
15102
+ var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_V6Z564LJ.require_p_map)());
15103
15103
  var debug4 = (0, import_debug6.default)("prisma:generator");
15104
15104
  async function checkTypeScriptVersion() {
15105
15105
  const minVersion = "4.1.0";
@@ -16,21 +16,21 @@ 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_V4UMB655_exports = {};
20
- __export(chunk_V4UMB655_exports, {
19
+ var chunk_RQM3WGBY_exports = {};
20
+ __export(chunk_RQM3WGBY_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_V4UMB655_exports);
27
+ module.exports = __toCommonJS(chunk_RQM3WGBY_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_UIMQNTEF = require("./chunk-UIMQNTEF.js");
29
+ var import_chunk_CC5TXAMH = require("./chunk-CC5TXAMH.js");
30
30
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_UIMQNTEF.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_CC5TXAMH.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }