remarkjs / react-remark

React component and hook to use remark to render markdown
https://remarkjs.github.io/react-remark
MIT License
204 stars 7 forks source link

chore(deps): update remark (major) #73

Open renovate[bot] opened 9 months ago

renovate[bot] commented 9 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rehype-katex (source) ^5.0.0 -> ^7.0.0 age adoption passing confidence
remark-gfm ^1.0.0 -> ^4.0.0 age adoption passing confidence
remark-math (source) ^4.0.0 -> ^6.0.0 age adoption passing confidence
remark-parse (source) ^9.0.0 -> ^11.0.0 age adoption passing confidence
remark-rehype ^8.0.0 -> ^11.0.0 age adoption passing confidence

Release Notes

remarkjs/remark-math (rehype-katex) ### [`v7.0.1`](https://redirect.github.com/remarkjs/remark-math/releases/tag/rehype-katex%407.0.1) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@7.0.0...rehype-katex@7.0.1) ##### Fix - [`3efc101`](https://redirect.github.com/remarkjs/remark-math/commit/3efc101) Fix crash on katex error **Full Changelog**: https://github.com/remarkjs/remark-math/compare/rehype-mathjax@6.0.0...rehype-katex@7.0.1 ### [`v7.0.0`](https://redirect.github.com/remarkjs/remark-math/releases/tag/rehype-katex%407.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@6.0.3...rehype-katex@7.0.0) (see [`6.0.0`](https://redirect.github.com/remarkjs/remark-math/releases/tag/6.0.0)) ### [`v6.0.3`](https://redirect.github.com/remarkjs/remark-math/releases/tag/rehype-katex%406.0.3) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@6.0.2...rehype-katex@6.0.3) - [`e28098a`](https://redirect.github.com/remarkjs/remark-math/commit/e28098a) Fix to catch non-parse katex errors - [`f7a35ea`](https://redirect.github.com/remarkjs/remark-math/commit/f7a35ea) Replace dependency to improve browser bundle size **Full Changelog**: https://github.com/remarkjs/remark-math/compare/rehype-katex@6.0.2...rehype-katex@6.0.3 ### [`v6.0.2`](https://redirect.github.com/remarkjs/remark-math/releases/tag/rehype-katex%406.0.2) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@6.0.1...rehype-katex@6.0.2) - [`fa4ada1`](https://redirect.github.com/remarkjs/remark-math/commit/fa4ada1) Update `katex` - [`b2066bb`](https://redirect.github.com/remarkjs/remark-math/commit/b2066bb) Add improved docs ### [`v6.0.1`](https://redirect.github.com/remarkjs/remark-math/releases/tag/rehype-katex%406.0.1) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@6.0.0...rehype-katex@6.0.1) - [`b65a156`](https://redirect.github.com/remarkjs/remark-math/commit/b65a156) Fix support for comments ### [`v6.0.0`](https://redirect.github.com/remarkjs/remark-math/releases/tag/6.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-math/compare/rehype-katex@5.0.0...rehype-katex@6.0.0) ##### Change - [`4223ed9`](https://redirect.github.com/remarkjs/remark-math/commit/4223ed9) Change to use `exports` **migrate**: don’t use private APIs - [`e8039d7`](https://redirect.github.com/remarkjs/remark-math/commit/e8039d7) Change to require Node.js 16 **migrate**: update too - [`f173346`](https://redirect.github.com/remarkjs/remark-math/commit/f173346) [`fc32531`](https://redirect.github.com/remarkjs/remark-math/commit/fc32531) [`3658edd`](https://redirect.github.com/remarkjs/remark-math/commit/3658edd) Change to use ``, replace wrapping elements, update `@types/{hast,mdast}`, etc **migrate**: update too it’s no longer required to use the syntax extension from `remark-math`, you could instead use fenced code (` ```math `). When using `remark-math`, similar markup is generated (`
`).
    To render that nicely (not monospace and small by default), those elements are replaced with
    the results from katex/mathjax.
-   [`232f0d7`](https://redirect.github.com/remarkjs/remark-math/commit/232f0d7) Remove `throwOnError` option, improve message
    **migrate**: check `file.messages` for warnings

##### Misc

-   [`3aab0e1`](https://redirect.github.com/remarkjs/remark-math/commit/3aab0e1) Archive `remark-html-katex`

**Full Changelog**: https://github.com/remarkjs/remark-math/compare/5.1.1...6.0.0

remarkjs/remark-gfm (remark-gfm) ### [`v4.0.0`](https://redirect.github.com/remarkjs/remark-gfm/releases/tag/4.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-gfm/compare/3.0.1...4.0.0) ##### Change - [`b8cc334`](https://redirect.github.com/remarkjs/remark-gfm/commit/b8cc334) Update `@types/mdast`, `unified`, utilities **migrate**: update too - [`9eb0f54`](https://redirect.github.com/remarkjs/remark-gfm/commit/9eb0f54) Change to use `exports` **migrate**: don’t use private APIs - [`5715c93`](https://redirect.github.com/remarkjs/remark-gfm/commit/5715c93) Change to require Node.js 16 **migrate**: update too **Full Changelog**: https://github.com/remarkjs/remark-gfm/compare/3.0.1...4.0.0 ### [`v3.0.1`](https://redirect.github.com/remarkjs/remark-gfm/releases/tag/3.0.1) [Compare Source](https://redirect.github.com/remarkjs/remark-gfm/compare/3.0.0...3.0.1) - [`97437dc`](https://redirect.github.com/remarkjs/remark-gfm/commit/97437dc) Add improved docs by [@​wooorm](https://redirect.github.com/wooorm) in [https://github.com/remarkjs/remark-gfm/pull/25](https://redirect.github.com/remarkjs/remark-gfm/pull/25) **Full Changelog**: https://github.com/remarkjs/remark-gfm/compare/3.0.0...3.0.1 ### [`v3.0.0`](https://redirect.github.com/remarkjs/remark-gfm/releases/tag/3.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-gfm/compare/2.0.0...3.0.0) - [`890005e`](https://redirect.github.com/remarkjs/remark-gfm/commit/890005e) Add support for [GFM footnotes](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/) ✨ (if you were using `remark-footnotes` before, you should remove it!) (how footnotes are turned to HTML is done in `remark-rehype`, please update that too) **Full Changelog**: https://github.com/remarkjs/remark-gfm/compare/2.0.0...3.0.0 ### [`v2.0.0`](https://redirect.github.com/remarkjs/remark-gfm/releases/tag/2.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-gfm/compare/1.0.0...2.0.0) - [`6c518d8`](https://redirect.github.com/remarkjs/remark-gfm/commit/6c518d8) Use ESM ```js // From CommonJS var remarkGfm = require('remark-gfm') // To ESM import remarkGfm from 'remark-gfm' ``` Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) - [`37d92ac`](https://redirect.github.com/remarkjs/remark-gfm/commit/37d92ac) Add JSDoc based types - [`0846014`](https://redirect.github.com/remarkjs/remark-gfm/commit/0846014) Remove warning for remark 12 **Full Changelog**: https://github.com/remarkjs/remark-gfm/compare/1.0.0...2.0.0
remarkjs/remark (remark-parse) ### [`v11.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-parse%4011.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark/compare/remark-parse@10.0.2...remark-parse@11.0.0) (see [`15.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/15.0.0)) ### [`v10.0.2`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-parse%4010.0.2) [Compare Source](https://redirect.github.com/remarkjs/remark/compare/remark-parse@10.0.1...remark-parse@10.0.2) See [`remark@14.0.4`](https://redirect.github.com/remarkjs/remark/releases/tag/14.0.3) ### [`v10.0.1`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-parse%4010.0.1) [Compare Source](https://redirect.github.com/remarkjs/remark/compare/10.0.0...remark-parse@10.0.1) See [`remark@14.0.2`](https://redirect.github.com/remarkjs/remark/releases/tag/14.0.2) ### [`v10.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/10.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark/compare/remark-parse@9.0.0...10.0.0) ##### Changelog - [`1b89df5`](https://redirect.github.com/remarkjs/remark/commit/1b89df5) Update `remark-parse`, `remark-stringify` - [`aab3c3e`](https://redirect.github.com/remarkjs/remark/commit/aab3c3e) Rework list fields - [`3325c33`](https://redirect.github.com/remarkjs/remark/commit/3325c33) Add support for `label` to associations - [`31ef684`](https://redirect.github.com/remarkjs/remark/commit/31ef684) Add support for `meta` in code - [`c77d24f`](https://redirect.github.com/remarkjs/remark/commit/c77d24f) Update `unified` ##### See also - [`remark-cli@6.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-cli%406.0.0) - [`remark-parse@6.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-parse%406.0.0) - [`remark-stringify@6.0.0`](https://redirect.github.com/remarkjs/remark/releases/tag/remark-stringify%406.0.0) ##### Project - [`4f6b3d7`](https://redirect.github.com/remarkjs/remark/commit/4f6b3d7) Update logo - [`e7f509f`](https://redirect.github.com/remarkjs/remark/commit/e7f509f) Improve npm search ranking of individual packages - [`7d98e30`](https://redirect.github.com/remarkjs/remark/commit/7d98e30) Fix `git.io` links - [`ce62e7a`](https://redirect.github.com/remarkjs/remark/commit/ce62e7a) Refactor code-style ##### Plugins - [`4c0e28a`](https://redirect.github.com/remarkjs/remark/commit/4c0e28a) Add `remark-macro` to list of plugins - [`a4caa67`](https://redirect.github.com/remarkjs/remark/commit/a4caa67) Add `remark-git-contributors` to list of plugins - [`fe241aa`](https://redirect.github.com/remarkjs/remark/commit/fe241aa) Add `remark-outer-toc` to list of plugins - [`4fa8b1d`](https://redirect.github.com/remarkjs/remark/commit/4fa8b1d) Replace deprecated plugin with `remark-behead` in list of plugins - [`52ffdff`](https://redirect.github.com/remarkjs/remark/commit/52ffdff) Add `remark-redact` to list of plugins - [`02297a5`](https://redirect.github.com/remarkjs/remark/commit/02297a5) Add `remark-attr` to list of plugins
remarkjs/remark-rehype (remark-rehype) ### [`v11.1.1`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/11.1.1) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/11.1.0...11.1.1) ##### Fix - [`f0cce2d`](https://redirect.github.com/remarkjs/remark-rehype/commit/f0cce2d) Fix mutate support in `unified-engine` ##### Miscellaneous - [`364ee71`](https://redirect.github.com/remarkjs/remark-rehype/commit/364ee71) Remove license year ##### Types - [`e4576c0`](https://redirect.github.com/remarkjs/remark-rehype/commit/e4576c0) Refactor to use `@import`s - [`c62d719`](https://redirect.github.com/remarkjs/remark-rehype/commit/c62d719) Add declaration maps **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/11.1.0...11.1.1 ### [`v11.1.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/11.1.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/11.0.0...11.1.0) ##### Add - [`0174dfc`](https://redirect.github.com/remarkjs/remark-rehype/commit/0174dfc) Add `file` to options passed to `mdast-util-to-hast` **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/11.0.0...11.1.0 ### [`v11.0.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/11.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/10.1.0...11.0.0) ##### Change - [`30091c7`](https://redirect.github.com/remarkjs/remark-rehype/commit/30091c7) Change to require Node.js 16 **migrate**: update too - [`cafeacc`](https://redirect.github.com/remarkjs/remark-rehype/commit/cafeacc) Change to use `exports` **migrate**: don’t use private APIs - [`acb292a`](https://redirect.github.com/remarkjs/remark-rehype/commit/acb292a) Update `mdast-util-to-hast`, `@types/{hast,mdast}`, unified, etc **migrate**: update too if you don’t use handlers, this should be fine; if you do, see [`mdast-util-to-hast@13.0.0`](https://redirect.github.com/syntax-tree/mdast-util-to-hast/releases/tag/13.0.0) - [`ba50965`](https://redirect.github.com/remarkjs/remark-rehype/commit/ba50965) Remove `Processor` type **migrate**: get it from `unified` ##### Add - [`b990986`](https://redirect.github.com/remarkjs/remark-rehype/commit/b990986) Add exports of `defaultFootnoteBackContent`, `defaultFootnoteBackLabel` **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.1.0...11.0.0 ### [`v10.1.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/10.1.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/10.0.1...10.1.0) - [`f22d7af`](https://redirect.github.com/remarkjs/remark-rehype/commit/f22d7af) Add exports of `defaultHandlers`, `all`, `one` by [@​JounQin](https://redirect.github.com/JounQin) in [https://github.com/remarkjs/remark-rehype/pull/23](https://redirect.github.com/remarkjs/remark-rehype/pull/23) **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.0.1...10.1.0 ### [`v10.0.1`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/10.0.1) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/10.0.0...10.0.1) - [`1e0c67d`](https://redirect.github.com/remarkjs/remark-rehype/commit/1e0c67d) Add improved docs by [@​wooorm](https://redirect.github.com/wooorm) in [https://github.com/remarkjs/remark-rehype/pull/22](https://redirect.github.com/remarkjs/remark-rehype/pull/22) **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.0.0...10.0.1 ### [`v10.0.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/10.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/9.1.0...10.0.0) - [`2e2401a`](https://redirect.github.com/remarkjs/remark-rehype/commit/2e2401a) Update `mdast-util-to-hast` This changes footnotes to match [how GitHub renders them](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/) - use the new `clobberPrefix`, `footnoteLabel`, and `footnoteLabelBack` options to configure it - [`b718673`](https://redirect.github.com/remarkjs/remark-rehype/commit/b718673) Fix support for explicit nullish `processor` **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/9.1.0...10.0.0 ### [`v9.1.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/9.1.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/9.0.0...9.1.0) - [`aab88a5`](https://redirect.github.com/remarkjs/remark-rehype/commit/aab88a5) Add `raw` to hast type registry ### [`v9.0.0`](https://redirect.github.com/remarkjs/remark-rehype/releases/tag/9.0.0) [Compare Source](https://redirect.github.com/remarkjs/remark-rehype/compare/8.1.0...9.0.0) - [`ab51cd4`](https://redirect.github.com/remarkjs/remark-rehype/commit/ab51cd4) Use ESM ```js // From CommonJS var remarkRehype = require('remark-rehype') // To ESM import remarkRehype from 'remark-rehype' ``` Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) - [`c6a4c64`](https://redirect.github.com/remarkjs/remark-rehype/commit/c6a4c64) Add JSDoc based types - [`0cea259`](https://redirect.github.com/remarkjs/remark-rehype/commit/0cea259) Update dependencies See [`mdast-util-to-hast@11.0.0`](https://redirect.github.com/syntax-tree/mdast-util-to-hast/releases/tag/11.0.0)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.