andi23rosca / solid-markdown

Render Markdown as Solid components
MIT License
106 stars 10 forks source link

Crashing with remark-gfm#4.0.0 #26

Closed fabien0102-crabnebula closed 3 months ago

fabien0102-crabnebula commented 8 months ago

There are some breaking changes in remark-gfm, solid-markdown is only compatible with the version 3.0.1.

Error with the remark-gfm#4.0.0: image

Workaround

Pin the version of remark-gfm on 3.0.1 and you are good to go 😉

PidSS commented 4 months ago

BTW, the author listed "remark-gfm": "^3.0.1" as dependencies in the package.json, but it was never used in the code.

I believe the entry was wrote for the purpose of testing but forgotten to be deleted.

While resolving this issue, could you also correct the dependency?

andi23rosca commented 3 months ago

I just released a new version v.2.0.3, I've updated all dependencies and fixed some type errors. The latest remark-gfm is now supported