fumadocs-core 15.8.2 → 15.8.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/dist/breadcrumb.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
defaultThemes,
|
|
3
|
-
getHighlighter
|
|
4
|
-
} from "../chunk-HN2NUUD2.js";
|
|
5
1
|
import {
|
|
6
2
|
flattenNode,
|
|
7
3
|
remarkHeading
|
|
8
4
|
} from "../chunk-QMATWJ5F.js";
|
|
5
|
+
import {
|
|
6
|
+
defaultThemes,
|
|
7
|
+
getHighlighter
|
|
8
|
+
} from "../chunk-HN2NUUD2.js";
|
|
9
9
|
import "../chunk-JSBRDJBE.js";
|
|
10
10
|
|
|
11
11
|
// src/mdx-plugins/index.ts
|
package/dist/search/server.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
searchSimple
|
|
4
4
|
} from "../chunk-XOFXGHS4.js";
|
|
5
5
|
import "../chunk-ZMWYLUDP.js";
|
|
6
|
+
import {
|
|
7
|
+
createContentHighlighter
|
|
8
|
+
} from "../chunk-OTD7MV33.js";
|
|
6
9
|
import {
|
|
7
10
|
basename,
|
|
8
11
|
extname
|
|
9
12
|
} from "../chunk-Z5V4JSQY.js";
|
|
10
|
-
import {
|
|
11
|
-
createContentHighlighter
|
|
12
|
-
} from "../chunk-OTD7MV33.js";
|
|
13
13
|
import {
|
|
14
14
|
findPath
|
|
15
15
|
} from "../chunk-2IYQ7QMS.js";
|
package/dist/server/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getGithubLastEdit
|
|
3
|
-
} from "../chunk-HSBNG7QC.js";
|
|
4
1
|
import {
|
|
5
2
|
getTableOfContents
|
|
6
3
|
} from "../chunk-CX7IQ5Z6.js";
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
getPageTreePeers,
|
|
13
10
|
getPageTreeRoots
|
|
14
11
|
} from "../chunk-2IYQ7QMS.js";
|
|
12
|
+
import {
|
|
13
|
+
getGithubLastEdit
|
|
14
|
+
} from "../chunk-HSBNG7QC.js";
|
|
15
15
|
import "../chunk-JSBRDJBE.js";
|
|
16
16
|
|
|
17
17
|
// src/server/metadata.ts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
type UseEffectEvent = <F extends (...params: never[]) => unknown>(callback: F) => F;
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
+
* Polyfill for React.js 19.2 `useEffectEvent`.
|
|
3
4
|
*
|
|
4
|
-
* @internal
|
|
5
|
+
* @internal Don't use this, could be deleted anytime.
|
|
5
6
|
*/
|
|
6
|
-
declare
|
|
7
|
+
declare const useEffectEvent: UseEffectEvent;
|
|
7
8
|
|
|
8
9
|
export { useEffectEvent };
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
import "../chunk-JSBRDJBE.js";
|
|
3
3
|
|
|
4
4
|
// src/utils/use-effect-event.ts
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
const ref = useRef(callback);
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
var useEffectEvent = "useEffectEvent" in React ? { ...React }.useEffectEvent : (callback) => {
|
|
7
|
+
const ref = React.useRef(callback);
|
|
8
8
|
ref.current = callback;
|
|
9
|
-
return useCallback(
|
|
10
|
-
|
|
9
|
+
return React.useCallback(
|
|
10
|
+
((...params) => ref.current(...params)),
|
|
11
|
+
[]
|
|
12
|
+
);
|
|
13
|
+
};
|
|
11
14
|
export {
|
|
12
15
|
useEffectEvent
|
|
13
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-core",
|
|
3
|
-
"version": "15.8.
|
|
3
|
+
"version": "15.8.3",
|
|
4
4
|
"description": "The library for building a documentation website in any React.js framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fumadocs",
|
|
@@ -131,16 +131,16 @@
|
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@mdx-js/mdx": "^3.1.1",
|
|
134
|
-
"@mixedbread/sdk": "^0.
|
|
134
|
+
"@mixedbread/sdk": "^0.31.1",
|
|
135
135
|
"@oramacloud/client": "^2.1.4",
|
|
136
|
-
"@tanstack/react-router": "^1.132.
|
|
136
|
+
"@tanstack/react-router": "^1.132.31",
|
|
137
137
|
"@types/estree-jsx": "^1.0.5",
|
|
138
138
|
"@types/hast": "^3.0.4",
|
|
139
139
|
"@types/mdast": "^4.0.3",
|
|
140
140
|
"@types/negotiator": "^0.6.4",
|
|
141
|
-
"@types/node": "24.
|
|
142
|
-
"@types/react": "^19.
|
|
143
|
-
"@types/react-dom": "^19.
|
|
141
|
+
"@types/node": "24.6.2",
|
|
142
|
+
"@types/react": "^19.2.0",
|
|
143
|
+
"@types/react-dom": "^19.2.0",
|
|
144
144
|
"algoliasearch": "5.39.0",
|
|
145
145
|
"lucide-react": "^0.544.0",
|
|
146
146
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"react-router": "^7.9.3",
|
|
150
150
|
"remark-mdx": "^3.1.1",
|
|
151
151
|
"remove-markdown": "^0.6.2",
|
|
152
|
-
"typescript": "^5.9.
|
|
152
|
+
"typescript": "^5.9.3",
|
|
153
153
|
"unified": "^11.0.5",
|
|
154
154
|
"vfile": "^6.0.3",
|
|
155
155
|
"waku": "^0.26.1",
|
|
@@ -162,12 +162,12 @@
|
|
|
162
162
|
"@tanstack/react-router": "1.x.x",
|
|
163
163
|
"@types/react": "*",
|
|
164
164
|
"algoliasearch": "5.x.x",
|
|
165
|
+
"lucide-react": "*",
|
|
165
166
|
"next": "14.x.x || 15.x.x",
|
|
166
167
|
"react": "18.x.x || 19.x.x",
|
|
167
168
|
"react-dom": "18.x.x || 19.x.x",
|
|
168
169
|
"react-router": "7.x.x",
|
|
169
|
-
"waku": "^0.26.0"
|
|
170
|
-
"lucide-react": "*"
|
|
170
|
+
"waku": "^0.26.0"
|
|
171
171
|
},
|
|
172
172
|
"peerDependenciesMeta": {
|
|
173
173
|
"@mixedbread/sdk": {
|