fumadocs-core 16.8.11 → 16.8.12

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.
Files changed (46) hide show
  1. package/dist/{build-doc-8RxTPr1J.js → build-doc-CqRdmOMh.js} +2 -2
  2. package/dist/{client-Dyup8E6r.d.ts → client-D6TKpTxv.d.ts} +2 -2
  3. package/dist/content/mdx/preset-bundler.d.ts +1 -1
  4. package/dist/content/mdx/preset-runtime.d.ts +1 -1
  5. package/dist/i18n/index.d.ts +1 -1
  6. package/dist/i18n/middleware.d.ts +1 -1
  7. package/dist/i18n/middleware.js +2 -2
  8. package/dist/{index-DvNKidQF.d.ts → index-VMicRewG2.d.ts} +13 -3
  9. package/dist/index-qM4PwHTs.d.ts +1 -0
  10. package/dist/{loader-CeIUqWDI.js → loader-Bs2iumYD.js} +3 -13
  11. package/dist/mdx-plugins/index.d.ts +1 -1
  12. package/dist/page-tree/index.d.ts +1 -1
  13. package/dist/{path-B4h_WlT8.js → path-CPgAF5cw.js} +15 -3
  14. package/dist/search/algolia.d.ts +1 -1
  15. package/dist/search/client/algolia.d.ts +1 -1
  16. package/dist/search/client/fetch.d.ts +1 -1
  17. package/dist/search/client/flexsearch-static.d.ts +1 -1
  18. package/dist/search/client/mixedbread.d.ts +1 -1
  19. package/dist/search/client/orama-cloud-legacy.d.ts +1 -1
  20. package/dist/search/client/orama-cloud.d.ts +1 -1
  21. package/dist/search/client/orama-static.d.ts +1 -1
  22. package/dist/search/client.d.ts +1 -1
  23. package/dist/search/flexsearch.d.ts +3 -3
  24. package/dist/search/flexsearch.js +1 -1
  25. package/dist/search/index.d.ts +1 -1
  26. package/dist/search/mixedbread.d.ts +2 -2
  27. package/dist/search/server.d.ts +1 -1
  28. package/dist/search/server.js +1 -1
  29. package/dist/{server-DZLj6URC.d.ts → server-CQJ8bzkB.d.ts} +3 -3
  30. package/dist/source/client/index.d.ts +1 -1
  31. package/dist/source/dynamic.d.ts +1 -1
  32. package/dist/source/dynamic.js +1 -1
  33. package/dist/source/index.d.ts +1 -1
  34. package/dist/source/index.js +2 -2
  35. package/dist/source/llms.d.ts +1 -1
  36. package/dist/source/plugins/lucide-icons.d.ts +1 -1
  37. package/dist/source/plugins/slugs.d.ts +1 -1
  38. package/dist/source/plugins/slugs.js +1 -1
  39. package/dist/source/plugins/status-badges.d.ts +1 -1
  40. package/package.json +10 -10
  41. /package/dist/{algolia-BvGetcJs.d.ts → algolia-D56Eex2h.d.ts} +0 -0
  42. /package/dist/{index-CnkxgKNd.d.ts → index-Bcms_L7o.d.ts} +0 -0
  43. /package/dist/{index-DaiDEfiL.d.ts → index-BreFfl9v.d.ts} +0 -0
  44. /package/dist/{index-5SWg3Kgu2.d.ts → index-D2f_P1Zo.d.ts} +0 -0
  45. /package/dist/{index-nW94Fpi3.d.ts → index-DRvW7IXg.d.ts} +0 -0
  46. /package/dist/{util-D7vTp-Ia.d.ts → util-CaBjK5m2.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { r as findPath } from "./utils-BFW0mEx9.js";
2
- import { r as extname, t as basename } from "./path-B4h_WlT8.js";
2
+ import { r as extname, t as basename } from "./path-CPgAF5cw.js";
3
3
  //#region src/search/server/build-index.ts
4
4
  async function buildIndexDefault(page) {
5
5
  let structuredData;
6
- if ("structuredData" in page.data) structuredData = typeof page.data.structuredData === "function" ? await page.data.structuredData() : page.data.structuredData;
6
+ if (page.data.structuredData) structuredData = typeof page.data.structuredData === "function" ? await page.data.structuredData() : page.data.structuredData;
7
7
  else if ("load" in page.data && typeof page.data.load === "function") structuredData = (await page.data.load()).structuredData;
8
8
  if (!structuredData) throw new Error("Cannot find structured data from page, please define the page to index function.");
9
9
  return {
@@ -1,6 +1,6 @@
1
1
  import { t as Awaitable } from "./types-DpbpliNk.js";
2
- import { t as BaseIndex } from "./algolia-BvGetcJs.js";
3
- import { r as SortedResult } from "./index-CnkxgKNd.js";
2
+ import { t as BaseIndex } from "./algolia-D56Eex2h.js";
3
+ import { r as SortedResult } from "./index-Bcms_L7o.js";
4
4
  import { DependencyList } from "react";
5
5
  import { AnyOrama, Orama, SearchParams } from "@orama/orama";
6
6
  import { LiteClient, SearchResponse } from "algoliasearch/lite";
@@ -4,7 +4,7 @@ import { r as StructureOptions } from "../../remark-structure-C2-K9_ko.js";
4
4
  import { t as RemarkHeadingOptions } from "../../remark-heading-BkmtL7mJ.js";
5
5
  import { t as RemarkCodeTabOptions } from "../../remark-code-tab-Ct56s_uQ.js";
6
6
  import { t as RemarkNpmOptions } from "../../remark-npm-BZsXR24w.js";
7
- import { t as ResolvePlugins } from "../../util-D7vTp-Ia.js";
7
+ import { t as ResolvePlugins } from "../../util-CaBjK5m2.js";
8
8
  import { Pluggable } from "unified";
9
9
  import { ProcessorOptions } from "@mdx-js/mdx";
10
10
 
@@ -4,7 +4,7 @@ import { r as StructureOptions } from "../../remark-structure-C2-K9_ko.js";
4
4
  import { t as RemarkHeadingOptions } from "../../remark-heading-BkmtL7mJ.js";
5
5
  import { t as RemarkCodeTabOptions } from "../../remark-code-tab-Ct56s_uQ.js";
6
6
  import { t as RemarkNpmOptions } from "../../remark-npm-BZsXR24w.js";
7
- import { t as ResolvePlugins } from "../../util-D7vTp-Ia.js";
7
+ import { t as ResolvePlugins } from "../../util-CaBjK5m2.js";
8
8
  import { ProcessorOptions } from "@mdx-js/mdx";
9
9
 
10
10
  //#region src/content/mdx/preset-runtime.d.ts
@@ -1,2 +1,2 @@
1
- import { n as defineI18n, t as I18nConfig } from "../index-DaiDEfiL.js";
1
+ import { n as defineI18n, t as I18nConfig } from "../index-BreFfl9v.js";
2
2
  export { I18nConfig, defineI18n };
@@ -1,4 +1,4 @@
1
- import { t as I18nConfig } from "../index-DaiDEfiL.js";
1
+ import { t as I18nConfig } from "../index-BreFfl9v.js";
2
2
  import { NextProxy } from "next/server.js";
3
3
  import { NextURL } from "next/dist/server/web/next-url.js";
4
4
 
@@ -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.4/node_modules/@formatjs/fast-memoize/index.js
3
+ //#region ../../node_modules/.pnpm/@formatjs+fast-memoize@3.1.5/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.6/node_modules/@formatjs/intl-localematcher/index.js
59
+ //#region ../../node_modules/.pnpm/@formatjs+intl-localematcher@0.8.8/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
@@ -1,7 +1,8 @@
1
1
  import { a as Separator, i as Root, n as Item, r as Node, t as Folder } from "./definitions-Cob-Q8-8.js";
2
2
  import { t as Awaitable } from "./types-DpbpliNk.js";
3
- import { t as I18nConfig } from "./index-DaiDEfiL.js";
4
- import { n as SerializedPageTree } from "./index-5SWg3Kgu2.js";
3
+ import { i as StructuredData } from "./remark-structure-C2-K9_ko.js";
4
+ import { t as I18nConfig } from "./index-BreFfl9v.js";
5
+ import { n as SerializedPageTree } from "./index-D2f_P1Zo.js";
5
6
  import { ReactNode } from "react";
6
7
 
7
8
  //#region src/source/storage/file-system.d.ts
@@ -358,6 +359,7 @@ interface PageData {
358
359
  icon?: string | undefined;
359
360
  title?: string;
360
361
  description?: string | undefined;
362
+ structuredData?: StructuredData | (() => Awaitable<StructuredData>);
361
363
  }
362
364
  type VirtualFile<Config extends SourceConfig = SourceConfig> = VirtualPage<Config['pageData']> | VirtualMeta<Config['metaData']>;
363
365
  interface BaseVirtualFile {
@@ -424,7 +426,7 @@ declare function update<Config extends SourceConfig>(source: StaticSource<Config
424
426
  declare function isStaticSource(s: object): s is StaticSource;
425
427
  declare function isDynamicSource(s: object): s is DynamicSource;
426
428
  declare namespace path_d_exports {
427
- export { basename, dirname, extname, joinPath, slash, splitPath };
429
+ export { basename, dirname, extname, joinPath, normalize, slash, splitPath };
428
430
  }
429
431
  declare function basename(path: string, ext?: string): string;
430
432
  declare function extname(path: string): string;
@@ -446,6 +448,14 @@ declare function splitPath(path: string): string[];
446
448
  */
447
449
  declare function joinPath(...paths: string[]): string;
448
450
  declare function slash(path: string): string;
451
+ /**
452
+ * Convert (relative) file path to virtual file path.
453
+ *
454
+ * @param path - Relative path
455
+ * @returns Normalized path, with no trailing/leading slashes
456
+ * @throws Throws error if path starts with `./` or `../`
457
+ */
458
+ declare function normalize(path: string): string;
449
459
  //#endregion
450
460
  //#region src/source/llms.d.ts
451
461
  interface Context {
@@ -0,0 +1 @@
1
+ export { };
@@ -1,6 +1,6 @@
1
1
  import { t as normalizeUrl } from "./normalize-url-J3kqKlu4.js";
2
2
  import { c as visit } from "./utils-BFW0mEx9.js";
3
- import { i as joinPath, n as dirname, o as slash, r as extname, s as splitPath, t as basename } from "./path-B4h_WlT8.js";
3
+ import { a as normalize, i as joinPath, n as dirname, r as extname, t as basename } from "./path-CPgAF5cw.js";
4
4
  import { slugsPlugin } from "./source/plugins/slugs.js";
5
5
  import { t as iconPlugin } from "./icon-BbWo08Fw.js";
6
6
  import path from "node:path";
@@ -164,7 +164,7 @@ function createContentStorageBuilder(loaderConfig) {
164
164
  if (inputFile.type === "page") file = {
165
165
  format: "page",
166
166
  type,
167
- path: normalizePath(inputFile.path),
167
+ path: normalize(inputFile.path),
168
168
  slugs: inputFile.slugs,
169
169
  data: inputFile.data,
170
170
  absolutePath: inputFile.absolutePath
@@ -172,7 +172,7 @@ function createContentStorageBuilder(loaderConfig) {
172
172
  else file = {
173
173
  format: "meta",
174
174
  type,
175
- path: normalizePath(inputFile.path),
175
+ path: normalize(inputFile.path),
176
176
  absolutePath: inputFile.absolutePath,
177
177
  data: inputFile.data
178
178
  };
@@ -208,16 +208,6 @@ function createContentStorageBuilder(loaderConfig) {
208
208
  }
209
209
  };
210
210
  }
211
- /**
212
- * @param path - Relative path
213
- * @returns Normalized path, with no trailing/leading slashes
214
- * @throws Throws error if path starts with `./` or `../`
215
- */
216
- function normalizePath(path) {
217
- const segments = splitPath(slash(path));
218
- if (segments[0] === "." || segments[0] === "..") throw new Error("It must not start with './' or '../'");
219
- return segments.join("/");
220
- }
221
211
  function pushMapList(map, k, v) {
222
212
  let list = map.get(k);
223
213
  if (!list) {
@@ -15,4 +15,4 @@ import { a as remarkMdxFiles, r as RemarkMdxFilesOptions } from "../remark-mdx-f
15
15
  import { n as remarkMdxMermaid, t as RemarkMdxMermaidOptions } from "../remark-mdx-mermaid-CQU6XhYd.js";
16
16
  import { n as RemarkFeedbackBlockOptions, r as remarkFeedbackBlock, t as FeedbackBlockProps } from "../remark-feedback-block-CF-ABTc-.js";
17
17
  import { t as LLMsOptions } from "../remark-llms-CC6AjEDH.js";
18
- export { CodeBlockAttributes, CodeBlockIcon, CodeBlockTabsOptions, FeedbackBlockProps, type LLMsOptions, RehypeCodeOptions, RehypeTOCItemType, RehypeTocOptions, RemarkAdmonitionOptions, RemarkCodeTabOptions, RemarkDirectiveAdmonitionOptions, RemarkFeedbackBlockOptions, RemarkGfmOptions, RemarkHeadingOptions, RemarkImageOptions, type RemarkMdxFilesOptions, RemarkMdxMermaidOptions, RemarkNpmOptions, RemarkStepsOptions, Stringifier, StringifyOptions, StructureOptions, StructuredData, defaultStringifier, generateCodeBlockTabs, parseCodeBlockAttributes, rehypeCode, rehypeCodeDefaultOptions, rehypeToc, remarkAdmonition, remarkCodeTab, remarkDirectiveAdmonition, remarkFeedbackBlock, remarkGfm, remarkHeading, remarkImage, remarkMdxFiles, remarkMdxMermaid, remarkNpm, remarkSteps, remarkStructure, remarkStructureDefaultOptions, structure, transformerIcon, transformerTab };
18
+ export { CodeBlockAttributes, CodeBlockIcon, CodeBlockTabsOptions, FeedbackBlockProps, LLMsOptions, RehypeCodeOptions, RehypeTOCItemType, RehypeTocOptions, RemarkAdmonitionOptions, RemarkCodeTabOptions, RemarkDirectiveAdmonitionOptions, RemarkFeedbackBlockOptions, RemarkGfmOptions, RemarkHeadingOptions, RemarkImageOptions, RemarkMdxFilesOptions, RemarkMdxMermaidOptions, RemarkNpmOptions, RemarkStepsOptions, Stringifier, StringifyOptions, StructureOptions, StructuredData, defaultStringifier, generateCodeBlockTabs, parseCodeBlockAttributes, rehypeCode, rehypeCodeDefaultOptions, rehypeToc, remarkAdmonition, remarkCodeTab, remarkDirectiveAdmonition, remarkFeedbackBlock, remarkGfm, remarkHeading, remarkImage, remarkMdxFiles, remarkMdxMermaid, remarkNpm, remarkSteps, remarkStructure, remarkStructureDefaultOptions, structure, transformerIcon, transformerTab };
@@ -1,3 +1,3 @@
1
1
  import { a as Separator, i as Root, n as Item, r as Node, t as Folder } from "../definitions-Cob-Q8-8.js";
2
- import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../index-nW94Fpi3.js";
2
+ import { a as flattenTree, c as visit, i as findSiblings, n as findParent, o as getPageTreePeers, r as findPath, s as getPageTreeRoots, t as findNeighbour } from "../index-DRvW7IXg.js";
3
3
  export { Folder, Item, Node, Root, Separator, findNeighbour, findParent, findPath, findSiblings, flattenTree, getPageTreePeers, getPageTreeRoots, visit };
@@ -5,6 +5,7 @@ var path_exports = /* @__PURE__ */ __exportAll({
5
5
  dirname: () => dirname,
6
6
  extname: () => extname,
7
7
  joinPath: () => joinPath,
8
+ normalize: () => normalize,
8
9
  slash: () => slash,
9
10
  splitPath: () => splitPath
10
11
  });
@@ -44,8 +45,7 @@ function splitPath(path) {
44
45
  */
45
46
  function joinPath(...paths) {
46
47
  const out = [];
47
- const parsed = paths.flatMap((path) => path.split("/"));
48
- for (const seg of parsed) switch (seg) {
48
+ for (const path of paths) for (const seg of path.split("/")) switch (seg) {
49
49
  case "..":
50
50
  out.pop();
51
51
  break;
@@ -59,5 +59,17 @@ function slash(path) {
59
59
  if (path.startsWith("\\\\?\\")) return path;
60
60
  return path.replaceAll("\\", "/");
61
61
  }
62
+ /**
63
+ * Convert (relative) file path to virtual file path.
64
+ *
65
+ * @param path - Relative path
66
+ * @returns Normalized path, with no trailing/leading slashes
67
+ * @throws Throws error if path starts with `./` or `../`
68
+ */
69
+ function normalize(path) {
70
+ const segments = path.split(/\/|\\/).filter((v) => v.length > 0);
71
+ if (segments[0] === "." || segments[0] === "..") throw new Error("It must not start with './' or '../'");
72
+ return segments.join("/");
73
+ }
62
74
  //#endregion
63
- export { path_exports as a, joinPath as i, dirname as n, slash as o, extname as r, splitPath as s, basename as t };
75
+ export { normalize as a, joinPath as i, dirname as n, path_exports as o, extname as r, basename as t };
@@ -1,2 +1,2 @@
1
- import { a as sync, i as setIndexSettings, n as DocumentRecord, o as updateDocuments, r as SyncOptions, t as BaseIndex } from "../algolia-BvGetcJs.js";
1
+ import { a as sync, i as setIndexSettings, n as DocumentRecord, o as updateDocuments, r as SyncOptions, t as BaseIndex } from "../algolia-D56Eex2h.js";
2
2
  export { BaseIndex, DocumentRecord, SyncOptions, setIndexSettings, sync, updateDocuments };
@@ -1,2 +1,2 @@
1
- import { m as algoliaClient, p as AlgoliaOptions } from "../../client-Dyup8E6r.js";
1
+ import { m as algoliaClient, p as AlgoliaOptions } from "../../client-D6TKpTxv.js";
2
2
  export { AlgoliaOptions, algoliaClient };
@@ -1,2 +1,2 @@
1
- import { _ as FetchOptions, v as fetchClient } from "../../client-Dyup8E6r.js";
1
+ import { _ as FetchOptions, v as fetchClient } from "../../client-D6TKpTxv.js";
2
2
  export { FetchOptions, fetchClient };
@@ -1,2 +1,2 @@
1
- import { a as flexsearchStaticClient, i as FlexsearchStaticOptions } from "../../client-Dyup8E6r.js";
1
+ import { a as flexsearchStaticClient, i as FlexsearchStaticOptions } from "../../client-D6TKpTxv.js";
2
2
  export { FlexsearchStaticOptions, flexsearchStaticClient };
@@ -1,2 +1,2 @@
1
- import { c as mixedbreadClient, o as MixedbreadOptions, s as SearchMetadata } from "../../client-Dyup8E6r.js";
1
+ import { c as mixedbreadClient, o as MixedbreadOptions, s as SearchMetadata } from "../../client-D6TKpTxv.js";
2
2
  export { MixedbreadOptions, SearchMetadata, mixedbreadClient };
@@ -1,2 +1,2 @@
1
- import { l as OramaCloudLegacyOptions, u as oramaCloudLegacyClient } from "../../client-Dyup8E6r.js";
1
+ import { l as OramaCloudLegacyOptions, u as oramaCloudLegacyClient } from "../../client-D6TKpTxv.js";
2
2
  export { OramaCloudLegacyOptions, oramaCloudLegacyClient };
@@ -1,2 +1,2 @@
1
- import { d as OramaCloudOptions, f as oramaCloudClient } from "../../client-Dyup8E6r.js";
1
+ import { d as OramaCloudOptions, f as oramaCloudClient } from "../../client-D6TKpTxv.js";
2
2
  export { OramaCloudOptions, oramaCloudClient };
@@ -1,2 +1,2 @@
1
- import { g as oramaStaticClient, h as StaticOptions } from "../../client-Dyup8E6r.js";
1
+ import { g as oramaStaticClient, h as StaticOptions } from "../../client-D6TKpTxv.js";
2
2
  export { StaticOptions, oramaStaticClient };
@@ -1,2 +1,2 @@
1
- import { _ as FetchOptions, d as OramaCloudOptions, h as StaticOptions, n as SearchClient, p as AlgoliaOptions, r as useDocsSearch, t as ClientPreset } from "../client-Dyup8E6r.js";
1
+ import { _ as FetchOptions, d as OramaCloudOptions, h as StaticOptions, n as SearchClient, p as AlgoliaOptions, r as useDocsSearch, t as ClientPreset } from "../client-D6TKpTxv.js";
2
2
  export { AlgoliaOptions, ClientPreset, FetchOptions, OramaCloudOptions, SearchClient, StaticOptions, useDocsSearch };
@@ -1,7 +1,7 @@
1
1
  import { t as Awaitable } from "../types-DpbpliNk.js";
2
- import { t as I18nConfig } from "../index-DaiDEfiL.js";
3
- import { m as SharedIndex, n as SearchAPI, t as QueryOptions } from "../server-DZLj6URC.js";
4
- import { C as LoaderConfig, T as LoaderOutput } from "../index-DvNKidQF.js";
2
+ import { t as I18nConfig } from "../index-BreFfl9v.js";
3
+ import { m as SharedIndex, n as SearchAPI, t as QueryOptions } from "../server-CQJ8bzkB.js";
4
+ import { C as LoaderConfig, T as LoaderOutput } from "../index-VMicRewG2.js";
5
5
  import { DocumentData, DocumentOptions } from "flexsearch";
6
6
 
7
7
  //#region src/search/server/build-doc.d.ts
@@ -1,5 +1,5 @@
1
1
  import { t as createEndpoint } from "../endpoint-CAUHRXte.js";
2
- import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-8RxTPr1J.js";
2
+ import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-CqRdmOMh.js";
3
3
  import { n as search, t as createDocument } from "../utils-CkDkYuX8.js";
4
4
  import Search from "flexsearch";
5
5
  //#region src/search/flexsearch.ts
@@ -1,2 +1,2 @@
1
- import { i as createContentHighlighter, n as ReactSortedResult, r as SortedResult, t as HighlightedText } from "../index-CnkxgKNd.js";
1
+ import { i as createContentHighlighter, n as ReactSortedResult, r as SortedResult, t as HighlightedText } from "../index-Bcms_L7o.js";
2
2
  export { HighlightedText, ReactSortedResult, SortedResult, createContentHighlighter };
@@ -1,5 +1,5 @@
1
- import { r as SortedResult } from "../index-CnkxgKNd.js";
2
- import { n as SearchAPI } from "../server-DZLj6URC.js";
1
+ import { r as SortedResult } from "../index-Bcms_L7o.js";
2
+ import { n as SearchAPI } from "../server-CQJ8bzkB.js";
3
3
  import Mixedbread from "@mixedbread/sdk";
4
4
  import { StoreSearchResponse } from "@mixedbread/sdk/resources/stores";
5
5
 
@@ -1,2 +1,2 @@
1
- import { a as AdvancedOptions, c as SimpleOptions, d as createSearchAPI, f as initAdvancedSearch, i as AdvancedIndex, l as createFromSource, n as SearchAPI, o as ExportedData, p as initSimpleSearch, r as SearchServer, s as Index, t as QueryOptions, u as createI18nSearchAPI } from "../server-DZLj6URC.js";
1
+ import { a as AdvancedOptions, c as SimpleOptions, d as createSearchAPI, f as initAdvancedSearch, i as AdvancedIndex, l as createFromSource, n as SearchAPI, o as ExportedData, p as initSimpleSearch, r as SearchServer, s as Index, t as QueryOptions, u as createI18nSearchAPI } from "../server-CQJ8bzkB.js";
2
2
  export { AdvancedIndex, AdvancedOptions, ExportedData, Index, QueryOptions, SearchAPI, SearchServer, SimpleOptions, createFromSource, createI18nSearchAPI, createSearchAPI, initAdvancedSearch, initSimpleSearch };
@@ -1,5 +1,5 @@
1
1
  import { n as defaultReadOptions, t as createEndpoint } from "../endpoint-CAUHRXte.js";
2
- import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-8RxTPr1J.js";
2
+ import { n as buildBreadcrumbs, r as buildIndexDefault, t as buildDocuments } from "../build-doc-CqRdmOMh.js";
3
3
  import { n as searchSimple, t as searchAdvanced } from "../advanced-BCAHgGV0.js";
4
4
  import { create, insertMultiple, save } from "@orama/orama";
5
5
  //#region src/search/orama/_stemmers.ts
@@ -1,8 +1,8 @@
1
1
  import { t as Awaitable } from "./types-DpbpliNk.js";
2
2
  import { i as StructuredData } from "./remark-structure-C2-K9_ko.js";
3
- import { t as I18nConfig } from "./index-DaiDEfiL.js";
4
- import { r as SortedResult } from "./index-CnkxgKNd.js";
5
- import { C as LoaderConfig, T as LoaderOutput } from "./index-DvNKidQF.js";
3
+ import { t as I18nConfig } from "./index-BreFfl9v.js";
4
+ import { r as SortedResult } from "./index-Bcms_L7o.js";
5
+ import { C as LoaderConfig, T as LoaderOutput } from "./index-VMicRewG2.js";
6
6
  import { Language, Orama, RawData, SearchParams, TypedDocument, create } from "@orama/orama";
7
7
 
8
8
  //#region src/search/orama/create-db.d.ts
@@ -1,2 +1,2 @@
1
- import { i as useFumadocsLoader, n as SerializedPageTree, r as deserializePageTree, t as Serialized } from "../../index-5SWg3Kgu2.js";
1
+ import { i as useFumadocsLoader, n as SerializedPageTree, r as deserializePageTree, t as Serialized } from "../../index-D2f_P1Zo.js";
2
2
  export { Serialized, SerializedPageTree, deserializePageTree, useFumadocsLoader };
@@ -1,2 +1,2 @@
1
- import { b as dynamicLoader, v as DynamicLoader, y as DynamicLoaderConfig } from "../index-DvNKidQF.js";
1
+ import { b as dynamicLoader, v as DynamicLoader, y as DynamicLoaderConfig } from "../index-VMicRewG2.js";
2
2
  export { DynamicLoader, DynamicLoaderConfig, dynamicLoader };
@@ -1,4 +1,4 @@
1
- import { i as isStaticSource, n as loader, r as isDynamicSource } from "../loader-CeIUqWDI.js";
1
+ import { i as isStaticSource, n as loader, r as isDynamicSource } from "../loader-Bs2iumYD.js";
2
2
  import { cache } from "react";
3
3
  //#region src/source/dynamic.ts
4
4
  function dynamicLoader(input, options) {
@@ -1,2 +1,2 @@
1
- import { A as ResolvedLoaderConfig, B as PageTreeTransformer, C as LoaderConfig, D as LoaderPluginOption, E as LoaderPlugin, H as ContentStorageMetaFile, L as PageTreeBuilder, M as loader, O as Meta, P as getSlugs, R as PageTreeBuilderContext, S as InferPageType, T as LoaderOutput, U as ContentStoragePageFile, V as ContentStorage, W as FileSystem, _ as update, a as MetaData, c as SourceConfig, d as VirtualFile, f as _SourceUpdate_, g as source, h as multiple, i as DynamicSource, j as createGetUrl, k as Page, l as SourceUnion, m as isStaticSource, n as llms, o as PageData, p as isDynamicSource, r as path_d_exports, s as Source, t as LLMsConfig, u as StaticSource, w as LoaderOptions, x as InferMetaType, z as PageTreeOptions } from "../index-DvNKidQF.js";
1
+ import { A as ResolvedLoaderConfig, B as PageTreeTransformer, C as LoaderConfig, D as LoaderPluginOption, E as LoaderPlugin, H as ContentStorageMetaFile, L as PageTreeBuilder, M as loader, O as Meta, P as getSlugs, R as PageTreeBuilderContext, S as InferPageType, T as LoaderOutput, U as ContentStoragePageFile, V as ContentStorage, W as FileSystem, _ as update, a as MetaData, c as SourceConfig, d as VirtualFile, f as _SourceUpdate_, g as source, h as multiple, i as DynamicSource, j as createGetUrl, k as Page, l as SourceUnion, m as isStaticSource, n as llms, o as PageData, p as isDynamicSource, r as path_d_exports, s as Source, t as LLMsConfig, u as StaticSource, w as LoaderOptions, x as InferMetaType, z as PageTreeOptions } from "../index-VMicRewG2.js";
2
2
  export { ContentStorage, ContentStorageMetaFile, ContentStoragePageFile, DynamicSource, FileSystem, InferMetaType, InferPageType, LLMsConfig, LoaderConfig, LoaderOptions, LoaderOutput, LoaderPlugin, LoaderPluginOption, Meta, MetaData, Page, PageData, PageTreeBuilder, PageTreeBuilderContext, PageTreeOptions, PageTreeTransformer, path_d_exports as PathUtils, ResolvedLoaderConfig, Source, SourceConfig, SourceUnion, StaticSource, VirtualFile, _SourceUpdate_, createGetUrl, getSlugs, isDynamicSource, isStaticSource, llms, loader, multiple, source, update };
@@ -1,5 +1,5 @@
1
- import { a as path_exports } from "../path-B4h_WlT8.js";
2
- import { a as multiple, c as FileSystem, i as isStaticSource, n as loader, o as source, r as isDynamicSource, s as update, t as createGetUrl } from "../loader-CeIUqWDI.js";
1
+ import { o as path_exports } from "../path-CPgAF5cw.js";
2
+ import { a as multiple, c as FileSystem, i as isStaticSource, n as loader, o as source, r as isDynamicSource, s as update, t as createGetUrl } from "../loader-Bs2iumYD.js";
3
3
  import { getSlugs } from "./plugins/slugs.js";
4
4
  import { llms } from "./llms.js";
5
5
  export { FileSystem, path_exports as PathUtils, createGetUrl, getSlugs, isDynamicSource, isStaticSource, llms, loader, multiple, source, update };
@@ -1,2 +1,2 @@
1
- import { n as llms, t as LLMsConfig } from "../index-DvNKidQF.js";
1
+ import { n as llms, t as LLMsConfig } from "../index-VMicRewG2.js";
2
2
  export { LLMsConfig, llms };
@@ -1,4 +1,4 @@
1
- import { E as LoaderPlugin } from "../../index-DvNKidQF.js";
1
+ import { E as LoaderPlugin } from "../../index-VMicRewG2.js";
2
2
  import { icons } from "lucide-react";
3
3
 
4
4
  //#region src/source/plugins/lucide-icons.d.ts
@@ -1,2 +1,2 @@
1
- import { F as slugsFromData, I as slugsPlugin, N as SlugFn, P as getSlugs } from "../../index-DvNKidQF.js";
1
+ import { F as slugsFromData, I as slugsPlugin, N as SlugFn, P as getSlugs } from "../../index-VMicRewG2.js";
2
2
  export { SlugFn, getSlugs, slugsFromData, slugsPlugin };
@@ -1,4 +1,4 @@
1
- import { n as dirname, r as extname, t as basename } from "../../path-B4h_WlT8.js";
1
+ import { n as dirname, r as extname, t as basename } from "../../path-CPgAF5cw.js";
2
2
  //#region src/source/plugins/slugs.ts
3
3
  /**
4
4
  * Generate slugs for pages if missing
@@ -1,5 +1,5 @@
1
1
  import { a as Separator$1, n as Item$1, t as Folder$1 } from "../../definitions-Cob-Q8-8.js";
2
- import { E as LoaderPlugin } from "../../index-DvNKidQF.js";
2
+ import { E as LoaderPlugin } from "../../index-VMicRewG2.js";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/source/plugins/status-badges.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "16.8.11",
3
+ "version": "16.8.12",
4
4
  "description": "The React.js library for building a documentation website",
5
5
  "keywords": [
6
6
  "Docs",
@@ -114,36 +114,36 @@
114
114
  "vfile": "^6.0.3"
115
115
  },
116
116
  "devDependencies": {
117
- "@formatjs/intl-localematcher": "^0.8.6",
117
+ "@formatjs/intl-localematcher": "^0.8.8",
118
118
  "@mdx-js/mdx": "^3.1.1",
119
- "@mixedbread/sdk": "^0.65.0",
119
+ "@mixedbread/sdk": "0.68.0",
120
120
  "@orama/core": "^1.2.19",
121
121
  "@oramacloud/client": "^2.1.4",
122
122
  "@shikijs/transformers": "^4.0.2",
123
- "@tanstack/react-router": "1.169.2",
123
+ "@tanstack/react-router": "1.170.4",
124
124
  "@types/estree-jsx": "^1.0.5",
125
125
  "@types/hast": "^3.0.4",
126
126
  "@types/js-yaml": "^4.0.9",
127
127
  "@types/mdast": "^4.0.4",
128
128
  "@types/negotiator": "^0.6.4",
129
- "@types/node": "25.6.2",
129
+ "@types/node": "25.8.0",
130
130
  "@types/react": "^19.2.14",
131
131
  "@types/react-dom": "^19.2.3",
132
132
  "algoliasearch": "5.52.1",
133
133
  "flexsearch": "^0.8.212",
134
134
  "image-size": "^2.0.2",
135
- "lucide-react": "^1.14.0",
135
+ "lucide-react": "^1.16.0",
136
136
  "negotiator": "^1.0.0",
137
137
  "next": "16.2.6",
138
138
  "npm-to-yarn": "^3.0.1",
139
139
  "path-to-regexp": "^8.4.2",
140
- "react-router": "^7.15.0",
140
+ "react-router": "7.15.1",
141
141
  "remark-directive": "^4.0.0",
142
142
  "remark-mdx": "^3.1.1",
143
143
  "remove-markdown": "^0.6.4",
144
144
  "tsdown": "0.22.0",
145
145
  "typescript": "^6.0.3",
146
- "waku": "1.0.0-alpha.10",
146
+ "waku": "1.0.0-beta.0",
147
147
  "zod": "^4.4.3",
148
148
  "tsconfig": "0.0.0"
149
149
  },
@@ -224,8 +224,8 @@
224
224
  }
225
225
  },
226
226
  "inlinedDependencies": {
227
- "@formatjs/fast-memoize": "3.1.4",
228
- "@formatjs/intl-localematcher": "0.8.6",
227
+ "@formatjs/fast-memoize": "3.1.5",
228
+ "@formatjs/intl-localematcher": "0.8.8",
229
229
  "@shikijs/transformers": "4.0.2",
230
230
  "image-size": "2.0.2",
231
231
  "negotiator": "1.0.0",
File without changes