Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
component-dependence-analyzer
Advanced tools
一个用于分析组件依赖的工具。
注:目前只支持 vue 组件的依赖分析。
npm install component-dependence-analyzer
rely -f 'E:\projectDir\xxx\example.vue'
2.指定项目目录,分析 example.vue 文件的依赖关系
rely -p 'E:\projectDir' -f 'E:\projectDir\xxx\example.vue'
3.配置别名
rely -p -f 'E:\projectDir\xxx\example.vue' -a "@:./src;@components:./src/components"
4.配置解析顺序
rely -p -f 'E:\projectDir\xxx\example.vue' -e ".js,.jsx,.vue,.json"
5.将分析结果输出到浏览器上(默认只是打印出来)
rely -f 'E:\projectDir\xxx\example.vue' -o
参数 | 是否必须 | 默认值 | 参数含义 |
---|---|---|---|
-f, --filePath | yes | / | 组件绝对路径 |
-p, --projectDir | no | process.cwd() | 需要分析的项目目录(默认当前路径) |
-a, --alias | no | "" | 路径别名 |
-e, --extensions | no | ".ts,.tsx,.js,.jsx,.vue,.json" | 解析顺序 |
-o, --open | no | false | 打开浏览器 |
-V, --version | / | / | 输出版本号 |
-h, --help | / | / | 输出帮助信息 |
FAQs
The npm package component-dependence-analyzer receives a total of 0 weekly downloads. As such, component-dependence-analyzer popularity was classified as not popular.
We found that component-dependence-analyzer 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.