fumadocs-core 16.11.2 → 16.11.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.
@@ -1,4 +1,4 @@
1
- import { load } from "js-yaml";
1
+ import { parse } from "yaml";
2
2
  //#region src/content/md/frontmatter.ts
3
3
  /**
4
4
  * Inspired by https://github.com/jonschlinkert/gray-matter
@@ -17,7 +17,7 @@ function frontmatter(input) {
17
17
  if (!match) return output;
18
18
  output.matter = match[0];
19
19
  output.content = input.slice(match[0].length);
20
- output.data = load(match[1]) ?? {};
20
+ output.data = parse(match[1]) ?? {};
21
21
  return output;
22
22
  }
23
23
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { t as getNegotiator } from "../negotiation-D7x4zl2m.js";
2
2
  import { NextResponse } from "next/server.js";
3
- //#region ../../node_modules/.pnpm/@formatjs+fast-memoize@3.1.6/node_modules/@formatjs/fast-memoize/index.js
3
+ //#region ../../node_modules/.pnpm/@formatjs+fast-memoize@3.1.7/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.10/node_modules/@formatjs/intl-localematcher/index.js
59
+ //#region ../../node_modules/.pnpm/@formatjs+intl-localematcher@0.8.12/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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "16.11.2",
3
+ "version": "16.11.4",
4
4
  "description": "The React.js library for building a documentation website",
5
5
  "keywords": [
6
6
  "Docs",
@@ -108,7 +108,6 @@
108
108
  "github-slugger": "^2.0.0",
109
109
  "hast-util-to-estree": "^3.1.3",
110
110
  "hast-util-to-jsx-runtime": "^2.3.6",
111
- "js-yaml": "^5.2.1",
112
111
  "mdast-util-mdx": "^3.0.0",
113
112
  "mdast-util-to-markdown": "^2.1.2",
114
113
  "remark": "^15.0.1",
@@ -119,10 +118,11 @@
119
118
  "tinyglobby": "^0.2.17",
120
119
  "unified": "^11.0.5",
121
120
  "unist-util-visit": "^5.1.0",
122
- "vfile": "^6.0.3"
121
+ "vfile": "^6.0.3",
122
+ "yaml": "^2.9.0"
123
123
  },
124
124
  "devDependencies": {
125
- "@formatjs/intl-localematcher": "^0.8.10",
125
+ "@formatjs/intl-localematcher": "^0.8.12",
126
126
  "@mdx-js/mdx": "^3.1.1",
127
127
  "@mixedbread/sdk": "0.77.0",
128
128
  "@orama/core": "^1.2.19",
@@ -130,7 +130,7 @@
130
130
  "@shikijs/transformers": "^4.3.1",
131
131
  "@tanstack/react-router": "1.170.17",
132
132
  "@types/estree-jsx": "^1.0.5",
133
- "@types/hast": "^3.0.4",
133
+ "@types/hast": "^3.0.5",
134
134
  "@types/mdast": "^4.0.4",
135
135
  "@types/negotiator": "^0.6.4",
136
136
  "@types/node": "26.1.1",
@@ -139,7 +139,7 @@
139
139
  "algoliasearch": "5.55.2",
140
140
  "flexsearch": "^0.8.212",
141
141
  "image-size": "^2.0.2",
142
- "lucide-react": "^1.23.0",
142
+ "lucide-react": "^1.24.0",
143
143
  "negotiator": "^1.0.0",
144
144
  "next": "16.2.10",
145
145
  "npm-to-yarn": "^3.0.1",
@@ -148,7 +148,7 @@
148
148
  "remark-directive": "^4.0.0",
149
149
  "remark-mdx": "^3.1.1",
150
150
  "remove-markdown": "^0.6.4",
151
- "tsdown": "0.22.4",
151
+ "tsdown": "0.22.5",
152
152
  "typescript": "^6.0.3",
153
153
  "waku": "1.0.0-beta.6",
154
154
  "zod": "4.4.3",
@@ -231,8 +231,8 @@
231
231
  }
232
232
  },
233
233
  "inlinedDependencies": {
234
- "@formatjs/fast-memoize": "3.1.6",
235
- "@formatjs/intl-localematcher": "0.8.10",
234
+ "@formatjs/fast-memoize": "3.1.7",
235
+ "@formatjs/intl-localematcher": "0.8.12",
236
236
  "@shikijs/transformers": "4.3.1",
237
237
  "image-size": "2.0.2",
238
238
  "negotiator": "1.0.0",