
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
package-version-sync
Advanced tools
get a json file (like package.json) get or increment version number of file and save
Automate the updating of your version number of your package with tools.
Note that for those interested in a cli version I have one built. Let me know if you want it published
npm install package-version-sync --save-dev
Note that I'm using newer style node ES6 with TypeScript
import {version, Version, bumpVersionNumber, updateStringVersionNumber,
bumpFileVersion} from 'version'
const PACKAGE_PATH = './package.json'
version('./static.json') // => '0.0.0'
bumpVersionNumber(Version.Major, {version: '0.1.1'})) // => {version: '1.0.0'}
updateStringVersionNumber(Version.Major, '1.2.3')) // => '2.0.0'
updateStringVersionNumber(Version.Minor, '1.2.3')) // => '1.3.0'
updateStringVersionNumber(Version.Patch, '1.2.3')) // => '1.2.4'
var vOld = version(PACKAGE_PATH) // => 0.1.2
bumpFileVersion(PACKAGE_PATH, Version.Major)) // => 1.0.0
bumpFileVersion(PACKAGE_PATH, Version.Minor)) // => 1.1.0
bumpFileVersion(PACKAGE_PATH, Version.Patch)) // => 1.1.1
FAQs
get a json file (like package.json) get or increment version number of file and save
The npm package package-version-sync receives a total of 3 weekly downloads. As such, package-version-sync popularity was classified as not popular.
We found that package-version-sync 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.