fumadocs-core 15.2.10 → 15.2.11
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/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/{page-tree-BG3wP0gU.d.ts → page-tree-bSt6K__E.d.ts} +1 -1
- package/dist/search/server.d.ts +1 -1
- package/dist/server/index.d.ts +2 -2
- package/dist/source/index.d.ts +1 -1
- package/dist/source/index.js +1 -1
- package/package.json +6 -6
package/dist/breadcrumb.d.ts
CHANGED
package/dist/breadcrumb.js
CHANGED
|
@@ -19,7 +19,7 @@ function getBreadcrumbItemsFromPath(tree, path, options) {
|
|
|
19
19
|
const { includePage = true, includeSeparator = false, includeRoot } = options;
|
|
20
20
|
let items = [];
|
|
21
21
|
path.forEach((item, i) => {
|
|
22
|
-
if (item.type === "separator" && includeSeparator) {
|
|
22
|
+
if (item.type === "separator" && item.name && includeSeparator) {
|
|
23
23
|
items.push({
|
|
24
24
|
name: item.name
|
|
25
25
|
});
|
package/dist/search/server.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import 'mdast';
|
|
|
7
7
|
import 'unified';
|
|
8
8
|
import 'mdast-util-mdx-jsx';
|
|
9
9
|
import 'react';
|
|
10
|
-
import '../page-tree-
|
|
10
|
+
import '../page-tree-bSt6K__E.js';
|
|
11
11
|
|
|
12
12
|
type AdvancedDocument = TypedDocument<Orama<typeof advancedSchema>>;
|
|
13
13
|
declare const advancedSchema: {
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { a as TOCItemType, T as TableOfContents, g as getTableOfContents } from '../get-toc-Cr2URuiP.js';
|
|
2
|
-
import { N as Node, I as Item, R as Root, F as Folder } from '../page-tree-
|
|
3
|
-
export { p as PageTree } from '../page-tree-
|
|
2
|
+
import { N as Node, I as Item, R as Root, F as Folder } from '../page-tree-bSt6K__E.js';
|
|
3
|
+
export { p as PageTree } from '../page-tree-bSt6K__E.js';
|
|
4
4
|
export { S as SortedResult } from '../types-Ch8gnVgO.js';
|
|
5
5
|
import { Metadata } from 'next';
|
|
6
6
|
import { NextRequest } from 'next/server';
|
package/dist/source/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { I as I18nConfig } from '../config-inq6kP6y.js';
|
|
3
|
-
import { R as Root, I as Item, F as Folder$1, S as Separator } from '../page-tree-
|
|
3
|
+
import { R as Root, I as Item, F as Folder$1, S as Separator } from '../page-tree-bSt6K__E.js';
|
|
4
4
|
|
|
5
5
|
interface FileInfo {
|
|
6
6
|
/**
|
package/dist/source/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
// src/source/page-tree-builder.ts
|
|
11
11
|
var group = /^\((?<name>.+)\)$/;
|
|
12
12
|
var link = /^(?:\[(?<icon>[^\]]+)])?\[(?<name>[^\]]+)]\((?<url>[^)]+)\)$/;
|
|
13
|
-
var separator = /^---(?:\[(?<icon>[^\]]+)])?(?<name>.+)
|
|
13
|
+
var separator = /^---(?:\[(?<icon>[^\]]+)])?(?<name>.+)---|^---$/;
|
|
14
14
|
var rest = "...";
|
|
15
15
|
var restReversed = "z...a";
|
|
16
16
|
var extractPrefix = "...";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-core",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.11",
|
|
4
4
|
"description": "The library for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -97,26 +97,26 @@
|
|
|
97
97
|
"@algolia/client-search": "4.24.0",
|
|
98
98
|
"@mdx-js/mdx": "^3.1.0",
|
|
99
99
|
"@oramacloud/client": "^2.1.4",
|
|
100
|
-
"@tanstack/react-router": "^1.
|
|
100
|
+
"@tanstack/react-router": "^1.117.1",
|
|
101
101
|
"@types/estree-jsx": "^1.0.5",
|
|
102
102
|
"@types/hast": "^3.0.4",
|
|
103
103
|
"@types/mdast": "^4.0.3",
|
|
104
104
|
"@types/negotiator": "^0.6.3",
|
|
105
|
-
"@types/node": "22.
|
|
105
|
+
"@types/node": "22.15.2",
|
|
106
106
|
"@types/react": "^19.1.2",
|
|
107
107
|
"@types/react-dom": "^19.1.2",
|
|
108
108
|
"algoliasearch": "4.24.0",
|
|
109
109
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
110
110
|
"mdast-util-mdxjs-esm": "^2.0.1",
|
|
111
111
|
"next": "^15.3.1",
|
|
112
|
-
"react-router": "^7.5.
|
|
112
|
+
"react-router": "^7.5.2",
|
|
113
113
|
"remark-mdx": "^3.1.0",
|
|
114
114
|
"remark-rehype": "^11.1.2",
|
|
115
115
|
"typescript": "^5.8.3",
|
|
116
116
|
"unified": "^11.0.5",
|
|
117
117
|
"vfile": "^6.0.3",
|
|
118
|
-
"
|
|
119
|
-
"
|
|
118
|
+
"tsconfig": "0.0.0",
|
|
119
|
+
"eslint-config-custom": "0.0.0"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
122
|
"@oramacloud/client": "1.x.x || 2.x.x",
|