@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
|
@@ -26,20 +26,20 @@ 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_HZ6U2UGL_exports = {};
|
|
30
|
+
__export(chunk_HZ6U2UGL_exports, {
|
|
31
31
|
GetConfigError: () => GetConfigError,
|
|
32
32
|
getConfig: () => getConfig,
|
|
33
33
|
getDirectUrl: () => getDirectUrl,
|
|
34
34
|
getEffectiveUrl: () => getEffectiveUrl,
|
|
35
35
|
resolveUrl: () => resolveUrl
|
|
36
36
|
});
|
|
37
|
-
module.exports = __toCommonJS(
|
|
37
|
+
module.exports = __toCommonJS(chunk_HZ6U2UGL_exports);
|
|
38
38
|
var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
|
|
39
39
|
var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
|
|
40
40
|
var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var import_chunk_MURRA56K = require("./chunk-MURRA56K.js");
|
|
42
|
+
var import_chunk_HQAD5FY2 = require("./chunk-HQAD5FY2.js");
|
|
43
43
|
var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
|
|
44
44
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
|
45
45
|
var import_chunk_LMVSIVKQ = require("./chunk-LMVSIVKQ.js");
|
|
@@ -64,7 +64,7 @@ ${detailsHeader} ${message}`;
|
|
|
64
64
|
}).exhaustive();
|
|
65
65
|
const errorMessageWithContext = `${constructedErrorMessage}
|
|
66
66
|
[Context: getConfig]`;
|
|
67
|
-
super((0,
|
|
67
|
+
super((0, import_chunk_MURRA56K.addVersionDetailsToErrorMessage)(errorMessageWithContext));
|
|
68
68
|
this.name = "GetConfigError";
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -89,7 +89,7 @@ async function getConfig(options) {
|
|
|
89
89
|
() => {
|
|
90
90
|
if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
|
|
91
91
|
debug("Triggering a Rust panic...");
|
|
92
|
-
|
|
92
|
+
import_chunk_HQAD5FY2.prismaSchemaWasm.debug_panic();
|
|
93
93
|
}
|
|
94
94
|
const params = JSON.stringify({
|
|
95
95
|
prismaSchema: options.datamodel,
|
|
@@ -97,7 +97,7 @@ async function getConfig(options) {
|
|
|
97
97
|
ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
|
|
98
98
|
env: process.env
|
|
99
99
|
});
|
|
100
|
-
const data =
|
|
100
|
+
const data = import_chunk_HQAD5FY2.prismaSchemaWasm.get_config(params);
|
|
101
101
|
return data;
|
|
102
102
|
},
|
|
103
103
|
(e) => ({
|
|
@@ -26,11 +26,11 @@ 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_I6WLABB2_exports = {};
|
|
30
|
+
__export(chunk_I6WLABB2_exports, {
|
|
31
31
|
link: () => link2
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_I6WLABB2_exports);
|
|
34
34
|
var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
|
|
35
35
|
var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
|
|
36
36
|
var import_node_process = __toESM(require("node:process"));
|
|
@@ -245,11 +245,9 @@ var require_supports_hyperlinks = (0, import_chunk_4VNS5WPM.__commonJS)({
|
|
|
245
245
|
});
|
|
246
246
|
var base_exports = {};
|
|
247
247
|
(0, import_chunk_4VNS5WPM.__export)(base_exports, {
|
|
248
|
-
ConEmu: () => ConEmu,
|
|
249
248
|
beep: () => beep,
|
|
250
249
|
clearScreen: () => clearScreen,
|
|
251
250
|
clearTerminal: () => clearTerminal,
|
|
252
|
-
clearViewport: () => clearViewport,
|
|
253
251
|
cursorBackward: () => cursorBackward,
|
|
254
252
|
cursorDown: () => cursorDown,
|
|
255
253
|
cursorForward: () => cursorForward,
|
|
@@ -277,8 +275,7 @@ var base_exports = {};
|
|
|
277
275
|
image: () => image,
|
|
278
276
|
link: () => link,
|
|
279
277
|
scrollDown: () => scrollDown,
|
|
280
|
-
scrollUp: () => scrollUp
|
|
281
|
-
setCwd: () => setCwd
|
|
278
|
+
scrollUp: () => scrollUp
|
|
282
279
|
});
|
|
283
280
|
var isBrowser = globalThis.window?.document !== void 0;
|
|
284
281
|
var isNode = globalThis.process?.versions?.node !== void 0;
|
|
@@ -362,7 +359,6 @@ var eraseScreen = ESC + "2J";
|
|
|
362
359
|
var scrollUp = ESC + "S";
|
|
363
360
|
var scrollDown = ESC + "T";
|
|
364
361
|
var clearScreen = "\x1Bc";
|
|
365
|
-
var clearViewport = `${eraseScreen}${ESC}H`;
|
|
366
362
|
var clearTerminal = isWindows2 ? `${eraseScreen}${ESC}0f` : `${eraseScreen}${ESC}3J${ESC}H`;
|
|
367
363
|
var enterAlternativeScreen = ESC + "?1049h";
|
|
368
364
|
var exitAlternativeScreen = ESC + "?1049l";
|
|
@@ -392,8 +388,7 @@ var image = (data, options = {}) => {
|
|
|
392
388
|
if (options.preserveAspectRatio === false) {
|
|
393
389
|
returnValue += ";preserveAspectRatio=0";
|
|
394
390
|
}
|
|
395
|
-
|
|
396
|
-
return returnValue + `;size=${imageBuffer.byteLength}:` + imageBuffer.toString("base64") + BEL;
|
|
391
|
+
return returnValue + ":" + Buffer.from(data).toString("base64") + BEL;
|
|
397
392
|
};
|
|
398
393
|
var iTerm = {
|
|
399
394
|
setCwd: (cwd = cwdFunction()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
@@ -414,10 +409,6 @@ var iTerm = {
|
|
|
414
409
|
return returnValue + BEL;
|
|
415
410
|
}
|
|
416
411
|
};
|
|
417
|
-
var ConEmu = {
|
|
418
|
-
setCwd: (cwd = cwdFunction()) => `${OSC}9;9;${cwd}${BEL}`
|
|
419
|
-
};
|
|
420
|
-
var setCwd = (cwd = cwdFunction()) => iTerm.setCwd(cwd) + ConEmu.setCwd(cwd);
|
|
421
412
|
var import_supports_hyperlinks = (0, import_chunk_4VNS5WPM.__toESM)(require_supports_hyperlinks(), 1);
|
|
422
413
|
function terminalLink(text, url, { target = "stdout", ...options } = {}) {
|
|
423
414
|
if (!import_supports_hyperlinks.default[target]) {
|