@prisma/internals 6.6.0-dev.13 → 6.6.0-dev.15

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 (46) hide show
  1. package/dist/{chunk-WN4H5ZKQ.js → chunk-5BFY4MFQ.js} +5 -5
  2. package/dist/{chunk-25YXPLET.js → chunk-6IHV6SMO.js} +5 -5
  3. package/dist/{chunk-L3RL2PPV.js → chunk-7PD3VRHJ.js} +5 -5
  4. package/dist/{chunk-VHTXVUX5.js → chunk-7R3IXQC2.js} +4 -4
  5. package/dist/{chunk-QGZFTUAB.js → chunk-DAHLNVEU.js} +8 -8
  6. package/dist/chunk-DODIJPCS.js +34 -0
  7. package/dist/{chunk-3O3C6Y4Z.js → chunk-EEPRWSGB.js} +19 -19
  8. package/dist/{chunk-ZTU7TICR.js → chunk-FNSLGHCE.js} +5 -5
  9. package/dist/{chunk-WTNZM6RG.js → chunk-H3PQWB66.js} +5 -5
  10. package/dist/{chunk-7HGIUOWV.js → chunk-HV4FVQCS.js} +8 -8
  11. package/dist/{chunk-BLJDM4FS.js → chunk-IKX5EI7K.js} +8 -8
  12. package/dist/{chunk-E3VC5WSP.js → chunk-IYIDFZUU.js} +8 -8
  13. package/dist/{chunk-RHGOT42R.js → chunk-J27CY5QD.js} +5 -5
  14. package/dist/{chunk-3PVYCDSO.js → chunk-N5ESIPME.js} +19 -19
  15. package/dist/{chunk-3OBBPBD4.js → chunk-QQUBQZZO.js} +7 -7
  16. package/dist/{chunk-OBFYZ3MD.js → chunk-VJTZ2CEV.js} +5 -5
  17. package/dist/{chunk-AD2VRX6B.js → chunk-WJ6NUAHR.js} +5 -5
  18. package/dist/{chunk-QUSSWLFT.js → chunk-WKMGLR4F.js} +8 -8
  19. package/dist/{chunk-PFFK3QVZ.js → chunk-YBUNCI5N.js} +5 -5
  20. package/dist/{chunk-EH632RO7.js → chunk-ZRSDWBY5.js} +8 -8
  21. package/dist/{chunk-ZOUUL6JF.js → chunk-ZTJNUMDG.js} +7 -7
  22. package/dist/cli/checkUnsupportedDataProxy.js +13 -13
  23. package/dist/cli/getSchema.js +17 -17
  24. package/dist/cli/hashes.js +13 -13
  25. package/dist/engine-commands/errorHelpers.js +4 -4
  26. package/dist/engine-commands/formatSchema.js +12 -12
  27. package/dist/engine-commands/getConfig.js +10 -10
  28. package/dist/engine-commands/getDmmf.js +7 -7
  29. package/dist/engine-commands/index.js +21 -21
  30. package/dist/engine-commands/lintSchema.js +8 -8
  31. package/dist/engine-commands/mergeSchemas.js +7 -7
  32. package/dist/engine-commands/validate.js +7 -7
  33. package/dist/get-generators/generatorResolvers/generatorResolvers.js +12 -12
  34. package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +12 -12
  35. package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +13 -13
  36. package/dist/get-generators/getGenerators.js +15 -15
  37. package/dist/index.js +41 -41
  38. package/dist/sendPanic.js +12 -12
  39. package/dist/utils/binaryTargetRegex.js +2 -2
  40. package/dist/utils/getEnvPaths.js +12 -12
  41. package/dist/utils/getVersionFromPackageJson.js +3 -3
  42. package/dist/utils/handlePanic.js +12 -12
  43. package/dist/utils/loadEnvFile.js +12 -12
  44. package/dist/wasm.js +4 -4
  45. package/package.json +9 -9
  46. package/dist/chunk-AOQIUJT4.js +0 -41
