From f6feaebc5a99f70eb403fa0184b140b933b516d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 13:41:08 +0000 Subject: [PATCH] build(deps): bump dompurify and @types/dompurify in /clients/ui/frontend (#649) Bumps [dompurify](https://github.com/cure53/DOMPurify) and [@types/dompurify](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dompurify). These dependencies needed to be updated together. Updates `dompurify` from 2.5.8 to 3.2.3 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.5.8...3.2.3) Updates `@types/dompurify` from 2.4.0 to 3.2.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dompurify) --- updated-dependencies: - dependency-name: dompurify dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/dompurify" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- clients/ui/frontend/package-lock.json | 27 ++++++++++++++------------- clients/ui/frontend/package.json | 4 ++-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/clients/ui/frontend/package-lock.json b/clients/ui/frontend/package-lock.json index 503b8b2c..71842ba3 100644 --- a/clients/ui/frontend/package-lock.json +++ b/clients/ui/frontend/package-lock.json @@ -18,7 +18,7 @@ "@patternfly/react-table": "6.0.0", "@patternfly/react-templates": "6.0.0", "classnames": "^2.2.6", - "dompurify": "^2.2.6", + "dompurify": "^3.2.3", "lodash-es": "^4.17.15", "npm-run-all": "^4.1.5", "react": "^18", @@ -43,7 +43,7 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "14.5.2", "@types/classnames": "^2.3.1", - "@types/dompurify": "^2.2.6", + "@types/dompurify": "^3.2.0", "@types/jest": "^29.5.13", "@types/lodash-es": "^4.17.8", "@types/react-dom": "^18.3.1", @@ -4397,13 +4397,13 @@ "license": "MIT" }, "node_modules/@types/dompurify": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-2.4.0.tgz", - "integrity": "sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.2.0.tgz", + "integrity": "sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==", + "deprecated": "This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.", "dev": true, - "license": "MIT", "dependencies": { - "@types/trusted-types": "*" + "dompurify": "*" } }, "node_modules/@types/eslint": { @@ -4821,8 +4821,7 @@ "version": "2.0.7", "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "dev": true, - "license": "MIT" + "optional": true }, "node_modules/@types/ws": { "version": "8.5.13", @@ -8473,10 +8472,12 @@ } }, "node_modules/dompurify": { - "version": "2.5.8", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.5.8.tgz", - "integrity": "sha512-o1vSNgrmYMQObbSSvF/1brBYEQPHhV1+gsmrusO7/GXtp1T9rCS8cXFqVxK/9crT1jA6Ccv+5MTSjBNqr7Sovw==", - "license": "(MPL-2.0 OR Apache-2.0)" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.3.tgz", + "integrity": "sha512-U1U5Hzc2MO0oW3DF+G9qYN0aT7atAou4AgI0XjWz061nyBPbdxkfdhfy5uMgGn6+oLFCfn44ZGbdDqCzVmlOWA==", + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } }, "node_modules/domutils": { "version": "2.8.0", diff --git a/clients/ui/frontend/package.json b/clients/ui/frontend/package.json index 7e86bbd5..075d02cf 100644 --- a/clients/ui/frontend/package.json +++ b/clients/ui/frontend/package.json @@ -46,7 +46,7 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "14.5.2", "@types/classnames": "^2.3.1", - "@types/dompurify": "^2.2.6", + "@types/dompurify": "^3.2.0", "@types/jest": "^29.5.13", "@types/lodash-es": "^4.17.8", "@types/react-dom": "^18.3.1", @@ -116,7 +116,7 @@ "react-dom": "^18", "react-router": "^7.0.2", "sass": "^1.78.0", - "dompurify": "^2.2.6", + "dompurify": "^3.2.3", "showdown": "^2.1.0", "classnames": "^2.2.6" },