Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.