From 87ca6b19815cd521787aea95a5cff78d5f5c3ed1 Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Fri, 28 Feb 2025 15:43:06 +0000 Subject: [PATCH] chore: bump up react-markdown version to v10 (#10532) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-markdown](https://redirect.github.com/remarkjs/react-markdown) | [`^9.0.3` -> `^10.0.0`](https://renovatebot.com/diffs/npm/react-markdown/9.1.0/10.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-markdown/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-markdown/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-markdown/9.1.0/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-markdown/9.1.0/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
remarkjs/react-markdown (react-markdown) ### [`v10.0.0`](https://redirect.github.com/remarkjs/react-markdown/blob/HEAD/changelog.md#1000---2025-02-20) [Compare Source](https://redirect.github.com/remarkjs/react-markdown/compare/9.1.0...10.0.0) - [`aaaa40b`](https://redirect.github.com/remarkjs/react-markdown/commit/aaaa40b) Remove support for `className` prop **migrate**: see β€œRemove `className`” below ##### Remove `className` The `className` prop was removed. If you want to add classes to some element that wraps the markdown you can explicitly write that element and add the class to it. You can then choose yourself which tag name to use and whether to add other props. Before: ```js {markdown} ``` After: ```js
{markdown}
```
--- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- .../frontend/media-capture-playground/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/frontend/media-capture-playground/package.json b/packages/frontend/media-capture-playground/package.json index f735f0058f..690b06123f 100644 --- a/packages/frontend/media-capture-playground/package.json +++ b/packages/frontend/media-capture-playground/package.json @@ -26,7 +26,7 @@ "openai": "^4.85.1", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-markdown": "^9.0.3", + "react-markdown": "^10.0.0", "rxjs": "^7.8.1", "socket.io": "^4.7.4", "socket.io-client": "^4.7.4", diff --git a/yarn.lock b/yarn.lock index 1c9a84b1ca..4349b8e364 100644 --- a/yarn.lock +++ b/yarn.lock @@ -660,7 +660,7 @@ __metadata: openai: "npm:^4.85.1" react: "npm:^19.0.0" react-dom: "npm:^19.0.0" - react-markdown: "npm:^9.0.3" + react-markdown: "npm:^10.0.0" rxjs: "npm:^7.8.1" socket.io: "npm:^4.7.4" socket.io-client: "npm:^4.7.4" @@ -28655,9 +28655,9 @@ __metadata: languageName: node linkType: hard -"react-markdown@npm:^9.0.3": - version: 9.1.0 - resolution: "react-markdown@npm:9.1.0" +"react-markdown@npm:^10.0.0": + version: 10.0.0 + resolution: "react-markdown@npm:10.0.0" dependencies: "@types/hast": "npm:^3.0.0" "@types/mdast": "npm:^4.0.0" @@ -28673,7 +28673,7 @@ __metadata: peerDependencies: "@types/react": ">=18" react: ">=18" - checksum: 10/07045797b926afafc6aff692c9ee7d1cb9b12bc0e2d2b9f22ab17f2d1036dd807034a58565d67cfcfe94fe43961452a977496a175cbc9028ed51f2eec823c2f4 + checksum: 10/513d9119587b561ac1195e3b2fa30b2bd9149b4dea658c189e2417fda600fbf9d5067967f098ea8e2d525b5fc7db00e3e4176ba2662a6eb503bc09d9b8bd5b5a languageName: node linkType: hard