
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
@fomantic/gulp-dedupe
Advanced tools
Check for duplicates in the stream and filter them or throw an error
Forked Version using updated dependencies
Original repo at https://github.com/hoho/gulp-dedupe
This plugin is checking for duplicate files (based on their name) in the stream and filter them or throw an error.
Install:
npm install gulp-dedupe --save-dev
Example:
var dedupe = require('gulp-dedupe');
...
.pipe(dedupe()) // Remove duplicates from previous tasks (if any).
.pipe(concat('bundle.css')) // For example, we need to concat the result without duplicates.
.pipe(gulp.dest('./build'));
dedupe(options)
optionally accepts options
object. The following options are
available:
error
to emit an error in case of duplicate (false
by default).same
to emit an error in case duplicates have different contents (true
by
default).diff
to supply duplicates with different contents error from previous option
with actual diff (false
by default).FAQs
Check for duplicates in the stream and filter them or throw an error
The npm package @fomantic/gulp-dedupe receives a total of 1,772 weekly downloads. As such, @fomantic/gulp-dedupe popularity was classified as popular.
We found that @fomantic/gulp-dedupe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.