Files
supabase/apps
Sean Oliver bc8597336d Replace regex parser with @supabase/pg-parser for robust SQL parsing
- Use @supabase/pg-parser for proper AST-based SQL parsing
- Fix ReDoS vulnerability by using existing removeCommentsFromSql
- Add comprehensive tests for PostgreSQL edge cases:
  - Quoted identifiers with spaces, hyphens, numbers
  - CREATE TEMP/TEMPORARY/UNLOGGED TABLE variants
  - CREATE TABLE AS SELECT
  - INSERT ... SELECT with undefined row count
  - ALTER TABLE ENABLE ROW LEVEL SECURITY
- Handle async parsing with proper error handling
- Support schema-qualified table names with dots
- 55/56 tests passing (nested comments limitation is acceptable)
2025-09-25 19:30:22 -04:00
..