
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
m-cli-utils
Advanced tools
M-CLI 以及相关的插件需要用到的 utils 方法及常量
$ npm install m-cli-utils --save
name | desc | type | value |
---|---|---|---|
WORKSPACE | 当前的执行目录,即 process.cwd() | string | |
CONFIG_PATH | 全局配置根目录 ~/.feconfig | string | |
PLUGIN_PATH | 全局插件根目录 ~/.feconfig/lib/node_modules | string | |
USER_PROFILE | 用户信息配置文件 ~/.feconfig/profile.json | string | |
NPM_REGISTRY_URL | npm registry 地址 | string | 'https://registry.npmjs.org' |
checkUpdate(registry: string, current: string): Promise<false | string>
检查是否需要更新,如果有新版本,则返回版本号
needUpdate(registry: string, current: string): Promise<boolean>
是否有新版本,以及是否需要升级(控制台二次确认)
getInfo(): Promise<UserConfig>
获取用户信息,如果没果,则会调用设置
setInfo(isUpdate = false)
设置用户信息, isUpdate 表示强制更新
FAQs
FE Cli 工具方法集 for m-fe-cli
The npm package m-cli-utils receives a total of 2 weekly downloads. As such, m-cli-utils popularity was classified as not popular.
We found that m-cli-utils 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.