| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| @ts-safeql_plugin-utils@5.3.0 source code.tar.gz | 2026-06-30 | 1.6 MB | |
| @ts-safeql_plugin-utils@5.3.0 source code.zip | 2026-06-30 | 1.8 MB | |
| README.md | 2026-06-30 | 536 Bytes | |
| Totals: 3 Items | 3.3 MB | 0 | |
Minor Changes
- 09fcf97: Validate the
<T>annotation on rawsqlfragments embedded in Kysely query-builder chains.
SafeQL now checks that annotation against the type the database returns and autofixes it on a mismatch. A selection like sql<number>`name || bio`.as("credit_line") whose column is string gets flagged; a .where(sql<number>`bio is not null`) condition gets corrected to boolean. Conditions accept both SqlBool and boolean, and fragments wrapped in parentheses or as are checked like bare ones.