
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
一个基于Echats的Vue组件间依赖关系分析工具
全局安装
npm install vue-luna -g
进入到项目目录下,执行luna命令,会自动分析当前目录src下所有Vue组件的依赖关系,并弹出浏览器进行展示
默认所有的vue模块都是通过 import 引入的,并且该组件引入时保留该组件的文件名,下面是一个可以分析的有效引入
import A from './components/block.vue'
如果某个组件被引入时没有保留文件名,并且没有在其他地方被引入,例如:
import B from './components/block'
那么block.vue文件不能被识别为组件,而是被识别为页面,同时也会丢失该文件的依赖关系
该工具如果分析出某个.vue文件不被任何其他组件所引用,那么默认它为页面级组件,如果被其他组件所引用过,那么它被认为是vue组件
FAQs
基于Echarts的Vue组件依赖关系分析工具
We found that vue-luna 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.