replace 'sanitize-html' with 'dompurify' due to it working better as esmodule and being the recommendation of 'marked'

This commit is contained in:
Jacob Overgaard
2023-10-31 16:45:26 +01:00
parent 6a28171952
commit b1d059c1b7
3 changed files with 30 additions and 116 deletions

View File

@@ -127,15 +127,17 @@
},
"dependencies": {
"@openid/appauth": "^1.3.1",
"@types/dompurify": "^3.0.4",
"@types/uuid": "^9.0.2",
"@umbraco-ui/uui": "1.5.0",
"@umbraco-ui/uui-css": "1.5.0",
"dompurify": "^3.0.6",
"element-internals-polyfill": "^1.3.7",
"lit": "^2.8.0",
"lodash-es": "4.17.21",
"marked": "^9.1.0",
"monaco-editor": "^0.41.0",
"rxjs": "^7.8.1",
"sanitize-html": "^2.11.0",
"tinymce": "^6.7.1",
"tinymce-i18n": "^23.8.7",
"uuid": "^9.0.0"
@@ -158,8 +160,6 @@
"@types/chai": "^4.3.5",
"@types/lodash-es": "^4.17.8",
"@types/mocha": "^10.0.1",
"@types/sanitize-html": "^2.9.2",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.5.0",
"@web/dev-server-esbuild": "^0.4.1",