-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Upgrade unified to v10.1.2 and remark-parse to 10.0.1 #151276
Conversation
This is get rid of the dependency to trim v0.0.1 present in remark-parse 8.x
Thank you @watson for setting up the PR ❤️ |
Pinging @elastic/kibana-security (Team:Security) |
@patrykkopycinski very good point! I'll make an issue in EUI to have |
In the past, we tried to bump cc @elastic/response-ops-cases |
@cnasikas has it right. Upgrading remark and unified to v10+ is a significant impact on the markdown editor and its downstream plugins. I've investigated this on EUI's side side found it to be an extremely high dev left: If your sole goal is to get rid of |
This is get rid of the dependency to
trim
v0.0.1 present inremark-parse
8.x. We technically already force-upgradetrim
v0.0.1 to v1.0.1 using ourresolutions
field inpackage.json
, but to keep the content of this field to a minimum we're constantly working on upgrading dependencies that mean we in time can remove resolutions from it.unified
version 10.0.0: https://github.com/unifiedjs/unified/releases/tag/10.0.0remark-parse
9.0.0: https://github.com/remarkjs/remark/releases/tag/13.0.0remark-parse
10.0.0: https://github.com/remarkjs/remark/releases/tag/14.0.0Review notes
The main intent of this PR was to upgrade
remark-parse
. However, this upgrade includes some breaking changes and the package is being fed into theunified
package, so I thought it was best to upgradeunified
as well (though I don't know if not upgrading would have been safe sa well). This does create quite a large diff inyarn.lock
, but I think it's always great to have dependencies up-to-date.