@eventcatalog/core 3.27.0 → 3.27.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.
@@ -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.27.0";
40
+ var version = "3.27.2";
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-KNR65XBF.js";
4
- import "../chunk-SWTABLK7.js";
3
+ } from "../chunk-VTKBN355.js";
4
+ import "../chunk-OIJAGKGW.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -111,7 +111,7 @@ var import_axios = __toESM(require("axios"), 1);
111
111
  var import_os = __toESM(require("os"), 1);
112
112
 
113
113
  // package.json
114
- var version = "3.27.0";
114
+ var version = "3.27.2";
115
115
 
116
116
  // src/constants.ts
117
117
  var VERSION = version;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-VOS4MRLD.js";
4
- import "../chunk-KNR65XBF.js";
3
+ } from "../chunk-ZUDVEVY5.js";
4
+ import "../chunk-VTKBN355.js";
5
5
  import "../chunk-4UVFXLPI.js";
6
- import "../chunk-SWTABLK7.js";
6
+ import "../chunk-OIJAGKGW.js";
7
7
  import "../chunk-5T63CXKU.js";
8
8
  export {
9
9
  log_build_default as default
@@ -34,7 +34,7 @@ __export(catalog_to_astro_content_directory_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(catalog_to_astro_content_directory_exports);
36
36
 
37
- // ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
37
+ // ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
38
38
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
39
39
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
40
40
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logger
3
- } from "./chunk-R7ILHVCQ.js";
3
+ } from "./chunk-SHBWQABK.js";
4
4
  import {
5
5
  cleanup,
6
6
  getEventCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "3.27.0";
2
+ var version = "3.27.2";
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-SWTABLK7.js";
3
+ } from "./chunk-OIJAGKGW.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
  VERSION
3
- } from "./chunk-SWTABLK7.js";
3
+ } from "./chunk-OIJAGKGW.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-KNR65XBF.js";
3
+ } from "./chunk-VTKBN355.js";
4
4
  import {
5
5
  countResources,
6
6
  serializeCounts
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "3.27.0";
28
+ var version = "3.27.2";
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-SWTABLK7.js";
3
+ } from "./chunk-OIJAGKGW.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  mod
23
23
  ));
24
24
 
25
- // ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
25
+ // ../../node_modules/.pnpm/tsup@8.5.0_jiti@2.6.1_postcss@8.5.9_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
26
26
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
27
27
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
28
28
 
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
114
114
  var import_picocolors = __toESM(require("picocolors"), 1);
115
115
 
116
116
  // package.json
117
- var version = "3.27.0";
117
+ var version = "3.27.2";
118
118
 
119
119
  // src/constants.ts
120
120
  var VERSION = version;
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-PLNJC7NZ.js";
7
7
  import {
8
8
  log_build_default
9
- } from "./chunk-VOS4MRLD.js";
10
- import "./chunk-KNR65XBF.js";
9
+ } from "./chunk-ZUDVEVY5.js";
10
+ import "./chunk-VTKBN355.js";
11
11
  import "./chunk-4UVFXLPI.js";
12
12
  import {
13
13
  runMigrations
@@ -22,13 +22,13 @@ import {
22
22
  } from "./chunk-3KXCGYET.js";
23
23
  import {
24
24
  generate
25
- } from "./chunk-6KGRDHJX.js";
25
+ } from "./chunk-6USZCBX7.js";
26
26
  import {
27
27
  logger
28
- } from "./chunk-R7ILHVCQ.js";
28
+ } from "./chunk-SHBWQABK.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-SWTABLK7.js";
31
+ } from "./chunk-OIJAGKGW.js";
32
32
  import {
33
33
  getEventCatalogConfigFile,
34
34
  verifyRequiredFieldsAreInCatalogConfigFile
package/dist/generate.cjs CHANGED
@@ -78,7 +78,7 @@ var getEventCatalogConfigFile = async (projectDirectory) => {
78
78
  var import_picocolors = __toESM(require("picocolors"), 1);
79
79
 
80
80
  // package.json
81
- var version = "3.27.0";
81
+ var version = "3.27.2";
82
82
 
83
83
  // src/constants.ts
84
84
  var VERSION = version;
package/dist/generate.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-6KGRDHJX.js";
4
- import "./chunk-R7ILHVCQ.js";
5
- import "./chunk-SWTABLK7.js";
3
+ } from "./chunk-6USZCBX7.js";
4
+ import "./chunk-SHBWQABK.js";
5
+ import "./chunk-OIJAGKGW.js";
6
6
  import "./chunk-5T63CXKU.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.27.0";
39
+ var version = "3.27.2";
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-R7ILHVCQ.js";
4
- import "../chunk-SWTABLK7.js";
3
+ } from "../chunk-SHBWQABK.js";
4
+ import "../chunk-OIJAGKGW.js";
5
5
  export {
6
6
  logger
7
7
  };
