Files
DeepTutor/web/package.json
RinCodeForge927 e071c3755b security: patch path traversal in jspdf and tighten pre-commit hooks
Cleaning up some critical vulnerabilities found during the last audit. Specifically:
- Upgraded jspdf in web/ to fix a critical Path Traversal vulnerability.
- Removed --exit-zero from ruff pre-commit hooks so we actually block broken code instead of just auto-fixing and moving on.
- Re-enabled ESLint in the pre-commit pipeline to maintain frontend code standards.
- Updated vitepress in docs/ to clear out some moderate CVEs in the dev server dependencies.
2026-01-06 23:52:01 +07:00

41 lines
939 B
JSON

{
"name": "opentutor-web",
"version": "0.2.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"clsx": "^2.1.1",
"cytoscape": "^3.33.1",
"framer-motion": "^12.24.0",
"html2canvas": "^1.4.1",
"jspdf": "^4.0.0",
"lucide-react": "^0.562.0",
"mermaid": "^11.12.2",
"next": "^16.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"autoprefixer": "^10.4.20",
"eslint": "^9",
"eslint-config-next": "16.1.1",
"postcss": "^8",
"tailwindcss": "^3.4.17",
"typescript": "^5"
}
}