Files
elegalsoftware/apps/api/package.json
T
Leon SerfatyandClaude Opus 5 eb36b81dc9 Superadmin impersonation, hardened auth/upload paths, dependency updates
- Add superadmin impersonation: sessions.impersonated_by (migration 0003) is
  stamped onto audit rows so impersonated actions are attributable, with a
  persistent ImpersonationBanner in the app shell.
- Harden auth and upload handling across routes (safe redirect targets,
  filename sanitization, checkout grant handling).
- Update dependencies: Sentry 8 -> 10, @fastify/static 8 -> 10,
  react-router-dom 6.30.6; add find-my-way / fast-uri overrides.
- Add tests for safe-next, checkout-grant, and upload-filename.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 10:25:39 -04:00

50 lines
1.3 KiB
JSON

{
"name": "@lawdesk/api",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "./src/server.ts",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.json --noEmit",
"start": "tsx src/server.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "vitest run -c vitest.e2e.config.ts",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.111.0",
"@aws-sdk/client-s3": "^3.1088.0",
"@aws-sdk/s3-request-presigner": "^3.1088.0",
"@fastify/cookie": "^11.0.1",
"@fastify/cors": "^10.0.1",
"@fastify/helmet": "^12.0.1",
"@fastify/multipart": "^9.0.1",
"@fastify/rate-limit": "^10.2.1",
"@fastify/static": "^10.1.3",
"@lawdesk/db": "*",
"@sentry/node": "^10.71.0",
"argon2": "^0.41.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.45.2",
"fastify": "^5.1.0",
"fastify-plugin": "^5.0.1",
"fastify-type-provider-zod": "^4.0.2",
"pdfkit": "^0.15.0",
"pg": "^8.13.1",
"pino": "^9.5.0",
"stripe": "^17.4.0",
"tsx": "^4.19.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.9.1",
"@types/pdfkit": "^0.13.5",
"@types/pg": "^8.11.10",
"pino-pretty": "^11.3.0",
"typescript": "^5.6.3",
"vitest": "^3.2.7"
}
}