
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
fis3-deploy-zl-zip
Advanced tools
==================
用来在 fis3 deploy 阶段用 zip 的方式打包资源。
在原有 fis3-deploy-zip 插件的基础上新增 startWithPath 和 ignore 参数,用于配置 zip 打包的起始目录。
startWithPath
从开始的路径进行打包, 参数必须是以 /
开头,以 /
结尾ignore
忽略文件列表,多个文件以 ,
分隔新增对 _ (下划线) 开头的文件进行过滤
如:
/src/page/web1/...
// 如果想将 /src/page/web1/ 下所有的文件直接打成 zip 包。
fis.match('**', {
deploy: [
fis.plugin('zl-zip',{
startWithPath: '/src/page/web1/'
}),
fis.plugin('local-deliver', {
to: './output'
})
]
})
全局安装
npm install -g fis3-deploy-zl-zip
或者本地安装到项目所在目录。
npm install fis3-deploy-zl-zip
fis.match('**', {
deploy: [
fis.plugin('zl-zip'),
fis.plugin('local-deliver', {
to: './output'
})
]
})
// 或者
fis.match('*.tpl', {
deploy: [
fis.plugin('zl-zip', {
filename: 'templates.zip'
}),
fis.plugin('local-deliver', {
to: './output'
})
]
})
filename
默认为 all.zip
用来配置打包的文件名keep
默认为 false
是否保留零碎文件。modified
: 默认为 false
是否只打包上次修改过的文件。默认是所有文件都打包。startWithPath
: 默认为 `` 起始打包的目录位置。npm config set registry http://registry.npmjs.org
npm login
Username: 输入你在npmjs.org上注册的用户名
Password:
Email:(this IS public):
npm publish .
FAQs
zip compress for fis3 deploy
The npm package fis3-deploy-zl-zip receives a total of 0 weekly downloads. As such, fis3-deploy-zl-zip popularity was classified as not popular.
We found that fis3-deploy-zl-zip 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.