@eventcatalog/core 3.12.2 → 3.12.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.
package/README.md CHANGED
@@ -58,7 +58,7 @@
58
58
  <h4>Features: Documentation for Event Driven Architectures, Integration with any broker, Generator from your OpenAPI and AsyncAPI documents, Docs and Code, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4> -->
59
59
 
60
60
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
61
- <!-- [![All Contributors](https://img.shields.io/badge/all_contributors-67-orange.svg?style=flat-square)](#contributors-) -->
61
+ [![All Contributors](https://img.shields.io/badge/all_contributors-68-orange.svg?style=flat-square)](#contributors-)
62
62
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
63
63
 
64
64
  <!-- [Read the Docs](https://www.eventcatalog.dev/docs/development/getting-started/introduction) | [View Demo](https://demo.eventcatalog.dev) -->
@@ -191,6 +191,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
191
191
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/jbarette-rossel"><img src="https://avatars.githubusercontent.com/u/162966566?v=4?s=100" width="100px;" alt="Jonathan Barette"/><br /><sub><b>Jonathan Barette</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=jbarette-rossel" title="Code">💻</a></td>
192
192
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/mumundum"><img src="https://avatars.githubusercontent.com/u/196062898?v=4?s=100" width="100px;" alt="mumundum"/><br /><sub><b>mumundum</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=mumundum" title="Code">💻</a></td>
193
193
  <td align="center" valign="top" width="14.28%"><a href="https://www.argonus.tech"><img src="https://avatars.githubusercontent.com/u/9743549?v=4?s=100" width="100px;" alt="Piotr Rybarczyk"/><br /><sub><b>Piotr Rybarczyk</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/issues?q=author%3AArgonus" title="Bug reports">🐛</a></td>
194
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/ZakaryaCH"><img src="https://avatars.githubusercontent.com/u/45012800?v=4?s=100" width="100px;" alt="ZakaryaCH"/><br /><sub><b>ZakaryaCH</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/issues?q=author%3AZakaryaCH" title="Bug reports">🐛</a></td>
194
195
  </tr>
195
196
  </tbody>
196
197
  </table>
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "3.12.2";
40
+ var version = "3.12.3";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-4NN3BGRO.js";
4
- import "../chunk-MUWJMMFW.js";
3
+ } from "../chunk-7KPA7OMY.js";
4
+ import "../chunk-CZ4YJN5F.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "3.12.2";
109
+ var version = "3.12.3";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-LW2EM24W.js";
4
- import "../chunk-4NN3BGRO.js";
3
+ } from "../chunk-36HNCY6D.js";
4
+ import "../chunk-7KPA7OMY.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-MUWJMMFW.js";
6
+ import "../chunk-CZ4YJN5F.js";
7
7
  import "../chunk-UPONRQSN.js";
8
8
  export {
9
9
  log_build_default as default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-4NN3BGRO.js";
3
+ } from "./chunk-7KPA7OMY.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-MUWJMMFW.js";
3
+ } from "./chunk-CZ4YJN5F.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.12.2";
2
+ var version = "3.12.3";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-MUWJMMFW.js";
3
+ } from "./chunk-CZ4YJN5F.js";
4
4
 
5
5
  // src/utils/cli-logger.ts
6
6
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-UYX5B6UR.js";
3
+ } from "./chunk-G3SYMRLK.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.12.2";
28
+ var version = "3.12.3";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-MUWJMMFW.js";
3
+ } from "./chunk-CZ4YJN5F.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -109,7 +109,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
109
109
  var import_picocolors = __toESM(require("picocolors"), 1);
110
110
 
111
111
  // package.json
112
- var version = "3.12.2";
112
+ var version = "3.12.3";
113
113
 
114
114
  // src/constants.ts
115
115
  var VERSION = version;
@@ -1,18 +1,18 @@
1
+ import {
2
+ log_build_default
3
+ } from "./chunk-36HNCY6D.js";
1
4
  import {
2
5
  resolve_catalog_dependencies_default
3
6
  } from "./chunk-2C7LRK2M.js";
4
7
  import {
5
8
  watch
6
9
  } from "./chunk-PLNJC7NZ.js";
7
- import {
8
- log_build_default
9
- } from "./chunk-LW2EM24W.js";
10
- import "./chunk-4NN3BGRO.js";
11
- import "./chunk-4UVFXLPI.js";
12
10
  import {
13
11
  runMigrations
14
12
  } from "./chunk-BH3JMNAV.js";
15
13
  import "./chunk-622JYJWG.js";
14
+ import "./chunk-7KPA7OMY.js";
15
+ import "./chunk-4UVFXLPI.js";
16
16
  import {
17
17
  catalogToAstro
18
18
  } from "./chunk-6Z6ARMQS.js";
@@ -22,13 +22,13 @@ import {
22
22
  } from "./chunk-5VBIXL6C.js";
