@prisma/internals 6.19.0-integration-next.12 → 6.19.0-integration-feat-remove-library-engine.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-FC6CQUSK.js → chunk-22HIO2UL.js} +7 -7
- package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
- package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
- package/dist/{chunk-AX5N26KG.js → chunk-33K2EQQZ.js} +10 -10
- package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
- package/dist/{chunk-B22EOFPW.js → chunk-5I4ERIIY.js} +3 -6
- package/dist/{chunk-5XFNC2RY.js → chunk-5MHUYAV3.js} +9 -9
- package/dist/{chunk-GHW2QHSJ.js → chunk-AQ2QRXAM.js} +7 -7
- package/dist/{chunk-GSH4BXBI.js → chunk-BUQN4WLU.js} +6 -6
- package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
- package/dist/{chunk-MPUM63MN.js → chunk-CJXYAE63.js} +5 -5
- package/dist/{chunk-HD2CUQO5.js → chunk-DDPSHUGC.js} +7 -7
- package/dist/{chunk-CAYOFOK7.js → chunk-DPCJTLZB.js} +8 -8
- package/dist/chunk-DYV47NUW.js +796 -0
- package/dist/{chunk-34LJMILK.js → chunk-ENSTA5BR.js} +5 -5
- package/dist/{chunk-M3OJAEWR.js → chunk-EQCNGCBN.js} +8 -8
- package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
- package/dist/{chunk-VRGMXDRD.js → chunk-GJSFP4V4.js} +3 -6
- package/dist/{chunk-MURRA56K.js → chunk-GOBSH7KK.js} +5 -5
- package/dist/{chunk-SRZLJFU4.js → chunk-H5STSTVK.js} +7 -16
- package/dist/{chunk-7QC5VORA.js → chunk-H6PPJ5PX.js} +7 -7
- package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
- package/dist/{chunk-BJUIZZOW.js → chunk-HUWPK3JK.js} +32 -47
- package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
- package/dist/{chunk-KIFFN3IT.js → chunk-IU77SCOB.js} +9 -9
- package/dist/{chunk-HZ6U2UGL.js → chunk-JAPMBAH4.js} +8 -8
- package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
- package/dist/{chunk-HQAD5FY2.js → chunk-KX7TWSN7.js} +5 -5
- package/dist/{chunk-YOPDGHU7.js → chunk-LQIZ6LUX.js} +32 -47
- package/dist/{chunk-VIEJEAGW.js → chunk-MBVCEWIU.js} +5 -5
- package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
- package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
- package/dist/{chunk-VAHOQVFX.js → chunk-NKHMKW44.js} +5 -5
- package/dist/{chunk-OUIUEMSH.js → chunk-NYK3WNI7.js} +8 -8
- package/dist/{chunk-EGJS32NP.js → chunk-O2SQX5UZ.js} +8 -8
- package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
- package/dist/{chunk-XTWFEQXH.js → chunk-RKD25AFG.js} +5 -5
- package/dist/{chunk-3AVLRMFL.js → chunk-TRKBPEU4.js} +6 -6
- package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
- package/dist/{chunk-S553BGWR.js → chunk-UU3BLTM2.js} +5 -5
- package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
- package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
- package/dist/{chunk-5ITVWGE7.js → chunk-WPXOKUNQ.js} +5 -5
- package/dist/{chunk-RO4FBYFK.js → chunk-YQ2FQ7HK.js} +8 -8
- package/dist/cli/checkUnsupportedDataProxy.js +47 -49
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +47 -49
- package/dist/cli/schemaContext.js +47 -49
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +46 -48
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/getEngineVersion.js +6 -9
- package/dist/engine-commands/getEnginesInfo.js +7 -9
- package/dist/engine-commands/index.js +58 -60
- 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/getGenerators.js +49 -51
- package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
- package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
- package/dist/getPackedPackage.js +4 -3
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +1 -4
- package/dist/index.js +88 -95
- package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
- package/dist/resolveBinary.js +8 -7
- package/dist/schemaEngineCommands.js +9 -8
- package/dist/sendPanic.js +4 -4
- package/dist/utils/canPrompt.js +3 -3
- package/dist/utils/cloudflareD1.js +3 -3
- package/dist/utils/drawBox.js +2 -2
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +8 -8
- package/dist/utils/link.js +2 -2
- package/dist/utils/missingDatasource.js +5 -5
- package/dist/utils/missingGeneratorMessage.js +7 -7
- package/dist/wasm.js +5 -5
- package/package.json +13 -13
- package/dist/chunk-6TTRTZXU.js +0 -37
- package/dist/chunk-DZYINYAA.js +0 -68
- package/dist/chunk-FUYRCYVL.js +0 -53
- package/dist/client/getClientEngineType.d.ts +0 -6
- package/dist/client/getClientEngineType.js +0 -26
- package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
- package/dist/utils/handleEngineLoadingErrors.js +0 -27
- package/dist/utils/load.d.ts +0 -6
- package/dist/utils/load.js +0 -28
|
@@ -16,12 +16,12 @@ 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 multipart_parser_UV3WZSWW_exports = {};
|
|
20
|
+
__export(multipart_parser_UV3WZSWW_exports, {
|
|
21
21
|
toFormData: () => toFormData
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
23
|
+
module.exports = __toCommonJS(multipart_parser_UV3WZSWW_exports);
|
|
24
|
+
var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
|
|
25
25
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
26
26
|
var s = 0;
|
|
27
27
|
var S = {
|
|
@@ -314,7 +314,7 @@ async function toFormData(Body, ct) {
|
|
|
314
314
|
let contentType;
|
|
315
315
|
let filename;
|
|
316
316
|
const entryChunks = [];
|
|
317
|
-
const formData = new
|
|
317
|
+
const formData = new import_chunk_KNNTV7IN.FormData();
|
|
318
318
|
const onPartData = (ui8a) => {
|
|
319
319
|
entryValue += decoder.decode(ui8a, { stream: true });
|
|
320
320
|
};
|
|
@@ -322,7 +322,7 @@ async function toFormData(Body, ct) {
|
|
|
322
322
|
entryChunks.push(ui8a);
|
|
323
323
|
};
|
|
324
324
|
const appendFileToFormData = () => {
|
|
325
|
-
const file = new
|
|
325
|
+
const file = new import_chunk_KNNTV7IN.file_default(entryChunks, filename, { type: contentType });
|
|
326
326
|
formData.append(entryName, file);
|
|
327
327
|
};
|
|
328
328
|
const appendEntryToFormData = () => {
|
package/dist/resolveBinary.js
CHANGED
|
@@ -18,17 +18,18 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var resolveBinary_exports = {};
|
|
20
20
|
__export(resolveBinary_exports, {
|
|
21
|
-
BinaryType: () =>
|
|
22
|
-
engineEnvVarMap: () =>
|
|
23
|
-
maybeCopyToTmp: () =>
|
|
24
|
-
resolveBinary: () =>
|
|
25
|
-
safeResolveBinary: () =>
|
|
21
|
+
BinaryType: () => import_chunk_HNRMSI3R.BinaryType,
|
|
22
|
+
engineEnvVarMap: () => import_chunk_HNRMSI3R.engineEnvVarMap,
|
|
23
|
+
maybeCopyToTmp: () => import_chunk_HNRMSI3R.maybeCopyToTmp,
|
|
24
|
+
resolveBinary: () => import_chunk_HNRMSI3R.resolveBinary,
|
|
25
|
+
safeResolveBinary: () => import_chunk_HNRMSI3R.safeResolveBinary
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(resolveBinary_exports);
|
|
28
|
-
var
|
|
28
|
+
var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
|
|
29
29
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
|
30
|
-
var
|
|
30
|
+
var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
|
|
31
31
|
var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
|
|
32
32
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
33
33
|
var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
|
|
34
|
+
var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
|
|
34
35
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
@@ -18,19 +18,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var schemaEngineCommands_exports = {};
|
|
20
20
|
__export(schemaEngineCommands_exports, {
|
|
21
|
-
SchemaEngineExitCode: () =>
|
|
22
|
-
canConnectToDatabase: () =>
|
|
23
|
-
createDatabase: () =>
|
|
24
|
-
dropDatabase: () =>
|
|
25
|
-
execaCommand: () =>
|
|
21
|
+
SchemaEngineExitCode: () => import_chunk_WJKBKH3Y.SchemaEngineExitCode,
|
|
22
|
+
canConnectToDatabase: () => import_chunk_WJKBKH3Y.canConnectToDatabase,
|
|
23
|
+
createDatabase: () => import_chunk_WJKBKH3Y.createDatabase,
|
|
24
|
+
dropDatabase: () => import_chunk_WJKBKH3Y.dropDatabase,
|
|
25
|
+
execaCommand: () => import_chunk_WJKBKH3Y.execaCommand
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(schemaEngineCommands_exports);
|
|
28
|
-
var
|
|
28
|
+
var import_chunk_WJKBKH3Y = require("./chunk-WJKBKH3Y.js");
|
|
29
29
|
var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
|
|
30
|
-
var
|
|
30
|
+
var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
|
|
31
31
|
var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
|
|
32
|
-
var
|
|
32
|
+
var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.js");
|
|
33
33
|
var import_chunk_TWSLDIFL = require("./chunk-TWSLDIFL.js");
|
|
34
34
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
35
35
|
var import_chunk_5VQNKCKW = require("./chunk-5VQNKCKW.js");
|
|
36
|
+
var import_chunk_DYV47NUW = require("./chunk-DYV47NUW.js");
|
|
36
37
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
package/dist/sendPanic.js
CHANGED
|
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var sendPanic_exports = {};
|
|
20
20
|
__export(sendPanic_exports, {
|
|
21
|
-
sendPanic: () =>
|
|
21
|
+
sendPanic: () => import_chunk_BUQN4WLU.sendPanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(sendPanic_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_BUQN4WLU = require("./chunk-BUQN4WLU.js");
|
|
25
25
|
var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
|
|
26
26
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
27
27
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
|
|
29
|
+
var import_chunk_KNNTV7IN = require("./chunk-KNNTV7IN.js");
|
|
30
30
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
package/dist/utils/canPrompt.js
CHANGED
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var canPrompt_exports = {};
|
|
20
20
|
__export(canPrompt_exports, {
|
|
21
|
-
canPrompt: () =>
|
|
21
|
+
canPrompt: () => import_chunk_R3J2O23S.canPrompt
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(canPrompt_exports);
|
|
24
|
-
var
|
|
25
|
-
var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
|
|
24
|
+
var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
|
|
26
25
|
var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
|
|
26
|
+
var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
|
|
27
27
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var cloudflareD1_exports = {};
|
|
20
20
|
__export(cloudflareD1_exports, {
|
|
21
|
-
locateLocalCloudflareD1: () =>
|
|
21
|
+
locateLocalCloudflareD1: () => import_chunk_IRWX4FCC.locateLocalCloudflareD1
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(cloudflareD1_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_IRWX4FCC = require("../chunk-IRWX4FCC.js");
|
|
25
25
|
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
|
|
27
27
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/drawBox.js
CHANGED
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var drawBox_exports = {};
|
|
20
20
|
__export(drawBox_exports, {
|
|
21
|
-
drawBox: () =>
|
|
21
|
+
drawBox: () => import_chunk_CGLLQXZE.drawBox
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(drawBox_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_CGLLQXZE = require("../chunk-CGLLQXZE.js");
|
|
25
25
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,18 +18,18 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var fs_functional_exports = {};
|
|
20
20
|
__export(fs_functional_exports, {
|
|
21
|
-
createDirIfNotExists: () =>
|
|
22
|
-
getFilesInDir: () =>
|
|
23
|
-
getNestedFoldersInDir: () =>
|
|
24
|
-
removeDir: () =>
|
|
25
|
-
removeEmptyDirs: () =>
|
|
26
|
-
removeFile: () =>
|
|
27
|
-
writeFile: () =>
|
|
21
|
+
createDirIfNotExists: () => import_chunk_UB2X7DGZ.createDirIfNotExists,
|
|
22
|
+
getFilesInDir: () => import_chunk_UB2X7DGZ.getFilesInDir,
|
|
23
|
+
getNestedFoldersInDir: () => import_chunk_UB2X7DGZ.getNestedFoldersInDir,
|
|
24
|
+
removeDir: () => import_chunk_UB2X7DGZ.removeDir,
|
|
25
|
+
removeEmptyDirs: () => import_chunk_UB2X7DGZ.removeEmptyDirs,
|
|
26
|
+
removeFile: () => import_chunk_UB2X7DGZ.removeFile,
|
|
27
|
+
writeFile: () => import_chunk_UB2X7DGZ.writeFile
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(fs_functional_exports);
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var import_chunk_UB2X7DGZ = require("../chunk-UB2X7DGZ.js");
|
|
31
|
+
var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
|
|
32
32
|
var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
|
|
33
33
|
var import_chunk_R6QH57HZ = require("../chunk-R6QH57HZ.js");
|
|
34
|
-
var
|
|
34
|
+
var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
|
|
35
35
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/fs-utils.js
CHANGED
|
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var fs_utils_exports = {};
|
|
20
20
|
__export(fs_utils_exports, {
|
|
21
|
-
createDirIfNotExists: () =>
|
|
22
|
-
getFilesInDir: () =>
|
|
23
|
-
getNestedFoldersInDir: () =>
|
|
24
|
-
getTopLevelFoldersInDir: () =>
|
|
25
|
-
removeEmptyDirs: () =>
|
|
26
|
-
writeFile: () =>
|
|
21
|
+
createDirIfNotExists: () => import_chunk_MXAUURHG.createDirIfNotExists,
|
|
22
|
+
getFilesInDir: () => import_chunk_MXAUURHG.getFilesInDir,
|
|
23
|
+
getNestedFoldersInDir: () => import_chunk_MXAUURHG.getNestedFoldersInDir,
|
|
24
|
+
getTopLevelFoldersInDir: () => import_chunk_MXAUURHG.getTopLevelFoldersInDir,
|
|
25
|
+
removeEmptyDirs: () => import_chunk_MXAUURHG.removeEmptyDirs,
|
|
26
|
+
writeFile: () => import_chunk_MXAUURHG.writeFile
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(fs_utils_exports);
|
|
29
|
-
var
|
|
29
|
+
var import_chunk_MXAUURHG = require("../chunk-MXAUURHG.js");
|
|
30
30
|
var import_chunk_J77ZIDXB = require("../chunk-J77ZIDXB.js");
|
|
31
|
-
var
|
|
31
|
+
var import_chunk_2LOGW45F = require("../chunk-2LOGW45F.js");
|
|
32
32
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var getVersionFromPackageJson_exports = {};
|
|
20
20
|
__export(getVersionFromPackageJson_exports, {
|
|
21
|
-
version: () =>
|
|
21
|
+
version: () => import_chunk_RKD25AFG.version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getVersionFromPackageJson_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_RKD25AFG = require("../chunk-RKD25AFG.js");
|
|
25
|
+
var import_chunk_TRKBPEU4 = require("../chunk-TRKBPEU4.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,20 +18,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var handlePanic_exports = {};
|
|
20
20
|
__export(handlePanic_exports, {
|
|
21
|
-
handlePanic: () =>
|
|
21
|
+
handlePanic: () => import_chunk_IU77SCOB.handlePanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(handlePanic_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_IU77SCOB = require("../chunk-IU77SCOB.js");
|
|
25
|
+
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
26
26
|
var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
|
|
27
|
-
var
|
|
28
|
-
var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
|
|
27
|
+
var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
|
|
29
28
|
var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
|
|
30
|
-
var
|
|
29
|
+
var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
|
|
30
|
+
var import_chunk_BUQN4WLU = require("../chunk-BUQN4WLU.js");
|
|
31
31
|
var import_chunk_KDHESRKE = require("../chunk-KDHESRKE.js");
|
|
32
32
|
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
33
33
|
var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.js");
|
|
34
34
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
35
|
-
var
|
|
36
|
-
var
|
|
35
|
+
var import_chunk_MEOOYUIZ = require("../chunk-MEOOYUIZ.js");
|
|
36
|
+
var import_chunk_KNNTV7IN = require("../chunk-KNNTV7IN.js");
|
|
37
37
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/link.js
CHANGED
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var link_exports = {};
|
|
20
20
|
__export(link_exports, {
|
|
21
|
-
link: () =>
|
|
21
|
+
link: () => import_chunk_3WXUQZS7.link
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(link_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
25
25
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var missingDatasource_exports = {};
|
|
20
20
|
__export(missingDatasource_exports, {
|
|
21
|
-
missingDatasource: () =>
|
|
21
|
+
missingDatasource: () => import_chunk_H6PPJ5PX.missingDatasource
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(missingDatasource_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
24
|
+
var import_chunk_H6PPJ5PX = require("../chunk-H6PPJ5PX.js");
|
|
25
|
+
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
26
|
+
var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
|
|
28
27
|
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
28
|
+
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
29
29
|
var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
|
|
30
30
|
var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
|
|
31
31
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
@@ -18,16 +18,16 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var missingGeneratorMessage_exports = {};
|
|
20
20
|
__export(missingGeneratorMessage_exports, {
|
|
21
|
-
missingGeneratorMessage: () =>
|
|
22
|
-
missingModelMessage: () =>
|
|
23
|
-
missingModelMessageMongoDB: () =>
|
|
21
|
+
missingGeneratorMessage: () => import_chunk_33K2EQQZ.missingGeneratorMessage,
|
|
22
|
+
missingModelMessage: () => import_chunk_33K2EQQZ.missingModelMessage,
|
|
23
|
+
missingModelMessageMongoDB: () => import_chunk_33K2EQQZ.missingModelMessageMongoDB
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(missingGeneratorMessage_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
26
|
+
var import_chunk_33K2EQQZ = require("../chunk-33K2EQQZ.js");
|
|
27
|
+
var import_chunk_3WXUQZS7 = require("../chunk-3WXUQZS7.js");
|
|
28
|
+
var import_chunk_VNIE2AZB = require("../chunk-VNIE2AZB.js");
|
|
30
29
|
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
30
|
+
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
31
31
|
var import_chunk_HPVMQFIY = require("../chunk-HPVMQFIY.js");
|
|
32
32
|
var import_chunk_E23HYCQJ = require("../chunk-E23HYCQJ.js");
|
|
33
33
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
package/dist/wasm.js
CHANGED
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var wasm_exports = {};
|
|
20
20
|
__export(wasm_exports, {
|
|
21
|
-
prismaSchemaWasm: () =>
|
|
22
|
-
prismaSchemaWasmVersion: () =>
|
|
23
|
-
schemaEngineWasmVersion: () =>
|
|
21
|
+
prismaSchemaWasm: () => import_chunk_KX7TWSN7.prismaSchemaWasm,
|
|
22
|
+
prismaSchemaWasmVersion: () => import_chunk_KX7TWSN7.prismaSchemaWasmVersion,
|
|
23
|
+
schemaEngineWasmVersion: () => import_chunk_KX7TWSN7.schemaEngineWasmVersion
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(wasm_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var import_chunk_KX7TWSN7 = require("./chunk-KX7TWSN7.js");
|
|
27
|
+
var import_chunk_TRKBPEU4 = require("./chunk-TRKBPEU4.js");
|
|
28
28
|
var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
|
|
29
29
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/internals",
|
|
3
|
-
"version": "6.19.0-integration-
|
|
3
|
+
"version": "6.19.0-integration-feat-remove-library-engine.1",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@swc/jest": "0.2.37",
|
|
28
28
|
"@types/babel__helper-validator-identifier": "7.15.2",
|
|
29
29
|
"@types/jest": "29.5.14",
|
|
30
|
-
"@types/node": "~20.19.
|
|
30
|
+
"@types/node": "~20.19.24",
|
|
31
31
|
"@types/resolve": "1.20.6",
|
|
32
32
|
"archiver": "6.0.2",
|
|
33
33
|
"checkpoint-client": "1.1.33",
|
|
@@ -68,20 +68,20 @@
|
|
|
68
68
|
"yarn": "1.22.22"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@prisma/prisma-schema-wasm": "6.19.0-
|
|
71
|
+
"@prisma/prisma-schema-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
|
|
72
72
|
"@prisma/schema-engine-wasm": "6.19.0-21.next-3ab778d6c5a8df0d39fd88ffd67461d3395af732",
|
|
73
73
|
"arg": "5.0.2",
|
|
74
74
|
"prompts": "2.4.2",
|
|
75
|
-
"@prisma/config": "6.19.0-integration-
|
|
76
|
-
"@prisma/
|
|
77
|
-
"@prisma/
|
|
78
|
-
"@prisma/
|
|
79
|
-
"@prisma/
|
|
80
|
-
"@prisma/
|
|
81
|
-
"@prisma/generator": "6.19.0-integration-
|
|
82
|
-
"@prisma/
|
|
83
|
-
"@prisma/
|
|
84
|
-
"@prisma/schema-files-loader": "6.19.0-integration-
|
|
75
|
+
"@prisma/config": "6.19.0-integration-feat-remove-library-engine.1",
|
|
76
|
+
"@prisma/driver-adapter-utils": "6.19.0-integration-feat-remove-library-engine.1",
|
|
77
|
+
"@prisma/dmmf": "6.19.0-integration-feat-remove-library-engine.1",
|
|
78
|
+
"@prisma/engines": "6.19.0-integration-feat-remove-library-engine.1",
|
|
79
|
+
"@prisma/fetch-engine": "6.19.0-integration-feat-remove-library-engine.1",
|
|
80
|
+
"@prisma/debug": "6.19.0-integration-feat-remove-library-engine.1",
|
|
81
|
+
"@prisma/generator-helper": "6.19.0-integration-feat-remove-library-engine.1",
|
|
82
|
+
"@prisma/get-platform": "6.19.0-integration-feat-remove-library-engine.1",
|
|
83
|
+
"@prisma/generator": "6.19.0-integration-feat-remove-library-engine.1",
|
|
84
|
+
"@prisma/schema-files-loader": "6.19.0-integration-feat-remove-library-engine.1"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"typescript": ">=5.4.0"
|
package/dist/chunk-6TTRTZXU.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_6TTRTZXU_exports = {};
|
|
20
|
-
__export(chunk_6TTRTZXU_exports, {
|
|
21
|
-
loadLibrary: () => loadLibrary
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_6TTRTZXU_exports);
|
|
24
|
-
var import_chunk_DZYINYAA = require("./chunk-DZYINYAA.js");
|
|
25
|
-
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
26
|
-
function loadLibrary(id, platformInfo) {
|
|
27
|
-
try {
|
|
28
|
-
return (0, import_chunk_4VNS5WPM.__require)(id);
|
|
29
|
-
} catch (e) {
|
|
30
|
-
const errorMessage = (0, import_chunk_DZYINYAA.handleLibraryLoadingErrors)({
|
|
31
|
-
e,
|
|
32
|
-
platformInfo,
|
|
33
|
-
id
|
|
34
|
-
});
|
|
35
|
-
throw new Error(errorMessage);
|
|
36
|
-
}
|
|
37
|
-
}
|
package/dist/chunk-DZYINYAA.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_DZYINYAA_exports = {};
|
|
20
|
-
__export(chunk_DZYINYAA_exports, {
|
|
21
|
-
handleLibraryLoadingErrors: () => handleLibraryLoadingErrors
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(chunk_DZYINYAA_exports);
|
|
24
|
-
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
25
|
-
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
26
|
-
var import_get_platform = require("@prisma/get-platform");
|
|
27
|
-
function handleLibraryLoadingErrors(args) {
|
|
28
|
-
const error = args.e;
|
|
29
|
-
const systemLibraryNotFound = (library) => `Prisma cannot find the required \`${library}\` system library in your system`;
|
|
30
|
-
const hasLinkingProblem = error.message.includes("cannot open shared object file");
|
|
31
|
-
const referToSystemRequirementsDocs = `Please refer to the documentation about Prisma's system requirements: ${(0, import_get_platform.link)(
|
|
32
|
-
"https://pris.ly/d/system-requirements"
|
|
33
|
-
)}`;
|
|
34
|
-
const errorTitle = `Unable to require(\`${(0, import_chunk_PG5FDKSF.dim)(args.id)}\`).`;
|
|
35
|
-
const potentialReasonMessage = (0, import_chunk_XKZ6CBLA.z)({ message: error.message, code: error.code }).with({ code: "ENOENT" }, () => `File does not exist.`).when(
|
|
36
|
-
({ message }) => hasLinkingProblem && message.includes("libz"),
|
|
37
|
-
() => {
|
|
38
|
-
return `${systemLibraryNotFound("libz")}. Please install it and try again.`;
|
|
39
|
-
}
|
|
40
|
-
).when(
|
|
41
|
-
({ message }) => hasLinkingProblem && message.includes("libgcc_s"),
|
|
42
|
-
() => {
|
|
43
|
-
return `${systemLibraryNotFound("libgcc_s")}. Please install it and try again.`;
|
|
44
|
-
}
|
|
45
|
-
).when(
|
|
46
|
-
({ message }) => hasLinkingProblem && message.includes("libssl"),
|
|
47
|
-
() => {
|
|
48
|
-
const libsslVersion = args.platformInfo.libssl ? `openssl-${args.platformInfo.libssl}` : "openssl";
|
|
49
|
-
return `${systemLibraryNotFound("libssl")}. Please install ${libsslVersion} and try again.`;
|
|
50
|
-
}
|
|
51
|
-
).when(
|
|
52
|
-
({ message }) => message.includes("GLIBC"),
|
|
53
|
-
() => {
|
|
54
|
-
return `Prisma has detected an incompatible version of the \`glibc\` C standard library installed in your system. This probably means your system may be too old to run Prisma. ${referToSystemRequirementsDocs}`;
|
|
55
|
-
}
|
|
56
|
-
).when(
|
|
57
|
-
({ message }) => args.platformInfo.platform === "linux" && message.includes("symbol not found"),
|
|
58
|
-
() => {
|
|
59
|
-
return `The Prisma engines are not compatible with your system ${args.platformInfo.originalDistro} on (${args.platformInfo.archFromUname}) which uses the \`${args.platformInfo.binaryTarget}\` binaryTarget by default. ${referToSystemRequirementsDocs}`;
|
|
60
|
-
}
|
|
61
|
-
).otherwise(() => {
|
|
62
|
-
return `The Prisma engines do not seem to be compatible with your system. ${referToSystemRequirementsDocs}`;
|
|
63
|
-
});
|
|
64
|
-
return `${errorTitle}
|
|
65
|
-
${potentialReasonMessage}
|
|
66
|
-
|
|
67
|
-
Details: ${error.message}`;
|
|
68
|
-
}
|
package/dist/chunk-FUYRCYVL.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var chunk_FUYRCYVL_exports = {};
|
|
20
|
-
__export(chunk_FUYRCYVL_exports, {
|
|
21
|
-
ClientEngineType: () => ClientEngineType,
|
|
22
|
-
getClientEngineType: () => getClientEngineType
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(chunk_FUYRCYVL_exports);
|
|
25
|
-
var ClientEngineType = /* @__PURE__ */ ((ClientEngineType2) => {
|
|
26
|
-
ClientEngineType2["Library"] = "library";
|
|
27
|
-
ClientEngineType2["Client"] = "client";
|
|
28
|
-
return ClientEngineType2;
|
|
29
|
-
})(ClientEngineType || {});
|
|
30
|
-
function getClientEngineType(generatorConfig) {
|
|
31
|
-
const engineTypeFromEnvVar = getEngineTypeFromEnvVar();
|
|
32
|
-
if (engineTypeFromEnvVar) return engineTypeFromEnvVar;
|
|
33
|
-
if (generatorConfig?.config.engineType === "library") {
|
|
34
|
-
return "library";
|
|
35
|
-
} else if (generatorConfig?.config.engineType === "client") {
|
|
36
|
-
return "client";
|
|
37
|
-
} else {
|
|
38
|
-
return getDefaultEngineType();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
function getEngineTypeFromEnvVar() {
|
|
42
|
-
const engineType = process.env.PRISMA_CLIENT_ENGINE_TYPE;
|
|
43
|
-
if (engineType === "library") {
|
|
44
|
-
return "library";
|
|
45
|
-
} else if (engineType === "client") {
|
|
46
|
-
return "client";
|
|
47
|
-
} else {
|
|
48
|
-
return void 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function getDefaultEngineType() {
|
|
52
|
-
return "library";
|
|
53
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getClientEngineType_exports = {};
|
|
20
|
-
__export(getClientEngineType_exports, {
|
|
21
|
-
ClientEngineType: () => import_chunk_FUYRCYVL.ClientEngineType,
|
|
22
|
-
getClientEngineType: () => import_chunk_FUYRCYVL.getClientEngineType
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(getClientEngineType_exports);
|
|
25
|
-
var import_chunk_FUYRCYVL = require("../chunk-FUYRCYVL.js");
|
|
26
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type PlatformInfo } from '@prisma/get-platform';
|
|
2
|
-
type HandleLibraryLoadingErrorsInput = {
|
|
3
|
-
e: Error;
|
|
4
|
-
platformInfo: PlatformInfo;
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function handleLibraryLoadingErrors(args: HandleLibraryLoadingErrorsInput): string;
|
|
8
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var handleEngineLoadingErrors_exports = {};
|
|
20
|
-
__export(handleEngineLoadingErrors_exports, {
|
|
21
|
-
handleLibraryLoadingErrors: () => import_chunk_DZYINYAA.handleLibraryLoadingErrors
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(handleEngineLoadingErrors_exports);
|
|
24
|
-
var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
|
|
25
|
-
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
26
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
27
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
package/dist/utils/load.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { PlatformInfo } from '@prisma/get-platform';
|
|
2
|
-
/**
|
|
3
|
-
* This is a wrapper around `require` for loading a Node-API library.
|
|
4
|
-
* This is to avoid eval and hide require away from bundlers
|
|
5
|
-
*/
|
|
6
|
-
export declare function loadLibrary<T>(id: string, platformInfo: PlatformInfo): T;
|