Replace isomorphic-dompurify with sanitize-html for Node 21 compat (#663)

This commit is contained in:
Thomas Durieux
2026-04-15 04:57:21 +02:00
committed by GitHub
parent 655ae92c4c
commit 95324fd09f
4 changed files with 429 additions and 4170 deletions
+2 -1
View File
@@ -50,7 +50,6 @@
"express-slow-down": "^2.0.1",
"got": "^11.8.6",
"inquirer": "^8.2.6",
"isomorphic-dompurify": "^3.8.0",
"istextorbinary": "^9.5.0",
"marked": "^5.1.2",
"mime-types": "^2.1.35",
@@ -61,6 +60,7 @@
"passport-github2": "^0.1.12",
"rate-limit-redis": "^4.2.0",
"redis": "^4.6.13",
"sanitize-html": "^2.17.2",
"ts-custom-error": "^3.3.1",
"unzip-stream": "^0.3.1"
},
@@ -79,6 +79,7 @@
"@types/parse-github-url": "^1.0.3",
"@types/passport": "^1.0.16",
"@types/passport-github2": "^1.2.9",
"@types/sanitize-html": "^2.16.1",
"@types/unzip-stream": "^0.3.4",
"chai": "^4.5.0",
"eslint": "^10.2.0",