retire.js
retire.js copied to clipboard
Option to include most up-to-date version in results?
Is there a way to include the most recent JavaScript library version in the output when an outdated library is found? This would allow for easy identification of how outdated a library is.
For npm libraries there is functionality for this in npm itself I think.
For the others, maybe we could add it, but it would mean we would need to spend time on that, and this is all maintained mostly on people's spare time, so I would rather have people focus on going through bug trackers and adding any new security bugs.
If you'd like to help keeping the repository updated with latest version numbers, I'd be happy to add the feature to retire.js itself. I can certainly see how this is helpful
It looks like npm
does list the latest JavaScript versions.
PS > npm view angular
{ name: 'angular', description: 'HTML enhanced for web apps', 'dist-tags': { latest: '1.4.8', beta: '1.5.0-beta.2', old: '1.2.28' }
Maybe a parser could be written to update retire.js based on npm's version database.