aiongg
|
99cd1cd07d
|
Async codemod for the Db interface: awaits database calls and calls of functions that become async to a fixpoint over the program (TypeScript 5 as the ts5 tool dependency), rewrites BEGIN IMMEDIATE/BEGIN blocks into db.write/db.read, array callbacks into sequential helpers (src/async-seq.ts), and the API to Db/Statement, script, inTransaction, for await, connectDb/openDb; reports residue and read-then-write candidates per subsystem (scripts/codemod-async-report.md, from main). test/no-floating-promises.test.ts fails on unawaited promise statements outside test/floating-promises.allow
|
2026-11-21 16:41:31 +00:00 |
|