Files
openccb/web/experience/package.json
T
Nurfog 2c8bfaa20e chore: update dependencies and improve MermaidBlock security
- Updated mermaid from version 11.13.0 to 9.1.7 for compatibility.
- Upgraded next from version 14.2.21 to ^14.2.35 for the latest features and fixes.
- Added @types/dompurify and isomorphic-dompurify for improved sanitization.
- Replaced innerHTML assignment in MermaidBlock with sanitized SVG using DOMPurify.
- Updated eslint-config-next to ^16.2.4 for better linting support.
2026-04-28 15:15:16 -04:00

46 lines
1.2 KiB
JSON

{
"name": "experience",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"type-check": "tsc --noEmit",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\""
},
"dependencies": {
"@types/dompurify": "^3.0.5",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"framer-motion": "^11.2.10",
"isomorphic-dompurify": "^3.10.0",
"lodash": "^4.17.21",
"lucide-react": "^0.395.0",
"mermaid": "^9.1.7",
"next": "^14.2.35",
"react": "^18",
"react-dom": "^18",
"react-markdown": "^10.1.0",
"recharts": "^3.7.0",
"tailwind-merge": "^2.3.0"
},
"devDependencies": {
"@types/lodash": "^4.17.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.4.19",
"eslint": "^8",
"eslint-config-next": "^16.2.4",
"postcss": "^8",
"prettier": "^3.2.0",
"prettier-plugin-tailwindcss": "^0.5.0",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}