Skip to content

BREAKING CHANGE: clean up rules so they can be typed#3087

Merged
UziTech merged 10 commits intomarkedjs:masterfrom
UziTech:rules-types
Nov 29, 2023
Merged

BREAKING CHANGE: clean up rules so they can be typed#3087
UziTech merged 10 commits intomarkedjs:masterfrom
UziTech:rules-types

Conversation

@UziTech
Copy link
Copy Markdown
Member

@UziTech UziTech commented Nov 13, 2023

Marked version: 10.0.0

Clean up rules so they can be easily typed.

This will be a breaking change because the rules object has changed.

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
  • no tests required for this PR.
  • If submitting new feature, it has been documented in the appropriate places.

Committer

In most cases, this should be a different person than the contributor.

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marked-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 4:44am

@UziTech UziTech changed the title fix: clean up rules so they can be typed BREAKING CHANGE: clean up rules so they can be typed Nov 14, 2023
@UziTech UziTech marked this pull request as ready for review November 14, 2023 05:46
@UziTech UziTech merged commit 175fc0c into markedjs:master Nov 29, 2023
github-actions bot pushed a commit that referenced this pull request Nov 29, 2023
# [11.0.0](v10.0.0...v11.0.0) (2023-11-29)

### Bug Fixes

* clean up rules so they can be typed ([#3087](#3087)) ([175fc0c](175fc0c))
* fix marked types ([#3103](#3103)) ([edae309](edae309))

### BREAKING CHANGES

* Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.
@UziTech UziTech deleted the rules-types branch November 29, 2023 07:58
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.

1 participant