
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.
sync-version
Advanced tools
A command line tool to sync version number with package.json.
npm install -D sync-version
Usage:
sync-version [--list] <files>...
Options:
<files> Sync version number with package.json inside <file>.
-l --list List current version.
Use it with package.json script:
"scripts": {
"version": "sync-version bower.json && git add ."
}
The script will try finding the version number with
/\bversion["']?:\s*["']?([^\s'"]+)/
/^\/\/ @version\s+(\S+)/
/^\s*@version\s+(\S+)/
and update it.
1.1.0 (Sep 18, 2025)
1.0.1 (May 16, 2017)
1.0.0 (Jan 17, 2017)
0.2.0 (Nov 7, 2016)
// @version 0.1.0.0.1.1 (Apr 17, 2016)
0.1.0 (Apr 16, 2016)
FAQs
Update version number with package.json
The npm package sync-version receives a total of 68 weekly downloads. As such, sync-version popularity was classified as not popular.
We found that sync-version demonstrated a healthy version release cadence and project activity because the last version was released less than 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.