23
23
  import {
24
24
  generate
25
- } from "./chunk-3SKYVR2D.js";
25
+ } from "./chunk-WBVFIWZH.js";
26
26
  import {
27
27
  logger
28
- } from "./chunk-UYX5B6UR.js";
28
+ } from "./chunk-G3SYMRLK.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-MUWJMMFW.js";
31
+ } from "./chunk-CZ4YJN5F.js";
32
32
  import "./chunk-UPONRQSN.js";
33
33
 
34
34
  // src/eventcatalog.ts
package/dist/generate.cjs CHANGED
@@ -73,7 +73,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
73
73
  var import_picocolors = __toESM(require("picocolors"), 1);
74
74
 
75
75
  // package.json
76
- var version = "3.12.2";
76
+ var version = "3.12.3";
77
77
 
78
78
  // src/constants.ts
79
79
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-3SKYVR2D.js";
4
- import "./chunk-UYX5B6UR.js";
5
- import "./chunk-MUWJMMFW.js";
3
+ } from "./chunk-WBVFIWZH.js";
4
+ import "./chunk-G3SYMRLK.js";
5
+ import "./chunk-CZ4YJN5F.js";
6
6
  import "./chunk-UPONRQSN.js";
7
7
  export {
8
8
  generate
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(cli_logger_exports);
36
36
  var import_picocolors = __toESM(require("picocolors"), 1);
37
37
 
38
38
  // package.json
39
- var version = "3.12.2";
39
+ var version = "3.12.3";
40
40
 
41
41
  // src/constants.ts
42
42
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  logger
3
- } from "../chunk-UYX5B6UR.js";
4
- import "../chunk-MUWJMMFW.js";
3
+ } from "../chunk-G3SYMRLK.js";
4
+ import "../chunk-CZ4YJN5F.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -686,13 +686,16 @@ function encodePlantUML(text: string, deflate: (data: Uint8Array, options: any)
686
686
  export async function renderPlantUMLWithZoom(blocks: HTMLCollectionOf<Element>): Promise<void> {
687
687
  if (blocks.length === 0) return;
688
688
 
689
- // Reset abort flag at the start of rendering (only if not already rendering mermaid)
690
- // Note: renderMermaidWithZoom also resets this flag, so we check if it's currently aborted
691
- if (renderingAborted) renderingAborted = false;
692
-
693
689
  // Dynamic import pako for compression
694
690
  const { deflate } = await import('pako');
695
691
 
692
+ // Reset abort flag AFTER async import to avoid race condition with
693
+ // destroyZoomInstances() called by astro:page-load handler during the await.
694
+ // When there are no mermaid diagrams on the page, destroyZoomInstances() sets
695
+ // renderingAborted=true and renderMermaidWithZoom is never called to reset it,
696
+ // causing PlantUML rendering to be silently aborted.
697
+ renderingAborted = false;
698
+
696
699
  // Convert to array to avoid live collection issues when modifying DOM
697
700
  const blocksArray = Array.from(blocks);
698
701
 
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "3.12.2",
9
+ "version": "3.12.3",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -41,7 +41,7 @@
41
41
  "@heroicons/react": "^2.1.3",
42
42
  "@iconify-json/logos": "^1.2.4",
43
43
  "@mermaid-js/layout-elk": "^0.2.0",
44
- "@modelcontextprotocol/sdk": "^1.25.2",
44
+ "@modelcontextprotocol/sdk": "^1.26.0",
45
45
  "@nanostores/react": "^1.0.0",
46
46
  "@parcel/watcher": "^2.4.1",
47
47
  "@radix-ui/react-context-menu": "^2.2.6",
@@ -55,7 +55,7 @@
55
55
  "@tanstack/react-table": "^8.17.3",
56
56
  "@xyflow/react": "^12.3.6",
57
57
  "ai": "^6.0.17",
58
- "astro": "^5.16.16",
58
+ "astro": "^5.17.1",
59
59
  "astro-compress": "^2.3.8",
60
60
  "astro-expressive-code": "^0.41.3",
61
61
  "astro-seo": "^0.8.4",
@@ -68,7 +68,7 @@
68
68
  "dagre": "^0.8.5",
69
69
  "date-fns": "^4.1.0",
70
70
  "diff": "^8.0.3",
71
- "diff2html": "^3.4.48",
71
+ "diff2html": "^3.4.56",
72
72
  "dotenv": "^16.5.0",
73
73
  "elkjs": "^0.10.0",
74
74
  "glob": "^10.5.0",
@@ -76,7 +76,7 @@
76
76
  "hono": "^4.11.7",
77
77
  "html-to-image": "^1.11.11",
78
78
  "js-yaml": "^4.1.1",
79
- "jsonpath": "^1.1.1",
79
+ "jsonpath": "^1.2.0",
80
80
  "jsonwebtoken": "^9.0.2",
81
81
  "lodash.debounce": "^4.0.8",
82
82
  "lodash.merge": "4.6.2",