fumadocs-typescript 5.2.1 → 5.2.2

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 (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ function generateHash(str) {
30
30
  }
31
31
  //#endregion
32
32
  //#region package.json
33
- var version = "5.2.1";
33
+ var version = "5.2.2";
34
34
  //#endregion
35
35
  //#region src/lib/base.ts
36
36
  async function createProject(options = {}) {
@@ -204,6 +204,7 @@ async function buildTypeProp(entries, renderer) {
204
204
  elements: await Promise.all(tags.params.map(onParam))
205
205
  });
206
206
  if (entry.description) node.addJsxProperty("description", await renderer.renderMarkdownToHast(entry.description));
207
+ if (entry.deprecated) node.addExpressionNode("deprecated", valueToEstree(true));
207
208
  return node.build();
208
209
  }
209
210
  async function onParam(param) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-typescript",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "description": "Typescript Integration for Fumadocs",
5
5
  "keywords": [
6
6
  "Docs",
@@ -45,16 +45,16 @@
45
45
  "@types/estree": "^1.0.8",
46
46
  "@types/hast": "^3.0.4",
47
47
  "@types/mdast": "^4.0.4",
48
- "@types/node": "25.5.0",
48
+ "@types/node": "25.5.2",
49
49
  "@types/react": "^19.2.14",
50
50
  "@types/react-dom": "^19.2.3",
51
51
  "mdast-util-mdx": "^3.0.0",
52
52
  "shiki": "^4.0.2",
53
- "tsdown": "0.21.6",
53
+ "tsdown": "0.21.7",
54
54
  "typescript": "^6.0.2",
55
55
  "vfile": "^6.0.3",
56
- "fumadocs-core": "16.7.8",
57
- "fumadocs-ui": "16.7.8",
56
+ "fumadocs-core": "16.7.11",
57
+ "fumadocs-ui": "16.7.11",
58
58
  "tsconfig": "0.0.0"
59
59
  },
60
60
  "peerDependencies": {