Hacker News new | ask | show | jobs
by planede 778 days ago
Agreed. If the dependency is under active development then it should be only counted as being behind if there is a newer version released for that dependency. The libyear should be calculated as "latest version's release date" - "currently used version's release date".

What complicates this is deciding whether the dependency is under active development or not. If its EOL'd then you still want libyear to accumulate, even if you use the latest released version. I guess comparing to an end-of-life date then would make sense, but it's probably harder keep track of.

1 comments

If a project is not under active development it may just be "done". How many minor version bumps per year does left-pad need?
Maybe anything so simple that it can be considered "done" shouldn't really be an external dependency in the first place.
Do you write your own JSON parser?
Is there a JSON parser library that is not under active development?