-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps)!: update unified ecosystem dependencies #395
Merged
Conversation
This file contains 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
✅ Deploy Preview for doist-typist ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This was referenced Aug 17, 2023
This was referenced Aug 24, 2023
67a1310
to
94a7f0f
Compare
This was referenced Aug 29, 2023
94a7f0f
to
52a95a5
Compare
1 task
This was referenced Sep 25, 2023
1 task
5c38572
to
344dc0c
Compare
This was referenced Jan 11, 2024
344dc0c
to
c545d3e
Compare
c545d3e
to
d47aeab
Compare
1 task
cb4a4a9
to
af97716
Compare
9ae49de
to
39c939a
Compare
Switching this to |
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
1 task
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.
Overview
Unified.js v11 has been released, and as you might know, unified is "a collective of 500+ free and open source packages that work with content as structured data (ASTs)".
This PR will take care of bumping all related peer dependencies to their latest major versions in one fell swoop. This is required because the latest versions have some breaking changes that affect us, and while some dependencies don't seem to cause any issues, it's best if we only use versions that were meant to work with each other.
Here's a list of all dependencies that we are using, and which ones have already been upgraded:
Dependencies
mdast-util-gfm-autolink-literal
mdast-util-gfm-strikethrough
micromark-extension-gfm-autolink-literal
micromark-extension-gfm-strikethrough
react-markdown
rehype-minify-whitespace
rehype-raw
rehype-stringify
rehype
remark-breaks
remark-gfm
remark-rehype
remark
unified
unist-util-is
unist-util-remove
unist-util-visit
PR Checklist
Test plan
Rich-text → Functions → Commands
storyinsertMarkdownContent
buttoncontent
control input, and type whatever Markdown you wantNote
We are only using Unified in the HTML serializer (for now), so changes in this PR do not affect the "Markdown Output" window, only the "Typist Editor" window (that is, Markdown content that needs to be parsed into HTML to be fed into Tiptap).