Skip to content

Commit 9ddd0e6

Browse files
authored
HTML content sanitization and parsing for html tags inside toast (#350)
* Add HTML content sanitization using DOMPurify for parsing html tags inside toast * Add HTML content sanitization using DOMPurify for parsing html tags inside toast * regenerate package-lock.json file, updated pnpm-lock.yaml
1 parent 4088630 commit 9ddd0e6

File tree

3 files changed

+1017
-1043
lines changed

3 files changed

+1017
-1043
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@
3838
},
3939
"devDependencies": {
4040
"@playwright/test": "^1.30.0",
41+
"@types/dompurify": "^3.0.5",
4142
"@types/node": "^18.11.13",
4243
"@types/react": "^18.0.26",
44+
"dompurify": "^3.0.9",
4345
"prettier": "^2.8.4",
4446
"react": "^18.2.0",
4547
"react-dom": "^18.2.0",
@@ -52,4 +54,4 @@
5254
"react-dom": "^18.0.0"
5355
},
5456
"packageManager": "[email protected]"
55-
}
57+
}

0 commit comments

Comments
 (0)