@@ -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_WN4H5ZKQ_exports = {};
20
- __export(chunk_WN4H5ZKQ_exports, {
19
+ var chunk_5BFY4MFQ_exports = {};
20
+ __export(chunk_5BFY4MFQ_exports, {
21
21
  version: () => version
22
22
  });
23
- module.exports = __toCommonJS(chunk_WN4H5ZKQ_exports);
24
- var import_chunk_RHGOT42R = require("./chunk-RHGOT42R.js");
25
- var packageJson = (0, import_chunk_RHGOT42R.require_package)();
23
+ module.exports = __toCommonJS(chunk_5BFY4MFQ_exports);
24
+ var import_chunk_7R3IXQC2 = require("./chunk-7R3IXQC2.js");
25
+ var packageJson = (0, import_chunk_7R3IXQC2.require_package)();
26
26
  var version = packageJson.version;
@@ -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_25YXPLET_exports = {};
20
- __export(chunk_25YXPLET_exports, {
19
+ var chunk_6IHV6SMO_exports = {};
20
+ __export(chunk_6IHV6SMO_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_25YXPLET_exports);
24
- var import_chunk_WN4H5ZKQ = require("./chunk-WN4H5ZKQ.js");
23
+ module.exports = __toCommonJS(chunk_6IHV6SMO_exports);
24
+ var import_chunk_5BFY4MFQ = require("./chunk-5BFY4MFQ.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_WN4H5ZKQ.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_5BFY4MFQ.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_L3RL2PPV_exports = {};
20
- __export(chunk_L3RL2PPV_exports, {
19
+ var chunk_7PD3VRHJ_exports = {};
20
+ __export(chunk_7PD3VRHJ_exports, {
21
21
  addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
22
22
  });
23
- module.exports = __toCommonJS(chunk_L3RL2PPV_exports);
24
- var import_chunk_PFFK3QVZ = require("./chunk-PFFK3QVZ.js");
23
+ module.exports = __toCommonJS(chunk_7PD3VRHJ_exports);
24
+ var import_chunk_YBUNCI5N = require("./chunk-YBUNCI5N.js");
25
25
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
26
26
  function addVersionDetailsToErrorMessage(message) {
27
- const rows = [["Prisma CLI Version", import_chunk_PFFK3QVZ.version]];
27
+ const rows = [["Prisma CLI Version", import_chunk_YBUNCI5N.version]];
28
28
  return `${message}
29
29
 
30
30
  ${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
@@ -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_VHTXVUX5_exports = {};
20
- __export(chunk_VHTXVUX5_exports, {
19
+ var chunk_7R3IXQC2_exports = {};
20
+ __export(chunk_7R3IXQC2_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_VHTXVUX5_exports);
23
+ module.exports = __toCommonJS(chunk_7R3IXQC2_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
26
  "package.json"(exports, module2) {
@@ -67,7 +67,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
67
67
  "cli-truncate": "4.0.0",
68
68
  dotenv: "16.4.7",
69
69
  esbuild: "0.24.2",
70
- "escape-string-regexp": "4.0.0",
70
+ "escape-string-regexp": "5.0.0",
71
71
  execa: "5.1.1",
72
72
  "fast-glob": "3.3.3",
73
73
  "find-up": "7.0.0",
@@ -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_QGZFTUAB_exports = {};
30
- __export(chunk_QGZFTUAB_exports, {
29
+ var chunk_DAHLNVEU_exports = {};
30
+ __export(chunk_DAHLNVEU_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_QGZFTUAB_exports);
34
+ module.exports = __toCommonJS(chunk_DAHLNVEU_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
- var import_chunk_L3RL2PPV = require("./chunk-L3RL2PPV.js");
37
+ var import_chunk_6IHV6SMO = require("./chunk-6IHV6SMO.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_AD2VRX6B = require("./chunk-AD2VRX6B.js");
40
+ var import_chunk_VJTZ2CEV = require("./chunk-VJTZ2CEV.js");
41
41
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_L3RL2PPV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_6IHV6SMO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_AD2VRX6B.prismaSchemaWasm.debug_panic();
93
+ import_chunk_VJTZ2CEV.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_AD2VRX6B.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_VJTZ2CEV.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -0,0 +1,34 @@
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_DODIJPCS_exports = {};
20
+ __export(chunk_DODIJPCS_exports, {
21
+ binaryTargetRegex: () => binaryTargetRegex
22
+ });
23
+ module.exports = __toCommonJS(chunk_DODIJPCS_exports);
24
+ var import_get_platform = require("@prisma/get-platform");
25
+ function escapeStringRegexp(string) {
26
+ if (typeof string !== "string") {
27
+ throw new TypeError("Expected a string");
28
+ }
29
+ return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
30
+ }
31
+ var binaryTargetRegex = new RegExp(
32
+ "(" + [...import_get_platform.binaryTargets].sort((a, b) => b.length - a.length).map((p) => escapeStringRegexp(p)).join("|") + ")",
33
+ "g"
34
+ );
@@ -26,8 +26,8 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_3O3C6Y4Z_exports = {};
30
- __export2(chunk_3O3C6Y4Z_exports, {
29
+ var chunk_EEPRWSGB_exports = {};
30
+ __export2(chunk_EEPRWSGB_exports, {
31
31
  checkTypeScriptVersion: () => checkTypeScriptVersion,
32
32
  checkUnsupportedDataProxy: () => checkUnsupportedDataProxy,
33
33
  debug: () => debug5,
@@ -54,7 +54,7 @@ __export2(chunk_3O3C6Y4Z_exports, {
54
54
  sendPanic: () => sendPanic,
55
55
  skipIndex: () => skipIndex
56
56
  });
57
- module.exports = __toCommonJS2(chunk_3O3C6Y4Z_exports);
57
+ module.exports = __toCommonJS2(chunk_EEPRWSGB_exports);
58
58
  var import_chunk_S57RMXZW = require("./chunk-S57RMXZW.js");
59
59
  var import_chunk_EUTJYQDW = require("./chunk-EUTJYQDW.js");
60
60
  var import_chunk_IPKE37QC = require("./chunk-IPKE37QC.js");
@@ -78,13 +78,13 @@ var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
78
78
  var import_chunk_5SN5JBT2 = require("./chunk-5SN5JBT2.js");
79
79
  var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
80
80
  var import_chunk_TSJICM5S = require("./chunk-TSJICM5S.js");
81
- var import_chunk_WTNZM6RG = require("./chunk-WTNZM6RG.js");
82
- var import_chunk_ZOUUL6JF = require("./chunk-ZOUUL6JF.js");
83
- var import_chunk_QUSSWLFT = require("./chunk-QUSSWLFT.js");
84
- var import_chunk_E3VC5WSP = require("./chunk-E3VC5WSP.js");
81
+ var import_chunk_FNSLGHCE = require("./chunk-FNSLGHCE.js");
82
+ var import_chunk_ZTJNUMDG = require("./chunk-ZTJNUMDG.js");
83
+ var import_chunk_WKMGLR4F = require("./chunk-WKMGLR4F.js");
84
+ var import_chunk_IYIDFZUU = require("./chunk-IYIDFZUU.js");
85
85
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
86
86
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
87
- var import_chunk_OBFYZ3MD = require("./chunk-OBFYZ3MD.js");
87
+ var import_chunk_WJ6NUAHR = require("./chunk-WJ6NUAHR.js");
88
88
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
89
89
  var import_chunk_2B26F5N3 = require("./chunk-2B26F5N3.js");
90
90
  var import_chunk_GXDYIY4M = require("./chunk-GXDYIY4M.js");
@@ -14530,7 +14530,7 @@ async function readSchemaFromDirectory(schemaPath2) {
14530
14530
  }
14531
14531
  const files = await (0, import_schema_files_loader.loadSchemaFiles)(schemaPath2);
14532
14532
  debug2("Loading config");
14533
- const config2 = await (0, import_chunk_QUSSWLFT.getConfig)({
14533
+ const config2 = await (0, import_chunk_WKMGLR4F.getConfig)({
14534
14534
  datamodel: files,
14535
14535
  ignoreEnvVarErrors: true
14536
14536
  });
@@ -14856,8 +14856,8 @@ async function checkUnsupportedDataProxyMessage(command, args, schemaPathFromCon
14856
14856
  if (argName.includes("schema")) {
14857
14857
  await loadEnvFile({ schemaPath: argValue, printMessage: false, config: (0, import_config.defaultTestConfig)() });
14858
14858
  const datamodel = await import_fs.default.promises.readFile(argValue, "utf-8");
14859
- const config2 = await (0, import_chunk_QUSSWLFT.getConfig)({ datamodel, ignoreEnvVarErrors: true });
14860
- const url = (0, import_chunk_QUSSWLFT.resolveUrl)((0, import_chunk_QUSSWLFT.getEffectiveUrl)(config2.datasources[0]));
14859
+ const config2 = await (0, import_chunk_WKMGLR4F.getConfig)({ datamodel, ignoreEnvVarErrors: true });
14860
+ const url = (0, import_chunk_WKMGLR4F.resolveUrl)((0, import_chunk_WKMGLR4F.getEffectiveUrl)(config2.datasources[0]));
14861
14861
  if (url?.startsWith("prisma://")) {
14862
14862
  return forbiddenCmdWithDataProxyFlagMessage(command);
14863
14863
  }
@@ -15030,7 +15030,7 @@ async function getGenerators(options) {
15030
15030
  prismaPath = binaryPathsWithEngineType[queryEngineBinaryType][binaryTarget];
15031
15031
  }
15032
15032
  }
15033
- const config = await (0, import_chunk_QUSSWLFT.getConfig)({
15033
+ const config = await (0, import_chunk_WKMGLR4F.getConfig)({
15034
15034
  datamodel: schemas,
15035
15035
  datamodelPath: schemaPath,
15036
15036
  prismaPath,
@@ -15041,7 +15041,7 @@ async function getGenerators(options) {
15041
15041
  }
15042
15042
  (0, import_chunk_5FJ3MENK.printConfigWarnings)(config.warnings);
15043
15043
  const previewFeatures = (0, import_chunk_TSJICM5S.extractPreviewFeatures)(config);
15044
- const dmmf = await (0, import_chunk_E3VC5WSP.getDMMF)({
15044
+ const dmmf = await (0, import_chunk_IYIDFZUU.getDMMF)({
15045
15045
  datamodel: schemas,
15046
15046
  datamodelPath: schemaPath,
15047
15047
  prismaPath,
@@ -15102,7 +15102,7 @@ The generator needs to either define the \`defaultOutput\` path in the manifest
15102
15102
  fromEnvVar: "null"
15103
15103
  };
15104
15104
  }
15105
- const datamodel = (0, import_chunk_ZOUUL6JF.mergeSchemas)({ schemas });
15105
+ const datamodel = (0, import_chunk_ZTJNUMDG.mergeSchemas)({ schemas });
15106
15106
  const envPaths2 = await getEnvPaths(schemaPath, { cwd: generator.output.value });
15107
15107
  const options2 = {
15108
15108
  datamodel,
@@ -15185,7 +15185,7 @@ generator gen {
15185
15185
  debug6({ generatorBinaryPaths });
15186
15186
  generator.setBinaryPaths(generatorBinaryPaths);
15187
15187
  if (engineVersion !== version && generator.options && generator.manifest.requiresEngines.includes(queryEngineType) && generatorBinaryPaths[queryEngineType] && generatorBinaryPaths[queryEngineType]?.[binaryTarget]) {
15188
- const customDmmf = await (0, import_chunk_E3VC5WSP.getDMMF)({
15188
+ const customDmmf = await (0, import_chunk_IYIDFZUU.getDMMF)({
15189
15189
  datamodel: schemas,
15190
15190
  datamodelPath: schemaPath,
15191
15191
  prismaPath: generatorBinaryPaths[queryEngineType]?.[binaryTarget],
@@ -15483,7 +15483,7 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15483
15483
  if (process.env.FORCE_PANIC_PRISMA_SCHEMA) {
15484
15484
  handleFormatPanic(
15485
15485
  () => {
15486
- import_chunk_OBFYZ3MD.prismaSchemaWasm.debug_panic();
15486
+ import_chunk_WJ6NUAHR.prismaSchemaWasm.debug_panic();
15487
15487
  },
15488
15488
  { schemas: schemas2 }
15489
15489
  );
@@ -15503,12 +15503,12 @@ async function formatSchema({ schemas: schemas2 }, inputFormattingOptions) {
15503
15503
  () => {
15504
15504
  const formattedMultipleSchemasRaw = formatWasm(JSON.stringify(schemas2), documentFormattingParams);
15505
15505
  const formattedMultipleSchemas2 = JSON.parse(formattedMultipleSchemasRaw);
15506
- const lintDiagnostics2 = (0, import_chunk_WTNZM6RG.lintSchema)({ schemas: formattedMultipleSchemas2 });
15506
+ const lintDiagnostics2 = (0, import_chunk_FNSLGHCE.lintSchema)({ schemas: formattedMultipleSchemas2 });
15507
15507
  return { formattedMultipleSchemas: formattedMultipleSchemas2, lintDiagnostics: lintDiagnostics2 };
15508
15508
  },
15509
15509
  { schemas: schemas2 }
15510
15510
  );
15511
- const lintWarnings = (0, import_chunk_WTNZM6RG.getLintWarningsAsText)(lintDiagnostics);
15511
+ const lintWarnings = (0, import_chunk_FNSLGHCE.getLintWarningsAsText)(lintDiagnostics);
15512
15512
  if (lintWarnings && import_chunk_AZNLB67U.logger_exports.should.warn()) {
15513
15513
  console.warn(lintWarnings);
15514
15514
  }
@@ -15538,7 +15538,7 @@ function handleFormatPanic(tryCb, { schemas: schemas2 }) {
15538
15538
  }
15539
15539
  }
15540
15540
  function formatWasm(schema, documentFormattingParams) {
15541
- const formattedSchema = import_chunk_OBFYZ3MD.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15541
+ const formattedSchema = import_chunk_WJ6NUAHR.prismaSchemaWasm.format(schema, JSON.stringify(documentFormattingParams));
15542
15542
  return formattedSchema;
15543
15543
  }
15544
15544
  /*! Bundled license information:
@@ -16,21 +16,21 @@ 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_ZTU7TICR_exports = {};
20
- __export(chunk_ZTU7TICR_exports, {
19
+ var chunk_FNSLGHCE_exports = {};
20
+ __export(chunk_FNSLGHCE_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_ZTU7TICR_exports);
27
+ module.exports = __toCommonJS(chunk_FNSLGHCE_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_AD2VRX6B = require("./chunk-AD2VRX6B.js");
29
+ var import_chunk_WJ6NUAHR = require("./chunk-WJ6NUAHR.js");
30
30
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_AD2VRX6B.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_WJ6NUAHR.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -16,21 +16,21 @@ 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_WTNZM6RG_exports = {};
20
- __export(chunk_WTNZM6RG_exports, {
19
+ var chunk_H3PQWB66_exports = {};
20
+ __export(chunk_H3PQWB66_exports, {
21
21
  getLintWarnings: () => getLintWarnings,
22
22
  getLintWarningsAsText: () => getLintWarningsAsText,
23
23
  handleLintPanic: () => handleLintPanic,
24
24
  lintSchema: () => lintSchema,
25
25
  warningToString: () => warningToString
26
26
  });
27
- module.exports = __toCommonJS(chunk_WTNZM6RG_exports);
27
+ module.exports = __toCommonJS(chunk_H3PQWB66_exports);
28
28
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
29
- var import_chunk_OBFYZ3MD = require("./chunk-OBFYZ3MD.js");
29
+ var import_chunk_VJTZ2CEV = require("./chunk-VJTZ2CEV.js");
30
30
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
31
31
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
32
32
  function lintSchema({ schemas }) {
33
- const lintResult = import_chunk_OBFYZ3MD.prismaSchemaWasm.lint(JSON.stringify(schemas));
33
+ const lintResult = import_chunk_VJTZ2CEV.prismaSchemaWasm.lint(JSON.stringify(schemas));
34
34
  const lintDiagnostics = JSON.parse(lintResult);
35
35
  return lintDiagnostics;
36
36
  }
@@ -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_7HGIUOWV_exports = {};
30
- __export(chunk_7HGIUOWV_exports, {
29
+ var chunk_HV4FVQCS_exports = {};
30
+ __export(chunk_HV4FVQCS_exports, {
31
31
  ValidateError: () => ValidateError,
32
32
  validate: () => validate
33
33
  });
34
- module.exports = __toCommonJS(chunk_7HGIUOWV_exports);
34
+ module.exports = __toCommonJS(chunk_HV4FVQCS_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
37
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
38
- var import_chunk_25YXPLET = require("./chunk-25YXPLET.js");
38
+ var import_chunk_6IHV6SMO = require("./chunk-6IHV6SMO.js");
39
39
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
40
40
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
41
- var import_chunk_OBFYZ3MD = require("./chunk-OBFYZ3MD.js");
41
+ var import_chunk_VJTZ2CEV = require("./chunk-VJTZ2CEV.js");
42
42
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
43
43
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
44
44
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: validate]`;
63
- super((0, import_chunk_25YXPLET.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_6IHV6SMO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "ValidateError";
65
65
  }
66
66
  };
@@ -72,13 +72,13 @@ function validate(options) {
72
72
  () => {
73
73
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
74
74
  debug("Triggering a Rust panic...");
75
- import_chunk_OBFYZ3MD.prismaSchemaWasm.debug_panic();
75
+ import_chunk_VJTZ2CEV.prismaSchemaWasm.debug_panic();
76
76
  }
77
77
  const params = JSON.stringify({
78
78
  prismaSchema: options.schemas,
79
79
  noColor: Boolean(process.env.NO_COLOR)
80
80
  });
81
- import_chunk_OBFYZ3MD.prismaSchemaWasm.validate(params);
81
+ import_chunk_VJTZ2CEV.prismaSchemaWasm.validate(params);
82
82
  },
83
83
  (e) => ({
84
84
  type: "wasm-error",
@@ -26,22 +26,22 @@ 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_BLJDM4FS_exports = {};
30
- __export(chunk_BLJDM4FS_exports, {
29
+ var chunk_IKX5EI7K_exports = {};
30
+ __export(chunk_IKX5EI7K_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_BLJDM4FS_exports);
37
+ module.exports = __toCommonJS(chunk_IKX5EI7K_exports);
38
38
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
39
39
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
40
40
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
41
- var import_chunk_L3RL2PPV = require("./chunk-L3RL2PPV.js");
41
+ var import_chunk_6IHV6SMO = require("./chunk-6IHV6SMO.js");
42
42
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
43
43
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
44
- var import_chunk_AD2VRX6B = require("./chunk-AD2VRX6B.js");
44
+ var import_chunk_VJTZ2CEV = require("./chunk-VJTZ2CEV.js");
45
45
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
46
46
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
47
47
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -65,7 +65,7 @@ ${detailsHeader} ${message}`;
65
65
  }).exhaustive();
66
66
  const errorMessageWithContext = `${constructedErrorMessage}
67
67
  [Context: getConfig]`;
68
- super((0, import_chunk_L3RL2PPV.addVersionDetailsToErrorMessage)(errorMessageWithContext));
68
+ super((0, import_chunk_6IHV6SMO.addVersionDetailsToErrorMessage)(errorMessageWithContext));
69
69
  this.name = "GetConfigError";
70
70
  }
71
71
  };
@@ -90,7 +90,7 @@ async function getConfig(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_CONFIG) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_AD2VRX6B.prismaSchemaWasm.debug_panic();
93
+ import_chunk_VJTZ2CEV.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: options.datamodel,
@@ -98,7 +98,7 @@ async function getConfig(options) {
98
98
  ignoreEnvVarErrors: options.ignoreEnvVarErrors ?? false,
99
99
  env: process.env
100
100
  });
101
- const data = import_chunk_AD2VRX6B.prismaSchemaWasm.get_config(params);
101
+ const data = import_chunk_VJTZ2CEV.prismaSchemaWasm.get_config(params);
102
102
  return data;
103
103
  },
104
104
  (e) => ({
@@ -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_E3VC5WSP_exports = {};
30
- __export(chunk_E3VC5WSP_exports, {
29
+ var chunk_IYIDFZUU_exports = {};
30
+ __export(chunk_IYIDFZUU_exports, {
31
31
  GetDmmfError: () => GetDmmfError,
32
32
  getDMMF: () => getDMMF
33
33
  });
34
- module.exports = __toCommonJS(chunk_E3VC5WSP_exports);
34
+ module.exports = __toCommonJS(chunk_IYIDFZUU_exports);
35
35
  var import_chunk_YRBRUREX = require("./chunk-YRBRUREX.js");
36
36
  var import_chunk_6TXVGFQA = require("./chunk-6TXVGFQA.js");
37
- var import_chunk_25YXPLET = require("./chunk-25YXPLET.js");
37
+ var import_chunk_7PD3VRHJ = require("./chunk-7PD3VRHJ.js");
38
38
  var import_chunk_PFLLVWZX = require("./chunk-PFLLVWZX.js");
39
39
  var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
40
- var import_chunk_OBFYZ3MD = require("./chunk-OBFYZ3MD.js");
40
+ var import_chunk_WJ6NUAHR = require("./chunk-WJ6NUAHR.js");
41
41
  var import_chunk_ATFQZVBS = require("./chunk-ATFQZVBS.js");
42
42
  var import_chunk_7MD6344A = require("./chunk-7MD6344A.js");
43
43
  var import_chunk_PG5FDKSF = require("./chunk-PG5FDKSF.js");
@@ -60,7 +60,7 @@ ${detailsHeader} ${message}`;
60
60
  }).exhaustive();
61
61
  const errorMessageWithContext = `${constructedErrorMessage}
62
62
  [Context: getDmmf]`;
63
- super((0, import_chunk_25YXPLET.addVersionDetailsToErrorMessage)(errorMessageWithContext));
63
+ super((0, import_chunk_7PD3VRHJ.addVersionDetailsToErrorMessage)(errorMessageWithContext));
64
64
  this.name = "GetDmmfError";
65
65
  }
66
66
  };
@@ -90,13 +90,13 @@ async function getDMMF(options) {
90
90
  () => {
91
91
  if (process.env.FORCE_PANIC_QUERY_ENGINE_GET_DMMF) {
92
92
  debug("Triggering a Rust panic...");
93
- import_chunk_OBFYZ3MD.prismaSchemaWasm.debug_panic();
93
+ import_chunk_WJ6NUAHR.prismaSchemaWasm.debug_panic();
94
94
  }
95
95
  const params = JSON.stringify({
96
96
  prismaSchema: datamodel,
97
97
  noColor: Boolean(process.env.NO_COLOR)
98
98
  });
99
- const data = import_chunk_OBFYZ3MD.prismaSchemaWasm.get_dmmf(params);
99
+ const data = import_chunk_WJ6NUAHR.prismaSchemaWasm.get_dmmf(params);
100
100
  return data;
101
101
  },
102
102
  (e) => ({
@@ -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_RHGOT42R_exports = {};
20
- __export(chunk_RHGOT42R_exports, {
19
+ var chunk_J27CY5QD_exports = {};
20
+ __export(chunk_J27CY5QD_exports, {
21
21
  require_package: () => require_package
22
22
  });
23
- module.exports = __toCommonJS(chunk_RHGOT42R_exports);
23
+ module.exports = __toCommonJS(chunk_J27CY5QD_exports);
24
24
  var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
25
  var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
26
  "package.json"(exports, module2) {
27
27
  module2.exports = {
28
28
  name: "@prisma/internals",
29
- version: "6.6.0-dev.13",
29
+ version: "6.6.0-dev.15",
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",
@@ -67,7 +67,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
67
67
  "cli-truncate": "4.0.0",
68
68
  dotenv: "16.4.7",
69
69
  esbuild: "0.24.2",
70
- "escape-string-regexp": "4.0.0",
70
+ "escape-string-regexp": "5.0.0",
71
71
  execa: "5.1.1",
72
72
  "fast-glob": "3.3.3",
73
73
  "find-up": "7.0.0",