Skip to content

Commit

Permalink
Merge pull request #3556 from udecode/changeset-release/main
Browse files Browse the repository at this point in the history
[Release] Version packages
  • Loading branch information
12joan authored Sep 20, 2024
2 parents 16df607 + a794fb8 commit a1002dd
Show file tree
Hide file tree
Showing 70 changed files with 138 additions and 124 deletions.
5 changes: 0 additions & 5 deletions .changeset/loud-lemons-tickle.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/lovely-taxis-bake.md

This file was deleted.

32 changes: 0 additions & 32 deletions .changeset/olive-shrimps-joke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-flies-relax.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/alignment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/autoformat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-marks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/block-quote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/break/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/callout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/caption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/code-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/combobox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/comments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-common

## 38.0.6

## 38.0.4

## 38.0.3
Expand Down
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-common",
"version": "38.0.4",
"version": "38.0.6",
"description": "Plate common packages for plugins",
"keywords": [
"plate",
Expand Down Expand Up @@ -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",
Expand Down
33 changes: 33 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/csv/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-serializer-csv

## 38.0.6

## 38.0.5

## 38.0.1
Expand Down
6 changes: 3 additions & 3 deletions packages/csv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-csv",
"version": "38.0.5",
"version": "38.0.6",
"description": "CSV serializer plugin for Plate",
"keywords": [
"csv",
Expand Down Expand Up @@ -46,15 +46,15 @@
"typecheck": "yarn p:typecheck"
},
"dependencies": {
"@udecode/plate-table": "38.0.5",
"@udecode/plate-table": "38.0.6",
"papaparse": "^5.4.1"
},
"devDependencies": {
"@types/papaparse": "^5.3.14",
"@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",
Expand Down
2 changes: 1 addition & 1 deletion packages/cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/docx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-docx-serializer

## 38.0.6

## 38.0.5

## 38.0.1
Expand Down
8 changes: 4 additions & 4 deletions packages/docx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-docx",
"version": "38.0.5",
"version": "38.0.6",
"description": "Docx serializer plugin for Plate",
"keywords": [
"docx",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/excalidraw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/find-replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/floating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/font/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/heading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading

0 comments on commit a1002dd

Please sign in to comment.