
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
stitch-gulp-make-css-url-version
Advanced tools
a plugin for gulp.js to replace version for images in css files,the version should be file's md5 or time stamp;
npm install stitch-gulp-make-css-url-version
var makeUrlVer = require('stitch-gulp-make-css-url-version');
gulp.task('stylesheets', function() {
gulp.src('css/*.css')
.pipe(makeUrlVer())
.pipe(gulp.dest('dist'))
});
useDate :make version with time stamp
var makeUrlVer = require('stitch-gulp-make-css-url-version');
gulp.task('stylesheets', function() {
gulp.src('css/*.css')
.pipe(makeUrlVer({useDate:true}))
.pipe(gulp.dest('dist'))
});
assetsDir: specify the public directory for correct MD5 calculation in some specific cases
var makeUrlVer = require('stitch-gulp-make-css-url-version');
gulp.task('stylesheets', function() {
gulp.src('css/*.css')
.pipe(makeUrlVer({
assetsDir: __dirname + '/public'
}))
.pipe(gulp.dest('dist'))
});
/* loading */
.i-loading{width:32px;height:32px;background:url(../images/loading.gif) no-repeat;}
/* loading */
.i-loading{width:32px;height:32px;background:url(../images/loading.gif?v=Je0sUcMH0mhJPWdZdpHzXg%3D%3D) no-repeat}
FAQs
replace version for images in css files
The npm package stitch-gulp-make-css-url-version receives a total of 4 weekly downloads. As such, stitch-gulp-make-css-url-version popularity was classified as not popular.
We found that stitch-gulp-make-css-url-version 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.