mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
5.0.8's maxLength cap was applied in combine(), where output is merged, but not to the two arrays built before it runs: comma alternatives each got their own full allowance and were concatenated with no running total, and padded sequences never consulted maxLength at all. So a ~25 KB pattern still OOMs the process -- fatally, past the reach of try/catch -- and a ~400 KB one blocks the event loop for over two minutes. 5.0.9 bounds both as they are built. Dev-only and transitive here: it reaches us as eslint -> minimatch@5 -> brace-expansion, the only input it sees is our own lint globs, and it is not in the shipped bundle. The ci.yml audit gate runs --omit=dev, so this never would have failed CI; it surfaced through Dependabot. The overrides floor is bumped alongside the lockfile so a clean install can't resolve back to the vulnerable 5.0.8.
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.9",
|
|
"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"
|
|
}
|
|
}
|