Repository navigation
chore(deps): bump mdast-util-to-markdown to 2.2.2 - #9899
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
[Medium impact] This dependency upgrade appears safe to merge; no actionable issues were found. SummaryUpgrades
Reviews (1) · Last reviewed commit: "chore(deps): bump mdast-util-to-markdown..." · Reviewed by Greptile |
This branch was successfully deployed
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.
Summary
mdast-util-to-markdown2.1.2 → 2.2.2 (direct dependency ofapps/docs). The lockfile still holds a single deduped copy, so this also upgrades the serializer behindremark-stringifyinapps/sim(Markdown export image rewriting) and themdast-util-gfm*/mdast-util-mdx*extensions._(snake_caseinstead ofsnake\_case), attention next to astral characters/emoji, escaping inside autolinks,&in fenced-code info/meta, "escape after unsafe character", html kinds, and a quadratic position-lookup fix. 2.2.0 adds optionalbefore/after/unicodefields toUnsafepatterns, which is additive.apps/docs/package.jsonis part of the docs compile cache's pipeline hash, so the cached.mdoutput regenerates with the new version.Type of Change
Testing
I wrote a scratch harness that imports Sim's real entry points: docs
serializeMarkdownandcompileDocument,apps/sim'screateMarkdownExport(assets passed as buffers), and aremark-stringifyprocessor configured the same way asmarkdown-export.ts. I ran it on 2.1.2 and on 2.2.2 and diffed the outputs._,*next to punctuation, emoji, autolinks/bare URLs,&/entities, code spans, tables, nested/task lists, inline and block HTML, footnotes, existing escapes):\_escapes.&(title="a\&b"); the parsedmetais unchanged.[or a trailing_; the decoded alt/title is unchanged.apps/sim'sunsafeconfig: the text\# not a headingserialized as# not a heading, which turns it into a heading. 2.2.2 keeps the escape, so that case now round-trips.compileDocument: 213 pages changed, with 0 errors.\_escapes.apps/simlib/uploads/server/markdown-export.test.ts: 19/19 pass.bun install --frozen-lockfileis clean. The lockfile diff touches only this package; its two new transitive dependencies were already in the lockfile.Checklist
🤖 Generated with Claude Code