From a794fb844eebf0e92c6e9d8f9540715a34d9e92f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Sep 2024 12:03:51 +0000 Subject: [PATCH] Version Packages --- .changeset/loud-lemons-tickle.md | 5 ---- .changeset/lovely-taxis-bake.md | 8 ------- .changeset/olive-shrimps-joke.md | 32 -------------------------- .changeset/silver-flies-relax.md | 5 ---- packages/alignment/package.json | 2 +- packages/autoformat/package.json | 2 +- packages/basic-elements/package.json | 2 +- packages/basic-marks/package.json | 2 +- packages/block-quote/package.json | 2 +- packages/break/package.json | 2 +- packages/callout/package.json | 2 +- packages/caption/package.json | 2 +- packages/cloud/package.json | 2 +- packages/code-block/package.json | 2 +- packages/combobox/package.json | 2 +- packages/comments/package.json | 2 +- packages/common/CHANGELOG.md | 2 ++ packages/common/package.json | 6 ++--- packages/core/CHANGELOG.md | 33 +++++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/csv/CHANGELOG.md | 2 ++ packages/csv/package.json | 6 ++--- packages/cursor/package.json | 2 +- packages/date/package.json | 2 +- packages/diff/package.json | 2 +- packages/dnd/package.json | 2 +- packages/docx/CHANGELOG.md | 2 ++ packages/docx/package.json | 8 +++---- packages/emoji/package.json | 2 +- packages/excalidraw/package.json | 2 +- packages/find-replace/package.json | 2 +- packages/floating/package.json | 2 +- packages/font/package.json | 2 +- packages/heading/package.json | 2 +- packages/highlight/package.json | 2 +- packages/horizontal-rule/package.json | 2 +- packages/html/package.json | 2 +- packages/indent-list/package.json | 2 +- packages/indent/package.json | 2 +- packages/juice/package.json | 2 +- packages/kbd/package.json | 2 +- packages/layout/package.json | 2 +- packages/line-height/package.json | 2 +- packages/link/CHANGELOG.md | 6 +++++ packages/link/package.json | 4 ++-- packages/list/package.json | 2 +- packages/markdown/package.json | 2 +- packages/math/package.json | 2 +- packages/media/CHANGELOG.md | 9 ++++++++ packages/media/package.json | 4 ++-- packages/mention/package.json | 2 +- packages/node-id/package.json | 2 +- packages/normalizers/package.json | 2 +- packages/plate-utils/CHANGELOG.md | 2 ++ packages/plate-utils/package.json | 4 ++-- packages/plate/CHANGELOG.md | 2 ++ packages/plate/package.json | 14 ++++++------ packages/playwright/package.json | 2 +- packages/reset-node/package.json | 2 +- packages/resizable/package.json | 2 +- packages/select/package.json | 2 +- packages/selection/package.json | 2 +- packages/slash-command/package.json | 2 +- packages/suggestion/package.json | 2 +- packages/tabbable/package.json | 2 +- packages/table/CHANGELOG.md | 6 +++++ packages/table/package.json | 4 ++-- packages/toggle/package.json | 2 +- packages/trailing-block/package.json | 2 +- packages/yjs/package.json | 2 +- 70 files changed, 138 insertions(+), 124 deletions(-) delete mode 100644 .changeset/loud-lemons-tickle.md delete mode 100644 .changeset/lovely-taxis-bake.md delete mode 100644 .changeset/olive-shrimps-joke.md delete mode 100644 .changeset/silver-flies-relax.md diff --git a/.changeset/loud-lemons-tickle.md b/.changeset/loud-lemons-tickle.md deleted file mode 100644 index 251ee0d35..000000000 --- a/.changeset/loud-lemons-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-link': patch ---- - -Add the `target` attribute to `dangerouslyAllowAttributes` for LinkPlugin diff --git a/.changeset/lovely-taxis-bake.md b/.changeset/lovely-taxis-bake.md deleted file mode 100644 index aa92f8cd5..000000000 --- a/.changeset/lovely-taxis-bake.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@udecode/plate-media': patch ---- - -Add the following attributes to `dangerouslyAllowAttributes`: - -- ImagePlugin: `alt`, `width`, `height` -- VideoPlugin: `width`, `height` diff --git a/.changeset/olive-shrimps-joke.md b/.changeset/olive-shrimps-joke.md deleted file mode 100644 index 63f6f8a30..000000000 --- a/.changeset/olive-shrimps-joke.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -'@udecode/plate-core': patch ---- - -Mitigate XSS in `element.attributes` by requiring all attribute names to be allowlisted in the `node.dangerouslyAllowAttributes` plugin configuration option. - -Migration: - -For each plugin that needs to support passing DOM attributes using `element.attributes`, add the list of allowed attributes to the `node.dangerouslyAllowAttributes` option of the plugin. - -```ts -const ImagePlugin = createPlatePlugin({ - key: 'image', - node: { - isElement: true, - isVoid: true, - dangerouslyAllowAttributes: ['alt'], - }, -}); -``` - -To modify existing plugins, use the `extend` method as follows: - -```ts -const MyImagePlugin = ImagePlugin.extend({ - node: { - dangerouslyAllowAttributes: ['alt'], - }, -}); -``` - -WARNING: Improper use of `dangerouslyAllowAttributes` WILL make your application vulnerable to cross-site scripting (XSS) or information exposure attacks. Ensure you carefully research the security implications of any attribute before adding it. For example, the `src` and `href` attributes will allow attackers to execute arbitrary code, and the `style` and `background` attributes will allow attackers to leak users' IP addresses. diff --git a/.changeset/silver-flies-relax.md b/.changeset/silver-flies-relax.md deleted file mode 100644 index 2453b1ef0..000000000 --- a/.changeset/silver-flies-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-table': patch ---- - -Add the `colspan` and `rowspan` attributes to `dangerouslyAllowAttributes` for TableCellPlugin and TableCellHeaderPlugin diff --git a/packages/alignment/package.json b/packages/alignment/package.json index e136726f3..fcf7cba09 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index 815e06406..4df6f2ea3 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index 5d695464f..aef0bbe72 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index a56b63b65..10628ae48 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index d794058b3..4f20bf897 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/break/package.json b/packages/break/package.json index ac02aee13..63c53a38f 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/callout/package.json b/packages/callout/package.json index 5eebd7940..d390eb06a 100644 --- a/packages/callout/package.json +++ b/packages/callout/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/caption/package.json b/packages/caption/package.json index 1b15d1bd4..7cf835de9 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -55,7 +55,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/cloud/package.json b/packages/cloud/package.json index fe5500715..aa0f7b11d 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/code-block/package.json b/packages/code-block/package.json index eace593ba..b8150f5ff 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -54,7 +54,7 @@ "prismjs": "^1.29.0" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 62315eb11..cf06af5b5 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/comments/package.json b/packages/comments/package.json index 34d941651..cb36b8518 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 2472b9809..12c2653c6 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-common +## 38.0.6 + ## 38.0.4 ## 38.0.3 diff --git a/packages/common/package.json b/packages/common/package.json index 4d6508d33..18357a5f8 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-common", - "version": "38.0.4", + "version": "38.0.6", "description": "Plate common packages for plugins", "keywords": [ "plate", @@ -50,8 +50,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "38.0.4", - "@udecode/plate-utils": "38.0.4", + "@udecode/plate-core": "38.0.6", + "@udecode/plate-utils": "38.0.6", "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "38.0.1", "@udecode/slate": "38.0.4", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 2717a0fdb..08cd3e463 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,38 @@ # @udecode/plate-core +## 38.0.6 + +### Patch Changes + +- [`d30471cb19577e53c20944ab66eab2a7ef3b3ad2`](https://github.com/udecode/plate/commit/d30471cb19577e53c20944ab66eab2a7ef3b3ad2) by [@12joan](https://github.com/12joan) – Mitigate XSS in `element.attributes` by requiring all attribute names to be allowlisted in the `node.dangerouslyAllowAttributes` plugin configuration option. + + Migration: + + For each plugin that needs to support passing DOM attributes using `element.attributes`, add the list of allowed attributes to the `node.dangerouslyAllowAttributes` option of the plugin. + + ```ts + const ImagePlugin = createPlatePlugin({ + key: 'image', + node: { + isElement: true, + isVoid: true, + dangerouslyAllowAttributes: ['alt'], + }, + }); + ``` + + To modify existing plugins, use the `extend` method as follows: + + ```ts + const MyImagePlugin = ImagePlugin.extend({ + node: { + dangerouslyAllowAttributes: ['alt'], + }, + }); + ``` + + WARNING: Improper use of `dangerouslyAllowAttributes` WILL make your application vulnerable to cross-site scripting (XSS) or information exposure attacks. Ensure you carefully research the security implications of any attribute before adding it. For example, the `src` and `href` attributes will allow attackers to execute arbitrary code, and the `style` and `background` attributes will allow attackers to leak users' IP addresses. + ## 38.0.4 ## 38.0.3 diff --git a/packages/core/package.json b/packages/core/package.json index 27ccc9786..d554102c4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-core", - "version": "38.0.4", + "version": "38.0.6", "description": "The core of Plate – a plugin system for slate", "keywords": [ "contentEditable", diff --git a/packages/csv/CHANGELOG.md b/packages/csv/CHANGELOG.md index 978508f3c..84e187a72 100644 --- a/packages/csv/CHANGELOG.md +++ b/packages/csv/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-serializer-csv +## 38.0.6 + ## 38.0.5 ## 38.0.1 diff --git a/packages/csv/package.json b/packages/csv/package.json index a80cba5f7..6671f5258 100644 --- a/packages/csv/package.json +++ b/packages/csv/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-csv", - "version": "38.0.5", + "version": "38.0.6", "description": "CSV serializer plugin for Plate", "keywords": [ "csv", @@ -46,7 +46,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-table": "38.0.5", + "@udecode/plate-table": "38.0.6", "papaparse": "^5.4.1" }, "devDependencies": { @@ -54,7 +54,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/cursor/package.json b/packages/cursor/package.json index 0c024aa27..67651e488 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/date/package.json b/packages/date/package.json index 0e9bc810d..41de35cc0 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", diff --git a/packages/diff/package.json b/packages/diff/package.json index 3d32ba6cf..016279e74 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/dnd/package.json b/packages/dnd/package.json index b38ad6b9e..6f48e0afa 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dnd": ">=14.0.0", "react-dnd-html5-backend": ">=14.0.0", diff --git a/packages/docx/CHANGELOG.md b/packages/docx/CHANGELOG.md index 22545ac5e..5867ee096 100644 --- a/packages/docx/CHANGELOG.md +++ b/packages/docx/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-docx-serializer +## 38.0.6 + ## 38.0.5 ## 38.0.1 diff --git a/packages/docx/package.json b/packages/docx/package.json index 25a0662f4..aae98ba72 100644 --- a/packages/docx/package.json +++ b/packages/docx/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-docx", - "version": "38.0.5", + "version": "38.0.6", "description": "Docx serializer plugin for Plate", "keywords": [ "docx", @@ -49,15 +49,15 @@ "@udecode/plate-heading": "38.0.1", "@udecode/plate-indent": "38.0.1", "@udecode/plate-indent-list": "38.0.1", - "@udecode/plate-media": "38.0.1", - "@udecode/plate-table": "38.0.5", + "@udecode/plate-media": "38.0.6", + "@udecode/plate-table": "38.0.6", "validator": "^13.12.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/emoji/package.json b/packages/emoji/package.json index 82241bca8..5c287f130 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index 8fc777ea8..588448991 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index 475e191af..85c8e0f7a 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/floating/package.json b/packages/floating/package.json index 51da0fb7c..0236d6e90 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/font/package.json b/packages/font/package.json index 8c86489b8..a6b244145 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/heading/package.json b/packages/heading/package.json index 0d75ee5be..535346308 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/highlight/package.json b/packages/highlight/package.json index d6f83af9b..7a7615b0a 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index 3be2d1340..919ab1b49 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/html/package.json b/packages/html/package.json index 8cb798c00..be0715a6c 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index 8aaa29981..67012418b 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/indent/package.json b/packages/indent/package.json index 1ba863f7d..47acf5ba6 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/juice/package.json b/packages/juice/package.json index 2230eb532..c0364f152 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/kbd/package.json b/packages/kbd/package.json index d1a920f79..3901d4809 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/layout/package.json b/packages/layout/package.json index 51f5b977d..f8eb320b1 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/line-height/package.json b/packages/line-height/package.json index dcbef306b..53be2e427 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/link/CHANGELOG.md b/packages/link/CHANGELOG.md index f428e4807..2a48fa302 100644 --- a/packages/link/CHANGELOG.md +++ b/packages/link/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-link +## 38.0.6 + +### Patch Changes + +- [`f26ed56053b14e697fea2e6a7e33a73ce28593e4`](https://github.com/udecode/plate/commit/f26ed56053b14e697fea2e6a7e33a73ce28593e4) by [@12joan](https://github.com/12joan) – Add the `target` attribute to `dangerouslyAllowAttributes` for LinkPlugin + ## 38.0.1 ### Patch Changes diff --git a/packages/link/package.json b/packages/link/package.json index 9f8014f6c..53027149d 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-link", - "version": "38.0.1", + "version": "38.0.6", "description": "Link plugin for Plate", "keywords": [ "plate", @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/list/package.json b/packages/list/package.json index 1707b3fdf..a75bd814f 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 49f84b661..d65c8b507 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -55,7 +55,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/math/package.json b/packages/math/package.json index 9c1e49296..bb032c632 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/media/CHANGELOG.md b/packages/media/CHANGELOG.md index ded74be42..f8a8a8fdc 100644 --- a/packages/media/CHANGELOG.md +++ b/packages/media/CHANGELOG.md @@ -1,5 +1,14 @@ # @udecode/plate-media +## 38.0.6 + +### Patch Changes + +- [`d30471cb19577e53c20944ab66eab2a7ef3b3ad2`](https://github.com/udecode/plate/commit/d30471cb19577e53c20944ab66eab2a7ef3b3ad2) by [@12joan](https://github.com/12joan) – Add the following attributes to `dangerouslyAllowAttributes`: + + - ImagePlugin: `alt`, `width`, `height` + - VideoPlugin: `width`, `height` + ## 38.0.1 ### Patch Changes diff --git a/packages/media/package.json b/packages/media/package.json index a4dc449ad..21a013333 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-media", - "version": "38.0.1", + "version": "38.0.6", "description": "Plate Media plugin", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/mention/package.json b/packages/mention/package.json index c21438599..d44886a04 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/node-id/package.json b/packages/node-id/package.json index a57a47143..0e6f33539 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index d177b1877..e7749be5e 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/plate-utils/CHANGELOG.md b/packages/plate-utils/CHANGELOG.md index 0101cbac3..b1a53510e 100644 --- a/packages/plate-utils/CHANGELOG.md +++ b/packages/plate-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-utils +## 38.0.6 + ## 38.0.4 ## 38.0.3 diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index a7e688fe4..a97fa84a2 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-utils", - "version": "38.0.4", + "version": "38.0.6", "description": "Plate utils", "keywords": [ "plate", @@ -50,7 +50,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "38.0.4", + "@udecode/plate-core": "38.0.6", "@udecode/react-utils": "38.0.1", "@udecode/slate": "38.0.4", "@udecode/slate-react": "38.0.4", diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index 0dd9fa49c..599f58aa3 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 38.0.6 + ## 38.0.5 ## 38.0.4 diff --git a/packages/plate/package.json b/packages/plate/package.json index 41cc7a024..23ae4ccbb 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "38.0.5", + "version": "38.0.6", "description": "Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -65,10 +65,10 @@ "@udecode/plate-code-block": "38.0.1", "@udecode/plate-combobox": "38.0.1", "@udecode/plate-comments": "38.0.1", - "@udecode/plate-common": "38.0.4", - "@udecode/plate-csv": "38.0.5", + "@udecode/plate-common": "38.0.6", + "@udecode/plate-csv": "38.0.6", "@udecode/plate-diff": "38.0.0", - "@udecode/plate-docx": "38.0.5", + "@udecode/plate-docx": "38.0.6", "@udecode/plate-find-replace": "38.0.0", "@udecode/plate-floating": "38.0.1", "@udecode/plate-font": "38.0.1", @@ -81,10 +81,10 @@ "@udecode/plate-kbd": "38.0.1", "@udecode/plate-layout": "38.0.1", "@udecode/plate-line-height": "38.0.1", - "@udecode/plate-link": "38.0.1", + "@udecode/plate-link": "38.0.6", "@udecode/plate-list": "38.0.1", "@udecode/plate-markdown": "38.0.1", - "@udecode/plate-media": "38.0.1", + "@udecode/plate-media": "38.0.6", "@udecode/plate-mention": "38.0.1", "@udecode/plate-node-id": "38.0.1", "@udecode/plate-normalizers": "38.0.1", @@ -95,7 +95,7 @@ "@udecode/plate-slash-command": "38.0.1", "@udecode/plate-suggestion": "38.0.1", "@udecode/plate-tabbable": "38.0.1", - "@udecode/plate-table": "38.0.5", + "@udecode/plate-table": "38.0.6", "@udecode/plate-toggle": "38.0.1", "@udecode/plate-trailing-block": "38.0.1" }, diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 62ba13278..716dd1e3c 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -46,7 +46,7 @@ }, "peerDependencies": { "@playwright/test": ">=1.42.1", - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index ab4f4c047..d6cea5801 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 944788aec..0f5ca65f8 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -46,7 +46,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/select/package.json b/packages/select/package.json index 05ba33990..a75202d36 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/selection/package.json b/packages/selection/package.json index a473dceb9..0b0b16bfd 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/slash-command/package.json b/packages/slash-command/package.json index 3cf658f8f..f08a0bebd 100644 --- a/packages/slash-command/package.json +++ b/packages/slash-command/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 3af88e6df..52fcd3c44 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 19a8bcc1d..33a37b7da 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index d78e19ba6..4456c4aad 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-table +## 38.0.6 + +### Patch Changes + +- [`f26ed56053b14e697fea2e6a7e33a73ce28593e4`](https://github.com/udecode/plate/commit/f26ed56053b14e697fea2e6a7e33a73ce28593e4) by [@12joan](https://github.com/12joan) – Add the `colspan` and `rowspan` attributes to `dangerouslyAllowAttributes` for TableCellPlugin and TableCellHeaderPlugin + ## 38.0.5 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index 3d298f5a3..b3dcb2a93 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-table", - "version": "38.0.5", + "version": "38.0.6", "description": "Table plugin for Plate", "keywords": [ "plate", @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/toggle/package.json b/packages/toggle/package.json index 2387e8f18..e0b013814 100644 --- a/packages/toggle/package.json +++ b/packages/toggle/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index f5e4dcbf7..91010feed 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/yjs/package.json b/packages/yjs/package.json index ae51180a1..5fb24fa82 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=38.0.4", + "@udecode/plate-common": ">=38.0.6", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0",