@prisma/internals 6.6.0-dev.24 → 6.6.0-dev.25
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/Generator.js +3 -3
- package/dist/WasmPanicRegistry.js +3 -3
- package/dist/{chunk-YXD4CJDK.js → chunk-23MPYLL6.js} +27 -27
- package/dist/{chunk-WWAWV7DQ.js → chunk-2ESYSVXG.js} +3 -27
- package/dist/{chunk-LKTTJWFT.js → chunk-2R6DII47.js} +5 -5
- package/dist/{chunk-5SN5JBT2.js → chunk-2T4NJDHK.js} +22 -22
- package/dist/{chunk-7XNZDY2V.js → chunk-2WR3PY2L.js} +60 -60
- package/dist/{chunk-6TXVGFQA.js → chunk-4URMCTG6.js} +6 -6
- package/dist/{chunk-BVCREFE3.js → chunk-5UTAMENR.js} +9 -9
- package/dist/{chunk-OZ67AQ5E.js → chunk-64UA4UOO.js} +8 -8
- package/dist/{chunk-TZCE3PWZ.js → chunk-6TVEFPKE.js} +7 -7
- package/dist/{chunk-MGZOEY6N.js → chunk-72UZXEBG.js} +6 -6
- package/dist/{chunk-VRT7T6MF.js → chunk-BWGDP6B5.js} +94 -105
- package/dist/{chunk-7YOCMGWK.js → chunk-BXF4VTJQ.js} +5 -5
- package/dist/{chunk-ATFQZVBS.js → chunk-CCQRDM7X.js} +10 -11
- package/dist/{chunk-HFN2WZUJ.js → chunk-D6H2JDDL.js} +8 -8
- package/dist/{chunk-4PGRSJWB.js → chunk-DG6E4UCC.js} +18 -18
- package/dist/{chunk-PIPE5DSU.js → chunk-DGZO4GAJ.js} +6 -6
- package/dist/{chunk-ZYW3HGSH.js → chunk-DYVL6P7F.js} +7 -8
- package/dist/{chunk-77BIZNY2.js → chunk-EHJNNRXK.js} +18 -18
- package/dist/{chunk-NJQWZ447.js → chunk-EIERU2IM.js} +6 -6
- package/dist/{chunk-KTBNIQ7N.js → chunk-EORSBI5P.js} +8 -8
- package/dist/{chunk-77IC3DNO.js → chunk-ETNCBIDF.js} +8 -8
- package/dist/{chunk-CZL7DCL2.js → chunk-EWKNNPH2.js} +6 -6
- package/dist/{chunk-SHJNE6T7.js → chunk-F46BPOEO.js} +7 -7
- package/dist/{chunk-M7EVD7PF.js → chunk-FRH7ZI7P.js} +19 -19
- package/dist/{chunk-S57RMXZW.js → chunk-GHHABGYW.js} +5 -5
- package/dist/{chunk-JXWKKKDF.js → chunk-GQACUSUF.js} +319 -319
- package/dist/{chunk-CHMJ5V7I.js → chunk-H5XZKD22.js} +7 -7
- package/dist/{chunk-ONHKZPSV.js → chunk-IKQFIRRX.js} +6 -6
- package/dist/{chunk-AX46XUDV.js → chunk-IMI6TYQ4.js} +18 -18
- package/dist/{chunk-5Q4NYGQV.js → chunk-JFROJGHQ.js} +5 -5
- package/dist/{chunk-4E7A3GDU.js → chunk-KR25OQ6F.js} +5 -5
- package/dist/{chunk-XLGODPZH.js → chunk-KTB2HCCO.js} +10 -10
- package/dist/{chunk-C2WD2XUT.js → chunk-KYMYLH7F.js} +971 -988
- package/dist/{chunk-ZVRFFLZI.js → chunk-LE225BZ5.js} +5 -5
- package/dist/{chunk-I7IEEULS.js → chunk-LSYWDURQ.js} +5 -5
- package/dist/{chunk-AZNLB67U.js → chunk-MBB2KJWX.js} +5 -5
- package/dist/{chunk-3VBZ5DIO.js → chunk-MC6GX7HZ.js} +17 -17
- package/dist/{chunk-TATYN3T2.js → chunk-MM4PIVNT.js} +10 -10
- package/dist/{chunk-KQOJB3ZW.js → chunk-NLYH6XB4.js} +10 -10
- package/dist/{chunk-QKRZQKZ4.js → chunk-NM6AESCR.js} +5 -5
- package/dist/{chunk-5RV3EMX6.js → chunk-ORR3O5RU.js} +57 -57
- package/dist/{chunk-ZSBSOL5F.js → chunk-PG5DWXQ5.js} +319 -319
- package/dist/{chunk-Q22BLLK3.js → chunk-PORKIX5G.js} +6 -6
- package/dist/{chunk-ADLIKZEN.js → chunk-PS4DTKFB.js} +17 -17
- package/dist/{chunk-3LJ3PARU.js → chunk-QY3IYHB3.js} +19 -19
- package/dist/{chunk-FIFK6NVL.js → chunk-R2BUFXGK.js} +9 -9
- package/dist/{chunk-GXDYIY4M.js → chunk-RAYPCPVU.js} +56 -56
- package/dist/{chunk-Z5SL4ZNA.js → chunk-SU4VTBR6.js} +18 -18
- package/dist/{chunk-UNUCCAXA.js → chunk-SYCT2PLK.js} +5 -5
- package/dist/{chunk-Y3OWT3K2.js → chunk-T7EWI7A3.js} +7 -7
- package/dist/{chunk-ZKAW5JSN.js → chunk-UETN3RLH.js} +5 -5
- package/dist/{chunk-BGFWFIPR.js → chunk-UJ725NXW.js} +5 -5
- package/dist/{chunk-53LS3WUO.js → chunk-V37JTUKZ.js} +116 -116
- package/dist/{chunk-V2ZF7ETH.js → chunk-VLGS4WJI.js} +66 -68
- package/dist/{chunk-XLF2J4OH.js → chunk-VV44YB7T.js} +6 -6
- package/dist/{chunk-6HZ4Q3EX.js → chunk-VYDFN4XN.js} +5 -5
- package/dist/{chunk-5MCWLJSR.js → chunk-WEATFJ6G.js} +10 -10
- package/dist/{chunk-BPZFDGKN.js → chunk-WXRVYSYN.js} +4 -7
- package/dist/{chunk-L6GBFCXG.js → chunk-XXDGZSJ4.js} +12 -12
- package/dist/{chunk-3ERIN7PH.js → chunk-YBYBY7QI.js} +8 -8
- package/dist/{chunk-2MWIMEFK.js → chunk-Z4ALPGAK.js} +6 -6
- package/dist/{chunk-3BND5XB4.js → chunk-ZCVVZ6U6.js} +11 -11
- package/dist/{chunk-PFLLVWZX.js → chunk-ZGAIRZ32.js} +5 -5
- package/dist/cli/Help.js +1 -1
- package/dist/cli/checkUnsupportedDataProxy.js +55 -55
- package/dist/cli/getGeneratorSuccessMessage.js +1 -1
- package/dist/cli/getSchema.js +59 -59
- package/dist/cli/getTypescriptVersion.js +1 -1
- package/dist/cli/hashes.js +55 -55
- package/dist/cli/utils.js +5 -5
- package/dist/client/getClientEngineType.js +1 -1
- package/dist/convertCredentials.js +1 -1
- package/dist/dotenvExpand.js +1 -1
- package/dist/engine-commands/errorHelpers.js +5 -5
- package/dist/engine-commands/formatSchema.js +54 -54
- package/dist/engine-commands/getConfig.js +15 -15
- package/dist/engine-commands/getDmmf.js +12 -12
- package/dist/engine-commands/getEngineVersion.js +10 -10
- package/dist/engine-commands/getEnginesMetaInfo.js +13 -13
- package/dist/engine-commands/index.js +65 -65
- package/dist/engine-commands/lintSchema.js +11 -11
- package/dist/engine-commands/mergeSchemas.js +12 -12
- package/dist/engine-commands/queryEngineCommons.js +7 -7
- package/dist/engine-commands/relativizePathInPSLError.js +1 -1
- package/dist/engine-commands/validate.js +12 -12
- package/dist/errorReporting.js +7 -7
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +54 -54
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +7 -7
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +54 -54
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js +1 -1
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +1 -1
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +55 -55
- package/dist/get-generators/getGenerators.js +57 -57
- package/dist/get-generators/utils/binaryTypeToEngineType.js +1 -1
- package/dist/get-generators/utils/check-feature-flags/checkFeatureFlags.js +1 -1
- package/dist/get-generators/utils/engineTypeToBinaryType.js +1 -1
- package/dist/get-generators/utils/fixBinaryTargets.js +1 -1
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
- package/dist/get-generators/utils/getEngineVersionForGenerator.js +1 -1
- package/dist/get-generators/utils/printGeneratorConfig.js +7 -7
- package/dist/getPackedPackage.js +9 -9
- package/dist/highlight/highlight.js +1 -1
- package/dist/highlight/languages/dml.js +1 -1
- package/dist/highlight/languages/sql.js +1 -1
- package/dist/highlight/prism.js +1 -1
- package/dist/highlight/theme.js +1 -1
- package/dist/index.js +113 -113
- package/dist/logger.js +9 -9
- package/dist/{multipart-parser-32AROPTR.js → multipart-parser-3E7JBBYS.js} +7 -7
- package/dist/panic.js +7 -7
- package/dist/resolveBinary.js +9 -9
- package/dist/resolveOutput.js +1 -1
- package/dist/schemaEngineCommands.js +12 -12
- package/dist/sendPanic.js +54 -54
- package/dist/utils/__tests__/isCi.test.js +1 -1
- package/dist/utils/__tests__/isInteractive.test.js +1 -1
- package/dist/utils/__tests__/maskSchema.test.js +1 -1
- package/dist/utils/assertAlways.js +1 -1
- package/dist/utils/assertNever.js +1 -1
- package/dist/utils/binaryTargetRegex.js +1 -1
- package/dist/utils/byline.js +1 -1
- package/dist/utils/callOnce.js +1 -1
- package/dist/utils/callOnce.test.js +1 -1
- package/dist/utils/canPrompt.js +1 -1
- package/dist/utils/chmodPlusX.js +1 -1
- package/dist/utils/cloudflareD1.js +4 -4
- package/dist/utils/drawBox.js +1 -1
- package/dist/utils/extractPreviewFeatures.js +1 -1
- package/dist/utils/formatTable.js +1 -1
- package/dist/utils/formatms.js +1 -1
- package/dist/utils/fs-functional.js +12 -12
- package/dist/utils/fs-utils.js +9 -9
- package/dist/utils/getCommandWithExecutor.js +4 -4
- package/dist/utils/getEnvPaths.js +54 -54
- package/dist/utils/getGitHubIssueUrl.js +4 -4
- package/dist/utils/getMigrateConfigDir.js +1 -1
- package/dist/utils/getVersionFromPackageJson.js +4 -4
- package/dist/utils/handleEngineLoadingErrors.js +1 -1
- package/dist/utils/handlePanic.js +54 -54
- package/dist/utils/hasOwnProperty.js +1 -1
- package/dist/utils/isCi.js +1 -1
- package/dist/utils/isCurrentBinInstalledGlobally.js +3 -3
- package/dist/utils/isInContainer.js +1 -1
- package/dist/utils/isInNpmLifecycleHook.js +1 -1
- package/dist/utils/isInteractive.js +1 -1
- package/dist/utils/isPromiseLike.js +1 -1
- package/dist/utils/isValidJsIdentifier.js +4 -4
- package/dist/utils/keyBy.js +1 -1
- package/dist/utils/link.js +3 -3
- package/dist/utils/load.js +3 -3
- package/dist/utils/loadEnvFile.js +54 -54
- package/dist/utils/mapKeys.js +1 -1
- package/dist/utils/mapObjectValues.js +1 -1
- package/dist/utils/maskSchema.js +1 -1
- package/dist/utils/max.js +1 -1
- package/dist/utils/max.test.js +1 -1
- package/dist/utils/maybeInGitHook.js +1 -1
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/utils/now.js +1 -1
- package/dist/utils/omit.js +1 -1
- package/dist/utils/parseAWSNodejsRuntimeEnvVarVersion.js +1 -1
- package/dist/utils/parseEnvValue.js +1 -1
- package/dist/utils/path.js +1 -1
- package/dist/utils/path.test.js +1 -1
- package/dist/utils/pick.js +1 -1
- package/dist/utils/printConfigWarnings.js +1 -1
- package/dist/utils/prismaPostgres.js +1 -1
- package/dist/utils/prismaPostgres.test.js +1 -1
- package/dist/utils/schemaFileInput.js +1 -1
- package/dist/utils/serializeQueryEngineName.js +1 -1
- package/dist/utils/setClassName.js +1 -1
- package/dist/utils/toSchemasContainer.js +1 -1
- package/dist/utils/tryLoadEnvs.js +6 -6
- package/dist/utils/unique.js +1 -1
- package/dist/utils/vercelPkgPathRegex.js +1 -1
- package/dist/warnOnce.js +4 -4
- package/dist/wasm.js +6 -6
- package/package.json +8 -8
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_VLGS4WJI_exports = {};
|
20
|
+
__export(chunk_VLGS4WJI_exports, {
|
21
21
|
FormData: () => FormData,
|
22
22
|
fetch_blob_default: () => fetch_blob_default,
|
23
23
|
file_default: () => file_default,
|
24
24
|
formDataToBlob: () => formDataToBlob
|
25
25
|
});
|
26
|
-
module.exports = __toCommonJS(
|
27
|
-
var
|
26
|
+
module.exports = __toCommonJS(chunk_VLGS4WJI_exports);
|
27
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
28
28
|
var import_node_fs = require("node:fs");
|
29
|
-
var require_ponyfill_es2018 = (0,
|
29
|
+
var require_ponyfill_es2018 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
30
30
|
"../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports, module2) {
|
31
31
|
"use strict";
|
32
32
|
(function(global2, factory) {
|
@@ -574,7 +574,7 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
574
574
|
}
|
575
575
|
try {
|
576
576
|
return x2._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl;
|
577
|
-
} catch (
|
577
|
+
} catch (_a) {
|
578
578
|
return false;
|
579
579
|
}
|
580
580
|
}
|
@@ -1467,7 +1467,7 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
1467
1467
|
}
|
1468
1468
|
try {
|
1469
1469
|
return typeof value.aborted === "boolean";
|
1470
|
-
} catch (
|
1470
|
+
} catch (_a) {
|
1471
1471
|
return false;
|
1472
1472
|
}
|
1473
1473
|
}
|
@@ -1608,12 +1608,12 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
1608
1608
|
return true;
|
1609
1609
|
}
|
1610
1610
|
function WritableStreamAbort(stream, reason) {
|
1611
|
-
var
|
1611
|
+
var _a;
|
1612
1612
|
if (stream._state === "closed" || stream._state === "errored") {
|
1613
1613
|
return promiseResolvedWith(void 0);
|
1614
1614
|
}
|
1615
1615
|
stream._writableStreamController._abortReason = reason;
|
1616
|
-
(
|
1616
|
+
(_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
1617
1617
|
const state = stream._state;
|
1618
1618
|
if (state === "closed" || state === "errored") {
|
1619
1619
|
return promiseResolvedWith(void 0);
|
@@ -2343,7 +2343,7 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
2343
2343
|
try {
|
2344
2344
|
new ctor();
|
2345
2345
|
return true;
|
2346
|
-
} catch (
|
2346
|
+
} catch (_a) {
|
2347
2347
|
return false;
|
2348
2348
|
}
|
2349
2349
|
}
|
@@ -3399,7 +3399,7 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3399
3399
|
value: "size",
|
3400
3400
|
configurable: true
|
3401
3401
|
});
|
3402
|
-
} catch (
|
3402
|
+
} catch (_a) {
|
3403
3403
|
}
|
3404
3404
|
class ByteLengthQueuingStrategy {
|
3405
3405
|
constructor(options) {
|
@@ -3456,7 +3456,7 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3456
3456
|
value: "size",
|
3457
3457
|
configurable: true
|
3458
3458
|
});
|
3459
|
-
} catch (
|
3459
|
+
} catch (_a) {
|
3460
3460
|
}
|
3461
3461
|
class CountQueuingStrategy {
|
3462
3462
|
constructor(options) {
|
@@ -3835,18 +3835,18 @@ var require_ponyfill_es2018 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3835
3835
|
});
|
3836
3836
|
}
|
3837
3837
|
});
|
3838
|
-
var require_streams = (0,
|
3838
|
+
var require_streams = (0, import_chunk_2ESYSVXG.__commonJS)({
|
3839
3839
|
"../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/streams.cjs"() {
|
3840
3840
|
"use strict";
|
3841
3841
|
var POOL_SIZE2 = 65536;
|
3842
3842
|
if (!globalThis.ReadableStream) {
|
3843
3843
|
try {
|
3844
|
-
const process = (0,
|
3844
|
+
const process = (0, import_chunk_2ESYSVXG.__require)("node:process");
|
3845
3845
|
const { emitWarning } = process;
|
3846
3846
|
try {
|
3847
3847
|
process.emitWarning = () => {
|
3848
3848
|
};
|
3849
|
-
Object.assign(globalThis, (0,
|
3849
|
+
Object.assign(globalThis, (0, import_chunk_2ESYSVXG.__require)("node:stream/web"));
|
3850
3850
|
process.emitWarning = emitWarning;
|
3851
3851
|
} catch (error) {
|
3852
3852
|
process.emitWarning = emitWarning;
|
@@ -3857,9 +3857,9 @@ var require_streams = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3857
3857
|
}
|
3858
3858
|
}
|
3859
3859
|
try {
|
3860
|
-
const { Blob:
|
3861
|
-
if (
|
3862
|
-
|
3860
|
+
const { Blob: Blob3 } = (0, import_chunk_2ESYSVXG.__require)("buffer");
|
3861
|
+
if (Blob3 && !Blob3.prototype.stream) {
|
3862
|
+
Blob3.prototype.stream = function name(params) {
|
3863
3863
|
let position = 0;
|
3864
3864
|
const blob = this;
|
3865
3865
|
return new ReadableStream({
|
@@ -3880,12 +3880,12 @@ var require_streams = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3880
3880
|
}
|
3881
3881
|
}
|
3882
3882
|
});
|
3883
|
-
var require_node_domexception = (0,
|
3883
|
+
var require_node_domexception = (0, import_chunk_2ESYSVXG.__commonJS)({
|
3884
3884
|
"../../node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports, module2) {
|
3885
3885
|
"use strict";
|
3886
3886
|
if (!globalThis.DOMException) {
|
3887
3887
|
try {
|
3888
|
-
const { MessageChannel } = (0,
|
3888
|
+
const { MessageChannel } = (0, import_chunk_2ESYSVXG.__require)("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
|
3889
3889
|
port.postMessage(ab, [ab, ab]);
|
3890
3890
|
} catch (err) {
|
3891
3891
|
err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
|
@@ -3894,7 +3894,7 @@ var require_node_domexception = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3894
3894
|
module2.exports = globalThis.DOMException;
|
3895
3895
|
}
|
3896
3896
|
});
|
3897
|
-
var import_streams = (0,
|
3897
|
+
var import_streams = (0, import_chunk_2ESYSVXG.__toESM)(require_streams(), 1);
|
3898
3898
|
var POOL_SIZE = 65536;
|
3899
3899
|
async function* toIterator(parts, clone = true) {
|
3900
3900
|
for (const part of parts) {
|
@@ -3930,8 +3930,12 @@ async function* toIterator(parts, clone = true) {
|
|
3930
3930
|
}
|
3931
3931
|
}
|
3932
3932
|
}
|
3933
|
-
var
|
3934
|
-
|
3933
|
+
var _Blob = class Blob {
|
3934
|
+
/** @type {Array.<(Blob|Uint8Array)>} */
|
3935
|
+
#parts = [];
|
3936
|
+
#type = "";
|
3937
|
+
#size = 0;
|
3938
|
+
#endings = "transparent";
|
3935
3939
|
/**
|
3936
3940
|
* The Blob() constructor returns a new Blob object. The content
|
3937
3941
|
* of the blob consists of the concatenation of the values given
|
@@ -3941,10 +3945,6 @@ var _Blob = (_a = class {
|
|
3941
3945
|
* @param {{ type?: string, endings?: string }} [options]
|
3942
3946
|
*/
|
3943
3947
|
constructor(blobParts = [], options = {}) {
|
3944
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _parts, []);
|
3945
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _type, "");
|
3946
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _size, 0);
|
3947
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _endings, "transparent");
|
3948
3948
|
if (typeof blobParts !== "object" || blobParts === null) {
|
3949
3949
|
throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
|
3950
3950
|
}
|
@@ -3962,30 +3962,30 @@ var _Blob = (_a = class {
|
|
3962
3962
|
part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength));
|
3963
3963
|
} else if (element instanceof ArrayBuffer) {
|
3964
3964
|
part = new Uint8Array(element.slice(0));
|
3965
|
-
} else if (element instanceof
|
3965
|
+
} else if (element instanceof Blob) {
|
3966
3966
|
part = element;
|
3967
3967
|
} else {
|
3968
3968
|
part = encoder.encode(`${element}`);
|
3969
3969
|
}
|
3970
|
-
|
3971
|
-
|
3970
|
+
this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size;
|
3971
|
+
this.#parts.push(part);
|
3972
3972
|
}
|
3973
|
-
|
3973
|
+
this.#endings = `${options.endings === void 0 ? "transparent" : options.endings}`;
|
3974
3974
|
const type = options.type === void 0 ? "" : String(options.type);
|
3975
|
-
|
3975
|
+
this.#type = /^[\x20-\x7E]*$/.test(type) ? type : "";
|
3976
3976
|
}
|
3977
3977
|
/**
|
3978
3978
|
* The Blob interface's size property returns the
|
3979
3979
|
* size of the Blob in bytes.
|
3980
3980
|
*/
|
3981
3981
|
get size() {
|
3982
|
-
return
|
3982
|
+
return this.#size;
|
3983
3983
|
}
|
3984
3984
|
/**
|
3985
3985
|
* The type property of a Blob object returns the MIME type of the file.
|
3986
3986
|
*/
|
3987
3987
|
get type() {
|
3988
|
-
return
|
3988
|
+
return this.#type;
|
3989
3989
|
}
|
3990
3990
|
/**
|
3991
3991
|
* The text() method in the Blob interface returns a Promise
|
@@ -3997,7 +3997,7 @@ var _Blob = (_a = class {
|
|
3997
3997
|
async text() {
|
3998
3998
|
const decoder = new TextDecoder();
|
3999
3999
|
let str = "";
|
4000
|
-
for await (const part of toIterator(
|
4000
|
+
for await (const part of toIterator(this.#parts, false)) {
|
4001
4001
|
str += decoder.decode(part, { stream: true });
|
4002
4002
|
}
|
4003
4003
|
str += decoder.decode();
|
@@ -4013,14 +4013,14 @@ var _Blob = (_a = class {
|
|
4013
4013
|
async arrayBuffer() {
|
4014
4014
|
const data = new Uint8Array(this.size);
|
4015
4015
|
let offset = 0;
|
4016
|
-
for await (const chunk of toIterator(
|
4016
|
+
for await (const chunk of toIterator(this.#parts, false)) {
|
4017
4017
|
data.set(chunk, offset);
|
4018
4018
|
offset += chunk.length;
|
4019
4019
|
}
|
4020
4020
|
return data.buffer;
|
4021
4021
|
}
|
4022
4022
|
stream() {
|
4023
|
-
const it = toIterator(
|
4023
|
+
const it = toIterator(this.#parts, true);
|
4024
4024
|
return new globalThis.ReadableStream({
|
4025
4025
|
// @ts-ignore
|
4026
4026
|
type: "bytes",
|
@@ -4047,7 +4047,7 @@ var _Blob = (_a = class {
|
|
4047
4047
|
let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size);
|
4048
4048
|
let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size);
|
4049
4049
|
const span = Math.max(relativeEnd - relativeStart, 0);
|
4050
|
-
const parts =
|
4050
|
+
const parts = this.#parts;
|
4051
4051
|
const blobParts = [];
|
4052
4052
|
let added = 0;
|
4053
4053
|
for (const part of parts) {
|
@@ -4072,9 +4072,9 @@ var _Blob = (_a = class {
|
|
4072
4072
|
relativeStart = 0;
|
4073
4073
|
}
|
4074
4074
|
}
|
4075
|
-
const blob = new
|
4076
|
-
|
4077
|
-
|
4075
|
+
const blob = new Blob([], { type: String(type).toLowerCase() });
|
4076
|
+
blob.#size = span;
|
4077
|
+
blob.#parts = blobParts;
|
4078
4078
|
return blob;
|
4079
4079
|
}
|
4080
4080
|
get [Symbol.toStringTag]() {
|
@@ -4083,16 +4083,17 @@ var _Blob = (_a = class {
|
|
4083
4083
|
static [Symbol.hasInstance](object) {
|
4084
4084
|
return object && typeof object === "object" && typeof object.constructor === "function" && (typeof object.stream === "function" || typeof object.arrayBuffer === "function") && /^(Blob|File)$/.test(object[Symbol.toStringTag]);
|
4085
4085
|
}
|
4086
|
-
}
|
4086
|
+
};
|
4087
4087
|
Object.defineProperties(_Blob.prototype, {
|
4088
4088
|
size: { enumerable: true },
|
4089
4089
|
type: { enumerable: true },
|
4090
4090
|
slice: { enumerable: true }
|
4091
4091
|
});
|
4092
|
-
var
|
4093
|
-
var fetch_blob_default =
|
4094
|
-
var
|
4095
|
-
|
4092
|
+
var Blob2 = _Blob;
|
4093
|
+
var fetch_blob_default = Blob2;
|
4094
|
+
var _File = class File extends fetch_blob_default {
|
4095
|
+
#lastModified = 0;
|
4096
|
+
#name = "";
|
4096
4097
|
/**
|
4097
4098
|
* @param {*[]} fileBits
|
4098
4099
|
* @param {string} fileName
|
@@ -4104,20 +4105,18 @@ var _File = (_a2 = class extends fetch_blob_default {
|
|
4104
4105
|
throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);
|
4105
4106
|
}
|
4106
4107
|
super(fileBits, options);
|
4107
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _lastModified, 0);
|
4108
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _name, "");
|
4109
4108
|
if (options === null) options = {};
|
4110
4109
|
const lastModified = options.lastModified === void 0 ? Date.now() : Number(options.lastModified);
|
4111
4110
|
if (!Number.isNaN(lastModified)) {
|
4112
|
-
|
4111
|
+
this.#lastModified = lastModified;
|
4113
4112
|
}
|
4114
|
-
|
4113
|
+
this.#name = String(fileName);
|
4115
4114
|
}
|
4116
4115
|
get name() {
|
4117
|
-
return
|
4116
|
+
return this.#name;
|
4118
4117
|
}
|
4119
4118
|
get lastModified() {
|
4120
|
-
return
|
4119
|
+
return this.#lastModified;
|
4121
4120
|
}
|
4122
4121
|
get [Symbol.toStringTag]() {
|
4123
4122
|
return "File";
|
@@ -4125,9 +4124,9 @@ var _File = (_a2 = class extends fetch_blob_default {
|
|
4125
4124
|
static [Symbol.hasInstance](object) {
|
4126
4125
|
return !!object && object instanceof fetch_blob_default && /^(File)$/.test(object[Symbol.toStringTag]);
|
4127
4126
|
}
|
4128
|
-
}
|
4129
|
-
var
|
4130
|
-
var file_default =
|
4127
|
+
};
|
4128
|
+
var File2 = _File;
|
4129
|
+
var file_default = File2;
|
4131
4130
|
var { toStringTag: t, iterator: i, hasInstance: h } = Symbol;
|
4132
4131
|
var r = Math.random;
|
4133
4132
|
var m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(",");
|
@@ -4138,10 +4137,9 @@ var x = (n, a, e2) => {
|
|
4138
4137
|
throw new TypeError(`Failed to execute '${n}' on 'FormData': ${e2} arguments required, but only ${a.length} present.`);
|
4139
4138
|
}
|
4140
4139
|
};
|
4141
|
-
var
|
4142
|
-
|
4140
|
+
var FormData = class FormData2 {
|
4141
|
+
#d = [];
|
4143
4142
|
constructor(...a) {
|
4144
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _d, []);
|
4145
4143
|
if (a.length) throw new TypeError(`Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.`);
|
4146
4144
|
}
|
4147
4145
|
get [t]() {
|
@@ -4155,30 +4153,30 @@ var FormData = (_a3 = class {
|
|
4155
4153
|
}
|
4156
4154
|
append(...a) {
|
4157
4155
|
x("append", arguments, 2);
|
4158
|
-
|
4156
|
+
this.#d.push(f(...a));
|
4159
4157
|
}
|
4160
4158
|
delete(a) {
|
4161
4159
|
x("delete", arguments, 1);
|
4162
4160
|
a += "";
|
4163
|
-
|
4161
|
+
this.#d = this.#d.filter(([b]) => b !== a);
|
4164
4162
|
}
|
4165
4163
|
get(a) {
|
4166
4164
|
x("get", arguments, 1);
|
4167
4165
|
a += "";
|
4168
|
-
for (var b =
|
4166
|
+
for (var b = this.#d, l = b.length, c = 0; c < l; c++) if (b[c][0] === a) return b[c][1];
|
4169
4167
|
return null;
|
4170
4168
|
}
|
4171
4169
|
getAll(a, b) {
|
4172
4170
|
x("getAll", arguments, 1);
|
4173
4171
|
b = [];
|
4174
4172
|
a += "";
|
4175
|
-
|
4173
|
+
this.#d.forEach((c) => c[0] === a && b.push(c[1]));
|
4176
4174
|
return b;
|
4177
4175
|
}
|
4178
4176
|
has(a) {
|
4179
4177
|
x("has", arguments, 1);
|
4180
4178
|
a += "";
|
4181
|
-
return
|
4179
|
+
return this.#d.some((b) => b[0] === a);
|
4182
4180
|
}
|
4183
4181
|
forEach(a, b) {
|
4184
4182
|
x("forEach", arguments, 1);
|
@@ -4188,14 +4186,14 @@ var FormData = (_a3 = class {
|
|
4188
4186
|
x("set", arguments, 2);
|
4189
4187
|
var b = [], c = true;
|
4190
4188
|
a = f(...a);
|
4191
|
-
|
4189
|
+
this.#d.forEach((d) => {
|
4192
4190
|
d[0] === a[0] ? c && (c = !b.push(a)) : b.push(d);
|
4193
4191
|
});
|
4194
4192
|
c && b.push(a);
|
4195
|
-
|
4193
|
+
this.#d = b;
|
4196
4194
|
}
|
4197
4195
|
*entries() {
|
4198
|
-
yield*
|
4196
|
+
yield* this.#d;
|
4199
4197
|
}
|
4200
4198
|
*keys() {
|
4201
4199
|
for (var [a] of this) yield a;
|
@@ -4203,7 +4201,7 @@ var FormData = (_a3 = class {
|
|
4203
4201
|
*values() {
|
4204
4202
|
for (var [, a] of this) yield a;
|
4205
4203
|
}
|
4206
|
-
}
|
4204
|
+
};
|
4207
4205
|
function formDataToBlob(F, B = fetch_blob_default) {
|
4208
4206
|
var b = `${r()}${r()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), c = [], p = `--${b}\r
|
4209
4207
|
Content-Disposition: form-data; name="`;
|
@@ -4217,7 +4215,7 @@ Content-Type: ${v.type || "application/octet-stream"}\r
|
|
4217
4215
|
c.push(`--${b}--`);
|
4218
4216
|
return new B(c, { type: "multipart/form-data; boundary=" + b });
|
4219
4217
|
}
|
4220
|
-
var import_node_domexception = (0,
|
4218
|
+
var import_node_domexception = (0, import_chunk_2ESYSVXG.__toESM)(require_node_domexception(), 1);
|
4221
4219
|
var { stat } = import_node_fs.promises;
|
4222
4220
|
/*! Bundled license information:
|
4223
4221
|
|
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_VV44YB7T_exports = {};
|
20
|
+
__export(chunk_VV44YB7T_exports, {
|
21
21
|
require_package: () => require_package
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
25
|
-
var require_package = (0,
|
23
|
+
module.exports = __toCommonJS(chunk_VV44YB7T_exports);
|
24
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
25
|
+
var require_package = (0, import_chunk_2ESYSVXG.__commonJS)({
|
26
26
|
"package.json"(exports, module2) {
|
27
27
|
module2.exports = {
|
28
28
|
name: "@prisma/internals",
|
29
|
-
version: "6.6.0-dev.
|
29
|
+
version: "6.6.0-dev.25",
|
30
30
|
description: "This package is intended for Prisma's internal use",
|
31
31
|
main: "dist/index.js",
|
32
32
|
types: "dist/index.d.ts",
|
@@ -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_VYDFN4XN_exports = {};
|
20
|
+
__export(chunk_VYDFN4XN_exports, {
|
21
21
|
addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
23
|
+
module.exports = __toCommonJS(chunk_VYDFN4XN_exports);
|
24
|
+
var import_chunk_BXF4VTJQ = require("./chunk-BXF4VTJQ.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_BXF4VTJQ.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_WEATFJ6G_exports = {};
|
30
|
+
__export(chunk_WEATFJ6G_exports, {
|
31
31
|
isCurrentBinInstalledGlobally: () => isCurrentBinInstalledGlobally
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
34
|
-
var
|
33
|
+
module.exports = __toCommonJS(chunk_WEATFJ6G_exports);
|
34
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
35
35
|
var import_fs = __toESM(require("fs"));
|
36
|
-
var require_ini = (0,
|
36
|
+
var require_ini = (0, import_chunk_2ESYSVXG.__commonJS)({
|
37
37
|
"../../node_modules/.pnpm/ini@2.0.0/node_modules/ini/ini.js"(exports, module2) {
|
38
38
|
"use strict";
|
39
39
|
var { hasOwnProperty } = Object.prototype;
|
@@ -186,12 +186,12 @@ var require_ini = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
186
186
|
};
|
187
187
|
}
|
188
188
|
});
|
189
|
-
var require_global_dirs = (0,
|
189
|
+
var require_global_dirs = (0, import_chunk_2ESYSVXG.__commonJS)({
|
190
190
|
"../../node_modules/.pnpm/global-dirs@4.0.0/node_modules/global-dirs/index.js"(exports) {
|
191
191
|
"use strict";
|
192
|
-
var path = (0,
|
193
|
-
var os = (0,
|
194
|
-
var fs2 = (0,
|
192
|
+
var path = (0, import_chunk_2ESYSVXG.__require)("path");
|
193
|
+
var os = (0, import_chunk_2ESYSVXG.__require)("os");
|
194
|
+
var fs2 = (0, import_chunk_2ESYSVXG.__require)("fs");
|
195
195
|
var ini = require_ini();
|
196
196
|
var isWindows = process.platform === "win32";
|
197
197
|
var readRc = (filePath) => {
|
@@ -282,7 +282,7 @@ var require_global_dirs = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
282
282
|
exports.yarn.binaries = path.join(exports.yarn.packages, ".bin");
|
283
283
|
}
|
284
284
|
});
|
285
|
-
var import_global_dirs = (0,
|
285
|
+
var import_global_dirs = (0, import_chunk_2ESYSVXG.__toESM)(require_global_dirs());
|
286
286
|
function isCurrentBinInstalledGlobally() {
|
287
287
|
try {
|
288
288
|
const realPrismaPath = import_fs.default.realpathSync(process.argv[1]);
|
@@ -16,16 +16,13 @@ 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_WXRVYSYN_exports = {};
|
20
|
+
__export(chunk_WXRVYSYN_exports, {
|
21
21
|
WasmPanicRegistry: () => WasmPanicRegistry
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
23
|
+
module.exports = __toCommonJS(chunk_WXRVYSYN_exports);
|
25
24
|
var WasmPanicRegistry = class {
|
26
|
-
|
27
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "message", "");
|
28
|
-
}
|
25
|
+
message = "";
|
29
26
|
get() {
|
30
27
|
return `${this.message}`;
|
31
28
|
}
|
@@ -16,14 +16,14 @@ 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_XXDGZSJ4_exports = {};
|
20
|
+
__export(chunk_XXDGZSJ4_exports, {
|
21
21
|
link: () => link
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(chunk_XXDGZSJ4_exports);
|
24
24
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
25
|
-
var
|
26
|
-
var require_ansi_escapes = (0,
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
26
|
+
var require_ansi_escapes = (0, import_chunk_2ESYSVXG.__commonJS)({
|
27
27
|
"../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports, module2) {
|
28
28
|
"use strict";
|
29
29
|
var ansiEscapes = module2.exports;
|
@@ -148,7 +148,7 @@ var require_ansi_escapes = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
148
148
|
};
|
149
149
|
}
|
150
150
|
});
|
151
|
-
var require_has_flag = (0,
|
151
|
+
var require_has_flag = (0, import_chunk_2ESYSVXG.__commonJS)({
|
152
152
|
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
153
153
|
"use strict";
|
154
154
|
module2.exports = (flag, argv = process.argv) => {
|
@@ -159,11 +159,11 @@ var require_has_flag = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
159
159
|
};
|
160
160
|
}
|
161
161
|
});
|
162
|
-
var require_supports_color = (0,
|
162
|
+
var require_supports_color = (0, import_chunk_2ESYSVXG.__commonJS)({
|
163
163
|
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module2) {
|
164
164
|
"use strict";
|
165
|
-
var os = (0,
|
166
|
-
var tty = (0,
|
165
|
+
var os = (0, import_chunk_2ESYSVXG.__require)("os");
|
166
|
+
var tty = (0, import_chunk_2ESYSVXG.__require)("tty");
|
167
167
|
var hasFlag = require_has_flag();
|
168
168
|
var { env } = process;
|
169
169
|
var forceColor;
|
@@ -259,7 +259,7 @@ var require_supports_color = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
259
259
|
};
|
260
260
|
}
|
261
261
|
});
|
262
|
-
var require_supports_hyperlinks = (0,
|
262
|
+
var require_supports_hyperlinks = (0, import_chunk_2ESYSVXG.__commonJS)({
|
263
263
|
"../../node_modules/.pnpm/supports-hyperlinks@2.3.0/node_modules/supports-hyperlinks/index.js"(exports, module2) {
|
264
264
|
"use strict";
|
265
265
|
var supportsColor = require_supports_color();
|
@@ -339,7 +339,7 @@ var require_supports_hyperlinks = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
339
339
|
};
|
340
340
|
}
|
341
341
|
});
|
342
|
-
var require_terminal_link = (0,
|
342
|
+
var require_terminal_link = (0, import_chunk_2ESYSVXG.__commonJS)({
|
343
343
|
"../../node_modules/.pnpm/terminal-link@2.1.1/node_modules/terminal-link/index.js"(exports, module2) {
|
344
344
|
"use strict";
|
345
345
|
var ansiEscapes = require_ansi_escapes();
|
@@ -359,7 +359,7 @@ var require_terminal_link = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
359
359
|
module2.exports.stderr.isSupported = supportsHyperlinks.stderr;
|
360
360
|
}
|
361
361
|
});
|
362
|
-
var import_terminal_link = (0,
|
362
|
+
var import_terminal_link = (0, import_chunk_2ESYSVXG.__toESM)(require_terminal_link());
|
363
363
|
function link(url) {
|
364
364
|
return (0, import_terminal_link.default)(url, url, {
|
365
365
|
fallback: (url2) => (0, import_chunk_PG5FDKSF.underline)(url2)
|
@@ -26,28 +26,28 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_YBYBY7QI_exports = {};
|
30
|
+
__export(chunk_YBYBY7QI_exports, {
|
31
31
|
BinaryType: () => import_fetch_engine.BinaryType,
|
32
32
|
engineEnvVarMap: () => import_fetch_engine.engineEnvVarMap,
|
33
33
|
maybeCopyToTmp: () => maybeCopyToTmp,
|
34
34
|
resolveBinary: () => resolveBinary,
|
35
35
|
safeResolveBinary: () => safeResolveBinary
|
36
36
|
});
|
37
|
-
module.exports = __toCommonJS(
|
38
|
-
var
|
37
|
+
module.exports = __toCommonJS(chunk_YBYBY7QI_exports);
|
38
|
+
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
39
39
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
40
40
|
var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
|
41
41
|
var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
|
42
|
-
var
|
43
|
-
var
|
42
|
+
var import_chunk_6TVEFPKE = require("./chunk-6TVEFPKE.js");
|
43
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
44
44
|
var import_engines = require("@prisma/engines");
|
45
45
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
46
46
|
var import_get_platform = require("@prisma/get-platform");
|
47
47
|
var import_fs = __toESM2(require("fs"));
|
48
48
|
var import_path = __toESM2(require("path"));
|
49
|
-
var import_fs_extra = (0,
|
50
|
-
var import_temp_dir = (0,
|
49
|
+
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_RAYPCPVU.require_lib)());
|
50
|
+
var import_temp_dir = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_6TVEFPKE.require_temp_dir)());
|
51
51
|
async function getBinaryName(name) {
|
52
52
|
const binaryTarget = await (0, import_get_platform.getBinaryTargetForCurrentPlatform)();
|
53
53
|
const extension = binaryTarget === "windows" ? ".exe" : "";
|
@@ -16,14 +16,14 @@ 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_Z4ALPGAK_exports = {};
|
20
|
+
__export(chunk_Z4ALPGAK_exports, {
|
21
21
|
missingGeneratorMessage: () => missingGeneratorMessage,
|
22
22
|
missingModelMessage: () => missingModelMessage,
|
23
23
|
missingModelMessageMongoDB: () => missingModelMessageMongoDB
|
24
24
|
});
|
25
|
-
module.exports = __toCommonJS(
|
26
|
-
var
|
25
|
+
module.exports = __toCommonJS(chunk_Z4ALPGAK_exports);
|
26
|
+
var import_chunk_XXDGZSJ4 = require("./chunk-XXDGZSJ4.js");
|
27
27
|
var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
|
28
28
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
29
29
|
var missingGeneratorMessage = `
|
@@ -52,7 +52,7 @@ ${(0, import_chunk_PG5FDKSF.bold)(
|
|
52
52
|
)}
|
53
53
|
|
54
54
|
More information in our documentation:
|
55
|
-
${(0,
|
55
|
+
${(0, import_chunk_XXDGZSJ4.link)("https://pris.ly/d/prisma-schema")}
|
56
56
|
`;
|
57
57
|
var missingModelMessageMongoDB = `
|
58
58
|
You don't have any ${(0, import_chunk_PG5FDKSF.bold)("models")} defined in your ${(0, import_chunk_PG5FDKSF.bold)(
|
@@ -69,5 +69,5 @@ ${(0, import_chunk_PG5FDKSF.bold)(
|
|
69
69
|
)}
|
70
70
|
|
71
71
|
More information in our documentation:
|
72
|
-
${(0,
|
72
|
+
${(0, import_chunk_XXDGZSJ4.link)("https://pris.ly/d/prisma-schema")}
|
73
73
|
`;
|