Bump markdown-to-jsx to ^9.7.4#47780
Merged
ZeeshanTamboli merged 1 commit intomasterfrom Feb 16, 2026
Merged
Conversation
19a2d15 to
f85dbfa
Compare
Netlify deploy previewhttps://deploy-preview-47780--material-ui.netlify.app/ Bundle size report
|
ZeeshanTamboli
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.6.1→^9.7.4Release Notes
quantizor/markdown-to-jsx (markdown-to-jsx)
v9.7.4Compare Source
Patch Changes
01b68df: - Fix HTML entity decoding in link titles (e.g.–now correctly decodes to–)<pre>,<script>,<style>, and<textarea>content being incorrectly parsed as markdown instead of rendered verbatim–现在正确解码为–)<pre>、<script>、<style>和<textarea>内容被错误解析为 Markdown 而非原始文本渲染的问题–अब सही ढंग से–में बदलता है)<pre>,<script>,<style>, और<textarea>सामग्री को Markdown के बजाय यथावत् रेंडर करेंv9.7.3Compare Source
Patch Changes
2dca780: Improve HTML compiler performance by ~57%, bringing it to parity with the React compiler.HTML 编译器性能提升约 57%,与 React 编译器持平。
HTML कंपाइलर के प्रदर्शन में ~57% सुधार, React कंपाइलर के बराबर।
v9.7.2Compare Source
Patch Changes
30db3f3: Accept case-insensitive GFM alert blockquote syntax (e.g.,[!Tip],[!tip]) matching GitHub's behavior.接受不区分大小写的 GFM 警告引用块语法(例如
[!Tip]、[!tip]),与 GitHub 的行为保持一致。GFM अलर्ट ब्लॉककोट सिंटैक्स में केस-इनसेंसिटिव मिलान स्वीकार करें (जैसे
[!Tip],[!tip]), GitHub के व्यवहार के अनुरूप।da2eb8c: Moved benchmarking and documentation website dev dependencies out of the library package for cleaner dependency management.将基准测试和文档网站开发依赖项移出库包以实现更清晰的依赖管理。
बेंचमार्किंग और डॉक्यूमेंटेशन वेबसाइट डेव डिपेंडेंसी को साफ डिपेंडेंसी मैनेजमेंट के लिए लाइब्रेरी पैकेज से बाहर ले जाया गया।
v9.7.1Compare Source
Patch Changes
9830b70: Fix entity resolution in CodeSandbox and other bundlers by exposing entities as a public subpath export. Bundlers now resolvemarkdown-to-jsx/entitiesusing thebrowsercondition, ensuring the optimized DOM-based decoder (~300B) is used in browsers instead of the full entity table (~29KB).通过将实体作为公共子路径导出来修复 CodeSandbox 和其他打包工具中的实体解析。打包工具现在使用
browser条件解析markdown-to-jsx/entities,确保浏览器使用优化的基于 DOM 的解码器(约 300B)而不是完整的实体表(约 29KB)。CodeSandbox और अन्य बंडलर में एंटिटी रिज़ॉल्यूशन को ठीक करने के लिए एंटिटी को सार्वजनिक सबपाथ एक्सपोर्ट के रूप में एक्सपोज़ किया गया। बंडलर अब
browserकंडीशन का उपयोग करकेmarkdown-to-jsx/entitiesको रिज़ॉल्व करते हैं, यह सुनिश्चित करते हुए कि ब्राउज़र में पूर्ण एंटिटी टेबल (~29KB) के बजाय ऑप्टिमाइज़्ड DOM-आधारित डिकोडर (~300B) का उपयोग किया जाता है।e537dca: Bypass React.createElement for ~2x faster JSX output by constructing raw React element objects directly. The $$typeof symbol is auto-detected from the installed React version for forward compatibility. Falls back to createElement when a custom createElement option is provided.绕过 React.createElement,通过直接构造原始 React 元素对象实现约 2 倍的 JSX 输出速度提升。$$typeof 符号从已安装的 React 版本自动检测以确保前向兼容性。当提供自定义 createElement 选项时回退到 createElement。
React.createElement को बायपास करके कच्चे React एलिमेंट ऑब्जेक्ट सीधे बनाकर ~2x तेज़ JSX आउटपुट। $$typeof सिंबल आगे की संगतता के लिए स्थापित React संस्करण से स्वतः पहचाना जाता है। कस्टम createElement विकल्प प्रदान करने पर createElement पर वापस आता है।
v9.7.0Compare Source
Minor Changes
ab93d7b: Replaced the rule-based markdown parser with a compact table-driven parser. Parsing is 27-82% faster depending on input size and bundle size is reduced by ~25% (gzip). Improved CommonMark compliance for HTML block handling and streaming mode reliability. No API changes.用紧凑的表驱动解析器替换了基于规则的 markdown 解析器。根据输入大小,解析速度提升 27-82%,包体积减少约 25%(gzip)。改进了 HTML 块处理和流式模式可靠性的 CommonMark 合规性。无 API 更改。
नियम-आधारित markdown पार्सर को कॉम्पैक्ट टेबल-ड्रिवन पार्सर से बदला गया। इनपुट आकार के अनुसार पार्सिंग 27-82% तेज़ है और बंडल आकार ~25% (gzip) कम हुआ। HTML ब्लॉक हैंडलिंग और स्ट्रीमिंग मोड विश्वसनीयता के लिए CommonMark अनुपालन में सुधार। कोई API परिवर्तन नहीं।
Patch Changes
ab93d7b: Fixed attribute casing preservation across all output adapters. The parser no longer modifies attribute names; each adapter handles its own mappings. React/Native convert to JSX props (class->className, XML namespaces via colon-to-camelCase heuristic). Solid usesclassper framework guidance. Vue passes HTML attributes directly.修复了所有输出适配器中的属性大小写保留。解析器不再修改属性名称;每个适配器处理自己的映射。React/Native 转换为 JSX 属性(class->className,XML 命名空间通过冒号转驼峰启发式)。Solid 按框架指南使用
class。Vue 直接传递 HTML 属性。सभी आउटपुट एडेप्टर में एट्रिब्यूट केसिंग संरक्षण ठीक किया गया। पार्सर अब एट्रिब्यूट नामों को संशोधित नहीं करता; प्रत्येक एडेप्टर अपनी मैपिंग संभालता है। React/Native JSX props में बदलता है (class->className, XML नेमस्पेस कोलन-टू-कैमलकेस से)। Solid फ्रेमवर्क दिशानिर्देश के अनुसार
classउपयोग करता है। Vue सीधे HTML एट्रिब्यूट पास करता है।ab93d7b: ImprovedoptimizeForStreaminghandling of incomplete inline syntax. Bold/italic/strikethrough markers, links, images, and nested badge constructs ([](url)) now stream cleanly without flashing raw markdown syntax. Incomplete images are fully suppressed instead of showing alt text.改进了
optimizeForStreaming对不完整内联语法的处理。粗体/斜体/删除线标记、链接、图片和嵌套徽章构造([](url))现在可以流畅地流式传输,不会闪烁原始 markdown 语法。不完整的图片会被完全抑制,而不是显示替代文本。optimizeForStreamingमें अपूर्ण इनलाइन सिंटैक्स की हैंडलिंग में सुधार। बोल्ड/इटैलिक/स्ट्राइकथ्रू मार्कर, लिंक, इमेज, और नेस्टेड बैज कंस्ट्रक्ट ([](url)) अब raw markdown सिंटैक्स की झलक के बिना सुचारू रूप से स्ट्रीम होते हैं। अपूर्ण इमेज alt टेक्स्ट दिखाने के बजाय पूरी तरह से दबा दी जाती हैं।Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 04:59 AM, only on Sunday ( * 0-4 * * 7 ) in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.