fumadocs-core 16.6.2 → 16.6.4

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.
@@ -14,7 +14,7 @@ type MDXBundlerPresetOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugin
14
14
  rehypePlugins?: ResolvePlugins;
15
15
  remarkPlugins?: ResolvePlugins;
16
16
  remarkStructureOptions?: StructureOptions | false;
17
- remarkHeadingOptions?: RemarkHeadingOptions;
17
+ remarkHeadingOptions?: RemarkHeadingOptions | false;
18
18
  remarkImageOptions?: RemarkImageOptions | false;
19
19
  remarkCodeTabOptions?: RemarkCodeTabOptions | false;
20
20
  remarkNpmOptions?: RemarkNpmOptions | false;
@@ -8,7 +8,7 @@ async function mdxPreset(options = {}) {
8
8
  const { rehypeCodeOptions, remarkImageOptions, remarkHeadingOptions, remarkStructureOptions, remarkCodeTabOptions, remarkNpmOptions, ...mdxOptions } = options;
9
9
  const remarkPlugins = await resolvePlugins((v) => [
10
10
  import("remark-gfm").then((mod) => mod.default),
11
- import("../../mdx-plugins/remark-heading.js").then((mod) => [mod.remarkHeading, {
11
+ remarkHeadingOptions !== false && import("../../mdx-plugins/remark-heading.js").then((mod) => [mod.remarkHeading, {
12
12
  generateToc: false,
13
13
  ...remarkHeadingOptions
14
14
  }]),
@@ -14,7 +14,7 @@ type MDXRuntimePresetOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugin
14
14
  rehypePlugins?: ResolvePlugins;
15
15
  remarkPlugins?: ResolvePlugins;
16
16
  remarkStructureOptions?: StructureOptions | false;
17
- remarkHeadingOptions?: RemarkHeadingOptions;
17
+ remarkHeadingOptions?: RemarkHeadingOptions | false;
18
18
  remarkImageOptions?: RemarkImageOptions | false;
19
19
  remarkCodeTabOptions?: RemarkCodeTabOptions | false;
20
20
  remarkNpmOptions?: RemarkNpmOptions | false;
@@ -8,7 +8,7 @@ async function mdxPreset(options = {}) {
8
8
  const { rehypeCodeOptions, remarkImageOptions, remarkHeadingOptions, remarkStructureOptions, remarkCodeTabOptions, remarkNpmOptions, outputFormat = "function-body", ...mdxOptions } = options;
9
9
  const remarkPlugins = await resolvePlugins((v) => [
10
10
  import("remark-gfm").then((mod) => mod.default),
11
- import("../../mdx-plugins/remark-heading.js").then((mod) => [mod.remarkHeading, {
11
+ remarkHeadingOptions !== false && import("../../mdx-plugins/remark-heading.js").then((mod) => [mod.remarkHeading, {
12
12
  generateToc: false,
13
13
  ...remarkHeadingOptions
14
14
  }]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "16.6.2",
3
+ "version": "16.6.4",
4
4
  "description": "The React.js library for building a documentation website",
5
5
  "keywords": [
6
6
  "Docs",
@@ -145,7 +145,7 @@
145
145
  "@mixedbread/sdk": "^0.51.0",
146
146
  "@orama/core": "^1.2.18",
147
147
  "@oramacloud/client": "^2.1.4",
148
- "@tanstack/react-router": "1.159.5",
148
+ "@tanstack/react-router": "1.160.2",
149
149
  "@types/estree-jsx": "^1.0.5",
150
150
  "@types/hast": "^3.0.4",
151
151
  "@types/mdast": "^4.0.4",
@@ -154,7 +154,7 @@
154
154
  "@types/react": "^19.2.14",
155
155
  "@types/react-dom": "^19.2.3",
156
156
  "algoliasearch": "5.48.1",
157
- "lucide-react": "^0.563.0",
157
+ "lucide-react": "^0.570.0",
158
158
  "next": "16.1.6",
159
159
  "react-router": "^7.13.0",
160
160
  "remark-directive": "^4.0.0",
@@ -162,7 +162,7 @@
162
162
  "remove-markdown": "^0.6.3",
163
163
  "tsdown": "^0.20.3",
164
164
  "typescript": "^5.9.3",
165
- "waku": "1.0.0-alpha.3",
165
+ "waku": "1.0.0-alpha.4",
166
166
  "zod": "^4.3.6",
167
167
  "eslint-config-custom": "0.0.0",
168
168
  "tsconfig": "0.0.0"