@prisma/internals 6.6.0-integration-push-xmzqvqxpztks.11 → 6.6.0-integration-mcp.2

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 (102) hide show
  1. package/dist/Generator.d.ts +5 -23
  2. package/dist/Generator.js +2 -4
  3. package/dist/{chunk-EPXBOIA5.js → chunk-2I3VYCA7.js} +5 -5
  4. package/dist/{chunk-2QTAK7KO.js → chunk-2LDG4PID.js} +5 -5
  5. package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
  6. package/dist/{chunk-KB5DKCI4.js → chunk-3GYXMWBM.js} +7 -7
  7. package/dist/{chunk-C36XBSRA.js → chunk-4KCLNFE4.js} +5 -5
  8. package/dist/{chunk-Y4ZCEXKJ.js → chunk-5CBAXTAF.js} +5 -5
  9. package/dist/chunk-72UZXEBG.js +28 -0
  10. package/dist/{chunk-2HN7FYKA.js → chunk-AP52B62F.js} +5 -5
  11. package/dist/{chunk-HG3YOAAE.js → chunk-AXD7KB4D.js} +5 -5
  12. package/dist/chunk-BWGDP6B5.js +4948 -0
  13. package/dist/chunk-DYV47NUW.js +796 -0
  14. package/dist/{chunk-BPDMLM32.js → chunk-DYVL6P7F.js} +13 -46
  15. package/dist/{chunk-DKSUHQGA.js → chunk-EKESIUIK.js} +7 -7
  16. package/dist/chunk-EUTJYQDW.js +46 -0
  17. package/dist/{chunk-3EGV6JCZ.js → chunk-FAPPXX7W.js} +8 -8
  18. package/dist/chunk-GHHABGYW.js +28 -0
  19. package/dist/{chunk-FJR5JRC2.js → chunk-GV244NDE.js} +7 -7
  20. package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
  21. package/dist/{chunk-IDINCQMN.js → chunk-IWTEX7EE.js} +9 -780
  22. package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
  23. package/dist/{chunk-AO5ASZAS.js → chunk-LWBLVV7Y.js} +8 -8
  24. package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
  25. package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
  26. package/dist/chunk-OQ2NRV2Y.js +35 -0
  27. package/dist/{chunk-YNDF56XR.js → chunk-ORPBIAE5.js} +8 -8
  28. package/dist/{chunk-SHHALVIQ.js → chunk-OUQPIJFQ.js} +5 -5
  29. package/dist/chunk-PE6DXWOX.js +52 -0
  30. package/dist/{chunk-3BVB3DTJ.js → chunk-PING5S2U.js} +8 -8
  31. package/dist/{chunk-2R7JBGUP.js → chunk-PWGQKUJW.js} +200 -85
  32. package/dist/{chunk-CTAL72US.js → chunk-Q2IBLC6D.js} +5 -5
  33. package/dist/{chunk-XG33Y5QX.js → chunk-R45GQNKO.js} +200 -85
  34. package/dist/{chunk-MJIP3FY5.js → chunk-R4ZFFYJA.js} +238 -2502
  35. package/dist/{chunk-7UNYBZSU.js → chunk-RABVZXRU.js} +7 -7
  36. package/dist/{chunk-3DQANJMY.js → chunk-SAAMENIS.js} +7 -7
  37. package/dist/{chunk-57VS7LXW.js → chunk-SNSJWJTA.js} +5 -5
  38. package/dist/{chunk-YR5KNFKN.js → chunk-SUOMIRLO.js} +6 -6
  39. package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
  40. package/dist/{chunk-BWYO73FG.js → chunk-UFYFNNCN.js} +8 -8
  41. package/dist/{chunk-67I7CEQJ.js → chunk-URRVX2VQ.js} +6 -6
  42. package/dist/{chunk-FUC2LI24.js → chunk-VTJOX6HO.js} +5 -5
  43. package/dist/{chunk-EFNTOXMV.js → chunk-VYJSNZF3.js} +4 -3
  44. package/dist/{chunk-ETYWYJBX.js → chunk-WF5LZFJS.js} +12 -12
  45. package/dist/{chunk-7U7QD73Y.js → chunk-WOIJKMTZ.js} +8 -8
  46. package/dist/{chunk-D6EDE5WT.js → chunk-XMVJRTN5.js} +5 -5
  47. package/dist/{chunk-RSLFYIHN.js → chunk-XRBOJLES.js} +5 -4
  48. package/dist/cli/checkUnsupportedDataProxy.js +44 -37
  49. package/dist/cli/getSchema.js +47 -40
  50. package/dist/cli/hashes.js +44 -37
  51. package/dist/cli/schemaContext.js +44 -37
  52. package/dist/engine-commands/errorHelpers.js +4 -4
  53. package/dist/engine-commands/formatSchema.js +43 -36
  54. package/dist/engine-commands/getConfig.js +10 -10
  55. package/dist/engine-commands/getDmmf.js +7 -7
  56. package/dist/engine-commands/getEngineVersion.js +7 -6
  57. package/dist/engine-commands/getEnginesMetaInfo.js +9 -8
  58. package/dist/engine-commands/index.js +54 -47
  59. package/dist/engine-commands/lintSchema.js +8 -8
  60. package/dist/engine-commands/mergeSchemas.js +7 -7
  61. package/dist/engine-commands/validate.js +7 -7
  62. package/dist/errorReporting.js +6 -6
  63. package/dist/get-generators/generatorResolvers/generatorResolvers.d.ts +15 -0
  64. package/dist/get-generators/generatorResolvers/generatorResolvers.js +139 -0
  65. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +6 -0
  66. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +26 -0
  67. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +9 -0
  68. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +26 -0
  69. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +8 -0
  70. package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +29 -0
  71. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +6 -0
  72. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +139 -0
  73. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +1 -0
  74. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +26 -0
  75. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +20 -0
  76. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +26 -0
  77. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +7 -0
  78. package/dist/{resolvePkg.js → get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js} +6 -6
  79. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.d.ts +1 -0
  80. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +17 -0
  81. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +20 -0
  82. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +140 -0
  83. package/dist/get-generators/getGenerators.d.ts +9 -18
  84. package/dist/get-generators/getGenerators.js +46 -39
  85. package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -3
  86. package/dist/getPackedPackage.js +5 -4
  87. package/dist/index.d.ts +4 -2
  88. package/dist/index.js +87 -80
  89. package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
  90. package/dist/resolveBinary.js +8 -7
  91. package/dist/schemaEngineCommands.js +10 -9
  92. package/dist/sendPanic.js +4 -4
  93. package/dist/utils/cloudflareD1.js +3 -3
  94. package/dist/utils/fs-functional.js +10 -10
  95. package/dist/utils/fs-utils.js +8 -8
  96. package/dist/utils/getEnvPaths.js +43 -36
  97. package/dist/utils/getVersionFromPackageJson.js +3 -3
  98. package/dist/utils/handlePanic.js +5 -5
  99. package/dist/utils/loadEnvFile.js +43 -36
  100. package/dist/wasm.js +4 -4
  101. package/package.json +11 -10
  102. package/dist/resolvePkg.d.ts +0 -7
