fumadocs-core 16.8.4 → 16.8.6
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/i18n/middleware.js +2 -2
- package/dist/source/schema.d.ts +5 -2
- package/dist/source/schema.js +1 -1
- package/package.json +10 -10
package/dist/i18n/middleware.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getNegotiator } from "../negotiation-CvOwibYZ.js";
|
|
2
2
|
import { NextResponse } from "next/server.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@formatjs+fast-memoize@3.1.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@formatjs+fast-memoize@3.1.3/node_modules/@formatjs/fast-memoize/index.js
|
|
4
4
|
function memoize(fn, options) {
|
|
5
5
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
6
6
|
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -56,7 +56,7 @@ const cacheDefault = { create: function create() {
|
|
|
56
56
|
return new ObjectWithoutPrototypeCache();
|
|
57
57
|
} };
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region ../../node_modules/.pnpm/@formatjs+intl-localematcher@0.8.
|
|
59
|
+
//#region ../../node_modules/.pnpm/@formatjs+intl-localematcher@0.8.5/node_modules/@formatjs/intl-localematcher/index.js
|
|
60
60
|
/**
|
|
61
61
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
62
62
|
* @param locales
|
package/dist/source/schema.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ declare const metaSchema: z.ZodObject<{
|
|
|
13
13
|
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
icon: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
|
+
type _JSONType = number | boolean | string | null | _JSONType[] | {
|
|
17
|
+
[key: string]: _JSONType;
|
|
18
|
+
};
|
|
16
19
|
/**
|
|
17
20
|
* Zod 4 schema
|
|
18
21
|
*/
|
|
@@ -21,7 +24,7 @@ declare const pageSchema: z.ZodObject<{
|
|
|
21
24
|
description: z.ZodOptional<z.ZodString>;
|
|
22
25
|
icon: z.ZodOptional<z.ZodString>;
|
|
23
26
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
-
_openapi: z.ZodOptional<z.
|
|
27
|
+
_openapi: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<_JSONType, _JSONType>>>;
|
|
25
28
|
}, z.core.$strip>;
|
|
26
29
|
//#endregion
|
|
27
|
-
export { metaSchema, pageSchema };
|
|
30
|
+
export { _JSONType, metaSchema, pageSchema };
|
package/dist/source/schema.js
CHANGED
|
@@ -20,7 +20,7 @@ const pageSchema = z.object({
|
|
|
20
20
|
description: z.string().optional(),
|
|
21
21
|
icon: z.string().optional(),
|
|
22
22
|
full: z.boolean().optional(),
|
|
23
|
-
_openapi: z.
|
|
23
|
+
_openapi: z.record(z.string(), z.custom()).optional()
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { metaSchema, pageSchema };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-core",
|
|
3
|
-
"version": "16.8.
|
|
3
|
+
"version": "16.8.6",
|
|
4
4
|
"description": "The React.js library for building a documentation website",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -113,13 +113,13 @@
|
|
|
113
113
|
"vfile": "^6.0.3"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@formatjs/intl-localematcher": "^0.8.
|
|
116
|
+
"@formatjs/intl-localematcher": "^0.8.5",
|
|
117
117
|
"@mdx-js/mdx": "^3.1.1",
|
|
118
|
-
"@mixedbread/sdk": "^0.
|
|
118
|
+
"@mixedbread/sdk": "^0.64.0",
|
|
119
119
|
"@orama/core": "^1.2.19",
|
|
120
120
|
"@oramacloud/client": "^2.1.4",
|
|
121
121
|
"@shikijs/transformers": "^4.0.2",
|
|
122
|
-
"@tanstack/react-router": "1.
|
|
122
|
+
"@tanstack/react-router": "1.169.1",
|
|
123
123
|
"@types/estree-jsx": "^1.0.5",
|
|
124
124
|
"@types/hast": "^3.0.4",
|
|
125
125
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -128,10 +128,10 @@
|
|
|
128
128
|
"@types/node": "25.6.0",
|
|
129
129
|
"@types/react": "^19.2.14",
|
|
130
130
|
"@types/react-dom": "^19.2.3",
|
|
131
|
-
"algoliasearch": "5.
|
|
131
|
+
"algoliasearch": "5.52.0",
|
|
132
132
|
"flexsearch": "^0.8.212",
|
|
133
133
|
"image-size": "^2.0.2",
|
|
134
|
-
"lucide-react": "^1.
|
|
134
|
+
"lucide-react": "^1.14.0",
|
|
135
135
|
"negotiator": "^1.0.0",
|
|
136
136
|
"next": "16.2.4",
|
|
137
137
|
"npm-to-yarn": "^3.0.1",
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"remove-markdown": "^0.6.3",
|
|
143
143
|
"tsdown": "0.21.10",
|
|
144
144
|
"typescript": "^6.0.3",
|
|
145
|
-
"waku": "1.0.0-alpha.
|
|
146
|
-
"zod": "^4.
|
|
145
|
+
"waku": "1.0.0-alpha.9",
|
|
146
|
+
"zod": "^4.4.2",
|
|
147
147
|
"tsconfig": "0.0.0"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
@@ -223,8 +223,8 @@
|
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
"inlinedDependencies": {
|
|
226
|
-
"@formatjs/fast-memoize": "3.1.
|
|
227
|
-
"@formatjs/intl-localematcher": "0.8.
|
|
226
|
+
"@formatjs/fast-memoize": "3.1.3",
|
|
227
|
+
"@formatjs/intl-localematcher": "0.8.5",
|
|
228
228
|
"@shikijs/transformers": "4.0.2",
|
|
229
229
|
"image-size": "2.0.2",
|
|
230
230
|
"negotiator": "1.0.0",
|