Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@debitoor/parse-dependencies
Advanced tools
Fast and easy way to get dependencies for your code.
npm i -SE @debitoor/parse-dependencies
const parse = require('@debitoor/parse-dependencies');
parse(__dirname + '/server.js', function (err, deps) {
console.log(deps); // 'express', 'body-parser' ...
});
You can compare result with you production dependencies
const parse = require('@debitoor/parse-dependencies');
const packageDeps = require('./package').dependencies;
parse(__dirname + '/server.js', function (err, deps) {
const diff = deps.filter(function (item) {
return !(item in packageDeps);
});
if (diff.length) {
console.log('oops. You have missing depencies\n%s', diff.join());
}
});
FAQs
finding node code dependencies
We found that @debitoor/parse-dependencies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.