()
| 75 | |
| 76 | /** Clears client-side promise caches. Exported for use in tests. */ |
| 77 | export function clearClientCaches() { |
| 78 | npmDailyRangeCache?.clear() |
| 79 | likesEvolutionCache?.clear() |
| 80 | contributorsEvolutionCache?.clear() |
| 81 | repoMetaCache?.clear() |
| 82 | } |
| 83 | |
| 84 | type GitHubContributorWeek = { |
| 85 | w: number |