-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include missing information to have feature parity with /dist/index.json #19
Comments
knocked a few of these out: Stacked the PR's because it was easier, but let me know if you disagree with any of these implementation wise. I will see about merging them later this week if you don't oppose them. I can probably knock out the rest later but this is all I had time for today. |
@bnb I have a few questions:
AFAIK the
I am not sure I understand the use case here. I can add it as you write it, but I would like to understand why first.
I implemented the first option, but I think maybe upon revisiting this I missed it in the spirit you wanted. So the alias Can you tell me what the use case is here other than the one we solve already with the |
currently, https://nodejs.org/dist/index.json has slightly more information than nv does. I'd like to replace using that API directly with using nv, but lacking that information is preventing me from doing that.
At present, the following are missing:
right now, only the lts boolean can be figured out by checking if "codename" is a version number or a string. this is... way more work than we should make people do.
my recommendation would be the following:
releaseDate
property that shows when the version was released (maps to date on the website)platforms
orfiles
property that is an array of the platforms there are builds for (maps to files on the website)dependencies
property that is an object with properties that are names of dependencies and values that are version strings (maps to multiple dependency properties from the website)modules
property that is a string with the module version (maps to the modules property on the website)security
property that is either:previous
property that tells you what the last security release was, and so on.The text was updated successfully, but these errors were encountered: