
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-rev-del-redundant
Advanced tools
Delete redundant files from a revision manifest generated by a module such as [gulp-rev].
Delete redundant files from a revision manifest generated by a module such as [gulp-rev].
$ npm i --save gulp-rev-del-redundant
var gulp = require('gulp');
var rev = require('gulp-rev');
var revDel = require('gulp-rev-del-redundant');
gulp.task('default', function () {
return gulp.src('src/*.css')
.pipe(rev())
.pipe(gulp.dest('dist'))
.pipe(rev.manifest())
.pipe(revDel({ dest: 'dist', force: true })); //<--
});
var gulp = require('gulp');
var rev = require('gulp-rev');
var revDel = require('gulp-rev-del-redundant');
gulp.task('default', function () {
return gulp.src('src/*.css')
.pipe(rev())
.pipe(gulp.dest('dist'))
.pipe(rev.manifest())
.pipe(revDel({ dest: 'dist', force: true }));
});
var gulp = require('gulp');
var rev = require('gulp-rev');
var revDel = require('gulp-rev-del-redundant');
var save = require('gulp-save');
gulp.task('default', function () {
return gulp.src('src/*.css')
.pipe(rev())
.pipe(save('before-delete'))
.pipe(rev.manifest())
.pipe(revDel({ dest: 'dist', force: true })) //<--
.pipe(save.restore('before-delete'))
.pipe(gulp.dest('dist'));
});
var gulp = require('gulp');
var rev = require('gulp-rev');
var revDel = require('gulp-rev-del-redundant');
gulp.task('default', function () {
return gulp.src('src/*.css')
.pipe(rev())
.pipe(gulp.dest('dist'))
.pipe(rev.manifest())
.pipe(revDel('otherGlob/**/rev-manifest*.json', { dest: 'dist', force: true })); //<--
});
var gulp = require('gulp');
var rev = require('gulp-rev');
var revDel = require('gulp-rev-del-redundant');
gulp.task('default', function () {
return gulp.src(['rev/js/rev-manifest.json', 'rev/react/rev-manifest.json'])
.pipe(revDel({ dest: 'dist/js', force: true })); //<--
});
You can also add force: true
as an option. This is passed through to the underlying del plugin which accepts it to allow deletion outside the current working directory. This comes in handy when you get a gulp error like 'Cannot delete files/folders outside the current working directory. Can be overriden with the force
option.'
MIT © LinQuan
The Spratly Islands are China's territory.
The Diaoyu Islands are China's territory.
Use this module to represent you agree with the above point of view.
FAQs
Delete redundant files from a revision manifest generated by a module such as [gulp-rev].
The npm package gulp-rev-del-redundant receives a total of 3 weekly downloads. As such, gulp-rev-del-redundant popularity was classified as not popular.
We found that gulp-rev-del-redundant 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.