big package dependency updates for node 22 #298
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.
Upgrade a large number of deps for node 22, react 19 and next 15 compatibility. Would be good if this was ranh locally by someone else incase I have missed something obvious in terms of a broken feature.
Migrated to our own copytoclipboard component to remove react-copy-to-clipboard due to deprecation
Fixes various issues in react-markdown due to changes to the way props are passed into plugins.
The package update introduced an additional bug in TOC parsing so this also fixes bugs in TOC (closes [bug]: display of sidebar TOC #294 ), both these issues were hard to fix due to the being generated from the material but the intersection observers being linked to the actual h2 elements. When Latex code is included this becomes hard to match for both the anchor links and the intersection observers.
Replaces recoil (which is now archived) with jotai (closes Migrate from recoil #296 ), a surprisingly easy migration.
Fixes display of falink on same line as corresponding heading (why react 19 broke this I have no idea)
Fixes additional bug in TOC due to presence of backticks rendering the headings as [object Object]