Skip to content

Commit cd5e509

Browse files
committed
feat(graveyard): add 4 famous casualties
Closes #9 Adds caolan/async, petkaantonov/bluebird, expressjs/csurf, and tj/co to both KNOWN_REPO_CAUSES and HALL_OF_SHAME.
1 parent 103315a commit cd5e509

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/lib/hallOfShame.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@ export const HALL_OF_SHAME: LeaderboardEntry[] = [
3232
{ fullName: 'keystonejs/keystone-classic', cause: 'Keystone 6 shipped and nobody looked back at the old one', score: 7, deathDate: 'Dec 2023', lastWords: 'The rewrite kept the name. I kept the issues tab.' },
3333
{ fullName: 'facebookarchive/stetho', cause: 'Chrome DevTools got native Android debugging and stopped caring', score: 7, deathDate: 'Oct 2024', lastWords: 'I bridged Chrome DevTools to Android. Chrome stopped wanting a bridge.' },
3434
{ fullName: 'facebookarchive/react-native-fbsdk', cause: 'Replaced by a package with -next in the name', score: 7, deathDate: 'Mar 2021', lastWords: 'The successor is react-native-fbsdk-next. There is no going forward from here.' },
35+
{ fullName: 'caolan/async', cause: 'Native async/await made callback choreography look historical', score: 7, deathDate: 'Jun 2017', lastWords: 'I organized callbacks. Then the language learned to wait.' },
36+
{ fullName: 'petkaantonov/bluebird', cause: 'Native Promises got fast. async/await got readable.', score: 8, deathDate: 'Nov 2019', lastWords: 'I was faster than native. Then native got faster.' },
37+
{ fullName: 'expressjs/csurf', cause: 'Express archived it and told CSRF to be your problem', score: 10, deathDate: 'May 2025', lastWords: 'I protected your forms. The framework filed the paperwork.' },
38+
{ fullName: 'tj/co', cause: 'async/await shipped and generators lost the async job', score: 8, deathDate: 'Jun 2017', lastWords: 'I taught yield to wait. await took the credit.' },
3539
]

src/lib/scoring.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ const KNOWN_REPO_CAUSES: Record<string, string> = {
1616
'keystonejs/keystone-classic': 'Keystone 6 shipped and nobody looked back at the old one',
1717
'facebookarchive/stetho': 'Chrome DevTools got native Android debugging and stopped caring',
1818
'facebookarchive/react-native-fbsdk': 'Replaced by a package with -next in the name',
19+
'caolan/async': 'Native async/await made callback choreography look historical',
20+
'petkaantonov/bluebird': 'Native Promises got fast and async/await got readable',
21+
'expressjs/csurf': 'Express archived it and told CSRF to be your problem',
22+
'tj/co': 'async/await shipped and generators lost the async job',
1923
}
2024

2125
export function computeDeathIndex(repo: RepoData): number {

0 commit comments

Comments
 (0)