Files
metabuilder/frontends/nextjs/src/lib/database.ts
JohnDoe6345789 089c93e649 feat(security): add comprehensive security scanning functions and patterns
- Implemented severity color and icon helpers for better UI representation.
- Created a set of security patterns for JavaScript, Lua, and SQL injection detection.
- Developed scanning functions for JavaScript, HTML, JSON, and Lua to identify vulnerabilities.
- Added sanitization utility to clean user input based on content type.
- Introduced types for security scan results and issues to standardize output.
- Enhanced overall severity calculation logic to determine the highest risk level from detected issues.
2025-12-25 18:01:03 +00:00

11 lines
266 B
TypeScript

/**
* Database module - re-exports from @/lib/db
*
* This file exists for backward compatibility.
* Prefer importing directly from '@/lib/db' for new code.
*/
// Re-export everything from the new db module
export * from './db'
export { Database } from './db'