@prisma/internals 6.19.0-integration-feat-remove-library-engine.2 → 6.19.0-integration-next.14
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-D7L3VT6R.js → chunk-247ICNDG.js} +8 -8
- package/dist/{chunk-NPMHIQNM.js → chunk-36YXR6IU.js} +8 -8
- package/dist/{chunk-MEOOYUIZ.js → chunk-5AI4FIZ3.js} +10 -10
- package/dist/{chunk-5MHUYAV3.js → chunk-5XFNC2RY.js} +9 -9
- package/dist/chunk-6TTRTZXU.js +37 -0
- package/dist/{chunk-UB2X7DGZ.js → chunk-75BIJ5PX.js} +9 -9
- package/dist/{chunk-H6PPJ5PX.js → chunk-7QC5VORA.js} +7 -7
- package/dist/{chunk-OENCCIMK.js → chunk-AGCXD33Q.js} +7 -7
- package/dist/{chunk-N2IUVVYJ.js → chunk-AVHPQM6S.js} +47 -32
- package/dist/{chunk-33K2EQQZ.js → chunk-AX5N26KG.js} +10 -10
- package/dist/{chunk-5I4ERIIY.js → chunk-B22EOFPW.js} +6 -3
- package/dist/{chunk-5CBDEFHE.js → chunk-B4WDAX32.js} +5 -5
- package/dist/{chunk-Z2IPE4NA.js → chunk-BJUIZZOW.js} +47 -32
- package/dist/{chunk-32LLAKF4.js → chunk-BVJP43JS.js} +784 -13
- package/dist/{chunk-AOJ2N25Z.js → chunk-CAYOFOK7.js} +8 -8
- package/dist/{chunk-IRWX4FCC.js → chunk-D4VDA2TZ.js} +6 -6
- package/dist/chunk-DZYINYAA.js +68 -0
- package/dist/{chunk-PTRXLDT7.js → chunk-EGJS32NP.js} +8 -8
- package/dist/{chunk-22HIO2UL.js → chunk-FC6CQUSK.js} +7 -7
- package/dist/{chunk-R3J2O23S.js → chunk-FCYHZHVW.js} +4 -4
- package/dist/chunk-FUYRCYVL.js +53 -0
- package/dist/{chunk-HNRMSI3R.js → chunk-FYZCPL2Z.js} +8 -5
- package/dist/{chunk-7NFX7KFI.js → chunk-GFAWJ2TV.js} +5 -5
- package/dist/{chunk-BUQN4WLU.js → chunk-GSH4BXBI.js} +6 -6
- package/dist/{chunk-UMB3Y33W.js → chunk-HD2CUQO5.js} +7 -7
- package/dist/{chunk-CGLLQXZE.js → chunk-HHG4DGHC.js} +12 -11
- package/dist/{chunk-ZVTQSH5K.js → chunk-HQAD5FY2.js} +5 -5
- package/dist/{chunk-RXERQWBD.js → chunk-HZ6U2UGL.js} +8 -8
- package/dist/{chunk-3WXUQZS7.js → chunk-I6WLABB2.js} +5 -14
- package/dist/{chunk-FF7OLLBP.js → chunk-IDINCQMN.js} +784 -12
- package/dist/{chunk-NPSVUZBN.js → chunk-IEJB3DQI.js} +5 -5
- package/dist/{chunk-2LOGW45F.js → chunk-JOIIWB3U.js} +33 -68
- package/dist/{chunk-IU77SCOB.js → chunk-KIFFN3IT.js} +9 -9
- package/dist/{chunk-EBJBIVXN.js → chunk-MURRA56K.js} +5 -5
- package/dist/{chunk-KNNTV7IN.js → chunk-NVNI2SRU.js} +213 -687
- package/dist/{chunk-BUB5LU5N.js → chunk-O6VZIATS.js} +5 -5
- package/dist/{chunk-BZV6PVWV.js → chunk-ROEAPAY4.js} +8 -8
- package/dist/{chunk-MUZJUPDX.js → chunk-S553BGWR.js} +4 -4
- package/dist/{chunk-H5STSTVK.js → chunk-SRZLJFU4.js} +16 -7
- package/dist/{chunk-VNIE2AZB.js → chunk-TQCLUNM2.js} +4 -4
- package/dist/{chunk-MXAUURHG.js → chunk-TQFONRJP.js} +5 -5
- package/dist/{chunk-GDTMDZJA.js → chunk-UH3WB3VN.js} +5 -5
- package/dist/{chunk-WJKBKH3Y.js → chunk-UHI6VYFX.js} +5 -5
- package/dist/{chunk-NNYJV66S.js → chunk-VIEJEAGW.js} +5 -5
- package/dist/{chunk-GJSFP4V4.js → chunk-VRGMXDRD.js} +6 -3
- package/dist/{chunk-NVSVTFPX.js → chunk-XTWFEQXH.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +49 -47
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +49 -47
- package/dist/cli/schemaContext.js +49 -47
- package/dist/client/getClientEngineType.d.ts +6 -0
- package/dist/client/getClientEngineType.js +26 -0
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +48 -46
- package/dist/engine-commands/getConfig.js +10 -10
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/getEngineVersion.js +9 -6
- package/dist/engine-commands/getEnginesInfo.js +9 -7
- package/dist/engine-commands/index.js +60 -58
- 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 +51 -49
- 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 +5 -6
- package/dist/getPackedPackage.js +3 -4
- package/dist/highlight/highlight.js +5 -5
- package/dist/index.d.ts +4 -1
- package/dist/index.js +95 -88
- package/dist/{multipart-parser-UV3WZSWW.js → multipart-parser-3AFJFP6K.js} +6 -6
- package/dist/resolveBinary.js +7 -8
- package/dist/schemaEngineCommands.js +8 -9
- 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/handleEngineLoadingErrors.d.ts +8 -0
- package/dist/utils/handleEngineLoadingErrors.js +27 -0
- package/dist/utils/handlePanic.js +8 -8
- package/dist/utils/link.js +2 -2
- package/dist/utils/load.d.ts +6 -0
- package/dist/utils/load.js +28 -0
- package/dist/utils/missingDatasource.js +5 -5
- package/dist/utils/missingGeneratorMessage.js +7 -7
- package/dist/wasm.js +5 -5
- package/package.json +12 -12
- package/dist/chunk-DYV47NUW.js +0 -796
|
@@ -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_KIFFN3IT.handlePanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(handlePanic_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_KIFFN3IT = require("../chunk-KIFFN3IT.js");
|
|
25
|
+
var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
|
|
26
26
|
var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
|
|
27
|
-
var
|
|
28
|
-
var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
|
|
27
|
+
var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
|
|
29
28
|
var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
|
|
30
|
-
var
|
|
29
|
+
var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
|
|
30
|
+
var import_chunk_GSH4BXBI = require("../chunk-GSH4BXBI.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_5AI4FIZ3 = require("../chunk-5AI4FIZ3.js");
|
|
36
|
+
var import_chunk_NVNI2SRU = require("../chunk-NVNI2SRU.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_I6WLABB2.link
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(link_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
|
|
25
25
|
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
26
26
|
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -0,0 +1,6 @@
|
|
|
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;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 load_exports = {};
|
|
20
|
+
__export(load_exports, {
|
|
21
|
+
loadLibrary: () => import_chunk_6TTRTZXU.loadLibrary
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(load_exports);
|
|
24
|
+
var import_chunk_6TTRTZXU = require("../chunk-6TTRTZXU.js");
|
|
25
|
+
var import_chunk_DZYINYAA = require("../chunk-DZYINYAA.js");
|
|
26
|
+
var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
|
|
27
|
+
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
28
|
+
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_7QC5VORA.missingDatasource
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(missingDatasource_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
24
|
+
var import_chunk_7QC5VORA = require("../chunk-7QC5VORA.js");
|
|
25
|
+
var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
|
|
26
|
+
var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
|
|
28
27
|
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
28
|
+
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.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_AX5N26KG.missingGeneratorMessage,
|
|
22
|
+
missingModelMessage: () => import_chunk_AX5N26KG.missingModelMessage,
|
|
23
|
+
missingModelMessageMongoDB: () => import_chunk_AX5N26KG.missingModelMessageMongoDB
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(missingGeneratorMessage_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.js");
|
|
26
|
+
var import_chunk_AX5N26KG = require("../chunk-AX5N26KG.js");
|
|
27
|
+
var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
|
|
28
|
+
var import_chunk_TQCLUNM2 = require("../chunk-TQCLUNM2.js");
|
|
30
29
|
var import_chunk_OIVPX3BR = require("../chunk-OIVPX3BR.js");
|
|
30
|
+
var import_chunk_CYAS6B5N = require("../chunk-CYAS6B5N.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_GFAWJ2TV.prismaSchemaWasm,
|
|
22
|
+
prismaSchemaWasmVersion: () => import_chunk_GFAWJ2TV.prismaSchemaWasmVersion,
|
|
23
|
+
schemaEngineWasmVersion: () => import_chunk_GFAWJ2TV.schemaEngineWasmVersion
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(wasm_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var import_chunk_GFAWJ2TV = require("./chunk-GFAWJ2TV.js");
|
|
27
|
+
var import_chunk_UH3WB3VN = require("./chunk-UH3WB3VN.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-next.14",
|
|
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.0",
|
|
31
31
|
"@types/resolve": "1.20.6",
|
|
32
32
|
"archiver": "6.0.2",
|
|
33
33
|
"checkpoint-client": "1.1.33",
|
|
@@ -72,16 +72,16 @@
|
|
|
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/engines": "6.19.0-integration-
|
|
80
|
-
"@prisma/
|
|
81
|
-
"@prisma/generator": "6.19.0-integration-
|
|
82
|
-
"@prisma/generator
|
|
83
|
-
"@prisma/get-platform": "6.19.0-integration-
|
|
84
|
-
"@prisma/schema-files-loader": "6.19.0-integration-
|
|
75
|
+
"@prisma/config": "6.19.0-integration-next.14",
|
|
76
|
+
"@prisma/dmmf": "6.19.0-integration-next.14",
|
|
77
|
+
"@prisma/driver-adapter-utils": "6.19.0-integration-next.14",
|
|
78
|
+
"@prisma/fetch-engine": "6.19.0-integration-next.14",
|
|
79
|
+
"@prisma/engines": "6.19.0-integration-next.14",
|
|
80
|
+
"@prisma/debug": "6.19.0-integration-next.14",
|
|
81
|
+
"@prisma/generator-helper": "6.19.0-integration-next.14",
|
|
82
|
+
"@prisma/generator": "6.19.0-integration-next.14",
|
|
83
|
+
"@prisma/get-platform": "6.19.0-integration-next.14",
|
|
84
|
+
"@prisma/schema-files-loader": "6.19.0-integration-next.14"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"typescript": ">=5.4.0"
|