Skip to content

Commit 72ede74

Browse files
authored
[WC-2854] Update DOMPurify dependency (#1483)
2 parents 8a06ac8 + 641efad commit 72ede74

File tree

5 files changed

+24
-51
lines changed

5 files changed

+24
-51
lines changed

packages/pluggableWidgets/html-element-web/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Security
10+
11+
- Updated dompurify library to version 3.2.4 to incorporate latest improvements and security fixes.
12+
913
## [1.2.1] - 2024-08-23
1014

1115
### Security

packages/pluggableWidgets/html-element-web/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mendix/html-element-web",
33
"widgetName": "HTMLElement",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"description": "Displays custom HTML",
66
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
77
"license": "Apache-2.0",
@@ -45,10 +45,9 @@
4545
"@mendix/eslint-config-web-widgets": "workspace:*",
4646
"@mendix/pluggable-widgets-tools": "*",
4747
"@mendix/prettier-config-web-widgets": "workspace:*",
48-
"@mendix/widget-plugin-platform": "workspace:*",
49-
"@types/dompurify": "^2.4.0"
48+
"@mendix/widget-plugin-platform": "workspace:*"
5049
},
5150
"dependencies": {
52-
"dompurify": "^2.5.7"
51+
"dompurify": "^3.2.4"
5352
}
5453
}

packages/pluggableWidgets/html-element-web/src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="HTMLElement" version="1.2.1" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="HTMLElement" version="1.2.2" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="HTMLElement.xml" />
66
</widgetFiles>

packages/pluggableWidgets/rich-text-web/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"@mendix/widget-plugin-platform": "workspace:*",
5353
"@mendix/widget-plugin-test-utils": "workspace:*",
5454
"@rollup/plugin-json": "^6.1.0",
55-
"@types/dompurify": "^2.4.0",
5655
"@types/katex": "^0.16.7",
5756
"@types/sanitize-html": "^1.27.2",
5857
"cross-env": "^7.0.3",
@@ -65,7 +64,7 @@
6564
"dependencies": {
6665
"@floating-ui/react": "^0.26.27",
6766
"classnames": "^2.2.6",
68-
"dompurify": "^2.5.7",
67+
"dompurify": "^3.2.4",
6968
"katex": "^0.16.11",
7069
"linkifyjs": "^4.1.3",
7170
"parchment": "^3.0.0",

pnpm-lock.yaml

Lines changed: 15 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)