Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
atm3-command-upload
Advanced tools
##安装
npm i -gd atm3-command-upload
##配置项
-f, --from 来源
-t, --to 服务器位置
-i, --ignore 过滤规则,使用正则
##示例 #####上传文件/文件夹(zip文件会自动解压--服务端处理)
atm upload -f t.txt
atm upload -f ./
atm upload -f t.zip
默认上传到 /data/wapstatic/tmp
#####上传到指定目录并过滤点开头文件(夹)
和zip文件
atm upload -f ./publish -t /data/wapstatic/v_lchliu/160601index -i "/(^.)|(.zip$)/i"
#####使用fis-conf.js进行配置
fis.set("atm", {
uploadService: 'http://wapstatic.kf0309.3g.qq.com/deploy',
uploadConfig: {
from: "./publish",
to: "/data/wapstatic/v_lchliu/160601index",
ignore: /(^\.)|(\.zip$)/i
}
});
注意:控制台中的配置会覆盖
fis-conf.js的配置!
##Change Log #####2016-07-18 v0.0.4 1.增加文件(夹)过滤 2.增加fis-conf.js配置
FAQs
the upload file command for atm3
The npm package atm3-command-upload receives a total of 5 weekly downloads. As such, atm3-command-upload popularity was classified as not popular.
We found that atm3-command-upload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.