Open
Description
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:
- date (release date)
- files (supported platforms/build output)
- modules version
- security (indicates if it is a security release)
- lts boolean ('is this a lts release')
- npm version
- v8 version
- libuv version
- zlib version
- openssl version
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:
- include a
releaseDate
property that shows when the version was released (maps to date on the website) - include a
platforms
orfiles
property that is an array of the platforms there are builds for (maps to files on the website) - include a
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) - include a
modules
property that is a string with the module version (maps to the modules property on the website) - include a
security
property that is either:- a boolean that tells you whether or not a release is a security release
- is an object with multiple properties, including a boolean that says whether or not a release is a security release, a
previous
property that tells you what the last security release was, and so on.
- include an lts property that's either:
- a boolean that tells you whether or not a release is an LTS release
- is an object with multiple properties, including a boolean that tells you whether or not a release is an LTS release, lts codename if applicable, and maybe any other LTS information
Metadata
Metadata
Assignees
Labels
No labels