Skip to content

Commit d7b847a

Browse files
committed
chore: update dependencies and fix rehype import
1 parent 4999e38 commit d7b847a

3 files changed

Lines changed: 1529 additions & 1467 deletions

File tree

helpers/mdc-parser.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { parseMarkdown } from '@nuxtjs/mdc/runtime'
2-
import rehypeHighlight from '@nuxtjs/mdc/runtime/highlighter/rehype-nuxt'
32
import { createOnigurumaEngine } from 'shiki/engine/oniguruma'
43
import { createJavaScriptRegexEngine } from 'shiki'
54

@@ -265,6 +264,7 @@ const highlighter = createShikiHighlighter({
265264
})
266265

267266
export async function parseMdc(content) {
267+
const { default: rehypeHighlight } = await import('@nuxtjs/mdc/runtime/highlighter/rehype-nuxt')
268268
return await parseMarkdown(content, {
269269
rehype: {
270270
plugins: {

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,34 @@
1818
"update-stats": "npx tsx scripts/update-stats.ts"
1919
},
2020
"dependencies": {
21-
"@iconify-json/lucide": "^1.2.83",
22-
"@iconify-json/simple-icons": "^1.2.65",
23-
"@nuxt/content": "^3.10.0",
21+
"@iconify-json/lucide": "^1.2.86",
22+
"@iconify-json/simple-icons": "^1.2.67",
23+
"@nuxt/content": "^3.11.0",
2424
"@nuxt/image": "^2.0.0",
2525
"@nuxt/scripts": "^0.13.2",
26-
"@nuxt/ui": "^4.3.0",
26+
"@nuxt/ui": "^4.4.0",
2727
"@nuxtjs/google-fonts": "^3.2.0",
2828
"@nuxtjs/html-validator": "^2.1.0",
29-
"@nuxtjs/mdc": "^0.18.4",
30-
"@unhead/vue": "^2.1.1",
29+
"@nuxtjs/mdc": "^0.20.0",
30+
"@unhead/vue": "^2.1.2",
3131
"@vue-flow/background": "^1.3.2",
3232
"@vue-flow/core": "^1.48.1",
3333
"@vue-flow/node-toolbar": "^1.1.1",
34-
"@vue/compiler-sfc": "^3.5.26",
34+
"@vue/compiler-sfc": "^3.5.27",
3535
"@vueuse/components": "^14.1.0",
3636
"@vueuse/core": "^14.1.0",
3737
"@vueuse/nuxt": "^14.1.0",
38-
"better-sqlite3": "^12.5.0",
39-
"motion-v": "^1.7.6",
38+
"better-sqlite3": "^12.6.2",
39+
"motion-v": "^1.9.0",
4040
"nuxt": "^4.2.2",
4141
"nuxt-og-image": "^5.1.13",
4242
"remark-gfm": "^4.0.1",
4343
"scule": "^1.3.0",
4444
"sitemap": "^9.0.0",
4545
"tailwindcss": "^4.1.18",
4646
"typescript": "^5.9.3",
47-
"ufo": "^1.6.2",
48-
"vue": "^3.5.26",
47+
"ufo": "^1.6.3",
48+
"vue": "^3.5.27",
4949
"vue-router": "^4.6.4",
5050
"zod": "^4.3.5"
5151
},
@@ -55,14 +55,14 @@
5555
"@prettier/plugin-oxc": "^0.1.3",
5656
"@shikijs/transformers": "^3.21.0",
5757
"@vue/test-utils": "^2.4.6",
58-
"happy-dom": "^20.1.0",
58+
"happy-dom": "^20.3.4",
5959
"husky": "^9.1.7",
6060
"nuxt-content-twoslash": "^0.1.2",
61-
"oxlint": "^1.38.0",
62-
"prettier": "^3.7.4",
61+
"oxlint": "^1.41.0",
62+
"prettier": "^3.8.0",
6363
"shiki": "^3.21.0",
6464
"twoslash": "^0.3.6",
65-
"vitest": "^4.0.16"
65+
"vitest": "^4.0.17"
6666
},
6767
"pnpm": {
6868
"onlyBuiltDependencies": [

0 commit comments

Comments
 (0)