Files
supabase/apps/studio/lib
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
..
2025-09-23 12:00:08 -06:00
2025-07-28 11:20:09 +10:00
2025-05-08 12:23:37 +02:00
2025-04-08 11:32:29 +08:00
2025-05-09 15:26:08 +08:00
2025-05-09 15:26:08 +08:00
2025-05-10 09:08:20 -02:30
2025-05-26 15:43:14 +02:00
2025-05-10 09:08:20 -02:30
2025-05-10 09:08:20 -02:30
2025-05-10 09:08:20 -02:30