I wanted to use this plugin together with milkdown but noticed that some type definitions in the dependencies seem to have changed. So I have tried to update these. Since all dependencies are a bit out of date I just updated everything to the newest version and tried to fix every typescript and build error. I could not get the mocha tests to execute so I don't know if they still work.
I've also tried to specify peer dependencies so that npm can throw errors if they are not installed (or a wrong version is installed), but I am not sure if I got them correct.
Since I am not familiar with micromark it is probably best to just take this PR as a reference for what needs to be changed to be compatible with the newest versions. (That is also the reason why this PR is marked as draft.)
I wanted to use this plugin together with milkdown but noticed that some type definitions in the dependencies seem to have changed. So I have tried to update these. Since all dependencies are a bit out of date I just updated everything to the newest version and tried to fix every typescript and build error. I could not get the mocha tests to execute so I don't know if they still work. I've also tried to specify peer dependencies so that npm can throw errors if they are not installed (or a wrong version is installed), but I am not sure if I got them correct.
Since I am not familiar with micromark it is probably best to just take this PR as a reference for what needs to be changed to be compatible with the newest versions. (That is also the reason why this PR is marked as draft.)