Skip to content

Commit f53b484

Browse files
Update dependency dompurify to v3 [SECURITY]
1 parent 8f406fb commit f53b484

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.9.2",
11-
"dompurify": "^2.0.8",
11+
"dompurify": "^3.0.0",
1212
"highlight.js": "^10.0.0",
1313
"html-to-image": "^1.0.0",
1414
"katex": "^0.12.0",

yarn.lock

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,11 @@
872872
resolved "https://registry.npm.taobao.org/@types/trusted-types/download/@types/trusted-types-1.0.4.tgz#922d092c84a776a59acb0bd6785fd82b59b9bad5"
873873
integrity sha1-ki0JLISndqWaywvWeF/YK1m5utU=
874874

875+
"@types/trusted-types@^2.0.7":
876+
version "2.0.7"
877+
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11"
878+
integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==
879+
875880
"@typescript-eslint/eslint-plugin@^2.26.0":
876881
version "2.26.0"
877882
resolved "https://registry.npm.taobao.org/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-2.26.0.tgz#04c96560c8981421e5a9caad8394192363cc423f"
@@ -1450,10 +1455,12 @@ doctrine@^3.0.0:
14501455
dependencies:
14511456
esutils "^2.0.2"
14521457

1453-
dompurify@^2.0.8:
1454-
version "2.2.6"
1455-
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.2.6.tgz#54945dc5c0b45ce5ae228705777e8e59d7b2edc4"
1456-
integrity sha512-7b7ZArhhH0SP6W2R9cqK6RjaU82FZ2UPM7RO8qN1b1wyvC/NY1FNWcX1Pu00fFOAnzEORtwXe4bPaClg6pUybQ==
1458+
dompurify@^3.0.0:
1459+
version "3.3.3"
1460+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.3.3.tgz#680cae8af3e61320ddf3666a3bc843f7b291b2b6"
1461+
integrity sha512-Oj6pzI2+RqBfFG+qOaOLbFXLQ90ARpcGG6UePL82bJLtdsa6CYJD7nmiU8MW9nQNOtCHV3lZ/Bzq1X0QYbBZCA==
1462+
optionalDependencies:
1463+
"@types/trusted-types" "^2.0.7"
14571464

14581465
electron-to-chromium@^1.3.390:
14591466
version "1.3.397"

0 commit comments

Comments
 (0)