Chore/Safe Parse HTML (#4905)

Refactor: Update pnpm-lock.yaml and enhance UI components for safe HTML rendering

- Updated pnpm-lock.yaml to improve dependency management and ensure consistency.
- Refactored the JSONViewer component to utilize a new JsonToken for syntax highlighting.
- Introduced SafeHTML component to sanitize and safely render HTML content in ViewMessagesDialog and NodeExecutionDetails.
- Replaced direct HTML rendering with SafeHTML in ChatMessage component for enhanced security.
This commit is contained in:
Henry Heng
2025-07-20 10:59:44 +01:00
committed by GitHub
parent 96a57a58e7
commit 9a06a85a8d
8 changed files with 166 additions and 49 deletions
+1
View File
@@ -36,6 +36,7 @@
"@uiw/react-codemirror": "^4.21.21",
"axios": "1.7.9",
"clsx": "^1.1.1",
"dompurify": "^3.2.6",
"dotenv": "^16.0.0",
"flowise-embed": "latest",
"flowise-embed-react": "latest",