Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
grunt-cacheinfo
Advanced tools
针对项目生成cache_info.json
文件
配置方法
cacheinfo: {
options: {
abc: "abc.json",// 设置当前项目的abc.json地址
src: "build_offline",// 目标目录
dest: "build_offline/cache_info.json",//生成的cache_info.json
genABCJSON: 'build_offline/abc.json',
extMeta: { // 其他需要放到 abc.json 中的扩展字段
...
}
}
},
注意:abc.json 必须是标准格式
offlineSyncHost
配置项可以自行配置离线同步 CDN hostname,方便日常环境测试。getPkgConfig
优先从 abc.json
中拼。pathPrefix
missing /
.1.x
版本options.extMeta
for external meta object.grunt.registerTask
=> grunt.registerMultiTask
genABCJSON
,当配置上 genABCJSON
时,**不再输出 options.dest
**。-min.js
for weex map.options.wxDir
to define weex entry page jsbundle dir.onlinePrefix
指定线上备份路径前缀onlinePrefix
to cache
FAQs
cacheinfo.
The npm package grunt-cacheinfo receives a total of 1 weekly downloads. As such, grunt-cacheinfo popularity was classified as not popular.
We found that grunt-cacheinfo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.