@prisma/internals 6.19.0-integration-engines-6-19-0-30-push-otuqumlrponx-17ff4a7bd0bffdf0b40b58a399869660f7f0e368.1 → 6.19.0-integration-feat-remove-library-engine.3

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.
Files changed (108) hide show
  1. package/dist/{chunk-GMW36QQF.js → chunk-22HIO2UL.js} +7 -7
  2. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  3. package/dist/{chunk-SVOYDVK6.js → chunk-2MJNNWBQ.js} +8 -8
  4. package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
  5. package/dist/{chunk-AX5N26KG.js → chunk-33K2EQQZ.js} +10 -10
  6. package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
  7. package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
  8. package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
  9. package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
  10. package/dist/{chunk-46ABODUM.js → chunk-6QTN4DDB.js} +6 -21
  11. package/dist/{chunk-72WT7DK3.js → chunk-7TNL2X5G.js} +5 -5
  12. package/dist/{chunk-YQECHDTJ.js → chunk-AAXLNSYL.js} +5 -5
  13. package/dist/{chunk-6MRKNTJD.js → chunk-AOJ2N25Z.js} +8 -8
  14. package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
  15. package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
  16. package/dist/{chunk-MEMPRTWR.js → chunk-BZV6PVWV.js} +8 -8
  17. package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
  18. package/dist/{chunk-47SAWGTD.js → chunk-D7L3VT6R.js} +8 -8
  19. package/dist/chunk-DYV47NUW.js +796 -0
  20. package/dist/{chunk-C4DCOB35.js → chunk-EBJBIVXN.js} +5 -5
  21. package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
  22. package/dist/{chunk-ECMR3OBL.js → chunk-FSQCVENL.js} +7 -7
  23. package/dist/{chunk-PZMRR772.js → chunk-FURGECAD.js} +6 -6
  24. package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
  25. package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
  26. package/dist/{chunk-OAT7ZJED.js → chunk-H5STSTVK.js} +7 -20
  27. package/dist/{chunk-7QC5VORA.js → chunk-H6PPJ5PX.js} +7 -7
  28. package/dist/{chunk-FYZCPL2Z.js → chunk-HNRMSI3R.js} +5 -8
  29. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  30. package/dist/{chunk-UQUWZJVN.js → chunk-IU77SCOB.js} +9 -9
  31. package/dist/{chunk-FXUEE7XX.js → chunk-KD7PGGJP.js} +8 -8
  32. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  33. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  34. package/dist/{chunk-L5ZWEYO7.js → chunk-MUZJUPDX.js} +7 -7
  35. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  36. package/dist/{chunk-PPB7JLDO.js → chunk-NNYJV66S.js} +5 -5
  37. package/dist/{chunk-ZBUC6PZX.js → chunk-NVSVTFPX.js} +5 -5
  38. package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
  39. package/dist/{chunk-46MGVXWZ.js → chunk-P4JEYG25.js} +5 -5
  40. package/dist/{chunk-VMKOB234.js → chunk-QQRYY5P4.js} +8 -8
  41. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  42. package/dist/{chunk-4L35EYLD.js → chunk-SFKBYZWG.js} +38 -66
  43. package/dist/{chunk-AMETUICR.js → chunk-TAKL4AGJ.js} +8 -8
  44. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  45. package/dist/{chunk-W7LDAWJF.js → chunk-UMB3Y33W.js} +7 -7
  46. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  47. package/dist/{chunk-UHI6VYFX.js → chunk-WJKBKH3Y.js} +5 -5
  48. package/dist/{chunk-ZCMRWYQK.js → chunk-Z2IPE4NA.js} +38 -66
  49. package/dist/{chunk-DRMVYKKF.js → chunk-ZEBJSCAV.js} +5 -5
  50. package/dist/{chunk-ZY7BAIKC.js → chunk-ZVTQSH5K.js} +5 -5
  51. package/dist/cli/checkUnsupportedDataProxy.js +52 -54
  52. package/dist/cli/checkUnsupportedSchemaEngineWasm.js +52 -54
  53. package/dist/cli/getGeneratorSuccessMessage.js +2 -3
  54. package/dist/cli/getSchema.d.ts +1 -15
  55. package/dist/cli/getSchema.js +4 -5
  56. package/dist/cli/hashes.js +4 -4
  57. package/dist/cli/schemaContext.js +52 -54
  58. package/dist/engine-commands/errorHelpers.js +4 -4
  59. package/dist/engine-commands/formatSchema.js +51 -53
  60. package/dist/engine-commands/getConfig.js +10 -10
  61. package/dist/engine-commands/getDmmf.js +7 -7
  62. package/dist/engine-commands/getEngineVersion.js +6 -9
  63. package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
  64. package/dist/engine-commands/getEnginesInfo.js +7 -9
  65. package/dist/engine-commands/index.js +63 -65
  66. package/dist/engine-commands/lintSchema.js +8 -8
  67. package/dist/engine-commands/mergeSchemas.js +7 -7
  68. package/dist/engine-commands/validate.js +7 -7
  69. package/dist/errorReporting.js +6 -6
  70. package/dist/get-generators/getGenerators.d.ts +0 -1
  71. package/dist/get-generators/getGenerators.js +54 -56
  72. package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
  73. package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
  74. package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
  75. package/dist/getPackedPackage.js +4 -3
  76. package/dist/highlight/highlight.js +5 -5
  77. package/dist/index.d.ts +1 -4
  78. package/dist/index.js +102 -109
  79. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  80. package/dist/resolveBinary.js +8 -7
  81. package/dist/schemaEngineCommands.js +9 -8
  82. package/dist/sendPanic.js +4 -4
  83. package/dist/utils/canPrompt.js +3 -3
  84. package/dist/utils/cloudflareD1.js +3 -3
  85. package/dist/utils/drawBox.js +2 -2
  86. package/dist/utils/fs-functional.js +10 -10
  87. package/dist/utils/fs-utils.js +8 -8
  88. package/dist/utils/getEnvPaths.d.ts +1 -1
  89. package/dist/utils/getEnvPaths.js +2 -3
  90. package/dist/utils/getVersionFromPackageJson.js +3 -3
  91. package/dist/utils/handlePanic.js +8 -8
  92. package/dist/utils/link.js +2 -2
  93. package/dist/utils/loadEnvFile.d.ts +1 -1
  94. package/dist/utils/loadEnvFile.js +3 -4
  95. package/dist/utils/missingDatasource.js +5 -5
  96. package/dist/utils/missingGeneratorMessage.js +7 -7
  97. package/dist/utils/serializeQueryEngineName.js +2 -2
  98. package/dist/wasm.js +5 -5
  99. package/package.json +15 -15
  100. package/dist/chunk-6TTRTZXU.js +0 -37
  101. package/dist/chunk-DZYINYAA.js +0 -68
  102. package/dist/chunk-ERSH2BQA.js +0 -58
  103. package/dist/client/getClientEngineType.d.ts +0 -7
  104. package/dist/client/getClientEngineType.js +0 -26
  105. package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
  106. package/dist/utils/handleEngineLoadingErrors.js +0 -27
  107. package/dist/utils/load.d.ts +0 -6
  108. package/dist/utils/load.js +0 -28
