feat: add dompurify

This commit is contained in:
EETagent 2022-12-04 14:46:34 +01:00
parent 86c1a8a126
commit 08144a6e48
2 changed files with 20 additions and 0 deletions

View file

@ -16,6 +16,7 @@
"@playwright/test": "1.25.0",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@types/dompurify": "^2.4.0",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.28.0",
@ -36,6 +37,7 @@
"type": "module",
"dependencies": {
"axios": "^1.2.0",
"dompurify": "^2.4.1",
"filedrop-svelte": "^0.1.2",
"svelte-forms-lib": "^2.0.1",
"swiper": "^8.4.5",

View file

@ -4,9 +4,11 @@ specifiers:
'@playwright/test': 1.25.0
'@sveltejs/adapter-auto': next
'@sveltejs/kit': next
'@types/dompurify': ^2.4.0
'@typescript-eslint/eslint-plugin': ^5.44.0
'@typescript-eslint/parser': ^5.44.0
axios: ^1.2.0
dompurify: ^2.4.1
eslint: ^8.28.0
eslint-config-prettier: ^8.5.0
eslint-plugin-svelte3: ^4.0.0
@ -28,6 +30,7 @@ specifiers:
dependencies:
axios: 1.2.0
dompurify: 2.4.1
filedrop-svelte: 0.1.2
svelte-forms-lib: 2.0.1
swiper: 8.4.5
@ -37,6 +40,7 @@ devDependencies:
'@playwright/test': 1.25.0
'@sveltejs/adapter-auto': 1.0.0-next.90
'@sveltejs/kit': 1.0.0-next.571_svelte@3.53.1+vite@3.2.4
'@types/dompurify': 2.4.0
'@typescript-eslint/eslint-plugin': 5.44.0_fnsv2sbzcckq65bwfk7a5xwslu
'@typescript-eslint/parser': 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a
eslint: 8.28.0
@ -239,6 +243,12 @@ packages:
resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==}
dev: true
/@types/dompurify/2.4.0:
resolution: {integrity: sha512-IDBwO5IZhrKvHFUl+clZxgf3hn2b/lU6H1KaBShPkQyGJUQ0xwebezIPSuiyGwfz1UzJWQl4M7BDxtHtCCPlTg==}
dependencies:
'@types/trusted-types': 2.0.2
dev: true
/@types/json-schema/7.0.11:
resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
dev: true
@ -269,6 +279,10 @@ packages:
resolution: {integrity: sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==}
dev: true
/@types/trusted-types/2.0.2:
resolution: {integrity: sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==}
dev: true
/@typescript-eslint/eslint-plugin/5.44.0_fnsv2sbzcckq65bwfk7a5xwslu:
resolution: {integrity: sha512-j5ULd7FmmekcyWeArx+i8x7sdRHzAtXTkmDPthE4amxZOWKFK7bomoJ4r7PJ8K7PoMzD16U8MmuZFAonr1ERvw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -626,6 +640,10 @@ packages:
ssr-window: 4.0.2
dev: false
/dompurify/2.4.1:
resolution: {integrity: sha512-ewwFzHzrrneRjxzmK6oVz/rZn9VWspGFRDb4/rRtIsM1n36t9AKma/ye8syCpcw+XJ25kOK/hOG7t1j2I2yBqA==}
dev: false
/es6-promise/3.3.1:
resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==}
dev: true