diff --git a/package-lock.json b/package-lock.json index 5a6daf5..fe8beea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,10 +8,10 @@ "name": "fancydocs", "version": "0.0.0", "dependencies": { - "fumadocs-core": "16.7.14", - "fumadocs-mdx": "14.2.13", - "fumadocs-typescript": "^5.2.4", - "fumadocs-ui": "16.7.14", + "fumadocs-core": "16.7.16", + "fumadocs-mdx": "14.2.14", + "fumadocs-typescript": "^5.2.6", + "fumadocs-ui": "16.7.16", "lucide-react": "^1.8.0", "next": "16.2.3", "react": "^19.2.5", @@ -26,7 +26,7 @@ "@types/react-dom": "^19.2.2", "eslint": "^10.2.0", "eslint-config-next": "16.2.3", - "postcss": "^8.5.9", + "postcss": "^8.5.10", "tailwindcss": "^4.1.16", "typescript": "^6.0.2" } @@ -1490,27 +1490,6 @@ "url": "https://opencollective.com/libvips" } }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", - "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", - "license": "MIT", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", @@ -2699,23 +2678,6 @@ "node": ">=20" } }, - "node_modules/@shikijs/rehype": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@shikijs/rehype/-/rehype-4.0.2.tgz", - "integrity": "sha512-cmPlKLD8JeojasNFoY64162ScpEdEdQUMuVodPCrv1nx1z3bjmGwoKWDruQWa/ejSznImlaeB0Ty6Q3zPaVQAA==", - "license": "MIT", - "dependencies": { - "@shikijs/types": "4.0.2", - "@types/hast": "^3.0.4", - "hast-util-to-string": "^3.0.1", - "shiki": "4.0.2", - "unified": "^11.0.5", - "unist-util-visit": "^5.1.0" - }, - "engines": { - "node": ">=20" - } - }, "node_modules/@shikijs/themes": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.0.2.tgz", @@ -3093,9 +3055,9 @@ } }, "node_modules/@ts-morph/common": { - "version": "0.28.1", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.28.1.tgz", - "integrity": "sha512-W74iWf7ILp1ZKNYXY5qbddNaml7e9Sedv5lvU1V8lftlitkc9Pq1A+jlH23ltDgWYeZFFEqGCD1Ies9hqu3O+g==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.29.0.tgz", + "integrity": "sha512-35oUmphHbJvQ/+UTwFNme/t2p3FoKiGJ5auTjjpNTop2dyREspirjMy82PLSC1pnDJ8ah1GU98hwpVt64YXQsg==", "license": "MIT", "dependencies": { "minimatch": "^10.0.1", @@ -3103,16 +3065,37 @@ "tinyglobby": "^0.2.14" } }, + "node_modules/@ts-morph/common/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@ts-morph/common/node_modules/brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/@ts-morph/common/node_modules/minimatch": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz", - "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==", + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", "license": "BlueOak-1.0.0", "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" + "brace-expansion": "^5.0.5" }, "engines": { - "node": "20 || >=22" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -5720,13 +5703,12 @@ } }, "node_modules/fumadocs-core": { - "version": "16.7.14", - "resolved": "https://registry.npmjs.org/fumadocs-core/-/fumadocs-core-16.7.14.tgz", - "integrity": "sha512-wMsMR1m+6FY2PXx/OsIl5rqmIMAv+4O592qt7ZeEKBylqkANGwllVseFviBme5hU4cmN+OmAmNE4Vv/i1zu2iA==", + "version": "16.7.16", + "resolved": "https://registry.npmjs.org/fumadocs-core/-/fumadocs-core-16.7.16.tgz", + "integrity": "sha512-OXZMJPS/HVAfCw8/VEgsOEQNWUXq7+U2v1A/DbKmI0Vbb08uPCUpbIqVSj4kmGr46L+Pa/PZgG596Z7iPhlbCg==", "license": "MIT", "dependencies": { "@orama/orama": "^3.1.18", - "@shikijs/rehype": "^4.0.2", "@shikijs/transformers": "^4.0.2", "estree-util-value-to-estree": "^3.5.0", "github-slugger": "^2.0.0", @@ -5822,9 +5804,9 @@ } }, "node_modules/fumadocs-mdx": { - "version": "14.2.13", - "resolved": "https://registry.npmjs.org/fumadocs-mdx/-/fumadocs-mdx-14.2.13.tgz", - "integrity": "sha512-DPUSEaH8xj0oD0z4rH3DxE9NLleu1wFb79HiMYFt9c5vBRYao3r+4znYWvhSkga8+Dg0/5R9Ywrin6Yk+NYweg==", + "version": "14.2.14", + "resolved": "https://registry.npmjs.org/fumadocs-mdx/-/fumadocs-mdx-14.2.14.tgz", + "integrity": "sha512-2uYrIBmAJaDXY+m+cvEQHWi6Kv43qoRhBNKJPo49vKXCzXCd77mCOTC4qSDwxd8aGnlszB+bTKVkkeVgvukCaA==", "license": "MIT", "dependencies": { "@mdx-js/mdx": "^3.1.1", @@ -5849,20 +5831,16 @@ "fumadocs-mdx": "dist/bin.js" }, "peerDependencies": { - "@fumadocs/mdx-remote": "^1.4.0", "@types/mdast": "*", "@types/mdx": "*", "@types/react": "*", "fumadocs-core": "^15.0.0 || ^16.0.0", "mdast-util-directive": "*", "next": "^15.3.0 || ^16.0.0", - "react": "*", + "react": "^19.2.0", "vite": "6.x.x || 7.x.x || 8.x.x" }, "peerDependenciesMeta": { - "@fumadocs/mdx-remote": { - "optional": true - }, "@types/mdast": { "optional": true }, @@ -5887,9 +5865,9 @@ } }, "node_modules/fumadocs-typescript": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/fumadocs-typescript/-/fumadocs-typescript-5.2.4.tgz", - "integrity": "sha512-R9iCRTgKo6jUHemVnO52kA1uFIBK3lZwT3gQRseIsluMKWeI1k37rA1LCF99j0/yP64XXGuHk+vfDzAn35Dl4A==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/fumadocs-typescript/-/fumadocs-typescript-5.2.6.tgz", + "integrity": "sha512-kmidpjbjrzlSbppLTW1m4SF87R3CMu3WhvD1VW8/w5A71uC2nARvfMh2o7bNJRLzjJyq/RO9v8NHYHU/cw+QUQ==", "license": "MIT", "dependencies": { "estree-util-value-to-estree": "^3.5.0", @@ -5897,7 +5875,8 @@ "hast-util-to-jsx-runtime": "^2.3.6", "remark": "^15.0.1", "remark-rehype": "^11.1.2", - "ts-morph": "^27.0.2", + "shiki": "^4.0.2", + "ts-morph": "^28.0.0", "unified": "^11.0.5", "unist-util-visit": "^5.1.0" }, @@ -5909,9 +5888,7 @@ "fumadocs-core": "^16.7.0", "fumadocs-ui": "^16.7.0", "react": "^19.2.0", - "react-dom": "^19.2.0", - "shiki": "*", - "typescript": "*" + "react-dom": "^19.2.0" }, "peerDependenciesMeta": { "@types/estree": { @@ -5928,16 +5905,13 @@ }, "fumadocs-ui": { "optional": true - }, - "shiki": { - "optional": true } } }, "node_modules/fumadocs-ui": { - "version": "16.7.14", - "resolved": "https://registry.npmjs.org/fumadocs-ui/-/fumadocs-ui-16.7.14.tgz", - "integrity": "sha512-kJ8dEefn0jweEc/o540XSjFtQIFBZm0SBlG0Gbd5lBx3IMREA0mhiaP13VQAOpzqHtdLYx78FJWnUD2gFmgGXA==", + "version": "16.7.16", + "resolved": "https://registry.npmjs.org/fumadocs-ui/-/fumadocs-ui-16.7.16.tgz", + "integrity": "sha512-NFWH8GuVV0O6OQnGb0TCS6jsdgyB7/5phQm8YjtIkyjkxAkERwA76N5RYCpS27p41NdtWdQw4eFIEve1Aq9Siw==", "license": "MIT", "dependencies": { "@fumadocs/tailwind": "0.0.5", @@ -5958,6 +5932,7 @@ "react-remove-scroll": "^2.7.2", "rehype-raw": "^7.0.0", "scroll-into-view-if-needed": "^3.1.0", + "shiki": "^4.0.2", "tailwind-merge": "^3.5.0", "unist-util-visit": "^5.1.0" }, @@ -5965,11 +5940,10 @@ "@takumi-rs/image-response": "*", "@types/mdx": "*", "@types/react": "*", - "fumadocs-core": "16.7.14", + "fumadocs-core": "16.7.16", "next": "16.x.x", "react": "^19.2.0", - "react-dom": "^19.2.0", - "shiki": "*" + "react-dom": "^19.2.0" }, "peerDependenciesMeta": { "@takumi-rs/image-response": { @@ -5983,9 +5957,6 @@ }, "next": { "optional": true - }, - "shiki": { - "optional": true } } }, @@ -6437,19 +6408,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/hast-util-to-string": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz", - "integrity": "sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==", - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/hast-util-whitespace": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", @@ -9147,9 +9105,9 @@ } }, "node_modules/postcss": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.9.tgz", - "integrity": "sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw==", + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz", + "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==", "dev": true, "funding": [ { @@ -10346,12 +10304,12 @@ } }, "node_modules/ts-morph": { - "version": "27.0.2", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-27.0.2.tgz", - "integrity": "sha512-fhUhgeljcrdZ+9DZND1De1029PrE+cMkIP7ooqkLRTrRLTqcki2AstsyJm0vRNbTbVCNJ0idGlbBrfqc7/nA8w==", + "version": "28.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-28.0.0.tgz", + "integrity": "sha512-Wp3tnZ2bzwxyTZMtgWVzXDfm7lB1Drz+y9DmmYH/L702PQhPyVrp3pkou3yIz4qjS14GY9kcpmLiOOMvl8oG1g==", "license": "MIT", "dependencies": { - "@ts-morph/common": "~0.28.1", + "@ts-morph/common": "~0.29.0", "code-block-writer": "^13.0.3" } }, @@ -10469,6 +10427,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", + "dev": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index be6e163..ebaea65 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "lint": "eslint" }, "dependencies": { - "fumadocs-core": "16.7.14", - "fumadocs-mdx": "14.2.13", - "fumadocs-typescript": "^5.2.4", - "fumadocs-ui": "16.7.14", + "fumadocs-core": "16.7.16", + "fumadocs-mdx": "14.2.14", + "fumadocs-typescript": "^5.2.6", + "fumadocs-ui": "16.7.16", "lucide-react": "^1.8.0", "next": "16.2.3", "react": "^19.2.5", @@ -29,7 +29,7 @@ "@types/react-dom": "^19.2.2", "eslint": "^10.2.0", "eslint-config-next": "16.2.3", - "postcss": "^8.5.9", + "postcss": "^8.5.10", "tailwindcss": "^4.1.16", "typescript": "^6.0.2" }