@@ -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 chunk_ECMR3OBL_exports = {};
30
- __export(chunk_ECMR3OBL_exports, {
29
+ var chunk_FSQCVENL_exports = {};
30
+ __export(chunk_FSQCVENL_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_ECMR3OBL_exports);
34
+ module.exports = __toCommonJS(chunk_FSQCVENL_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_C4DCOB35 = require("./chunk-C4DCOB35.js");
39
- var import_chunk_ZY7BAIKC = require("./chunk-ZY7BAIKC.js");
38
+ var import_chunk_P4JEYG25 = require("./chunk-P4JEYG25.js");
39
+ var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.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: mergeSchemas]`;
62
- super((0, import_chunk_C4DCOB35.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_P4JEYG25.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
63
  this.name = "MergeSchemasError";
64
64
  }
65
65
  };
@@ -72,7 +72,7 @@ function mergeSchemas(options) {
72
72
  const params = JSON.stringify({
73
73
  schema: options.schemas
74
74
  });
75
- return import_chunk_ZY7BAIKC.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_AAXLNSYL.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -16,14 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_PZMRR772_exports = {};
20
- __export(chunk_PZMRR772_exports, {
19
+ var chunk_FURGECAD_exports = {};
20
+ __export(chunk_FURGECAD_exports, {
21
21
  loadEnvFile: () => loadEnvFile
22
22
  });
23
- module.exports = __toCommonJS(chunk_PZMRR772_exports);
24
- var import_chunk_46ABODUM = require("./chunk-46ABODUM.js");
23
+ module.exports = __toCommonJS(chunk_FURGECAD_exports);
24
+ var import_chunk_6QTN4DDB = require("./chunk-6QTN4DDB.js");
25
25
  var import_chunk_3FP46GUV = require("./chunk-3FP46GUV.js");
26
- async function loadEnvFile({
26
+ function loadEnvFile({
27
27
  schemaPath,
28
28
  config,
29
29
  printMessage = false
@@ -33,7 +33,7 @@ async function loadEnvFile({
33
33
  `);
34
34
  return;
35
35
  }
