Hello! I decided to take a shot at this and just skip kevin940726/to-gatsby-remark-plugin#1 for now.
This updates:
Devtools:
Vitest
Node (Vitest requires Node 18)
Typescript
Unified:
unist-util-visit
mdast → @types/mdast
remark
vfile
These changes make this plugin support Unified 11.
I also updated the code to use async/await and node:fs/promises, as TS was complaining.
Vitest 1.0 also changed the snapshot format, so a test had a minor update there.
Hello! I decided to take a shot at this and just skip kevin940726/to-gatsby-remark-plugin#1 for now. This updates:
Devtools:
Unified:
These changes make this plugin support Unified 11.
I also updated the code to use
async
/await
andnode:fs/promises
, as TS was complaining. Vitest 1.0 also changed the snapshot format, so a test had a minor update there.