@@ -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_7UNYBZSU_exports = {};
30
- __export(chunk_7UNYBZSU_exports, {
29
+ var chunk_RABVZXRU_exports = {};
30
+ __export(chunk_RABVZXRU_exports, {
31
31
  MergeSchemasError: () => MergeSchemasError,
32
32
  mergeSchemas: () => mergeSchemas
33
33
  });
34
- module.exports = __toCommonJS(chunk_7UNYBZSU_exports);
34
+ module.exports = __toCommonJS(chunk_RABVZXRU_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 import_chunk_D6EDE5WT = require("./chunk-D6EDE5WT.js");
39
- var import_chunk_57VS7LXW = require("./chunk-57VS7LXW.js");
38
+ var import_chunk_XMVJRTN5 = require("./chunk-XMVJRTN5.js");
39
+ var import_chunk_4KCLNFE4 = require("./chunk-4KCLNFE4.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_D6EDE5WT.addVersionDetailsToErrorMessage)(errorMessageWithContext));
62
+ super((0, import_chunk_XMVJRTN5.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_57VS7LXW.prismaSchemaWasm.merge_schemas(params);
75
+ return import_chunk_4KCLNFE4.prismaSchemaWasm.merge_schemas(params);
76
76
  },
77
77
  (e) => ({
78
78
  type: "wasm-error",
@@ -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 chunk_3DQANJMY_exports = {};
20
- __export(chunk_3DQANJMY_exports, {
19
+ var chunk_SAAMENIS_exports = {};
20
+ __export(chunk_SAAMENIS_exports, {
21
21
  getEngineVersion: () => getEngineVersion,
22
22
  safeGetEngineVersion: () => safeGetEngineVersion
23
23
  });
24
- module.exports = __toCommonJS(chunk_3DQANJMY_exports);
24
+ module.exports = __toCommonJS(chunk_SAAMENIS_exports);
25
25
  var import_chunk_6TTRTZXU = require("./chunk-6TTRTZXU.js");
26
- var import_chunk_ETYWYJBX = require("./chunk-ETYWYJBX.js");
27
- var import_chunk_HG3YOAAE = require("./chunk-HG3YOAAE.js");
26
+ var import_chunk_WF5LZFJS = require("./chunk-WF5LZFJS.js");
27
+ var import_chunk_AXD7KB4D = require("./chunk-AXD7KB4D.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, import_chunk_ETYWYJBX.require_execa)());
33
+ var import_execa = (0, import_chunk_4VNS5WPM.__toESM)((0, import_chunk_WF5LZFJS.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, import_chunk_HG3YOAAE.resolveBinary)(binaryName, enginePath);
38
+ enginePath = await (0, import_chunk_AXD7KB4D.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,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 chunk_57VS7LXW_exports = {};
30
- __export(chunk_57VS7LXW_exports, {
29
+ var chunk_SNSJWJTA_exports = {};
30
+ __export(chunk_SNSJWJTA_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(chunk_57VS7LXW_exports);
36
- var import_chunk_EFNTOXMV = require("./chunk-EFNTOXMV.js");
35
+ module.exports = __toCommonJS(chunk_SNSJWJTA_exports);
36
+ var import_chunk_VYJSNZF3 = require("./chunk-VYJSNZF3.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, import_chunk_EFNTOXMV.require_package)();
45
+ var { dependencies } = (0, import_chunk_VYJSNZF3.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 __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 chunk_YR5KNFKN_exports = {};
30
- __export(chunk_YR5KNFKN_exports, {
29
+ var chunk_SUOMIRLO_exports = {};
30
+ __export(chunk_SUOMIRLO_exports, {
31
31
  sendPanic: () => sendPanic
32
32
  });
33
- module.exports = __toCommonJS(chunk_YR5KNFKN_exports);
33
+ module.exports = __toCommonJS(chunk_SUOMIRLO_exports);
34
34
  var import_chunk_KDHESRKE = require("./chunk-KDHESRKE.js");
35
35
  var import_chunk_ZSINRHD4 = require("./chunk-ZSINRHD4.js");
36
36
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
37
- var import_chunk_5AI4FIZ3 = require("./chunk-5AI4FIZ3.js");
37
+ var import_chunk_MEOOYUIZ = require("./chunk-MEOOYUIZ.js");
38
38
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
39
39
  var import_get_platform = require("@prisma/get-platform");
40
40
  var import_os = __toESM2(require("os"));
@@ -1809,8 +1809,8 @@ async function sendPanic({
1809
1809
  sqlDump: void 0,
1810
1810
  dbVersion
1811
1811
  };
1812
- const signedUrl = await (0, import_chunk_5AI4FIZ3.createErrorReport)(params);
1813
- const id = await (0, import_chunk_5AI4FIZ3.makeErrorReportCompleted)(signedUrl);
1812
+ const signedUrl = await (0, import_chunk_MEOOYUIZ.createErrorReport)(params);
1813
+ const id = await (0, import_chunk_MEOOYUIZ.makeErrorReportCompleted)(signedUrl);
1814
1814
  return id;
1815
1815
  }
1816
1816
  function getCommand() {
@@ -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 chunk_75BIJ5PX_exports = {};
30
- __export(chunk_75BIJ5PX_exports, {
29
+ var chunk_UB2X7DGZ_exports = {};
30
+ __export(chunk_UB2X7DGZ_exports, {
31
31
  createDirIfNotExists: () => createDirIfNotExists2,
32
32
  fs_functional_exports: () => fs_functional_exports,
33
33
  getFilesInDir: () => getFilesInDir2,
@@ -37,8 +37,8 @@ __export(chunk_75BIJ5PX_exports, {
37
37
  removeFile: () => removeFile,
38
38
  writeFile: () => writeFile2
39
39
  });
40
- module.exports = __toCommonJS(chunk_75BIJ5PX_exports);
41
- var import_chunk_TQFONRJP = require("./chunk-TQFONRJP.js");
40
+ module.exports = __toCommonJS(chunk_UB2X7DGZ_exports);
41
+ var import_chunk_MXAUURHG = require("./chunk-MXAUURHG.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, 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 }));
3984
+ var createDirIfNotExists2 = (dir) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.createDirIfNotExists)(dir), createTaggedSystemError("fs-create-dir", { dir }));
3985
+ var writeFile2 = (params) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.writeFile)(params), createTaggedSystemError("fs-write-file", params));
3986
+ var removeEmptyDirs2 = (dir) => TE.tryCatch(() => (0, import_chunk_MXAUURHG.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, import_chunk_TQFONRJP.getNestedFoldersInDir)(dir);
3990
- var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_TQFONRJP.getFilesInDir)(dir, pattern);
3989
+ var getNestedFoldersInDir2 = (dir) => () => (0, import_chunk_MXAUURHG.getNestedFoldersInDir)(dir);
3990
+ var getFilesInDir2 = (dir, pattern = "**") => () => (0, import_chunk_MXAUURHG.getFilesInDir)(dir, pattern);
3991
3991
  function createTaggedSystemError(type, meta) {
3992
3992
  return (e) => ({
3993
3993
  type,
@@ -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 chunk_BWYO73FG_exports = {};
30
- __export(chunk_BWYO73FG_exports, {
29
+ var chunk_UFYFNNCN_exports = {};
30
+ __export(chunk_UFYFNNCN_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(chunk_BWYO73FG_exports);
37
+ module.exports = __toCommonJS(chunk_UFYFNNCN_exports);
38
38
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
39
39
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_D6EDE5WT = require("./chunk-D6EDE5WT.js");
42
- var import_chunk_57VS7LXW = require("./chunk-57VS7LXW.js");
41
+ var import_chunk_XMVJRTN5 = require("./chunk-XMVJRTN5.js");
42
+ var import_chunk_4KCLNFE4 = require("./chunk-4KCLNFE4.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, import_chunk_D6EDE5WT.addVersionDetailsToErrorMessage)(errorMessageWithContext));
67
+ super((0, import_chunk_XMVJRTN5.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
- import_chunk_57VS7LXW.prismaSchemaWasm.debug_panic();
92
+ import_chunk_4KCLNFE4.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 = import_chunk_57VS7LXW.prismaSchemaWasm.get_config(params);
100
+ const data = import_chunk_4KCLNFE4.prismaSchemaWasm.get_config(params);
101
101
  return data;
102
102
  },
103
103
  (e) => ({
@@ -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 chunk_67I7CEQJ_exports = {};
30
- __export(chunk_67I7CEQJ_exports, {
31
- require_is_core_module: () => require_is_core_module,
29
+ var chunk_URRVX2VQ_exports = {};
30
+ __export(chunk_URRVX2VQ_exports, {
31
+ resolve: () => resolve,
32
32
  resolvePkg: () => resolvePkg
33
33
  });
34
- module.exports = __toCommonJS(chunk_67I7CEQJ_exports);
34
+ module.exports = __toCommonJS(chunk_URRVX2VQ_exports);
35
35
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
36
36
  var import_path = __toESM(require("path"));
37
37
  var require_homedir = (0, import_chunk_4VNS5WPM.__commonJS)({
@@ -1179,7 +1179,7 @@ var require_resolve = (0, import_chunk_4VNS5WPM.__commonJS)({
1179
1179
  }
1180
1180
  });
1181
1181
  var import_resolve = (0, import_chunk_4VNS5WPM.__toESM)(require_resolve());
1182
- async function resolveOrUndefined(id, options) {
1182
+ async function resolve(id, options) {
1183
1183
  const _options = { preserveSymlinks: false, ...options };
1184
1184
  return new Promise((res) => {
1185
1185
  (0, import_resolve.default)(id, _options, (e, v) => {
@@ -1189,6 +1189,6 @@ async function resolveOrUndefined(id, options) {
1189
1189
  });
1190
1190
  }
1191
1191
  async function resolvePkg(id, options) {
1192
- const resolvedPath = await resolveOrUndefined(`${id}/package.json`, options);
1192
+ const resolvedPath = await resolve(`${id}/package.json`, options);
1193
1193
  return resolvedPath && import_path.default.dirname(resolvedPath);
1194
1194
  }
@@ -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 chunk_FUC2LI24_exports = {};
20
- __export(chunk_FUC2LI24_exports, {
19
+ var chunk_VTJOX6HO_exports = {};
20
+ __export(chunk_VTJOX6HO_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_FUC2LI24_exports);
24
- var import_chunk_RSLFYIHN = require("./chunk-RSLFYIHN.js");
25
- var packageJson = (0, import_chunk_RSLFYIHN.require_package)();
23
+ module.exports = __toCommonJS(chunk_VTJOX6HO_exports);
24
+ var import_chunk_VYJSNZF3 = require("./chunk-VYJSNZF3.js");
25
+ var packageJson = (0, import_chunk_VYJSNZF3.require_package)();
26
26
  var version = packageJson.version;
@@ -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 chunk_EFNTOXMV_exports = {};
20
- __export(chunk_EFNTOXMV_exports, {
19
+ var chunk_VYJSNZF3_exports = {};
20
+ __export(chunk_VYJSNZF3_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_EFNTOXMV_exports);
23
+ module.exports = __toCommonJS(chunk_VYJSNZF3_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
@@ -53,6 +53,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
53
53
  "scripts"
54
54
  ],
55
55
  devDependencies: {
56
+ "@antfu/ni": "0.21.12",
56
57
  "@babel/helper-validator-identifier": "7.25.9",
57
58
  "@opentelemetry/api": "1.9.0",
58
59
  "@swc/core": "1.11.5",
@@ -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 chunk_ETYWYJBX_exports = {};
20
- __export(chunk_ETYWYJBX_exports, {
19
+ var chunk_WF5LZFJS_exports = {};
20
+ __export(chunk_WF5LZFJS_exports, {
21
21
  require_execa: () => require_execa
22
22
  });
23
- module.exports = __toCommonJS(chunk_ETYWYJBX_exports);
23
+ module.exports = __toCommonJS(chunk_WF5LZFJS_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.3/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
262
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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.3/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
302
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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(/(\\*)"/g, '$1$1\\"');
312
- arg = arg.replace(/(\\*)$/, "$1$1");
311
+ arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
312
+ arg = arg.replace(/(?=(\\+?)?)\1$/, "$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.3/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
349
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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.3/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
369
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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.3/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
429
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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, "spawn");
448
+ const err = verifyENOENT(arg1, parsed);
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.3/node_modules/cross-spawn/index.js"(exports, module2) {
477
+ "../../node_modules/.pnpm/cross-spawn@7.0.6/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,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_7U7QD73Y_exports = {};
30
- __export(chunk_7U7QD73Y_exports, {
29
+ var chunk_WOIJKMTZ_exports = {};
30
+ __export(chunk_WOIJKMTZ_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_7U7QD73Y_exports);
34
+ module.exports = __toCommonJS(chunk_WOIJKMTZ_exports);
35
35
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
36
36
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
37
- var import_chunk_2HN7FYKA = require("./chunk-2HN7FYKA.js");
38
- var import_chunk_C36XBSRA = require("./chunk-C36XBSRA.js");
37
+ var import_chunk_XMVJRTN5 = require("./chunk-XMVJRTN5.js");
38
+ var import_chunk_4KCLNFE4 = require("./chunk-4KCLNFE4.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, import_chunk_2HN7FYKA.addVersionDetailsToErrorMessage)(errorMessageWithContext));
61
+ super((0, import_chunk_XMVJRTN5.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
- import_chunk_C36XBSRA.prismaSchemaWasm.debug_panic();
73
+ import_chunk_4KCLNFE4.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 = import_chunk_C36XBSRA.prismaSchemaWasm.get_dmmf(params);
79
+ const data = import_chunk_4KCLNFE4.prismaSchemaWasm.get_dmmf(params);
80
80
  return data;
81
81
  },
82
82
  (e) => ({
@@ -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 chunk_D6EDE5WT_exports = {};
20
- __export(chunk_D6EDE5WT_exports, {
19
+ var chunk_XMVJRTN5_exports = {};
20
+ __export(chunk_XMVJRTN5_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_D6EDE5WT_exports);
24
- var import_chunk_CTAL72US = require("./chunk-CTAL72US.js");
23
+ module.exports = __toCommonJS(chunk_XMVJRTN5_exports);
24
+ var import_chunk_Q2IBLC6D = require("./chunk-Q2IBLC6D.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_CTAL72US.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_Q2IBLC6D.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -16,17 +16,17 @@ 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_RSLFYIHN_exports = {};
20
- __export(chunk_RSLFYIHN_exports, {
19
+ var chunk_XRBOJLES_exports = {};
20
+ __export(chunk_XRBOJLES_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_RSLFYIHN_exports);
23
+ module.exports = __toCommonJS(chunk_XRBOJLES_exports);
24
24
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
25
25
  var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.6.0-integration-push-xmzqvqxpztks.11",
29
+ version: "6.6.0-integration-mcp.2",
30
30
  description: "This package is intended for Prisma's internal use",
31
31
  main: "dist/index.js",
32
32
  types: "dist/index.d.ts",
@@ -53,6 +53,7 @@ var require_package = (0, import_chunk_4VNS5WPM.__commonJS)({
53
53
  "scripts"
54
54
  ],
55
55
  devDependencies: {
56
+ "@antfu/ni": "0.21.12",
56
57
  "@babel/helper-validator-identifier": "7.25.9",
57
58
  "@opentelemetry/api": "1.9.0",
58
59
  "@swc/core": "1.11.5",