@prisma/internals 5.23.0-dev.19 → 5.23.0-dev.20
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.
- package/dist/{chunk-QOA32UW5.js → chunk-6THUAMGB.js} +5 -5
- package/dist/{chunk-IABMG3F4.js → chunk-77IC3DNO.js} +5 -5
- package/dist/{chunk-2MI66B2K.js → chunk-7PI4C55S.js} +13 -13
- package/dist/{chunk-3XOL7USL.js → chunk-BDGDNUIL.js} +5 -5
- package/dist/{chunk-WMIBAVWZ.js → chunk-C47SCASR.js} +5 -5
- package/dist/{chunk-OBCNUIOJ.js → chunk-CQSMDDKM.js} +14 -14
- package/dist/{chunk-J3JE5NVO.js → chunk-CZDIXJEO.js} +56 -32
- package/dist/{chunk-XE4JX3AP.js → chunk-DTEXPX36.js} +12 -12
- package/dist/{chunk-ZTNSQE4R.js → chunk-EBU6N6T4.js} +5 -5
- package/dist/{chunk-NKSEI4HI.js → chunk-G5ET5ITV.js} +13 -13
- package/dist/{chunk-26K7GGXE.js → chunk-H7DE4ZVH.js} +5 -5
- package/dist/{chunk-UPKJODIS.js → chunk-HMF3VL6Z.js} +60 -52
- package/dist/{chunk-OSOXVAZB.js → chunk-HPF5G47V.js} +9 -9
- package/dist/{chunk-IAEMHQAC.js → chunk-I4467NNA.js} +5 -5
- package/dist/{chunk-C4DBWLTJ.js → chunk-K6DMP57P.js} +5 -5
- package/dist/{chunk-YVDQPNPO.js → chunk-KKG2ZZJE.js} +5 -5
- package/dist/{chunk-4NFLAUKD.js → chunk-KQOJB3ZW.js} +70 -70
- package/dist/{chunk-PTDF5V63.js → chunk-LHLIU6FO.js} +5 -5
- package/dist/{chunk-3U2ANLD3.js → chunk-MGZOEY6N.js} +6 -6
- package/dist/{chunk-ASJ5LZTB.js → chunk-NBU7LQCG.js} +5 -5
- package/dist/{chunk-3F7YBP5D.js → chunk-OTU7IKOX.js} +12 -12
- package/dist/{chunk-IFMDTCUD.js → chunk-QADJGXRG.js} +60 -52
- package/dist/{chunk-KJ6ETQRZ.js → chunk-RQ3C6TME.js} +11 -11
- package/dist/{chunk-CRMPQZ4W.js → chunk-RUUX4JI7.js} +14 -14
- package/dist/{chunk-XDN6ROV6.js → chunk-S34YTBDJ.js} +5 -5
- package/dist/{chunk-FTS2IEWX.js → chunk-S57RMXZW.js} +5 -5
- package/dist/{chunk-XLYQ6PQW.js → chunk-SLBBRUQS.js} +15 -15
- package/dist/{chunk-WCRKL55L.js → chunk-V2ZF7ETH.js} +7 -7
- package/dist/{chunk-7ASRGBGS.js → chunk-VEODS3ZR.js} +4 -4
- package/dist/{chunk-YDZVEVUG.js → chunk-VRT7T6MF.js} +73 -73
- package/dist/{chunk-SOZJQQOQ.js → chunk-ZBCEU6ZR.js} +11 -11
- package/dist/cli/checkUnsupportedDataProxy.js +23 -23
- package/dist/cli/getSchema.js +28 -28
- package/dist/cli/hashes.js +23 -23
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +22 -22
- package/dist/engine-commands/getConfig.js +12 -12
- package/dist/engine-commands/getDmmf.js +9 -9
- package/dist/engine-commands/index.js +31 -31
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +9 -9
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/relativizePathInPSLError.js +2 -2
- package/dist/engine-commands/validate.js +9 -9
- package/dist/errorReporting.js +6 -6
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +22 -22
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +3 -3
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +22 -22
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +3 -3
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +23 -23
- package/dist/get-generators/getGenerators.js +25 -25
- package/dist/getPackedPackage.js +2 -2
- package/dist/index.js +54 -54
- package/dist/{multipart-parser-LCETWFPE.js → multipart-parser-32AROPTR.js} +9 -6
- package/dist/sendPanic.js +22 -22
- package/dist/utils/cloudflareD1.js +2 -2
- package/dist/utils/getEnvPaths.js +22 -22
- package/dist/utils/getGitHubIssueUrl.js +3 -3
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +22 -22
- package/dist/utils/loadEnvFile.js +22 -22
- package/dist/wasm.js +4 -4
- package/package.json +8 -8
|
@@ -26,19 +26,19 @@ 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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_G5ET5ITV_exports = {};
|
|
30
|
+
__export(chunk_G5ET5ITV_exports, {
|
|
31
31
|
ValidateError: () => ValidateError,
|
|
32
32
|
validate: () => validate
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_G5ET5ITV_exports);
|
|
35
35
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
36
|
+
var import_chunk_I4467NNA = require("./chunk-I4467NNA.js");
|
|
37
|
+
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
|
+
var import_chunk_K6DMP57P = require("./chunk-K6DMP57P.js");
|
|
39
39
|
var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
|
|
40
40
|
var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
|
|
41
|
-
var
|
|
41
|
+
var import_chunk_KKG2ZZJE = require("./chunk-KKG2ZZJE.js");
|
|
42
42
|
var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
|
|
43
43
|
var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
|
|
44
44
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
@@ -52,7 +52,7 @@ var ValidateError = class extends Error {
|
|
|
52
52
|
const errorCodeMessage = errorCode ? `Error code: ${errorCode}` : "";
|
|
53
53
|
return `${reason}
|
|
54
54
|
${errorCodeMessage}
|
|
55
|
-
${(0,
|
|
55
|
+
${(0, import_chunk_C47SCASR.relativizePathInPSLError)(message)}`;
|
|
56
56
|
}).with({ _tag: "unparsed" }, ({ message, reason }) => {
|
|
57
57
|
const detailsHeader = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)("Details:"));
|
|
58
58
|
return `${reason}
|
|
@@ -60,25 +60,25 @@ ${detailsHeader} ${message}`;
|
|
|
60
60
|
}).exhaustive();
|
|
61
61
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
62
62
|
[Context: validate]`;
|
|
63
|
-
super((0,
|
|
63
|
+
super((0, import_chunk_K6DMP57P.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
64
64
|
this.name = "ValidateError";
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
function validate(options) {
|
|
68
|
-
const debugErrorType = (0,
|
|
68
|
+
const debugErrorType = (0, import_chunk_I4467NNA.createDebugErrorType)(debug, "validateWasm");
|
|
69
69
|
debug(`Using validate Wasm`);
|
|
70
70
|
const validateEither = (0, import_function.pipe)(
|
|
71
71
|
(0, import_chunk_7MD6344A.tryCatch)(
|
|
72
72
|
() => {
|
|
73
73
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
|
|
74
74
|
debug("Triggering a Rust panic...");
|
|
75
|
-
|
|
75
|
+
import_chunk_KKG2ZZJE.prismaSchemaWasm.debug_panic();
|
|
76
76
|
}
|
|
77
77
|
const params = JSON.stringify({
|
|
78
78
|
prismaSchema: options.schemas,
|
|
79
79
|
noColor: Boolean(process.env.NO_COLOR)
|
|
80
80
|
});
|
|
81
|
-
|
|
81
|
+
import_chunk_KKG2ZZJE.prismaSchemaWasm.validate(params);
|
|
82
82
|
},
|
|
83
83
|
(e) => ({
|
|
84
84
|
type: "wasm-error",
|
|
@@ -113,7 +113,7 @@ function validate(options) {
|
|
|
113
113
|
return panic;
|
|
114
114
|
}
|
|
115
115
|
const errorOutput = e.error.message;
|
|
116
|
-
return new ValidateError((0,
|
|
116
|
+
return new ValidateError((0, import_chunk_I4467NNA.parseQueryEngineError)({ errorOutput, reason: e.reason }));
|
|
117
117
|
}).exhaustive();
|
|
118
118
|
throw error;
|
|
119
119
|
}
|
|
@@ -16,11 +16,11 @@ 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
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_H7DE4ZVH_exports = {};
|
|
20
|
+
__export(chunk_H7DE4ZVH_exports, {
|
|
21
21
|
version: () => version
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
25
|
-
var packageJson = (0,
|
|
23
|
+
module.exports = __toCommonJS(chunk_H7DE4ZVH_exports);
|
|
24
|
+
var import_chunk_EBU6N6T4 = require("./chunk-EBU6N6T4.js");
|
|
25
|
+
var packageJson = (0, import_chunk_EBU6N6T4.require_package)();
|
|
26
26
|
var version = packageJson.version;
|
|
@@ -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
|
|
30
|
-
__export2(
|
|
29
|
+
var chunk_HMF3VL6Z_exports = {};
|
|
30
|
+
__export2(chunk_HMF3VL6Z_exports, {
|
|
31
31
|
checkTypeScriptVersion: () => checkTypeScriptVersion,
|
|
32
32
|
checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
|
|
33
33
|
debug: () => debug5,
|
|
@@ -55,10 +55,10 @@ __export2(chunk_UPKJODIS_exports, {
|
|
|
55
55
|
sendPanic: () => sendPanic,
|
|
56
56
|
skipIndex: () => skipIndex
|
|
57
57
|
});
|
|
58
|
-
module.exports = __toCommonJS2(
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
58
|
+
module.exports = __toCommonJS2(chunk_HMF3VL6Z_exports);
|
|
59
|
+
var import_chunk_77IC3DNO = require("./chunk-77IC3DNO.js");
|
|
60
|
+
var import_chunk_MGZOEY6N = require("./chunk-MGZOEY6N.js");
|
|
61
|
+
var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
|
|
62
62
|
var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
|
|
63
63
|
var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
|
|
64
64
|
var import_chunk_KEBDP2C3 = require("./chunk-KEBDP2C3.js");
|
|
@@ -76,17 +76,17 @@ var import_chunk_2MWIMEFK = require("./chunk-2MWIMEFK.js");
|
|
|
76
76
|
var import_chunk_L6GBFCXG = require("./chunk-L6GBFCXG.js");
|
|
77
77
|
var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
|
|
78
78
|
var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
|
|
79
|
-
var
|
|
79
|
+
var import_chunk_SLBBRUQS = require("./chunk-SLBBRUQS.js");
|
|
80
80
|
var import_chunk_EPJYKNCQ = require("./chunk-EPJYKNCQ.js");
|
|
81
81
|
var import_chunk_ODI3VNBD = require("./chunk-ODI3VNBD.js");
|
|
82
82
|
var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
|
|
83
|
-
var
|
|
84
|
-
var
|
|
85
|
-
var
|
|
86
|
-
var
|
|
83
|
+
var import_chunk_NBU7LQCG = require("./chunk-NBU7LQCG.js");
|
|
84
|
+
var import_chunk_DTEXPX36 = require("./chunk-DTEXPX36.js");
|
|
85
|
+
var import_chunk_RUUX4JI7 = require("./chunk-RUUX4JI7.js");
|
|
86
|
+
var import_chunk_RQ3C6TME = require("./chunk-RQ3C6TME.js");
|
|
87
87
|
var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
|
|
88
88
|
var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
|
|
89
|
-
var
|
|
89
|
+
var import_chunk_KKG2ZZJE = require("./chunk-KKG2ZZJE.js");
|
|
90
90
|
var import_chunk_MUPZUVSI = require("./chunk-MUPZUVSI.js");
|
|
91
91
|
var import_chunk_A4QWQE3W = require("./chunk-A4QWQE3W.js");
|
|
92
92
|
var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
|
|
@@ -94,8 +94,8 @@ var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
|
|
94
94
|
var import_chunk_QIVUAERL = require("./chunk-QIVUAERL.js");
|
|
95
95
|
var import_chunk_635TMBAP = require("./chunk-635TMBAP.js");
|
|
96
96
|
var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
|
|
97
|
-
var
|
|
98
|
-
var
|
|
97
|
+
var import_chunk_KQOJB3ZW = require("./chunk-KQOJB3ZW.js");
|
|
98
|
+
var import_chunk_CZDIXJEO = require("./chunk-CZDIXJEO.js");
|
|
99
99
|
var import_chunk_FUUQ6FJ4 = require("./chunk-FUUQ6FJ4.js");
|
|
100
100
|
var import_chunk_KKMREGHN = require("./chunk-KKMREGHN.js");
|
|
101
101
|
var import_chunk_AZNLB67U = require("./chunk-AZNLB67U.js");
|
|
@@ -439,7 +439,7 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
439
439
|
module2.exports = readdirGlob;
|
|
440
440
|
var fs8 = (0, import_chunk_WWAWV7DQ.__require)("fs");
|
|
441
441
|
var { EventEmitter } = (0, import_chunk_WWAWV7DQ.__require)("events");
|
|
442
|
-
var { Minimatch } = (0,
|
|
442
|
+
var { Minimatch } = (0, import_chunk_CZDIXJEO.require_minimatch)();
|
|
443
443
|
var { resolve } = (0, import_chunk_WWAWV7DQ.__require)("path");
|
|
444
444
|
function readdir(dir2, strict) {
|
|
445
445
|
return new Promise((resolve2, reject2) => {
|
|
@@ -454,12 +454,16 @@ var require_readdir_glob = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
454
454
|
}
|
|
455
455
|
break;
|
|
456
456
|
case "ENOTSUP":
|
|
457
|
+
// Operation not supported
|
|
457
458
|
case "ENOENT":
|
|
459
|
+
// No such file or directory
|
|
458
460
|
case "ENAMETOOLONG":
|
|
461
|
+
// Filename too long
|
|
459
462
|
case "UNKNOWN":
|
|
460
463
|
resolve2([]);
|
|
461
464
|
break;
|
|
462
465
|
case "ELOOP":
|
|
466
|
+
// Too many levels of symbolic links
|
|
463
467
|
default:
|
|
464
468
|
reject2(err);
|
|
465
469
|
break;
|
|
@@ -2846,7 +2850,7 @@ var require_stream_writable = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
2846
2850
|
var Duplex;
|
|
2847
2851
|
Writable.WritableState = WritableState;
|
|
2848
2852
|
var util = Object.create(require_util());
|
|
2849
|
-
util.inherits = (0,
|
|
2853
|
+
util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
|
|
2850
2854
|
var internalUtil = {
|
|
2851
2855
|
deprecate: require_node()
|
|
2852
2856
|
};
|
|
@@ -3284,7 +3288,7 @@ var require_stream_duplex = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
3284
3288
|
};
|
|
3285
3289
|
module2.exports = Duplex;
|
|
3286
3290
|
var util = Object.create(require_util());
|
|
3287
|
-
util.inherits = (0,
|
|
3291
|
+
util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
|
|
3288
3292
|
var Readable = require_stream_readable();
|
|
3289
3293
|
var Writable = require_stream_writable();
|
|
3290
3294
|
util.inherits(Duplex, Readable);
|
|
@@ -3605,7 +3609,7 @@ var require_stream_readable = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
3605
3609
|
return Buffer2.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
3606
3610
|
}
|
|
3607
3611
|
var util = Object.create(require_util());
|
|
3608
|
-
util.inherits = (0,
|
|
3612
|
+
util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
|
|
3609
3613
|
var debugUtil = (0, import_chunk_WWAWV7DQ.__require)("util");
|
|
3610
3614
|
var debug8 = void 0;
|
|
3611
3615
|
if (debugUtil && debugUtil.debuglog) {
|
|
@@ -4272,7 +4276,7 @@ var require_stream_transform = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
4272
4276
|
module2.exports = Transform;
|
|
4273
4277
|
var Duplex = require_stream_duplex();
|
|
4274
4278
|
var util = Object.create(require_util());
|
|
4275
|
-
util.inherits = (0,
|
|
4279
|
+
util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
|
|
4276
4280
|
util.inherits(Transform, Duplex);
|
|
4277
4281
|
function afterTransform(er, data) {
|
|
4278
4282
|
var ts = this._transformState;
|
|
@@ -4370,7 +4374,7 @@ var require_stream_passthrough = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
4370
4374
|
module2.exports = PassThrough;
|
|
4371
4375
|
var Transform = require_stream_transform();
|
|
4372
4376
|
var util = Object.create(require_util());
|
|
4373
|
-
util.inherits = (0,
|
|
4377
|
+
util.inherits = (0, import_chunk_CZDIXJEO.require_inherits)();
|
|
4374
4378
|
util.inherits(PassThrough, Transform);
|
|
4375
4379
|
function PassThrough(options2) {
|
|
4376
4380
|
if (!(this instanceof PassThrough)) return new PassThrough(options2);
|
|
@@ -5656,7 +5660,7 @@ var require_stream_writable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
5656
5660
|
var ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END;
|
|
5657
5661
|
var ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
|
|
5658
5662
|
var errorOrDestroy = destroyImpl.errorOrDestroy;
|
|
5659
|
-
(0,
|
|
5663
|
+
(0, import_chunk_CZDIXJEO.require_inherits)()(Writable, Stream);
|
|
5660
5664
|
function nop() {
|
|
5661
5665
|
}
|
|
5662
5666
|
function WritableState(options2, stream, isDuplex) {
|
|
@@ -6098,7 +6102,7 @@ var require_stream_duplex2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6098
6102
|
module2.exports = Duplex;
|
|
6099
6103
|
var Readable = require_stream_readable2();
|
|
6100
6104
|
var Writable = require_stream_writable2();
|
|
6101
|
-
(0,
|
|
6105
|
+
(0, import_chunk_CZDIXJEO.require_inherits)()(Duplex, Readable);
|
|
6102
6106
|
{
|
|
6103
6107
|
keys = objectKeys(Writable.prototype);
|
|
6104
6108
|
for (v = 0; v < keys.length; v++) {
|
|
@@ -6875,7 +6879,7 @@ var require_stream_readable2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6875
6879
|
var StringDecoder;
|
|
6876
6880
|
var createReadableStreamAsyncIterator;
|
|
6877
6881
|
var from;
|
|
6878
|
-
(0,
|
|
6882
|
+
(0, import_chunk_CZDIXJEO.require_inherits)()(Readable, Stream);
|
|
6879
6883
|
var errorOrDestroy = destroyImpl.errorOrDestroy;
|
|
6880
6884
|
var kProxyEvents = ["error", "close", "destroy", "pause", "resume"];
|
|
6881
6885
|
function prependListener(emitter, event, fn) {
|
|
@@ -7580,7 +7584,7 @@ var require_stream_transform2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7580
7584
|
var ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING;
|
|
7581
7585
|
var ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
|
|
7582
7586
|
var Duplex = require_stream_duplex2();
|
|
7583
|
-
(0,
|
|
7587
|
+
(0, import_chunk_CZDIXJEO.require_inherits)()(Transform, Duplex);
|
|
7584
7588
|
function afterTransform(er, data) {
|
|
7585
7589
|
var ts = this._transformState;
|
|
7586
7590
|
ts.transforming = false;
|
|
@@ -7674,7 +7678,7 @@ var require_stream_passthrough2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
7674
7678
|
"use strict";
|
|
7675
7679
|
module2.exports = PassThrough;
|
|
7676
7680
|
var Transform = require_stream_transform2();
|
|
7677
|
-
(0,
|
|
7681
|
+
(0, import_chunk_CZDIXJEO.require_inherits)()(PassThrough, Transform);
|
|
7678
7682
|
function PassThrough(options2) {
|
|
7679
7683
|
if (!(this instanceof PassThrough)) return new PassThrough(options2);
|
|
7680
7684
|
Transform.call(this, options2);
|
|
@@ -8548,7 +8552,7 @@ var require_file = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
8548
8552
|
var difference = require_difference();
|
|
8549
8553
|
var union = require_union();
|
|
8550
8554
|
var isPlainObject = require_isPlainObject();
|
|
8551
|
-
var glob = (0,
|
|
8555
|
+
var glob = (0, import_chunk_CZDIXJEO.require_glob)();
|
|
8552
8556
|
var file = module2.exports = {};
|
|
8553
8557
|
var pathSeparatorRe = /[\/\\]/g;
|
|
8554
8558
|
var processPatterns = function(patterns, fn) {
|
|
@@ -13798,6 +13802,8 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13798
13802
|
this.inc("patch", identifier, identifierBase);
|
|
13799
13803
|
this.inc("pre", identifier, identifierBase);
|
|
13800
13804
|
break;
|
|
13805
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
13806
|
+
// prepatch.
|
|
13801
13807
|
case "prerelease":
|
|
13802
13808
|
if (this.prerelease.length === 0) {
|
|
13803
13809
|
this.inc("patch", identifier, identifierBase);
|
|
@@ -13825,6 +13831,8 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
13825
13831
|
}
|
|
13826
13832
|
this.prerelease = [];
|
|
13827
13833
|
break;
|
|
13834
|
+
// This probably shouldn't be used publicly.
|
|
13835
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
13828
13836
|
case "pre": {
|
|
13829
13837
|
const base = Number(identifierBase) ? 1 : 0;
|
|
13830
13838
|
if (!identifier && identifierBase === false) {
|
|
@@ -14743,7 +14751,7 @@ async function readSchemaFromDirectory(schemaPath2) {
|
|
|
14743
14751
|
}
|
|
14744
14752
|
const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
|
|
14745
14753
|
debug2("Loading config");
|
|
14746
|
-
const config2 = await (0,
|
|
14754
|
+
const config2 = await (0, import_chunk_RUUX4JI7.getConfig)({
|
|
14747
14755
|
datamodel: files,
|
|
14748
14756
|
ignoreEnvVarErrors: true
|
|
14749
14757
|
});
|
|
@@ -14847,7 +14855,7 @@ function renderDefaultLookupError(error, cwd) {
|
|
|
14847
14855
|
return parts.join("\n");
|
|
14848
14856
|
}
|
|
14849
14857
|
async function getPrismaConfigFromPackageJson(cwd) {
|
|
14850
|
-
const pkgJson = await (0,
|
|
14858
|
+
const pkgJson = await (0, import_chunk_CZDIXJEO.readPackageUp)({ cwd, normalize: false });
|
|
14851
14859
|
const prismaPropertyFromPkgJson = pkgJson?.packageJson?.prisma;
|
|
14852
14860
|
if (!pkgJson) {
|
|
14853
14861
|
return null;
|
|
@@ -15051,8 +15059,8 @@ async function checkUnsupportedDataProxyMessage(command, args, implicitSchema) {
|
|
|
15051
15059
|
if (argName.includes("schema")) {
|
|
15052
15060
|
await loadEnvFile({ schemaPath: argValue, printMessage: false });
|
|
15053
15061
|
const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
|
|
15054
|
-
const config2 = await (0,
|
|
15055
|
-
const url = (0,
|
|
15062
|
+
const config2 = await (0, import_chunk_RUUX4JI7.getConfig)({ datamodel, ignoreEnvVarErrors: true });
|
|
15063
|
+
const url = (0, import_chunk_RUUX4JI7.resolveUrl)((0, import_chunk_RUUX4JI7.getEffectiveUrl)(config2.datasources[0]));
|
|
15056
15064
|
if (url?.startsWith("prisma://")) {
|
|
15057
15065
|
return forbiddenCmdWithDataProxyFlagMessage(command);
|
|
15058
15066
|
}
|
|
@@ -15073,7 +15081,7 @@ function getCLIPathHash() {
|
|
|
15073
15081
|
const cliPath = process.argv[1];
|
|
15074
15082
|
return import_crypto.default.createHash("sha256").update(cliPath).digest("hex").substring(0, 8);
|
|
15075
15083
|
}
|
|
15076
|
-
var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0,
|
|
15084
|
+
var import_p_map = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_CZDIXJEO.require_p_map)());
|
|
15077
15085
|
var debug4 = (0, import_debug6.default)("prisma:generator");
|
|
15078
15086
|
async function checkTypeScriptVersion() {
|
|
15079
15087
|
const minVersion = "4.1.0";
|
|
@@ -15128,30 +15136,30 @@ async function prismaClientResolver(baseDir, version3) {
|
|
|
15128
15136
|
);
|
|
15129
15137
|
}
|
|
15130
15138
|
const prismaCliDir = await (0, import_chunk_FUUQ6FJ4.resolvePkg)("prisma", { basedir: baseDir });
|
|
15131
|
-
if (process.platform === "win32" && await (0,
|
|
15139
|
+
if (process.platform === "win32" && await (0, import_chunk_S57RMXZW.isYarnUsed)(baseDir)) {
|
|
15132
15140
|
const hasCli = (s2) => prismaCliDir !== void 0 ? s2 : "";
|
|
15133
15141
|
const missingCli = (s2) => prismaCliDir === void 0 ? s2 : "";
|
|
15134
15142
|
throw new Error(
|
|
15135
15143
|
`Could not resolve ${missingCli(`${(0, import_chunk_PG5FDKSF.bold)("prisma")} and `)}${(0, import_chunk_PG5FDKSF.bold)(
|
|
15136
15144
|
"@prisma/client"
|
|
15137
15145
|
)} in the current project. Please install ${hasCli("it")}${missingCli("them")} with ${missingCli(
|
|
15138
|
-
`${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0,
|
|
15139
|
-
)}${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0,
|
|
15140
|
-
await (0,
|
|
15146
|
+
`${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "prisma", "-D")}`))} and `
|
|
15147
|
+
)}${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "@prisma/client")}`))}, and rerun ${(0, import_chunk_PG5FDKSF.bold)(
|
|
15148
|
+
await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate")
|
|
15141
15149
|
)} \u{1F64F}.`
|
|
15142
15150
|
);
|
|
15143
15151
|
}
|
|
15144
15152
|
if (!prismaCliDir) {
|
|
15145
|
-
await (0,
|
|
15153
|
+
await (0, import_chunk_77IC3DNO.runPackageCmd)(projectRoot, "add", `prisma@${version3 ?? "latest"}`, "-D", "--silent");
|
|
15146
15154
|
}
|
|
15147
|
-
await (0,
|
|
15155
|
+
await (0, import_chunk_77IC3DNO.runPackageCmd)(projectRoot, "add", `@prisma/client@${version3 ?? "latest"}`, "--silent");
|
|
15148
15156
|
prismaClientDir = await (0, import_chunk_KEBDP2C3.findPrismaClientDir)(import_path4.default.join(".", baseDir));
|
|
15149
15157
|
if (!prismaClientDir) {
|
|
15150
15158
|
throw new Error(
|
|
15151
15159
|
`Could not resolve @prisma/client despite the installation that we just tried.
|
|
15152
15160
|
Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
|
|
15153
|
-
(0, import_chunk_PG5FDKSF.green)(`${await (0,
|
|
15154
|
-
)} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0,
|
|
15161
|
+
(0, import_chunk_PG5FDKSF.green)(`${await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "add", "@prisma/client")}`)
|
|
15162
|
+
)} and rerun ${(0, import_chunk_PG5FDKSF.bold)(await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate"))} \u{1F64F}.`
|
|
15155
15163
|
);
|
|
15156
15164
|
}
|
|
15157
15165
|
console.info(
|
|
@@ -15163,7 +15171,7 @@ Please try to install it by hand with ${(0, import_chunk_PG5FDKSF.bold)(
|
|
|
15163
15171
|
throw new Error(
|
|
15164
15172
|
`Could not resolve @prisma/client.
|
|
15165
15173
|
Please try to install it with ${(0, import_chunk_PG5FDKSF.bold)((0, import_chunk_PG5FDKSF.green)("npm install @prisma/client"))} and rerun ${(0, import_chunk_PG5FDKSF.bold)(
|
|
15166
|
-
await (0,
|
|
15174
|
+
await (0, import_chunk_MGZOEY6N.getPackageCmd)(baseDir, "execute", "prisma generate")
|
|
15167
15175
|
)} \u{1F64F}.`
|
|
15168
15176
|
);
|
|
15169
15177
|
}
|
|
@@ -15224,7 +15232,7 @@ async function getGenerators(options) {
|
|
|
15224
15232
|
prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
|
|
15225
15233
|
}
|
|
15226
15234
|
}
|
|
15227
|
-
const config = await (0,
|
|
15235
|
+
const config = await (0, import_chunk_RUUX4JI7.getConfig)({
|
|
15228
15236
|
datamodel: schemas,
|
|
15229
15237
|
datamodelPath: schemaPath,
|
|
15230
15238
|
prismaPath,
|
|
@@ -15235,7 +15243,7 @@ async function getGenerators(options) {
|
|
|
15235
15243
|
}
|
|
15236
15244
|
(0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
|
|
15237
15245
|
const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
|
|
15238
|
-
const dmmf = await (0,
|
|
15246
|
+
const dmmf = await (0, import_chunk_RQ3C6TME.getDMMF)({
|
|
15239
15247
|
datamodel: schemas,
|
|
15240
15248
|
datamodelPath: schemaPath,
|
|
15241
15249
|
prismaPath,
|
|
@@ -15296,7 +15304,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
|
|
|
15296
15304
|
fromEnvVar: "null"
|
|
15297
15305
|
};
|
|
15298
15306
|
}
|
|
15299
|
-
const datamodel = (0,
|
|
15307
|
+
const datamodel = (0, import_chunk_DTEXPX36.mergeSchemas)({ schemas });
|
|
15300
15308
|
const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
|
|
15301
15309
|
const options2 = {
|
|
15302
15310
|
datamodel,
|
|
@@ -15379,7 +15387,7 @@ generator gen {
|
|
|
15379
15387
|
debug6({ generatorBinaryPaths });
|
|
15380
15388
|
generator.setBinaryPaths(generatorBinaryPaths);
|
|
15381
15389
|
if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
|
|
15382
|
-
const customDmmf = await (0,
|
|
15390
|
+
const customDmmf = await (0, import_chunk_RQ3C6TME.getDMMF)({
|
|
15383
15391
|
datamodel: schemas,
|
|
15384
15392
|
datamodelPath: schemaPath,
|
|
15385
15393
|
prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
|
|
@@ -15547,16 +15555,16 @@ async function sendPanic({
|
|
|
15547
15555
|
sqlDump: void 0,
|
|
15548
15556
|
dbVersion
|
|
15549
15557
|
};
|
|
15550
|
-
const signedUrl = await (0,
|
|
15558
|
+
const signedUrl = await (0, import_chunk_KQOJB3ZW.createErrorReport)(params);
|
|
15551
15559
|
try {
|
|
15552
15560
|
if (error.schemaPath) {
|
|
15553
15561
|
const zip = await makeErrorZip(error);
|
|
15554
|
-
await (0,
|
|
15562
|
+
await (0, import_chunk_KQOJB3ZW.uploadZip)(zip, signedUrl);
|
|
15555
15563
|
}
|
|
15556
15564
|
} catch (zipUploadError) {
|
|
15557
15565
|
console.error(`Error uploading zip file: ${zipUploadError.message}`);
|
|
15558
15566
|
}
|
|
15559
|
-
const id = await (0,
|
|
15567
|
+
const id = await (0, import_chunk_KQOJB3ZW.makeErrorReportCompleted)(signedUrl);
|
|
15560
15568
|
return id;
|
|
15561
15569
|
}
|
|
15562
15570
|
function concatSchemaForReport(schemaFiles) {
|
|
@@ -15663,7 +15671,7 @@ ${(0, import_chunk_PG5FDKSF.bold)("Thanks a lot for your help! \u{1F64F}")}`);
|
|
|
15663
15671
|
console.error(`${(0, import_chunk_PG5FDKSF.gray)("Error report submission failed due to: ")}`, error2);
|
|
15664
15672
|
}
|
|
15665
15673
|
}
|
|
15666
|
-
await (0,
|
|
15674
|
+
await (0, import_chunk_SLBBRUQS.wouldYouLikeToCreateANewIssue)({
|
|
15667
15675
|
prompt: !shouldSubmitReport,
|
|
15668
15676
|
error,
|
|
15669
15677
|
cliVersion: cliVersion2,
|
|
@@ -15677,7 +15685,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
|
|
|
15677
15685
|
if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
|
|
15678
15686
|
handleFormatPanic(
|
|
15679
15687
|
() => {
|
|
15680
|
-
|
|
15688
|
+
import_chunk_KKG2ZZJE.prismaSchemaWasm.debug_panic();
|
|
15681
15689
|
},
|
|
15682
15690
|
{ schemas: schemas2 }
|
|
15683
15691
|
);
|
|
@@ -15697,12 +15705,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
|
|
|
15697
15705
|
() => {
|
|
15698
15706
|
const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
|
|
15699
15707
|
const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
|
|
15700
|
-
const lintDiagnostics2 = (0,
|
|
15708
|
+
const lintDiagnostics2 = (0, import_chunk_NBU7LQCG.lintSchema)({ schemas: formattedMultipleSchemas2 });
|
|
15701
15709
|
return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
|
|
15702
15710
|
},
|
|
15703
15711
|
{ schemas: schemas2 }
|
|
15704
15712
|
);
|
|
15705
|
-
const lintWarnings = (0,
|
|
15713
|
+
const lintWarnings = (0, import_chunk_NBU7LQCG.getLintWarningsAsText)(lintDiagnostics);
|
|
15706
15714
|
if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
|
|
15707
15715
|
console.warn(lintWarnings);
|
|
15708
15716
|
}
|
|
@@ -15732,7 +15740,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
|
|
|
15732
15740
|
}
|
|
15733
15741
|
}
|
|
15734
15742
|
function formatWasm(schema, documentFormattingParams) {
|
|
15735
|
-
const formattedSchema =
|
|
15743
|
+
const formattedSchema = import_chunk_KKG2ZZJE.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
|
|
15736
15744
|
return formattedSchema;
|
|
15737
15745
|
}
|
|
15738
15746
|
/*! Bundled license information:
|
|
@@ -26,24 +26,24 @@ 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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_HPF5G47V_exports = {};
|
|
30
|
+
__export(chunk_HPF5G47V_exports, {
|
|
31
31
|
locateLocalCloudflareD1: () => locateLocalCloudflareD1
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_HPF5G47V_exports);
|
|
34
34
|
var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
|
|
35
35
|
var import_chunk_KKMREGHN = require("./chunk-KKMREGHN.js");
|
|
36
36
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var import_node_path = __toESM(require("node:path"));
|
|
38
|
+
var import_node_process = __toESM(require("node:process"));
|
|
39
39
|
var import_fast_glob = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_KKMREGHN.require_out)());
|
|
40
40
|
var import_globby = (0, import_chunk_WWAWV7DQ.__toESM)((0, import_chunk_KKMREGHN.require_globby)());
|
|
41
|
-
var defaultD1DirPath =
|
|
41
|
+
var defaultD1DirPath = import_node_path.default.join(".wrangler", "state", "v3", "d1", "miniflare-D1DatabaseObject");
|
|
42
42
|
async function locateLocalCloudflareD1({ arg }) {
|
|
43
|
-
const cwd =
|
|
44
|
-
const d1DirPath =
|
|
43
|
+
const cwd = import_node_process.default.cwd();
|
|
44
|
+
const d1DirPath = import_node_path.default.posix.join(cwd, defaultD1DirPath);
|
|
45
45
|
const pathConverted = (0, import_fast_glob.convertPathToPattern)(d1DirPath);
|
|
46
|
-
const d1Databases = await (0, import_globby.default)(
|
|
46
|
+
const d1Databases = await (0, import_globby.default)(import_node_path.default.posix.join(pathConverted, "*.sqlite"), {});
|
|
47
47
|
if (d1Databases.length === 0) {
|
|
48
48
|
throw new Error(
|
|
49
49
|
`No Cloudflare D1 databases found in ${defaultD1DirPath}. Did you run \`wrangler d1 create <DATABASE_NAME>\` and \`wrangler dev\`?`
|
|
@@ -26,15 +26,15 @@ 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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_I4467NNA_exports = {};
|
|
30
|
+
__export(chunk_I4467NNA_exports, {
|
|
31
31
|
createDebugErrorType: () => createDebugErrorType,
|
|
32
32
|
createSchemaValidationError: () => createSchemaValidationError,
|
|
33
33
|
parseQueryEngineError: () => parseQueryEngineError,
|
|
34
34
|
unlinkTempDatamodelPath: () => unlinkTempDatamodelPath
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
37
|
-
var
|
|
36
|
+
module.exports = __toCommonJS(chunk_I4467NNA_exports);
|
|
37
|
+
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
38
38
|
var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
|
|
39
39
|
var import_chunk_H3T4L34H = require("./chunk-H3T4L34H.js");
|
|
40
40
|
var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
|
|
@@ -71,7 +71,7 @@ function parseQueryEngineError({ errorOutput, reason }) {
|
|
|
71
71
|
() => ({ _tag: "unparsed", message: errorOutput, reason })
|
|
72
72
|
),
|
|
73
73
|
(0, import_chunk_7MD6344A.map)((errorOutputAsJSON) => {
|
|
74
|
-
const defaultMessage = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)((0,
|
|
74
|
+
const defaultMessage = (0, import_chunk_PG5FDKSF.red)((0, import_chunk_PG5FDKSF.bold)((0, import_chunk_C47SCASR.relativizePathInPSLError)(errorOutputAsJSON.message)));
|
|
75
75
|
const getConfigErrorInit = (0, import_chunk_H3T4L34H.$)(errorOutputAsJSON).with({ error_code: "P1012" }, (eJSON) => {
|
|
76
76
|
return {
|
|
77
77
|
reason: createSchemaValidationError(reason),
|
|
@@ -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
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_K6DMP57P_exports = {};
|
|
20
|
+
__export(chunk_K6DMP57P_exports, {
|
|
21
21
|
addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
23
|
+
module.exports = __toCommonJS(chunk_K6DMP57P_exports);
|
|
24
|
+
var import_chunk_S34YTBDJ = require("./chunk-S34YTBDJ.js");
|
|
25
25
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
|
26
26
|
function addVersionDetailsToErrorMessage(message) {
|
|
27
|
-
const rows = [["Prisma CLI Version",
|
|
27
|
+
const rows = [["Prisma CLI Version", import_chunk_S34YTBDJ.version]];
|
|
28
28
|
return `${message}
|
|
29
29
|
|
|
30
30
|
${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
|
|
@@ -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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_KKG2ZZJE_exports = {};
|
|
30
|
+
__export(chunk_KKG2ZZJE_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(
|
|
36
|
-
var
|
|
35
|
+
module.exports = __toCommonJS(chunk_KKG2ZZJE_exports);
|
|
36
|
+
var import_chunk_VEODS3ZR = require("./chunk-VEODS3ZR.js");
|
|
37
37
|
var import_chunk_HOZFIXMD = require("./chunk-HOZFIXMD.js");
|
|
38
38
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.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,
|
|
45
|
+
var { dependencies } = (0, import_chunk_VEODS3ZR.require_package)();
|
|
46
46
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
|
47
47
|
globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_HOZFIXMD.WasmPanicRegistry();
|