ghostguild-org/package.json
Jennie Robinson Faber b7279f57d1 Add Zod validation, fix mass assignment, remove test endpoints and dead code
- Add centralized Zod schemas (server/utils/schemas.js) and validateBody
  utility for all API endpoints
- Fix critical mass assignment in member creation: raw body no longer
  passed to new Member(), only validated fields (email, name, circle,
  contributionTier) are accepted
- Apply Zod validation to login, profile patch, event registration,
  updates, verify-payment, and admin event creation endpoints
- Fix logout cookie flags to match login (httpOnly: true, secure
  conditional on NODE_ENV)
- Delete unauthenticated test/debug endpoints (test-connection,
  test-subscription, test-bot)
- Remove sensitive console.log statements from Helcim and member
  endpoints
- Remove unused bcryptjs dependency
- Add 10MB file size limit on image uploads
- Use runtime config for JWT secret across all endpoints
- Add 38 validation tests (117 total, all passing)
2026-03-01 14:02:46 +00:00

44 lines
1.1 KiB
JSON

{
"name": "nuxt-app",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"test": "vitest",
"test:run": "vitest run"
},
"dependencies": {
"@cloudinary/vue": "^1.13.3",
"@headlessui/vue": "^1.7.23",
"@heroicons/vue": "^2.2.0",
"@nuxt/eslint": "^1.9.0",
"@nuxt/ui": "^4.0.0",
"@nuxtjs/plausible": "^3.0.1",
"@slack/web-api": "^7.10.0",
"chrono-node": "^2.8.4",
"cloudinary": "^2.7.0",
"eslint": "^9.34.0",
"isomorphic-dompurify": "^3.0.0",
"jsonwebtoken": "^9.0.2",
"marked": "^17.0.3",
"mongoose": "^8.18.0",
"nitro-cors": "^0.7.1",
"nuxt": "^4.0.3",
"rate-limiter-flexible": "^9.1.1",
"resend": "^6.0.1",
"typescript": "^5.9.2",
"vue": "^3.5.20",
"vue-cal": "^5.0.1-rc.28",
"zod": "^4.1.3"
},
"devDependencies": {
"@nuxt/test-utils": "^4.0.0",
"@tailwindcss/typography": "^0.5.19",
"jsdom": "^28.1.0",
"vitest": "^4.0.18"
}
}