
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
json-bumper
Advanced tools
bumps the "version" entry for a JSON file
An easy to use component to bump the semver version of a JSON file. Includes both an exported package and a CLI.
npm i json-bump
const bump = require('json-bump')
bump('package.json', { major: 1 })
$ json-bump package.json
Updated package.json version from 0.1.2 to 0.1.3
$ json-bump data.json --minor
Updated data.json version from 1.0.5 to 1.1.0
$ json-bump
Usage: json-bump FILENAME [FLAGS]
Bumps the version in a json file using semver (MAJOR.MINOR.PATCH)
--replace=semver this replaces the entire semver with the given string
--major=1 increment the major version (increments by 1 if flagged but not specified)
--minor=1 increment the minor version (increments by 1 if flagged but not specified)
--patch=1 increment the patch version (increments by 1 if flagged but not specified)
--entry=name change entry updated (defaults is "version")
--spaces=4 number of spaces to format the .json file (set to 0 to remove spaces)
If no FLAGS are specified, increments PATCH by 1
bumps the "version" entry for a .json file
MIT License
(c) 2017 YOPEY YOPEY LLC by David Figatner
FAQs
bumps the "version" entry for a JSON file
We found that json-bumper 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.