coderhsh vulnerabilities
1. 配置好 package.json 中的 bin,把'hsh'改成自己定义的,这是脚手架的命令 2. 在当前项目的终端中输入 npm link,这行命令会自动读取 package.json 文件中的 bin 配置项,跟电脑的环境变量链接,这样才可以在终端中执行 bin 的命令 3. 如果需要创建命令只需要 2 步 1.在 lib/core/commands/create.js 下 initCommand 函数的 commandList 中添加命令以及参数 2.在 actions 文件中添加跟命令
-
latest version
1.0.2
-
latest non vulnerable version
-
first published
2 years ago
-
latest version published
4 months ago
-
licenses detected
- >=0
Direct Vulnerabilities
No direct vulnerabilities have been found for this package in Snyk’s vulnerability database. This does not include vulnerabilities belonging to this package’s dependencies.
Does your project rely on vulnerable package dependencies?Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides automated fixes for free.