
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.