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 251ee0d355..0000000000 --- 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 aa92f8cd5a..0000000000 --- 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 63f6f8a303..0000000000 --- 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 2453b1ef09..0000000000 --- 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 e136726f32..fcf7cba092 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 815e064062..4df6f2ea35 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 5d695464fc..aef0bbe72e 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 a56b63b65c..10628ae48a 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 d794058b3b..4f20bf897d 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 ac02aee13d..63c53a38f8 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 5eebd79400..d390eb06ac 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 1b15d1bd4c..7cf835de9e 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 fe55007153..aa0f7b11d3 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 eace593ba5..b8150f5ff9 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 62315eb11f..cf06af5b58 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 34d941651f..cb36b8518e 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 2472b98095..12c2653c64 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 4d6508d333..18357a5f80 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 2717a0fdb0..08cd3e463f 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 27ccc9786b..d554102c44 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 978508f3c2..84e187a725 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 a80cba5f71..6671f52580 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 0c024aa27c..67651e4885 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 0e9bc810dd..41de35cc0c 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 3d32ba6cfc..016279e74e 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 b38ad6b9eb..6f48e0afa2 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 22545ac5ea..5867ee0963 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 25a0662f4a..aae98ba72c 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 82241bca88..5c287f1306 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 8fc777ea8a..5884489911 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 475e191af2..85c8e0f7ad 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 51da0fb7c2..0236d6e901 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 8c86489b88..a6b2441456 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 0d75ee5be5..5353463084 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 d6f83af9b5..7a7615b0aa 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 3be2d13403..919ab1b493 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 8cb798c001..be0715a6ca 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 8aaa299814..67012418b5 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 1ba863f7d5..47acf5ba61 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 2230eb5322..c0364f1528 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 d1a920f799..3901d48095 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 51f5b977d7..f8eb320b12 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 dcbef306b2..53be2e427f 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 f428e48077..2a48fa3026 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 9f8014f6c7..53027149d4 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 1707b3fdfc..a75bd814ff 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 49f84b6610..d65c8b5078 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 9c1e492969..bb032c632f 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 ded74be42a..f8a8a8fdc9 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 a4dc449add..21a0133338 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 c214385992..d44886a04d 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 a57a471431..0e6f33539d 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 d177b18774..e7749be5ea 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 0101cbac3c..b1a53510ed 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 a7e688fe40..a97fa84a2a 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 0dd9fa49c3..599f58aa37 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 41cc7a0240..23ae4ccbb2 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 62ba13278e..716dd1e3ca 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 ab4f4c0470..d6cea58015 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 944788aecb..0f5ca65f87 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 05ba339907..a75202d36b 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 a473dceb92..0b0b16bfd7 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 3cf658f8f5..f08a0bebd8 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 3af88e6df8..52fcd3c440 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 19a8bcc1d2..33a37b7da7 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 d78e19ba63..4456c4aade 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 3d298f5a3d..b3dcb2a933 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 2387e8f180..e0b0138147 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 f5e4dcbf7f..91010feede 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 ae51180a17..5fb24fa823 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",