
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.
gulp-cocoscreator-rev
Advanced tools
对CocosCreator构建后的资源进行版本化(md5)处理。
npm install gulp-cocoscreator-rev --save-dev
gulpfile.js
const cocosRev = require('gulp-cocoscreator-rev');
gulp.task('rev-cocoscreator', cocosRev({
src: './build/web-mobile',
dest: './dist/cdn',
settingsDest: './src/js/settings.js'
}));
Type: Object
Type: String
Required: true
使用CocosCreator构建之后生成的文件夹,通常其下还有res
和src
两个文件夹。
Type: String
Required: true
将图片等资源文件和json进行md5之后归档到新的路径。
Type: String
Required: true
生成的新的settings.js
文件存放路径,因为该文件记录了版本化后的资源名,所以也会一起修改。
FAQs
对CocosCreator构建后的资源进行版本化(md5)处理。
The npm package gulp-cocoscreator-rev receives a total of 0 weekly downloads. As such, gulp-cocoscreator-rev popularity was classified as not popular.
We found that gulp-cocoscreator-rev 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.