Commit Graph

14 Commits

Author SHA1 Message Date
misenhower
f92267d0bf Fix styling 2026-02-15 22:04:22 +00:00
Matt Isenhower
8780463c66 Replace deprecated and unmaintained packages
- Removed mkdirp in favor of native fs.mkdir({ recursive: true })
- Replaced ecstatic (unmaintained since 2021) with sirv
- Replaced jsonpath (security vulnerability) with jsonpath-plus
  - Added jsonpathQuery/jsonpathApply helpers in app/common/util.mjs
- Updated sharp: 0.32.6 → 0.34.5
- Updated puppeteer-core: 23.8.0 → 24.37.3

Vulnerabilities reduced from 40 to 1 (only remaining: axios in
threads-api transitive dependency).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:05:49 -08:00
Matt Isenhower
f45a4654d1 Extract shared cache expiry calculation to utility function
Deduplicate identical _calculateCacheExpiry methods from
SplatNet3Client and NsoClient into a shared calculateCacheExpiry
function in util.mjs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 20:04:23 -08:00
Matt Isenhower
3e2c31eaa7 Remove v-html 2024-03-16 22:41:13 -07:00
Matt Isenhower
38dd66b207 Fix <br /> in challenge posts 2023-11-23 08:31:11 -08:00
Matt Isenhower
e4e6051999 Run linter 2023-06-25 20:59:43 -07:00
Matt Isenhower
ba54d94e09 Make data archives more accessible, and store only one file per hour 2023-05-23 17:48:30 -07:00
Matt Isenhower
2c1a77e63a Improve readability for X-Rank season IDs 2023-02-12 09:22:36 -08:00
Matt Isenhower
9719317a53 Consolidate festival ID parsing functions 2023-02-11 14:25:52 -08:00
Matt Isenhower
f689f13d9c Tweak derived ID logic to ensure consistency
This now strips out the domain and query string from the URL before hashing it. This way, we can help ensure the hashes will stay the same when those parameters change.
2022-10-20 16:16:46 -07:00
Matt Isenhower
133ed8ce56 Use shorter derived ID values 2022-10-17 20:55:20 -07:00
Matt Isenhower
47d0abb747 Retrieve localized strings from SplatNet 2022-10-17 20:32:38 -07:00
Matt Isenhower
212f05c88c Add gear icon to regular gear tweet 2022-10-04 16:26:41 -07:00
Matt Isenhower
668da0c1a9 Move "last tweet" tracking to the tweet generator 2022-09-20 20:32:51 -07:00