@prisma/internals 6.6.0-integration-mcp.2 → 6.6.0-integration-engines-6-6-0-28-feat-orm-596-expose-model-grouping-on-dmmf-600968a1f46d3d8626cdd2c933cf04e50eb5219b.1
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-OUQPIJFQ.js → chunk-22EGD6IG.js} +5 -5
- package/dist/{chunk-4KCLNFE4.js → chunk-2OVH6HWL.js} +5 -5
- package/dist/{chunk-2LDG4PID.js → chunk-2QTAK7KO.js} +5 -5
- package/dist/{chunk-SAAMENIS.js → chunk-3DQANJMY.js} +7 -7
- package/dist/{chunk-WOIJKMTZ.js → chunk-43UGZNTO.js} +8 -8
- package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
- package/dist/{chunk-AP52B62F.js → chunk-5O4NBBJI.js} +5 -5
- package/dist/{chunk-UB2X7DGZ.js → chunk-75BIJ5PX.js} +9 -9
- package/dist/{chunk-ORPBIAE5.js → chunk-CMW6HZDU.js} +8 -8
- package/dist/{chunk-IRWX4FCC.js → chunk-D4VDA2TZ.js} +6 -6
- package/dist/{chunk-PING5S2U.js → chunk-DA4QI734.js} +8 -8
- package/dist/{chunk-EKESIUIK.js → chunk-DKSUHQGA.js} +7 -7
- package/dist/{chunk-2I3VYCA7.js → chunk-EPXBOIA5.js} +5 -5
- package/dist/{chunk-WF5LZFJS.js → chunk-ETYWYJBX.js} +12 -12
- package/dist/{chunk-PE6DXWOX.js → chunk-EWWOTVR3.js} +6 -6
- package/dist/{chunk-AXD7KB4D.js → chunk-HG3YOAAE.js} +5 -5
- package/dist/{chunk-SNSJWJTA.js → chunk-HX5W4SCI.js} +5 -5
- package/dist/{chunk-IWTEX7EE.js → chunk-IDINCQMN.js} +780 -9
- package/dist/{chunk-VYJSNZF3.js → chunk-J3O4XZ7J.js} +4 -4
- package/dist/{chunk-2LOGW45F.js → chunk-JOIIWB3U.js} +33 -68
- package/dist/{chunk-R45GQNKO.js → chunk-JZZSOWXW.js} +34 -34
- package/dist/{chunk-R4ZFFYJA.js → chunk-K5W6WZ6E.js} +2734 -238
- package/dist/{chunk-3GYXMWBM.js → chunk-KB5DKCI4.js} +7 -7
- package/dist/{chunk-5CBAXTAF.js → chunk-KW6PI3YM.js} +5 -5
- package/dist/{chunk-FAPPXX7W.js → chunk-KZUP4IKB.js} +8 -8
- package/dist/{chunk-Q2IBLC6D.js → chunk-M2W57BOY.js} +5 -5
- package/dist/{chunk-XMVJRTN5.js → chunk-NTBV3KBV.js} +5 -5
- package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
- package/dist/{chunk-UFYFNNCN.js → chunk-PXGVSB23.js} +8 -8
- package/dist/{chunk-OQ2NRV2Y.js → chunk-QGJH4P4N.js} +5 -5
- package/dist/{chunk-VTJOX6HO.js → chunk-QL54PJRG.js} +5 -5
- package/dist/{chunk-GV244NDE.js → chunk-R6H7JFKF.js} +7 -7
- package/dist/{chunk-XRBOJLES.js → chunk-SQ26IK6J.js} +5 -5
- package/dist/{chunk-MXAUURHG.js → chunk-TQFONRJP.js} +5 -5
- package/dist/{chunk-LWBLVV7Y.js → chunk-TRBKQBUW.js} +8 -8
- package/dist/{chunk-RABVZXRU.js → chunk-VLCSUQ2Q.js} +7 -7
- package/dist/{chunk-URRVX2VQ.js → chunk-VVPSLVOR.js} +4 -3
- package/dist/{chunk-PWGQKUJW.js → chunk-XLCZOLXP.js} +34 -34
- package/dist/{chunk-SUOMIRLO.js → chunk-YR5KNFKN.js} +6 -6
- package/dist/cli/checkUnsupportedDataProxy.js +31 -32
- package/dist/cli/getSchema.js +34 -35
- package/dist/cli/hashes.js +31 -32
- package/dist/cli/schemaContext.js +31 -32
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +30 -31
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/getEngineVersion.js +6 -7
- package/dist/engine-commands/getEnginesMetaInfo.js +8 -9
- package/dist/engine-commands/index.js +41 -42
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +7 -7
- package/dist/engine-commands/validate.js +7 -7
- package/dist/errorReporting.js +6 -6
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +30 -31
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +3 -3
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +3 -3
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +30 -31
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +3 -3
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +31 -32
- package/dist/get-generators/getGenerators.js +33 -34
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -4
- package/dist/getPackedPackage.js +4 -5
- package/dist/index.js +72 -73
- package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
- package/dist/resolveBinary.js +7 -8
- package/dist/schemaEngineCommands.js +9 -10
- package/dist/sendPanic.js +4 -4
- package/dist/utils/cloudflareD1.js +3 -3
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getEnvPaths.js +30 -31
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +5 -5
- package/dist/utils/loadEnvFile.js +30 -31
- package/dist/wasm.js +4 -4
- package/package.json +11 -11
- package/dist/chunk-DYV47NUW.js +0 -796
@@ -16,20 +16,20 @@ 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_22EGD6IG_exports = {};
|
20
|
+
__export(chunk_22EGD6IG_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(
|
28
|
-
var
|
27
|
+
module.exports = __toCommonJS(chunk_22EGD6IG_exports);
|
28
|
+
var import_chunk_2OVH6HWL = require("./chunk-2OVH6HWL.js");
|
29
29
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
30
30
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
31
31
|
function lintSchema({ schemas }) {
|
32
|
-
const lintResult =
|
32
|
+
const lintResult = import_chunk_2OVH6HWL.prismaSchemaWasm.lint(JSON.stringify(schemas));
|
33
33
|
const lintDiagnostics = JSON.parse(lintResult);
|
34
34
|
return lintDiagnostics;
|
35
35
|
}
|
@@ -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_2OVH6HWL_exports = {};
|
30
|
+
__export(chunk_2OVH6HWL_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_2OVH6HWL_exports);
|
36
|
+
var import_chunk_SQ26IK6J = require("./chunk-SQ26IK6J.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,
|
45
|
+
var { dependencies } = (0, import_chunk_SQ26IK6J.require_package)();
|
46
46
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
47
47
|
globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
|
@@ -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_2QTAK7KO_exports = {};
|
30
|
+
__export(chunk_2QTAK7KO_exports, {
|
31
31
|
handlePanic: () => handlePanic
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_2QTAK7KO_exports);
|
34
34
|
var import_chunk_HAGJ64PM = require("./chunk-HAGJ64PM.js");
|
35
35
|
var import_chunk_FXMGS3L5 = require("./chunk-FXMGS3L5.js");
|
36
36
|
var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
|
37
|
-
var
|
37
|
+
var import_chunk_YR5KNFKN = require("./chunk-YR5KNFKN.js");
|
38
38
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
39
39
|
var import_prompts = __toESM(require("prompts"));
|
40
40
|
async function handlePanic(args) {
|
@@ -79,7 +79,7 @@ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_HAGJ64PM.link)(
|
|
79
79
|
if (shouldSubmitReport) {
|
80
80
|
try {
|
81
81
|
console.log("Submitting...");
|
82
|
-
const reportId = await (0,
|
82
|
+
const reportId = await (0, import_chunk_YR5KNFKN.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
|
83
83
|
console.log(`
|
84
84
|
${(0, import_chunk_PG5FDKSF.bold)(`We successfully received the error report id: ${reportId}`)}`);
|
85
85
|
console.log(`
|
@@ -16,26 +16,26 @@ 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_3DQANJMY_exports = {};
|
20
|
+
__export(chunk_3DQANJMY_exports, {
|
21
21
|
getEngineVersion: () => getEngineVersion,
|
22
22
|
safeGetEngineVersion: () => safeGetEngineVersion
|
23
23
|
});
|
24
|
-
module.exports = __toCommonJS(
|
24
|
+
module.exports = __toCommonJS(chunk_3DQANJMY_exports);
|
25
25
|
var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
|
26
|
-
var
|
27
|
-
var
|
26
|
+
var import_chunk_ETYWYJBX = require("./chunk-ETYWYJBX.js");
|
27
|
+
var import_chunk_HG3YOAAE = require("./chunk-HG3YOAAE.js");
|
28
28
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
29
29
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
30
30
|
var import_engines = require("@prisma/engines");
|
31
31
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
32
32
|
var import_get_platform = require("@prisma/get-platform");
|
33
|
-
var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
33
|
+
var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_ETYWYJBX.require_execa)());
|
34
34
|
async function getEngineVersion(enginePath, binaryName) {
|
35
35
|
if (!binaryName) {
|
36
36
|
binaryName = (0, import_engines.getCliQueryEngineBinaryType)();
|
37
37
|
}
|
38
|
-
enginePath = await (0,
|
38
|
+
enginePath = await (0, import_chunk_HG3YOAAE.resolveBinary)(binaryName, enginePath);
|
39
39
|
const platformInfo = await (0, import_get_platform.getPlatformInfo)();
|
40
40
|
if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
|
41
41
|
(0, import_get_platform.assertNodeAPISupported)();
|
@@ -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
|
30
|
-
__export(
|
29
|
+
var chunk_43UGZNTO_exports = {};
|
30
|
+
__export(chunk_43UGZNTO_exports, {
|
31
31
|
GetDmmfError: () => GetDmmfError,
|
32
32
|
getDMMF: () => getDMMF
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(chunk_43UGZNTO_exports);
|
35
35
|
var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
|
36
36
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
37
|
-
var
|
38
|
-
var
|
37
|
+
var import_chunk_5O4NBBJI = require("./chunk-5O4NBBJI.js");
|
38
|
+
var import_chunk_2OVH6HWL = require("./chunk-2OVH6HWL.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,
|
61
|
+
super((0, import_chunk_5O4NBBJI.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
|
-
|
73
|
+
import_chunk_2OVH6HWL.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 =
|
79
|
+
const data = import_chunk_2OVH6HWL.prismaSchemaWasm.get_dmmf(params);
|
80
80
|
return data;
|
81
81
|
},
|
82
82
|
(e) => ({
|
@@ -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_5AI4FIZ3_exports = {};
|
30
|
+
__export(chunk_5AI4FIZ3_exports, {
|
31
31
|
ErrorKind: () => ErrorKind,
|
32
32
|
createErrorReport: () => createErrorReport,
|
33
33
|
makeErrorReportCompleted: () => makeErrorReportCompleted,
|
34
34
|
uploadZip: () => uploadZip
|
35
35
|
});
|
36
|
-
module.exports = __toCommonJS(
|
37
|
-
var
|
36
|
+
module.exports = __toCommonJS(chunk_5AI4FIZ3_exports);
|
37
|
+
var import_chunk_NVNI2SRU = require("./chunk-NVNI2SRU.js");
|
38
38
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
39
39
|
var import_node_http = __toESM(require("node:http"));
|
40
40
|
var import_node_https = __toESM(require("node:https"));
|
@@ -151,8 +151,8 @@ var Body = class {
|
|
151
151
|
} else if (ArrayBuffer.isView(body)) {
|
152
152
|
body = import_node_buffer2.Buffer.from(body.buffer, body.byteOffset, body.byteLength);
|
153
153
|
} else if (body instanceof import_node_stream2.default) {
|
154
|
-
} else if (body instanceof
|
155
|
-
body = (0,
|
154
|
+
} else if (body instanceof import_chunk_NVNI2SRU.FormData) {
|
155
|
+
body = (0, import_chunk_NVNI2SRU.formDataToBlob)(body);
|
156
156
|
boundary = body.type.split("=")[1];
|
157
157
|
} else {
|
158
158
|
body = import_node_buffer2.Buffer.from(String(body));
|
@@ -196,14 +196,14 @@ var Body = class {
|
|
196
196
|
async formData() {
|
197
197
|
const ct = this.headers.get("content-type");
|
198
198
|
if (ct.startsWith("application/x-www-form-urlencoded")) {
|
199
|
-
const formData = new
|
199
|
+
const formData = new import_chunk_NVNI2SRU.FormData();
|
200
200
|
const parameters = new URLSearchParams(await this.text());
|
201
201
|
for (const [name, value] of parameters) {
|
202
202
|
formData.append(name, value);
|
203
203
|
}
|
204
204
|
return formData;
|
205
205
|
}
|
206
|
-
const { toFormData } = await import("./multipart-parser-
|
206
|
+
const { toFormData } = await import("./multipart-parser-3AFJFP6K.js");
|
207
207
|
return toFormData(this.body, ct);
|
208
208
|
}
|
209
209
|
/**
|
@@ -214,7 +214,7 @@ var Body = class {
|
|
214
214
|
async blob() {
|
215
215
|
const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
|
216
216
|
const buf = await this.arrayBuffer();
|
217
|
-
return new
|
217
|
+
return new import_chunk_NVNI2SRU.fetch_blob_default([buf], {
|
218
218
|
type: ct
|
219
219
|
});
|
220
220
|
}
|
@@ -342,7 +342,7 @@ var extractContentType = (body, request2) => {
|
|
342
342
|
if (import_node_buffer2.Buffer.isBuffer(body) || import_node_util.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) {
|
343
343
|
return null;
|
344
344
|
}
|
345
|
-
if (body instanceof
|
345
|
+
if (body instanceof import_chunk_NVNI2SRU.FormData) {
|
346
346
|
return `multipart/form-data; boundary=${request2[INTERNALS].boundary}`;
|
347
347
|
}
|
348
348
|
if (body && typeof body.getBoundary === "function") {
|
@@ -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_5O4NBBJI_exports = {};
|
20
|
+
__export(chunk_5O4NBBJI_exports, {
|
21
21
|
addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
23
|
+
module.exports = __toCommonJS(chunk_5O4NBBJI_exports);
|
24
|
+
var import_chunk_M2W57BOY = require("./chunk-M2W57BOY.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_M2W57BOY.version]];
|
28
28
|
return `${message}
|
29
29
|
|
30
30
|
${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
|
@@ -26,8 +26,8 @@ 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_75BIJ5PX_exports = {};
|
30
|
+
__export(chunk_75BIJ5PX_exports, {
|
31
31
|
createDirIfNotExists: () => createDirIfNotExists2,
|
32
32
|
fs_functional_exports: () => fs_functional_exports,
|
33
33
|
getFilesInDir: () => getFilesInDir2,
|
@@ -37,8 +37,8 @@ __export(chunk_UB2X7DGZ_exports, {
|
|
37
37
|
removeFile: () => removeFile,
|
38
38
|
writeFile: () => writeFile2
|
39
39
|
});
|
40
|
-
module.exports = __toCommonJS(
|
41
|
-
var
|
40
|
+
module.exports = __toCommonJS(chunk_75BIJ5PX_exports);
|
41
|
+
var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
|
42
42
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
43
43
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
44
44
|
var import_promises = __toESM(require("fs/promises"));
|
@@ -3981,13 +3981,13 @@ var fs_functional_exports = {};
|
|
3981
3981
|
});
|
3982
3982
|
var import_function = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_R6QH57HZ.require_function)());
|
3983
3983
|
var TE = (0, import_chunk_4VNS5WPM.__toESM)(require_TaskEither());
|
3984
|
-
var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0,
|
3985
|
-
var writeFile2 = (params) => TE.tryCatch(() => (0,
|
3986
|
-
var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0,
|
3984
|
+
var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
|
3985
|
+
var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.writeFile)(params), createTaggedSystemError("fs-write-file", params));
|
3986
|
+
var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_TQFONRJP.removeEmptyDirs)(dir), createTaggedSystemError("fs-remove-empty-dirs", { dir }));
|
3987
3987
|
var removeDir = (dir) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.rm(dir, { recursive: true }), createTaggedSystemError("fs-remove-dir", { dir })));
|
3988
3988
|
var removeFile = (filePath) => (0, import_function.pipe)(TE.tryCatch(() => import_promises.default.unlink(filePath), createTaggedSystemError("fs-remove-file", { filePath })));
|
3989
|
-
var getNestedFoldersInDir2 = (dir) => () => (0,
|
3990
|
-
var getFilesInDir2 = (dir, pattern = "**") => () => (0,
|
3989
|
+
var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_TQFONRJP.getNestedFoldersInDir)(dir);
|
3990
|
+
var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_TQFONRJP.getFilesInDir)(dir, pattern);
|
3991
3991
|
function createTaggedSystemError(type, meta) {
|
3992
3992
|
return (e) => ({
|
3993
3993
|
type,
|
@@ -26,17 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_CMW6HZDU_exports = {};
|
30
|
+
__export(chunk_CMW6HZDU_exports, {
|
31
31
|
ValidateError: () => ValidateError,
|
32
32
|
validate: () => validate
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(chunk_CMW6HZDU_exports);
|
35
35
|
var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
|
36
36
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
37
37
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
38
|
-
var
|
39
|
-
var
|
38
|
+
var import_chunk_NTBV3KBV = require("./chunk-NTBV3KBV.js");
|
39
|
+
var import_chunk_HX5W4SCI = require("./chunk-HX5W4SCI.js");
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
42
42
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
|
|
59
59
|
}).exhaustive();
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
61
61
|
[Context: validate]`;
|
62
|
-
super((0,
|
62
|
+
super((0, import_chunk_NTBV3KBV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
63
63
|
this.name = "ValidateError";
|
64
64
|
}
|
65
65
|
};
|
@@ -71,13 +71,13 @@ function validate(options) {
|
|
71
71
|
() => {
|
72
72
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
|
73
73
|
debug("Triggering a Rust panic...");
|
74
|
-
|
74
|
+
import_chunk_HX5W4SCI.prismaSchemaWasm.debug_panic();
|
75
75
|
}
|
76
76
|
const params = JSON.stringify({
|
77
77
|
prismaSchema: options.schemas,
|
78
78
|
noColor: Boolean(process.env.NO_COLOR)
|
79
79
|
});
|
80
|
-
|
80
|
+
import_chunk_HX5W4SCI.prismaSchemaWasm.validate(params);
|
81
81
|
},
|
82
82
|
(e) => ({
|
83
83
|
type: "wasm-error",
|
@@ -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
|
30
|
-
__export(
|
29
|
+
var chunk_D4VDA2TZ_exports = {};
|
30
|
+
__export(chunk_D4VDA2TZ_exports, {
|
31
31
|
locateLocalCloudflareD1: () => locateLocalCloudflareD1
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_D4VDA2TZ_exports);
|
34
34
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
35
|
-
var
|
35
|
+
var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
|
36
36
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
37
37
|
var import_node_path = __toESM(require("node:path"));
|
38
38
|
var import_node_process = __toESM(require("node:process"));
|
39
|
-
var import_fast_glob = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
40
|
-
var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
39
|
+
var import_fast_glob = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_out)());
|
40
|
+
var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
|
41
41
|
var defaultD1DirPath = import_node_path.default.join(".wrangler", "state", "v3", "d1", "miniflare-D1DatabaseObject");
|
42
42
|
async function locateLocalCloudflareD1({ arg }) {
|
43
43
|
const cwd = import_node_process.default.cwd();
|
@@ -26,17 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_DA4QI734_exports = {};
|
30
|
+
__export(chunk_DA4QI734_exports, {
|
31
31
|
ValidateError: () => ValidateError,
|
32
32
|
validate: () => validate
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
34
|
+
module.exports = __toCommonJS(chunk_DA4QI734_exports);
|
35
35
|
var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
|
36
36
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
37
37
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
38
|
-
var
|
39
|
-
var
|
38
|
+
var import_chunk_5O4NBBJI = require("./chunk-5O4NBBJI.js");
|
39
|
+
var import_chunk_2OVH6HWL = require("./chunk-2OVH6HWL.js");
|
40
40
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
41
41
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
42
42
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
@@ -59,7 +59,7 @@ ${detailsHeader} ${message}`;
|
|
59
59
|
}).exhaustive();
|
60
60
|
const errorMessageWithContext = `${constructedErrorMessage}
|
61
61
|
[Context: validate]`;
|
62
|
-
super((0,
|
62
|
+
super((0, import_chunk_5O4NBBJI.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
63
63
|
this.name = "ValidateError";
|
64
64
|
}
|
65
65
|
};
|
@@ -71,13 +71,13 @@ function validate(options) {
|
|
71
71
|
() => {
|
72
72
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
|
73
73
|
debug("Triggering a Rust panic...");
|
74
|
-
|
74
|
+
import_chunk_2OVH6HWL.prismaSchemaWasm.debug_panic();
|
75
75
|
}
|
76
76
|
const params = JSON.stringify({
|
77
77
|
prismaSchema: options.schemas,
|
78
78
|
noColor: Boolean(process.env.NO_COLOR)
|
79
79
|
});
|
80
|
-
|
80
|
+
import_chunk_2OVH6HWL.prismaSchemaWasm.validate(params);
|
81
81
|
},
|
82
82
|
(e) => ({
|
83
83
|
type: "wasm-error",
|
@@ -16,20 +16,20 @@ 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_DKSUHQGA_exports = {};
|
20
|
+
__export(chunk_DKSUHQGA_exports, {
|
21
21
|
SchemaEngineExitCode: () => SchemaEngineExitCode,
|
22
22
|
canConnectToDatabase: () => canConnectToDatabase,
|
23
23
|
createDatabase: () => createDatabase,
|
24
24
|
dropDatabase: () => dropDatabase,
|
25
25
|
execaCommand: () => execaCommand
|
26
26
|
});
|
27
|
-
module.exports = __toCommonJS(
|
28
|
-
var
|
29
|
-
var
|
27
|
+
module.exports = __toCommonJS(chunk_DKSUHQGA_exports);
|
28
|
+
var import_chunk_ETYWYJBX = require("./chunk-ETYWYJBX.js");
|
29
|
+
var import_chunk_HG3YOAAE = require("./chunk-HG3YOAAE.js");
|
30
30
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
31
31
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
32
|
-
var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
32
|
+
var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_ETYWYJBX.require_execa)());
|
33
33
|
var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
|
34
34
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
|
35
35
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Error"] = 1] = "Error";
|
@@ -141,7 +141,7 @@ async function execaCommand({
|
|
141
141
|
schemaEnginePath,
|
142
142
|
engineCommandName
|
143
143
|
}) {
|
144
|
-
schemaEnginePath = schemaEnginePath || await (0,
|
144
|
+
schemaEnginePath = schemaEnginePath || await (0, import_chunk_HG3YOAAE.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
|
145
145
|
try {
|
146
146
|
return await (0, import_execa.default)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
|
147
147
|
cwd,
|
@@ -26,21 +26,21 @@ 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_EPXBOIA5_exports = {};
|
30
|
+
__export(chunk_EPXBOIA5_exports, {
|
31
31
|
getBinaryPathsByVersion: () => getBinaryPathsByVersion
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_EPXBOIA5_exports);
|
34
34
|
var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
|
35
35
|
var import_chunk_4CGPN5SR = require("./chunk-4CGPN5SR.js");
|
36
36
|
var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
|
37
37
|
var import_chunk_7B5PXS6N = require("./chunk-7B5PXS6N.js");
|
38
|
-
var
|
38
|
+
var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
|
39
39
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
40
40
|
var import_engines = require("@prisma/engines");
|
41
41
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
42
42
|
var import_path = __toESM2(require("path"));
|
43
|
-
var import_fs_extra = (0, import_chunk_4VNS5WPM.__toESM)((0,
|
43
|
+
var import_fs_extra = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_IDINCQMN.require_lib)());
|
44
44
|
async function getBinaryPathsByVersion({
|
45
45
|
neededVersions,
|
46
46
|
binaryTarget,
|
@@ -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_ETYWYJBX_exports = {};
|
20
|
+
__export(chunk_ETYWYJBX_exports, {
|
21
21
|
require_execa: () => require_execa
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(chunk_ETYWYJBX_exports);
|
24
24
|
var import_chunk_MM4ARWWY = require("./chunk-MM4ARWWY.js");
|
25
25
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
26
26
|
var require_windows = (0, import_chunk_4VNS5WPM.__commonJS)({
|
@@ -259,7 +259,7 @@ var require_path_key = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
259
259
|
}
|
260
260
|
});
|
261
261
|
var require_resolveCommand = (0, import_chunk_4VNS5WPM.__commonJS)({
|
262
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
262
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
263
263
|
"use strict";
|
264
264
|
var path = (0, import_chunk_4VNS5WPM.__require)("path");
|
265
265
|
var which = require_which();
|
@@ -299,7 +299,7 @@ var require_resolveCommand = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
299
299
|
}
|
300
300
|
});
|
301
301
|
var require_escape = (0, import_chunk_4VNS5WPM.__commonJS)({
|
302
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
302
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
303
303
|
"use strict";
|
304
304
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
305
305
|
function escapeCommand(arg) {
|
@@ -308,8 +308,8 @@ var require_escape = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
308
308
|
}
|
309
309
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
310
310
|
arg = `${arg}`;
|
311
|
-
arg = arg.replace(/(
|
312
|
-
arg = arg.replace(/(
|
311
|
+
arg = arg.replace(/(\\*)"/g, '$1$1\\"');
|
312
|
+
arg = arg.replace(/(\\*)$/, "$1$1");
|
313
313
|
arg = `"${arg}"`;
|
314
314
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
315
315
|
if (doubleEscapeMetaChars) {
|
@@ -346,7 +346,7 @@ var require_shebang_command = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
346
346
|
}
|
347
347
|
});
|
348
348
|
var require_readShebang = (0, import_chunk_4VNS5WPM.__commonJS)({
|
349
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
349
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
350
350
|
"use strict";
|
351
351
|
var fs = (0, import_chunk_4VNS5WPM.__require)("fs");
|
352
352
|
var shebangCommand = require_shebang_command();
|
@@ -366,7 +366,7 @@ var require_readShebang = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
366
366
|
}
|
367
367
|
});
|
368
368
|
var require_parse = (0, import_chunk_4VNS5WPM.__commonJS)({
|
369
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
369
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
370
370
|
"use strict";
|
371
371
|
var path = (0, import_chunk_4VNS5WPM.__require)("path");
|
372
372
|
var resolveCommand = require_resolveCommand();
|
@@ -426,7 +426,7 @@ var require_parse = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
426
426
|
}
|
427
427
|
});
|
428
428
|
var require_enoent = (0, import_chunk_4VNS5WPM.__commonJS)({
|
429
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
429
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
430
430
|
"use strict";
|
431
431
|
var isWin = process.platform === "win32";
|
432
432
|
function notFoundError(original, syscall) {
|
@@ -445,7 +445,7 @@ var require_enoent = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
445
445
|
const originalEmit = cp.emit;
|
446
446
|
cp.emit = function(name, arg1) {
|
447
447
|
if (name === "exit") {
|
448
|
-
const err = verifyENOENT(arg1, parsed);
|
448
|
+
const err = verifyENOENT(arg1, parsed, "spawn");
|
449
449
|
if (err) {
|
450
450
|
return originalEmit.call(cp, "error", err);
|
451
451
|
}
|
@@ -474,7 +474,7 @@ var require_enoent = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
474
474
|
}
|
475
475
|
});
|
476
476
|
var require_cross_spawn = (0, import_chunk_4VNS5WPM.__commonJS)({
|
477
|
-
"../../node_modules/.pnpm/cross-spawn@7.0.
|
477
|
+
"../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js"(exports, module2) {
|
478
478
|
"use strict";
|
479
479
|
var cp = (0, import_chunk_4VNS5WPM.__require)("child_process");
|
480
480
|
var parse = require_parse();
|
@@ -26,12 +26,12 @@ 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_EWWOTVR3_exports = {};
|
30
|
+
__export(chunk_EWWOTVR3_exports, {
|
31
31
|
findPrismaClientDir: () => findPrismaClientDir
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
34
|
-
var
|
33
|
+
module.exports = __toCommonJS(chunk_EWWOTVR3_exports);
|
34
|
+
var import_chunk_VVPSLVOR = require("./chunk-VVPSLVOR.js");
|
35
35
|
var import_debug = __toESM(require("@prisma/debug"));
|
36
36
|
var import_fs = __toESM(require("fs"));
|
37
37
|
var import_path = __toESM(require("path"));
|
@@ -39,8 +39,8 @@ var debug = (0, import_debug.default)("prisma:generator");
|
|
39
39
|
var realPath = import_fs.default.promises.realpath;
|
40
40
|
async function findPrismaClientDir(baseDir) {
|
41
41
|
const resolveOpts = { basedir: baseDir, preserveSymlinks: true };
|
42
|
-
const CLIDir = await (0,
|
43
|
-
const clientDir = await (0,
|
42
|
+
const CLIDir = await (0, import_chunk_VVPSLVOR.resolvePkg)("prisma", resolveOpts);
|
43
|
+
const clientDir = await (0, import_chunk_VVPSLVOR.resolvePkg)("@prisma/client", resolveOpts);
|
44
44
|
const resolvedClientDir = clientDir && await realPath(clientDir);
|
45
45
|
debug("prismaCLIDir", CLIDir);
|
46
46
|
debug("prismaClientDir", clientDir);
|
@@ -26,17 +26,17 @@ 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_HG3YOAAE_exports = {};
|
30
|
+
__export(chunk_HG3YOAAE_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(
|
37
|
+
module.exports = __toCommonJS(chunk_HG3YOAAE_exports);
|
38
38
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
39
|
-
var
|
39
|
+
var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
|
40
40
|
var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
|
41
41
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
42
42
|
var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
|
@@ -46,7 +46,7 @@ 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, import_chunk_4VNS5WPM.__toESM)((0,
|
49
|
+
var import_fs_extra = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_IDINCQMN.require_lib)());
|
50
50
|
var import_temp_dir = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_5VQNKCKW.require_temp_dir)());
|
51
51
|
async function getBinaryName(name) {
|
52
52
|
const binaryTarget = await (0, import_get_platform.getBinaryTargetForCurrentPlatform)();
|