• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 27760253447

18 Jun 2026 12:43PM UTC coverage: 60.005% (-18.2%) from 78.232%
27760253447

push

github

web-flow
fix: limit for delete objects and sign urls (#1160)

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>

3351 of 6375 branches covered (52.56%)

Branch coverage included in aggregate %.

25 of 31 new or added lines in 4 files covered. (80.65%)

2041 existing lines in 86 files now uncovered.

7151 of 11127 relevant lines covered (64.27%)

354.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.33
/src/internal/database/sql.ts
1
const POSTGRES_IDENTIFIER_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/
48✔
2

3
export function quoteIdentifier(identifier: string): string {
4
  if (!POSTGRES_IDENTIFIER_PATTERN.test(identifier)) {
19,545!
UNCOV
5
    throw new Error(`Invalid PostgreSQL identifier: ${identifier}`)
×
6
  }
7

8
  return `"${identifier}"`
19,545✔
9
}
10

11
export function quoteQualifiedIdentifier(tableName: string): string {
12
  const [schema, name, ...rest] = tableName.split('.')
21✔
13

14
  if (!schema || !name || rest.length > 0) {
21!
UNCOV
15
    throw new Error(`Invalid PostgreSQL table name: ${tableName}`)
×
16
  }
17

18
  return `${quoteIdentifier(schema)}.${quoteIdentifier(name)}`
21✔
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc