fumadocs-typescript 5.5.1 → 5.5.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as markdownRenderer, t as parseTags } from "./parse-tags-Cikh_NrX.js";
1
+ import { n as markdownRenderer, t as parseTags } from "./parse-tags-8LDS81JV.js";
2
2
  import { API, NodeBuilderFlags, ObjectFlags, SignatureKind, SymbolFlags, TypeFlags, isIntersectionType, isObjectType, isUnionType } from "typescript/unstable/sync";
3
3
  import fs from "node:fs/promises";
4
4
  import path from "node:path";
@@ -33,7 +33,7 @@ function generateHash(str) {
33
33
  }
34
34
  //#endregion
35
35
  //#region package.json
36
- var version = "5.5.1";
36
+ var version = "5.5.2";
37
37
  //#endregion
38
38
  //#region src/lib/get-simple-form.ts
39
39
  function getSimpleForm(type, checker, location, options = {}) {
@@ -6,9 +6,10 @@ import { highlightHast } from "fumadocs-core/highlight";
6
6
  //#region src/markdown.ts
7
7
  function markdownRenderer(options) {
8
8
  const processor = remark().use(remarkGfm).use(remarkRehype).use(rehypeCode, {
9
- langs: ["ts", "tsx"],
10
9
  transformers: [],
11
10
  parseMetaString: void 0,
11
+ icon: false,
12
+ fallbackLanguage: "plaintext",
12
13
  ...options
13
14
  });
14
15
  return {
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as markdownRenderer, t as parseTags } from "../parse-tags-Cikh_NrX.js";
1
+ import { n as markdownRenderer, t as parseTags } from "../parse-tags-8LDS81JV.js";
2
2
  import { TypeTable } from "fumadocs-ui/components/type-table";
3
3
  import { toJsxRuntime } from "hast-util-to-jsx-runtime";
4
4
  import * as JsxRuntime from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-typescript",
3
- "version": "5.5.1",
3
+ "version": "5.5.2",
4
4
  "description": "Typescript Integration for Fumadocs",
5
5
  "keywords": [
6
6
  "Docs",