
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.
Update node modules dependecy to last version in package.json. For bower you could use bupdate.
Respects commitType = colon | paren from package.json.
npm i nupdate -g
Update spawnify to latest version:
nupdate spawnify
Update to known version:
nupdate eslint:9.0.0-alpha.0
Usage: nupdate [pattern] [options]
Options:
-h, --help display this help and exit
-v, --version output version information and exit
-D, --dev update development dependencies
-E, --save-exact save exact version of dependency
-i, --install install dependency after updating
-c, --commit create commit with updated dependency
-a, --add add absent dependency
-r, --remove remove dependency
-*, --set-any set * as dependency version
--public set publichConfig access='public'
--restricted set publichConfig access='restricted'
--no-verify pass '--no-verify' to git
--all run for all outdated dependencies
name - name of moduleversion - version of a moduleinfo - stringified content of package.jsonoptions:
dev - update devDependenciesexact - update to exact versionadd - add absent dependencyremove - remove dependencyset-any - set * as dependency versionimport fs from 'node:fs';
import nupdate from 'nupdate';
const info = fs.readFileSync('package.json', 'utf8');
nupdate('eslint', '9.0.0:aplha.0', info);
// returns
({
devDendencies: {
eslint: '9.0.0',
},
});
MIT
FAQs
Update node module dependency in package.json
We found that nupdate 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.