chore: fix remaining dependabot security vulnerabilities (hugo, postcss, dompurify, fast-uri)

This commit is contained in:
duorameng
2026-06-09 19:06:54 +08:00
parent 112a680312
commit 672fa77b2d
4 changed files with 128 additions and 76 deletions
+36 -1
View File
@@ -8,7 +8,10 @@
"name": "baihu-docs",
"version": "1.0.0",
"dependencies": {
"@scalar/api-reference": "^1.48.2"
"@scalar/api-reference": "^1.59.0",
"dompurify": "^3.4.8",
"fast-uri": "^3.1.2",
"postcss": "^8.5.15"
},
"devDependencies": {
"vitepress": "^1.6.4"
@@ -2530,6 +2533,13 @@
"undici-types": "~7.16.0"
}
},
"node_modules/@types/trusted-types": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"license": "MIT",
"optional": true
},
"node_modules/@types/unist": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
@@ -3113,6 +3123,15 @@
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/dompurify": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.8.tgz",
"integrity": "sha512-yb1cEmaOum7wFvOCSQxyfgVlv5D47Rc30iZWoMpbDIWTnJ6grDDQyu2KFJzB2k7u0pMuJcQ1zphH//fFnw2tjQ==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optionalDependencies": {
"@types/trusted-types": "^2.0.7"
}
},
"node_modules/emoji-regex-xs": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex-xs/-/emoji-regex-xs-1.0.0.tgz",
@@ -3210,6 +3229,22 @@
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"license": "MIT"
},
"node_modules/fast-uri": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz",
"integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/fastify"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fastify"
}
],
"license": "BSD-3-Clause"
},
"node_modules/flatted": {
"version": "3.4.2",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
+4 -1
View File
@@ -10,6 +10,9 @@
"vitepress": "^1.6.4"
},
"dependencies": {
"@scalar/api-reference": "^1.48.2"
"@scalar/api-reference": "^1.59.0",
"dompurify": "^3.4.8",
"fast-uri": "^3.1.2",
"postcss": "^8.5.15"
}
}