
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.
node-package-updater
Advanced tools
node-package-updater upgrades your package.json dependencies to the latest versions, ignoring specified versions.
curl -fsSL https://raw.githubusercontent.com/GNURub/node-package-updater/main/install.sh | bash
go install github.com/GNURub/node-package-updater/cmd/npu@latest
or
npm install -g node-package-updater
A CLI application to manage dependencies
Usage:
npu [flags]
npu [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
upgrade Upgrade to the latest version of the CLI
version Print the version number of NPU
Flags:
-C, --cleanCache Clean cache
-c, --config string Path to config file (default: .npmrc)
-d, --dir string Root directory for package search
-D, --dryRun Show what would be updated without making changes
-e, --exclude strings Packages to exclude (can be specified multiple times)
-h, --help help for npu
-I, --include strings Packages to include (can be specified multiple times)
-i, --includePeer Include peer dependencies
-k, --keepRange Keep range operator on version (default true)
-l, --log string Log level (debug, info, warn, error) (default "info")
-m, --minor Update to latest minor versions
-n, --noInstall Do not install packages after updating
-x, --nonInteractive Non-interactive mode
-M, --packageManager string Package manager to use (npm, yarn, pnpm, bun)
-p, --patch Update to latest patch versions
-P, --production Update only production dependencies
-r, --registry string NPM registry URL (default "https://registry.npmjs.org/")
-s, --semanticVersion Maintain semver satisfaction
-t, --timeout int Timeout in seconds for each package update (default 30)
-V, --verbose Show detailed output
-w, --workspaces Include workspace repositories
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
npu -x -n | 1.005 ± 0.144 | 0.885 | 1.367 | 1.00 |
ncu -u | 3.831 ± 0.298 | 3.519 | 4.504 | 3.81 ± 0.62 |
npu -x -n ran 3.81 ± 0.62 times faster than ncu -u
FAQs
A simple tool to update all your npm dependencies
The npm package node-package-updater receives a total of 8 weekly downloads. As such, node-package-updater popularity was classified as not popular.
We found that node-package-updater demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.