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-combohtml
Advanced tools
flex-combo插件的grunt版本.
依赖 Grunt 版本~0.4.1
安装
npm install grunt-flexcombo --save-dev
安装后,在Gruntfile.js中载入任务
grunt.loadNpmTasks('grunt-flexcombo');
在grunt.initConfig()
中添加flexcombo的配置:
grunt.initConfig({
flexcombo:{
options: {
target:'src',
urls:'/group/project',
port:'80',
servlet:'?',
separator:',',
charset:'utf8'
},
main:{}
}
});
你的host指向开发机,访问http://host/group/projecct,浏览你的页面和assets文件
将cdn配向开发机
127.0.0.1 g.tbcdn.cn
可以访问你的页面和asset文件
http://g.tbcdn.cn/group/project
更多配置请参照flex-combo。
该服务添加了jayli-server,支持标准格式的 SSI include
<!--#include path="asdf.html" -->
建议同generator-clam一同使用,构建工具生成本地配置文件,形如:
flexcombo:{
options: {
target:'src',
urls:'/<%= pkg.group %>/<%= pkg.name %>',
port:'<%= port %>',
servlet:'?',
separator:',',
charset:'utf8'
},
main:{}
}
执行任务
task.run(['flexcombo']);
FAQs
combine build html with ssi.
The npm package grunt-combohtml receives a total of 3 weekly downloads. As such, grunt-combohtml popularity was classified as not popular.
We found that grunt-combohtml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.