
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@infctr/eslint-docs
Advanced tools
Keep your rule names and descriptions up-to-date across your repo
Keep your rule names and descriptions up-to-date across your repo
$ npm install --save-dev eslint-docs
In the shell
$ eslint-docs
✔ docs/rules/no-insecure-random.md is up-to-date
✔ docs/rules/no-stateless-class.md is up-to-date
✔ docs/rules/promise-must-complete.md is up-to-date
✔ README.md is up-to-date
$ eslint-docs check # Run this in CI!
✔ docs/rules/no-insecure-random.md is valid
✔ docs/rules/no-stateless-class.md is valid
✔ docs/rules/promise-must-complete.md is valid
✔ The README is valid
In package.json:
{
"scripts": {
"docs": "eslint-docs",
"docs:check": "eslint-docs check"
}
}
In a Node.js script
const eslintDocs = require('eslint-docs')
eslintDocs(yourProjectDirectory).then(
() => {
// Everything went OK!
},
() => {
// Something went wrong!
// Currently, you’ll have to ask the user to look at the terminal. sorry :(
}
)
yourProjectDirectory
defaults to the closest directory above process.cwd()
that includes a package.json
ISC © Jed Fox
v0.4.0
semantic-release
FAQs
Keep your rule names and descriptions up-to-date across your repo
The npm package @infctr/eslint-docs receives a total of 8 weekly downloads. As such, @infctr/eslint-docs popularity was classified as not popular.
We found that @infctr/eslint-docs 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.