chore(deps): update patch npm dependencies#12717
Conversation
✅ Deploy Preview for rspack canceled.
|
📦 Binary Size-limit
🙈 Size remains the same at 47.97MB |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
Merging this PR will not alter performance
Comparing Footnotes
|
5439cab to
1546bca
Compare
1546bca to
87d9606
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
* chore(deps): update patch npm dependencies * fix: downgrade MF --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: neverland <[email protected]>
* chore(deps): update patch npm dependencies * fix: downgrade MF --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: neverland <[email protected]>
* feat: treeshake share * fix(module-federation): correct shared module name and optimize tree shaking fix incorrect module name in shared config and test cases change async process_module to sync using block_on for better performance update shared exports optimization to handle side effects properly * feat(module-federation): add treeshakeSharedExcludedPlugins option * chore: add watchRun * fix(shared-modules): handle undefined moduleToHandlerMapping and prevent tree-shaking Add fallback for undefined moduleToHandlerMapping in shared container entry Include additional plugins in filter list and prevent tree-shaking of shared modules by adding console logs when collectShared is true * test(container-1-5): add ui-lib package for treeshake shared infer strategy * fix(shared_used_exports): handle scoped package names in shared exports refactor(node_binding): remove redundant exports in wasi files * chore: update critical file * feat(module-federation): add target and plugins to build info for treeshaking Add target and plugins fields to build info when treeshaking is enabled in module federation. Also rename 'reshake' to 'reShake' for consistency across the codebase. These changes support better treeshaking analysis and configuration. * docs: update field * feat: add treeshakeSharedPlugins * fix: lint * fix: lockfile * fix: lint * chore: rename config * chore(deps): update patch npm dependencies (#12647) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update patch crates (#12646) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: run ci/eco-ci/eco-benchmark on v2 branch (#12650) * fix: report error when access module_graph in loader (#12639) * fix: report error when access module_graph in loader * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * feat(rstest): add preserveNewUrl option to keep new URL untouched (#12632) * feat(rstest): add preserveNewUrl option to keep new URL untouched * fix: format Rust code with rustfmt * fix(lint): enable @typescript-eslint/await-thenable rule (#12644) * fix(lint): enable await-thenable rule and fix violation - Enable @typescript-eslint/await-thenable rule (off -> error) - Remove unnecessary await on syncTraceEvent() which returns void * Update rslint.json --------- Co-authored-by: neverland <[email protected]> * refactor: afterCodeGeneration hook use read only compilation ref (#12655) * fix(lint): enable @typescript-eslint/require-await rule (#12664) fix(lint): enable require-await rule and fix violations - Enable @typescript-eslint/require-await rule (off -> error) - FileSystem.ts: Add missing return for Promise, remove async - SubresourceIntegrityPlugin.ts: Use Promise.resolve() instead of async - browser/service.ts: Remove async from function that only throws - loader-runner/worker.ts: Remove async from .then/.catch callbacks * chore(deps): update github-actions (#12645) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(lint): enable @typescript-eslint/return-await rule (#12665) * refactor: make compilation readonly for runtimeModule hook (#12670) * feat: add constructor name for JS runtime modules (#12673) feat: add constructor name for JS runtime module * fix: incremental rebuild no code generation entry panic (#12643) * fix: incremental rebuild bug * add test case * fix: ci * refactor: unify artifact clear logic (#12677) * refactor: use DerfOpt's take/replace assist artifact mutation (#12659) * refactor: remove Default trait of DerefOption * refactor: `replace` is better than `insert` * feat: rspack_cacheable context expose project root (#12685) * feat: rspack_cacheable context expose project root * fix: comment * feat: rspack_cacheable add portable path & portable string (#12688) feat: add portable path & portable string * fix: inlined export invalid syntax comment (#12681) * feat: add `requireAlias` option to control require variable renaming (#12686) * feat: add requireRename option to control require variable renaming * Update packages/rspack/src/config/types.ts Co-authored-by: Copilot <[email protected]> * Update tests/rspack-test/configCases/parsing/renaming-disabled/index.js Co-authored-by: Copilot <[email protected]> * rename * rename --------- Co-authored-by: Copilot <[email protected]> * fix(test): flaky test due to calling toJSON while hot updating (#12694) * feat: impl `sync_trace` for `logger` tracing layer (#12687) * Sync node events for logger tracing * Align sync_trace * Remove unless info * Cargo shear * Use one writer * Filter JavaScript * Handle timestamps * Clippy * Clippy * feat: add warning when requireAlias is disabled (#12700) * refactor: rename tree shaking field name * revert: "feat: add warning when requireAlias is disabled" (#12702) Revert "feat: add warning when requireAlias is disabled (#12700)" This reverts commit eb5635c. * feat: use rspack-vue-loader to support Vue hot update (#12698) feat: use rspack-vue-loader to support hotupdate * chore: update artificat * chore: replace async processAssets hooks with sync versions * fix: `environments.importMetaDirnameAndFilename` not work (#12708) fix: `environments.importMetaDirnameAndFilename` should work * fix: dynamic entry panic when disable build cache (#12696) * fix(context-replacement): only apply changes when regex matches (#12657) fix(ContextReplacementPlugin): only apply changes when regex matches The plugin was applying transformations (recursive, regExp, critical) to all require.context() calls regardless of whether the configured regex pattern matched the request. This fix ensures all transformations only apply when the regex successfully matches. Closes #12656 * docs: add missed doc * fix: remove ueless dep * chore: update lock file * fix(mf): handle missing chunk gracefully and improve expose chunk name logic (#12709) * fix(type): runtimeModule.source (#12713) * fix(type): runtimeModule.source * fix: lint * fix: lint * chore: release 1.7.2 (#12710) Release 0.7.2 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Generated by cargo-workspaces * chore(deps): update dependency @rspack/plugin-react-refresh to ^1.6.0 (#12718) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @shikijs/transformers to ^3.21.0 (#12719) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update patch crates (#12716) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * test: skip recover-from-error/delete-file in watchCases (#12726) * feat: support portable cache and disable by default (#12680) * feat: support portable cache * feat: disable portable cache by default * fix: rename reShake to secondaryTreeShaking * chore: update artificat * test: use Rstest projects to define tests (#12729) * test: use rstest projects * test: update * test: output.module * test: update * chore(deps): update patch npm dependencies (#12717) * chore(deps): update patch npm dependencies * fix: downgrade MF --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: neverland <[email protected]> * refactor: move pass into separate folder and driven by run_passes (#12735) * chore: add rspack_passes.md * refactor: move pass into separate folder and drive by run_passes * chore: use function * refactor: move more into run_passes * chore: fix stats logging * chore: fix stats.logging * refactor(lazy-compilation): use POST request to transfer ids of active modules (#12678) * refactor: use post transfer module ids * test: skip lazy active method * test: add lazy post request help * test: add large module id container * test: add case introduction * refactor: remove about controller * test: we are using post method now * refactor: rename * fix body parser (vibe-kanban 09797829) 1. 如果其他中间件一个解析好了body,并挂载在req.body 上的花就直直接使用 req.body 2. packages/rspack/src/builtin-plugin/lazy-compilation/middleware.ts body 解析的时候不能简单的使用 string 的拼接,需要考虑多字节符号的截断的问题。 * refactor read module ids from body (vibe-kanban a7874ac1) packages/rspack/src/builtin-plugin/lazy-compilation/middleware.ts 当req.body 非空时,直接假body中时一组 module ids,如果没有 body 自行拼接完,之后也 parse json string,返回 module ids 数组 * refactor: downgrading to lower web api * test: ✅ add lazy compilation active cors cases * chore: update test case doc * fix: we all need cors header no matter is simple request or not * refactor:delete cors header setting * refactor: set cors header should set by user * Update packages/rspack/hot/lazy-compilation-web.js Co-authored-by: neverland <[email protected]> * test: fix case name * chore: api-extract update * fix: memory leak of requst listeners * refactor: remove event source handle logic * fix: jsdom XMLHTTPRequets need strict cors header * refactor: node lazy compilation client use post too --------- Co-authored-by: neverland <[email protected]> * refactor: move logger into pass and reorg some passes (#12742) * refactor: move logger into pass and reorg some passes * chore: fix bench check * chore(lint): bump @rslint/core to 0.2.0 and enable default-param-last rule (#12746) * chore(deps): bump @rslint/core to 0.2.0 and update rslint.json * fix(lint): enable @typescript-eslint/default-param-last rule * test: support filter test by absolute path (#12749) * test: support filter test by absolute path * Update packages/rspack-test-tools/src/helper/directory.ts Co-authored-by: Copilot <[email protected]> * Update packages/rspack-test-tools/src/helper/directory.ts Co-authored-by: Copilot <[email protected]> * Update tests/rspack-test/Cache.test.js Co-authored-by: Copilot <[email protected]> * fix: lint * docs: update -t --------- Co-authored-by: Copilot <[email protected]> * refactor: use newtype for alias artifact (#12754) * chore: bump `swc_core` from 54 to 55 (#12758) * chore: bump swc * chore: bump swc exp * chore: cargo codegen * refactor: move all artifacts together (#12755) * chore: limit threads for codspeed benchmark (#12763) Limit threads * chore(deps): update dependency cspell to ^9.6.0 (#12768) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency emnapi to ^1.8.1 (#12769) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency memfs to v4.53.0 (#12770) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * refactor: use compilation readonly ref in codegen optimization hook (#12743) * refactor: use compilation readonly ref in code generation optimization hook * chore: debug bench ci * fix: 🐛 use offical codseed action * Debug ci * Remove debugger * Limit tokio and rayon worker threads * Revert "Limit tokio and rayon worker threads" This reverts commit 10fe6ac. * Update crates/rspack_plugin_progress/src/lib.rs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: CPunisher <[email protected]> Co-authored-by: Copilot <[email protected]> * fix(browser): update worker format and add e2e test (#12747) * fix: remove lazyCompilationMiddleware * chore: change worker entry to iife * chore: add e2e test * chore: fix format * fix: add await for e2e * fix: remove unused imports * chore: fix ci yml * chore: fix ci WASM env injection * fix: update shared global name * perf: reuse container plugin * chore: fix merge conflict * chore: use official version and update docs * chore: fix cargo clippy * chore: bump * workflow: revert ci * ci: add CodSpeed performance analysis action Add GitHub action for continuous benchmarking with CodSpeed. The action supports multiple measurement modes and instruments, including MongoDB instrumentation and caching for faster runs. Includes validation for required inputs and custom runner installation. * chore: revert cacahe implementation * chore: use get_referenced_exports * chore: revert esm depnedency change * chore: revert esm_import_specifier_dependency change * refactor(mf): simplify runtime module implementations --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: harpsealjs <[email protected]> Co-authored-by: hardfist <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Max <[email protected]> Co-authored-by: Tu Shaokun <[email protected]> Co-authored-by: neverland <[email protected]> Co-authored-by: pshu <[email protected]> Co-authored-by: jinrui <[email protected]> Co-authored-by: Gengkun <[email protected]> Co-authored-by: CPunisher <[email protected]> Co-authored-by: 9aoy <[email protected]> Co-authored-by: neverland <[email protected]> Co-authored-by: Cong-Cong Pan <[email protected]> Co-authored-by: Agney Menon <[email protected]> Co-authored-by: Fy <[email protected]> Co-authored-by: senze.fan <[email protected]>
This PR contains the following updates:
^0.40.4→^0.40.5^7.28.5→^7.28.67.28.5→7.28.67.28.5→7.28.67.28.5→7.28.67.28.5→7.28.60.22.0→0.22.10.19.1→0.19.22.0.0-rc.4→2.0.0-rc.52.0.0-rc.4→2.0.0-rc.52.0.0-rc.4→2.0.0-rc.52.0.0-rc.4→2.0.0-rc.52.0.0-rc.4→2.0.0-rc.52.0.0-rc.4→2.0.0-rc.51.12.2→1.12.3^20.19.27→^20.19.29^19.2.7→^19.2.8^0.7.1→^0.7.2^9.5.0→^9.5.7Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ast-grep/ast-grep (@ast-grep/napi)
v0.40.5Compare Source
#2403#24324fca101622da371a021bababel/babel (@babel/core)
v7.28.6Compare Source
babel/babel (@babel/generator)
v7.28.6Compare Source
babel/babel (@babel/parser)
v7.28.6Compare Source
babel/babel (@babel/traverse)
v7.28.6Compare Source
babel/babel (@babel/types)
v7.28.6Compare Source
module-federation/core (@module-federation/runtime-tools)
v0.22.1Compare Source
Patch Changes
web-infra-dev/rslib (@rslib/core)
v0.19.2Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rslib@v0.19.1...v0.19.2
web-infra-dev/rspress (@rspress/core)
v2.0.0-rc.5Compare Source
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rspress@v2.0.0-rc.4...v2.0.0-rc.5
rstackjs/rstack-doc-ui (@rstack-dev/doc-ui)
v1.12.3Compare Source
What's Changed
Full Changelog: rstackjs/rstack-doc-ui@v1.12.2...v1.12.3
pillarjs/iconv-lite (iconv-lite)
v0.7.2Compare Source
🐞 Bug fixes
Correction of CommonJS exports in TypeScript definitions - by @plbstl in #366
Fixed the TypeScript definitions to correctly represent the CommonJS exports of the library.
This resolves issues where consumers using TypeScript would encounter errors due to incorrect
type definitions that did not align with the actual module exports.
quantizor/markdown-to-jsx (markdown-to-jsx)
v9.5.7Compare Source
Patch Changes
4252da4: Fixed inconsistent spacing between list item nodes when continuation lines have indentation equal to the nested list marker. Previously, text nodes in list items were being concatenated without newlines when continuation lines matched the list's base indentation, causing missing line breaks in the rendered output.v9.5.6Compare Source
Patch Changes
13bdaf7: Fixed HTML tags with attributes spanning multiple lines being incorrectly parsed.Previously, HTML tags with attributes on separate lines (like
<dl-custom\n data-variant='horizontalTable'\n>) would have their attributes incorrectly parsed, sometimes causing duplicate tags or missing attribute values. This fix ensures that newlines between HTML attributes are properly recognized as whitespace separators.修复了属性跨多行的 HTML 标签解析不正确的问题。
之前,属性位于单独行上的 HTML 标签(如
<dl-custom\n data-variant='horizontalTable'\n>)的属性解析不正确,有时会导致重复的标签或缺失属性值。此修复确保 HTML 属性之间的换行符被正确识别为空白分隔符。कई पंक्तियों में फैले एट्रिब्यूट वाले HTML टैग्स के गलत पार्सिंग को ठीक किया।
पहले, अलग-अलग पंक्तियों पर एट्रिब्यूट वाले HTML टैग्स (जैसे
<dl-custom\n data-variant='horizontalTable'\n>) के एट्रिब्यूट गलत तरीके से पार्स होते थे, जिससे कभी-कभी डुप्लिकेट टैग्स या गायब एट्रिब्यूट वैल्यू होते थे। यह फिक्स सुनिश्चित करता है कि HTML एट्रिब्यूट के बीच न्यूलाइन को व्हाइटस्पेस सेपरेटर के रूप में सही ढंग से पहचाना जाता है।13bdaf7: Thetextfield in HTML AST nodes now contains cleaned inner content without opening/closing tags. UserawTextfor full raw HTML. This affects customrenderRuleimplementations that rely on thetextfield.HTML AST 节点中的
text字段现在包含不带开/闭标签的清理后内容。使用rawText获取完整原始 HTML。这会影响依赖text字段的自定义renderRule实现。HTML AST नोड्स में
textफ़ील्ड अब ओपनिंग/क्लोज़िंग टैग्स के बिना साफ़ इनर कंटेंट रखता है। पूर्ण raw HTML के लिएrawTextका उपयोग करें। यह उन कस्टमrenderRuleकार्यान्वयनों को प्रभावित करता है जोtextफ़ील्ड पर निर्भर हैं।v9.5.5Compare Source
Patch Changes
76b7f12: Fix multi-line HTML tag attribute parsing (#781)HTML tags with attributes spanning multiple lines were not having their attributes correctly parsed into the AST. This caused custom elements with multi-line
data-*attributes to have emptyattrsobjects, and the React compiler would then duplicate the opening tag when rendering.This fix ensures:
childrenarray instead of re-parsingrawTextwhen attributes are already parsed修复多行 HTML 标签属性解析问题(#781)
具有跨多行属性的 HTML 标签没有正确将其属性解析到 AST 中。这导致具有多行
data-*属性的自定义元素具有空的attrs对象,然后 React 编译器在渲染时会重复开始标签。此修复确保:
children数组而不是重新解析rawTextबहु-पंक्ति HTML टैग विशेषता पार्सिंग ठीक करें (#781)
कई पंक्तियों में फैले विशेषताओं वाले HTML टैग अपनी विशेषताओं को AST में सही ढंग से पार्स नहीं कर रहे थे। इससे बहु-पंक्ति
data-*विशेषताओं वाले कस्टम तत्वों में खालीattrsऑब्जेक्ट थे, और फिर React कंपाइलर रेंडरिंग करते समय आरंभिक टैग को दोहरा देता था।यह सुधार सुनिश्चित करता है:
rawTextको दोबारा पार्स करने के बजाय पार्स किए गएchildrenसरणी का उपयोग करता हैv9.5.4Compare Source
Patch Changes
7f724a6: Fix HTML block parsing for sibling elements like<dt>/<dd>without blank lines between them.Type 6 HTML blocks (such as
<dl>,<dt>,<dd>,<table>,<tr>,<td>) were incorrectly parsed when sibling elements appeared without blank lines between them—the first element would consume all subsequent siblings as its content instead of treating them as separate elements.This fix adds nesting-aware closing tag detection that properly handles:
<div><div></div></div>)<dt></dt><dd></dd>)修复了没有空行分隔的兄弟 HTML 元素(如
<dt>/<dd>)的块解析问题。类型 6 HTML 块(如
<dl>、<dt>、<dd>、<table>、<tr>、<td>)在兄弟元素之间没有空行时解析错误——第一个元素会将所有后续兄弟元素作为其内容,而不是将它们视为单独的元素。此修复添加了具有嵌套感知的关闭标签检测,正确处理:
<div><div></div></div>)<dt></dt><dd></dd>)रिक्त पंक्तियों के बिना भाई HTML तत्वों (जैसे
<dt>/<dd>) के लिए HTML ब्लॉक पार्सिंग को ठीक किया।टाइप 6 HTML ब्लॉक (जैसे
<dl>,<dt>,<dd>,<table>,<tr>,<td>) गलत तरीके से पार्स हो रहे थे जब भाई तत्व बिना रिक्त पंक्तियों के दिखाई देते थे—पहला तत्व सभी अनुवर्ती भाई तत्वों को अपनी सामग्री के रूप में शामिल कर लेता था, उन्हें अलग तत्वों के रूप में मानने के बजाय।यह सुधार नेस्टिंग-जागरूक क्लोजिंग टैग पहचान जोड़ता है जो सही ढंग से संभालता है:
<div><div></div></div>)<dt></dt><dd></dd>)58010ce: Fix duplicate opening tags for HTML elements with multi-line attributes (#781)HTML tags with attributes spanning multiple lines (like custom elements with
data-*attributes on separate lines) no longer produce duplicate opening tags in the output. This restores the expected behavior for custom HTML elements used with component overrides.修复多行属性的 HTML 元素产生重复开始标签的问题(#781)
具有跨多行属性的 HTML 标签(例如在不同行上具有
data-*属性的自定义元素)不再在输出中产生重复的开始标签。这恢复了与组件覆盖一起使用的自定义 HTML 元素的预期行为。बहु-पंक्ति विशेषताओं वाले HTML तत्वों के लिए दोहरे आरंभिक टैग ठीक करें (#781)
कई पंक्तियों में फैली विशेषताओं वाले HTML टैग (जैसे अलग-अलग पंक्तियों पर
data-*विशेषताओं वाले कस्टम तत्व) अब आउटपुट में दोहरे आरंभिक टैग उत्पन्न नहीं करते। यह कंपोनेंट ओवरराइड के साथ उपयोग किए जाने वाले कस्टम HTML तत्वों के अपेक्षित व्यवहार को पुनर्स्थापित करता है।3e25913: Fix fenced code blocks consuming nested code block openings as content.When a fenced code block with a language (e.g.,
```markdown) encountered another code block opening with a language (e.g.,```python) inside it, the inner opening was incorrectly treated as content instead of being recognized as a new block. Now, fence lines with a language immediately following (no space between fence and language) are recognized as new block openings that implicitly close the previous block.This matches behavior of other markdown renderers like GitHub and VSCode. Lines like
``` aaa(with space before info string) remain treated as content per CommonMark spec.修复了围栏代码块将嵌套代码块开头作为内容消费的问题。
当带有语言的围栏代码块(例如
```markdown)内部遇到另一个带语言的代码块开头(例如```python)时,内部开头被错误地视为内容,而不是被识别为新块。现在,语言紧随其后(围栏和语言之间没有空格)的围栏行被识别为隐式关闭前一个块的新块开头。这与 GitHub 和 VSCode 等其他 markdown 渲染器的行为一致。按照 CommonMark 规范,像
``` aaa(信息字符串前有空格)这样的行仍被视为内容。फेंस्ड कोड ब्लॉक्स द्वारा नेस्टेड कोड ब्लॉक ओपनिंग को सामग्री के रूप में उपभोग करने की समस्या को ठीक किया।
जब भाषा वाला फेंस्ड कोड ब्लॉक (जैसे
```markdown) के अंदर भाषा वाला दूसरा कोड ब्लॉक ओपनिंग (जैसे```python) आता था, तो आंतरिक ओपनिंग को नए ब्लॉक के रूप में पहचानने के बजाय गलती से सामग्री के रूप में माना जाता था। अब, भाषा तुरंत बाद आने वाली (फेंस और भाषा के बीच कोई स्पेस नहीं) फेंस लाइनें नए ब्लॉक ओपनिंग के रूप में पहचानी जाती हैं जो पिछले ब्लॉक को निहित रूप से बंद करती हैं।यह GitHub और VSCode जैसे अन्य markdown रेंडरर के व्यवहार से मेल खाता है। CommonMark स्पेक के अनुसार
``` aaa(इन्फो स्ट्रिंग से पहले स्पेस) जैसी लाइनें अभी भी सामग्री के रूप में मानी जाती हैं।v9.5.3Compare Source
Patch Changes
8528325: Add CommonMark-compliant text normalization for null bytes and BOMPer CommonMark security specification, null bytes (U+0000) are now replaced with the replacement character (U+FFFD) instead of passing through unchanged. Additionally, the Byte Order Mark (U+FEFF) is now stripped when it appears at the start of a document, as specified in the CommonMark spec.
These changes improve spec compliance and security. Most documents are unaffected due to fast-path optimization that skips processing when no special characters are present.
v9.5.2Compare Source
Patch Changes
282affe: Fix lists and other markdown structures not rendering correctly when input has CRLF line endings.282affe: Fix paragraph after nested list being incorrectly absorbed into the nested list item when followed by a blank line.v9.5.1Compare Source
Patch Changes
fa21868: Add Chinese (Mandarin) JSDoc documentation to all public APIs. All exported functions, types, interfaces, and components now include bilingual documentation using the@lang zhtag for Simplified Chinese translations, improving developer experience for Chinese-speaking users.fa21868: Add Hindi (हिन्दी) language support for internationalization. Includes full translations of documentation (README, markdown spec, GFM spec, interactive demo template), UI strings, and JSDoc translations for all public APIs using the@lang hitag. Hindi is now the third supported language after English and Mandarin Chinese, following global speaker rankings (Ethnologue 2025).897c4c2: Automatic browser bundle optimization via conditional exports. Browser builds now automatically use DOM-based entity decoding (textarea.innerHTML) instead of shipping the full ~11KB entity lookup table, reducing gzipped bundle size by ~11KB.This optimization is automatic for bundlers that support the
importsfield withbrowsercondition (Webpack 5+, Vite, esbuild, Rollup, Parcel). No configuration required.Server-side/Node.js builds retain the full O(1) entity lookup table for maximum performance.
This feature uses the
importsfield in package.json. All modern bundlers support this field (Webpack 5+, Vite, esbuild, Rollup, Parcel).Configuration
📅 Schedule: Branch creation - "before 8am on wednesday" in timezone Asia/Shanghai, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.