
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
next-version
Advanced tools
Change version numbers in multiple files using semver.
Checks the highest version number in the specified files and changes all to the highest number. It can bump major, minor or patch following semver. It can append a release and/or build suffix. Build number can also be extracted from the number of Git commits.
It can even bump itself!
var version = require('next-version');
version(files,options,callback);
Type: Boolean|Number
Default value: false
Type: Boolean|Number
Default value: false
Type: Boolean|Number
Default value: true
Type: String
Type: Boolean
Default value: false
Appends a build number based on the number of GIT commits, ie: v1.2.3+897.
Type: Regexp|Regexp[]
Default value: /\d+\.\d+\.\d+/
var version = require('next-version');
version(['foo.txt','bar.txt'],{minor:true},console.log.bind(console,'done');
Usage: next-version [options] <files ...>
Options:
-h, --help output usage information -m, --major [major] Bump or set major version -i, --minor [minor] Bump or set minor version -p, --patch [patch] Bump or set patch version -v, --version [version] Set the full version number -b, --build [build] The build number -g, --git Git revision number as build number -r, --regex [regex] Regex to find version number with
next-version --major=3 foo.js bar.js
next-version --minor=3 foo.js bar.js
next-version --patch=3 foo.js bar.js
next-version --vs="2.3.4" foo.js bar.js
FAQs
Imcrement version on multiple files
The npm package next-version receives a total of 9 weekly downloads. As such, next-version popularity was classified as not popular.
We found that next-version 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
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.