Skip to content

Conversation

@quantizor
Copy link
Owner

@quantizor quantizor commented Feb 4, 2026

Replace 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 public API changes.

Replace 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.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 52a7c24

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
markdown-to-jsx Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security
Copy link

socket-security bot commented Feb 4, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmarkdown-to-jsx@​9.5.7 ⏵ 9.6.196 -210010095 -1100

View full report

quantizor and others added 2 commits February 4, 2026 01:57
Eliminate overlapping quantifiers that cause quadratic backtracking
on adversarial input. Add agent rules to prevent future regressions.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@quantizor quantizor merged commit ab93d7b into main Feb 4, 2026
7 checks passed
@quantizor quantizor deleted the smaller-parser branch February 4, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants