Commit Graph

4 Commits

Author SHA1 Message Date
Mia
d380afdb82
Add an action to query teams from a database (#19) 2023-09-24 21:12:15 -05:00
Mia
970aec08b1 Add pg to package.json 2023-03-27 09:38:22 -05:00
Guangcong Luo
317c0623db
Remove sql-template-strings dependency
Frivolous dependencies are bad for perf and bad for security.

The usual justification for frivolous dependencies is something like
"a community-maintained package is more likely to be bug-free and
maintained than something you wrote yourself", but:

1. frivolous dependencies are usually maintained by Just Some Random
   Guy, not by some community
2. you are probably more likely to introduce a bug using some guy's API
   incorrectly, than by writing a few lines of raw JavaScript that you
   understand inside and out
3. if that guy deprecates his package, or decides to ragequit, or
   whatever, you do not want to be depending on it
4. debugging becomes a lot more annoying
5. the dependency is full of unnecessary complexity to support use
   cases we're not even using

Anyway, yeah, there's no need for this dependency.
2023-03-06 21:31:35 -08:00
Mia
8308148fde Add package-lock.json 2023-01-22 13:54:23 -06:00