diff --git a/package-lock.json b/package-lock.json index f7d27bf07e4aafa..0182472c3255645 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@codingheads/sticky-header": "^1.0.2", "@iconify-json/material-symbols": "^1.2.7", "@stoplight/json-schema-tree": "^4.0.0", - "@types/dompurify": "^3.0.5", + "@types/dompurify": "^3.2.0", "@types/hast": "^3.0.4", "@types/he": "^1.2.3", "@types/node": "^22.9.1", @@ -36,7 +36,7 @@ "astro-live-code": "^0.0.4", "date-fns": "^4.1.0", "detype": "1.0.12", - "dompurify": "3.1.6", + "dompurify": "3.2.1", "dot-prop": "^9.0.0", "fast-glob": "^3.3.2", "github-slugger": "^2.0.0", @@ -4432,13 +4432,13 @@ "dev": true }, "node_modules/@types/dompurify": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@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.", "dev": true, - "license": "MIT", "dependencies": { - "@types/trusted-types": "*" + "dompurify": "*" } }, "node_modules/@types/estree": { @@ -4620,7 +4620,7 @@ "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", "dev": true, - "license": "MIT" + "optional": true }, "node_modules/@types/unist": { "version": "3.0.2", @@ -7587,11 +7587,13 @@ } }, "node_modules/dompurify": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", - "integrity": "sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.1.tgz", + "integrity": "sha512-NBHEsc0/kzRYQd+AY6HR6B/IgsqzBABrqJbpCDQII/OK6h7B7LXzweZTDsqSW2LkTRpoxf18YUP+YjGySk6B3w==", "dev": true, - "license": "(MPL-2.0 OR Apache-2.0)" + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } }, "node_modules/domutils": { "version": "3.1.0", @@ -10923,6 +10925,12 @@ } } }, + "node_modules/mermaid/node_modules/dompurify": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.6.tgz", + "integrity": "sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==", + "dev": true + }, "node_modules/mermaid/node_modules/marked": { "version": "13.0.3", "resolved": "https://registry.npmjs.org/marked/-/marked-13.0.3.tgz", diff --git a/package.json b/package.json index 69914c147423ade..446ac6ca90fd299 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@codingheads/sticky-header": "^1.0.2", "@iconify-json/material-symbols": "^1.2.7", "@stoplight/json-schema-tree": "^4.0.0", - "@types/dompurify": "^3.0.5", + "@types/dompurify": "^3.2.0", "@types/hast": "^3.0.4", "@types/he": "^1.2.3", "@types/node": "^22.9.1", @@ -53,7 +53,7 @@ "astro-live-code": "^0.0.4", "date-fns": "^4.1.0", "detype": "1.0.12", - "dompurify": "3.1.6", + "dompurify": "3.2.1", "dot-prop": "^9.0.0", "fast-glob": "^3.3.2", "github-slugger": "^2.0.0",