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.
Hi, guys
Why did I create this?
I tried to use
rehype-inline-svg
in my project but found that it wasn't compatible with the existing code-base. That's because both my own project andrehype-inline-svg
rely onrehype
, but with different versions, and there are many breaking changes between those two versions.So I choose to upgrade the outdated dependencies of
rehype-inline-svg
.What did I do?
rehype-parse
,vfile
,svgo
, etc.rehype
is ESM only now).chai
,mocha
,ts-node
, etc.svgo
. I know it's dangerous so I checked almost every changes manually.How did I test?
Other things.
eslint
is crashed currently, due to the latest typescript breaking change(see typescript-eslint/typescript-eslint#7155). I'll try to fix it later.nyc
command is not working neither, the output is empty, which is weird... and I'm still on it.** Please review this PR, thanks. ** 😄