fumadocs-core 16.3.0 → 16.3.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.
@@ -1,6 +1,3 @@
1
- import {
2
- remarkImage
3
- } from "../chunk-5PMI7QDD.js";
4
1
  import {
5
2
  remarkMdxFiles
6
3
  } from "../chunk-ADBHPKXG.js";
@@ -23,7 +20,8 @@ import {
23
20
  rehypeCodeDefaultOptions,
24
21
  transformerIcon,
25
22
  transformerTab
26
- } from "../chunk-X2HFD5QJ.js";
23
+ } from "../chunk-QJRXMG4S.js";
24
+ import "../chunk-XN2LKXFZ.js";
27
25
  import {
28
26
  rehypeToc
29
27
  } from "../chunk-EFVXL2PP.js";
@@ -33,17 +31,19 @@ import {
33
31
  import {
34
32
  remarkCodeTab
35
33
  } from "../chunk-CH7YHH7V.js";
36
- import {
37
- generateCodeBlockTabs,
38
- parseCodeBlockAttributes
39
- } from "../chunk-TWIDBWFG.js";
40
34
  import {
41
35
  remarkDirectiveAdmonition
42
36
  } from "../chunk-APKPSBSB.js";
43
37
  import {
44
38
  default as default2
45
39
  } from "../chunk-ONG4RVCR.js";
46
- import "../chunk-XN2LKXFZ.js";
40
+ import {
41
+ remarkImage
42
+ } from "../chunk-5PMI7QDD.js";
43
+ import {
44
+ generateCodeBlockTabs,
45
+ parseCodeBlockAttributes
46
+ } from "../chunk-TWIDBWFG.js";
47
47
  import {
48
48
  remarkHeading
49
49
  } from "../chunk-MA6O2UUE.js";
@@ -3,9 +3,9 @@ import {
3
3
  rehypeCodeDefaultOptions,
4
4
  transformerIcon,
5
5
  transformerTab
6
- } from "../chunk-X2HFD5QJ.js";
7
- import "../chunk-TWIDBWFG.js";
6
+ } from "../chunk-QJRXMG4S.js";
8
7
  import "../chunk-XN2LKXFZ.js";
8
+ import "../chunk-TWIDBWFG.js";
9
9
  import "../chunk-U67V476Y.js";
10
10
  export {
11
11
  rehypeCode,
@@ -63,10 +63,9 @@ function extractHeadingTitle(text) {
63
63
  const lines = trimmedText.split("\n");
64
64
  const firstLine = lines[0]?.trim();
65
65
  if (firstLine) {
66
- const plainText = (0, import_remove_markdown.default)(firstLine, {
66
+ return (0, import_remove_markdown.default)(firstLine, {
67
67
  useImgAltText: false
68
68
  });
69
- return plainText;
70
69
  }
71
70
  return "";
72
71
  }
@@ -75,9 +74,9 @@ async function search(query, options) {
75
74
  if (!query.trim()) {
76
75
  return [];
77
76
  }
78
- const res = await client.vectorStores.search({
77
+ const res = await client.stores.search({
79
78
  query,
80
- vector_store_identifiers: [vectorStoreId],
79
+ store_identifiers: [vectorStoreId],
81
80
  top_k: 10,
82
81
  filters: {
83
82
  key: "generated_metadata.tag",
@@ -75,7 +75,7 @@ function useDocsSearch(clientOptions, deps) {
75
75
  return search2(debouncedValue, client);
76
76
  }
77
77
  if (client.type === "mixedbread") {
78
- const { search: search2 } = await import("../mixedbread-RAHDVXGJ.js");
78
+ const { search: search2 } = await import("../mixedbread-2ZQZ32QK.js");
79
79
  return search2(debouncedValue, client);
80
80
  }
81
81
  throw new Error("unknown search client");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "16.3.0",
3
+ "version": "16.3.2",
4
4
  "description": "The React.js library for building a documentation website",
5
5
  "keywords": [
6
6
  "Fumadocs",
@@ -109,8 +109,8 @@
109
109
  "dist/*"
110
110
  ],
111
111
  "dependencies": {
112
- "@formatjs/intl-localematcher": "^0.6.2",
113
- "@orama/orama": "^3.1.16",
112
+ "@formatjs/intl-localematcher": "^0.7.2",
113
+ "@orama/orama": "^3.1.17",
114
114
  "@shikijs/rehype": "^3.20.0",
115
115
  "@shikijs/transformers": "^3.20.0",
116
116
  "estree-util-value-to-estree": "^3.5.0",
@@ -140,22 +140,22 @@
140
140
  "@types/node": "24.10.2",
141
141
  "@types/react": "^19.2.7",
142
142
  "@types/react-dom": "^19.2.3",
143
- "algoliasearch": "5.46.0",
144
- "lucide-react": "^0.561.0",
143
+ "algoliasearch": "5.46.1",
144
+ "lucide-react": "^0.562.0",
145
145
  "mdast-util-mdx-jsx": "^3.2.0",
146
146
  "mdast-util-mdxjs-esm": "^2.0.1",
147
- "next": "16.0.10",
148
- "react-router": "^7.10.1",
147
+ "next": "16.1.0",
148
+ "react-router": "^7.11.0",
149
149
  "remark-directive": "^4.0.0",
150
150
  "remark-mdx": "^3.1.1",
151
151
  "remove-markdown": "^0.6.2",
152
152
  "typescript": "^5.9.3",
153
153
  "unified": "^11.0.5",
154
154
  "vfile": "^6.0.3",
155
- "waku": "^0.27.4",
156
- "zod": "^4.1.13",
157
- "tsconfig": "0.0.0",
158
- "eslint-config-custom": "0.0.0"
155
+ "waku": "^0.27.5",
156
+ "zod": "^4.2.1",
157
+ "eslint-config-custom": "0.0.0",
158
+ "tsconfig": "0.0.0"
159
159
  },
160
160
  "peerDependencies": {
161
161
  "@mixedbread/sdk": "^0.19.0",
@@ -1,10 +1,10 @@
1
- import {
2
- parseCodeBlockAttributes
3
- } from "./chunk-TWIDBWFG.js";
4
1
  import {
5
2
  defaultThemes,
6
3
  getHighlighter
7
4
  } from "./chunk-XN2LKXFZ.js";
5
+ import {
6
+ parseCodeBlockAttributes
7
+ } from "./chunk-TWIDBWFG.js";
8
8
 
9
9
  // src/mdx-plugins/rehype-code.ts
10
10
  import rehypeShikiFromHighlighter from "@shikijs/rehype/core";