@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
0.23.4 is the newest release of 0.17.x.
In short
2 new14 fixed5 internal
Security
2 advisories affect 0.17.0; 0.22.1 fixes them
- High@nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configurationGHSA-mxm6-v9r6-r94c · 16 Sep 2026Fixed in 0.22.1
- HighNuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filteringGHSA-cj6r-rrr9-fg82 · 20 Jul 2025Fixed in 0.17.2
Release note
Highlights
Introduce MDCCached component, an efficient makdown parser and renderer for streaming texts.
Note
Markdown stringifier adds spaces around inline components. This is due to #371 fix.
Enhancements
Introduce MDCCached component
Fixes
Vue server renderer does not render \r causes hydration issue
Dynamic load parser in MDC component
parser: Simplify filename regex in parseThematicBlock function
MDCRenderer: Re-render when tags are modified
stringify: Force hast-util-to-mdast to treat textComponent nodes as text
shiki: Allow overriding base transformers
md-highlighter: Import bundledLanguagesInfo directly from shiki
Unify class properties
MDCRenderer: Ensure nodes are in right order on re-render
Render button nodes
stringify: Ensure inline components are separated by space
Do not add spacing around binding
Do not add space between components and punctuation
Prevent undefined error
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.