Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@smartlook/circular-deps-detector
Advanced tools
Package to detect circular dependencies and unused files in TypeScript projects.
NPM
npm i @smartlook/circular-deps-detector
YARN
yarn add @smartlook/circular-deps-detector
PNPM
pnpm add @smartlook/circular-deps-detector
Add this line to your scripts in package.json
"detect-circular-deps": "detect-circular-deps --config ./circular-deps-config.json"
Then create a new JSON file circular-deps-config.json
with the following content:
Property | Type | Description |
---|---|---|
projectName | string | Your project name |
rootDir | string | root directory to scan |
tsConfig | string | path to your TS config file |
entryPoint | string | path to the entry point file |
outputFile | string | path to output report file (JSON) |
ignorePatterns | string[] (optional) | array of regexp patterns (valid parameter of JavaScript new RegExp() ) |
Example:
{
"projectName": "My App",
"rootDir": "./src",
"tsConfig": "./tsconfig.json",
"entryPoint": "./src/index.ts",
"outputFile": "./circular-deps-report.json",
"ignorePatterns": [
"/src/libs/.*",
"/src/services/utils/.*",
]
}
FAQs
Package to detect circular dependencies and unused files in TypeScript projects.
The npm package @smartlook/circular-deps-detector receives a total of 12 weekly downloads. As such, @smartlook/circular-deps-detector popularity was classified as not popular.
We found that @smartlook/circular-deps-detector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.