
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
check-stale-node-modules
Advanced tools
Generate a warning when your node_modules does not match your package.json
Generate a warning when your node_modules does not match your package.json
There a lot of times when you git pull and you forget to npm i
This package will generate a warning if you need to npm i.
This tests for both missing dependencies, and dependencies that no longer satisfy the semver specified in package.json
npm install check-stale-node-modules
var check = require('check-stale-node-modules')
check(projectDir, function (errors) {
if (errors.length) console.log('You have stale node_modules, npm install')
})
npm install check-stale-node-modules -g
and then in your project directory, run
> check-stale-node-modules
dependency semver does not satisfy ^50.0.3
run `npm install`
Add this to your dev watch tooling. Because you will usually restart that after a git pull
Eg
scripts: {
"watch": "check-stale-node-modules && watchify main.js -o static/bundle.js"
}
MIT
FAQs
Generate a warning when your node_modules does not match your package.json
The npm package check-stale-node-modules receives a total of 2 weekly downloads. As such, check-stale-node-modules popularity was classified as not popular.
We found that check-stale-node-modules 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.