@@ -1,5 +1,5 @@
1
1
  ---
2
- import jsonpath from 'jsonpath';
2
+ import { JSONPath } from 'jsonpath-plus';
3
3
  import JSONSchemaViewer from '@components/SchemaExplorer/JSONSchemaViewer';
4
4
  import { Code } from 'astro-expressive-code/components';
5
5
  import { isPrivateRemoteSchemaEnabled } from '@utils/feature';
@@ -45,7 +45,7 @@ function isJSONSchema(data: any): boolean {
45
45
 
46
46
  function extractWithJSONPath(data: any, path: string): any {
47
47
  try {
48
- const result = jsonpath.query(data, path);
48
+ const result = JSONPath({ path, json: data });
49
49
  // If the result is an array with a single element, return the element itself
50
50
  // unless the original query was meant to return an array
51
51
  if (Array.isArray(result) && result.length === 1 && !path.includes('[*]') && !path.includes('.*')) {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "type": "module",
10
- "version": "3.27.0",
10
+ "version": "3.27.2",
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
@@ -26,10 +26,10 @@
26
26
  "@astrojs/mdx": "^5.0.2",
27
27
  "@astrojs/node": "^10.0.3",
28
28
  "@astrojs/react": "^5.0.1",
29
- "@astrojs/rss": "^4.0.17",
29
+ "@astrojs/rss": "^4.0.18",
30
30
  "@asyncapi/avro-schema-parser": "3.0.24",
31
31
  "@asyncapi/parser": "^3.6.0",
32
- "@asyncapi/react-component": "3.0.2",
32
+ "@asyncapi/react-component": "3.1.0",
33
33
  "@auth/core": "^0.37.4",
34
34
  "@eventcatalog/license": "^0.0.7",
35
35
  "@fontsource/inter": "^5.2.5",
@@ -45,7 +45,7 @@
45
45
  "@radix-ui/react-dropdown-menu": "^2.1.12",
46
46
  "@radix-ui/react-popover": "^1.1.15",
47
47
  "@radix-ui/react-tooltip": "^1.1.8",
48
- "@scalar/api-reference-react": "^0.4.37",
48
+ "@scalar/api-reference-react": "^0.9.19",
49
49
  "@tailwindcss/typography": "^0.5.16",
50
50
  "@tailwindcss/vite": ">=4.1.5 <4.2.2",
51
51
  "@tanstack/react-table": "^8.17.3",
@@ -68,17 +68,17 @@
68
68
  "elkjs": "^0.10.0",
69
69
  "glob": "^13.0.6",
70
70
  "gray-matter": "^4.0.3",
71
- "hono": "4.12.7",
71
+ "hono": "4.12.12",
72
72
  "html-to-image": "^1.11.11",
73
73
  "js-yaml": "^4.1.1",
74
- "jsonpath": "^1.3.0",
74
+ "jsonpath-plus": "^10.4.0",
75
75
  "jsonwebtoken": "^9.0.2",
76
76
  "lodash.debounce": "^4.0.8",
77
77
  "lodash.merge": "4.6.2",
78
78
  "lucide-react": "^0.453.0",
79
79
  "marked": "^15.0.6",
80
80
  "mdast-util-find-and-replace": "^3.0.2",
81
- "mermaid": "^11.12.1",
81
+ "mermaid": "^11.12.3",
82
82
  "nanostores": "^1.1.0",
83
83
  "pako": "^2.1.0",
84
84
  "picocolors": "^1.1.1",
@@ -103,16 +103,15 @@
103
103
  "update-notifier": "^7.3.1",
104
104
  "uuid": "^10.0.0",
105
105
  "zod": "^4.3.6",
106
- "@eventcatalog/linter": "1.0.19",
107
- "@eventcatalog/visualiser": "^3.17.0",
108
- "@eventcatalog/sdk": "2.18.4"
106
+ "@eventcatalog/sdk": "2.19.0",
107
+ "@eventcatalog/linter": "1.0.20",
108
+ "@eventcatalog/visualiser": "^3.17.1"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@astrojs/check": "^0.9.8",
112
112
  "@types/dagre": "^0.7.52",
113
113
  "@types/diff": "^5.2.2",
114
114
  "@types/js-yaml": "^4.0.9",
115
- "@types/jsonpath": "^0.2.4",
116
115
  "@types/jsonwebtoken": "^9.0.10",
117
116
  "@types/lodash.debounce": "^4.0.9",
118
117
  "@types/lodash.merge": "4.6.9",