
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Gives a listing of all Node versions
You can use node-vers as a module or a CLI utility.
var nodevers = require('node-vers');
nodevers.list(null, function(err, result) {
if (err) {
console.error("Error occurred: " + err);
} else {
console.log(result);
}
});
You can also exclude certain fields from the resulting JSON, if you don't need them:
var options = { "blacklist" : ["files", "openssl", "modules", "uv", "zlib"] };
nodevers.list(options, function(err, result) {
console.log(result);
});
And you can indicate to only get single (latest) value for each minor version:
var options = { "latest_only" : true
, "blacklist" : ["files", "openssl", "modules", "uv", "zlib"] };
nodevers.list(options, function(err, result) {
console.log(result);
});
> npm install -g node-vers
> node-vers
Differences:
NV caches static list of node versions and you need to run an update script if you want to get the latest list. Node-vers does a live lookup every time.
NV grabs the list of versions by looking at the list of tags in Node's github repo. This is pretty cool, but it means: git must be installed wherever you want to use this module + you may get something weird if somebody over at Node accidentally creates a stray git tag.
NV only returns the list of versions, while Node-Vers returns an object, for each version, containing following kind of metadata:
{ version: 'v5.6.0',
date: '2016-02-09',
files: 'headers,linux-arm64,linux-armv6l,linux-armv7l,linux-x64,linux-x86,osx-x64-pkg,osx-x64-tar,src,sunos-x64,sunos-x86,win-x64-msi,win-x86-msi',
npm: '3.6.0',
v8: '4.6.85.31',
uv: '1.8.0',
zlib: '1.2.8',
openssl: '1.0.2f',
modules: '47' }
NV supports both Node.js and IO.js. Since IO.js was merged back into Node, I had no interest in supporting io.js
FAQs
Grab a full list of node versions and associated metadata
We found that node-vers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.