kysely
0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed
0.29.9 is the newest release of 0.28.x.
In short
1 new5 fixed2 internal
Security
3 advisories affect 0.28.10; 0.28.17 fixes them
- HighKysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`GHSA-pv5w-4p9q-p3v2 · 11 May 2026Fixed in 0.28.17
- HighKysely has a MySQL SQL Injection via Insufficient Backslash Escaping in `sql.lit(string)` usage or similar methods that append string literal values into the compiled SQL stringsGHSA-8cpq-38p9-67gx · 20 Mar 2026Fixed in 0.28.14
- HighSQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`.GHSA-wmrf-hv6w-mr66 · 18 Mar 2026Fixed in 0.28.12
Release note
Hey 👋
A small batch of bug fixes. Please report any issues. 🤞😰🤞
Bugfixes
Add
ExtractColumnTypeandDrainOuterGenerictype exports$narrowTypecompilation errors whencomposite: true.executeTakeFirstcompilation error when composite.with/withRecursivecompilation errors when composite.
PostgreSQL 🐘 / MSSQL
Migrator attempts to create custom migration schema even if it exists and fails on dialects that don't support
if not exists.
PostgreSQL 🐘 / SQLite
returningcompilation errors whencomposite.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.