fix(scripts): make the sql Date-binding audit precise and crash-proof… · simstudioai/sim@8c49d35 · GitHub
Skip to content

Commit 8c49d35

Browse files
authored
fix(scripts): make the sql Date-binding audit precise and crash-proof (#6340)
* fix(scripts): make the sql Date-binding audit precise and crash-proof Resolve the drizzle `sql` tag from its import binding, scope Date bindings lexically, tolerate unparseable files, accept the allow annotation above a multi-line template, and scan the root scripts directory. * fix(scripts): honor shadowed bindings and defaulted destructured Dates * fix(scripts): audit drizzle sql tags bound through a dynamic import * chore(scripts): drop the sql Date-binding unit tests and the exports that served them * chore(scripts): drop the script unit tests and the exports that served them
1 parent 0ae09c1 commit 8c49d35

7 files changed

Lines changed: 420 additions & 392 deletions

‎package.json‎

Lines changed: 2 additions & 2 deletions

‎scripts/check-migrations-safety.test.ts‎

Lines changed: 0 additions & 200 deletions
This file was deleted.

‎scripts/check-migrations-safety.ts‎

Lines changed: 1 addition & 1 deletion

‎scripts/check-sql-date-binding.test.ts‎

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)