36
- const envPaths = await (0, import_chunk_46ABODUM.getEnvPaths)(schemaPath);
36
+ const envPaths = (0, import_chunk_6QTN4DDB.getEnvPaths)(schemaPath);
37
37
  const envData = (0, import_chunk_3FP46GUV.tryLoadEnvs)(envPaths, { conflictCheck: "error" });
38
38
  if (printMessage && envData && envData.message) {
39
39
  process.stderr.write(envData.message + "\n");
@@ -16,21 +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 chunk_4CGPN5SR_exports = {};
20
- __export(chunk_4CGPN5SR_exports, {
19
+ var chunk_GJSFP4V4_exports = {};
20
+ __export(chunk_GJSFP4V4_exports, {
21
21
  engineTypeToBinaryType: () => engineTypeToBinaryType
22
22
  });
23
- module.exports = __toCommonJS(chunk_4CGPN5SR_exports);
23
+ module.exports = __toCommonJS(chunk_GJSFP4V4_exports);
24
24
  var import_fetch_engine = require("@prisma/fetch-engine");
25
25
  function engineTypeToBinaryType(engineType) {
26
26
  if (engineType === "schemaEngine") {
27
27
  return import_fetch_engine.BinaryType.SchemaEngineBinary;
28
28
  }
29
- if (engineType === "queryEngine") {
30
- return import_fetch_engine.BinaryType.QueryEngineBinary;
31
- }
32
- if (engineType === "libqueryEngine") {
33
- return import_fetch_engine.BinaryType.QueryEngineLibrary;
34
- }
35
29
  throw new Error(`Could not convert engine type ${engineType}`);
36
30
  }
@@ -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 chunk_4JCVHBYR_exports = {};
30
- __export(chunk_4JCVHBYR_exports, {
29
+ var chunk_GL7OANR6_exports = {};
30
+ __export(chunk_GL7OANR6_exports, {
31
31
  getCLIPathHash: () => getCLIPathHash,
32
32
  getProjectHash: () => getProjectHash
33
33
  });
34
- module.exports = __toCommonJS(chunk_4JCVHBYR_exports);
35
- var import_chunk_EYVG6XQS = require("./chunk-EYVG6XQS.js");
34
+ module.exports = __toCommonJS(chunk_GL7OANR6_exports);
35
+ var import_chunk_OKVM3CW4 = require("./chunk-OKVM3CW4.js");
36
36
  var import_crypto = __toESM(require("crypto"));
37
37
  async function getProjectHash(schemaPathFromArgs, schemaPathFromConfig) {
38
- const projectPath = (await (0, import_chunk_EYVG6XQS.getSchemaWithPath)(schemaPathFromArgs, schemaPathFromConfig))?.schemaPath ?? process.cwd();
38
+ const projectPath = (await (0, import_chunk_OKVM3CW4.getSchemaWithPath)(schemaPathFromArgs, schemaPathFromConfig))?.schemaPath ?? process.cwd();
39
39
  return import_crypto.default.createHash("sha256").update(projectPath).digest("hex").substring(0, 8);
40
40
  }
41
41
  function getCLIPathHash() {
@@ -16,33 +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 chunk_OAT7ZJED_exports = {};
20
- __export(chunk_OAT7ZJED_exports, {
19
+ var chunk_H5STSTVK_exports = {};
20
+ __export(chunk_H5STSTVK_exports, {
21
21
  getEngineVersion: () => getEngineVersion,
22
22
  safeGetEngineVersion: () => safeGetEngineVersion
23
23
  });
24
- module.exports = __toCommonJS(chunk_OAT7ZJED_exports);
25
- var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
24
+ module.exports = __toCommonJS(chunk_H5STSTVK_exports);
26
25
  var import_chunk_JOIHHXR6 = require("./chunk-JOIHHXR6.js");
27
- var import_chunk_FYZCPL2Z = require("./chunk-FYZCPL2Z.js");
26
+ var import_chunk_HNRMSI3R = require("./chunk-HNRMSI3R.js");
28
27
  var import_chunk_5DBOS77Y = require("./chunk-5DBOS77Y.js");
29
- var import_engines = require("@prisma/engines");
30
28
  var import_fetch_engine = require("@prisma/fetch-engine");
31
- var import_get_platform = require("@prisma/get-platform");
32
29
  async function getEngineVersion(enginePath, binaryName) {
33
- if (!binaryName) {
34
- binaryName = (0, import_engines.getCliQueryEngineBinaryType)();
35
- }
36
- enginePath = await (0, import_chunk_FYZCPL2Z.resolveBinary)(binaryName, enginePath);
37
- const platformInfo = await (0, import_get_platform.getPlatformInfo)();
38
- if (binaryName === import_fetch_engine.BinaryType.QueryEngineLibrary) {
39
- (0, import_get_platform.assertNodeAPISupported)();
40
- const QE = (0, import_chunk_6TTRTZXU.loadLibrary)(enginePath, platformInfo);
41
- return `${import_fetch_engine.BinaryType.QueryEngineLibrary} ${QE.version().commit}`;
42
- } else {
43
- const { stdout } = await (0, import_chunk_JOIHHXR6.execa)(enginePath, ["--version"]);
44
- return stdout;
45
- }
30
+ enginePath = await (0, import_chunk_HNRMSI3R.resolveBinary)(binaryName ?? import_fetch_engine.BinaryType.SchemaEngineBinary, enginePath);
31
+ const { stdout } = await (0, import_chunk_JOIHHXR6.execa)(enginePath, ["--version"]);
32
+ return stdout;
46
33
  }
47
34
  function safeGetEngineVersion(enginePath, binaryName) {
48
35
  return (0, import_chunk_5DBOS77Y.tryCatch2)(
@@ -16,25 +16,25 @@ 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 chunk_7QC5VORA_exports = {};
20
- __export(chunk_7QC5VORA_exports, {
19
+ var chunk_H6PPJ5PX_exports = {};
20
+ __export(chunk_H6PPJ5PX_exports, {
21
21
  missingDatasource: () => missingDatasource
22
22
  });
23
- module.exports = __toCommonJS(chunk_7QC5VORA_exports);
24
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
25
- var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
23
+ module.exports = __toCommonJS(chunk_H6PPJ5PX_exports);
24
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
25
+ var import_chunk_VNIE2AZB = require("./chunk-VNIE2AZB.js");
26
26
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
27
27
  var missingDatasource = `
28
28
  You don't have any ${(0, import_chunk_PG5FDKSF.bold)("datasource")} defined in your ${(0, import_chunk_PG5FDKSF.bold)("schema.prisma")}.
29
29
  You can define a datasource like this:
30
30
 
31
31
  ${(0, import_chunk_PG5FDKSF.bold)(
32
- (0, import_chunk_TQCLUNM2.highlightDatamodel)(`datasource db {
32
+ (0, import_chunk_VNIE2AZB.highlightDatamodel)(`datasource db {
33
33
  provider = "postgresql"
34
34
  url = env("DB_URL")
35
35
  }`)
36
36
  )}
37
37
 
38
38
  More information in our documentation:
39
- ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/prisma-schema")}
39
+ ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/prisma-schema")}
40
40
  `;
@@ -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 chunk_FYZCPL2Z_exports = {};
30
- __export(chunk_FYZCPL2Z_exports, {
29
+ var chunk_HNRMSI3R_exports = {};
30
+ __export(chunk_HNRMSI3R_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(chunk_FYZCPL2Z_exports);
37
+ module.exports = __toCommonJS(chunk_HNRMSI3R_exports);
38
38
  var import_chunk_M3GBKLGE = require("./chunk-M3GBKLGE.js");
39
- var import_chunk_IDINCQMN = require("./chunk-IDINCQMN.js");
39
+ var import_chunk_FF7OLLBP = require("./chunk-FF7OLLBP.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,14 +46,11 @@ var import_fetch_engine = require("@prisma/fetch-engine");
46
46
  var import_get_platform = require("@prisma/get-platform");
47
47
  var import_fs = __toESM(require("fs"));
48
48
  var import_path = __toESM(require("path"));
49
- var import_fs_extra = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_IDINCQMN.require_lib)());
49
+ var import_fs_extra = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_FF7OLLBP.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)();
53
53
  const extension = binaryTarget === "windows" ? ".exe" : "";
54
- if (name === import_fetch_engine.BinaryType.QueryEngineLibrary) {
55
- return (0, import_get_platform.getNodeAPIName)(binaryTarget, "fs");
56
- }
57
54
  return `${name}-${binaryTarget}${extension}`;
58
55
  }
59
56
  async function resolveBinary(name, proposedPath) {
@@ -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 chunk_D4VDA2TZ_exports = {};
30
- __export(chunk_D4VDA2TZ_exports, {
29
+ var chunk_IRWX4FCC_exports = {};
30
+ __export(chunk_IRWX4FCC_exports, {
31
31
  locateLocalCloudflareD1: () => locateLocalCloudflareD1
32
32
  });
33
- module.exports = __toCommonJS(chunk_D4VDA2TZ_exports);
33
+ module.exports = __toCommonJS(chunk_IRWX4FCC_exports);
34
34
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
35
- var import_chunk_JOIIWB3U = require("./chunk-JOIIWB3U.js");
35
+ var import_chunk_2LOGW45F = require("./chunk-2LOGW45F.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, import_chunk_JOIIWB3U.require_out)());
40
- var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_JOIIWB3U.require_globby)());
39
+ var import_fast_glob = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_2LOGW45F.require_out)());
40
+ var import_globby = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_2LOGW45F.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,19 +26,19 @@ 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 chunk_UQUWZJVN_exports = {};
30
- __export(chunk_UQUWZJVN_exports, {
29
+ var chunk_IU77SCOB_exports = {};
30
+ __export(chunk_IU77SCOB_exports, {
31
31
  handlePanic: () => handlePanic
32
32
  });
33
- module.exports = __toCommonJS(chunk_UQUWZJVN_exports);
34
- var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
33
+ module.exports = __toCommonJS(chunk_IU77SCOB_exports);
34
+ var import_chunk_3WXUQZS7 = require("./chunk-3WXUQZS7.js");
35
35
  var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
36
- var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
37
- var import_chunk_HFFWZTVM = require("./chunk-HFFWZTVM.js");
36
+ var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
37
+ var import_chunk_BUQN4WLU = require("./chunk-BUQN4WLU.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) {
41
- if (!(0, import_chunk_FCYHZHVW.canPrompt)()) {
41
+ if (!(0, import_chunk_R3J2O23S.canPrompt)()) {
42
42
  throw args.error;
43
43
  }
44
44
  await panicDialog(args);
@@ -56,7 +56,7 @@ ${(0, import_chunk_PG5FDKSF.red)(errorMessage)}
56
56
 
57
57
  ${(0, import_chunk_PG5FDKSF.bold)("Please help us improve Prisma by submitting an error report.")}
58
58
  ${(0, import_chunk_PG5FDKSF.bold)("Error reports never contain personal or other sensitive information.")}
59
- ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)("https://pris.ly/d/telemetry")}`)}
59
+ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_3WXUQZS7.link)("https://pris.ly/d/telemetry")}`)}
60
60
  `);
61
61
  const { value: shouldSubmitReport } = await (0, import_prompts.default)({
62
62
  type: "select",
@@ -79,7 +79,7 @@ ${(0, import_chunk_PG5FDKSF.dim)(`Learn more: ${(0, import_chunk_I6WLABB2.link)(
79
79
  if (shouldSubmitReport) {
80
80
  try {
81
81
  console.log("Submitting...");
82
- const reportId = await (0, import_chunk_HFFWZTVM.sendPanic)({ error, cliVersion, enginesVersion, getDatabaseVersionSafe });
82
+ const reportId = await (0, import_chunk_BUQN4WLU.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(`
@@ -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 chunk_FXUEE7XX_exports = {};
30
- __export(chunk_FXUEE7XX_exports, {
29
+ var chunk_KD7PGGJP_exports = {};
30
+ __export(chunk_KD7PGGJP_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_FXUEE7XX_exports);
34
+ module.exports = __toCommonJS(chunk_KD7PGGJP_exports);
35
35
  var import_chunk_TZJROXB3 = require("./chunk-TZJROXB3.js");
36
36
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
37
37
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
38
- var import_chunk_46MGVXWZ = require("./chunk-46MGVXWZ.js");
39
- var import_chunk_YQECHDTJ = require("./chunk-YQECHDTJ.js");
38
+ var import_chunk_P4JEYG25 = require("./chunk-P4JEYG25.js");
39
+ var import_chunk_AAXLNSYL = require("./chunk-AAXLNSYL.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, import_chunk_46MGVXWZ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_P4JEYG25.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
- import_chunk_YQECHDTJ.prismaSchemaWasm.debug_panic();
74
+ import_chunk_AAXLNSYL.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
- import_chunk_YQECHDTJ.prismaSchemaWasm.validate(params);
80
+ import_chunk_AAXLNSYL.prismaSchemaWasm.validate(params);
81
81
  },
82
82
  (e) => ({
83
83
  type: "wasm-error",