diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b698fbb0..9556756b 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -9,12 +9,12 @@ "version": "0.5.1", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", - "@types/dompurify": "^3.0.5", + "@types/dompurify": "^3.2.0", "@types/papaparse": "^5.5.2", "@vue-office/pptx": "^1.0.1", "axios": "^1.8.4", "docx-preview": "^0.3.7", - "dompurify": "^3.2.6", + "dompurify": "^3.4.2", "highlight.js": "^11.11.1", "katex": "^0.16.45", "marked": "^17.0.5", @@ -1749,12 +1749,13 @@ } }, "node_modules/@types/dompurify": { - "version": "3.0.5", - "resolved": "https://mirrors.tencent.com/npm/@types/dompurify/-/dompurify-3.0.5.tgz", - "integrity": "sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==", + "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.", "license": "MIT", "dependencies": { - "@types/trusted-types": "*" + "dompurify": "*" } }, "node_modules/@types/eslint": { @@ -1841,7 +1842,8 @@ "version": "2.0.7", "resolved": "https://mirrors.tencent.com/npm/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/@types/validator": { "version": "13.15.2", @@ -3193,9 +3195,10 @@ } }, "node_modules/dompurify": { - "version": "3.4.1", - "resolved": "https://mirrors.tencent.com/npm/dompurify/-/dompurify-3.4.1.tgz", - "integrity": "sha512-JahakDAIg1gyOm7dlgWSDjV4n7Ip2PKR55NIT6jrMfIgLFgWo81vdr1/QGqWtFNRqXP9UV71oVePtjqS2ebnPw==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.2.tgz", + "integrity": "sha512-lHeS9SA/IKeIFFyYciHBr2n0v1VMPlSj843HdLOwjb2OxNwdq9Xykxqhk+FE42MzAdHvInbAolSE4mhahPpjXA==", + "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" } diff --git a/frontend/package.json b/frontend/package.json index 456ac6e6..3a18b1f6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -13,12 +13,12 @@ }, "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", - "@types/dompurify": "^3.0.5", + "@types/dompurify": "^3.2.0", "@types/papaparse": "^5.5.2", "@vue-office/pptx": "^1.0.1", "axios": "^1.8.4", "docx-preview": "^0.3.7", - "dompurify": "^3.2.6", + "dompurify": "^3.4.2", "highlight.js": "^11.11.1", "katex": "^0.16.45", "marked": "^17.0.5",