mdx-js / mdx

Markdown for the component era
https://mdxjs.com
MIT License
17.76k stars 1.14k forks source link

Update dependency preact-render-to-string to v6 - autoclosed #2299

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact-render-to-string ^5.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

developit/preact-render-to-string (preact-render-to-string) ### [`v6.2.0`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#620) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v6.1.0...v6.2.0) ##### Minor Changes - [#​305](https://togithub.com/preactjs/preact-render-to-string/pull/305) [`568f139`](https://togithub.com/preactjs/preact-render-to-string/commit/568f139a6c7916e0b6eebb7c51f1abf035850b7c) Thanks [@​marvinhagemeister](https://togithub.com/marvinhagemeister)! - Add support for error boundaries via `componentDidCatch` and `getDerivedStateFromError` This feature is disabled by default and can be enabled by toggling the `errorBoundaries` option: ```js import { options } from 'preact'; // Enable error boundaries options.errorBoundaries = true; ``` ### [`v6.1.0`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#610) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v6.0.3...v6.1.0) ##### Minor Changes - [#​301](https://togithub.com/preactjs/preact-render-to-string/pull/301) [`659b456`](https://togithub.com/preactjs/preact-render-to-string/commit/659b45623093ae0a93cb29354b069a25cf6351b5) Thanks [@​marvinhagemeister](https://togithub.com/marvinhagemeister)! - Add experimental ability to render HTML comments via ``. When the `UNSTABLE_comment` prop is present all children of that `Fragment` will be ignored and a HTML comment will be rendered instead. This feature is added to allow framework authors to experiment with marking DOM for hydration in the client. Note that it's marked as unstable and might change in the future. ### [`v6.0.3`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#603) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v6.0.2...v6.0.3) ##### Patch Changes - [#​298](https://togithub.com/preactjs/preact-render-to-string/pull/298) [`6a4b8ed`](https://togithub.com/preactjs/preact-render-to-string/commit/6a4b8edc3b60038d2dc539a9652db806c5c24616) Thanks [@​shinyama-k](https://togithub.com/shinyama-k)! - Fix to add type file for jsx.js ### [`v6.0.2`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#602) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v6.0.1...v6.0.2) ##### Patch Changes - [#​294](https://togithub.com/preactjs/preact-render-to-string/pull/294) [`637b302`](https://togithub.com/preactjs/preact-render-to-string/commit/637b3021ff05a0729a1a7c0eb965ce3fc3556af6) Thanks [@​marvinhagemeister](https://togithub.com/marvinhagemeister)! - Bring back exports from 5.x to make migration easier ### [`v6.0.1`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#601) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v6.0.0...v6.0.1) ##### Patch Changes - [#​292](https://togithub.com/preactjs/preact-render-to-string/pull/292) [`8f4692c`](https://togithub.com/preactjs/preact-render-to-string/commit/8f4692c49277591819acb74808a0e28f7cb30c2f) Thanks [@​marvinhagemeister](https://togithub.com/marvinhagemeister)! - Fix error in commonjs entry point ### [`v6.0.0`](https://togithub.com/developit/preact-render-to-string/blob/HEAD/CHANGELOG.md#600) [Compare Source](https://togithub.com/developit/preact-render-to-string/compare/v5.2.6...v6.0.0) ##### Major Changes - [#​241](https://togithub.com/preactjs/preact-render-to-string/pull/241) [`e8cbf66`](https://togithub.com/preactjs/preact-render-to-string/commit/e8cbf66b2620842671b5c95817454ff2ddb0e450) Thanks [@​developit](https://togithub.com/developit)! - Improve performance by another 5-10% using `switch` and short-circuiting, and move pretty-printing from into `preact-render-to-string/jsx`. - [#​282](https://togithub.com/preactjs/preact-render-to-string/pull/282) [`6376f62`](https://togithub.com/preactjs/preact-render-to-string/commit/6376f62309ec19482ded68406a03910ad6de57d1) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Remove trailing space for void_elements, this could fail some test_assertions as `` will become ``, the other `VOID_ELEMENTS` this will be applied for can be found [here](https://togithub.com/preactjs/preact-render-to-string/blob/remove-trailing-space/src/index.js#L368-L385) - [#​286](https://togithub.com/preactjs/preact-render-to-string/pull/286) [`7a8b590`](https://togithub.com/preactjs/preact-render-to-string/commit/7a8b590237a70e8708e46cb1d92ab24327f60160) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Remove the castin to VNode for `preact/debug`, this is fixed in Preact >= 10.13.0 ##### Patch Changes - [#​286](https://togithub.com/preactjs/preact-render-to-string/pull/286) [`7a8b590`](https://togithub.com/preactjs/preact-render-to-string/commit/7a8b590237a70e8708e46cb1d92ab24327f60160) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Change style calculation to use a Set rather than Regex - [#​285](https://togithub.com/preactjs/preact-render-to-string/pull/285) [`a0546fe`](https://togithub.com/preactjs/preact-render-to-string/commit/a0546fe6a008eca54edfcd97f775c4b5581d086c) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Fix CJS export - [#​288](https://togithub.com/preactjs/preact-render-to-string/pull/288) [`0b04860`](https://togithub.com/preactjs/preact-render-to-string/commit/0b0486029ca10a846c368a0ab404e4b2e8eb96d6) Thanks [@​glenchao](https://togithub.com/glenchao)! - Enumerate draggable attribute, so the output isn't `draggable` but `draggable="true"` - [#​283](https://togithub.com/preactjs/preact-render-to-string/pull/283) [`3defa9d`](https://togithub.com/preactjs/preact-render-to-string/commit/3defa9dab48cc7379c9135d92273fbb7f886cab0) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Follow up fixes to [#​278](https://togithub.com/developit/preact-render-to-string/issues/278) - [#​289](https://togithub.com/preactjs/preact-render-to-string/pull/289) [`07ebc66`](https://togithub.com/preactjs/preact-render-to-string/commit/07ebc66bb76b775cae58b5163acf2943ec72c8bf) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Support `data` attribute - [#​270](https://togithub.com/preactjs/preact-render-to-string/pull/270) [`5c6877d`](https://togithub.com/preactjs/preact-render-to-string/commit/5c6877d13d60b4cdd87632ac3052b006207568ff) Thanks [@​developit](https://togithub.com/developit)! - improve unmount option hook call performance - [#​278](https://togithub.com/preactjs/preact-render-to-string/pull/278) [`8cf7cef`](https://togithub.com/preactjs/preact-render-to-string/commit/8cf7cef0e96b3e48ffea5fcf4f76db6410de8346) Thanks [@​JoviDeCroock](https://togithub.com/JoviDeCroock)! - Improve performance by - storing the void_elements in a Set - hoisting the `x-link` regex - remove case-insensitive from regexes and calling `.toLowerCase()` instead - caching suffixes for css-props

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mdx ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2023 0:21am
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (d8a62d2) 100.00% compared to head (7b00d83) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2299 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 22 22 Lines 2177 2177 ========================================= Hits 2177 2177 ``` | [Impacted Files](https://app.codecov.io/gh/mdx-js/mdx/pull/2299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [packages/mdx/lib/run.js](https://app.codecov.io/gh/mdx-js/mdx/pull/2299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cGFja2FnZXMvbWR4L2xpYi9ydW4uanM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.