mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
- postcss 8.5.15 -> 8.5.23 (GHSA-r28c-9q8g-f849, source-map path traversal) - brace-expansion override ^5.0.7 -> ^5.0.8 (GHSA-mh99-v99m-4gvg, DoS) react-router: pin react-router-dom to exact 7.18.1 (direct dep) and react-router to 7.18.1 via overrides (transitive). 7.18.1 is the most-patched 7.x -- it clears 14 advisories that older 7.x releases carry, several reachable from a SPA (open- redirect XSS in Link/useNavigate, route-matching DoS). The one remaining advisory, GHSA-qwww-vcr4-c8h2, is RSC-mode-only; Bambuddy is a Vite SPA using BrowserRouter with no RSC runtime (@react-router/server not installed), so the path is unreachable. The only version that fully clears npm audit is the 8.3.0 major (no react-router-dom 8.x exists; it needs migrating 50 import sites plus a React peer bump), deferred as its own change. Because a version pin can't stop npm from reporting the theoretical 7.11.0 downgrade as fixAvailable, the ci.yml (hard) and security.yml (nightly issue) audit gates gain a narrow, documented allowlist keyed on the GHSA id. It resolves the react-router-dom -> react-router advisory chain and stays fail-closed: a different advisory on react-router still fails the gate, and an isSemVerMajor guard drops the exemption the moment a non-major fix ships, forcing us to take it.
81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:run": "vitest run && npm run check:i18n",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ui": "vitest --ui",
|
|
"check:i18n": "node scripts/check-i18n-parity.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@floating-ui/dom": "^1.7.5",
|
|
"@tanstack/react-query": "^5.90.11",
|
|
"@tiptap/extension-color": "^3.11.1",
|
|
"@tiptap/extension-image": "^3.11.1",
|
|
"@tiptap/extension-link": "^3.11.1",
|
|
"@tiptap/extension-text-align": "^3.11.1",
|
|
"@tiptap/extension-text-style": "^3.11.1",
|
|
"@tiptap/extension-underline": "^3.11.1",
|
|
"@tiptap/react": "^3.11.1",
|
|
"@tiptap/starter-kit": "^3.11.1",
|
|
"@types/three": "^0.181.0",
|
|
"dompurify": "^3.4.10",
|
|
"gcode-preview": "^2.18.0",
|
|
"i18next": "25.6.3",
|
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
"jszip": "^3.10.1",
|
|
"lucide-react": "^0.555.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-i18next": "^16.3.5",
|
|
"react-markdown": "^9.1.0",
|
|
"react-router-dom": "7.18.1",
|
|
"react-simple-keyboard": "^3.8.164",
|
|
"recharts": "^3.5.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"three": "^0.181.2"
|
|
},
|
|
"overrides": {
|
|
"minimatch": "^10.2.1",
|
|
"brace-expansion": "^5.0.8",
|
|
"js-yaml": "^4.3.0",
|
|
"react-router": "7.18.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@tailwindcss/postcss": "^4.1.17",
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.0",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"@vitest/coverage-v8": "^4.1.8",
|
|
"autoprefixer": "^10.4.22",
|
|
"baseline-browser-mapping": "^2.9.19",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"jsdom": "^25.0.0",
|
|
"msw": "^2.6.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.17",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|