fix: use url-parse for url construction (#15670)

This fixes some CodeQL-flagged issues. They're not real issues but the
refactor is small and it'll keep the analysis tools quiet.
This commit is contained in:
Jon Ayers
2024-11-27 23:52:11 +02:00
committed by GitHub
parent 40f12aeca3
commit ffb0ebb5b6
5 changed files with 103 additions and 11 deletions
+3 -1
View File
@@ -26,13 +26,15 @@
"react-icons": "4.12.0",
"react-markdown": "9.0.1",
"rehype-raw": "7.0.0",
"remark-gfm": "4.0.0"
"remark-gfm": "4.0.0",
"sanitize-html": "2.13.1"
},
"devDependencies": {
"@types/lodash": "4.17.13",
"@types/node": "20.17.6",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/sanitize-html": "2.13.0",
"eslint": "8.57.1",
"eslint-config-next": "14.2.16",
"prettier": "3.3.3",